summary refs log tree commit diff
path: root/src/schemas/api/bots/ApplicationCommandCreateSchema.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 11:00:51 +0100
committerRory& <root@rory.gay>2025-12-17 11:01:27 +0100
commit491c0de845a886954262e3ddb24959ba37a014b6 (patch)
treec0251f3779a5cd2842320e1278232b48fbea0390 /src/schemas/api/bots/ApplicationCommandCreateSchema.ts
parentPre-commit: use spaces for formatting, regenerate schemas if changed (diff)
downloadserver-ts-491c0de845a886954262e3ddb24959ba37a014b6.tar.xz
lintstagedrc: regenerate schemas/openapi if schemas changed
Diffstat (limited to 'src/schemas/api/bots/ApplicationCommandCreateSchema.ts')
-rw-r--r--src/schemas/api/bots/ApplicationCommandCreateSchema.ts42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/schemas/api/bots/ApplicationCommandCreateSchema.ts b/src/schemas/api/bots/ApplicationCommandCreateSchema.ts

index 3bb39d5b..4408a9e0 100644 --- a/src/schemas/api/bots/ApplicationCommandCreateSchema.ts +++ b/src/schemas/api/bots/ApplicationCommandCreateSchema.ts
@@ -1,28 +1,28 @@ import { - ApplicationCommandHandlerType, - ApplicationCommandOption, - ApplicationCommandType, - ApplicationIntegrationType, - InteractionContextType, - StringStringDictionary, + ApplicationCommandHandlerType, + ApplicationCommandOption, + ApplicationCommandType, + ApplicationIntegrationType, + InteractionContextType, + StringStringDictionary, } from "@spacebar/schemas"; export interface ApplicationCommandCreateSchema { - type?: ApplicationCommandType; - name: string; - name_localizations?: StringStringDictionary; - description?: string; - description_localizations?: StringStringDictionary; - options?: ApplicationCommandOption[]; - default_member_permissions?: string; - /* - * @deprecated - */ - dm_permission?: boolean; - nsfw?: boolean; - integration_types?: ApplicationIntegrationType[]; - contexts?: InteractionContextType[]; - handler?: ApplicationCommandHandlerType; + type?: ApplicationCommandType; + name: string; + name_localizations?: StringStringDictionary; + description?: string; + description_localizations?: StringStringDictionary; + options?: ApplicationCommandOption[]; + default_member_permissions?: string; + /* + * @deprecated + */ + dm_permission?: boolean; + nsfw?: boolean; + integration_types?: ApplicationIntegrationType[]; + contexts?: InteractionContextType[]; + handler?: ApplicationCommandHandlerType; } export type BulkApplicationCommandCreateSchema = ApplicationCommandCreateSchema[];