diff options
author | Erkin Alp Güney <erkinalp9035@gmail.com> | 2023-01-14 11:15:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-14 19:15:35 +1100 |
commit | 876c15b1a9ed8ee9343cc0c00743b42c69712a6c (patch) | |
tree | 3ea7c6c211c7b39aa8582980dbccee1dcac9869a /src/util/schemas | |
parent | Merge pull request #929 from fosscord/dev/fix-client-script (diff) | |
download | server-876c15b1a9ed8ee9343cc0c00743b42c69712a6c.tar.xz |
Add /users/:id/delete (#926)
Diffstat (limited to 'src/util/schemas')
-rw-r--r-- | src/util/schemas/UserDeleteSchema.ts | 3 | ||||
-rw-r--r-- | src/util/schemas/index.ts | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/util/schemas/UserDeleteSchema.ts b/src/util/schemas/UserDeleteSchema.ts new file mode 100644 index 00000000..dddba4e2 --- /dev/null +++ b/src/util/schemas/UserDeleteSchema.ts @@ -0,0 +1,3 @@ +export interface UserDeleteSchema { + user_id: string; +} diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts index e4f565c9..b58c08a1 100644 --- a/src/util/schemas/index.ts +++ b/src/util/schemas/index.ts @@ -40,6 +40,7 @@ export * from "./TotpDisableSchema"; export * from "./TotpEnableSchema"; export * from "./VoiceIdentifySchema"; export * from "./TotpSchema"; +export * from "./UserDeleteSchema"; export * from "./UserModifySchema"; export * from "./UserProfileModifySchema"; export * from "./UserSettingsSchema"; |