UNPKG

571 BTypeScriptView Raw
1export default class BotsTelegramPortalRulesModel extends Model {
2 static schema: {
3 criteria: {
4 type: ObjectConstructor;
5 };
6 action: {
7 type: ObjectConstructor;
8 };
9 meta: {
10 type: ObjectConstructor;
11 };
12 info: {
13 type: ObjectConstructor;
14 };
15 private: {
16 type: ObjectConstructor;
17 };
18 };
19 static options: {
20 model: string;
21 collection: string;
22 timestamps: boolean;
23 };
24}
25import Model from "@lskjs/db/Model";