UNPKG

525 BTypeScriptView Raw
1/// <reference types="mongoose" />
2export default class BotsBotModel extends Model {
3 static schema: {
4 customerId: {
5 type: typeof import("mongoose").Schema.Types.ObjectId;
6 };
7 provider: {
8 type: StringConstructor;
9 required: boolean;
10 };
11 creds: {
12 type: ObjectConstructor;
13 };
14 };
15 static options: {
16 model: string;
17 collection: string;
18 timestamps: boolean;
19 };
20}
21import Model from "@lskjs/db/Model";