diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-04 15:47:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 15:47:19 +1000 |
commit | 6977283e0e771ab1f5eae3f916bf56077aa61178 (patch) | |
tree | 890bee6f677ab73a1621f1c281f3f391e3b7b3a3 /src/util/schemas | |
parent | Merge pull request #879 from Puyodead1/fix/user-profiles (diff) | |
download | server-6977283e0e771ab1f5eae3f916bf56077aa61178.tar.xz |
Various fixes for current web client (#875)
* Placeholder member verification endpoint * Welcome screen * Fix types for welcome screen * Try to allow role icons to be removed * Fix typo in genschemas script * Remove left over welcome-screen endpoint * Embedded activities
Diffstat (limited to 'src/util/schemas')
-rw-r--r-- | src/util/schemas/BackupCodesChallengeSchema.ts | 3 | ||||
-rw-r--r-- | src/util/schemas/CodesVerificationSchema.ts | 5 | ||||
-rw-r--r-- | src/util/schemas/index.ts | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/src/util/schemas/BackupCodesChallengeSchema.ts b/src/util/schemas/BackupCodesChallengeSchema.ts new file mode 100644 index 00000000..d6b519b7 --- /dev/null +++ b/src/util/schemas/BackupCodesChallengeSchema.ts @@ -0,0 +1,3 @@ +export interface BackupCodesChallengeSchema { + password: string; +} \ No newline at end of file diff --git a/src/util/schemas/CodesVerificationSchema.ts b/src/util/schemas/CodesVerificationSchema.ts new file mode 100644 index 00000000..e8e2e7b4 --- /dev/null +++ b/src/util/schemas/CodesVerificationSchema.ts @@ -0,0 +1,5 @@ +export interface CodesVerificationSchema { + key: string; + nonce: string; + regenerate?: boolean; +} \ No newline at end of file diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts index 3770daf0..320593ec 100644 --- a/src/util/schemas/index.ts +++ b/src/util/schemas/index.ts @@ -1,4 +1,5 @@ export * from "./ActivitySchema"; +export * from "./BackupCodesChallengeSchema"; export * from "./BanCreateSchema"; export * from "./BanModeratorSchema"; export * from "./BanRegistrySchema"; @@ -6,6 +7,7 @@ export * from "./BulkDeleteSchema"; export * from "./ChannelModifySchema"; export * from "./ChannelPermissionOverwriteSchema"; export * from "./ChannelReorderSchema"; +export * from "./CodesVerificationSchema"; export * from "./DmChannelCreateSchema"; export * from "./EmojiCreateSchema"; export * from "./EmojiModifySchema"; @@ -42,4 +44,4 @@ export * from "./UserSettingsSchema"; export * from "./VanityUrlSchema"; export * from "./VoiceStateUpdateSchema"; export * from "./WebhookCreateSchema"; -export * from "./WidgetModifySchema"; +export * from "./WidgetModifySchema"; \ No newline at end of file |