@fnlb-project/database 1.0.31 → 1.0.33
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 +51 -7
- package/dist/index.js +431 -431
- package/package.json +2 -2
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 {
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -2920,6 +2919,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2920
2919
|
token: string;
|
|
2921
2920
|
username: string;
|
|
2922
2921
|
apiToken: string;
|
|
2922
|
+
flags?: number | null | undefined;
|
|
2923
2923
|
verified?: boolean | null | undefined;
|
|
2924
2924
|
connections?: {
|
|
2925
2925
|
discord?: {
|
|
@@ -2939,6 +2939,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2939
2939
|
token: string;
|
|
2940
2940
|
username: string;
|
|
2941
2941
|
apiToken: string;
|
|
2942
|
+
flags?: number | null | undefined;
|
|
2942
2943
|
verified?: boolean | null | undefined;
|
|
2943
2944
|
connections?: {
|
|
2944
2945
|
discord?: {
|
|
@@ -2958,6 +2959,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2958
2959
|
token: string;
|
|
2959
2960
|
username: string;
|
|
2960
2961
|
apiToken: string;
|
|
2962
|
+
flags?: number | null | undefined;
|
|
2961
2963
|
verified?: boolean | null | undefined;
|
|
2962
2964
|
connections?: {
|
|
2963
2965
|
discord?: {
|
|
@@ -2982,6 +2984,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2982
2984
|
token: string;
|
|
2983
2985
|
username: string;
|
|
2984
2986
|
apiToken: string;
|
|
2987
|
+
flags?: number | null | undefined;
|
|
2985
2988
|
verified?: boolean | null | undefined;
|
|
2986
2989
|
connections?: {
|
|
2987
2990
|
discord?: {
|
|
@@ -3001,6 +3004,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3001
3004
|
token: string;
|
|
3002
3005
|
username: string;
|
|
3003
3006
|
apiToken: string;
|
|
3007
|
+
flags?: number | null | undefined;
|
|
3004
3008
|
verified?: boolean | null | undefined;
|
|
3005
3009
|
connections?: {
|
|
3006
3010
|
discord?: {
|
|
@@ -3020,6 +3024,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3020
3024
|
token: string;
|
|
3021
3025
|
username: string;
|
|
3022
3026
|
apiToken: string;
|
|
3027
|
+
flags?: number | null | undefined;
|
|
3023
3028
|
verified?: boolean | null | undefined;
|
|
3024
3029
|
connections?: {
|
|
3025
3030
|
discord?: {
|
|
@@ -3044,6 +3049,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3044
3049
|
token: string;
|
|
3045
3050
|
username: string;
|
|
3046
3051
|
apiToken: string;
|
|
3052
|
+
flags?: number | null | undefined;
|
|
3047
3053
|
verified?: boolean | null | undefined;
|
|
3048
3054
|
connections?: {
|
|
3049
3055
|
discord?: {
|
|
@@ -3063,6 +3069,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3063
3069
|
token: string;
|
|
3064
3070
|
username: string;
|
|
3065
3071
|
apiToken: string;
|
|
3072
|
+
flags?: number | null | undefined;
|
|
3066
3073
|
verified?: boolean | null | undefined;
|
|
3067
3074
|
connections?: {
|
|
3068
3075
|
discord?: {
|
|
@@ -3082,6 +3089,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3082
3089
|
token: string;
|
|
3083
3090
|
username: string;
|
|
3084
3091
|
apiToken: string;
|
|
3092
|
+
flags?: number | null | undefined;
|
|
3085
3093
|
verified?: boolean | null | undefined;
|
|
3086
3094
|
connections?: {
|
|
3087
3095
|
discord?: {
|
|
@@ -3105,6 +3113,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3105
3113
|
token: string;
|
|
3106
3114
|
username: string;
|
|
3107
3115
|
apiToken: string;
|
|
3116
|
+
flags?: number | null | undefined;
|
|
3108
3117
|
verified?: boolean | null | undefined;
|
|
3109
3118
|
connections?: {
|
|
3110
3119
|
discord?: {
|
|
@@ -3124,6 +3133,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3124
3133
|
token: string;
|
|
3125
3134
|
username: string;
|
|
3126
3135
|
apiToken: string;
|
|
3136
|
+
flags?: number | null | undefined;
|
|
3127
3137
|
verified?: boolean | null | undefined;
|
|
3128
3138
|
connections?: {
|
|
3129
3139
|
discord?: {
|
|
@@ -3148,6 +3158,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3148
3158
|
token: string;
|
|
3149
3159
|
username: string;
|
|
3150
3160
|
apiToken: string;
|
|
3161
|
+
flags?: number | null | undefined;
|
|
3151
3162
|
verified?: boolean | null | undefined;
|
|
3152
3163
|
connections?: {
|
|
3153
3164
|
discord?: {
|
|
@@ -3167,6 +3178,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3167
3178
|
token: string;
|
|
3168
3179
|
username: string;
|
|
3169
3180
|
apiToken: string;
|
|
3181
|
+
flags?: number | null | undefined;
|
|
3170
3182
|
verified?: boolean | null | undefined;
|
|
3171
3183
|
connections?: {
|
|
3172
3184
|
discord?: {
|
|
@@ -3186,6 +3198,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3186
3198
|
token: string;
|
|
3187
3199
|
username: string;
|
|
3188
3200
|
apiToken: string;
|
|
3201
|
+
flags?: number | null | undefined;
|
|
3189
3202
|
verified?: boolean | null | undefined;
|
|
3190
3203
|
connections?: {
|
|
3191
3204
|
discord?: {
|
|
@@ -3209,6 +3222,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3209
3222
|
token: string;
|
|
3210
3223
|
username: string;
|
|
3211
3224
|
apiToken: string;
|
|
3225
|
+
flags?: number | null | undefined;
|
|
3212
3226
|
verified?: boolean | null | undefined;
|
|
3213
3227
|
connections?: {
|
|
3214
3228
|
discord?: {
|
|
@@ -3228,6 +3242,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3228
3242
|
token: string;
|
|
3229
3243
|
username: string;
|
|
3230
3244
|
apiToken: string;
|
|
3245
|
+
flags?: number | null | undefined;
|
|
3231
3246
|
verified?: boolean | null | undefined;
|
|
3232
3247
|
connections?: {
|
|
3233
3248
|
discord?: {
|
|
@@ -3254,6 +3269,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3254
3269
|
token: string;
|
|
3255
3270
|
username: string;
|
|
3256
3271
|
apiToken: string;
|
|
3272
|
+
flags?: number | null | undefined;
|
|
3257
3273
|
verified?: boolean | null | undefined;
|
|
3258
3274
|
connections?: {
|
|
3259
3275
|
discord?: {
|
|
@@ -3273,6 +3289,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3273
3289
|
token: string;
|
|
3274
3290
|
username: string;
|
|
3275
3291
|
apiToken: string;
|
|
3292
|
+
flags?: number | null | undefined;
|
|
3276
3293
|
verified?: boolean | null | undefined;
|
|
3277
3294
|
connections?: {
|
|
3278
3295
|
discord?: {
|
|
@@ -3292,6 +3309,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3292
3309
|
token: string;
|
|
3293
3310
|
username: string;
|
|
3294
3311
|
apiToken: string;
|
|
3312
|
+
flags?: number | null | undefined;
|
|
3295
3313
|
verified?: boolean | null | undefined;
|
|
3296
3314
|
connections?: {
|
|
3297
3315
|
discord?: {
|
|
@@ -3316,6 +3334,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3316
3334
|
token: string;
|
|
3317
3335
|
username: string;
|
|
3318
3336
|
apiToken: string;
|
|
3337
|
+
flags?: number | null | undefined;
|
|
3319
3338
|
verified?: boolean | null | undefined;
|
|
3320
3339
|
connections?: {
|
|
3321
3340
|
discord?: {
|
|
@@ -3335,6 +3354,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3335
3354
|
token: string;
|
|
3336
3355
|
username: string;
|
|
3337
3356
|
apiToken: string;
|
|
3357
|
+
flags?: number | null | undefined;
|
|
3338
3358
|
verified?: boolean | null | undefined;
|
|
3339
3359
|
connections?: {
|
|
3340
3360
|
discord?: {
|
|
@@ -3354,6 +3374,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3354
3374
|
token: string;
|
|
3355
3375
|
username: string;
|
|
3356
3376
|
apiToken: string;
|
|
3377
|
+
flags?: number | null | undefined;
|
|
3357
3378
|
verified?: boolean | null | undefined;
|
|
3358
3379
|
connections?: {
|
|
3359
3380
|
discord?: {
|
|
@@ -3377,6 +3398,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3377
3398
|
token: string;
|
|
3378
3399
|
username: string;
|
|
3379
3400
|
apiToken: string;
|
|
3401
|
+
flags?: number | null | undefined;
|
|
3380
3402
|
verified?: boolean | null | undefined;
|
|
3381
3403
|
connections?: {
|
|
3382
3404
|
discord?: {
|
|
@@ -3396,6 +3418,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3396
3418
|
token: string;
|
|
3397
3419
|
username: string;
|
|
3398
3420
|
apiToken: string;
|
|
3421
|
+
flags?: number | null | undefined;
|
|
3399
3422
|
verified?: boolean | null | undefined;
|
|
3400
3423
|
connections?: {
|
|
3401
3424
|
discord?: {
|
|
@@ -3420,6 +3443,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3420
3443
|
token: string;
|
|
3421
3444
|
username: string;
|
|
3422
3445
|
apiToken: string;
|
|
3446
|
+
flags?: number | null | undefined;
|
|
3423
3447
|
verified?: boolean | null | undefined;
|
|
3424
3448
|
connections?: {
|
|
3425
3449
|
discord?: {
|
|
@@ -3439,6 +3463,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3439
3463
|
token: string;
|
|
3440
3464
|
username: string;
|
|
3441
3465
|
apiToken: string;
|
|
3466
|
+
flags?: number | null | undefined;
|
|
3442
3467
|
verified?: boolean | null | undefined;
|
|
3443
3468
|
connections?: {
|
|
3444
3469
|
discord?: {
|
|
@@ -3458,6 +3483,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3458
3483
|
token: string;
|
|
3459
3484
|
username: string;
|
|
3460
3485
|
apiToken: string;
|
|
3486
|
+
flags?: number | null | undefined;
|
|
3461
3487
|
verified?: boolean | null | undefined;
|
|
3462
3488
|
connections?: {
|
|
3463
3489
|
discord?: {
|
|
@@ -3481,6 +3507,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3481
3507
|
token: string;
|
|
3482
3508
|
username: string;
|
|
3483
3509
|
apiToken: string;
|
|
3510
|
+
flags?: number | null | undefined;
|
|
3484
3511
|
verified?: boolean | null | undefined;
|
|
3485
3512
|
connections?: {
|
|
3486
3513
|
discord?: {
|
|
@@ -3500,6 +3527,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3500
3527
|
token: string;
|
|
3501
3528
|
username: string;
|
|
3502
3529
|
apiToken: string;
|
|
3530
|
+
flags?: number | null | undefined;
|
|
3503
3531
|
verified?: boolean | null | undefined;
|
|
3504
3532
|
connections?: {
|
|
3505
3533
|
discord?: {
|
|
@@ -3525,6 +3553,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3525
3553
|
token: string;
|
|
3526
3554
|
username: string;
|
|
3527
3555
|
apiToken: string;
|
|
3556
|
+
flags?: number | null | undefined;
|
|
3528
3557
|
verified?: boolean | null | undefined;
|
|
3529
3558
|
connections?: {
|
|
3530
3559
|
discord?: {
|
|
@@ -3544,6 +3573,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3544
3573
|
token: string;
|
|
3545
3574
|
username: string;
|
|
3546
3575
|
apiToken: string;
|
|
3576
|
+
flags?: number | null | undefined;
|
|
3547
3577
|
verified?: boolean | null | undefined;
|
|
3548
3578
|
connections?: {
|
|
3549
3579
|
discord?: {
|
|
@@ -3563,6 +3593,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3563
3593
|
token: string;
|
|
3564
3594
|
username: string;
|
|
3565
3595
|
apiToken: string;
|
|
3596
|
+
flags?: number | null | undefined;
|
|
3566
3597
|
verified?: boolean | null | undefined;
|
|
3567
3598
|
connections?: {
|
|
3568
3599
|
discord?: {
|
|
@@ -3587,6 +3618,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3587
3618
|
token: string;
|
|
3588
3619
|
username: string;
|
|
3589
3620
|
apiToken: string;
|
|
3621
|
+
flags?: number | null | undefined;
|
|
3590
3622
|
verified?: boolean | null | undefined;
|
|
3591
3623
|
connections?: {
|
|
3592
3624
|
discord?: {
|
|
@@ -3606,6 +3638,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3606
3638
|
token: string;
|
|
3607
3639
|
username: string;
|
|
3608
3640
|
apiToken: string;
|
|
3641
|
+
flags?: number | null | undefined;
|
|
3609
3642
|
verified?: boolean | null | undefined;
|
|
3610
3643
|
connections?: {
|
|
3611
3644
|
discord?: {
|
|
@@ -3625,6 +3658,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3625
3658
|
token: string;
|
|
3626
3659
|
username: string;
|
|
3627
3660
|
apiToken: string;
|
|
3661
|
+
flags?: number | null | undefined;
|
|
3628
3662
|
verified?: boolean | null | undefined;
|
|
3629
3663
|
connections?: {
|
|
3630
3664
|
discord?: {
|
|
@@ -3649,6 +3683,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3649
3683
|
token: string;
|
|
3650
3684
|
username: string;
|
|
3651
3685
|
apiToken: string;
|
|
3686
|
+
flags?: number | null | undefined;
|
|
3652
3687
|
verified?: boolean | null | undefined;
|
|
3653
3688
|
connections?: {
|
|
3654
3689
|
discord?: {
|
|
@@ -3668,6 +3703,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3668
3703
|
token: string;
|
|
3669
3704
|
username: string;
|
|
3670
3705
|
apiToken: string;
|
|
3706
|
+
flags?: number | null | undefined;
|
|
3671
3707
|
verified?: boolean | null | undefined;
|
|
3672
3708
|
connections?: {
|
|
3673
3709
|
discord?: {
|
|
@@ -3687,6 +3723,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3687
3723
|
token: string;
|
|
3688
3724
|
username: string;
|
|
3689
3725
|
apiToken: string;
|
|
3726
|
+
flags?: number | null | undefined;
|
|
3690
3727
|
verified?: boolean | null | undefined;
|
|
3691
3728
|
connections?: {
|
|
3692
3729
|
discord?: {
|
|
@@ -3710,6 +3747,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3710
3747
|
token: string;
|
|
3711
3748
|
username: string;
|
|
3712
3749
|
apiToken: string;
|
|
3750
|
+
flags?: number | null | undefined;
|
|
3713
3751
|
verified?: boolean | null | undefined;
|
|
3714
3752
|
connections?: {
|
|
3715
3753
|
discord?: {
|
|
@@ -3729,6 +3767,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3729
3767
|
token: string;
|
|
3730
3768
|
username: string;
|
|
3731
3769
|
apiToken: string;
|
|
3770
|
+
flags?: number | null | undefined;
|
|
3732
3771
|
verified?: boolean | null | undefined;
|
|
3733
3772
|
connections?: {
|
|
3734
3773
|
discord?: {
|
|
@@ -3753,6 +3792,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3753
3792
|
token: string;
|
|
3754
3793
|
username: string;
|
|
3755
3794
|
apiToken: string;
|
|
3795
|
+
flags?: number | null | undefined;
|
|
3756
3796
|
verified?: boolean | null | undefined;
|
|
3757
3797
|
connections?: {
|
|
3758
3798
|
discord?: {
|
|
@@ -3772,6 +3812,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3772
3812
|
token: string;
|
|
3773
3813
|
username: string;
|
|
3774
3814
|
apiToken: string;
|
|
3815
|
+
flags?: number | null | undefined;
|
|
3775
3816
|
verified?: boolean | null | undefined;
|
|
3776
3817
|
connections?: {
|
|
3777
3818
|
discord?: {
|
|
@@ -3791,6 +3832,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3791
3832
|
token: string;
|
|
3792
3833
|
username: string;
|
|
3793
3834
|
apiToken: string;
|
|
3835
|
+
flags?: number | null | undefined;
|
|
3794
3836
|
verified?: boolean | null | undefined;
|
|
3795
3837
|
connections?: {
|
|
3796
3838
|
discord?: {
|
|
@@ -3814,6 +3856,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3814
3856
|
token: string;
|
|
3815
3857
|
username: string;
|
|
3816
3858
|
apiToken: string;
|
|
3859
|
+
flags?: number | null | undefined;
|
|
3817
3860
|
verified?: boolean | null | undefined;
|
|
3818
3861
|
connections?: {
|
|
3819
3862
|
discord?: {
|
|
@@ -3833,6 +3876,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3833
3876
|
token: string;
|
|
3834
3877
|
username: string;
|
|
3835
3878
|
apiToken: string;
|
|
3879
|
+
flags?: number | null | undefined;
|
|
3836
3880
|
verified?: boolean | null | undefined;
|
|
3837
3881
|
connections?: {
|
|
3838
3882
|
discord?: {
|