обновОЧКИ
This commit is contained in:
@@ -18,7 +18,7 @@ export const ChatMessageSchema = Type.Object({
|
||||
}, { $id: 'ChatMessage' })
|
||||
|
||||
export const NewChatMessagePayloadSchema = Type.Object({
|
||||
text: Type.String({ minLength: 1 }),
|
||||
text: Type.String(),
|
||||
attachments: Type.Optional(Type.Array(Type.String({ format: 'uuid' }))),
|
||||
// replyTo: Type.Object({
|
||||
// messageId: Type.String({ format: 'uuid' }),
|
||||
|
||||
Reference in New Issue
Block a user