1 |
|
2 | export default class BotsUserDataModel extends Model {
|
3 | static schema: {
|
4 | userId: typeof import("mongoose").Schema.Types.ObjectId;
|
5 | telegramChatId: StringConstructor;
|
6 | telegramUserId: StringConstructor;
|
7 | plugin: StringConstructor;
|
8 | type: {
|
9 | type: StringConstructor;
|
10 | required: boolean;
|
11 | };
|
12 | count: NumberConstructor;
|
13 | meta: {
|
14 | type: ObjectConstructor;
|
15 | };
|
16 | info: {
|
17 | type: ObjectConstructor;
|
18 | };
|
19 | private: {
|
20 | type: ObjectConstructor;
|
21 | };
|
22 | };
|
23 | static options: {
|
24 | model: string;
|
25 | collection: string;
|
26 | timestamps: boolean;
|
27 | };
|
28 | }
|
29 | import Model from "@lskjs/db/Model";
|