summary refs log tree commit diff
path: root/src/schema/Channel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema/Channel.ts')
-rw-r--r--src/schema/Channel.ts18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/schema/Channel.ts b/src/schema/Channel.ts

index 3a22872a..70e305e4 100644 --- a/src/schema/Channel.ts +++ b/src/schema/Channel.ts
@@ -22,21 +22,13 @@ export const ChannelModifySchema = { }; export const DmChannelCreateSchema = { - owner_id: String, - $id: String, - $created_at: Date, - name: String, - type: Number, - recipients: [String] -} + $name: String, + recipients: [String], +}; export interface DmChannelCreateSchema { - owner_id: String; - id?: String; - created_at?: Date; - name: String; - type: Number; - recipients: String[]; + name?: string; + recipients: string[]; } export interface ChannelModifySchema {