UNPKG

520 BTypeScriptView Raw
1export default class BotsEventModel extends Model {
2 static schema: {
3 botId: {
4 type: StringConstructor;
5 };
6 provider: {
7 type: StringConstructor;
8 };
9 type: {
10 type: StringConstructor;
11 required: boolean;
12 };
13 data: {
14 type: ObjectConstructor;
15 };
16 };
17 static options: {
18 model: string;
19 collection: string;
20 timestamps: boolean;
21 };
22}
23import Model from "@lskjs/db/Model";