@fnlb-project/database 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +27 -28
- package/dist/index.js +441 -441
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { GenericErrorSender } from '@fnlb-project/shared/errors';
|
|
4
|
-
import { CategoryConfigPartyPrivacy } from '@fnlb-project/shared/types';
|
|
5
4
|
import { Schema } from 'mongoose';
|
|
6
5
|
|
|
7
6
|
export declare class DatabaseClient {
|
|
@@ -36,7 +35,7 @@ export declare const BotModel: import("mongoose").Model<{
|
|
|
36
35
|
email?: string | null | undefined;
|
|
37
36
|
disabled?: boolean | null | undefined;
|
|
38
37
|
mmsBannedUntil?: number | null | undefined;
|
|
39
|
-
}> & {
|
|
38
|
+
}, {}> & {
|
|
40
39
|
owner: import("mongoose").Types.ObjectId;
|
|
41
40
|
type: number;
|
|
42
41
|
nickname: string;
|
|
@@ -79,7 +78,7 @@ export declare const BotModel: import("mongoose").Model<{
|
|
|
79
78
|
email?: string | null | undefined;
|
|
80
79
|
disabled?: boolean | null | undefined;
|
|
81
80
|
mmsBannedUntil?: number | null | undefined;
|
|
82
|
-
}
|
|
81
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
83
82
|
owner: import("mongoose").Types.ObjectId;
|
|
84
83
|
type: number;
|
|
85
84
|
nickname: string;
|
|
@@ -106,7 +105,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
106
105
|
replyLangs?: string[] | null | undefined;
|
|
107
106
|
searchLangs?: string[] | null | undefined;
|
|
108
107
|
platform?: string[] | null | undefined;
|
|
109
|
-
privacy?:
|
|
108
|
+
privacy?: any;
|
|
110
109
|
prefixes?: string[] | null | undefined;
|
|
111
110
|
statusText?: string[] | null | undefined;
|
|
112
111
|
statusInterval?: number | null | undefined;
|
|
@@ -574,7 +573,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
574
573
|
replyLangs?: string[] | null | undefined;
|
|
575
574
|
searchLangs?: string[] | null | undefined;
|
|
576
575
|
platform?: string[] | null | undefined;
|
|
577
|
-
privacy?:
|
|
576
|
+
privacy?: any;
|
|
578
577
|
prefixes?: string[] | null | undefined;
|
|
579
578
|
statusText?: string[] | null | undefined;
|
|
580
579
|
statusInterval?: number | null | undefined;
|
|
@@ -1033,7 +1032,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1033
1032
|
_id?: unknown;
|
|
1034
1033
|
}> | null | undefined;
|
|
1035
1034
|
} | null | undefined;
|
|
1036
|
-
}> & {
|
|
1035
|
+
}, {}> & {
|
|
1037
1036
|
owner: import("mongoose").Types.ObjectId;
|
|
1038
1037
|
name: string;
|
|
1039
1038
|
disabled?: boolean | null | undefined;
|
|
@@ -1042,7 +1041,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1042
1041
|
replyLangs?: string[] | null | undefined;
|
|
1043
1042
|
searchLangs?: string[] | null | undefined;
|
|
1044
1043
|
platform?: string[] | null | undefined;
|
|
1045
|
-
privacy?:
|
|
1044
|
+
privacy?: any;
|
|
1046
1045
|
prefixes?: string[] | null | undefined;
|
|
1047
1046
|
statusText?: string[] | null | undefined;
|
|
1048
1047
|
statusInterval?: number | null | undefined;
|
|
@@ -1514,7 +1513,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1514
1513
|
replyLangs?: string[] | null | undefined;
|
|
1515
1514
|
searchLangs?: string[] | null | undefined;
|
|
1516
1515
|
platform?: string[] | null | undefined;
|
|
1517
|
-
privacy?:
|
|
1516
|
+
privacy?: any;
|
|
1518
1517
|
prefixes?: string[] | null | undefined;
|
|
1519
1518
|
statusText?: string[] | null | undefined;
|
|
1520
1519
|
statusInterval?: number | null | undefined;
|
|
@@ -1982,7 +1981,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
1982
1981
|
replyLangs?: string[] | null | undefined;
|
|
1983
1982
|
searchLangs?: string[] | null | undefined;
|
|
1984
1983
|
platform?: string[] | null | undefined;
|
|
1985
|
-
privacy?:
|
|
1984
|
+
privacy?: any;
|
|
1986
1985
|
prefixes?: string[] | null | undefined;
|
|
1987
1986
|
statusText?: string[] | null | undefined;
|
|
1988
1987
|
statusInterval?: number | null | undefined;
|
|
@@ -2441,7 +2440,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2441
2440
|
_id?: unknown;
|
|
2442
2441
|
}> | null | undefined;
|
|
2443
2442
|
} | null | undefined;
|
|
2444
|
-
}
|
|
2443
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
2445
2444
|
owner: import("mongoose").Types.ObjectId;
|
|
2446
2445
|
name: string;
|
|
2447
2446
|
disabled?: boolean | null | undefined;
|
|
@@ -2450,7 +2449,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2450
2449
|
replyLangs?: string[] | null | undefined;
|
|
2451
2450
|
searchLangs?: string[] | null | undefined;
|
|
2452
2451
|
platform?: string[] | null | undefined;
|
|
2453
|
-
privacy?:
|
|
2452
|
+
privacy?: any;
|
|
2454
2453
|
prefixes?: string[] | null | undefined;
|
|
2455
2454
|
statusText?: string[] | null | undefined;
|
|
2456
2455
|
statusInterval?: number | null | undefined;
|
|
@@ -2952,7 +2951,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2952
2951
|
verified?: boolean | null | undefined;
|
|
2953
2952
|
} | null | undefined;
|
|
2954
2953
|
} | null | undefined;
|
|
2955
|
-
}> & {
|
|
2954
|
+
}, {}> & {
|
|
2956
2955
|
password: string;
|
|
2957
2956
|
email: string;
|
|
2958
2957
|
token: string;
|
|
@@ -3014,7 +3013,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3014
3013
|
verified?: boolean | null | undefined;
|
|
3015
3014
|
} | null | undefined;
|
|
3016
3015
|
} | null | undefined;
|
|
3017
|
-
}
|
|
3016
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3018
3017
|
password: string;
|
|
3019
3018
|
email: string;
|
|
3020
3019
|
token: string;
|
|
@@ -3076,7 +3075,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3076
3075
|
verified?: boolean | null | undefined;
|
|
3077
3076
|
} | null | undefined;
|
|
3078
3077
|
} | null | undefined;
|
|
3079
|
-
}
|
|
3078
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3080
3079
|
password: string;
|
|
3081
3080
|
email: string;
|
|
3082
3081
|
token: string;
|
|
@@ -3118,7 +3117,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3118
3117
|
verified?: boolean | null | undefined;
|
|
3119
3118
|
} | null | undefined;
|
|
3120
3119
|
} | null | undefined;
|
|
3121
|
-
}
|
|
3120
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3122
3121
|
password: string;
|
|
3123
3122
|
email: string;
|
|
3124
3123
|
token: string;
|
|
@@ -3180,7 +3179,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3180
3179
|
verified?: boolean | null | undefined;
|
|
3181
3180
|
} | null | undefined;
|
|
3182
3181
|
} | null | undefined;
|
|
3183
|
-
}
|
|
3182
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3184
3183
|
password: string;
|
|
3185
3184
|
email: string;
|
|
3186
3185
|
token: string;
|
|
@@ -3222,7 +3221,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3222
3221
|
verified?: boolean | null | undefined;
|
|
3223
3222
|
} | null | undefined;
|
|
3224
3223
|
} | null | undefined;
|
|
3225
|
-
}
|
|
3224
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3226
3225
|
password: string;
|
|
3227
3226
|
email: string;
|
|
3228
3227
|
token: string;
|
|
@@ -3286,7 +3285,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3286
3285
|
verified?: boolean | null | undefined;
|
|
3287
3286
|
} | null | undefined;
|
|
3288
3287
|
} | null | undefined;
|
|
3289
|
-
}
|
|
3288
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3290
3289
|
password: string;
|
|
3291
3290
|
email: string;
|
|
3292
3291
|
token: string;
|
|
@@ -3348,7 +3347,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3348
3347
|
verified?: boolean | null | undefined;
|
|
3349
3348
|
} | null | undefined;
|
|
3350
3349
|
} | null | undefined;
|
|
3351
|
-
}
|
|
3350
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3352
3351
|
password: string;
|
|
3353
3352
|
email: string;
|
|
3354
3353
|
token: string;
|
|
@@ -3390,7 +3389,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3390
3389
|
verified?: boolean | null | undefined;
|
|
3391
3390
|
} | null | undefined;
|
|
3392
3391
|
} | null | undefined;
|
|
3393
|
-
}
|
|
3392
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3394
3393
|
password: string;
|
|
3395
3394
|
email: string;
|
|
3396
3395
|
token: string;
|
|
@@ -3452,7 +3451,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3452
3451
|
verified?: boolean | null | undefined;
|
|
3453
3452
|
} | null | undefined;
|
|
3454
3453
|
} | null | undefined;
|
|
3455
|
-
}
|
|
3454
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3456
3455
|
password: string;
|
|
3457
3456
|
email: string;
|
|
3458
3457
|
token: string;
|
|
@@ -3494,7 +3493,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3494
3493
|
verified?: boolean | null | undefined;
|
|
3495
3494
|
} | null | undefined;
|
|
3496
3495
|
} | null | undefined;
|
|
3497
|
-
}
|
|
3496
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3498
3497
|
password: string;
|
|
3499
3498
|
email: string;
|
|
3500
3499
|
token: string;
|
|
@@ -3557,7 +3556,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3557
3556
|
verified?: boolean | null | undefined;
|
|
3558
3557
|
} | null | undefined;
|
|
3559
3558
|
} | null | undefined;
|
|
3560
|
-
}
|
|
3559
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3561
3560
|
password: string;
|
|
3562
3561
|
email: string;
|
|
3563
3562
|
token: string;
|
|
@@ -3619,7 +3618,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3619
3618
|
verified?: boolean | null | undefined;
|
|
3620
3619
|
} | null | undefined;
|
|
3621
3620
|
} | null | undefined;
|
|
3622
|
-
}
|
|
3621
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3623
3622
|
password: string;
|
|
3624
3623
|
email: string;
|
|
3625
3624
|
token: string;
|
|
@@ -3681,7 +3680,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3681
3680
|
verified?: boolean | null | undefined;
|
|
3682
3681
|
} | null | undefined;
|
|
3683
3682
|
} | null | undefined;
|
|
3684
|
-
}
|
|
3683
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3685
3684
|
password: string;
|
|
3686
3685
|
email: string;
|
|
3687
3686
|
token: string;
|
|
@@ -3723,7 +3722,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3723
3722
|
verified?: boolean | null | undefined;
|
|
3724
3723
|
} | null | undefined;
|
|
3725
3724
|
} | null | undefined;
|
|
3726
|
-
}
|
|
3725
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3727
3726
|
password: string;
|
|
3728
3727
|
email: string;
|
|
3729
3728
|
token: string;
|
|
@@ -3785,7 +3784,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3785
3784
|
verified?: boolean | null | undefined;
|
|
3786
3785
|
} | null | undefined;
|
|
3787
3786
|
} | null | undefined;
|
|
3788
|
-
}
|
|
3787
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3789
3788
|
password: string;
|
|
3790
3789
|
email: string;
|
|
3791
3790
|
token: string;
|
|
@@ -3827,7 +3826,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3827
3826
|
verified?: boolean | null | undefined;
|
|
3828
3827
|
} | null | undefined;
|
|
3829
3828
|
} | null | undefined;
|
|
3830
|
-
}
|
|
3829
|
+
}>, {}> & import("mongoose").FlatRecord<{
|
|
3831
3830
|
password: string;
|
|
3832
3831
|
email: string;
|
|
3833
3832
|
token: string;
|