@fnlb-project/database 1.0.28 → 1.0.29
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 +45 -45
- package/dist/index.js +40 -40
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2915,10 +2915,10 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2915
2915
|
__v: number;
|
|
2916
2916
|
}>>;
|
|
2917
2917
|
export declare const UserModel: import("mongoose").Model<{
|
|
2918
|
+
password: string;
|
|
2918
2919
|
email: string;
|
|
2919
2920
|
token: string;
|
|
2920
2921
|
username: string;
|
|
2921
|
-
password: string;
|
|
2922
2922
|
apiToken: string;
|
|
2923
2923
|
verified?: boolean | null | undefined;
|
|
2924
2924
|
connections?: {
|
|
@@ -2934,10 +2934,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2934
2934
|
} | null | undefined;
|
|
2935
2935
|
} | null | undefined;
|
|
2936
2936
|
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
2937
|
+
password: string;
|
|
2937
2938
|
email: string;
|
|
2938
2939
|
token: string;
|
|
2939
2940
|
username: string;
|
|
2940
|
-
password: string;
|
|
2941
2941
|
apiToken: string;
|
|
2942
2942
|
verified?: boolean | null | undefined;
|
|
2943
2943
|
connections?: {
|
|
@@ -2953,10 +2953,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2953
2953
|
} | null | undefined;
|
|
2954
2954
|
} | null | undefined;
|
|
2955
2955
|
}> & {
|
|
2956
|
+
password: string;
|
|
2956
2957
|
email: string;
|
|
2957
2958
|
token: string;
|
|
2958
2959
|
username: string;
|
|
2959
|
-
password: string;
|
|
2960
2960
|
apiToken: string;
|
|
2961
2961
|
verified?: boolean | null | undefined;
|
|
2962
2962
|
connections?: {
|
|
@@ -2977,10 +2977,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2977
2977
|
__v: number;
|
|
2978
2978
|
}, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {
|
|
2979
2979
|
verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
2980
|
+
password: string;
|
|
2980
2981
|
email: string;
|
|
2981
2982
|
token: string;
|
|
2982
2983
|
username: string;
|
|
2983
|
-
password: string;
|
|
2984
2984
|
apiToken: string;
|
|
2985
2985
|
verified?: boolean | null | undefined;
|
|
2986
2986
|
connections?: {
|
|
@@ -2996,10 +2996,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2996
2996
|
} | null | undefined;
|
|
2997
2997
|
} | null | undefined;
|
|
2998
2998
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2999
|
+
password: string;
|
|
2999
3000
|
email: string;
|
|
3000
3001
|
token: string;
|
|
3001
3002
|
username: string;
|
|
3002
|
-
password: string;
|
|
3003
3003
|
apiToken: string;
|
|
3004
3004
|
verified?: boolean | null | undefined;
|
|
3005
3005
|
connections?: {
|
|
@@ -3015,10 +3015,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3015
3015
|
} | null | undefined;
|
|
3016
3016
|
} | null | undefined;
|
|
3017
3017
|
}>> & import("mongoose").FlatRecord<{
|
|
3018
|
+
password: string;
|
|
3018
3019
|
email: string;
|
|
3019
3020
|
token: string;
|
|
3020
3021
|
username: string;
|
|
3021
|
-
password: string;
|
|
3022
3022
|
apiToken: string;
|
|
3023
3023
|
verified?: boolean | null | undefined;
|
|
3024
3024
|
connections?: {
|
|
@@ -3039,10 +3039,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3039
3039
|
__v: number;
|
|
3040
3040
|
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
3041
3041
|
findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3042
|
+
password: string;
|
|
3042
3043
|
email: string;
|
|
3043
3044
|
token: string;
|
|
3044
3045
|
username: string;
|
|
3045
|
-
password: string;
|
|
3046
3046
|
apiToken: string;
|
|
3047
3047
|
verified?: boolean | null | undefined;
|
|
3048
3048
|
connections?: {
|
|
@@ -3058,10 +3058,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3058
3058
|
} | null | undefined;
|
|
3059
3059
|
} | null | undefined;
|
|
3060
3060
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3061
|
+
password: string;
|
|
3061
3062
|
email: string;
|
|
3062
3063
|
token: string;
|
|
3063
3064
|
username: string;
|
|
3064
|
-
password: string;
|
|
3065
3065
|
apiToken: string;
|
|
3066
3066
|
verified?: boolean | null | undefined;
|
|
3067
3067
|
connections?: {
|
|
@@ -3077,10 +3077,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3077
3077
|
} | null | undefined;
|
|
3078
3078
|
} | null | undefined;
|
|
3079
3079
|
}>> & import("mongoose").FlatRecord<{
|
|
3080
|
+
password: string;
|
|
3080
3081
|
email: string;
|
|
3081
3082
|
token: string;
|
|
3082
3083
|
username: string;
|
|
3083
|
-
password: string;
|
|
3084
3084
|
apiToken: string;
|
|
3085
3085
|
verified?: boolean | null | undefined;
|
|
3086
3086
|
connections?: {
|
|
@@ -3100,10 +3100,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3100
3100
|
} & {
|
|
3101
3101
|
__v: number;
|
|
3102
3102
|
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3103
|
+
password: string;
|
|
3103
3104
|
email: string;
|
|
3104
3105
|
token: string;
|
|
3105
3106
|
username: string;
|
|
3106
|
-
password: string;
|
|
3107
3107
|
apiToken: string;
|
|
3108
3108
|
verified?: boolean | null | undefined;
|
|
3109
3109
|
connections?: {
|
|
@@ -3119,10 +3119,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3119
3119
|
} | null | undefined;
|
|
3120
3120
|
} | null | undefined;
|
|
3121
3121
|
}>> & import("mongoose").FlatRecord<{
|
|
3122
|
+
password: string;
|
|
3122
3123
|
email: string;
|
|
3123
3124
|
token: string;
|
|
3124
3125
|
username: string;
|
|
3125
|
-
password: string;
|
|
3126
3126
|
apiToken: string;
|
|
3127
3127
|
verified?: boolean | null | undefined;
|
|
3128
3128
|
connections?: {
|
|
@@ -3143,10 +3143,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3143
3143
|
__v: number;
|
|
3144
3144
|
}) | null>;
|
|
3145
3145
|
findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3146
|
+
password: string;
|
|
3146
3147
|
email: string;
|
|
3147
3148
|
token: string;
|
|
3148
3149
|
username: string;
|
|
3149
|
-
password: string;
|
|
3150
3150
|
apiToken: string;
|
|
3151
3151
|
verified?: boolean | null | undefined;
|
|
3152
3152
|
connections?: {
|
|
@@ -3162,10 +3162,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3162
3162
|
} | null | undefined;
|
|
3163
3163
|
} | null | undefined;
|
|
3164
3164
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3165
|
+
password: string;
|
|
3165
3166
|
email: string;
|
|
3166
3167
|
token: string;
|
|
3167
3168
|
username: string;
|
|
3168
|
-
password: string;
|
|
3169
3169
|
apiToken: string;
|
|
3170
3170
|
verified?: boolean | null | undefined;
|
|
3171
3171
|
connections?: {
|
|
@@ -3181,10 +3181,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3181
3181
|
} | null | undefined;
|
|
3182
3182
|
} | null | undefined;
|
|
3183
3183
|
}>> & import("mongoose").FlatRecord<{
|
|
3184
|
+
password: string;
|
|
3184
3185
|
email: string;
|
|
3185
3186
|
token: string;
|
|
3186
3187
|
username: string;
|
|
3187
|
-
password: string;
|
|
3188
3188
|
apiToken: string;
|
|
3189
3189
|
verified?: boolean | null | undefined;
|
|
3190
3190
|
connections?: {
|
|
@@ -3204,10 +3204,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3204
3204
|
} & {
|
|
3205
3205
|
__v: number;
|
|
3206
3206
|
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3207
|
+
password: string;
|
|
3207
3208
|
email: string;
|
|
3208
3209
|
token: string;
|
|
3209
3210
|
username: string;
|
|
3210
|
-
password: string;
|
|
3211
3211
|
apiToken: string;
|
|
3212
3212
|
verified?: boolean | null | undefined;
|
|
3213
3213
|
connections?: {
|
|
@@ -3223,10 +3223,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3223
3223
|
} | null | undefined;
|
|
3224
3224
|
} | null | undefined;
|
|
3225
3225
|
}>> & import("mongoose").FlatRecord<{
|
|
3226
|
+
password: string;
|
|
3226
3227
|
email: string;
|
|
3227
3228
|
token: string;
|
|
3228
3229
|
username: string;
|
|
3229
|
-
password: string;
|
|
3230
3230
|
apiToken: string;
|
|
3231
3231
|
verified?: boolean | null | undefined;
|
|
3232
3232
|
connections?: {
|
|
@@ -3249,10 +3249,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3249
3249
|
}, {
|
|
3250
3250
|
statics: {
|
|
3251
3251
|
verifyPassword(this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3252
|
+
password: string;
|
|
3252
3253
|
email: string;
|
|
3253
3254
|
token: string;
|
|
3254
3255
|
username: string;
|
|
3255
|
-
password: string;
|
|
3256
3256
|
apiToken: string;
|
|
3257
3257
|
verified?: boolean | null | undefined;
|
|
3258
3258
|
connections?: {
|
|
@@ -3268,10 +3268,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3268
3268
|
} | null | undefined;
|
|
3269
3269
|
} | null | undefined;
|
|
3270
3270
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3271
|
+
password: string;
|
|
3271
3272
|
email: string;
|
|
3272
3273
|
token: string;
|
|
3273
3274
|
username: string;
|
|
3274
|
-
password: string;
|
|
3275
3275
|
apiToken: string;
|
|
3276
3276
|
verified?: boolean | null | undefined;
|
|
3277
3277
|
connections?: {
|
|
@@ -3287,10 +3287,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3287
3287
|
} | null | undefined;
|
|
3288
3288
|
} | null | undefined;
|
|
3289
3289
|
}>> & import("mongoose").FlatRecord<{
|
|
3290
|
+
password: string;
|
|
3290
3291
|
email: string;
|
|
3291
3292
|
token: string;
|
|
3292
3293
|
username: string;
|
|
3293
|
-
password: string;
|
|
3294
3294
|
apiToken: string;
|
|
3295
3295
|
verified?: boolean | null | undefined;
|
|
3296
3296
|
connections?: {
|
|
@@ -3311,10 +3311,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3311
3311
|
__v: number;
|
|
3312
3312
|
}, any>, password: string, hash: string): Promise<boolean>;
|
|
3313
3313
|
findByToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3314
|
+
password: string;
|
|
3314
3315
|
email: string;
|
|
3315
3316
|
token: string;
|
|
3316
3317
|
username: string;
|
|
3317
|
-
password: string;
|
|
3318
3318
|
apiToken: string;
|
|
3319
3319
|
verified?: boolean | null | undefined;
|
|
3320
3320
|
connections?: {
|
|
@@ -3330,10 +3330,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3330
3330
|
} | null | undefined;
|
|
3331
3331
|
} | null | undefined;
|
|
3332
3332
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3333
|
+
password: string;
|
|
3333
3334
|
email: string;
|
|
3334
3335
|
token: string;
|
|
3335
3336
|
username: string;
|
|
3336
|
-
password: string;
|
|
3337
3337
|
apiToken: string;
|
|
3338
3338
|
verified?: boolean | null | undefined;
|
|
3339
3339
|
connections?: {
|
|
@@ -3349,10 +3349,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3349
3349
|
} | null | undefined;
|
|
3350
3350
|
} | null | undefined;
|
|
3351
3351
|
}>> & import("mongoose").FlatRecord<{
|
|
3352
|
+
password: string;
|
|
3352
3353
|
email: string;
|
|
3353
3354
|
token: string;
|
|
3354
3355
|
username: string;
|
|
3355
|
-
password: string;
|
|
3356
3356
|
apiToken: string;
|
|
3357
3357
|
verified?: boolean | null | undefined;
|
|
3358
3358
|
connections?: {
|
|
@@ -3372,10 +3372,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3372
3372
|
} & {
|
|
3373
3373
|
__v: number;
|
|
3374
3374
|
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3375
|
+
password: string;
|
|
3375
3376
|
email: string;
|
|
3376
3377
|
token: string;
|
|
3377
3378
|
username: string;
|
|
3378
|
-
password: string;
|
|
3379
3379
|
apiToken: string;
|
|
3380
3380
|
verified?: boolean | null | undefined;
|
|
3381
3381
|
connections?: {
|
|
@@ -3391,10 +3391,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3391
3391
|
} | null | undefined;
|
|
3392
3392
|
} | null | undefined;
|
|
3393
3393
|
}>> & import("mongoose").FlatRecord<{
|
|
3394
|
+
password: string;
|
|
3394
3395
|
email: string;
|
|
3395
3396
|
token: string;
|
|
3396
3397
|
username: string;
|
|
3397
|
-
password: string;
|
|
3398
3398
|
apiToken: string;
|
|
3399
3399
|
verified?: boolean | null | undefined;
|
|
3400
3400
|
connections?: {
|
|
@@ -3415,10 +3415,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3415
3415
|
__v: number;
|
|
3416
3416
|
}) | null>;
|
|
3417
3417
|
findByAPIToken(this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3418
|
+
password: string;
|
|
3418
3419
|
email: string;
|
|
3419
3420
|
token: string;
|
|
3420
3421
|
username: string;
|
|
3421
|
-
password: string;
|
|
3422
3422
|
apiToken: string;
|
|
3423
3423
|
verified?: boolean | null | undefined;
|
|
3424
3424
|
connections?: {
|
|
@@ -3434,10 +3434,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3434
3434
|
} | null | undefined;
|
|
3435
3435
|
} | null | undefined;
|
|
3436
3436
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3437
|
+
password: string;
|
|
3437
3438
|
email: string;
|
|
3438
3439
|
token: string;
|
|
3439
3440
|
username: string;
|
|
3440
|
-
password: string;
|
|
3441
3441
|
apiToken: string;
|
|
3442
3442
|
verified?: boolean | null | undefined;
|
|
3443
3443
|
connections?: {
|
|
@@ -3453,10 +3453,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3453
3453
|
} | null | undefined;
|
|
3454
3454
|
} | null | undefined;
|
|
3455
3455
|
}>> & import("mongoose").FlatRecord<{
|
|
3456
|
+
password: string;
|
|
3456
3457
|
email: string;
|
|
3457
3458
|
token: string;
|
|
3458
3459
|
username: string;
|
|
3459
|
-
password: string;
|
|
3460
3460
|
apiToken: string;
|
|
3461
3461
|
verified?: boolean | null | undefined;
|
|
3462
3462
|
connections?: {
|
|
@@ -3476,10 +3476,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3476
3476
|
} & {
|
|
3477
3477
|
__v: number;
|
|
3478
3478
|
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3479
|
+
password: string;
|
|
3479
3480
|
email: string;
|
|
3480
3481
|
token: string;
|
|
3481
3482
|
username: string;
|
|
3482
|
-
password: string;
|
|
3483
3483
|
apiToken: string;
|
|
3484
3484
|
verified?: boolean | null | undefined;
|
|
3485
3485
|
connections?: {
|
|
@@ -3495,10 +3495,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3495
3495
|
} | null | undefined;
|
|
3496
3496
|
} | null | undefined;
|
|
3497
3497
|
}>> & import("mongoose").FlatRecord<{
|
|
3498
|
+
password: string;
|
|
3498
3499
|
email: string;
|
|
3499
3500
|
token: string;
|
|
3500
3501
|
username: string;
|
|
3501
|
-
password: string;
|
|
3502
3502
|
apiToken: string;
|
|
3503
3503
|
verified?: boolean | null | undefined;
|
|
3504
3504
|
connections?: {
|
|
@@ -3520,10 +3520,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3520
3520
|
}) | null>;
|
|
3521
3521
|
};
|
|
3522
3522
|
}, {
|
|
3523
|
+
password: string;
|
|
3523
3524
|
email: string;
|
|
3524
3525
|
token: string;
|
|
3525
3526
|
username: string;
|
|
3526
|
-
password: string;
|
|
3527
3527
|
apiToken: string;
|
|
3528
3528
|
verified?: boolean | null | undefined;
|
|
3529
3529
|
connections?: {
|
|
@@ -3539,10 +3539,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3539
3539
|
} | null | undefined;
|
|
3540
3540
|
} | null | undefined;
|
|
3541
3541
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3542
|
+
password: string;
|
|
3542
3543
|
email: string;
|
|
3543
3544
|
token: string;
|
|
3544
3545
|
username: string;
|
|
3545
|
-
password: string;
|
|
3546
3546
|
apiToken: string;
|
|
3547
3547
|
verified?: boolean | null | undefined;
|
|
3548
3548
|
connections?: {
|
|
@@ -3558,10 +3558,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3558
3558
|
} | null | undefined;
|
|
3559
3559
|
} | null | undefined;
|
|
3560
3560
|
}>> & import("mongoose").FlatRecord<{
|
|
3561
|
+
password: string;
|
|
3561
3562
|
email: string;
|
|
3562
3563
|
token: string;
|
|
3563
3564
|
username: string;
|
|
3564
|
-
password: string;
|
|
3565
3565
|
apiToken: string;
|
|
3566
3566
|
verified?: boolean | null | undefined;
|
|
3567
3567
|
connections?: {
|
|
@@ -3582,10 +3582,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3582
3582
|
__v: number;
|
|
3583
3583
|
}>> & {
|
|
3584
3584
|
verifyPassword: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3585
|
+
password: string;
|
|
3585
3586
|
email: string;
|
|
3586
3587
|
token: string;
|
|
3587
3588
|
username: string;
|
|
3588
|
-
password: string;
|
|
3589
3589
|
apiToken: string;
|
|
3590
3590
|
verified?: boolean | null | undefined;
|
|
3591
3591
|
connections?: {
|
|
@@ -3601,10 +3601,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3601
3601
|
} | null | undefined;
|
|
3602
3602
|
} | null | undefined;
|
|
3603
3603
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3604
|
+
password: string;
|
|
3604
3605
|
email: string;
|
|
3605
3606
|
token: string;
|
|
3606
3607
|
username: string;
|
|
3607
|
-
password: string;
|
|
3608
3608
|
apiToken: string;
|
|
3609
3609
|
verified?: boolean | null | undefined;
|
|
3610
3610
|
connections?: {
|
|
@@ -3620,10 +3620,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3620
3620
|
} | null | undefined;
|
|
3621
3621
|
} | null | undefined;
|
|
3622
3622
|
}>> & import("mongoose").FlatRecord<{
|
|
3623
|
+
password: string;
|
|
3623
3624
|
email: string;
|
|
3624
3625
|
token: string;
|
|
3625
3626
|
username: string;
|
|
3626
|
-
password: string;
|
|
3627
3627
|
apiToken: string;
|
|
3628
3628
|
verified?: boolean | null | undefined;
|
|
3629
3629
|
connections?: {
|
|
@@ -3644,10 +3644,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3644
3644
|
__v: number;
|
|
3645
3645
|
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
3646
3646
|
findByToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3647
|
+
password: string;
|
|
3647
3648
|
email: string;
|
|
3648
3649
|
token: string;
|
|
3649
3650
|
username: string;
|
|
3650
|
-
password: string;
|
|
3651
3651
|
apiToken: string;
|
|
3652
3652
|
verified?: boolean | null | undefined;
|
|
3653
3653
|
connections?: {
|
|
@@ -3663,10 +3663,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3663
3663
|
} | null | undefined;
|
|
3664
3664
|
} | null | undefined;
|
|
3665
3665
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3666
|
+
password: string;
|
|
3666
3667
|
email: string;
|
|
3667
3668
|
token: string;
|
|
3668
3669
|
username: string;
|
|
3669
|
-
password: string;
|
|
3670
3670
|
apiToken: string;
|
|
3671
3671
|
verified?: boolean | null | undefined;
|
|
3672
3672
|
connections?: {
|
|
@@ -3682,10 +3682,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3682
3682
|
} | null | undefined;
|
|
3683
3683
|
} | null | undefined;
|
|
3684
3684
|
}>> & import("mongoose").FlatRecord<{
|
|
3685
|
+
password: string;
|
|
3685
3686
|
email: string;
|
|
3686
3687
|
token: string;
|
|
3687
3688
|
username: string;
|
|
3688
|
-
password: string;
|
|
3689
3689
|
apiToken: string;
|
|
3690
3690
|
verified?: boolean | null | undefined;
|
|
3691
3691
|
connections?: {
|
|
@@ -3705,10 +3705,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3705
3705
|
} & {
|
|
3706
3706
|
__v: number;
|
|
3707
3707
|
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3708
|
+
password: string;
|
|
3708
3709
|
email: string;
|
|
3709
3710
|
token: string;
|
|
3710
3711
|
username: string;
|
|
3711
|
-
password: string;
|
|
3712
3712
|
apiToken: string;
|
|
3713
3713
|
verified?: boolean | null | undefined;
|
|
3714
3714
|
connections?: {
|
|
@@ -3724,10 +3724,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3724
3724
|
} | null | undefined;
|
|
3725
3725
|
} | null | undefined;
|
|
3726
3726
|
}>> & import("mongoose").FlatRecord<{
|
|
3727
|
+
password: string;
|
|
3727
3728
|
email: string;
|
|
3728
3729
|
token: string;
|
|
3729
3730
|
username: string;
|
|
3730
|
-
password: string;
|
|
3731
3731
|
apiToken: string;
|
|
3732
3732
|
verified?: boolean | null | undefined;
|
|
3733
3733
|
connections?: {
|
|
@@ -3748,10 +3748,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3748
3748
|
__v: number;
|
|
3749
3749
|
}) | null>;
|
|
3750
3750
|
findByAPIToken: (this: import("mongoose").Model<import("mongoose").FlatRecord<{
|
|
3751
|
+
password: string;
|
|
3751
3752
|
email: string;
|
|
3752
3753
|
token: string;
|
|
3753
3754
|
username: string;
|
|
3754
|
-
password: string;
|
|
3755
3755
|
apiToken: string;
|
|
3756
3756
|
verified?: boolean | null | undefined;
|
|
3757
3757
|
connections?: {
|
|
@@ -3767,10 +3767,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3767
3767
|
} | null | undefined;
|
|
3768
3768
|
} | null | undefined;
|
|
3769
3769
|
}>, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3770
|
+
password: string;
|
|
3770
3771
|
email: string;
|
|
3771
3772
|
token: string;
|
|
3772
3773
|
username: string;
|
|
3773
|
-
password: string;
|
|
3774
3774
|
apiToken: string;
|
|
3775
3775
|
verified?: boolean | null | undefined;
|
|
3776
3776
|
connections?: {
|
|
@@ -3786,10 +3786,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3786
3786
|
} | null | undefined;
|
|
3787
3787
|
} | null | undefined;
|
|
3788
3788
|
}>> & import("mongoose").FlatRecord<{
|
|
3789
|
+
password: string;
|
|
3789
3790
|
email: string;
|
|
3790
3791
|
token: string;
|
|
3791
3792
|
username: string;
|
|
3792
|
-
password: string;
|
|
3793
3793
|
apiToken: string;
|
|
3794
3794
|
verified?: boolean | null | undefined;
|
|
3795
3795
|
connections?: {
|
|
@@ -3809,10 +3809,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3809
3809
|
} & {
|
|
3810
3810
|
__v: number;
|
|
3811
3811
|
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3812
|
+
password: string;
|
|
3812
3813
|
email: string;
|
|
3813
3814
|
token: string;
|
|
3814
3815
|
username: string;
|
|
3815
|
-
password: string;
|
|
3816
3816
|
apiToken: string;
|
|
3817
3817
|
verified?: boolean | null | undefined;
|
|
3818
3818
|
connections?: {
|
|
@@ -3828,10 +3828,10 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3828
3828
|
} | null | undefined;
|
|
3829
3829
|
} | null | undefined;
|
|
3830
3830
|
}>> & import("mongoose").FlatRecord<{
|
|
3831
|
+
password: string;
|
|
3831
3832
|
email: string;
|
|
3832
3833
|
token: string;
|
|
3833
3834
|
username: string;
|
|
3834
|
-
password: string;
|
|
3835
3835
|
apiToken: string;
|
|
3836
3836
|
verified?: boolean | null | undefined;
|
|
3837
3837
|
connections?: {
|