@fnlb-project/database 1.0.60 → 1.0.61
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 +830 -830
- package/dist/index.js +398 -398
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
72
72
|
policyUri?: string | null | undefined;
|
|
73
73
|
installUri?: string | null | undefined;
|
|
74
74
|
flags?: number | null | undefined;
|
|
75
|
-
}>, {}, import("mongoose").
|
|
75
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
76
76
|
owner: import("mongoose").Types.ObjectId;
|
|
77
77
|
name: string;
|
|
78
78
|
secret: string;
|
|
@@ -152,7 +152,7 @@ export declare const BotModel: import("mongoose").Model<{
|
|
|
152
152
|
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
153
153
|
email?: string | null | undefined;
|
|
154
154
|
mmsBannedUntil?: number | null | undefined;
|
|
155
|
-
}>, {}, import("mongoose").
|
|
155
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
156
156
|
owner: import("mongoose").Types.ObjectId;
|
|
157
157
|
nickname: string;
|
|
158
158
|
deviceAuth: {
|
|
@@ -2288,7 +2288,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2288
2288
|
_id?: unknown;
|
|
2289
2289
|
}> | null | undefined;
|
|
2290
2290
|
} | null | undefined;
|
|
2291
|
-
}>, {}, import("mongoose").
|
|
2291
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2292
2292
|
owner: import("mongoose").Types.ObjectId;
|
|
2293
2293
|
name: string;
|
|
2294
2294
|
flags?: number | null | undefined;
|
|
@@ -2735,7 +2735,7 @@ export declare const PresetModel: import("mongoose").Model<{
|
|
|
2735
2735
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2736
2736
|
owner: import("mongoose").Types.ObjectId;
|
|
2737
2737
|
name: string;
|
|
2738
|
-
}>, {}, import("mongoose").
|
|
2738
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2739
2739
|
owner: import("mongoose").Types.ObjectId;
|
|
2740
2740
|
name: string;
|
|
2741
2741
|
}> & {
|
|
@@ -2749,7 +2749,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2749
2749
|
token: string;
|
|
2750
2750
|
username: string;
|
|
2751
2751
|
apiToken: string;
|
|
2752
|
-
|
|
2752
|
+
flags?: number | null | undefined;
|
|
2753
|
+
connections?: {
|
|
2754
|
+
discord?: {
|
|
2755
|
+
id?: string | null | undefined;
|
|
2756
|
+
username?: string | null | undefined;
|
|
2757
|
+
verified?: boolean | null | undefined;
|
|
2758
|
+
} | null | undefined;
|
|
2759
|
+
epic?: {
|
|
2760
|
+
id?: string | null | undefined;
|
|
2761
|
+
username?: string | null | undefined;
|
|
2762
|
+
verified?: boolean | null | undefined;
|
|
2763
|
+
} | null | undefined;
|
|
2764
|
+
} | null | undefined;
|
|
2765
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2753
2766
|
id: import("mongoose").Types.ObjectId;
|
|
2754
2767
|
scopes: number;
|
|
2755
2768
|
token: string;
|
|
@@ -2764,7 +2777,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2764
2777
|
scopes: number;
|
|
2765
2778
|
token: string;
|
|
2766
2779
|
_id?: unknown;
|
|
2767
|
-
}
|
|
2780
|
+
}> | null | undefined;
|
|
2781
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
2782
|
+
password: string;
|
|
2783
|
+
email: string;
|
|
2784
|
+
token: string;
|
|
2785
|
+
username: string;
|
|
2786
|
+
apiToken: string;
|
|
2768
2787
|
flags?: number | null | undefined;
|
|
2769
2788
|
connections?: {
|
|
2770
2789
|
discord?: {
|
|
@@ -2778,13 +2797,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2778
2797
|
verified?: boolean | null | undefined;
|
|
2779
2798
|
} | null | undefined;
|
|
2780
2799
|
} | null | undefined;
|
|
2781
|
-
|
|
2782
|
-
password: string;
|
|
2783
|
-
email: string;
|
|
2784
|
-
token: string;
|
|
2785
|
-
username: string;
|
|
2786
|
-
apiToken: string;
|
|
2787
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2800
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2788
2801
|
id: import("mongoose").Types.ObjectId;
|
|
2789
2802
|
scopes: number;
|
|
2790
2803
|
token: string;
|
|
@@ -2799,20 +2812,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2799
2812
|
scopes: number;
|
|
2800
2813
|
token: string;
|
|
2801
2814
|
_id?: unknown;
|
|
2802
|
-
}
|
|
2803
|
-
flags?: number | null | undefined;
|
|
2804
|
-
connections?: {
|
|
2805
|
-
discord?: {
|
|
2806
|
-
id?: string | null | undefined;
|
|
2807
|
-
username?: string | null | undefined;
|
|
2808
|
-
verified?: boolean | null | undefined;
|
|
2809
|
-
} | null | undefined;
|
|
2810
|
-
epic?: {
|
|
2811
|
-
id?: string | null | undefined;
|
|
2812
|
-
username?: string | null | undefined;
|
|
2813
|
-
verified?: boolean | null | undefined;
|
|
2814
|
-
} | null | undefined;
|
|
2815
|
-
} | null | undefined;
|
|
2815
|
+
}> | null | undefined;
|
|
2816
2816
|
}, {}, {
|
|
2817
2817
|
statics: {
|
|
2818
2818
|
verifyPassword(this: import("mongoose").Model<{
|
|
@@ -2821,7 +2821,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2821
2821
|
token: string;
|
|
2822
2822
|
username: string;
|
|
2823
2823
|
apiToken: string;
|
|
2824
|
-
|
|
2824
|
+
flags?: number | null | undefined;
|
|
2825
|
+
connections?: {
|
|
2826
|
+
discord?: {
|
|
2827
|
+
id?: string | null | undefined;
|
|
2828
|
+
username?: string | null | undefined;
|
|
2829
|
+
verified?: boolean | null | undefined;
|
|
2830
|
+
} | null | undefined;
|
|
2831
|
+
epic?: {
|
|
2832
|
+
id?: string | null | undefined;
|
|
2833
|
+
username?: string | null | undefined;
|
|
2834
|
+
verified?: boolean | null | undefined;
|
|
2835
|
+
} | null | undefined;
|
|
2836
|
+
} | null | undefined;
|
|
2837
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2825
2838
|
id: import("mongoose").Types.ObjectId;
|
|
2826
2839
|
scopes: number;
|
|
2827
2840
|
token: string;
|
|
@@ -2836,7 +2849,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2836
2849
|
scopes: number;
|
|
2837
2850
|
token: string;
|
|
2838
2851
|
_id?: unknown;
|
|
2839
|
-
}
|
|
2852
|
+
}> | null | undefined;
|
|
2853
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2854
|
+
password: string;
|
|
2855
|
+
email: string;
|
|
2856
|
+
token: string;
|
|
2857
|
+
username: string;
|
|
2858
|
+
apiToken: string;
|
|
2840
2859
|
flags?: number | null | undefined;
|
|
2841
2860
|
connections?: {
|
|
2842
2861
|
discord?: {
|
|
@@ -2850,13 +2869,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2850
2869
|
verified?: boolean | null | undefined;
|
|
2851
2870
|
} | null | undefined;
|
|
2852
2871
|
} | null | undefined;
|
|
2853
|
-
|
|
2854
|
-
password: string;
|
|
2855
|
-
email: string;
|
|
2856
|
-
token: string;
|
|
2857
|
-
username: string;
|
|
2858
|
-
apiToken: string;
|
|
2859
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2872
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2860
2873
|
id: import("mongoose").Types.ObjectId;
|
|
2861
2874
|
scopes: number;
|
|
2862
2875
|
token: string;
|
|
@@ -2871,7 +2884,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2871
2884
|
scopes: number;
|
|
2872
2885
|
token: string;
|
|
2873
2886
|
_id?: unknown;
|
|
2874
|
-
}
|
|
2887
|
+
}> | null | undefined;
|
|
2888
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2889
|
+
password: string;
|
|
2890
|
+
email: string;
|
|
2891
|
+
token: string;
|
|
2892
|
+
username: string;
|
|
2893
|
+
apiToken: string;
|
|
2875
2894
|
flags?: number | null | undefined;
|
|
2876
2895
|
connections?: {
|
|
2877
2896
|
discord?: {
|
|
@@ -2885,13 +2904,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2885
2904
|
verified?: boolean | null | undefined;
|
|
2886
2905
|
} | null | undefined;
|
|
2887
2906
|
} | null | undefined;
|
|
2888
|
-
|
|
2889
|
-
password: string;
|
|
2890
|
-
email: string;
|
|
2891
|
-
token: string;
|
|
2892
|
-
username: string;
|
|
2893
|
-
apiToken: string;
|
|
2894
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2907
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2895
2908
|
id: import("mongoose").Types.ObjectId;
|
|
2896
2909
|
scopes: number;
|
|
2897
2910
|
token: string;
|
|
@@ -2906,7 +2919,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2906
2919
|
scopes: number;
|
|
2907
2920
|
token: string;
|
|
2908
2921
|
_id?: unknown;
|
|
2909
|
-
}
|
|
2922
|
+
}> | null | undefined;
|
|
2923
|
+
}> & {
|
|
2924
|
+
_id: import("mongoose").Types.ObjectId;
|
|
2925
|
+
} & {
|
|
2926
|
+
__v: number;
|
|
2927
|
+
}, any>, password: string, hash: string): Promise<boolean>;
|
|
2928
|
+
findByToken(this: import("mongoose").Model<{
|
|
2929
|
+
password: string;
|
|
2930
|
+
email: string;
|
|
2931
|
+
token: string;
|
|
2932
|
+
username: string;
|
|
2933
|
+
apiToken: string;
|
|
2910
2934
|
flags?: number | null | undefined;
|
|
2911
2935
|
connections?: {
|
|
2912
2936
|
discord?: {
|
|
@@ -2920,18 +2944,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2920
2944
|
verified?: boolean | null | undefined;
|
|
2921
2945
|
} | null | undefined;
|
|
2922
2946
|
} | null | undefined;
|
|
2923
|
-
|
|
2924
|
-
_id: import("mongoose").Types.ObjectId;
|
|
2925
|
-
} & {
|
|
2926
|
-
__v: number;
|
|
2927
|
-
}, any>, password: string, hash: string): Promise<boolean>;
|
|
2928
|
-
findByToken(this: import("mongoose").Model<{
|
|
2929
|
-
password: string;
|
|
2930
|
-
email: string;
|
|
2931
|
-
token: string;
|
|
2932
|
-
username: string;
|
|
2933
|
-
apiToken: string;
|
|
2934
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2947
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2935
2948
|
id: import("mongoose").Types.ObjectId;
|
|
2936
2949
|
scopes: number;
|
|
2937
2950
|
token: string;
|
|
@@ -2946,7 +2959,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2946
2959
|
scopes: number;
|
|
2947
2960
|
token: string;
|
|
2948
2961
|
_id?: unknown;
|
|
2949
|
-
}
|
|
2962
|
+
}> | null | undefined;
|
|
2963
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2964
|
+
password: string;
|
|
2965
|
+
email: string;
|
|
2966
|
+
token: string;
|
|
2967
|
+
username: string;
|
|
2968
|
+
apiToken: string;
|
|
2950
2969
|
flags?: number | null | undefined;
|
|
2951
2970
|
connections?: {
|
|
2952
2971
|
discord?: {
|
|
@@ -2960,13 +2979,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2960
2979
|
verified?: boolean | null | undefined;
|
|
2961
2980
|
} | null | undefined;
|
|
2962
2981
|
} | null | undefined;
|
|
2963
|
-
|
|
2964
|
-
password: string;
|
|
2965
|
-
email: string;
|
|
2966
|
-
token: string;
|
|
2967
|
-
username: string;
|
|
2968
|
-
apiToken: string;
|
|
2969
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2982
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2970
2983
|
id: import("mongoose").Types.ObjectId;
|
|
2971
2984
|
scopes: number;
|
|
2972
2985
|
token: string;
|
|
@@ -2981,7 +2994,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2981
2994
|
scopes: number;
|
|
2982
2995
|
token: string;
|
|
2983
2996
|
_id?: unknown;
|
|
2984
|
-
}
|
|
2997
|
+
}> | null | undefined;
|
|
2998
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2999
|
+
password: string;
|
|
3000
|
+
email: string;
|
|
3001
|
+
token: string;
|
|
3002
|
+
username: string;
|
|
3003
|
+
apiToken: string;
|
|
2985
3004
|
flags?: number | null | undefined;
|
|
2986
3005
|
connections?: {
|
|
2987
3006
|
discord?: {
|
|
@@ -2995,13 +3014,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2995
3014
|
verified?: boolean | null | undefined;
|
|
2996
3015
|
} | null | undefined;
|
|
2997
3016
|
} | null | undefined;
|
|
2998
|
-
|
|
2999
|
-
password: string;
|
|
3000
|
-
email: string;
|
|
3001
|
-
token: string;
|
|
3002
|
-
username: string;
|
|
3003
|
-
apiToken: string;
|
|
3004
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3017
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3005
3018
|
id: import("mongoose").Types.ObjectId;
|
|
3006
3019
|
scopes: number;
|
|
3007
3020
|
token: string;
|
|
@@ -3016,7 +3029,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3016
3029
|
scopes: number;
|
|
3017
3030
|
token: string;
|
|
3018
3031
|
_id?: unknown;
|
|
3019
|
-
}
|
|
3032
|
+
}> | null | undefined;
|
|
3033
|
+
}> & {
|
|
3034
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3035
|
+
} & {
|
|
3036
|
+
__v: number;
|
|
3037
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3038
|
+
password: string;
|
|
3039
|
+
email: string;
|
|
3040
|
+
token: string;
|
|
3041
|
+
username: string;
|
|
3042
|
+
apiToken: string;
|
|
3020
3043
|
flags?: number | null | undefined;
|
|
3021
3044
|
connections?: {
|
|
3022
3045
|
discord?: {
|
|
@@ -3030,17 +3053,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3030
3053
|
verified?: boolean | null | undefined;
|
|
3031
3054
|
} | null | undefined;
|
|
3032
3055
|
} | null | undefined;
|
|
3033
|
-
|
|
3034
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3035
|
-
} & {
|
|
3036
|
-
__v: number;
|
|
3037
|
-
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3038
|
-
password: string;
|
|
3039
|
-
email: string;
|
|
3040
|
-
token: string;
|
|
3041
|
-
username: string;
|
|
3042
|
-
apiToken: string;
|
|
3043
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3056
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3044
3057
|
id: import("mongoose").Types.ObjectId;
|
|
3045
3058
|
scopes: number;
|
|
3046
3059
|
token: string;
|
|
@@ -3055,7 +3068,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3055
3068
|
scopes: number;
|
|
3056
3069
|
token: string;
|
|
3057
3070
|
_id?: unknown;
|
|
3058
|
-
}
|
|
3071
|
+
}> | null | undefined;
|
|
3072
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3073
|
+
password: string;
|
|
3074
|
+
email: string;
|
|
3075
|
+
token: string;
|
|
3076
|
+
username: string;
|
|
3077
|
+
apiToken: string;
|
|
3059
3078
|
flags?: number | null | undefined;
|
|
3060
3079
|
connections?: {
|
|
3061
3080
|
discord?: {
|
|
@@ -3069,13 +3088,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3069
3088
|
verified?: boolean | null | undefined;
|
|
3070
3089
|
} | null | undefined;
|
|
3071
3090
|
} | null | undefined;
|
|
3072
|
-
|
|
3073
|
-
password: string;
|
|
3074
|
-
email: string;
|
|
3075
|
-
token: string;
|
|
3076
|
-
username: string;
|
|
3077
|
-
apiToken: string;
|
|
3078
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3091
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3079
3092
|
id: import("mongoose").Types.ObjectId;
|
|
3080
3093
|
scopes: number;
|
|
3081
3094
|
token: string;
|
|
@@ -3090,7 +3103,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3090
3103
|
scopes: number;
|
|
3091
3104
|
token: string;
|
|
3092
3105
|
_id?: unknown;
|
|
3093
|
-
}
|
|
3106
|
+
}> | null | undefined;
|
|
3107
|
+
}> & {
|
|
3108
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3109
|
+
} & {
|
|
3110
|
+
__v: number;
|
|
3111
|
+
}) | null>;
|
|
3112
|
+
findByAPIToken(this: import("mongoose").Model<{
|
|
3113
|
+
password: string;
|
|
3114
|
+
email: string;
|
|
3115
|
+
token: string;
|
|
3116
|
+
username: string;
|
|
3117
|
+
apiToken: string;
|
|
3094
3118
|
flags?: number | null | undefined;
|
|
3095
3119
|
connections?: {
|
|
3096
3120
|
discord?: {
|
|
@@ -3104,18 +3128,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3104
3128
|
verified?: boolean | null | undefined;
|
|
3105
3129
|
} | null | undefined;
|
|
3106
3130
|
} | null | undefined;
|
|
3107
|
-
|
|
3108
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3109
|
-
} & {
|
|
3110
|
-
__v: number;
|
|
3111
|
-
}) | null>;
|
|
3112
|
-
findByAPIToken(this: import("mongoose").Model<{
|
|
3113
|
-
password: string;
|
|
3114
|
-
email: string;
|
|
3115
|
-
token: string;
|
|
3116
|
-
username: string;
|
|
3117
|
-
apiToken: string;
|
|
3118
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3131
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3119
3132
|
id: import("mongoose").Types.ObjectId;
|
|
3120
3133
|
scopes: number;
|
|
3121
3134
|
token: string;
|
|
@@ -3130,7 +3143,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3130
3143
|
scopes: number;
|
|
3131
3144
|
token: string;
|
|
3132
3145
|
_id?: unknown;
|
|
3133
|
-
}
|
|
3146
|
+
}> | null | undefined;
|
|
3147
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3148
|
+
password: string;
|
|
3149
|
+
email: string;
|
|
3150
|
+
token: string;
|
|
3151
|
+
username: string;
|
|
3152
|
+
apiToken: string;
|
|
3134
3153
|
flags?: number | null | undefined;
|
|
3135
3154
|
connections?: {
|
|
3136
3155
|
discord?: {
|
|
@@ -3144,13 +3163,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3144
3163
|
verified?: boolean | null | undefined;
|
|
3145
3164
|
} | null | undefined;
|
|
3146
3165
|
} | null | undefined;
|
|
3147
|
-
|
|
3148
|
-
password: string;
|
|
3149
|
-
email: string;
|
|
3150
|
-
token: string;
|
|
3151
|
-
username: string;
|
|
3152
|
-
apiToken: string;
|
|
3153
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3166
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3154
3167
|
id: import("mongoose").Types.ObjectId;
|
|
3155
3168
|
scopes: number;
|
|
3156
3169
|
token: string;
|
|
@@ -3165,7 +3178,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3165
3178
|
scopes: number;
|
|
3166
3179
|
token: string;
|
|
3167
3180
|
_id?: unknown;
|
|
3168
|
-
}
|
|
3181
|
+
}> | null | undefined;
|
|
3182
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3183
|
+
password: string;
|
|
3184
|
+
email: string;
|
|
3185
|
+
token: string;
|
|
3186
|
+
username: string;
|
|
3187
|
+
apiToken: string;
|
|
3169
3188
|
flags?: number | null | undefined;
|
|
3170
3189
|
connections?: {
|
|
3171
3190
|
discord?: {
|
|
@@ -3179,13 +3198,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3179
3198
|
verified?: boolean | null | undefined;
|
|
3180
3199
|
} | null | undefined;
|
|
3181
3200
|
} | null | undefined;
|
|
3182
|
-
|
|
3183
|
-
password: string;
|
|
3184
|
-
email: string;
|
|
3185
|
-
token: string;
|
|
3186
|
-
username: string;
|
|
3187
|
-
apiToken: string;
|
|
3188
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3201
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3189
3202
|
id: import("mongoose").Types.ObjectId;
|
|
3190
3203
|
scopes: number;
|
|
3191
3204
|
token: string;
|
|
@@ -3200,7 +3213,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3200
3213
|
scopes: number;
|
|
3201
3214
|
token: string;
|
|
3202
3215
|
_id?: unknown;
|
|
3203
|
-
}
|
|
3216
|
+
}> | null | undefined;
|
|
3217
|
+
}> & {
|
|
3218
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3219
|
+
} & {
|
|
3220
|
+
__v: number;
|
|
3221
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3222
|
+
password: string;
|
|
3223
|
+
email: string;
|
|
3224
|
+
token: string;
|
|
3225
|
+
username: string;
|
|
3226
|
+
apiToken: string;
|
|
3204
3227
|
flags?: number | null | undefined;
|
|
3205
3228
|
connections?: {
|
|
3206
3229
|
discord?: {
|
|
@@ -3214,17 +3237,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3214
3237
|
verified?: boolean | null | undefined;
|
|
3215
3238
|
} | null | undefined;
|
|
3216
3239
|
} | null | undefined;
|
|
3217
|
-
|
|
3218
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3219
|
-
} & {
|
|
3220
|
-
__v: number;
|
|
3221
|
-
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3222
|
-
password: string;
|
|
3223
|
-
email: string;
|
|
3224
|
-
token: string;
|
|
3225
|
-
username: string;
|
|
3226
|
-
apiToken: string;
|
|
3227
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3240
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3228
3241
|
id: import("mongoose").Types.ObjectId;
|
|
3229
3242
|
scopes: number;
|
|
3230
3243
|
token: string;
|
|
@@ -3239,7 +3252,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3239
3252
|
scopes: number;
|
|
3240
3253
|
token: string;
|
|
3241
3254
|
_id?: unknown;
|
|
3242
|
-
}
|
|
3255
|
+
}> | null | undefined;
|
|
3256
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3257
|
+
password: string;
|
|
3258
|
+
email: string;
|
|
3259
|
+
token: string;
|
|
3260
|
+
username: string;
|
|
3261
|
+
apiToken: string;
|
|
3243
3262
|
flags?: number | null | undefined;
|
|
3244
3263
|
connections?: {
|
|
3245
3264
|
discord?: {
|
|
@@ -3253,13 +3272,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3253
3272
|
verified?: boolean | null | undefined;
|
|
3254
3273
|
} | null | undefined;
|
|
3255
3274
|
} | null | undefined;
|
|
3256
|
-
|
|
3257
|
-
password: string;
|
|
3258
|
-
email: string;
|
|
3259
|
-
token: string;
|
|
3260
|
-
username: string;
|
|
3261
|
-
apiToken: string;
|
|
3262
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3275
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3263
3276
|
id: import("mongoose").Types.ObjectId;
|
|
3264
3277
|
scopes: number;
|
|
3265
3278
|
token: string;
|
|
@@ -3274,7 +3287,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3274
3287
|
scopes: number;
|
|
3275
3288
|
token: string;
|
|
3276
3289
|
_id?: unknown;
|
|
3277
|
-
}
|
|
3290
|
+
}> | null | undefined;
|
|
3291
|
+
}> & {
|
|
3292
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3293
|
+
} & {
|
|
3294
|
+
__v: number;
|
|
3295
|
+
}) | null>;
|
|
3296
|
+
findByAccessToken(this: import("mongoose").Model<{
|
|
3297
|
+
password: string;
|
|
3298
|
+
email: string;
|
|
3299
|
+
token: string;
|
|
3300
|
+
username: string;
|
|
3301
|
+
apiToken: string;
|
|
3278
3302
|
flags?: number | null | undefined;
|
|
3279
3303
|
connections?: {
|
|
3280
3304
|
discord?: {
|
|
@@ -3288,18 +3312,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3288
3312
|
verified?: boolean | null | undefined;
|
|
3289
3313
|
} | null | undefined;
|
|
3290
3314
|
} | null | undefined;
|
|
3291
|
-
|
|
3292
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3293
|
-
} & {
|
|
3294
|
-
__v: number;
|
|
3295
|
-
}) | null>;
|
|
3296
|
-
findByAccessToken(this: import("mongoose").Model<{
|
|
3297
|
-
password: string;
|
|
3298
|
-
email: string;
|
|
3299
|
-
token: string;
|
|
3300
|
-
username: string;
|
|
3301
|
-
apiToken: string;
|
|
3302
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3315
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3303
3316
|
id: import("mongoose").Types.ObjectId;
|
|
3304
3317
|
scopes: number;
|
|
3305
3318
|
token: string;
|
|
@@ -3314,7 +3327,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3314
3327
|
scopes: number;
|
|
3315
3328
|
token: string;
|
|
3316
3329
|
_id?: unknown;
|
|
3317
|
-
}
|
|
3330
|
+
}> | null | undefined;
|
|
3331
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3332
|
+
password: string;
|
|
3333
|
+
email: string;
|
|
3334
|
+
token: string;
|
|
3335
|
+
username: string;
|
|
3336
|
+
apiToken: string;
|
|
3318
3337
|
flags?: number | null | undefined;
|
|
3319
3338
|
connections?: {
|
|
3320
3339
|
discord?: {
|
|
@@ -3328,13 +3347,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3328
3347
|
verified?: boolean | null | undefined;
|
|
3329
3348
|
} | null | undefined;
|
|
3330
3349
|
} | null | undefined;
|
|
3331
|
-
|
|
3332
|
-
password: string;
|
|
3333
|
-
email: string;
|
|
3334
|
-
token: string;
|
|
3335
|
-
username: string;
|
|
3336
|
-
apiToken: string;
|
|
3337
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3350
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3338
3351
|
id: import("mongoose").Types.ObjectId;
|
|
3339
3352
|
scopes: number;
|
|
3340
3353
|
token: string;
|
|
@@ -3349,7 +3362,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3349
3362
|
scopes: number;
|
|
3350
3363
|
token: string;
|
|
3351
3364
|
_id?: unknown;
|
|
3352
|
-
}
|
|
3365
|
+
}> | null | undefined;
|
|
3366
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3367
|
+
password: string;
|
|
3368
|
+
email: string;
|
|
3369
|
+
token: string;
|
|
3370
|
+
username: string;
|
|
3371
|
+
apiToken: string;
|
|
3353
3372
|
flags?: number | null | undefined;
|
|
3354
3373
|
connections?: {
|
|
3355
3374
|
discord?: {
|
|
@@ -3363,13 +3382,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3363
3382
|
verified?: boolean | null | undefined;
|
|
3364
3383
|
} | null | undefined;
|
|
3365
3384
|
} | null | undefined;
|
|
3366
|
-
|
|
3367
|
-
password: string;
|
|
3368
|
-
email: string;
|
|
3369
|
-
token: string;
|
|
3370
|
-
username: string;
|
|
3371
|
-
apiToken: string;
|
|
3372
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3385
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3373
3386
|
id: import("mongoose").Types.ObjectId;
|
|
3374
3387
|
scopes: number;
|
|
3375
3388
|
token: string;
|
|
@@ -3384,20 +3397,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3384
3397
|
scopes: number;
|
|
3385
3398
|
token: string;
|
|
3386
3399
|
_id?: unknown;
|
|
3387
|
-
}
|
|
3388
|
-
flags?: number | null | undefined;
|
|
3389
|
-
connections?: {
|
|
3390
|
-
discord?: {
|
|
3391
|
-
id?: string | null | undefined;
|
|
3392
|
-
username?: string | null | undefined;
|
|
3393
|
-
verified?: boolean | null | undefined;
|
|
3394
|
-
} | null | undefined;
|
|
3395
|
-
epic?: {
|
|
3396
|
-
id?: string | null | undefined;
|
|
3397
|
-
username?: string | null | undefined;
|
|
3398
|
-
verified?: boolean | null | undefined;
|
|
3399
|
-
} | null | undefined;
|
|
3400
|
-
} | null | undefined;
|
|
3400
|
+
}> | null | undefined;
|
|
3401
3401
|
}> & {
|
|
3402
3402
|
_id: import("mongoose").Types.ObjectId;
|
|
3403
3403
|
} & {
|
|
@@ -3409,7 +3409,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3409
3409
|
token: string;
|
|
3410
3410
|
username: string;
|
|
3411
3411
|
apiToken: string;
|
|
3412
|
-
|
|
3412
|
+
flags?: number | null | undefined;
|
|
3413
|
+
connections?: {
|
|
3414
|
+
discord?: {
|
|
3415
|
+
id?: string | null | undefined;
|
|
3416
|
+
username?: string | null | undefined;
|
|
3417
|
+
verified?: boolean | null | undefined;
|
|
3418
|
+
} | null | undefined;
|
|
3419
|
+
epic?: {
|
|
3420
|
+
id?: string | null | undefined;
|
|
3421
|
+
username?: string | null | undefined;
|
|
3422
|
+
verified?: boolean | null | undefined;
|
|
3423
|
+
} | null | undefined;
|
|
3424
|
+
} | null | undefined;
|
|
3425
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3413
3426
|
id: import("mongoose").Types.ObjectId;
|
|
3414
3427
|
scopes: number;
|
|
3415
3428
|
token: string;
|
|
@@ -3424,7 +3437,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3424
3437
|
scopes: number;
|
|
3425
3438
|
token: string;
|
|
3426
3439
|
_id?: unknown;
|
|
3427
|
-
}
|
|
3440
|
+
}> | null | undefined;
|
|
3441
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3442
|
+
password: string;
|
|
3443
|
+
email: string;
|
|
3444
|
+
token: string;
|
|
3445
|
+
username: string;
|
|
3446
|
+
apiToken: string;
|
|
3428
3447
|
flags?: number | null | undefined;
|
|
3429
3448
|
connections?: {
|
|
3430
3449
|
discord?: {
|
|
@@ -3438,13 +3457,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3438
3457
|
verified?: boolean | null | undefined;
|
|
3439
3458
|
} | null | undefined;
|
|
3440
3459
|
} | null | undefined;
|
|
3441
|
-
|
|
3442
|
-
password: string;
|
|
3443
|
-
email: string;
|
|
3444
|
-
token: string;
|
|
3445
|
-
username: string;
|
|
3446
|
-
apiToken: string;
|
|
3447
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3460
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3448
3461
|
id: import("mongoose").Types.ObjectId;
|
|
3449
3462
|
scopes: number;
|
|
3450
3463
|
token: string;
|
|
@@ -3459,20 +3472,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3459
3472
|
scopes: number;
|
|
3460
3473
|
token: string;
|
|
3461
3474
|
_id?: unknown;
|
|
3462
|
-
}
|
|
3463
|
-
flags?: number | null | undefined;
|
|
3464
|
-
connections?: {
|
|
3465
|
-
discord?: {
|
|
3466
|
-
id?: string | null | undefined;
|
|
3467
|
-
username?: string | null | undefined;
|
|
3468
|
-
verified?: boolean | null | undefined;
|
|
3469
|
-
} | null | undefined;
|
|
3470
|
-
epic?: {
|
|
3471
|
-
id?: string | null | undefined;
|
|
3472
|
-
username?: string | null | undefined;
|
|
3473
|
-
verified?: boolean | null | undefined;
|
|
3474
|
-
} | null | undefined;
|
|
3475
|
-
} | null | undefined;
|
|
3475
|
+
}> | null | undefined;
|
|
3476
3476
|
}> & {
|
|
3477
3477
|
_id: import("mongoose").Types.ObjectId;
|
|
3478
3478
|
} & {
|
|
@@ -3497,7 +3497,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3497
3497
|
token: string;
|
|
3498
3498
|
username: string;
|
|
3499
3499
|
apiToken: string;
|
|
3500
|
-
|
|
3500
|
+
flags?: number | null | undefined;
|
|
3501
|
+
connections?: {
|
|
3502
|
+
discord?: {
|
|
3503
|
+
id?: string | null | undefined;
|
|
3504
|
+
username?: string | null | undefined;
|
|
3505
|
+
verified?: boolean | null | undefined;
|
|
3506
|
+
} | null | undefined;
|
|
3507
|
+
epic?: {
|
|
3508
|
+
id?: string | null | undefined;
|
|
3509
|
+
username?: string | null | undefined;
|
|
3510
|
+
verified?: boolean | null | undefined;
|
|
3511
|
+
} | null | undefined;
|
|
3512
|
+
} | null | undefined;
|
|
3513
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3501
3514
|
id: import("mongoose").Types.ObjectId;
|
|
3502
3515
|
scopes: number;
|
|
3503
3516
|
token: string;
|
|
@@ -3512,7 +3525,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3512
3525
|
scopes: number;
|
|
3513
3526
|
token: string;
|
|
3514
3527
|
_id?: unknown;
|
|
3515
|
-
}
|
|
3528
|
+
}> | null | undefined;
|
|
3529
|
+
} & {
|
|
3530
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3531
|
+
} & {
|
|
3532
|
+
__v: number;
|
|
3533
|
+
}, Schema<any, import("mongoose").Model<{
|
|
3534
|
+
password: string;
|
|
3535
|
+
email: string;
|
|
3536
|
+
token: string;
|
|
3537
|
+
username: string;
|
|
3538
|
+
apiToken: string;
|
|
3516
3539
|
flags?: number | null | undefined;
|
|
3517
3540
|
connections?: {
|
|
3518
3541
|
discord?: {
|
|
@@ -3526,17 +3549,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3526
3549
|
verified?: boolean | null | undefined;
|
|
3527
3550
|
} | null | undefined;
|
|
3528
3551
|
} | null | undefined;
|
|
3529
|
-
|
|
3530
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3531
|
-
} & {
|
|
3532
|
-
__v: number;
|
|
3533
|
-
}, Schema<any, import("mongoose").Model<{
|
|
3534
|
-
password: string;
|
|
3535
|
-
email: string;
|
|
3536
|
-
token: string;
|
|
3537
|
-
username: string;
|
|
3538
|
-
apiToken: string;
|
|
3539
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3552
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3540
3553
|
id: import("mongoose").Types.ObjectId;
|
|
3541
3554
|
scopes: number;
|
|
3542
3555
|
token: string;
|
|
@@ -3551,7 +3564,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3551
3564
|
scopes: number;
|
|
3552
3565
|
token: string;
|
|
3553
3566
|
_id?: unknown;
|
|
3554
|
-
}
|
|
3567
|
+
}> | null | undefined;
|
|
3568
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3569
|
+
password: string;
|
|
3570
|
+
email: string;
|
|
3571
|
+
token: string;
|
|
3572
|
+
username: string;
|
|
3573
|
+
apiToken: string;
|
|
3555
3574
|
flags?: number | null | undefined;
|
|
3556
3575
|
connections?: {
|
|
3557
3576
|
discord?: {
|
|
@@ -3565,13 +3584,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3565
3584
|
verified?: boolean | null | undefined;
|
|
3566
3585
|
} | null | undefined;
|
|
3567
3586
|
} | null | undefined;
|
|
3568
|
-
|
|
3569
|
-
password: string;
|
|
3570
|
-
email: string;
|
|
3571
|
-
token: string;
|
|
3572
|
-
username: string;
|
|
3573
|
-
apiToken: string;
|
|
3574
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3587
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3575
3588
|
id: import("mongoose").Types.ObjectId;
|
|
3576
3589
|
scopes: number;
|
|
3577
3590
|
token: string;
|
|
@@ -3586,7 +3599,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3586
3599
|
scopes: number;
|
|
3587
3600
|
token: string;
|
|
3588
3601
|
_id?: unknown;
|
|
3589
|
-
}
|
|
3602
|
+
}> | null | undefined;
|
|
3603
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3604
|
+
password: string;
|
|
3605
|
+
email: string;
|
|
3606
|
+
token: string;
|
|
3607
|
+
username: string;
|
|
3608
|
+
apiToken: string;
|
|
3590
3609
|
flags?: number | null | undefined;
|
|
3591
3610
|
connections?: {
|
|
3592
3611
|
discord?: {
|
|
@@ -3600,13 +3619,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3600
3619
|
verified?: boolean | null | undefined;
|
|
3601
3620
|
} | null | undefined;
|
|
3602
3621
|
} | null | undefined;
|
|
3603
|
-
|
|
3604
|
-
password: string;
|
|
3605
|
-
email: string;
|
|
3606
|
-
token: string;
|
|
3607
|
-
username: string;
|
|
3608
|
-
apiToken: string;
|
|
3609
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3622
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3610
3623
|
id: import("mongoose").Types.ObjectId;
|
|
3611
3624
|
scopes: number;
|
|
3612
3625
|
token: string;
|
|
@@ -3621,20 +3634,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3621
3634
|
scopes: number;
|
|
3622
3635
|
token: string;
|
|
3623
3636
|
_id?: unknown;
|
|
3624
|
-
}
|
|
3625
|
-
flags?: number | null | undefined;
|
|
3626
|
-
connections?: {
|
|
3627
|
-
discord?: {
|
|
3628
|
-
id?: string | null | undefined;
|
|
3629
|
-
username?: string | null | undefined;
|
|
3630
|
-
verified?: boolean | null | undefined;
|
|
3631
|
-
} | null | undefined;
|
|
3632
|
-
epic?: {
|
|
3633
|
-
id?: string | null | undefined;
|
|
3634
|
-
username?: string | null | undefined;
|
|
3635
|
-
verified?: boolean | null | undefined;
|
|
3636
|
-
} | null | undefined;
|
|
3637
|
-
} | null | undefined;
|
|
3637
|
+
}> | null | undefined;
|
|
3638
3638
|
}> & {
|
|
3639
3639
|
_id: import("mongoose").Types.ObjectId;
|
|
3640
3640
|
} & {
|
|
@@ -3646,22 +3646,6 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3646
3646
|
token: string;
|
|
3647
3647
|
username: string;
|
|
3648
3648
|
apiToken: string;
|
|
3649
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3650
|
-
id: import("mongoose").Types.ObjectId;
|
|
3651
|
-
scopes: number;
|
|
3652
|
-
token: string;
|
|
3653
|
-
_id?: unknown;
|
|
3654
|
-
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
3655
|
-
id: import("mongoose").Types.ObjectId;
|
|
3656
|
-
scopes: number;
|
|
3657
|
-
token: string;
|
|
3658
|
-
_id?: unknown;
|
|
3659
|
-
}> & {
|
|
3660
|
-
id: import("mongoose").Types.ObjectId;
|
|
3661
|
-
scopes: number;
|
|
3662
|
-
token: string;
|
|
3663
|
-
_id?: unknown;
|
|
3664
|
-
}>;
|
|
3665
3649
|
flags?: number | null | undefined;
|
|
3666
3650
|
connections?: {
|
|
3667
3651
|
discord?: {
|
|
@@ -3675,13 +3659,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3675
3659
|
verified?: boolean | null | undefined;
|
|
3676
3660
|
} | null | undefined;
|
|
3677
3661
|
} | null | undefined;
|
|
3678
|
-
|
|
3679
|
-
password: string;
|
|
3680
|
-
email: string;
|
|
3681
|
-
token: string;
|
|
3682
|
-
username: string;
|
|
3683
|
-
apiToken: string;
|
|
3684
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3662
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3685
3663
|
id: import("mongoose").Types.ObjectId;
|
|
3686
3664
|
scopes: number;
|
|
3687
3665
|
token: string;
|
|
@@ -3696,7 +3674,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3696
3674
|
scopes: number;
|
|
3697
3675
|
token: string;
|
|
3698
3676
|
_id?: unknown;
|
|
3699
|
-
}
|
|
3677
|
+
}> | null | undefined;
|
|
3678
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3679
|
+
password: string;
|
|
3680
|
+
email: string;
|
|
3681
|
+
token: string;
|
|
3682
|
+
username: string;
|
|
3683
|
+
apiToken: string;
|
|
3700
3684
|
flags?: number | null | undefined;
|
|
3701
3685
|
connections?: {
|
|
3702
3686
|
discord?: {
|
|
@@ -3710,13 +3694,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3710
3694
|
verified?: boolean | null | undefined;
|
|
3711
3695
|
} | null | undefined;
|
|
3712
3696
|
} | null | undefined;
|
|
3713
|
-
|
|
3714
|
-
password: string;
|
|
3715
|
-
email: string;
|
|
3716
|
-
token: string;
|
|
3717
|
-
username: string;
|
|
3718
|
-
apiToken: string;
|
|
3719
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3697
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3720
3698
|
id: import("mongoose").Types.ObjectId;
|
|
3721
3699
|
scopes: number;
|
|
3722
3700
|
token: string;
|
|
@@ -3731,7 +3709,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3731
3709
|
scopes: number;
|
|
3732
3710
|
token: string;
|
|
3733
3711
|
_id?: unknown;
|
|
3734
|
-
}
|
|
3712
|
+
}> | null | undefined;
|
|
3713
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3714
|
+
password: string;
|
|
3715
|
+
email: string;
|
|
3716
|
+
token: string;
|
|
3717
|
+
username: string;
|
|
3718
|
+
apiToken: string;
|
|
3735
3719
|
flags?: number | null | undefined;
|
|
3736
3720
|
connections?: {
|
|
3737
3721
|
discord?: {
|
|
@@ -3745,18 +3729,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3745
3729
|
verified?: boolean | null | undefined;
|
|
3746
3730
|
} | null | undefined;
|
|
3747
3731
|
} | null | undefined;
|
|
3748
|
-
|
|
3749
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3750
|
-
} & {
|
|
3751
|
-
__v: number;
|
|
3752
|
-
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
3753
|
-
findByToken: (this: import("mongoose").Model<{
|
|
3754
|
-
password: string;
|
|
3755
|
-
email: string;
|
|
3756
|
-
token: string;
|
|
3757
|
-
username: string;
|
|
3758
|
-
apiToken: string;
|
|
3759
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3732
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3760
3733
|
id: import("mongoose").Types.ObjectId;
|
|
3761
3734
|
scopes: number;
|
|
3762
3735
|
token: string;
|
|
@@ -3771,7 +3744,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3771
3744
|
scopes: number;
|
|
3772
3745
|
token: string;
|
|
3773
3746
|
_id?: unknown;
|
|
3774
|
-
}
|
|
3747
|
+
}> | null | undefined;
|
|
3748
|
+
}> & {
|
|
3749
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3750
|
+
} & {
|
|
3751
|
+
__v: number;
|
|
3752
|
+
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
3753
|
+
findByToken: (this: import("mongoose").Model<{
|
|
3754
|
+
password: string;
|
|
3755
|
+
email: string;
|
|
3756
|
+
token: string;
|
|
3757
|
+
username: string;
|
|
3758
|
+
apiToken: string;
|
|
3775
3759
|
flags?: number | null | undefined;
|
|
3776
3760
|
connections?: {
|
|
3777
3761
|
discord?: {
|
|
@@ -3785,13 +3769,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3785
3769
|
verified?: boolean | null | undefined;
|
|
3786
3770
|
} | null | undefined;
|
|
3787
3771
|
} | null | undefined;
|
|
3788
|
-
|
|
3789
|
-
password: string;
|
|
3790
|
-
email: string;
|
|
3791
|
-
token: string;
|
|
3792
|
-
username: string;
|
|
3793
|
-
apiToken: string;
|
|
3794
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3772
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3795
3773
|
id: import("mongoose").Types.ObjectId;
|
|
3796
3774
|
scopes: number;
|
|
3797
3775
|
token: string;
|
|
@@ -3806,7 +3784,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3806
3784
|
scopes: number;
|
|
3807
3785
|
token: string;
|
|
3808
3786
|
_id?: unknown;
|
|
3809
|
-
}
|
|
3787
|
+
}> | null | undefined;
|
|
3788
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3789
|
+
password: string;
|
|
3790
|
+
email: string;
|
|
3791
|
+
token: string;
|
|
3792
|
+
username: string;
|
|
3793
|
+
apiToken: string;
|
|
3810
3794
|
flags?: number | null | undefined;
|
|
3811
3795
|
connections?: {
|
|
3812
3796
|
discord?: {
|
|
@@ -3820,13 +3804,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3820
3804
|
verified?: boolean | null | undefined;
|
|
3821
3805
|
} | null | undefined;
|
|
3822
3806
|
} | null | undefined;
|
|
3823
|
-
|
|
3824
|
-
password: string;
|
|
3825
|
-
email: string;
|
|
3826
|
-
token: string;
|
|
3827
|
-
username: string;
|
|
3828
|
-
apiToken: string;
|
|
3829
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3807
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3830
3808
|
id: import("mongoose").Types.ObjectId;
|
|
3831
3809
|
scopes: number;
|
|
3832
3810
|
token: string;
|
|
@@ -3841,7 +3819,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3841
3819
|
scopes: number;
|
|
3842
3820
|
token: string;
|
|
3843
3821
|
_id?: unknown;
|
|
3844
|
-
}
|
|
3822
|
+
}> | null | undefined;
|
|
3823
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3824
|
+
password: string;
|
|
3825
|
+
email: string;
|
|
3826
|
+
token: string;
|
|
3827
|
+
username: string;
|
|
3828
|
+
apiToken: string;
|
|
3845
3829
|
flags?: number | null | undefined;
|
|
3846
3830
|
connections?: {
|
|
3847
3831
|
discord?: {
|
|
@@ -3855,17 +3839,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3855
3839
|
verified?: boolean | null | undefined;
|
|
3856
3840
|
} | null | undefined;
|
|
3857
3841
|
} | null | undefined;
|
|
3858
|
-
|
|
3859
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3860
|
-
} & {
|
|
3861
|
-
__v: number;
|
|
3862
|
-
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3863
|
-
password: string;
|
|
3864
|
-
email: string;
|
|
3865
|
-
token: string;
|
|
3866
|
-
username: string;
|
|
3867
|
-
apiToken: string;
|
|
3868
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3842
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3869
3843
|
id: import("mongoose").Types.ObjectId;
|
|
3870
3844
|
scopes: number;
|
|
3871
3845
|
token: string;
|
|
@@ -3880,7 +3854,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3880
3854
|
scopes: number;
|
|
3881
3855
|
token: string;
|
|
3882
3856
|
_id?: unknown;
|
|
3883
|
-
}
|
|
3857
|
+
}> | null | undefined;
|
|
3858
|
+
}> & {
|
|
3859
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3860
|
+
} & {
|
|
3861
|
+
__v: number;
|
|
3862
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3863
|
+
password: string;
|
|
3864
|
+
email: string;
|
|
3865
|
+
token: string;
|
|
3866
|
+
username: string;
|
|
3867
|
+
apiToken: string;
|
|
3884
3868
|
flags?: number | null | undefined;
|
|
3885
3869
|
connections?: {
|
|
3886
3870
|
discord?: {
|
|
@@ -3894,13 +3878,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3894
3878
|
verified?: boolean | null | undefined;
|
|
3895
3879
|
} | null | undefined;
|
|
3896
3880
|
} | null | undefined;
|
|
3897
|
-
|
|
3898
|
-
password: string;
|
|
3899
|
-
email: string;
|
|
3900
|
-
token: string;
|
|
3901
|
-
username: string;
|
|
3902
|
-
apiToken: string;
|
|
3903
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3881
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3904
3882
|
id: import("mongoose").Types.ObjectId;
|
|
3905
3883
|
scopes: number;
|
|
3906
3884
|
token: string;
|
|
@@ -3915,10 +3893,16 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3915
3893
|
scopes: number;
|
|
3916
3894
|
token: string;
|
|
3917
3895
|
_id?: unknown;
|
|
3918
|
-
}
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3896
|
+
}> | null | undefined;
|
|
3897
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3898
|
+
password: string;
|
|
3899
|
+
email: string;
|
|
3900
|
+
token: string;
|
|
3901
|
+
username: string;
|
|
3902
|
+
apiToken: string;
|
|
3903
|
+
flags?: number | null | undefined;
|
|
3904
|
+
connections?: {
|
|
3905
|
+
discord?: {
|
|
3922
3906
|
id?: string | null | undefined;
|
|
3923
3907
|
username?: string | null | undefined;
|
|
3924
3908
|
verified?: boolean | null | undefined;
|
|
@@ -3929,18 +3913,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3929
3913
|
verified?: boolean | null | undefined;
|
|
3930
3914
|
} | null | undefined;
|
|
3931
3915
|
} | null | undefined;
|
|
3932
|
-
|
|
3933
|
-
_id: import("mongoose").Types.ObjectId;
|
|
3934
|
-
} & {
|
|
3935
|
-
__v: number;
|
|
3936
|
-
}) | null>;
|
|
3937
|
-
findByAPIToken: (this: import("mongoose").Model<{
|
|
3938
|
-
password: string;
|
|
3939
|
-
email: string;
|
|
3940
|
-
token: string;
|
|
3941
|
-
username: string;
|
|
3942
|
-
apiToken: string;
|
|
3943
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3916
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3944
3917
|
id: import("mongoose").Types.ObjectId;
|
|
3945
3918
|
scopes: number;
|
|
3946
3919
|
token: string;
|
|
@@ -3955,7 +3928,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3955
3928
|
scopes: number;
|
|
3956
3929
|
token: string;
|
|
3957
3930
|
_id?: unknown;
|
|
3958
|
-
}
|
|
3931
|
+
}> | null | undefined;
|
|
3932
|
+
}> & {
|
|
3933
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3934
|
+
} & {
|
|
3935
|
+
__v: number;
|
|
3936
|
+
}) | null>;
|
|
3937
|
+
findByAPIToken: (this: import("mongoose").Model<{
|
|
3938
|
+
password: string;
|
|
3939
|
+
email: string;
|
|
3940
|
+
token: string;
|
|
3941
|
+
username: string;
|
|
3942
|
+
apiToken: string;
|
|
3959
3943
|
flags?: number | null | undefined;
|
|
3960
3944
|
connections?: {
|
|
3961
3945
|
discord?: {
|
|
@@ -3969,13 +3953,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3969
3953
|
verified?: boolean | null | undefined;
|
|
3970
3954
|
} | null | undefined;
|
|
3971
3955
|
} | null | undefined;
|
|
3972
|
-
|
|
3973
|
-
password: string;
|
|
3974
|
-
email: string;
|
|
3975
|
-
token: string;
|
|
3976
|
-
username: string;
|
|
3977
|
-
apiToken: string;
|
|
3978
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3956
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3979
3957
|
id: import("mongoose").Types.ObjectId;
|
|
3980
3958
|
scopes: number;
|
|
3981
3959
|
token: string;
|
|
@@ -3990,7 +3968,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3990
3968
|
scopes: number;
|
|
3991
3969
|
token: string;
|
|
3992
3970
|
_id?: unknown;
|
|
3993
|
-
}
|
|
3971
|
+
}> | null | undefined;
|
|
3972
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3973
|
+
password: string;
|
|
3974
|
+
email: string;
|
|
3975
|
+
token: string;
|
|
3976
|
+
username: string;
|
|
3977
|
+
apiToken: string;
|
|
3994
3978
|
flags?: number | null | undefined;
|
|
3995
3979
|
connections?: {
|
|
3996
3980
|
discord?: {
|
|
@@ -4004,13 +3988,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4004
3988
|
verified?: boolean | null | undefined;
|
|
4005
3989
|
} | null | undefined;
|
|
4006
3990
|
} | null | undefined;
|
|
4007
|
-
|
|
4008
|
-
password: string;
|
|
4009
|
-
email: string;
|
|
4010
|
-
token: string;
|
|
4011
|
-
username: string;
|
|
4012
|
-
apiToken: string;
|
|
4013
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3991
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4014
3992
|
id: import("mongoose").Types.ObjectId;
|
|
4015
3993
|
scopes: number;
|
|
4016
3994
|
token: string;
|
|
@@ -4025,7 +4003,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4025
4003
|
scopes: number;
|
|
4026
4004
|
token: string;
|
|
4027
4005
|
_id?: unknown;
|
|
4028
|
-
}
|
|
4006
|
+
}> | null | undefined;
|
|
4007
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4008
|
+
password: string;
|
|
4009
|
+
email: string;
|
|
4010
|
+
token: string;
|
|
4011
|
+
username: string;
|
|
4012
|
+
apiToken: string;
|
|
4029
4013
|
flags?: number | null | undefined;
|
|
4030
4014
|
connections?: {
|
|
4031
4015
|
discord?: {
|
|
@@ -4039,17 +4023,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4039
4023
|
verified?: boolean | null | undefined;
|
|
4040
4024
|
} | null | undefined;
|
|
4041
4025
|
} | null | undefined;
|
|
4042
|
-
|
|
4043
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4044
|
-
} & {
|
|
4045
|
-
__v: number;
|
|
4046
|
-
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4047
|
-
password: string;
|
|
4048
|
-
email: string;
|
|
4049
|
-
token: string;
|
|
4050
|
-
username: string;
|
|
4051
|
-
apiToken: string;
|
|
4052
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4026
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4053
4027
|
id: import("mongoose").Types.ObjectId;
|
|
4054
4028
|
scopes: number;
|
|
4055
4029
|
token: string;
|
|
@@ -4064,7 +4038,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4064
4038
|
scopes: number;
|
|
4065
4039
|
token: string;
|
|
4066
4040
|
_id?: unknown;
|
|
4067
|
-
}
|
|
4041
|
+
}> | null | undefined;
|
|
4042
|
+
}> & {
|
|
4043
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4044
|
+
} & {
|
|
4045
|
+
__v: number;
|
|
4046
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4047
|
+
password: string;
|
|
4048
|
+
email: string;
|
|
4049
|
+
token: string;
|
|
4050
|
+
username: string;
|
|
4051
|
+
apiToken: string;
|
|
4068
4052
|
flags?: number | null | undefined;
|
|
4069
4053
|
connections?: {
|
|
4070
4054
|
discord?: {
|
|
@@ -4078,13 +4062,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4078
4062
|
verified?: boolean | null | undefined;
|
|
4079
4063
|
} | null | undefined;
|
|
4080
4064
|
} | null | undefined;
|
|
4081
|
-
|
|
4082
|
-
password: string;
|
|
4083
|
-
email: string;
|
|
4084
|
-
token: string;
|
|
4085
|
-
username: string;
|
|
4086
|
-
apiToken: string;
|
|
4087
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4065
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4088
4066
|
id: import("mongoose").Types.ObjectId;
|
|
4089
4067
|
scopes: number;
|
|
4090
4068
|
token: string;
|
|
@@ -4099,7 +4077,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4099
4077
|
scopes: number;
|
|
4100
4078
|
token: string;
|
|
4101
4079
|
_id?: unknown;
|
|
4102
|
-
}
|
|
4080
|
+
}> | null | undefined;
|
|
4081
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4082
|
+
password: string;
|
|
4083
|
+
email: string;
|
|
4084
|
+
token: string;
|
|
4085
|
+
username: string;
|
|
4086
|
+
apiToken: string;
|
|
4103
4087
|
flags?: number | null | undefined;
|
|
4104
4088
|
connections?: {
|
|
4105
4089
|
discord?: {
|
|
@@ -4113,18 +4097,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4113
4097
|
verified?: boolean | null | undefined;
|
|
4114
4098
|
} | null | undefined;
|
|
4115
4099
|
} | null | undefined;
|
|
4116
|
-
|
|
4117
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4118
|
-
} & {
|
|
4119
|
-
__v: number;
|
|
4120
|
-
}) | null>;
|
|
4121
|
-
findByAccessToken: (this: import("mongoose").Model<{
|
|
4122
|
-
password: string;
|
|
4123
|
-
email: string;
|
|
4124
|
-
token: string;
|
|
4125
|
-
username: string;
|
|
4126
|
-
apiToken: string;
|
|
4127
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4100
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4128
4101
|
id: import("mongoose").Types.ObjectId;
|
|
4129
4102
|
scopes: number;
|
|
4130
4103
|
token: string;
|
|
@@ -4139,7 +4112,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4139
4112
|
scopes: number;
|
|
4140
4113
|
token: string;
|
|
4141
4114
|
_id?: unknown;
|
|
4142
|
-
}
|
|
4115
|
+
}> | null | undefined;
|
|
4116
|
+
}> & {
|
|
4117
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4118
|
+
} & {
|
|
4119
|
+
__v: number;
|
|
4120
|
+
}) | null>;
|
|
4121
|
+
findByAccessToken: (this: import("mongoose").Model<{
|
|
4122
|
+
password: string;
|
|
4123
|
+
email: string;
|
|
4124
|
+
token: string;
|
|
4125
|
+
username: string;
|
|
4126
|
+
apiToken: string;
|
|
4143
4127
|
flags?: number | null | undefined;
|
|
4144
4128
|
connections?: {
|
|
4145
4129
|
discord?: {
|
|
@@ -4153,13 +4137,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4153
4137
|
verified?: boolean | null | undefined;
|
|
4154
4138
|
} | null | undefined;
|
|
4155
4139
|
} | null | undefined;
|
|
4156
|
-
|
|
4157
|
-
password: string;
|
|
4158
|
-
email: string;
|
|
4159
|
-
token: string;
|
|
4160
|
-
username: string;
|
|
4161
|
-
apiToken: string;
|
|
4162
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4140
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4163
4141
|
id: import("mongoose").Types.ObjectId;
|
|
4164
4142
|
scopes: number;
|
|
4165
4143
|
token: string;
|
|
@@ -4174,7 +4152,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4174
4152
|
scopes: number;
|
|
4175
4153
|
token: string;
|
|
4176
4154
|
_id?: unknown;
|
|
4177
|
-
}
|
|
4155
|
+
}> | null | undefined;
|
|
4156
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4157
|
+
password: string;
|
|
4158
|
+
email: string;
|
|
4159
|
+
token: string;
|
|
4160
|
+
username: string;
|
|
4161
|
+
apiToken: string;
|
|
4178
4162
|
flags?: number | null | undefined;
|
|
4179
4163
|
connections?: {
|
|
4180
4164
|
discord?: {
|
|
@@ -4188,13 +4172,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4188
4172
|
verified?: boolean | null | undefined;
|
|
4189
4173
|
} | null | undefined;
|
|
4190
4174
|
} | null | undefined;
|
|
4191
|
-
|
|
4192
|
-
password: string;
|
|
4193
|
-
email: string;
|
|
4194
|
-
token: string;
|
|
4195
|
-
username: string;
|
|
4196
|
-
apiToken: string;
|
|
4197
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4175
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4198
4176
|
id: import("mongoose").Types.ObjectId;
|
|
4199
4177
|
scopes: number;
|
|
4200
4178
|
token: string;
|
|
@@ -4209,7 +4187,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4209
4187
|
scopes: number;
|
|
4210
4188
|
token: string;
|
|
4211
4189
|
_id?: unknown;
|
|
4212
|
-
}
|
|
4190
|
+
}> | null | undefined;
|
|
4191
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4192
|
+
password: string;
|
|
4193
|
+
email: string;
|
|
4194
|
+
token: string;
|
|
4195
|
+
username: string;
|
|
4196
|
+
apiToken: string;
|
|
4213
4197
|
flags?: number | null | undefined;
|
|
4214
4198
|
connections?: {
|
|
4215
4199
|
discord?: {
|
|
@@ -4223,6 +4207,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4223
4207
|
verified?: boolean | null | undefined;
|
|
4224
4208
|
} | null | undefined;
|
|
4225
4209
|
} | null | undefined;
|
|
4210
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4211
|
+
id: import("mongoose").Types.ObjectId;
|
|
4212
|
+
scopes: number;
|
|
4213
|
+
token: string;
|
|
4214
|
+
_id?: unknown;
|
|
4215
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4216
|
+
id: import("mongoose").Types.ObjectId;
|
|
4217
|
+
scopes: number;
|
|
4218
|
+
token: string;
|
|
4219
|
+
_id?: unknown;
|
|
4220
|
+
}> & {
|
|
4221
|
+
id: import("mongoose").Types.ObjectId;
|
|
4222
|
+
scopes: number;
|
|
4223
|
+
token: string;
|
|
4224
|
+
_id?: unknown;
|
|
4225
|
+
}> | null | undefined;
|
|
4226
4226
|
}> & {
|
|
4227
4227
|
_id: import("mongoose").Types.ObjectId;
|
|
4228
4228
|
} & {
|
|
@@ -4234,7 +4234,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4234
4234
|
token: string;
|
|
4235
4235
|
username: string;
|
|
4236
4236
|
apiToken: string;
|
|
4237
|
-
|
|
4237
|
+
flags?: number | null | undefined;
|
|
4238
|
+
connections?: {
|
|
4239
|
+
discord?: {
|
|
4240
|
+
id?: string | null | undefined;
|
|
4241
|
+
username?: string | null | undefined;
|
|
4242
|
+
verified?: boolean | null | undefined;
|
|
4243
|
+
} | null | undefined;
|
|
4244
|
+
epic?: {
|
|
4245
|
+
id?: string | null | undefined;
|
|
4246
|
+
username?: string | null | undefined;
|
|
4247
|
+
verified?: boolean | null | undefined;
|
|
4248
|
+
} | null | undefined;
|
|
4249
|
+
} | null | undefined;
|
|
4250
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4238
4251
|
id: import("mongoose").Types.ObjectId;
|
|
4239
4252
|
scopes: number;
|
|
4240
4253
|
token: string;
|
|
@@ -4249,7 +4262,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4249
4262
|
scopes: number;
|
|
4250
4263
|
token: string;
|
|
4251
4264
|
_id?: unknown;
|
|
4252
|
-
}
|
|
4265
|
+
}> | null | undefined;
|
|
4266
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4267
|
+
password: string;
|
|
4268
|
+
email: string;
|
|
4269
|
+
token: string;
|
|
4270
|
+
username: string;
|
|
4271
|
+
apiToken: string;
|
|
4253
4272
|
flags?: number | null | undefined;
|
|
4254
4273
|
connections?: {
|
|
4255
4274
|
discord?: {
|
|
@@ -4263,13 +4282,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4263
4282
|
verified?: boolean | null | undefined;
|
|
4264
4283
|
} | null | undefined;
|
|
4265
4284
|
} | null | undefined;
|
|
4266
|
-
|
|
4267
|
-
password: string;
|
|
4268
|
-
email: string;
|
|
4269
|
-
token: string;
|
|
4270
|
-
username: string;
|
|
4271
|
-
apiToken: string;
|
|
4272
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4285
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4273
4286
|
id: import("mongoose").Types.ObjectId;
|
|
4274
4287
|
scopes: number;
|
|
4275
4288
|
token: string;
|
|
@@ -4284,20 +4297,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4284
4297
|
scopes: number;
|
|
4285
4298
|
token: string;
|
|
4286
4299
|
_id?: unknown;
|
|
4287
|
-
}
|
|
4288
|
-
flags?: number | null | undefined;
|
|
4289
|
-
connections?: {
|
|
4290
|
-
discord?: {
|
|
4291
|
-
id?: string | null | undefined;
|
|
4292
|
-
username?: string | null | undefined;
|
|
4293
|
-
verified?: boolean | null | undefined;
|
|
4294
|
-
} | null | undefined;
|
|
4295
|
-
epic?: {
|
|
4296
|
-
id?: string | null | undefined;
|
|
4297
|
-
username?: string | null | undefined;
|
|
4298
|
-
verified?: boolean | null | undefined;
|
|
4299
|
-
} | null | undefined;
|
|
4300
|
-
} | null | undefined;
|
|
4300
|
+
}> | null | undefined;
|
|
4301
4301
|
}> & {
|
|
4302
4302
|
_id: import("mongoose").Types.ObjectId;
|
|
4303
4303
|
} & {
|
|
@@ -4323,22 +4323,6 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4323
4323
|
token: string;
|
|
4324
4324
|
username: string;
|
|
4325
4325
|
apiToken: string;
|
|
4326
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4327
|
-
id: import("mongoose").Types.ObjectId;
|
|
4328
|
-
scopes: number;
|
|
4329
|
-
token: string;
|
|
4330
|
-
_id?: unknown;
|
|
4331
|
-
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4332
|
-
id: import("mongoose").Types.ObjectId;
|
|
4333
|
-
scopes: number;
|
|
4334
|
-
token: string;
|
|
4335
|
-
_id?: unknown;
|
|
4336
|
-
}> & {
|
|
4337
|
-
id: import("mongoose").Types.ObjectId;
|
|
4338
|
-
scopes: number;
|
|
4339
|
-
token: string;
|
|
4340
|
-
_id?: unknown;
|
|
4341
|
-
}>;
|
|
4342
4326
|
flags?: number | null | undefined;
|
|
4343
4327
|
connections?: {
|
|
4344
4328
|
discord?: {
|
|
@@ -4352,13 +4336,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4352
4336
|
verified?: boolean | null | undefined;
|
|
4353
4337
|
} | null | undefined;
|
|
4354
4338
|
} | null | undefined;
|
|
4355
|
-
|
|
4356
|
-
password: string;
|
|
4357
|
-
email: string;
|
|
4358
|
-
token: string;
|
|
4359
|
-
username: string;
|
|
4360
|
-
apiToken: string;
|
|
4361
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4339
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4362
4340
|
id: import("mongoose").Types.ObjectId;
|
|
4363
4341
|
scopes: number;
|
|
4364
4342
|
token: string;
|
|
@@ -4373,7 +4351,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4373
4351
|
scopes: number;
|
|
4374
4352
|
token: string;
|
|
4375
4353
|
_id?: unknown;
|
|
4376
|
-
}
|
|
4354
|
+
}> | null | undefined;
|
|
4355
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4356
|
+
password: string;
|
|
4357
|
+
email: string;
|
|
4358
|
+
token: string;
|
|
4359
|
+
username: string;
|
|
4360
|
+
apiToken: string;
|
|
4377
4361
|
flags?: number | null | undefined;
|
|
4378
4362
|
connections?: {
|
|
4379
4363
|
discord?: {
|
|
@@ -4387,13 +4371,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4387
4371
|
verified?: boolean | null | undefined;
|
|
4388
4372
|
} | null | undefined;
|
|
4389
4373
|
} | null | undefined;
|
|
4390
|
-
|
|
4391
|
-
password: string;
|
|
4392
|
-
email: string;
|
|
4393
|
-
token: string;
|
|
4394
|
-
username: string;
|
|
4395
|
-
apiToken: string;
|
|
4396
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4374
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4397
4375
|
id: import("mongoose").Types.ObjectId;
|
|
4398
4376
|
scopes: number;
|
|
4399
4377
|
token: string;
|
|
@@ -4408,7 +4386,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4408
4386
|
scopes: number;
|
|
4409
4387
|
token: string;
|
|
4410
4388
|
_id?: unknown;
|
|
4411
|
-
}
|
|
4389
|
+
}> | null | undefined;
|
|
4390
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4391
|
+
password: string;
|
|
4392
|
+
email: string;
|
|
4393
|
+
token: string;
|
|
4394
|
+
username: string;
|
|
4395
|
+
apiToken: string;
|
|
4412
4396
|
flags?: number | null | undefined;
|
|
4413
4397
|
connections?: {
|
|
4414
4398
|
discord?: {
|
|
@@ -4422,18 +4406,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4422
4406
|
verified?: boolean | null | undefined;
|
|
4423
4407
|
} | null | undefined;
|
|
4424
4408
|
} | null | undefined;
|
|
4425
|
-
|
|
4426
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4427
|
-
} & {
|
|
4428
|
-
__v: number;
|
|
4429
|
-
}, any>, password: string, hash: string): Promise<boolean>;
|
|
4430
|
-
findByToken(this: import("mongoose").Model<{
|
|
4431
|
-
password: string;
|
|
4432
|
-
email: string;
|
|
4433
|
-
token: string;
|
|
4434
|
-
username: string;
|
|
4435
|
-
apiToken: string;
|
|
4436
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4409
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4437
4410
|
id: import("mongoose").Types.ObjectId;
|
|
4438
4411
|
scopes: number;
|
|
4439
4412
|
token: string;
|
|
@@ -4448,7 +4421,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4448
4421
|
scopes: number;
|
|
4449
4422
|
token: string;
|
|
4450
4423
|
_id?: unknown;
|
|
4451
|
-
}
|
|
4424
|
+
}> | null | undefined;
|
|
4425
|
+
}> & {
|
|
4426
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4427
|
+
} & {
|
|
4428
|
+
__v: number;
|
|
4429
|
+
}, any>, password: string, hash: string): Promise<boolean>;
|
|
4430
|
+
findByToken(this: import("mongoose").Model<{
|
|
4431
|
+
password: string;
|
|
4432
|
+
email: string;
|
|
4433
|
+
token: string;
|
|
4434
|
+
username: string;
|
|
4435
|
+
apiToken: string;
|
|
4452
4436
|
flags?: number | null | undefined;
|
|
4453
4437
|
connections?: {
|
|
4454
4438
|
discord?: {
|
|
@@ -4462,13 +4446,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4462
4446
|
verified?: boolean | null | undefined;
|
|
4463
4447
|
} | null | undefined;
|
|
4464
4448
|
} | null | undefined;
|
|
4465
|
-
|
|
4466
|
-
password: string;
|
|
4467
|
-
email: string;
|
|
4468
|
-
token: string;
|
|
4469
|
-
username: string;
|
|
4470
|
-
apiToken: string;
|
|
4471
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4449
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4472
4450
|
id: import("mongoose").Types.ObjectId;
|
|
4473
4451
|
scopes: number;
|
|
4474
4452
|
token: string;
|
|
@@ -4483,7 +4461,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4483
4461
|
scopes: number;
|
|
4484
4462
|
token: string;
|
|
4485
4463
|
_id?: unknown;
|
|
4486
|
-
}
|
|
4464
|
+
}> | null | undefined;
|
|
4465
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4466
|
+
password: string;
|
|
4467
|
+
email: string;
|
|
4468
|
+
token: string;
|
|
4469
|
+
username: string;
|
|
4470
|
+
apiToken: string;
|
|
4487
4471
|
flags?: number | null | undefined;
|
|
4488
4472
|
connections?: {
|
|
4489
4473
|
discord?: {
|
|
@@ -4497,13 +4481,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4497
4481
|
verified?: boolean | null | undefined;
|
|
4498
4482
|
} | null | undefined;
|
|
4499
4483
|
} | null | undefined;
|
|
4500
|
-
|
|
4501
|
-
password: string;
|
|
4502
|
-
email: string;
|
|
4503
|
-
token: string;
|
|
4504
|
-
username: string;
|
|
4505
|
-
apiToken: string;
|
|
4506
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4484
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4507
4485
|
id: import("mongoose").Types.ObjectId;
|
|
4508
4486
|
scopes: number;
|
|
4509
4487
|
token: string;
|
|
@@ -4518,7 +4496,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4518
4496
|
scopes: number;
|
|
4519
4497
|
token: string;
|
|
4520
4498
|
_id?: unknown;
|
|
4521
|
-
}
|
|
4499
|
+
}> | null | undefined;
|
|
4500
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4501
|
+
password: string;
|
|
4502
|
+
email: string;
|
|
4503
|
+
token: string;
|
|
4504
|
+
username: string;
|
|
4505
|
+
apiToken: string;
|
|
4522
4506
|
flags?: number | null | undefined;
|
|
4523
4507
|
connections?: {
|
|
4524
4508
|
discord?: {
|
|
@@ -4532,17 +4516,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4532
4516
|
verified?: boolean | null | undefined;
|
|
4533
4517
|
} | null | undefined;
|
|
4534
4518
|
} | null | undefined;
|
|
4535
|
-
|
|
4536
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4537
|
-
} & {
|
|
4538
|
-
__v: number;
|
|
4539
|
-
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4540
|
-
password: string;
|
|
4541
|
-
email: string;
|
|
4542
|
-
token: string;
|
|
4543
|
-
username: string;
|
|
4544
|
-
apiToken: string;
|
|
4545
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4519
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4546
4520
|
id: import("mongoose").Types.ObjectId;
|
|
4547
4521
|
scopes: number;
|
|
4548
4522
|
token: string;
|
|
@@ -4557,7 +4531,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4557
4531
|
scopes: number;
|
|
4558
4532
|
token: string;
|
|
4559
4533
|
_id?: unknown;
|
|
4560
|
-
}
|
|
4534
|
+
}> | null | undefined;
|
|
4535
|
+
}> & {
|
|
4536
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4537
|
+
} & {
|
|
4538
|
+
__v: number;
|
|
4539
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4540
|
+
password: string;
|
|
4541
|
+
email: string;
|
|
4542
|
+
token: string;
|
|
4543
|
+
username: string;
|
|
4544
|
+
apiToken: string;
|
|
4561
4545
|
flags?: number | null | undefined;
|
|
4562
4546
|
connections?: {
|
|
4563
4547
|
discord?: {
|
|
@@ -4571,13 +4555,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4571
4555
|
verified?: boolean | null | undefined;
|
|
4572
4556
|
} | null | undefined;
|
|
4573
4557
|
} | null | undefined;
|
|
4574
|
-
|
|
4575
|
-
password: string;
|
|
4576
|
-
email: string;
|
|
4577
|
-
token: string;
|
|
4578
|
-
username: string;
|
|
4579
|
-
apiToken: string;
|
|
4580
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4558
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4581
4559
|
id: import("mongoose").Types.ObjectId;
|
|
4582
4560
|
scopes: number;
|
|
4583
4561
|
token: string;
|
|
@@ -4592,7 +4570,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4592
4570
|
scopes: number;
|
|
4593
4571
|
token: string;
|
|
4594
4572
|
_id?: unknown;
|
|
4595
|
-
}
|
|
4573
|
+
}> | null | undefined;
|
|
4574
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4575
|
+
password: string;
|
|
4576
|
+
email: string;
|
|
4577
|
+
token: string;
|
|
4578
|
+
username: string;
|
|
4579
|
+
apiToken: string;
|
|
4596
4580
|
flags?: number | null | undefined;
|
|
4597
4581
|
connections?: {
|
|
4598
4582
|
discord?: {
|
|
@@ -4606,18 +4590,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4606
4590
|
verified?: boolean | null | undefined;
|
|
4607
4591
|
} | null | undefined;
|
|
4608
4592
|
} | null | undefined;
|
|
4609
|
-
|
|
4610
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4611
|
-
} & {
|
|
4612
|
-
__v: number;
|
|
4613
|
-
}) | null>;
|
|
4614
|
-
findByAPIToken(this: import("mongoose").Model<{
|
|
4615
|
-
password: string;
|
|
4616
|
-
email: string;
|
|
4617
|
-
token: string;
|
|
4618
|
-
username: string;
|
|
4619
|
-
apiToken: string;
|
|
4620
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4593
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4621
4594
|
id: import("mongoose").Types.ObjectId;
|
|
4622
4595
|
scopes: number;
|
|
4623
4596
|
token: string;
|
|
@@ -4632,7 +4605,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4632
4605
|
scopes: number;
|
|
4633
4606
|
token: string;
|
|
4634
4607
|
_id?: unknown;
|
|
4635
|
-
}
|
|
4608
|
+
}> | null | undefined;
|
|
4609
|
+
}> & {
|
|
4610
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4611
|
+
} & {
|
|
4612
|
+
__v: number;
|
|
4613
|
+
}) | null>;
|
|
4614
|
+
findByAPIToken(this: import("mongoose").Model<{
|
|
4615
|
+
password: string;
|
|
4616
|
+
email: string;
|
|
4617
|
+
token: string;
|
|
4618
|
+
username: string;
|
|
4619
|
+
apiToken: string;
|
|
4636
4620
|
flags?: number | null | undefined;
|
|
4637
4621
|
connections?: {
|
|
4638
4622
|
discord?: {
|
|
@@ -4646,13 +4630,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4646
4630
|
verified?: boolean | null | undefined;
|
|
4647
4631
|
} | null | undefined;
|
|
4648
4632
|
} | null | undefined;
|
|
4649
|
-
|
|
4650
|
-
password: string;
|
|
4651
|
-
email: string;
|
|
4652
|
-
token: string;
|
|
4653
|
-
username: string;
|
|
4654
|
-
apiToken: string;
|
|
4655
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4633
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4656
4634
|
id: import("mongoose").Types.ObjectId;
|
|
4657
4635
|
scopes: number;
|
|
4658
4636
|
token: string;
|
|
@@ -4667,7 +4645,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4667
4645
|
scopes: number;
|
|
4668
4646
|
token: string;
|
|
4669
4647
|
_id?: unknown;
|
|
4670
|
-
}
|
|
4648
|
+
}> | null | undefined;
|
|
4649
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4650
|
+
password: string;
|
|
4651
|
+
email: string;
|
|
4652
|
+
token: string;
|
|
4653
|
+
username: string;
|
|
4654
|
+
apiToken: string;
|
|
4671
4655
|
flags?: number | null | undefined;
|
|
4672
4656
|
connections?: {
|
|
4673
4657
|
discord?: {
|
|
@@ -4681,13 +4665,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4681
4665
|
verified?: boolean | null | undefined;
|
|
4682
4666
|
} | null | undefined;
|
|
4683
4667
|
} | null | undefined;
|
|
4684
|
-
|
|
4685
|
-
password: string;
|
|
4686
|
-
email: string;
|
|
4687
|
-
token: string;
|
|
4688
|
-
username: string;
|
|
4689
|
-
apiToken: string;
|
|
4690
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4668
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4691
4669
|
id: import("mongoose").Types.ObjectId;
|
|
4692
4670
|
scopes: number;
|
|
4693
4671
|
token: string;
|
|
@@ -4702,7 +4680,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4702
4680
|
scopes: number;
|
|
4703
4681
|
token: string;
|
|
4704
4682
|
_id?: unknown;
|
|
4705
|
-
}
|
|
4683
|
+
}> | null | undefined;
|
|
4684
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4685
|
+
password: string;
|
|
4686
|
+
email: string;
|
|
4687
|
+
token: string;
|
|
4688
|
+
username: string;
|
|
4689
|
+
apiToken: string;
|
|
4706
4690
|
flags?: number | null | undefined;
|
|
4707
4691
|
connections?: {
|
|
4708
4692
|
discord?: {
|
|
@@ -4716,17 +4700,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4716
4700
|
verified?: boolean | null | undefined;
|
|
4717
4701
|
} | null | undefined;
|
|
4718
4702
|
} | null | undefined;
|
|
4719
|
-
|
|
4720
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4721
|
-
} & {
|
|
4722
|
-
__v: number;
|
|
4723
|
-
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4724
|
-
password: string;
|
|
4725
|
-
email: string;
|
|
4726
|
-
token: string;
|
|
4727
|
-
username: string;
|
|
4728
|
-
apiToken: string;
|
|
4729
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4703
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4730
4704
|
id: import("mongoose").Types.ObjectId;
|
|
4731
4705
|
scopes: number;
|
|
4732
4706
|
token: string;
|
|
@@ -4741,7 +4715,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4741
4715
|
scopes: number;
|
|
4742
4716
|
token: string;
|
|
4743
4717
|
_id?: unknown;
|
|
4744
|
-
}
|
|
4718
|
+
}> | null | undefined;
|
|
4719
|
+
}> & {
|
|
4720
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4721
|
+
} & {
|
|
4722
|
+
__v: number;
|
|
4723
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4724
|
+
password: string;
|
|
4725
|
+
email: string;
|
|
4726
|
+
token: string;
|
|
4727
|
+
username: string;
|
|
4728
|
+
apiToken: string;
|
|
4745
4729
|
flags?: number | null | undefined;
|
|
4746
4730
|
connections?: {
|
|
4747
4731
|
discord?: {
|
|
@@ -4755,13 +4739,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4755
4739
|
verified?: boolean | null | undefined;
|
|
4756
4740
|
} | null | undefined;
|
|
4757
4741
|
} | null | undefined;
|
|
4758
|
-
|
|
4759
|
-
password: string;
|
|
4760
|
-
email: string;
|
|
4761
|
-
token: string;
|
|
4762
|
-
username: string;
|
|
4763
|
-
apiToken: string;
|
|
4764
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4742
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4765
4743
|
id: import("mongoose").Types.ObjectId;
|
|
4766
4744
|
scopes: number;
|
|
4767
4745
|
token: string;
|
|
@@ -4776,7 +4754,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4776
4754
|
scopes: number;
|
|
4777
4755
|
token: string;
|
|
4778
4756
|
_id?: unknown;
|
|
4779
|
-
}
|
|
4757
|
+
}> | null | undefined;
|
|
4758
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4759
|
+
password: string;
|
|
4760
|
+
email: string;
|
|
4761
|
+
token: string;
|
|
4762
|
+
username: string;
|
|
4763
|
+
apiToken: string;
|
|
4780
4764
|
flags?: number | null | undefined;
|
|
4781
4765
|
connections?: {
|
|
4782
4766
|
discord?: {
|
|
@@ -4790,18 +4774,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4790
4774
|
verified?: boolean | null | undefined;
|
|
4791
4775
|
} | null | undefined;
|
|
4792
4776
|
} | null | undefined;
|
|
4793
|
-
|
|
4794
|
-
_id: import("mongoose").Types.ObjectId;
|
|
4795
|
-
} & {
|
|
4796
|
-
__v: number;
|
|
4797
|
-
}) | null>;
|
|
4798
|
-
findByAccessToken(this: import("mongoose").Model<{
|
|
4799
|
-
password: string;
|
|
4800
|
-
email: string;
|
|
4801
|
-
token: string;
|
|
4802
|
-
username: string;
|
|
4803
|
-
apiToken: string;
|
|
4804
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4777
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4805
4778
|
id: import("mongoose").Types.ObjectId;
|
|
4806
4779
|
scopes: number;
|
|
4807
4780
|
token: string;
|
|
@@ -4816,7 +4789,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4816
4789
|
scopes: number;
|
|
4817
4790
|
token: string;
|
|
4818
4791
|
_id?: unknown;
|
|
4819
|
-
}
|
|
4792
|
+
}> | null | undefined;
|
|
4793
|
+
}> & {
|
|
4794
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4795
|
+
} & {
|
|
4796
|
+
__v: number;
|
|
4797
|
+
}) | null>;
|
|
4798
|
+
findByAccessToken(this: import("mongoose").Model<{
|
|
4799
|
+
password: string;
|
|
4800
|
+
email: string;
|
|
4801
|
+
token: string;
|
|
4802
|
+
username: string;
|
|
4803
|
+
apiToken: string;
|
|
4820
4804
|
flags?: number | null | undefined;
|
|
4821
4805
|
connections?: {
|
|
4822
4806
|
discord?: {
|
|
@@ -4830,13 +4814,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4830
4814
|
verified?: boolean | null | undefined;
|
|
4831
4815
|
} | null | undefined;
|
|
4832
4816
|
} | null | undefined;
|
|
4833
|
-
|
|
4834
|
-
password: string;
|
|
4835
|
-
email: string;
|
|
4836
|
-
token: string;
|
|
4837
|
-
username: string;
|
|
4838
|
-
apiToken: string;
|
|
4839
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4817
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4840
4818
|
id: import("mongoose").Types.ObjectId;
|
|
4841
4819
|
scopes: number;
|
|
4842
4820
|
token: string;
|
|
@@ -4851,7 +4829,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4851
4829
|
scopes: number;
|
|
4852
4830
|
token: string;
|
|
4853
4831
|
_id?: unknown;
|
|
4854
|
-
}
|
|
4832
|
+
}> | null | undefined;
|
|
4833
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4834
|
+
password: string;
|
|
4835
|
+
email: string;
|
|
4836
|
+
token: string;
|
|
4837
|
+
username: string;
|
|
4838
|
+
apiToken: string;
|
|
4855
4839
|
flags?: number | null | undefined;
|
|
4856
4840
|
connections?: {
|
|
4857
4841
|
discord?: {
|
|
@@ -4865,13 +4849,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4865
4849
|
verified?: boolean | null | undefined;
|
|
4866
4850
|
} | null | undefined;
|
|
4867
4851
|
} | null | undefined;
|
|
4868
|
-
|
|
4869
|
-
password: string;
|
|
4870
|
-
email: string;
|
|
4871
|
-
token: string;
|
|
4872
|
-
username: string;
|
|
4873
|
-
apiToken: string;
|
|
4874
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4852
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4875
4853
|
id: import("mongoose").Types.ObjectId;
|
|
4876
4854
|
scopes: number;
|
|
4877
4855
|
token: string;
|
|
@@ -4886,7 +4864,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4886
4864
|
scopes: number;
|
|
4887
4865
|
token: string;
|
|
4888
4866
|
_id?: unknown;
|
|
4889
|
-
}
|
|
4867
|
+
}> | null | undefined;
|
|
4868
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4869
|
+
password: string;
|
|
4870
|
+
email: string;
|
|
4871
|
+
token: string;
|
|
4872
|
+
username: string;
|
|
4873
|
+
apiToken: string;
|
|
4890
4874
|
flags?: number | null | undefined;
|
|
4891
4875
|
connections?: {
|
|
4892
4876
|
discord?: {
|
|
@@ -4900,6 +4884,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4900
4884
|
verified?: boolean | null | undefined;
|
|
4901
4885
|
} | null | undefined;
|
|
4902
4886
|
} | null | undefined;
|
|
4887
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4888
|
+
id: import("mongoose").Types.ObjectId;
|
|
4889
|
+
scopes: number;
|
|
4890
|
+
token: string;
|
|
4891
|
+
_id?: unknown;
|
|
4892
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4893
|
+
id: import("mongoose").Types.ObjectId;
|
|
4894
|
+
scopes: number;
|
|
4895
|
+
token: string;
|
|
4896
|
+
_id?: unknown;
|
|
4897
|
+
}> & {
|
|
4898
|
+
id: import("mongoose").Types.ObjectId;
|
|
4899
|
+
scopes: number;
|
|
4900
|
+
token: string;
|
|
4901
|
+
_id?: unknown;
|
|
4902
|
+
}> | null | undefined;
|
|
4903
4903
|
}> & {
|
|
4904
4904
|
_id: import("mongoose").Types.ObjectId;
|
|
4905
4905
|
} & {
|
|
@@ -4911,7 +4911,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4911
4911
|
token: string;
|
|
4912
4912
|
username: string;
|
|
4913
4913
|
apiToken: string;
|
|
4914
|
-
|
|
4914
|
+
flags?: number | null | undefined;
|
|
4915
|
+
connections?: {
|
|
4916
|
+
discord?: {
|
|
4917
|
+
id?: string | null | undefined;
|
|
4918
|
+
username?: string | null | undefined;
|
|
4919
|
+
verified?: boolean | null | undefined;
|
|
4920
|
+
} | null | undefined;
|
|
4921
|
+
epic?: {
|
|
4922
|
+
id?: string | null | undefined;
|
|
4923
|
+
username?: string | null | undefined;
|
|
4924
|
+
verified?: boolean | null | undefined;
|
|
4925
|
+
} | null | undefined;
|
|
4926
|
+
} | null | undefined;
|
|
4927
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4915
4928
|
id: import("mongoose").Types.ObjectId;
|
|
4916
4929
|
scopes: number;
|
|
4917
4930
|
token: string;
|
|
@@ -4926,7 +4939,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4926
4939
|
scopes: number;
|
|
4927
4940
|
token: string;
|
|
4928
4941
|
_id?: unknown;
|
|
4929
|
-
}
|
|
4942
|
+
}> | null | undefined;
|
|
4943
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4944
|
+
password: string;
|
|
4945
|
+
email: string;
|
|
4946
|
+
token: string;
|
|
4947
|
+
username: string;
|
|
4948
|
+
apiToken: string;
|
|
4930
4949
|
flags?: number | null | undefined;
|
|
4931
4950
|
connections?: {
|
|
4932
4951
|
discord?: {
|
|
@@ -4940,13 +4959,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4940
4959
|
verified?: boolean | null | undefined;
|
|
4941
4960
|
} | null | undefined;
|
|
4942
4961
|
} | null | undefined;
|
|
4943
|
-
|
|
4944
|
-
password: string;
|
|
4945
|
-
email: string;
|
|
4946
|
-
token: string;
|
|
4947
|
-
username: string;
|
|
4948
|
-
apiToken: string;
|
|
4949
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4962
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4950
4963
|
id: import("mongoose").Types.ObjectId;
|
|
4951
4964
|
scopes: number;
|
|
4952
4965
|
token: string;
|
|
@@ -4961,20 +4974,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4961
4974
|
scopes: number;
|
|
4962
4975
|
token: string;
|
|
4963
4976
|
_id?: unknown;
|
|
4964
|
-
}
|
|
4965
|
-
flags?: number | null | undefined;
|
|
4966
|
-
connections?: {
|
|
4967
|
-
discord?: {
|
|
4968
|
-
id?: string | null | undefined;
|
|
4969
|
-
username?: string | null | undefined;
|
|
4970
|
-
verified?: boolean | null | undefined;
|
|
4971
|
-
} | null | undefined;
|
|
4972
|
-
epic?: {
|
|
4973
|
-
id?: string | null | undefined;
|
|
4974
|
-
username?: string | null | undefined;
|
|
4975
|
-
verified?: boolean | null | undefined;
|
|
4976
|
-
} | null | undefined;
|
|
4977
|
-
} | null | undefined;
|
|
4977
|
+
}> | null | undefined;
|
|
4978
4978
|
}> & {
|
|
4979
4979
|
_id: import("mongoose").Types.ObjectId;
|
|
4980
4980
|
} & {
|
|
@@ -4999,7 +4999,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4999
4999
|
token: string;
|
|
5000
5000
|
username: string;
|
|
5001
5001
|
apiToken: string;
|
|
5002
|
-
|
|
5002
|
+
flags?: number | null | undefined;
|
|
5003
|
+
connections?: {
|
|
5004
|
+
discord?: {
|
|
5005
|
+
id?: string | null | undefined;
|
|
5006
|
+
username?: string | null | undefined;
|
|
5007
|
+
verified?: boolean | null | undefined;
|
|
5008
|
+
} | null | undefined;
|
|
5009
|
+
epic?: {
|
|
5010
|
+
id?: string | null | undefined;
|
|
5011
|
+
username?: string | null | undefined;
|
|
5012
|
+
verified?: boolean | null | undefined;
|
|
5013
|
+
} | null | undefined;
|
|
5014
|
+
} | null | undefined;
|
|
5015
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5003
5016
|
id: import("mongoose").Types.ObjectId;
|
|
5004
5017
|
scopes: number;
|
|
5005
5018
|
token: string;
|
|
@@ -5014,7 +5027,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5014
5027
|
scopes: number;
|
|
5015
5028
|
token: string;
|
|
5016
5029
|
_id?: unknown;
|
|
5017
|
-
}
|
|
5030
|
+
}> | null | undefined;
|
|
5031
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5032
|
+
password: string;
|
|
5033
|
+
email: string;
|
|
5034
|
+
token: string;
|
|
5035
|
+
username: string;
|
|
5036
|
+
apiToken: string;
|
|
5018
5037
|
flags?: number | null | undefined;
|
|
5019
5038
|
connections?: {
|
|
5020
5039
|
discord?: {
|
|
@@ -5028,13 +5047,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5028
5047
|
verified?: boolean | null | undefined;
|
|
5029
5048
|
} | null | undefined;
|
|
5030
5049
|
} | null | undefined;
|
|
5031
|
-
|
|
5032
|
-
password: string;
|
|
5033
|
-
email: string;
|
|
5034
|
-
token: string;
|
|
5035
|
-
username: string;
|
|
5036
|
-
apiToken: string;
|
|
5037
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5050
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5038
5051
|
id: import("mongoose").Types.ObjectId;
|
|
5039
5052
|
scopes: number;
|
|
5040
5053
|
token: string;
|
|
@@ -5049,7 +5062,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5049
5062
|
scopes: number;
|
|
5050
5063
|
token: string;
|
|
5051
5064
|
_id?: unknown;
|
|
5052
|
-
}
|
|
5065
|
+
}> | null | undefined;
|
|
5066
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5067
|
+
password: string;
|
|
5068
|
+
email: string;
|
|
5069
|
+
token: string;
|
|
5070
|
+
username: string;
|
|
5071
|
+
apiToken: string;
|
|
5053
5072
|
flags?: number | null | undefined;
|
|
5054
5073
|
connections?: {
|
|
5055
5074
|
discord?: {
|
|
@@ -5063,13 +5082,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5063
5082
|
verified?: boolean | null | undefined;
|
|
5064
5083
|
} | null | undefined;
|
|
5065
5084
|
} | null | undefined;
|
|
5066
|
-
|
|
5067
|
-
password: string;
|
|
5068
|
-
email: string;
|
|
5069
|
-
token: string;
|
|
5070
|
-
username: string;
|
|
5071
|
-
apiToken: string;
|
|
5072
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5085
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5073
5086
|
id: import("mongoose").Types.ObjectId;
|
|
5074
5087
|
scopes: number;
|
|
5075
5088
|
token: string;
|
|
@@ -5084,20 +5097,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5084
5097
|
scopes: number;
|
|
5085
5098
|
token: string;
|
|
5086
5099
|
_id?: unknown;
|
|
5087
|
-
}
|
|
5088
|
-
flags?: number | null | undefined;
|
|
5089
|
-
connections?: {
|
|
5090
|
-
discord?: {
|
|
5091
|
-
id?: string | null | undefined;
|
|
5092
|
-
username?: string | null | undefined;
|
|
5093
|
-
verified?: boolean | null | undefined;
|
|
5094
|
-
} | null | undefined;
|
|
5095
|
-
epic?: {
|
|
5096
|
-
id?: string | null | undefined;
|
|
5097
|
-
username?: string | null | undefined;
|
|
5098
|
-
verified?: boolean | null | undefined;
|
|
5099
|
-
} | null | undefined;
|
|
5100
|
-
} | null | undefined;
|
|
5100
|
+
}> | null | undefined;
|
|
5101
5101
|
}> & {
|
|
5102
5102
|
_id: import("mongoose").Types.ObjectId;
|
|
5103
5103
|
} & {
|
|
@@ -5109,7 +5109,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5109
5109
|
token: string;
|
|
5110
5110
|
username: string;
|
|
5111
5111
|
apiToken: string;
|
|
5112
|
-
|
|
5112
|
+
flags?: number | null | undefined;
|
|
5113
|
+
connections?: {
|
|
5114
|
+
discord?: {
|
|
5115
|
+
id?: string | null | undefined;
|
|
5116
|
+
username?: string | null | undefined;
|
|
5117
|
+
verified?: boolean | null | undefined;
|
|
5118
|
+
} | null | undefined;
|
|
5119
|
+
epic?: {
|
|
5120
|
+
id?: string | null | undefined;
|
|
5121
|
+
username?: string | null | undefined;
|
|
5122
|
+
verified?: boolean | null | undefined;
|
|
5123
|
+
} | null | undefined;
|
|
5124
|
+
} | null | undefined;
|
|
5125
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5113
5126
|
id: import("mongoose").Types.ObjectId;
|
|
5114
5127
|
scopes: number;
|
|
5115
5128
|
token: string;
|
|
@@ -5124,7 +5137,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5124
5137
|
scopes: number;
|
|
5125
5138
|
token: string;
|
|
5126
5139
|
_id?: unknown;
|
|
5127
|
-
}
|
|
5140
|
+
}> | null | undefined;
|
|
5141
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5142
|
+
password: string;
|
|
5143
|
+
email: string;
|
|
5144
|
+
token: string;
|
|
5145
|
+
username: string;
|
|
5146
|
+
apiToken: string;
|
|
5128
5147
|
flags?: number | null | undefined;
|
|
5129
5148
|
connections?: {
|
|
5130
5149
|
discord?: {
|
|
@@ -5138,13 +5157,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5138
5157
|
verified?: boolean | null | undefined;
|
|
5139
5158
|
} | null | undefined;
|
|
5140
5159
|
} | null | undefined;
|
|
5141
|
-
|
|
5142
|
-
password: string;
|
|
5143
|
-
email: string;
|
|
5144
|
-
token: string;
|
|
5145
|
-
username: string;
|
|
5146
|
-
apiToken: string;
|
|
5147
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5160
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5148
5161
|
id: import("mongoose").Types.ObjectId;
|
|
5149
5162
|
scopes: number;
|
|
5150
5163
|
token: string;
|
|
@@ -5159,7 +5172,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5159
5172
|
scopes: number;
|
|
5160
5173
|
token: string;
|
|
5161
5174
|
_id?: unknown;
|
|
5162
|
-
}
|
|
5175
|
+
}> | null | undefined;
|
|
5176
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5177
|
+
password: string;
|
|
5178
|
+
email: string;
|
|
5179
|
+
token: string;
|
|
5180
|
+
username: string;
|
|
5181
|
+
apiToken: string;
|
|
5163
5182
|
flags?: number | null | undefined;
|
|
5164
5183
|
connections?: {
|
|
5165
5184
|
discord?: {
|
|
@@ -5173,13 +5192,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5173
5192
|
verified?: boolean | null | undefined;
|
|
5174
5193
|
} | null | undefined;
|
|
5175
5194
|
} | null | undefined;
|
|
5176
|
-
|
|
5177
|
-
password: string;
|
|
5178
|
-
email: string;
|
|
5179
|
-
token: string;
|
|
5180
|
-
username: string;
|
|
5181
|
-
apiToken: string;
|
|
5182
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5195
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5183
5196
|
id: import("mongoose").Types.ObjectId;
|
|
5184
5197
|
scopes: number;
|
|
5185
5198
|
token: string;
|
|
@@ -5194,7 +5207,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5194
5207
|
scopes: number;
|
|
5195
5208
|
token: string;
|
|
5196
5209
|
_id?: unknown;
|
|
5197
|
-
}
|
|
5210
|
+
}> | null | undefined;
|
|
5211
|
+
}> & {
|
|
5212
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5213
|
+
} & {
|
|
5214
|
+
__v: number;
|
|
5215
|
+
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
5216
|
+
findByToken: (this: import("mongoose").Model<{
|
|
5217
|
+
password: string;
|
|
5218
|
+
email: string;
|
|
5219
|
+
token: string;
|
|
5220
|
+
username: string;
|
|
5221
|
+
apiToken: string;
|
|
5198
5222
|
flags?: number | null | undefined;
|
|
5199
5223
|
connections?: {
|
|
5200
5224
|
discord?: {
|
|
@@ -5208,18 +5232,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5208
5232
|
verified?: boolean | null | undefined;
|
|
5209
5233
|
} | null | undefined;
|
|
5210
5234
|
} | null | undefined;
|
|
5211
|
-
|
|
5212
|
-
_id: import("mongoose").Types.ObjectId;
|
|
5213
|
-
} & {
|
|
5214
|
-
__v: number;
|
|
5215
|
-
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
5216
|
-
findByToken: (this: import("mongoose").Model<{
|
|
5217
|
-
password: string;
|
|
5218
|
-
email: string;
|
|
5219
|
-
token: string;
|
|
5220
|
-
username: string;
|
|
5221
|
-
apiToken: string;
|
|
5222
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5235
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5223
5236
|
id: import("mongoose").Types.ObjectId;
|
|
5224
5237
|
scopes: number;
|
|
5225
5238
|
token: string;
|
|
@@ -5234,7 +5247,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5234
5247
|
scopes: number;
|
|
5235
5248
|
token: string;
|
|
5236
5249
|
_id?: unknown;
|
|
5237
|
-
}
|
|
5250
|
+
}> | null | undefined;
|
|
5251
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5252
|
+
password: string;
|
|
5253
|
+
email: string;
|
|
5254
|
+
token: string;
|
|
5255
|
+
username: string;
|
|
5256
|
+
apiToken: string;
|
|
5238
5257
|
flags?: number | null | undefined;
|
|
5239
5258
|
connections?: {
|
|
5240
5259
|
discord?: {
|
|
@@ -5248,13 +5267,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5248
5267
|
verified?: boolean | null | undefined;
|
|
5249
5268
|
} | null | undefined;
|
|
5250
5269
|
} | null | undefined;
|
|
5251
|
-
|
|
5252
|
-
password: string;
|
|
5253
|
-
email: string;
|
|
5254
|
-
token: string;
|
|
5255
|
-
username: string;
|
|
5256
|
-
apiToken: string;
|
|
5257
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5270
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5258
5271
|
id: import("mongoose").Types.ObjectId;
|
|
5259
5272
|
scopes: number;
|
|
5260
5273
|
token: string;
|
|
@@ -5269,7 +5282,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5269
5282
|
scopes: number;
|
|
5270
5283
|
token: string;
|
|
5271
5284
|
_id?: unknown;
|
|
5272
|
-
}
|
|
5285
|
+
}> | null | undefined;
|
|
5286
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5287
|
+
password: string;
|
|
5288
|
+
email: string;
|
|
5289
|
+
token: string;
|
|
5290
|
+
username: string;
|
|
5291
|
+
apiToken: string;
|
|
5273
5292
|
flags?: number | null | undefined;
|
|
5274
5293
|
connections?: {
|
|
5275
5294
|
discord?: {
|
|
@@ -5283,13 +5302,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5283
5302
|
verified?: boolean | null | undefined;
|
|
5284
5303
|
} | null | undefined;
|
|
5285
5304
|
} | null | undefined;
|
|
5286
|
-
|
|
5287
|
-
password: string;
|
|
5288
|
-
email: string;
|
|
5289
|
-
token: string;
|
|
5290
|
-
username: string;
|
|
5291
|
-
apiToken: string;
|
|
5292
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5305
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5293
5306
|
id: import("mongoose").Types.ObjectId;
|
|
5294
5307
|
scopes: number;
|
|
5295
5308
|
token: string;
|
|
@@ -5304,7 +5317,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5304
5317
|
scopes: number;
|
|
5305
5318
|
token: string;
|
|
5306
5319
|
_id?: unknown;
|
|
5307
|
-
}
|
|
5320
|
+
}> | null | undefined;
|
|
5321
|
+
}> & {
|
|
5322
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5323
|
+
} & {
|
|
5324
|
+
__v: number;
|
|
5325
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5326
|
+
password: string;
|
|
5327
|
+
email: string;
|
|
5328
|
+
token: string;
|
|
5329
|
+
username: string;
|
|
5330
|
+
apiToken: string;
|
|
5308
5331
|
flags?: number | null | undefined;
|
|
5309
5332
|
connections?: {
|
|
5310
5333
|
discord?: {
|
|
@@ -5318,17 +5341,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5318
5341
|
verified?: boolean | null | undefined;
|
|
5319
5342
|
} | null | undefined;
|
|
5320
5343
|
} | null | undefined;
|
|
5321
|
-
|
|
5322
|
-
_id: import("mongoose").Types.ObjectId;
|
|
5323
|
-
} & {
|
|
5324
|
-
__v: number;
|
|
5325
|
-
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5326
|
-
password: string;
|
|
5327
|
-
email: string;
|
|
5328
|
-
token: string;
|
|
5329
|
-
username: string;
|
|
5330
|
-
apiToken: string;
|
|
5331
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5344
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5332
5345
|
id: import("mongoose").Types.ObjectId;
|
|
5333
5346
|
scopes: number;
|
|
5334
5347
|
token: string;
|
|
@@ -5343,7 +5356,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5343
5356
|
scopes: number;
|
|
5344
5357
|
token: string;
|
|
5345
5358
|
_id?: unknown;
|
|
5346
|
-
}
|
|
5359
|
+
}> | null | undefined;
|
|
5360
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5361
|
+
password: string;
|
|
5362
|
+
email: string;
|
|
5363
|
+
token: string;
|
|
5364
|
+
username: string;
|
|
5365
|
+
apiToken: string;
|
|
5347
5366
|
flags?: number | null | undefined;
|
|
5348
5367
|
connections?: {
|
|
5349
5368
|
discord?: {
|
|
@@ -5357,13 +5376,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5357
5376
|
verified?: boolean | null | undefined;
|
|
5358
5377
|
} | null | undefined;
|
|
5359
5378
|
} | null | undefined;
|
|
5360
|
-
|
|
5361
|
-
password: string;
|
|
5362
|
-
email: string;
|
|
5363
|
-
token: string;
|
|
5364
|
-
username: string;
|
|
5365
|
-
apiToken: string;
|
|
5366
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5379
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5367
5380
|
id: import("mongoose").Types.ObjectId;
|
|
5368
5381
|
scopes: number;
|
|
5369
5382
|
token: string;
|
|
@@ -5378,7 +5391,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5378
5391
|
scopes: number;
|
|
5379
5392
|
token: string;
|
|
5380
5393
|
_id?: unknown;
|
|
5381
|
-
}
|
|
5394
|
+
}> | null | undefined;
|
|
5395
|
+
}> & {
|
|
5396
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5397
|
+
} & {
|
|
5398
|
+
__v: number;
|
|
5399
|
+
}) | null>;
|
|
5400
|
+
findByAPIToken: (this: import("mongoose").Model<{
|
|
5401
|
+
password: string;
|
|
5402
|
+
email: string;
|
|
5403
|
+
token: string;
|
|
5404
|
+
username: string;
|
|
5405
|
+
apiToken: string;
|
|
5382
5406
|
flags?: number | null | undefined;
|
|
5383
5407
|
connections?: {
|
|
5384
5408
|
discord?: {
|
|
@@ -5392,18 +5416,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5392
5416
|
verified?: boolean | null | undefined;
|
|
5393
5417
|
} | null | undefined;
|
|
5394
5418
|
} | null | undefined;
|
|
5395
|
-
|
|
5396
|
-
_id: import("mongoose").Types.ObjectId;
|
|
5397
|
-
} & {
|
|
5398
|
-
__v: number;
|
|
5399
|
-
}) | null>;
|
|
5400
|
-
findByAPIToken: (this: import("mongoose").Model<{
|
|
5401
|
-
password: string;
|
|
5402
|
-
email: string;
|
|
5403
|
-
token: string;
|
|
5404
|
-
username: string;
|
|
5405
|
-
apiToken: string;
|
|
5406
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5419
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5407
5420
|
id: import("mongoose").Types.ObjectId;
|
|
5408
5421
|
scopes: number;
|
|
5409
5422
|
token: string;
|
|
@@ -5418,7 +5431,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5418
5431
|
scopes: number;
|
|
5419
5432
|
token: string;
|
|
5420
5433
|
_id?: unknown;
|
|
5421
|
-
}
|
|
5434
|
+
}> | null | undefined;
|
|
5435
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5436
|
+
password: string;
|
|
5437
|
+
email: string;
|
|
5438
|
+
token: string;
|
|
5439
|
+
username: string;
|
|
5440
|
+
apiToken: string;
|
|
5422
5441
|
flags?: number | null | undefined;
|
|
5423
5442
|
connections?: {
|
|
5424
5443
|
discord?: {
|
|
@@ -5432,13 +5451,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5432
5451
|
verified?: boolean | null | undefined;
|
|
5433
5452
|
} | null | undefined;
|
|
5434
5453
|
} | null | undefined;
|
|
5435
|
-
|
|
5436
|
-
password: string;
|
|
5437
|
-
email: string;
|
|
5438
|
-
token: string;
|
|
5439
|
-
username: string;
|
|
5440
|
-
apiToken: string;
|
|
5441
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5454
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5442
5455
|
id: import("mongoose").Types.ObjectId;
|
|
5443
5456
|
scopes: number;
|
|
5444
5457
|
token: string;
|
|
@@ -5453,7 +5466,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5453
5466
|
scopes: number;
|
|
5454
5467
|
token: string;
|
|
5455
5468
|
_id?: unknown;
|
|
5456
|
-
}
|
|
5469
|
+
}> | null | undefined;
|
|
5470
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5471
|
+
password: string;
|
|
5472
|
+
email: string;
|
|
5473
|
+
token: string;
|
|
5474
|
+
username: string;
|
|
5475
|
+
apiToken: string;
|
|
5457
5476
|
flags?: number | null | undefined;
|
|
5458
5477
|
connections?: {
|
|
5459
5478
|
discord?: {
|
|
@@ -5467,13 +5486,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5467
5486
|
verified?: boolean | null | undefined;
|
|
5468
5487
|
} | null | undefined;
|
|
5469
5488
|
} | null | undefined;
|
|
5470
|
-
|
|
5471
|
-
password: string;
|
|
5472
|
-
email: string;
|
|
5473
|
-
token: string;
|
|
5474
|
-
username: string;
|
|
5475
|
-
apiToken: string;
|
|
5476
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5489
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5477
5490
|
id: import("mongoose").Types.ObjectId;
|
|
5478
5491
|
scopes: number;
|
|
5479
5492
|
token: string;
|
|
@@ -5488,7 +5501,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5488
5501
|
scopes: number;
|
|
5489
5502
|
token: string;
|
|
5490
5503
|
_id?: unknown;
|
|
5491
|
-
}
|
|
5504
|
+
}> | null | undefined;
|
|
5505
|
+
}> & {
|
|
5506
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5507
|
+
} & {
|
|
5508
|
+
__v: number;
|
|
5509
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5510
|
+
password: string;
|
|
5511
|
+
email: string;
|
|
5512
|
+
token: string;
|
|
5513
|
+
username: string;
|
|
5514
|
+
apiToken: string;
|
|
5492
5515
|
flags?: number | null | undefined;
|
|
5493
5516
|
connections?: {
|
|
5494
5517
|
discord?: {
|
|
@@ -5502,17 +5525,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5502
5525
|
verified?: boolean | null | undefined;
|
|
5503
5526
|
} | null | undefined;
|
|
5504
5527
|
} | null | undefined;
|
|
5505
|
-
|
|
5506
|
-
_id: import("mongoose").Types.ObjectId;
|
|
5507
|
-
} & {
|
|
5508
|
-
__v: number;
|
|
5509
|
-
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5510
|
-
password: string;
|
|
5511
|
-
email: string;
|
|
5512
|
-
token: string;
|
|
5513
|
-
username: string;
|
|
5514
|
-
apiToken: string;
|
|
5515
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5528
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5516
5529
|
id: import("mongoose").Types.ObjectId;
|
|
5517
5530
|
scopes: number;
|
|
5518
5531
|
token: string;
|
|
@@ -5527,7 +5540,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5527
5540
|
scopes: number;
|
|
5528
5541
|
token: string;
|
|
5529
5542
|
_id?: unknown;
|
|
5530
|
-
}
|
|
5543
|
+
}> | null | undefined;
|
|
5544
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5545
|
+
password: string;
|
|
5546
|
+
email: string;
|
|
5547
|
+
token: string;
|
|
5548
|
+
username: string;
|
|
5549
|
+
apiToken: string;
|
|
5531
5550
|
flags?: number | null | undefined;
|
|
5532
5551
|
connections?: {
|
|
5533
5552
|
discord?: {
|
|
@@ -5541,13 +5560,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5541
5560
|
verified?: boolean | null | undefined;
|
|
5542
5561
|
} | null | undefined;
|
|
5543
5562
|
} | null | undefined;
|
|
5544
|
-
|
|
5545
|
-
password: string;
|
|
5546
|
-
email: string;
|
|
5547
|
-
token: string;
|
|
5548
|
-
username: string;
|
|
5549
|
-
apiToken: string;
|
|
5550
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5563
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5551
5564
|
id: import("mongoose").Types.ObjectId;
|
|
5552
5565
|
scopes: number;
|
|
5553
5566
|
token: string;
|
|
@@ -5562,7 +5575,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5562
5575
|
scopes: number;
|
|
5563
5576
|
token: string;
|
|
5564
5577
|
_id?: unknown;
|
|
5565
|
-
}
|
|
5578
|
+
}> | null | undefined;
|
|
5579
|
+
}> & {
|
|
5580
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5581
|
+
} & {
|
|
5582
|
+
__v: number;
|
|
5583
|
+
}) | null>;
|
|
5584
|
+
findByAccessToken: (this: import("mongoose").Model<{
|
|
5585
|
+
password: string;
|
|
5586
|
+
email: string;
|
|
5587
|
+
token: string;
|
|
5588
|
+
username: string;
|
|
5589
|
+
apiToken: string;
|
|
5566
5590
|
flags?: number | null | undefined;
|
|
5567
5591
|
connections?: {
|
|
5568
5592
|
discord?: {
|
|
@@ -5576,18 +5600,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5576
5600
|
verified?: boolean | null | undefined;
|
|
5577
5601
|
} | null | undefined;
|
|
5578
5602
|
} | null | undefined;
|
|
5579
|
-
|
|
5580
|
-
_id: import("mongoose").Types.ObjectId;
|
|
5581
|
-
} & {
|
|
5582
|
-
__v: number;
|
|
5583
|
-
}) | null>;
|
|
5584
|
-
findByAccessToken: (this: import("mongoose").Model<{
|
|
5585
|
-
password: string;
|
|
5586
|
-
email: string;
|
|
5587
|
-
token: string;
|
|
5588
|
-
username: string;
|
|
5589
|
-
apiToken: string;
|
|
5590
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5603
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5591
5604
|
id: import("mongoose").Types.ObjectId;
|
|
5592
5605
|
scopes: number;
|
|
5593
5606
|
token: string;
|
|
@@ -5602,7 +5615,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5602
5615
|
scopes: number;
|
|
5603
5616
|
token: string;
|
|
5604
5617
|
_id?: unknown;
|
|
5605
|
-
}
|
|
5618
|
+
}> | null | undefined;
|
|
5619
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5620
|
+
password: string;
|
|
5621
|
+
email: string;
|
|
5622
|
+
token: string;
|
|
5623
|
+
username: string;
|
|
5624
|
+
apiToken: string;
|
|
5606
5625
|
flags?: number | null | undefined;
|
|
5607
5626
|
connections?: {
|
|
5608
5627
|
discord?: {
|
|
@@ -5616,13 +5635,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5616
5635
|
verified?: boolean | null | undefined;
|
|
5617
5636
|
} | null | undefined;
|
|
5618
5637
|
} | null | undefined;
|
|
5619
|
-
|
|
5620
|
-
password: string;
|
|
5621
|
-
email: string;
|
|
5622
|
-
token: string;
|
|
5623
|
-
username: string;
|
|
5624
|
-
apiToken: string;
|
|
5625
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5638
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5626
5639
|
id: import("mongoose").Types.ObjectId;
|
|
5627
5640
|
scopes: number;
|
|
5628
5641
|
token: string;
|
|
@@ -5637,7 +5650,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5637
5650
|
scopes: number;
|
|
5638
5651
|
token: string;
|
|
5639
5652
|
_id?: unknown;
|
|
5640
|
-
}
|
|
5653
|
+
}> | null | undefined;
|
|
5654
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5655
|
+
password: string;
|
|
5656
|
+
email: string;
|
|
5657
|
+
token: string;
|
|
5658
|
+
username: string;
|
|
5659
|
+
apiToken: string;
|
|
5641
5660
|
flags?: number | null | undefined;
|
|
5642
5661
|
connections?: {
|
|
5643
5662
|
discord?: {
|
|
@@ -5651,13 +5670,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5651
5670
|
verified?: boolean | null | undefined;
|
|
5652
5671
|
} | null | undefined;
|
|
5653
5672
|
} | null | undefined;
|
|
5654
|
-
|
|
5655
|
-
password: string;
|
|
5656
|
-
email: string;
|
|
5657
|
-
token: string;
|
|
5658
|
-
username: string;
|
|
5659
|
-
apiToken: string;
|
|
5660
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5673
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5661
5674
|
id: import("mongoose").Types.ObjectId;
|
|
5662
5675
|
scopes: number;
|
|
5663
5676
|
token: string;
|
|
@@ -5672,20 +5685,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5672
5685
|
scopes: number;
|
|
5673
5686
|
token: string;
|
|
5674
5687
|
_id?: unknown;
|
|
5675
|
-
}
|
|
5676
|
-
flags?: number | null | undefined;
|
|
5677
|
-
connections?: {
|
|
5678
|
-
discord?: {
|
|
5679
|
-
id?: string | null | undefined;
|
|
5680
|
-
username?: string | null | undefined;
|
|
5681
|
-
verified?: boolean | null | undefined;
|
|
5682
|
-
} | null | undefined;
|
|
5683
|
-
epic?: {
|
|
5684
|
-
id?: string | null | undefined;
|
|
5685
|
-
username?: string | null | undefined;
|
|
5686
|
-
verified?: boolean | null | undefined;
|
|
5687
|
-
} | null | undefined;
|
|
5688
|
-
} | null | undefined;
|
|
5688
|
+
}> | null | undefined;
|
|
5689
5689
|
}> & {
|
|
5690
5690
|
_id: import("mongoose").Types.ObjectId;
|
|
5691
5691
|
} & {
|
|
@@ -5697,7 +5697,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5697
5697
|
token: string;
|
|
5698
5698
|
username: string;
|
|
5699
5699
|
apiToken: string;
|
|
5700
|
-
|
|
5700
|
+
flags?: number | null | undefined;
|
|
5701
|
+
connections?: {
|
|
5702
|
+
discord?: {
|
|
5703
|
+
id?: string | null | undefined;
|
|
5704
|
+
username?: string | null | undefined;
|
|
5705
|
+
verified?: boolean | null | undefined;
|
|
5706
|
+
} | null | undefined;
|
|
5707
|
+
epic?: {
|
|
5708
|
+
id?: string | null | undefined;
|
|
5709
|
+
username?: string | null | undefined;
|
|
5710
|
+
verified?: boolean | null | undefined;
|
|
5711
|
+
} | null | undefined;
|
|
5712
|
+
} | null | undefined;
|
|
5713
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5701
5714
|
id: import("mongoose").Types.ObjectId;
|
|
5702
5715
|
scopes: number;
|
|
5703
5716
|
token: string;
|
|
@@ -5712,7 +5725,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5712
5725
|
scopes: number;
|
|
5713
5726
|
token: string;
|
|
5714
5727
|
_id?: unknown;
|
|
5715
|
-
}
|
|
5728
|
+
}> | null | undefined;
|
|
5729
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5730
|
+
password: string;
|
|
5731
|
+
email: string;
|
|
5732
|
+
token: string;
|
|
5733
|
+
username: string;
|
|
5734
|
+
apiToken: string;
|
|
5716
5735
|
flags?: number | null | undefined;
|
|
5717
5736
|
connections?: {
|
|
5718
5737
|
discord?: {
|
|
@@ -5726,13 +5745,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5726
5745
|
verified?: boolean | null | undefined;
|
|
5727
5746
|
} | null | undefined;
|
|
5728
5747
|
} | null | undefined;
|
|
5729
|
-
|
|
5730
|
-
password: string;
|
|
5731
|
-
email: string;
|
|
5732
|
-
token: string;
|
|
5733
|
-
username: string;
|
|
5734
|
-
apiToken: string;
|
|
5735
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5748
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5736
5749
|
id: import("mongoose").Types.ObjectId;
|
|
5737
5750
|
scopes: number;
|
|
5738
5751
|
token: string;
|
|
@@ -5747,20 +5760,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5747
5760
|
scopes: number;
|
|
5748
5761
|
token: string;
|
|
5749
5762
|
_id?: unknown;
|
|
5750
|
-
}
|
|
5751
|
-
flags?: number | null | undefined;
|
|
5752
|
-
connections?: {
|
|
5753
|
-
discord?: {
|
|
5754
|
-
id?: string | null | undefined;
|
|
5755
|
-
username?: string | null | undefined;
|
|
5756
|
-
verified?: boolean | null | undefined;
|
|
5757
|
-
} | null | undefined;
|
|
5758
|
-
epic?: {
|
|
5759
|
-
id?: string | null | undefined;
|
|
5760
|
-
username?: string | null | undefined;
|
|
5761
|
-
verified?: boolean | null | undefined;
|
|
5762
|
-
} | null | undefined;
|
|
5763
|
-
} | null | undefined;
|
|
5763
|
+
}> | null | undefined;
|
|
5764
5764
|
}> & {
|
|
5765
5765
|
_id: import("mongoose").Types.ObjectId;
|
|
5766
5766
|
} & {
|