1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 10:22:39 +01:00

add components to message create schema

This commit is contained in:
Puyodead1 2023-12-06 10:34:53 -05:00
parent 9c8a80693d
commit c4701a3299
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
2 changed files with 10 additions and 0 deletions

View File

@ -93564,6 +93564,10 @@
"items": { "items": {
"type": "string" "type": "string"
} }
},
"components": {
"type": "array",
"items": {}
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -97883,6 +97887,10 @@
"items": { "items": {
"type": "string" "type": "string"
} }
},
"components": {
"type": "array",
"items": {}
} }
}, },
"additionalProperties": false, "additionalProperties": false,

View File

@ -54,4 +54,6 @@ export interface MessageCreateSchema {
**/ **/
attachments?: Attachment[]; attachments?: Attachment[];
sticker_ids?: string[]; sticker_ids?: string[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
components?: any[];
} }