mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: 🔥 Remove old config-manager symlink
This commit is contained in:
parent
26dc389010
commit
4a1ad9dd96
77 changed files with 74 additions and 86 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import type { Undo } from "@lysand-org/federation/types";
|
||||
import { config } from "config-manager";
|
||||
import { config } from "~/packages/config-manager/index";
|
||||
import type { User } from "~/packages/database-interface/user";
|
||||
|
||||
export const undoFederationRequest = (undoer: User, uri: string): Undo => {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import type { Like } from "@lysand-org/federation/types";
|
||||
import { config } from "config-manager";
|
||||
import { type InferSelectModel, and, eq } from "drizzle-orm";
|
||||
import { db } from "~/drizzle/db";
|
||||
import { Likes, Notifications } from "~/drizzle/schema";
|
||||
import { config } from "~/packages/config-manager/index";
|
||||
import type { Note } from "~/packages/database-interface/note";
|
||||
import type { User } from "~/packages/database-interface/user";
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ import { mentionValidator } from "@/api";
|
|||
import { sanitizeHtml, sanitizeHtmlInline } from "@/sanitization";
|
||||
import markdownItTaskLists from "@hackmd/markdown-it-task-lists";
|
||||
import type { ContentFormat } from "@lysand-org/federation/types";
|
||||
import { config } from "config-manager";
|
||||
import {
|
||||
type InferSelectModel,
|
||||
and,
|
||||
|
|
@ -32,6 +31,7 @@ import {
|
|||
type Notes,
|
||||
Users,
|
||||
} from "~/drizzle/schema";
|
||||
import { config } from "~/packages/config-manager/index";
|
||||
import type { EmojiWithInstance } from "~/packages/database-interface/emoji";
|
||||
import { User } from "~/packages/database-interface/user";
|
||||
import type { Application } from "./application";
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import type {
|
|||
FollowAccept,
|
||||
FollowReject,
|
||||
} from "@lysand-org/federation/types";
|
||||
import { config } from "config-manager";
|
||||
import { type InferSelectModel, eq, sql } from "drizzle-orm";
|
||||
import { db } from "~/drizzle/db";
|
||||
import {
|
||||
|
|
@ -13,6 +12,7 @@ import {
|
|||
Tokens,
|
||||
type Users,
|
||||
} from "~/drizzle/schema";
|
||||
import { config } from "~/packages/config-manager/index";
|
||||
import type { EmojiWithInstance } from "~/packages/database-interface/emoji";
|
||||
import { User } from "~/packages/database-interface/user";
|
||||
import type { Application } from "./application";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue