refactor: ♻️ import from @/db

This commit is contained in:
ThatOneCalculator 2023-06-12 01:28:39 -07:00
parent 56fbfca8e7
commit d061b9c25d

View file

@ -2,9 +2,9 @@ import { In } from "typeorm";
import { Notes } from "@/models/index.js"; import { Notes } from "@/models/index.js";
import { Note } from "@/models/entities/note.js"; import { Note } from "@/models/entities/note.js";
import config from "@/config/index.js"; import config from "@/config/index.js";
import es from "../../../../db/elasticsearch.js"; import es from "@/db/elasticsearch.js";
import sonic from "../../../../db/sonic.js"; import sonic from "@/db/sonic.js";
import meilisearch, { MeilisearchNote } from "../../../../db/meilisearch.js"; import meilisearch, { MeilisearchNote } from "@/db/meilisearch.js";
import define from "../../define.js"; import define from "../../define.js";
import { makePaginationQuery } from "../../common/make-pagination-query.js"; import { makePaginationQuery } from "../../common/make-pagination-query.js";
import { generateVisibilityQuery } from "../../common/generate-visibility-query.js"; import { generateVisibilityQuery } from "../../common/generate-visibility-query.js";