summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-12-06 10:34:53 -0500
committerPuyodead1 <puyodead@proton.me>2023-12-06 10:34:53 -0500
commitc4701a3299c5b148bc931e35605537afbc0d814d (patch)
treebf6dfc7ecb13440750d5600f756a7a804fdaa412 /src/util
parenthandle possibly null activities in session sort (diff)
downloadserver-c4701a3299c5b148bc931e35605537afbc0d814d.tar.xz
add components to message create schema
Diffstat (limited to 'src/util')
-rw-r--r--src/util/schemas/MessageCreateSchema.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts
index 91c0817c..57abf62f 100644
--- a/src/util/schemas/MessageCreateSchema.ts
+++ b/src/util/schemas/MessageCreateSchema.ts
@@ -54,4 +54,6 @@ export interface MessageCreateSchema {
 	**/
 	attachments?: Attachment[];
 	sticker_ids?: string[];
+	// eslint-disable-next-line @typescript-eslint/no-explicit-any
+	components?: any[];
 }