diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/routes/connections/#connection_name/authorize.ts | 5 | ||||
-rw-r--r-- | src/util/entities/index.ts | 1 | ||||
-rw-r--r-- | src/util/schemas/ConnectionUpdateSchema.ts (renamed from src/util/entities/ConnectionUpdateSchema.ts) | 0 | ||||
-rw-r--r-- | src/util/schemas/index.ts | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/src/api/routes/connections/#connection_name/authorize.ts b/src/api/routes/connections/#connection_name/authorize.ts index 5ce420cf..5c24dc7c 100644 --- a/src/api/routes/connections/#connection_name/authorize.ts +++ b/src/api/routes/connections/#connection_name/authorize.ts @@ -1,7 +1,6 @@ +import { route } from "@fosscord/api"; import { Request, Response, Router } from "express"; -import { FieldErrors } from "../../../../util"; -import { ConnectionStore } from "../../../../util/connections"; -import { route } from "../../../util"; +import { ConnectionStore, FieldErrors } from "../../../../util"; const router = Router(); diff --git a/src/util/entities/index.ts b/src/util/entities/index.ts index b4e3ecd0..ad34f67b 100644 --- a/src/util/entities/index.ts +++ b/src/util/entities/index.ts @@ -28,7 +28,6 @@ export * from "./ClientRelease"; export * from "./Config"; export * from "./ConnectedAccount"; export * from "./ConnectionConfigEntity"; -export * from "./ConnectionUpdateSchema"; export * from "./EmbedCache"; export * from "./Emoji"; export * from "./Encryption"; diff --git a/src/util/entities/ConnectionUpdateSchema.ts b/src/util/schemas/ConnectionUpdateSchema.ts index ac234e7e..ac234e7e 100644 --- a/src/util/entities/ConnectionUpdateSchema.ts +++ b/src/util/schemas/ConnectionUpdateSchema.ts diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts index 71b4c2ce..e9f4268e 100644 --- a/src/util/schemas/index.ts +++ b/src/util/schemas/index.ts @@ -32,6 +32,7 @@ export * from "./ChannelReorderSchema"; export * from "./CodesVerificationSchema"; export * from "./ConnectedAccountSchema"; export * from "./ConnectionCallbackSchema"; +export * from "./ConnectionUpdateSchema"; export * from "./DmChannelCreateSchema"; export * from "./EmojiCreateSchema"; export * from "./EmojiModifySchema"; |