diff --git a/assets/schemas.json b/assets/schemas.json index 881560dd9..fe4fcea3d 100644 Binary files a/assets/schemas.json and b/assets/schemas.json differ diff --git a/src/api/routes/connections/#connection_name/authorize.ts b/src/api/routes/connections/#connection_name/authorize.ts index 5ce420cfb..5c24dc7c2 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 b4e3ecd0b..ad34f67be 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 similarity index 100% rename from src/util/entities/ConnectionUpdateSchema.ts rename to src/util/schemas/ConnectionUpdateSchema.ts diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts index 71b4c2ce2..e9f4268e8 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";