diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-23 12:46:03 +1100 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-03-18 19:25:03 -0400 |
commit | 2364096a97ba66949cc3b7fbc5b9fb68977ff3ca (patch) | |
tree | 4fdd00ba8605da25572889190020843cddc7862a /src | |
parent | Don't use mergeDeep (diff) | |
download | server-2364096a97ba66949cc3b7fbc5b9fb68977ff3ca.tar.xz |
entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchema
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"; |