refactor: ♻️ import from @/db

This commit is contained in:
ThatOneCalculator 2023-06-12 01:28:39 -07:00
parent 4b1fc747e4
commit 1d9ce9c288
No known key found for this signature in database
GPG key ID: 8703CACD01000000

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";