diff options
Diffstat (limited to 'src/util/schemas')
-rw-r--r-- | src/util/schemas/MemberChangeProfileSchema.ts | 5 | ||||
-rw-r--r-- | src/util/schemas/MemberChangeSchema.ts | 2 | ||||
-rw-r--r-- | src/util/schemas/UserProfileModifySchema.ts | 5 | ||||
-rw-r--r-- | src/util/schemas/index.ts | 10 |
4 files changed, 22 insertions, 0 deletions
diff --git a/src/util/schemas/MemberChangeProfileSchema.ts b/src/util/schemas/MemberChangeProfileSchema.ts new file mode 100644 index 00000000..3e85174d --- /dev/null +++ b/src/util/schemas/MemberChangeProfileSchema.ts @@ -0,0 +1,5 @@ +export interface MemberChangeProfileSchema { + banner?: string | null; + nick?: string; + bio?: string; +} diff --git a/src/util/schemas/MemberChangeSchema.ts b/src/util/schemas/MemberChangeSchema.ts index 2367bef3..4156c8c1 100644 --- a/src/util/schemas/MemberChangeSchema.ts +++ b/src/util/schemas/MemberChangeSchema.ts @@ -1,4 +1,6 @@ export interface MemberChangeSchema { roles?: string[]; nick?: string; + avatar?: string | null; + bio?: string; } diff --git a/src/util/schemas/UserProfileModifySchema.ts b/src/util/schemas/UserProfileModifySchema.ts new file mode 100644 index 00000000..33a372c9 --- /dev/null +++ b/src/util/schemas/UserProfileModifySchema.ts @@ -0,0 +1,5 @@ +export interface UserProfileModifySchema { + bio?: string; + accent_color?: number | null; + banner?: string | null; +} diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts index 58565496..a03cebe2 100644 --- a/src/util/schemas/index.ts +++ b/src/util/schemas/index.ts @@ -22,6 +22,11 @@ export * from "./TemplateModifySchema"; export * from "./VanityUrlSchema"; export * from "./GuildUpdateWelcomeScreenSchema"; export * from "./WidgetModifySchema"; +export * from "./IdentifySchema"; +export * from "./InviteCreateSchema"; +export * from "./LazyRequestSchema"; +export * from "./LoginSchema"; +export * from "./MemberChangeProfileSchema"; export * from "./MemberChangeSchema"; export * from "./RoleModifySchema"; export * from "./GuildTemplateCreateSchema"; @@ -34,6 +39,11 @@ export * from "./MfaCodesSchema"; export * from "./TotpDisableSchema"; export * from "./TotpEnableSchema"; export * from "./VoiceIdentifySchema"; +export * from "./TotpSchema"; +export * from "./UserModifySchema"; +export * from "./UserProfileModifySchema"; +export * from "./UserSettingsSchema"; +export * from "./VanityUrlSchema"; export * from "./VoiceStateUpdateSchema"; export * from "./VoiceVideoSchema"; export * from "./IdentifySchema"; |