@fnlb-project/database 1.0.60 → 1.0.62
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 +836 -830
- package/dist/index.js +398 -398
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
17
17
|
owner: import("mongoose").Types.ObjectId;
|
|
18
18
|
name: string;
|
|
19
19
|
secret: string;
|
|
20
|
+
icon?: string | null | undefined;
|
|
20
21
|
description?: string | null | undefined;
|
|
21
22
|
scopes?: number | null | undefined;
|
|
22
23
|
redirectUris?: string[] | null | undefined;
|
|
@@ -28,6 +29,7 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
28
29
|
owner: import("mongoose").Types.ObjectId;
|
|
29
30
|
name: string;
|
|
30
31
|
secret: string;
|
|
32
|
+
icon?: string | null | undefined;
|
|
31
33
|
description?: string | null | undefined;
|
|
32
34
|
scopes?: number | null | undefined;
|
|
33
35
|
redirectUris?: string[] | null | undefined;
|
|
@@ -39,6 +41,7 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
39
41
|
owner: import("mongoose").Types.ObjectId;
|
|
40
42
|
name: string;
|
|
41
43
|
secret: string;
|
|
44
|
+
icon?: string | null | undefined;
|
|
42
45
|
description?: string | null | undefined;
|
|
43
46
|
scopes?: number | null | undefined;
|
|
44
47
|
redirectUris?: string[] | null | undefined;
|
|
@@ -54,6 +57,7 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
54
57
|
owner: import("mongoose").Types.ObjectId;
|
|
55
58
|
name: string;
|
|
56
59
|
secret: string;
|
|
60
|
+
icon?: string | null | undefined;
|
|
57
61
|
description?: string | null | undefined;
|
|
58
62
|
scopes?: number | null | undefined;
|
|
59
63
|
redirectUris?: string[] | null | undefined;
|
|
@@ -65,6 +69,7 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
65
69
|
owner: import("mongoose").Types.ObjectId;
|
|
66
70
|
name: string;
|
|
67
71
|
secret: string;
|
|
72
|
+
icon?: string | null | undefined;
|
|
68
73
|
description?: string | null | undefined;
|
|
69
74
|
scopes?: number | null | undefined;
|
|
70
75
|
redirectUris?: string[] | null | undefined;
|
|
@@ -72,10 +77,11 @@ export declare const ApplicationModel: import("mongoose").Model<{
|
|
|
72
77
|
policyUri?: string | null | undefined;
|
|
73
78
|
installUri?: string | null | undefined;
|
|
74
79
|
flags?: number | null | undefined;
|
|
75
|
-
}>, {}, import("mongoose").
|
|
80
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
76
81
|
owner: import("mongoose").Types.ObjectId;
|
|
77
82
|
name: string;
|
|
78
83
|
secret: string;
|
|
84
|
+
icon?: string | null | undefined;
|
|
79
85
|
description?: string | null | undefined;
|
|
80
86
|
scopes?: number | null | undefined;
|
|
81
87
|
redirectUris?: string[] | null | undefined;
|
|
@@ -152,7 +158,7 @@ export declare const BotModel: import("mongoose").Model<{
|
|
|
152
158
|
parent?: import("mongoose").Types.ObjectId | null | undefined;
|
|
153
159
|
email?: string | null | undefined;
|
|
154
160
|
mmsBannedUntil?: number | null | undefined;
|
|
155
|
-
}>, {}, import("mongoose").
|
|
161
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
156
162
|
owner: import("mongoose").Types.ObjectId;
|
|
157
163
|
nickname: string;
|
|
158
164
|
deviceAuth: {
|
|
@@ -2288,7 +2294,7 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
2288
2294
|
_id?: unknown;
|
|
2289
2295
|
}> | null | undefined;
|
|
2290
2296
|
} | null | undefined;
|
|
2291
|
-
}>, {}, import("mongoose").
|
|
2297
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2292
2298
|
owner: import("mongoose").Types.ObjectId;
|
|
2293
2299
|
name: string;
|
|
2294
2300
|
flags?: number | null | undefined;
|
|
@@ -2735,7 +2741,7 @@ export declare const PresetModel: import("mongoose").Model<{
|
|
|
2735
2741
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2736
2742
|
owner: import("mongoose").Types.ObjectId;
|
|
2737
2743
|
name: string;
|
|
2738
|
-
}>, {}, import("mongoose").
|
|
2744
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2739
2745
|
owner: import("mongoose").Types.ObjectId;
|
|
2740
2746
|
name: string;
|
|
2741
2747
|
}> & {
|
|
@@ -2749,7 +2755,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2749
2755
|
token: string;
|
|
2750
2756
|
username: string;
|
|
2751
2757
|
apiToken: string;
|
|
2752
|
-
|
|
2758
|
+
flags?: number | null | undefined;
|
|
2759
|
+
connections?: {
|
|
2760
|
+
discord?: {
|
|
2761
|
+
id?: string | null | undefined;
|
|
2762
|
+
username?: string | null | undefined;
|
|
2763
|
+
verified?: boolean | null | undefined;
|
|
2764
|
+
} | null | undefined;
|
|
2765
|
+
epic?: {
|
|
2766
|
+
id?: string | null | undefined;
|
|
2767
|
+
username?: string | null | undefined;
|
|
2768
|
+
verified?: boolean | null | undefined;
|
|
2769
|
+
} | null | undefined;
|
|
2770
|
+
} | null | undefined;
|
|
2771
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2753
2772
|
id: import("mongoose").Types.ObjectId;
|
|
2754
2773
|
scopes: number;
|
|
2755
2774
|
token: string;
|
|
@@ -2764,7 +2783,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2764
2783
|
scopes: number;
|
|
2765
2784
|
token: string;
|
|
2766
2785
|
_id?: unknown;
|
|
2767
|
-
}
|
|
2786
|
+
}> | null | undefined;
|
|
2787
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
2788
|
+
password: string;
|
|
2789
|
+
email: string;
|
|
2790
|
+
token: string;
|
|
2791
|
+
username: string;
|
|
2792
|
+
apiToken: string;
|
|
2768
2793
|
flags?: number | null | undefined;
|
|
2769
2794
|
connections?: {
|
|
2770
2795
|
discord?: {
|
|
@@ -2778,13 +2803,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2778
2803
|
verified?: boolean | null | undefined;
|
|
2779
2804
|
} | null | undefined;
|
|
2780
2805
|
} | null | undefined;
|
|
2781
|
-
|
|
2782
|
-
password: string;
|
|
2783
|
-
email: string;
|
|
2784
|
-
token: string;
|
|
2785
|
-
username: string;
|
|
2786
|
-
apiToken: string;
|
|
2787
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2806
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2788
2807
|
id: import("mongoose").Types.ObjectId;
|
|
2789
2808
|
scopes: number;
|
|
2790
2809
|
token: string;
|
|
@@ -2799,20 +2818,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2799
2818
|
scopes: number;
|
|
2800
2819
|
token: string;
|
|
2801
2820
|
_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;
|
|
2821
|
+
}> | null | undefined;
|
|
2816
2822
|
}, {}, {
|
|
2817
2823
|
statics: {
|
|
2818
2824
|
verifyPassword(this: import("mongoose").Model<{
|
|
@@ -2821,7 +2827,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2821
2827
|
token: string;
|
|
2822
2828
|
username: string;
|
|
2823
2829
|
apiToken: string;
|
|
2824
|
-
|
|
2830
|
+
flags?: number | null | undefined;
|
|
2831
|
+
connections?: {
|
|
2832
|
+
discord?: {
|
|
2833
|
+
id?: string | null | undefined;
|
|
2834
|
+
username?: string | null | undefined;
|
|
2835
|
+
verified?: boolean | null | undefined;
|
|
2836
|
+
} | null | undefined;
|
|
2837
|
+
epic?: {
|
|
2838
|
+
id?: string | null | undefined;
|
|
2839
|
+
username?: string | null | undefined;
|
|
2840
|
+
verified?: boolean | null | undefined;
|
|
2841
|
+
} | null | undefined;
|
|
2842
|
+
} | null | undefined;
|
|
2843
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2825
2844
|
id: import("mongoose").Types.ObjectId;
|
|
2826
2845
|
scopes: number;
|
|
2827
2846
|
token: string;
|
|
@@ -2836,7 +2855,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2836
2855
|
scopes: number;
|
|
2837
2856
|
token: string;
|
|
2838
2857
|
_id?: unknown;
|
|
2839
|
-
}
|
|
2858
|
+
}> | null | undefined;
|
|
2859
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2860
|
+
password: string;
|
|
2861
|
+
email: string;
|
|
2862
|
+
token: string;
|
|
2863
|
+
username: string;
|
|
2864
|
+
apiToken: string;
|
|
2840
2865
|
flags?: number | null | undefined;
|
|
2841
2866
|
connections?: {
|
|
2842
2867
|
discord?: {
|
|
@@ -2850,13 +2875,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2850
2875
|
verified?: boolean | null | undefined;
|
|
2851
2876
|
} | null | undefined;
|
|
2852
2877
|
} | null | undefined;
|
|
2853
|
-
|
|
2854
|
-
password: string;
|
|
2855
|
-
email: string;
|
|
2856
|
-
token: string;
|
|
2857
|
-
username: string;
|
|
2858
|
-
apiToken: string;
|
|
2859
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2878
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2860
2879
|
id: import("mongoose").Types.ObjectId;
|
|
2861
2880
|
scopes: number;
|
|
2862
2881
|
token: string;
|
|
@@ -2871,7 +2890,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2871
2890
|
scopes: number;
|
|
2872
2891
|
token: string;
|
|
2873
2892
|
_id?: unknown;
|
|
2874
|
-
}
|
|
2893
|
+
}> | null | undefined;
|
|
2894
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
2895
|
+
password: string;
|
|
2896
|
+
email: string;
|
|
2897
|
+
token: string;
|
|
2898
|
+
username: string;
|
|
2899
|
+
apiToken: string;
|
|
2875
2900
|
flags?: number | null | undefined;
|
|
2876
2901
|
connections?: {
|
|
2877
2902
|
discord?: {
|
|
@@ -2885,13 +2910,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2885
2910
|
verified?: boolean | null | undefined;
|
|
2886
2911
|
} | null | undefined;
|
|
2887
2912
|
} | null | undefined;
|
|
2888
|
-
|
|
2889
|
-
password: string;
|
|
2890
|
-
email: string;
|
|
2891
|
-
token: string;
|
|
2892
|
-
username: string;
|
|
2893
|
-
apiToken: string;
|
|
2894
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2913
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2895
2914
|
id: import("mongoose").Types.ObjectId;
|
|
2896
2915
|
scopes: number;
|
|
2897
2916
|
token: string;
|
|
@@ -2906,7 +2925,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2906
2925
|
scopes: number;
|
|
2907
2926
|
token: string;
|
|
2908
2927
|
_id?: unknown;
|
|
2909
|
-
}
|
|
2928
|
+
}> | null | undefined;
|
|
2929
|
+
}> & {
|
|
2930
|
+
_id: import("mongoose").Types.ObjectId;
|
|
2931
|
+
} & {
|
|
2932
|
+
__v: number;
|
|
2933
|
+
}, any>, password: string, hash: string): Promise<boolean>;
|
|
2934
|
+
findByToken(this: import("mongoose").Model<{
|
|
2935
|
+
password: string;
|
|
2936
|
+
email: string;
|
|
2937
|
+
token: string;
|
|
2938
|
+
username: string;
|
|
2939
|
+
apiToken: string;
|
|
2910
2940
|
flags?: number | null | undefined;
|
|
2911
2941
|
connections?: {
|
|
2912
2942
|
discord?: {
|
|
@@ -2920,18 +2950,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2920
2950
|
verified?: boolean | null | undefined;
|
|
2921
2951
|
} | null | undefined;
|
|
2922
2952
|
} | 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<{
|
|
2953
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2935
2954
|
id: import("mongoose").Types.ObjectId;
|
|
2936
2955
|
scopes: number;
|
|
2937
2956
|
token: string;
|
|
@@ -2946,7 +2965,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2946
2965
|
scopes: number;
|
|
2947
2966
|
token: string;
|
|
2948
2967
|
_id?: unknown;
|
|
2949
|
-
}
|
|
2968
|
+
}> | null | undefined;
|
|
2969
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
2970
|
+
password: string;
|
|
2971
|
+
email: string;
|
|
2972
|
+
token: string;
|
|
2973
|
+
username: string;
|
|
2974
|
+
apiToken: string;
|
|
2950
2975
|
flags?: number | null | undefined;
|
|
2951
2976
|
connections?: {
|
|
2952
2977
|
discord?: {
|
|
@@ -2960,13 +2985,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2960
2985
|
verified?: boolean | null | undefined;
|
|
2961
2986
|
} | null | undefined;
|
|
2962
2987
|
} | null | undefined;
|
|
2963
|
-
|
|
2964
|
-
password: string;
|
|
2965
|
-
email: string;
|
|
2966
|
-
token: string;
|
|
2967
|
-
username: string;
|
|
2968
|
-
apiToken: string;
|
|
2969
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
2988
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
2970
2989
|
id: import("mongoose").Types.ObjectId;
|
|
2971
2990
|
scopes: number;
|
|
2972
2991
|
token: string;
|
|
@@ -2981,7 +3000,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2981
3000
|
scopes: number;
|
|
2982
3001
|
token: string;
|
|
2983
3002
|
_id?: unknown;
|
|
2984
|
-
}
|
|
3003
|
+
}> | null | undefined;
|
|
3004
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3005
|
+
password: string;
|
|
3006
|
+
email: string;
|
|
3007
|
+
token: string;
|
|
3008
|
+
username: string;
|
|
3009
|
+
apiToken: string;
|
|
2985
3010
|
flags?: number | null | undefined;
|
|
2986
3011
|
connections?: {
|
|
2987
3012
|
discord?: {
|
|
@@ -2995,13 +3020,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
2995
3020
|
verified?: boolean | null | undefined;
|
|
2996
3021
|
} | null | undefined;
|
|
2997
3022
|
} | null | undefined;
|
|
2998
|
-
|
|
2999
|
-
password: string;
|
|
3000
|
-
email: string;
|
|
3001
|
-
token: string;
|
|
3002
|
-
username: string;
|
|
3003
|
-
apiToken: string;
|
|
3004
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3023
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3005
3024
|
id: import("mongoose").Types.ObjectId;
|
|
3006
3025
|
scopes: number;
|
|
3007
3026
|
token: string;
|
|
@@ -3016,7 +3035,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3016
3035
|
scopes: number;
|
|
3017
3036
|
token: string;
|
|
3018
3037
|
_id?: unknown;
|
|
3019
|
-
}
|
|
3038
|
+
}> | null | undefined;
|
|
3039
|
+
}> & {
|
|
3040
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3041
|
+
} & {
|
|
3042
|
+
__v: number;
|
|
3043
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3044
|
+
password: string;
|
|
3045
|
+
email: string;
|
|
3046
|
+
token: string;
|
|
3047
|
+
username: string;
|
|
3048
|
+
apiToken: string;
|
|
3020
3049
|
flags?: number | null | undefined;
|
|
3021
3050
|
connections?: {
|
|
3022
3051
|
discord?: {
|
|
@@ -3030,17 +3059,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3030
3059
|
verified?: boolean | null | undefined;
|
|
3031
3060
|
} | null | undefined;
|
|
3032
3061
|
} | 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<{
|
|
3062
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3044
3063
|
id: import("mongoose").Types.ObjectId;
|
|
3045
3064
|
scopes: number;
|
|
3046
3065
|
token: string;
|
|
@@ -3055,7 +3074,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3055
3074
|
scopes: number;
|
|
3056
3075
|
token: string;
|
|
3057
3076
|
_id?: unknown;
|
|
3058
|
-
}
|
|
3077
|
+
}> | null | undefined;
|
|
3078
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3079
|
+
password: string;
|
|
3080
|
+
email: string;
|
|
3081
|
+
token: string;
|
|
3082
|
+
username: string;
|
|
3083
|
+
apiToken: string;
|
|
3059
3084
|
flags?: number | null | undefined;
|
|
3060
3085
|
connections?: {
|
|
3061
3086
|
discord?: {
|
|
@@ -3069,13 +3094,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3069
3094
|
verified?: boolean | null | undefined;
|
|
3070
3095
|
} | null | undefined;
|
|
3071
3096
|
} | null | undefined;
|
|
3072
|
-
|
|
3073
|
-
password: string;
|
|
3074
|
-
email: string;
|
|
3075
|
-
token: string;
|
|
3076
|
-
username: string;
|
|
3077
|
-
apiToken: string;
|
|
3078
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3097
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3079
3098
|
id: import("mongoose").Types.ObjectId;
|
|
3080
3099
|
scopes: number;
|
|
3081
3100
|
token: string;
|
|
@@ -3090,7 +3109,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3090
3109
|
scopes: number;
|
|
3091
3110
|
token: string;
|
|
3092
3111
|
_id?: unknown;
|
|
3093
|
-
}
|
|
3112
|
+
}> | null | undefined;
|
|
3113
|
+
}> & {
|
|
3114
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3115
|
+
} & {
|
|
3116
|
+
__v: number;
|
|
3117
|
+
}) | null>;
|
|
3118
|
+
findByAPIToken(this: import("mongoose").Model<{
|
|
3119
|
+
password: string;
|
|
3120
|
+
email: string;
|
|
3121
|
+
token: string;
|
|
3122
|
+
username: string;
|
|
3123
|
+
apiToken: string;
|
|
3094
3124
|
flags?: number | null | undefined;
|
|
3095
3125
|
connections?: {
|
|
3096
3126
|
discord?: {
|
|
@@ -3104,18 +3134,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3104
3134
|
verified?: boolean | null | undefined;
|
|
3105
3135
|
} | null | undefined;
|
|
3106
3136
|
} | 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<{
|
|
3137
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3119
3138
|
id: import("mongoose").Types.ObjectId;
|
|
3120
3139
|
scopes: number;
|
|
3121
3140
|
token: string;
|
|
@@ -3130,7 +3149,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3130
3149
|
scopes: number;
|
|
3131
3150
|
token: string;
|
|
3132
3151
|
_id?: unknown;
|
|
3133
|
-
}
|
|
3152
|
+
}> | null | undefined;
|
|
3153
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3154
|
+
password: string;
|
|
3155
|
+
email: string;
|
|
3156
|
+
token: string;
|
|
3157
|
+
username: string;
|
|
3158
|
+
apiToken: string;
|
|
3134
3159
|
flags?: number | null | undefined;
|
|
3135
3160
|
connections?: {
|
|
3136
3161
|
discord?: {
|
|
@@ -3144,13 +3169,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3144
3169
|
verified?: boolean | null | undefined;
|
|
3145
3170
|
} | null | undefined;
|
|
3146
3171
|
} | null | undefined;
|
|
3147
|
-
|
|
3148
|
-
password: string;
|
|
3149
|
-
email: string;
|
|
3150
|
-
token: string;
|
|
3151
|
-
username: string;
|
|
3152
|
-
apiToken: string;
|
|
3153
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3172
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3154
3173
|
id: import("mongoose").Types.ObjectId;
|
|
3155
3174
|
scopes: number;
|
|
3156
3175
|
token: string;
|
|
@@ -3165,7 +3184,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3165
3184
|
scopes: number;
|
|
3166
3185
|
token: string;
|
|
3167
3186
|
_id?: unknown;
|
|
3168
|
-
}
|
|
3187
|
+
}> | null | undefined;
|
|
3188
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3189
|
+
password: string;
|
|
3190
|
+
email: string;
|
|
3191
|
+
token: string;
|
|
3192
|
+
username: string;
|
|
3193
|
+
apiToken: string;
|
|
3169
3194
|
flags?: number | null | undefined;
|
|
3170
3195
|
connections?: {
|
|
3171
3196
|
discord?: {
|
|
@@ -3179,13 +3204,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3179
3204
|
verified?: boolean | null | undefined;
|
|
3180
3205
|
} | null | undefined;
|
|
3181
3206
|
} | null | undefined;
|
|
3182
|
-
|
|
3183
|
-
password: string;
|
|
3184
|
-
email: string;
|
|
3185
|
-
token: string;
|
|
3186
|
-
username: string;
|
|
3187
|
-
apiToken: string;
|
|
3188
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3207
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3189
3208
|
id: import("mongoose").Types.ObjectId;
|
|
3190
3209
|
scopes: number;
|
|
3191
3210
|
token: string;
|
|
@@ -3200,7 +3219,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3200
3219
|
scopes: number;
|
|
3201
3220
|
token: string;
|
|
3202
3221
|
_id?: unknown;
|
|
3203
|
-
}
|
|
3222
|
+
}> | null | undefined;
|
|
3223
|
+
}> & {
|
|
3224
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3225
|
+
} & {
|
|
3226
|
+
__v: number;
|
|
3227
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3228
|
+
password: string;
|
|
3229
|
+
email: string;
|
|
3230
|
+
token: string;
|
|
3231
|
+
username: string;
|
|
3232
|
+
apiToken: string;
|
|
3204
3233
|
flags?: number | null | undefined;
|
|
3205
3234
|
connections?: {
|
|
3206
3235
|
discord?: {
|
|
@@ -3214,17 +3243,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3214
3243
|
verified?: boolean | null | undefined;
|
|
3215
3244
|
} | null | undefined;
|
|
3216
3245
|
} | 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<{
|
|
3246
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3228
3247
|
id: import("mongoose").Types.ObjectId;
|
|
3229
3248
|
scopes: number;
|
|
3230
3249
|
token: string;
|
|
@@ -3239,7 +3258,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3239
3258
|
scopes: number;
|
|
3240
3259
|
token: string;
|
|
3241
3260
|
_id?: unknown;
|
|
3242
|
-
}
|
|
3261
|
+
}> | null | undefined;
|
|
3262
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3263
|
+
password: string;
|
|
3264
|
+
email: string;
|
|
3265
|
+
token: string;
|
|
3266
|
+
username: string;
|
|
3267
|
+
apiToken: string;
|
|
3243
3268
|
flags?: number | null | undefined;
|
|
3244
3269
|
connections?: {
|
|
3245
3270
|
discord?: {
|
|
@@ -3253,13 +3278,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3253
3278
|
verified?: boolean | null | undefined;
|
|
3254
3279
|
} | null | undefined;
|
|
3255
3280
|
} | null | undefined;
|
|
3256
|
-
|
|
3257
|
-
password: string;
|
|
3258
|
-
email: string;
|
|
3259
|
-
token: string;
|
|
3260
|
-
username: string;
|
|
3261
|
-
apiToken: string;
|
|
3262
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3281
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3263
3282
|
id: import("mongoose").Types.ObjectId;
|
|
3264
3283
|
scopes: number;
|
|
3265
3284
|
token: string;
|
|
@@ -3274,7 +3293,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3274
3293
|
scopes: number;
|
|
3275
3294
|
token: string;
|
|
3276
3295
|
_id?: unknown;
|
|
3277
|
-
}
|
|
3296
|
+
}> | null | undefined;
|
|
3297
|
+
}> & {
|
|
3298
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3299
|
+
} & {
|
|
3300
|
+
__v: number;
|
|
3301
|
+
}) | null>;
|
|
3302
|
+
findByAccessToken(this: import("mongoose").Model<{
|
|
3303
|
+
password: string;
|
|
3304
|
+
email: string;
|
|
3305
|
+
token: string;
|
|
3306
|
+
username: string;
|
|
3307
|
+
apiToken: string;
|
|
3278
3308
|
flags?: number | null | undefined;
|
|
3279
3309
|
connections?: {
|
|
3280
3310
|
discord?: {
|
|
@@ -3288,18 +3318,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3288
3318
|
verified?: boolean | null | undefined;
|
|
3289
3319
|
} | null | undefined;
|
|
3290
3320
|
} | 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<{
|
|
3321
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3303
3322
|
id: import("mongoose").Types.ObjectId;
|
|
3304
3323
|
scopes: number;
|
|
3305
3324
|
token: string;
|
|
@@ -3314,7 +3333,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3314
3333
|
scopes: number;
|
|
3315
3334
|
token: string;
|
|
3316
3335
|
_id?: unknown;
|
|
3317
|
-
}
|
|
3336
|
+
}> | null | undefined;
|
|
3337
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3338
|
+
password: string;
|
|
3339
|
+
email: string;
|
|
3340
|
+
token: string;
|
|
3341
|
+
username: string;
|
|
3342
|
+
apiToken: string;
|
|
3318
3343
|
flags?: number | null | undefined;
|
|
3319
3344
|
connections?: {
|
|
3320
3345
|
discord?: {
|
|
@@ -3328,13 +3353,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3328
3353
|
verified?: boolean | null | undefined;
|
|
3329
3354
|
} | null | undefined;
|
|
3330
3355
|
} | null | undefined;
|
|
3331
|
-
|
|
3332
|
-
password: string;
|
|
3333
|
-
email: string;
|
|
3334
|
-
token: string;
|
|
3335
|
-
username: string;
|
|
3336
|
-
apiToken: string;
|
|
3337
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3356
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3338
3357
|
id: import("mongoose").Types.ObjectId;
|
|
3339
3358
|
scopes: number;
|
|
3340
3359
|
token: string;
|
|
@@ -3349,7 +3368,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3349
3368
|
scopes: number;
|
|
3350
3369
|
token: string;
|
|
3351
3370
|
_id?: unknown;
|
|
3352
|
-
}
|
|
3371
|
+
}> | null | undefined;
|
|
3372
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3373
|
+
password: string;
|
|
3374
|
+
email: string;
|
|
3375
|
+
token: string;
|
|
3376
|
+
username: string;
|
|
3377
|
+
apiToken: string;
|
|
3353
3378
|
flags?: number | null | undefined;
|
|
3354
3379
|
connections?: {
|
|
3355
3380
|
discord?: {
|
|
@@ -3363,13 +3388,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3363
3388
|
verified?: boolean | null | undefined;
|
|
3364
3389
|
} | null | undefined;
|
|
3365
3390
|
} | null | undefined;
|
|
3366
|
-
|
|
3367
|
-
password: string;
|
|
3368
|
-
email: string;
|
|
3369
|
-
token: string;
|
|
3370
|
-
username: string;
|
|
3371
|
-
apiToken: string;
|
|
3372
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3391
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3373
3392
|
id: import("mongoose").Types.ObjectId;
|
|
3374
3393
|
scopes: number;
|
|
3375
3394
|
token: string;
|
|
@@ -3384,20 +3403,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3384
3403
|
scopes: number;
|
|
3385
3404
|
token: string;
|
|
3386
3405
|
_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;
|
|
3406
|
+
}> | null | undefined;
|
|
3401
3407
|
}> & {
|
|
3402
3408
|
_id: import("mongoose").Types.ObjectId;
|
|
3403
3409
|
} & {
|
|
@@ -3409,7 +3415,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3409
3415
|
token: string;
|
|
3410
3416
|
username: string;
|
|
3411
3417
|
apiToken: string;
|
|
3412
|
-
|
|
3418
|
+
flags?: number | null | undefined;
|
|
3419
|
+
connections?: {
|
|
3420
|
+
discord?: {
|
|
3421
|
+
id?: string | null | undefined;
|
|
3422
|
+
username?: string | null | undefined;
|
|
3423
|
+
verified?: boolean | null | undefined;
|
|
3424
|
+
} | null | undefined;
|
|
3425
|
+
epic?: {
|
|
3426
|
+
id?: string | null | undefined;
|
|
3427
|
+
username?: string | null | undefined;
|
|
3428
|
+
verified?: boolean | null | undefined;
|
|
3429
|
+
} | null | undefined;
|
|
3430
|
+
} | null | undefined;
|
|
3431
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3413
3432
|
id: import("mongoose").Types.ObjectId;
|
|
3414
3433
|
scopes: number;
|
|
3415
3434
|
token: string;
|
|
@@ -3424,7 +3443,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3424
3443
|
scopes: number;
|
|
3425
3444
|
token: string;
|
|
3426
3445
|
_id?: unknown;
|
|
3427
|
-
}
|
|
3446
|
+
}> | null | undefined;
|
|
3447
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3448
|
+
password: string;
|
|
3449
|
+
email: string;
|
|
3450
|
+
token: string;
|
|
3451
|
+
username: string;
|
|
3452
|
+
apiToken: string;
|
|
3428
3453
|
flags?: number | null | undefined;
|
|
3429
3454
|
connections?: {
|
|
3430
3455
|
discord?: {
|
|
@@ -3438,13 +3463,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3438
3463
|
verified?: boolean | null | undefined;
|
|
3439
3464
|
} | null | undefined;
|
|
3440
3465
|
} | null | undefined;
|
|
3441
|
-
|
|
3442
|
-
password: string;
|
|
3443
|
-
email: string;
|
|
3444
|
-
token: string;
|
|
3445
|
-
username: string;
|
|
3446
|
-
apiToken: string;
|
|
3447
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3466
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3448
3467
|
id: import("mongoose").Types.ObjectId;
|
|
3449
3468
|
scopes: number;
|
|
3450
3469
|
token: string;
|
|
@@ -3459,20 +3478,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3459
3478
|
scopes: number;
|
|
3460
3479
|
token: string;
|
|
3461
3480
|
_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;
|
|
3481
|
+
}> | null | undefined;
|
|
3476
3482
|
}> & {
|
|
3477
3483
|
_id: import("mongoose").Types.ObjectId;
|
|
3478
3484
|
} & {
|
|
@@ -3497,7 +3503,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3497
3503
|
token: string;
|
|
3498
3504
|
username: string;
|
|
3499
3505
|
apiToken: string;
|
|
3500
|
-
|
|
3506
|
+
flags?: number | null | undefined;
|
|
3507
|
+
connections?: {
|
|
3508
|
+
discord?: {
|
|
3509
|
+
id?: string | null | undefined;
|
|
3510
|
+
username?: string | null | undefined;
|
|
3511
|
+
verified?: boolean | null | undefined;
|
|
3512
|
+
} | null | undefined;
|
|
3513
|
+
epic?: {
|
|
3514
|
+
id?: string | null | undefined;
|
|
3515
|
+
username?: string | null | undefined;
|
|
3516
|
+
verified?: boolean | null | undefined;
|
|
3517
|
+
} | null | undefined;
|
|
3518
|
+
} | null | undefined;
|
|
3519
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3501
3520
|
id: import("mongoose").Types.ObjectId;
|
|
3502
3521
|
scopes: number;
|
|
3503
3522
|
token: string;
|
|
@@ -3512,7 +3531,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3512
3531
|
scopes: number;
|
|
3513
3532
|
token: string;
|
|
3514
3533
|
_id?: unknown;
|
|
3515
|
-
}
|
|
3534
|
+
}> | null | undefined;
|
|
3535
|
+
} & {
|
|
3536
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3537
|
+
} & {
|
|
3538
|
+
__v: number;
|
|
3539
|
+
}, Schema<any, import("mongoose").Model<{
|
|
3540
|
+
password: string;
|
|
3541
|
+
email: string;
|
|
3542
|
+
token: string;
|
|
3543
|
+
username: string;
|
|
3544
|
+
apiToken: string;
|
|
3516
3545
|
flags?: number | null | undefined;
|
|
3517
3546
|
connections?: {
|
|
3518
3547
|
discord?: {
|
|
@@ -3526,17 +3555,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3526
3555
|
verified?: boolean | null | undefined;
|
|
3527
3556
|
} | null | undefined;
|
|
3528
3557
|
} | 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<{
|
|
3558
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3540
3559
|
id: import("mongoose").Types.ObjectId;
|
|
3541
3560
|
scopes: number;
|
|
3542
3561
|
token: string;
|
|
@@ -3551,7 +3570,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3551
3570
|
scopes: number;
|
|
3552
3571
|
token: string;
|
|
3553
3572
|
_id?: unknown;
|
|
3554
|
-
}
|
|
3573
|
+
}> | null | undefined;
|
|
3574
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3575
|
+
password: string;
|
|
3576
|
+
email: string;
|
|
3577
|
+
token: string;
|
|
3578
|
+
username: string;
|
|
3579
|
+
apiToken: string;
|
|
3555
3580
|
flags?: number | null | undefined;
|
|
3556
3581
|
connections?: {
|
|
3557
3582
|
discord?: {
|
|
@@ -3565,13 +3590,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3565
3590
|
verified?: boolean | null | undefined;
|
|
3566
3591
|
} | null | undefined;
|
|
3567
3592
|
} | null | undefined;
|
|
3568
|
-
|
|
3569
|
-
password: string;
|
|
3570
|
-
email: string;
|
|
3571
|
-
token: string;
|
|
3572
|
-
username: string;
|
|
3573
|
-
apiToken: string;
|
|
3574
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3593
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3575
3594
|
id: import("mongoose").Types.ObjectId;
|
|
3576
3595
|
scopes: number;
|
|
3577
3596
|
token: string;
|
|
@@ -3586,7 +3605,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3586
3605
|
scopes: number;
|
|
3587
3606
|
token: string;
|
|
3588
3607
|
_id?: unknown;
|
|
3589
|
-
}
|
|
3608
|
+
}> | null | undefined;
|
|
3609
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3610
|
+
password: string;
|
|
3611
|
+
email: string;
|
|
3612
|
+
token: string;
|
|
3613
|
+
username: string;
|
|
3614
|
+
apiToken: string;
|
|
3590
3615
|
flags?: number | null | undefined;
|
|
3591
3616
|
connections?: {
|
|
3592
3617
|
discord?: {
|
|
@@ -3600,13 +3625,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3600
3625
|
verified?: boolean | null | undefined;
|
|
3601
3626
|
} | null | undefined;
|
|
3602
3627
|
} | null | undefined;
|
|
3603
|
-
|
|
3604
|
-
password: string;
|
|
3605
|
-
email: string;
|
|
3606
|
-
token: string;
|
|
3607
|
-
username: string;
|
|
3608
|
-
apiToken: string;
|
|
3609
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3628
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3610
3629
|
id: import("mongoose").Types.ObjectId;
|
|
3611
3630
|
scopes: number;
|
|
3612
3631
|
token: string;
|
|
@@ -3621,20 +3640,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3621
3640
|
scopes: number;
|
|
3622
3641
|
token: string;
|
|
3623
3642
|
_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;
|
|
3643
|
+
}> | null | undefined;
|
|
3638
3644
|
}> & {
|
|
3639
3645
|
_id: import("mongoose").Types.ObjectId;
|
|
3640
3646
|
} & {
|
|
@@ -3646,22 +3652,6 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3646
3652
|
token: string;
|
|
3647
3653
|
username: string;
|
|
3648
3654
|
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
3655
|
flags?: number | null | undefined;
|
|
3666
3656
|
connections?: {
|
|
3667
3657
|
discord?: {
|
|
@@ -3675,13 +3665,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3675
3665
|
verified?: boolean | null | undefined;
|
|
3676
3666
|
} | null | undefined;
|
|
3677
3667
|
} | null | undefined;
|
|
3678
|
-
|
|
3679
|
-
password: string;
|
|
3680
|
-
email: string;
|
|
3681
|
-
token: string;
|
|
3682
|
-
username: string;
|
|
3683
|
-
apiToken: string;
|
|
3684
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3668
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3685
3669
|
id: import("mongoose").Types.ObjectId;
|
|
3686
3670
|
scopes: number;
|
|
3687
3671
|
token: string;
|
|
@@ -3696,7 +3680,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3696
3680
|
scopes: number;
|
|
3697
3681
|
token: string;
|
|
3698
3682
|
_id?: unknown;
|
|
3699
|
-
}
|
|
3683
|
+
}> | null | undefined;
|
|
3684
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3685
|
+
password: string;
|
|
3686
|
+
email: string;
|
|
3687
|
+
token: string;
|
|
3688
|
+
username: string;
|
|
3689
|
+
apiToken: string;
|
|
3700
3690
|
flags?: number | null | undefined;
|
|
3701
3691
|
connections?: {
|
|
3702
3692
|
discord?: {
|
|
@@ -3710,13 +3700,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3710
3700
|
verified?: boolean | null | undefined;
|
|
3711
3701
|
} | null | undefined;
|
|
3712
3702
|
} | null | undefined;
|
|
3713
|
-
|
|
3714
|
-
password: string;
|
|
3715
|
-
email: string;
|
|
3716
|
-
token: string;
|
|
3717
|
-
username: string;
|
|
3718
|
-
apiToken: string;
|
|
3719
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3703
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3720
3704
|
id: import("mongoose").Types.ObjectId;
|
|
3721
3705
|
scopes: number;
|
|
3722
3706
|
token: string;
|
|
@@ -3731,7 +3715,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3731
3715
|
scopes: number;
|
|
3732
3716
|
token: string;
|
|
3733
3717
|
_id?: unknown;
|
|
3734
|
-
}
|
|
3718
|
+
}> | null | undefined;
|
|
3719
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3720
|
+
password: string;
|
|
3721
|
+
email: string;
|
|
3722
|
+
token: string;
|
|
3723
|
+
username: string;
|
|
3724
|
+
apiToken: string;
|
|
3735
3725
|
flags?: number | null | undefined;
|
|
3736
3726
|
connections?: {
|
|
3737
3727
|
discord?: {
|
|
@@ -3745,18 +3735,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3745
3735
|
verified?: boolean | null | undefined;
|
|
3746
3736
|
} | null | undefined;
|
|
3747
3737
|
} | 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<{
|
|
3738
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3760
3739
|
id: import("mongoose").Types.ObjectId;
|
|
3761
3740
|
scopes: number;
|
|
3762
3741
|
token: string;
|
|
@@ -3771,7 +3750,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3771
3750
|
scopes: number;
|
|
3772
3751
|
token: string;
|
|
3773
3752
|
_id?: unknown;
|
|
3774
|
-
}
|
|
3753
|
+
}> | null | undefined;
|
|
3754
|
+
}> & {
|
|
3755
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3756
|
+
} & {
|
|
3757
|
+
__v: number;
|
|
3758
|
+
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
3759
|
+
findByToken: (this: import("mongoose").Model<{
|
|
3760
|
+
password: string;
|
|
3761
|
+
email: string;
|
|
3762
|
+
token: string;
|
|
3763
|
+
username: string;
|
|
3764
|
+
apiToken: string;
|
|
3775
3765
|
flags?: number | null | undefined;
|
|
3776
3766
|
connections?: {
|
|
3777
3767
|
discord?: {
|
|
@@ -3785,13 +3775,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3785
3775
|
verified?: boolean | null | undefined;
|
|
3786
3776
|
} | null | undefined;
|
|
3787
3777
|
} | null | undefined;
|
|
3788
|
-
|
|
3789
|
-
password: string;
|
|
3790
|
-
email: string;
|
|
3791
|
-
token: string;
|
|
3792
|
-
username: string;
|
|
3793
|
-
apiToken: string;
|
|
3794
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3778
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3795
3779
|
id: import("mongoose").Types.ObjectId;
|
|
3796
3780
|
scopes: number;
|
|
3797
3781
|
token: string;
|
|
@@ -3806,7 +3790,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3806
3790
|
scopes: number;
|
|
3807
3791
|
token: string;
|
|
3808
3792
|
_id?: unknown;
|
|
3809
|
-
}
|
|
3793
|
+
}> | null | undefined;
|
|
3794
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3795
|
+
password: string;
|
|
3796
|
+
email: string;
|
|
3797
|
+
token: string;
|
|
3798
|
+
username: string;
|
|
3799
|
+
apiToken: string;
|
|
3810
3800
|
flags?: number | null | undefined;
|
|
3811
3801
|
connections?: {
|
|
3812
3802
|
discord?: {
|
|
@@ -3820,13 +3810,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3820
3810
|
verified?: boolean | null | undefined;
|
|
3821
3811
|
} | null | undefined;
|
|
3822
3812
|
} | null | undefined;
|
|
3823
|
-
|
|
3824
|
-
password: string;
|
|
3825
|
-
email: string;
|
|
3826
|
-
token: string;
|
|
3827
|
-
username: string;
|
|
3828
|
-
apiToken: string;
|
|
3829
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3813
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3830
3814
|
id: import("mongoose").Types.ObjectId;
|
|
3831
3815
|
scopes: number;
|
|
3832
3816
|
token: string;
|
|
@@ -3841,7 +3825,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3841
3825
|
scopes: number;
|
|
3842
3826
|
token: string;
|
|
3843
3827
|
_id?: unknown;
|
|
3844
|
-
}
|
|
3828
|
+
}> | null | undefined;
|
|
3829
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3830
|
+
password: string;
|
|
3831
|
+
email: string;
|
|
3832
|
+
token: string;
|
|
3833
|
+
username: string;
|
|
3834
|
+
apiToken: string;
|
|
3845
3835
|
flags?: number | null | undefined;
|
|
3846
3836
|
connections?: {
|
|
3847
3837
|
discord?: {
|
|
@@ -3855,17 +3845,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3855
3845
|
verified?: boolean | null | undefined;
|
|
3856
3846
|
} | null | undefined;
|
|
3857
3847
|
} | 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<{
|
|
3848
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3869
3849
|
id: import("mongoose").Types.ObjectId;
|
|
3870
3850
|
scopes: number;
|
|
3871
3851
|
token: string;
|
|
@@ -3880,7 +3860,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3880
3860
|
scopes: number;
|
|
3881
3861
|
token: string;
|
|
3882
3862
|
_id?: unknown;
|
|
3883
|
-
}
|
|
3863
|
+
}> | null | undefined;
|
|
3864
|
+
}> & {
|
|
3865
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3866
|
+
} & {
|
|
3867
|
+
__v: number;
|
|
3868
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3869
|
+
password: string;
|
|
3870
|
+
email: string;
|
|
3871
|
+
token: string;
|
|
3872
|
+
username: string;
|
|
3873
|
+
apiToken: string;
|
|
3884
3874
|
flags?: number | null | undefined;
|
|
3885
3875
|
connections?: {
|
|
3886
3876
|
discord?: {
|
|
@@ -3894,13 +3884,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3894
3884
|
verified?: boolean | null | undefined;
|
|
3895
3885
|
} | null | undefined;
|
|
3896
3886
|
} | null | undefined;
|
|
3897
|
-
|
|
3898
|
-
password: string;
|
|
3899
|
-
email: string;
|
|
3900
|
-
token: string;
|
|
3901
|
-
username: string;
|
|
3902
|
-
apiToken: string;
|
|
3903
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3887
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3904
3888
|
id: import("mongoose").Types.ObjectId;
|
|
3905
3889
|
scopes: number;
|
|
3906
3890
|
token: string;
|
|
@@ -3915,10 +3899,16 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3915
3899
|
scopes: number;
|
|
3916
3900
|
token: string;
|
|
3917
3901
|
_id?: unknown;
|
|
3918
|
-
}
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3902
|
+
}> | null | undefined;
|
|
3903
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3904
|
+
password: string;
|
|
3905
|
+
email: string;
|
|
3906
|
+
token: string;
|
|
3907
|
+
username: string;
|
|
3908
|
+
apiToken: string;
|
|
3909
|
+
flags?: number | null | undefined;
|
|
3910
|
+
connections?: {
|
|
3911
|
+
discord?: {
|
|
3922
3912
|
id?: string | null | undefined;
|
|
3923
3913
|
username?: string | null | undefined;
|
|
3924
3914
|
verified?: boolean | null | undefined;
|
|
@@ -3929,18 +3919,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3929
3919
|
verified?: boolean | null | undefined;
|
|
3930
3920
|
} | null | undefined;
|
|
3931
3921
|
} | 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<{
|
|
3922
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3944
3923
|
id: import("mongoose").Types.ObjectId;
|
|
3945
3924
|
scopes: number;
|
|
3946
3925
|
token: string;
|
|
@@ -3955,7 +3934,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3955
3934
|
scopes: number;
|
|
3956
3935
|
token: string;
|
|
3957
3936
|
_id?: unknown;
|
|
3958
|
-
}
|
|
3937
|
+
}> | null | undefined;
|
|
3938
|
+
}> & {
|
|
3939
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3940
|
+
} & {
|
|
3941
|
+
__v: number;
|
|
3942
|
+
}) | null>;
|
|
3943
|
+
findByAPIToken: (this: import("mongoose").Model<{
|
|
3944
|
+
password: string;
|
|
3945
|
+
email: string;
|
|
3946
|
+
token: string;
|
|
3947
|
+
username: string;
|
|
3948
|
+
apiToken: string;
|
|
3959
3949
|
flags?: number | null | undefined;
|
|
3960
3950
|
connections?: {
|
|
3961
3951
|
discord?: {
|
|
@@ -3969,13 +3959,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3969
3959
|
verified?: boolean | null | undefined;
|
|
3970
3960
|
} | null | undefined;
|
|
3971
3961
|
} | null | undefined;
|
|
3972
|
-
|
|
3973
|
-
password: string;
|
|
3974
|
-
email: string;
|
|
3975
|
-
token: string;
|
|
3976
|
-
username: string;
|
|
3977
|
-
apiToken: string;
|
|
3978
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3962
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
3979
3963
|
id: import("mongoose").Types.ObjectId;
|
|
3980
3964
|
scopes: number;
|
|
3981
3965
|
token: string;
|
|
@@ -3990,7 +3974,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
3990
3974
|
scopes: number;
|
|
3991
3975
|
token: string;
|
|
3992
3976
|
_id?: unknown;
|
|
3993
|
-
}
|
|
3977
|
+
}> | null | undefined;
|
|
3978
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3979
|
+
password: string;
|
|
3980
|
+
email: string;
|
|
3981
|
+
token: string;
|
|
3982
|
+
username: string;
|
|
3983
|
+
apiToken: string;
|
|
3994
3984
|
flags?: number | null | undefined;
|
|
3995
3985
|
connections?: {
|
|
3996
3986
|
discord?: {
|
|
@@ -4004,13 +3994,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4004
3994
|
verified?: boolean | null | undefined;
|
|
4005
3995
|
} | null | undefined;
|
|
4006
3996
|
} | null | undefined;
|
|
4007
|
-
|
|
4008
|
-
password: string;
|
|
4009
|
-
email: string;
|
|
4010
|
-
token: string;
|
|
4011
|
-
username: string;
|
|
4012
|
-
apiToken: string;
|
|
4013
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
3997
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4014
3998
|
id: import("mongoose").Types.ObjectId;
|
|
4015
3999
|
scopes: number;
|
|
4016
4000
|
token: string;
|
|
@@ -4025,7 +4009,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4025
4009
|
scopes: number;
|
|
4026
4010
|
token: string;
|
|
4027
4011
|
_id?: unknown;
|
|
4028
|
-
}
|
|
4012
|
+
}> | null | undefined;
|
|
4013
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4014
|
+
password: string;
|
|
4015
|
+
email: string;
|
|
4016
|
+
token: string;
|
|
4017
|
+
username: string;
|
|
4018
|
+
apiToken: string;
|
|
4029
4019
|
flags?: number | null | undefined;
|
|
4030
4020
|
connections?: {
|
|
4031
4021
|
discord?: {
|
|
@@ -4039,17 +4029,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4039
4029
|
verified?: boolean | null | undefined;
|
|
4040
4030
|
} | null | undefined;
|
|
4041
4031
|
} | 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<{
|
|
4032
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4053
4033
|
id: import("mongoose").Types.ObjectId;
|
|
4054
4034
|
scopes: number;
|
|
4055
4035
|
token: string;
|
|
@@ -4064,7 +4044,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4064
4044
|
scopes: number;
|
|
4065
4045
|
token: string;
|
|
4066
4046
|
_id?: unknown;
|
|
4067
|
-
}
|
|
4047
|
+
}> | null | undefined;
|
|
4048
|
+
}> & {
|
|
4049
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4050
|
+
} & {
|
|
4051
|
+
__v: number;
|
|
4052
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4053
|
+
password: string;
|
|
4054
|
+
email: string;
|
|
4055
|
+
token: string;
|
|
4056
|
+
username: string;
|
|
4057
|
+
apiToken: string;
|
|
4068
4058
|
flags?: number | null | undefined;
|
|
4069
4059
|
connections?: {
|
|
4070
4060
|
discord?: {
|
|
@@ -4078,13 +4068,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4078
4068
|
verified?: boolean | null | undefined;
|
|
4079
4069
|
} | null | undefined;
|
|
4080
4070
|
} | null | undefined;
|
|
4081
|
-
|
|
4082
|
-
password: string;
|
|
4083
|
-
email: string;
|
|
4084
|
-
token: string;
|
|
4085
|
-
username: string;
|
|
4086
|
-
apiToken: string;
|
|
4087
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4071
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4088
4072
|
id: import("mongoose").Types.ObjectId;
|
|
4089
4073
|
scopes: number;
|
|
4090
4074
|
token: string;
|
|
@@ -4099,7 +4083,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4099
4083
|
scopes: number;
|
|
4100
4084
|
token: string;
|
|
4101
4085
|
_id?: unknown;
|
|
4102
|
-
}
|
|
4086
|
+
}> | null | undefined;
|
|
4087
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4088
|
+
password: string;
|
|
4089
|
+
email: string;
|
|
4090
|
+
token: string;
|
|
4091
|
+
username: string;
|
|
4092
|
+
apiToken: string;
|
|
4103
4093
|
flags?: number | null | undefined;
|
|
4104
4094
|
connections?: {
|
|
4105
4095
|
discord?: {
|
|
@@ -4113,18 +4103,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4113
4103
|
verified?: boolean | null | undefined;
|
|
4114
4104
|
} | null | undefined;
|
|
4115
4105
|
} | 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<{
|
|
4106
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4128
4107
|
id: import("mongoose").Types.ObjectId;
|
|
4129
4108
|
scopes: number;
|
|
4130
4109
|
token: string;
|
|
@@ -4139,7 +4118,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4139
4118
|
scopes: number;
|
|
4140
4119
|
token: string;
|
|
4141
4120
|
_id?: unknown;
|
|
4142
|
-
}
|
|
4121
|
+
}> | null | undefined;
|
|
4122
|
+
}> & {
|
|
4123
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4124
|
+
} & {
|
|
4125
|
+
__v: number;
|
|
4126
|
+
}) | null>;
|
|
4127
|
+
findByAccessToken: (this: import("mongoose").Model<{
|
|
4128
|
+
password: string;
|
|
4129
|
+
email: string;
|
|
4130
|
+
token: string;
|
|
4131
|
+
username: string;
|
|
4132
|
+
apiToken: string;
|
|
4143
4133
|
flags?: number | null | undefined;
|
|
4144
4134
|
connections?: {
|
|
4145
4135
|
discord?: {
|
|
@@ -4153,13 +4143,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4153
4143
|
verified?: boolean | null | undefined;
|
|
4154
4144
|
} | null | undefined;
|
|
4155
4145
|
} | null | undefined;
|
|
4156
|
-
|
|
4157
|
-
password: string;
|
|
4158
|
-
email: string;
|
|
4159
|
-
token: string;
|
|
4160
|
-
username: string;
|
|
4161
|
-
apiToken: string;
|
|
4162
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4146
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4163
4147
|
id: import("mongoose").Types.ObjectId;
|
|
4164
4148
|
scopes: number;
|
|
4165
4149
|
token: string;
|
|
@@ -4174,7 +4158,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4174
4158
|
scopes: number;
|
|
4175
4159
|
token: string;
|
|
4176
4160
|
_id?: unknown;
|
|
4177
|
-
}
|
|
4161
|
+
}> | null | undefined;
|
|
4162
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4163
|
+
password: string;
|
|
4164
|
+
email: string;
|
|
4165
|
+
token: string;
|
|
4166
|
+
username: string;
|
|
4167
|
+
apiToken: string;
|
|
4178
4168
|
flags?: number | null | undefined;
|
|
4179
4169
|
connections?: {
|
|
4180
4170
|
discord?: {
|
|
@@ -4188,13 +4178,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4188
4178
|
verified?: boolean | null | undefined;
|
|
4189
4179
|
} | null | undefined;
|
|
4190
4180
|
} | null | undefined;
|
|
4191
|
-
|
|
4192
|
-
password: string;
|
|
4193
|
-
email: string;
|
|
4194
|
-
token: string;
|
|
4195
|
-
username: string;
|
|
4196
|
-
apiToken: string;
|
|
4197
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4181
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4198
4182
|
id: import("mongoose").Types.ObjectId;
|
|
4199
4183
|
scopes: number;
|
|
4200
4184
|
token: string;
|
|
@@ -4209,7 +4193,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4209
4193
|
scopes: number;
|
|
4210
4194
|
token: string;
|
|
4211
4195
|
_id?: unknown;
|
|
4212
|
-
}
|
|
4196
|
+
}> | null | undefined;
|
|
4197
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4198
|
+
password: string;
|
|
4199
|
+
email: string;
|
|
4200
|
+
token: string;
|
|
4201
|
+
username: string;
|
|
4202
|
+
apiToken: string;
|
|
4213
4203
|
flags?: number | null | undefined;
|
|
4214
4204
|
connections?: {
|
|
4215
4205
|
discord?: {
|
|
@@ -4223,6 +4213,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4223
4213
|
verified?: boolean | null | undefined;
|
|
4224
4214
|
} | null | undefined;
|
|
4225
4215
|
} | null | undefined;
|
|
4216
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4217
|
+
id: import("mongoose").Types.ObjectId;
|
|
4218
|
+
scopes: number;
|
|
4219
|
+
token: string;
|
|
4220
|
+
_id?: unknown;
|
|
4221
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4222
|
+
id: import("mongoose").Types.ObjectId;
|
|
4223
|
+
scopes: number;
|
|
4224
|
+
token: string;
|
|
4225
|
+
_id?: unknown;
|
|
4226
|
+
}> & {
|
|
4227
|
+
id: import("mongoose").Types.ObjectId;
|
|
4228
|
+
scopes: number;
|
|
4229
|
+
token: string;
|
|
4230
|
+
_id?: unknown;
|
|
4231
|
+
}> | null | undefined;
|
|
4226
4232
|
}> & {
|
|
4227
4233
|
_id: import("mongoose").Types.ObjectId;
|
|
4228
4234
|
} & {
|
|
@@ -4234,7 +4240,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4234
4240
|
token: string;
|
|
4235
4241
|
username: string;
|
|
4236
4242
|
apiToken: string;
|
|
4237
|
-
|
|
4243
|
+
flags?: number | null | undefined;
|
|
4244
|
+
connections?: {
|
|
4245
|
+
discord?: {
|
|
4246
|
+
id?: string | null | undefined;
|
|
4247
|
+
username?: string | null | undefined;
|
|
4248
|
+
verified?: boolean | null | undefined;
|
|
4249
|
+
} | null | undefined;
|
|
4250
|
+
epic?: {
|
|
4251
|
+
id?: string | null | undefined;
|
|
4252
|
+
username?: string | null | undefined;
|
|
4253
|
+
verified?: boolean | null | undefined;
|
|
4254
|
+
} | null | undefined;
|
|
4255
|
+
} | null | undefined;
|
|
4256
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4238
4257
|
id: import("mongoose").Types.ObjectId;
|
|
4239
4258
|
scopes: number;
|
|
4240
4259
|
token: string;
|
|
@@ -4249,7 +4268,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4249
4268
|
scopes: number;
|
|
4250
4269
|
token: string;
|
|
4251
4270
|
_id?: unknown;
|
|
4252
|
-
}
|
|
4271
|
+
}> | null | undefined;
|
|
4272
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4273
|
+
password: string;
|
|
4274
|
+
email: string;
|
|
4275
|
+
token: string;
|
|
4276
|
+
username: string;
|
|
4277
|
+
apiToken: string;
|
|
4253
4278
|
flags?: number | null | undefined;
|
|
4254
4279
|
connections?: {
|
|
4255
4280
|
discord?: {
|
|
@@ -4263,13 +4288,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4263
4288
|
verified?: boolean | null | undefined;
|
|
4264
4289
|
} | null | undefined;
|
|
4265
4290
|
} | null | undefined;
|
|
4266
|
-
|
|
4267
|
-
password: string;
|
|
4268
|
-
email: string;
|
|
4269
|
-
token: string;
|
|
4270
|
-
username: string;
|
|
4271
|
-
apiToken: string;
|
|
4272
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4291
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4273
4292
|
id: import("mongoose").Types.ObjectId;
|
|
4274
4293
|
scopes: number;
|
|
4275
4294
|
token: string;
|
|
@@ -4284,20 +4303,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4284
4303
|
scopes: number;
|
|
4285
4304
|
token: string;
|
|
4286
4305
|
_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;
|
|
4306
|
+
}> | null | undefined;
|
|
4301
4307
|
}> & {
|
|
4302
4308
|
_id: import("mongoose").Types.ObjectId;
|
|
4303
4309
|
} & {
|
|
@@ -4323,22 +4329,6 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4323
4329
|
token: string;
|
|
4324
4330
|
username: string;
|
|
4325
4331
|
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
4332
|
flags?: number | null | undefined;
|
|
4343
4333
|
connections?: {
|
|
4344
4334
|
discord?: {
|
|
@@ -4352,13 +4342,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4352
4342
|
verified?: boolean | null | undefined;
|
|
4353
4343
|
} | null | undefined;
|
|
4354
4344
|
} | null | undefined;
|
|
4355
|
-
|
|
4356
|
-
password: string;
|
|
4357
|
-
email: string;
|
|
4358
|
-
token: string;
|
|
4359
|
-
username: string;
|
|
4360
|
-
apiToken: string;
|
|
4361
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4345
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4362
4346
|
id: import("mongoose").Types.ObjectId;
|
|
4363
4347
|
scopes: number;
|
|
4364
4348
|
token: string;
|
|
@@ -4373,7 +4357,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4373
4357
|
scopes: number;
|
|
4374
4358
|
token: string;
|
|
4375
4359
|
_id?: unknown;
|
|
4376
|
-
}
|
|
4360
|
+
}> | null | undefined;
|
|
4361
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4362
|
+
password: string;
|
|
4363
|
+
email: string;
|
|
4364
|
+
token: string;
|
|
4365
|
+
username: string;
|
|
4366
|
+
apiToken: string;
|
|
4377
4367
|
flags?: number | null | undefined;
|
|
4378
4368
|
connections?: {
|
|
4379
4369
|
discord?: {
|
|
@@ -4387,13 +4377,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4387
4377
|
verified?: boolean | null | undefined;
|
|
4388
4378
|
} | null | undefined;
|
|
4389
4379
|
} | null | undefined;
|
|
4390
|
-
|
|
4391
|
-
password: string;
|
|
4392
|
-
email: string;
|
|
4393
|
-
token: string;
|
|
4394
|
-
username: string;
|
|
4395
|
-
apiToken: string;
|
|
4396
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4380
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4397
4381
|
id: import("mongoose").Types.ObjectId;
|
|
4398
4382
|
scopes: number;
|
|
4399
4383
|
token: string;
|
|
@@ -4408,7 +4392,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4408
4392
|
scopes: number;
|
|
4409
4393
|
token: string;
|
|
4410
4394
|
_id?: unknown;
|
|
4411
|
-
}
|
|
4395
|
+
}> | null | undefined;
|
|
4396
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4397
|
+
password: string;
|
|
4398
|
+
email: string;
|
|
4399
|
+
token: string;
|
|
4400
|
+
username: string;
|
|
4401
|
+
apiToken: string;
|
|
4412
4402
|
flags?: number | null | undefined;
|
|
4413
4403
|
connections?: {
|
|
4414
4404
|
discord?: {
|
|
@@ -4422,18 +4412,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4422
4412
|
verified?: boolean | null | undefined;
|
|
4423
4413
|
} | null | undefined;
|
|
4424
4414
|
} | 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<{
|
|
4415
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4437
4416
|
id: import("mongoose").Types.ObjectId;
|
|
4438
4417
|
scopes: number;
|
|
4439
4418
|
token: string;
|
|
@@ -4448,7 +4427,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4448
4427
|
scopes: number;
|
|
4449
4428
|
token: string;
|
|
4450
4429
|
_id?: unknown;
|
|
4451
|
-
}
|
|
4430
|
+
}> | null | undefined;
|
|
4431
|
+
}> & {
|
|
4432
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4433
|
+
} & {
|
|
4434
|
+
__v: number;
|
|
4435
|
+
}, any>, password: string, hash: string): Promise<boolean>;
|
|
4436
|
+
findByToken(this: import("mongoose").Model<{
|
|
4437
|
+
password: string;
|
|
4438
|
+
email: string;
|
|
4439
|
+
token: string;
|
|
4440
|
+
username: string;
|
|
4441
|
+
apiToken: string;
|
|
4452
4442
|
flags?: number | null | undefined;
|
|
4453
4443
|
connections?: {
|
|
4454
4444
|
discord?: {
|
|
@@ -4462,13 +4452,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4462
4452
|
verified?: boolean | null | undefined;
|
|
4463
4453
|
} | null | undefined;
|
|
4464
4454
|
} | null | undefined;
|
|
4465
|
-
|
|
4466
|
-
password: string;
|
|
4467
|
-
email: string;
|
|
4468
|
-
token: string;
|
|
4469
|
-
username: string;
|
|
4470
|
-
apiToken: string;
|
|
4471
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4455
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4472
4456
|
id: import("mongoose").Types.ObjectId;
|
|
4473
4457
|
scopes: number;
|
|
4474
4458
|
token: string;
|
|
@@ -4483,7 +4467,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4483
4467
|
scopes: number;
|
|
4484
4468
|
token: string;
|
|
4485
4469
|
_id?: unknown;
|
|
4486
|
-
}
|
|
4470
|
+
}> | null | undefined;
|
|
4471
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4472
|
+
password: string;
|
|
4473
|
+
email: string;
|
|
4474
|
+
token: string;
|
|
4475
|
+
username: string;
|
|
4476
|
+
apiToken: string;
|
|
4487
4477
|
flags?: number | null | undefined;
|
|
4488
4478
|
connections?: {
|
|
4489
4479
|
discord?: {
|
|
@@ -4497,13 +4487,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4497
4487
|
verified?: boolean | null | undefined;
|
|
4498
4488
|
} | null | undefined;
|
|
4499
4489
|
} | null | undefined;
|
|
4500
|
-
|
|
4501
|
-
password: string;
|
|
4502
|
-
email: string;
|
|
4503
|
-
token: string;
|
|
4504
|
-
username: string;
|
|
4505
|
-
apiToken: string;
|
|
4506
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4490
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4507
4491
|
id: import("mongoose").Types.ObjectId;
|
|
4508
4492
|
scopes: number;
|
|
4509
4493
|
token: string;
|
|
@@ -4518,7 +4502,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4518
4502
|
scopes: number;
|
|
4519
4503
|
token: string;
|
|
4520
4504
|
_id?: unknown;
|
|
4521
|
-
}
|
|
4505
|
+
}> | null | undefined;
|
|
4506
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4507
|
+
password: string;
|
|
4508
|
+
email: string;
|
|
4509
|
+
token: string;
|
|
4510
|
+
username: string;
|
|
4511
|
+
apiToken: string;
|
|
4522
4512
|
flags?: number | null | undefined;
|
|
4523
4513
|
connections?: {
|
|
4524
4514
|
discord?: {
|
|
@@ -4532,17 +4522,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4532
4522
|
verified?: boolean | null | undefined;
|
|
4533
4523
|
} | null | undefined;
|
|
4534
4524
|
} | 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<{
|
|
4525
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4546
4526
|
id: import("mongoose").Types.ObjectId;
|
|
4547
4527
|
scopes: number;
|
|
4548
4528
|
token: string;
|
|
@@ -4557,7 +4537,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4557
4537
|
scopes: number;
|
|
4558
4538
|
token: string;
|
|
4559
4539
|
_id?: unknown;
|
|
4560
|
-
}
|
|
4540
|
+
}> | null | undefined;
|
|
4541
|
+
}> & {
|
|
4542
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4543
|
+
} & {
|
|
4544
|
+
__v: number;
|
|
4545
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4546
|
+
password: string;
|
|
4547
|
+
email: string;
|
|
4548
|
+
token: string;
|
|
4549
|
+
username: string;
|
|
4550
|
+
apiToken: string;
|
|
4561
4551
|
flags?: number | null | undefined;
|
|
4562
4552
|
connections?: {
|
|
4563
4553
|
discord?: {
|
|
@@ -4571,13 +4561,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4571
4561
|
verified?: boolean | null | undefined;
|
|
4572
4562
|
} | null | undefined;
|
|
4573
4563
|
} | null | undefined;
|
|
4574
|
-
|
|
4575
|
-
password: string;
|
|
4576
|
-
email: string;
|
|
4577
|
-
token: string;
|
|
4578
|
-
username: string;
|
|
4579
|
-
apiToken: string;
|
|
4580
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4564
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4581
4565
|
id: import("mongoose").Types.ObjectId;
|
|
4582
4566
|
scopes: number;
|
|
4583
4567
|
token: string;
|
|
@@ -4592,7 +4576,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4592
4576
|
scopes: number;
|
|
4593
4577
|
token: string;
|
|
4594
4578
|
_id?: unknown;
|
|
4595
|
-
}
|
|
4579
|
+
}> | null | undefined;
|
|
4580
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4581
|
+
password: string;
|
|
4582
|
+
email: string;
|
|
4583
|
+
token: string;
|
|
4584
|
+
username: string;
|
|
4585
|
+
apiToken: string;
|
|
4596
4586
|
flags?: number | null | undefined;
|
|
4597
4587
|
connections?: {
|
|
4598
4588
|
discord?: {
|
|
@@ -4606,18 +4596,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4606
4596
|
verified?: boolean | null | undefined;
|
|
4607
4597
|
} | null | undefined;
|
|
4608
4598
|
} | 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<{
|
|
4599
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4621
4600
|
id: import("mongoose").Types.ObjectId;
|
|
4622
4601
|
scopes: number;
|
|
4623
4602
|
token: string;
|
|
@@ -4632,7 +4611,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4632
4611
|
scopes: number;
|
|
4633
4612
|
token: string;
|
|
4634
4613
|
_id?: unknown;
|
|
4635
|
-
}
|
|
4614
|
+
}> | null | undefined;
|
|
4615
|
+
}> & {
|
|
4616
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4617
|
+
} & {
|
|
4618
|
+
__v: number;
|
|
4619
|
+
}) | null>;
|
|
4620
|
+
findByAPIToken(this: import("mongoose").Model<{
|
|
4621
|
+
password: string;
|
|
4622
|
+
email: string;
|
|
4623
|
+
token: string;
|
|
4624
|
+
username: string;
|
|
4625
|
+
apiToken: string;
|
|
4636
4626
|
flags?: number | null | undefined;
|
|
4637
4627
|
connections?: {
|
|
4638
4628
|
discord?: {
|
|
@@ -4646,13 +4636,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4646
4636
|
verified?: boolean | null | undefined;
|
|
4647
4637
|
} | null | undefined;
|
|
4648
4638
|
} | null | undefined;
|
|
4649
|
-
|
|
4650
|
-
password: string;
|
|
4651
|
-
email: string;
|
|
4652
|
-
token: string;
|
|
4653
|
-
username: string;
|
|
4654
|
-
apiToken: string;
|
|
4655
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4639
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4656
4640
|
id: import("mongoose").Types.ObjectId;
|
|
4657
4641
|
scopes: number;
|
|
4658
4642
|
token: string;
|
|
@@ -4667,7 +4651,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4667
4651
|
scopes: number;
|
|
4668
4652
|
token: string;
|
|
4669
4653
|
_id?: unknown;
|
|
4670
|
-
}
|
|
4654
|
+
}> | null | undefined;
|
|
4655
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4656
|
+
password: string;
|
|
4657
|
+
email: string;
|
|
4658
|
+
token: string;
|
|
4659
|
+
username: string;
|
|
4660
|
+
apiToken: string;
|
|
4671
4661
|
flags?: number | null | undefined;
|
|
4672
4662
|
connections?: {
|
|
4673
4663
|
discord?: {
|
|
@@ -4681,13 +4671,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4681
4671
|
verified?: boolean | null | undefined;
|
|
4682
4672
|
} | null | undefined;
|
|
4683
4673
|
} | null | undefined;
|
|
4684
|
-
|
|
4685
|
-
password: string;
|
|
4686
|
-
email: string;
|
|
4687
|
-
token: string;
|
|
4688
|
-
username: string;
|
|
4689
|
-
apiToken: string;
|
|
4690
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4674
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4691
4675
|
id: import("mongoose").Types.ObjectId;
|
|
4692
4676
|
scopes: number;
|
|
4693
4677
|
token: string;
|
|
@@ -4702,7 +4686,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4702
4686
|
scopes: number;
|
|
4703
4687
|
token: string;
|
|
4704
4688
|
_id?: unknown;
|
|
4705
|
-
}
|
|
4689
|
+
}> | null | undefined;
|
|
4690
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4691
|
+
password: string;
|
|
4692
|
+
email: string;
|
|
4693
|
+
token: string;
|
|
4694
|
+
username: string;
|
|
4695
|
+
apiToken: string;
|
|
4706
4696
|
flags?: number | null | undefined;
|
|
4707
4697
|
connections?: {
|
|
4708
4698
|
discord?: {
|
|
@@ -4716,17 +4706,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4716
4706
|
verified?: boolean | null | undefined;
|
|
4717
4707
|
} | null | undefined;
|
|
4718
4708
|
} | 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<{
|
|
4709
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4730
4710
|
id: import("mongoose").Types.ObjectId;
|
|
4731
4711
|
scopes: number;
|
|
4732
4712
|
token: string;
|
|
@@ -4741,7 +4721,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4741
4721
|
scopes: number;
|
|
4742
4722
|
token: string;
|
|
4743
4723
|
_id?: unknown;
|
|
4744
|
-
}
|
|
4724
|
+
}> | null | undefined;
|
|
4725
|
+
}> & {
|
|
4726
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4727
|
+
} & {
|
|
4728
|
+
__v: number;
|
|
4729
|
+
}, any>, id: string, auth: string): Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4730
|
+
password: string;
|
|
4731
|
+
email: string;
|
|
4732
|
+
token: string;
|
|
4733
|
+
username: string;
|
|
4734
|
+
apiToken: string;
|
|
4745
4735
|
flags?: number | null | undefined;
|
|
4746
4736
|
connections?: {
|
|
4747
4737
|
discord?: {
|
|
@@ -4755,13 +4745,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4755
4745
|
verified?: boolean | null | undefined;
|
|
4756
4746
|
} | null | undefined;
|
|
4757
4747
|
} | null | undefined;
|
|
4758
|
-
|
|
4759
|
-
password: string;
|
|
4760
|
-
email: string;
|
|
4761
|
-
token: string;
|
|
4762
|
-
username: string;
|
|
4763
|
-
apiToken: string;
|
|
4764
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4748
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4765
4749
|
id: import("mongoose").Types.ObjectId;
|
|
4766
4750
|
scopes: number;
|
|
4767
4751
|
token: string;
|
|
@@ -4776,7 +4760,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4776
4760
|
scopes: number;
|
|
4777
4761
|
token: string;
|
|
4778
4762
|
_id?: unknown;
|
|
4779
|
-
}
|
|
4763
|
+
}> | null | undefined;
|
|
4764
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4765
|
+
password: string;
|
|
4766
|
+
email: string;
|
|
4767
|
+
token: string;
|
|
4768
|
+
username: string;
|
|
4769
|
+
apiToken: string;
|
|
4780
4770
|
flags?: number | null | undefined;
|
|
4781
4771
|
connections?: {
|
|
4782
4772
|
discord?: {
|
|
@@ -4790,18 +4780,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4790
4780
|
verified?: boolean | null | undefined;
|
|
4791
4781
|
} | null | undefined;
|
|
4792
4782
|
} | 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<{
|
|
4783
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4805
4784
|
id: import("mongoose").Types.ObjectId;
|
|
4806
4785
|
scopes: number;
|
|
4807
4786
|
token: string;
|
|
@@ -4816,7 +4795,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4816
4795
|
scopes: number;
|
|
4817
4796
|
token: string;
|
|
4818
4797
|
_id?: unknown;
|
|
4819
|
-
}
|
|
4798
|
+
}> | null | undefined;
|
|
4799
|
+
}> & {
|
|
4800
|
+
_id: import("mongoose").Types.ObjectId;
|
|
4801
|
+
} & {
|
|
4802
|
+
__v: number;
|
|
4803
|
+
}) | null>;
|
|
4804
|
+
findByAccessToken(this: import("mongoose").Model<{
|
|
4805
|
+
password: string;
|
|
4806
|
+
email: string;
|
|
4807
|
+
token: string;
|
|
4808
|
+
username: string;
|
|
4809
|
+
apiToken: string;
|
|
4820
4810
|
flags?: number | null | undefined;
|
|
4821
4811
|
connections?: {
|
|
4822
4812
|
discord?: {
|
|
@@ -4830,13 +4820,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4830
4820
|
verified?: boolean | null | undefined;
|
|
4831
4821
|
} | null | undefined;
|
|
4832
4822
|
} | null | undefined;
|
|
4833
|
-
|
|
4834
|
-
password: string;
|
|
4835
|
-
email: string;
|
|
4836
|
-
token: string;
|
|
4837
|
-
username: string;
|
|
4838
|
-
apiToken: string;
|
|
4839
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4823
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4840
4824
|
id: import("mongoose").Types.ObjectId;
|
|
4841
4825
|
scopes: number;
|
|
4842
4826
|
token: string;
|
|
@@ -4851,7 +4835,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4851
4835
|
scopes: number;
|
|
4852
4836
|
token: string;
|
|
4853
4837
|
_id?: unknown;
|
|
4854
|
-
}
|
|
4838
|
+
}> | null | undefined;
|
|
4839
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
4840
|
+
password: string;
|
|
4841
|
+
email: string;
|
|
4842
|
+
token: string;
|
|
4843
|
+
username: string;
|
|
4844
|
+
apiToken: string;
|
|
4855
4845
|
flags?: number | null | undefined;
|
|
4856
4846
|
connections?: {
|
|
4857
4847
|
discord?: {
|
|
@@ -4865,13 +4855,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4865
4855
|
verified?: boolean | null | undefined;
|
|
4866
4856
|
} | null | undefined;
|
|
4867
4857
|
} | null | undefined;
|
|
4868
|
-
|
|
4869
|
-
password: string;
|
|
4870
|
-
email: string;
|
|
4871
|
-
token: string;
|
|
4872
|
-
username: string;
|
|
4873
|
-
apiToken: string;
|
|
4874
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4858
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4875
4859
|
id: import("mongoose").Types.ObjectId;
|
|
4876
4860
|
scopes: number;
|
|
4877
4861
|
token: string;
|
|
@@ -4886,7 +4870,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4886
4870
|
scopes: number;
|
|
4887
4871
|
token: string;
|
|
4888
4872
|
_id?: unknown;
|
|
4889
|
-
}
|
|
4873
|
+
}> | null | undefined;
|
|
4874
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4875
|
+
password: string;
|
|
4876
|
+
email: string;
|
|
4877
|
+
token: string;
|
|
4878
|
+
username: string;
|
|
4879
|
+
apiToken: string;
|
|
4890
4880
|
flags?: number | null | undefined;
|
|
4891
4881
|
connections?: {
|
|
4892
4882
|
discord?: {
|
|
@@ -4900,6 +4890,22 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4900
4890
|
verified?: boolean | null | undefined;
|
|
4901
4891
|
} | null | undefined;
|
|
4902
4892
|
} | null | undefined;
|
|
4893
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4894
|
+
id: import("mongoose").Types.ObjectId;
|
|
4895
|
+
scopes: number;
|
|
4896
|
+
token: string;
|
|
4897
|
+
_id?: unknown;
|
|
4898
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
4899
|
+
id: import("mongoose").Types.ObjectId;
|
|
4900
|
+
scopes: number;
|
|
4901
|
+
token: string;
|
|
4902
|
+
_id?: unknown;
|
|
4903
|
+
}> & {
|
|
4904
|
+
id: import("mongoose").Types.ObjectId;
|
|
4905
|
+
scopes: number;
|
|
4906
|
+
token: string;
|
|
4907
|
+
_id?: unknown;
|
|
4908
|
+
}> | null | undefined;
|
|
4903
4909
|
}> & {
|
|
4904
4910
|
_id: import("mongoose").Types.ObjectId;
|
|
4905
4911
|
} & {
|
|
@@ -4911,7 +4917,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4911
4917
|
token: string;
|
|
4912
4918
|
username: string;
|
|
4913
4919
|
apiToken: string;
|
|
4914
|
-
|
|
4920
|
+
flags?: number | null | undefined;
|
|
4921
|
+
connections?: {
|
|
4922
|
+
discord?: {
|
|
4923
|
+
id?: string | null | undefined;
|
|
4924
|
+
username?: string | null | undefined;
|
|
4925
|
+
verified?: boolean | null | undefined;
|
|
4926
|
+
} | null | undefined;
|
|
4927
|
+
epic?: {
|
|
4928
|
+
id?: string | null | undefined;
|
|
4929
|
+
username?: string | null | undefined;
|
|
4930
|
+
verified?: boolean | null | undefined;
|
|
4931
|
+
} | null | undefined;
|
|
4932
|
+
} | null | undefined;
|
|
4933
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4915
4934
|
id: import("mongoose").Types.ObjectId;
|
|
4916
4935
|
scopes: number;
|
|
4917
4936
|
token: string;
|
|
@@ -4926,7 +4945,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4926
4945
|
scopes: number;
|
|
4927
4946
|
token: string;
|
|
4928
4947
|
_id?: unknown;
|
|
4929
|
-
}
|
|
4948
|
+
}> | null | undefined;
|
|
4949
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
4950
|
+
password: string;
|
|
4951
|
+
email: string;
|
|
4952
|
+
token: string;
|
|
4953
|
+
username: string;
|
|
4954
|
+
apiToken: string;
|
|
4930
4955
|
flags?: number | null | undefined;
|
|
4931
4956
|
connections?: {
|
|
4932
4957
|
discord?: {
|
|
@@ -4940,13 +4965,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4940
4965
|
verified?: boolean | null | undefined;
|
|
4941
4966
|
} | null | undefined;
|
|
4942
4967
|
} | null | undefined;
|
|
4943
|
-
|
|
4944
|
-
password: string;
|
|
4945
|
-
email: string;
|
|
4946
|
-
token: string;
|
|
4947
|
-
username: string;
|
|
4948
|
-
apiToken: string;
|
|
4949
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
4968
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
4950
4969
|
id: import("mongoose").Types.ObjectId;
|
|
4951
4970
|
scopes: number;
|
|
4952
4971
|
token: string;
|
|
@@ -4961,20 +4980,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4961
4980
|
scopes: number;
|
|
4962
4981
|
token: string;
|
|
4963
4982
|
_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;
|
|
4983
|
+
}> | null | undefined;
|
|
4978
4984
|
}> & {
|
|
4979
4985
|
_id: import("mongoose").Types.ObjectId;
|
|
4980
4986
|
} & {
|
|
@@ -4999,7 +5005,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
4999
5005
|
token: string;
|
|
5000
5006
|
username: string;
|
|
5001
5007
|
apiToken: string;
|
|
5002
|
-
|
|
5008
|
+
flags?: number | null | undefined;
|
|
5009
|
+
connections?: {
|
|
5010
|
+
discord?: {
|
|
5011
|
+
id?: string | null | undefined;
|
|
5012
|
+
username?: string | null | undefined;
|
|
5013
|
+
verified?: boolean | null | undefined;
|
|
5014
|
+
} | null | undefined;
|
|
5015
|
+
epic?: {
|
|
5016
|
+
id?: string | null | undefined;
|
|
5017
|
+
username?: string | null | undefined;
|
|
5018
|
+
verified?: boolean | null | undefined;
|
|
5019
|
+
} | null | undefined;
|
|
5020
|
+
} | null | undefined;
|
|
5021
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5003
5022
|
id: import("mongoose").Types.ObjectId;
|
|
5004
5023
|
scopes: number;
|
|
5005
5024
|
token: string;
|
|
@@ -5014,7 +5033,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5014
5033
|
scopes: number;
|
|
5015
5034
|
token: string;
|
|
5016
5035
|
_id?: unknown;
|
|
5017
|
-
}
|
|
5036
|
+
}> | null | undefined;
|
|
5037
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5038
|
+
password: string;
|
|
5039
|
+
email: string;
|
|
5040
|
+
token: string;
|
|
5041
|
+
username: string;
|
|
5042
|
+
apiToken: string;
|
|
5018
5043
|
flags?: number | null | undefined;
|
|
5019
5044
|
connections?: {
|
|
5020
5045
|
discord?: {
|
|
@@ -5028,13 +5053,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5028
5053
|
verified?: boolean | null | undefined;
|
|
5029
5054
|
} | null | undefined;
|
|
5030
5055
|
} | null | undefined;
|
|
5031
|
-
|
|
5032
|
-
password: string;
|
|
5033
|
-
email: string;
|
|
5034
|
-
token: string;
|
|
5035
|
-
username: string;
|
|
5036
|
-
apiToken: string;
|
|
5037
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5056
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5038
5057
|
id: import("mongoose").Types.ObjectId;
|
|
5039
5058
|
scopes: number;
|
|
5040
5059
|
token: string;
|
|
@@ -5049,7 +5068,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5049
5068
|
scopes: number;
|
|
5050
5069
|
token: string;
|
|
5051
5070
|
_id?: unknown;
|
|
5052
|
-
}
|
|
5071
|
+
}> | null | undefined;
|
|
5072
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5073
|
+
password: string;
|
|
5074
|
+
email: string;
|
|
5075
|
+
token: string;
|
|
5076
|
+
username: string;
|
|
5077
|
+
apiToken: string;
|
|
5053
5078
|
flags?: number | null | undefined;
|
|
5054
5079
|
connections?: {
|
|
5055
5080
|
discord?: {
|
|
@@ -5063,13 +5088,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5063
5088
|
verified?: boolean | null | undefined;
|
|
5064
5089
|
} | null | undefined;
|
|
5065
5090
|
} | null | undefined;
|
|
5066
|
-
|
|
5067
|
-
password: string;
|
|
5068
|
-
email: string;
|
|
5069
|
-
token: string;
|
|
5070
|
-
username: string;
|
|
5071
|
-
apiToken: string;
|
|
5072
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5091
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5073
5092
|
id: import("mongoose").Types.ObjectId;
|
|
5074
5093
|
scopes: number;
|
|
5075
5094
|
token: string;
|
|
@@ -5084,20 +5103,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5084
5103
|
scopes: number;
|
|
5085
5104
|
token: string;
|
|
5086
5105
|
_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;
|
|
5106
|
+
}> | null | undefined;
|
|
5101
5107
|
}> & {
|
|
5102
5108
|
_id: import("mongoose").Types.ObjectId;
|
|
5103
5109
|
} & {
|
|
@@ -5109,7 +5115,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5109
5115
|
token: string;
|
|
5110
5116
|
username: string;
|
|
5111
5117
|
apiToken: string;
|
|
5112
|
-
|
|
5118
|
+
flags?: number | null | undefined;
|
|
5119
|
+
connections?: {
|
|
5120
|
+
discord?: {
|
|
5121
|
+
id?: string | null | undefined;
|
|
5122
|
+
username?: string | null | undefined;
|
|
5123
|
+
verified?: boolean | null | undefined;
|
|
5124
|
+
} | null | undefined;
|
|
5125
|
+
epic?: {
|
|
5126
|
+
id?: string | null | undefined;
|
|
5127
|
+
username?: string | null | undefined;
|
|
5128
|
+
verified?: boolean | null | undefined;
|
|
5129
|
+
} | null | undefined;
|
|
5130
|
+
} | null | undefined;
|
|
5131
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5113
5132
|
id: import("mongoose").Types.ObjectId;
|
|
5114
5133
|
scopes: number;
|
|
5115
5134
|
token: string;
|
|
@@ -5124,7 +5143,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5124
5143
|
scopes: number;
|
|
5125
5144
|
token: string;
|
|
5126
5145
|
_id?: unknown;
|
|
5127
|
-
}
|
|
5146
|
+
}> | null | undefined;
|
|
5147
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5148
|
+
password: string;
|
|
5149
|
+
email: string;
|
|
5150
|
+
token: string;
|
|
5151
|
+
username: string;
|
|
5152
|
+
apiToken: string;
|
|
5128
5153
|
flags?: number | null | undefined;
|
|
5129
5154
|
connections?: {
|
|
5130
5155
|
discord?: {
|
|
@@ -5138,13 +5163,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5138
5163
|
verified?: boolean | null | undefined;
|
|
5139
5164
|
} | null | undefined;
|
|
5140
5165
|
} | null | undefined;
|
|
5141
|
-
|
|
5142
|
-
password: string;
|
|
5143
|
-
email: string;
|
|
5144
|
-
token: string;
|
|
5145
|
-
username: string;
|
|
5146
|
-
apiToken: string;
|
|
5147
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5166
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5148
5167
|
id: import("mongoose").Types.ObjectId;
|
|
5149
5168
|
scopes: number;
|
|
5150
5169
|
token: string;
|
|
@@ -5159,7 +5178,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5159
5178
|
scopes: number;
|
|
5160
5179
|
token: string;
|
|
5161
5180
|
_id?: unknown;
|
|
5162
|
-
}
|
|
5181
|
+
}> | null | undefined;
|
|
5182
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5183
|
+
password: string;
|
|
5184
|
+
email: string;
|
|
5185
|
+
token: string;
|
|
5186
|
+
username: string;
|
|
5187
|
+
apiToken: string;
|
|
5163
5188
|
flags?: number | null | undefined;
|
|
5164
5189
|
connections?: {
|
|
5165
5190
|
discord?: {
|
|
@@ -5173,13 +5198,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5173
5198
|
verified?: boolean | null | undefined;
|
|
5174
5199
|
} | null | undefined;
|
|
5175
5200
|
} | null | undefined;
|
|
5176
|
-
|
|
5177
|
-
password: string;
|
|
5178
|
-
email: string;
|
|
5179
|
-
token: string;
|
|
5180
|
-
username: string;
|
|
5181
|
-
apiToken: string;
|
|
5182
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5201
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5183
5202
|
id: import("mongoose").Types.ObjectId;
|
|
5184
5203
|
scopes: number;
|
|
5185
5204
|
token: string;
|
|
@@ -5194,7 +5213,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5194
5213
|
scopes: number;
|
|
5195
5214
|
token: string;
|
|
5196
5215
|
_id?: unknown;
|
|
5197
|
-
}
|
|
5216
|
+
}> | null | undefined;
|
|
5217
|
+
}> & {
|
|
5218
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5219
|
+
} & {
|
|
5220
|
+
__v: number;
|
|
5221
|
+
}, any>, password: string, hash: string) => Promise<boolean>;
|
|
5222
|
+
findByToken: (this: import("mongoose").Model<{
|
|
5223
|
+
password: string;
|
|
5224
|
+
email: string;
|
|
5225
|
+
token: string;
|
|
5226
|
+
username: string;
|
|
5227
|
+
apiToken: string;
|
|
5198
5228
|
flags?: number | null | undefined;
|
|
5199
5229
|
connections?: {
|
|
5200
5230
|
discord?: {
|
|
@@ -5208,18 +5238,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5208
5238
|
verified?: boolean | null | undefined;
|
|
5209
5239
|
} | null | undefined;
|
|
5210
5240
|
} | 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<{
|
|
5241
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5223
5242
|
id: import("mongoose").Types.ObjectId;
|
|
5224
5243
|
scopes: number;
|
|
5225
5244
|
token: string;
|
|
@@ -5234,7 +5253,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5234
5253
|
scopes: number;
|
|
5235
5254
|
token: string;
|
|
5236
5255
|
_id?: unknown;
|
|
5237
|
-
}
|
|
5256
|
+
}> | null | undefined;
|
|
5257
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5258
|
+
password: string;
|
|
5259
|
+
email: string;
|
|
5260
|
+
token: string;
|
|
5261
|
+
username: string;
|
|
5262
|
+
apiToken: string;
|
|
5238
5263
|
flags?: number | null | undefined;
|
|
5239
5264
|
connections?: {
|
|
5240
5265
|
discord?: {
|
|
@@ -5248,13 +5273,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5248
5273
|
verified?: boolean | null | undefined;
|
|
5249
5274
|
} | null | undefined;
|
|
5250
5275
|
} | null | undefined;
|
|
5251
|
-
|
|
5252
|
-
password: string;
|
|
5253
|
-
email: string;
|
|
5254
|
-
token: string;
|
|
5255
|
-
username: string;
|
|
5256
|
-
apiToken: string;
|
|
5257
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5276
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5258
5277
|
id: import("mongoose").Types.ObjectId;
|
|
5259
5278
|
scopes: number;
|
|
5260
5279
|
token: string;
|
|
@@ -5269,7 +5288,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5269
5288
|
scopes: number;
|
|
5270
5289
|
token: string;
|
|
5271
5290
|
_id?: unknown;
|
|
5272
|
-
}
|
|
5291
|
+
}> | null | undefined;
|
|
5292
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5293
|
+
password: string;
|
|
5294
|
+
email: string;
|
|
5295
|
+
token: string;
|
|
5296
|
+
username: string;
|
|
5297
|
+
apiToken: string;
|
|
5273
5298
|
flags?: number | null | undefined;
|
|
5274
5299
|
connections?: {
|
|
5275
5300
|
discord?: {
|
|
@@ -5283,13 +5308,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5283
5308
|
verified?: boolean | null | undefined;
|
|
5284
5309
|
} | null | undefined;
|
|
5285
5310
|
} | null | undefined;
|
|
5286
|
-
|
|
5287
|
-
password: string;
|
|
5288
|
-
email: string;
|
|
5289
|
-
token: string;
|
|
5290
|
-
username: string;
|
|
5291
|
-
apiToken: string;
|
|
5292
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5311
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5293
5312
|
id: import("mongoose").Types.ObjectId;
|
|
5294
5313
|
scopes: number;
|
|
5295
5314
|
token: string;
|
|
@@ -5304,7 +5323,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5304
5323
|
scopes: number;
|
|
5305
5324
|
token: string;
|
|
5306
5325
|
_id?: unknown;
|
|
5307
|
-
}
|
|
5326
|
+
}> | null | undefined;
|
|
5327
|
+
}> & {
|
|
5328
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5329
|
+
} & {
|
|
5330
|
+
__v: number;
|
|
5331
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5332
|
+
password: string;
|
|
5333
|
+
email: string;
|
|
5334
|
+
token: string;
|
|
5335
|
+
username: string;
|
|
5336
|
+
apiToken: string;
|
|
5308
5337
|
flags?: number | null | undefined;
|
|
5309
5338
|
connections?: {
|
|
5310
5339
|
discord?: {
|
|
@@ -5318,17 +5347,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5318
5347
|
verified?: boolean | null | undefined;
|
|
5319
5348
|
} | null | undefined;
|
|
5320
5349
|
} | 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<{
|
|
5350
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5332
5351
|
id: import("mongoose").Types.ObjectId;
|
|
5333
5352
|
scopes: number;
|
|
5334
5353
|
token: string;
|
|
@@ -5343,7 +5362,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5343
5362
|
scopes: number;
|
|
5344
5363
|
token: string;
|
|
5345
5364
|
_id?: unknown;
|
|
5346
|
-
}
|
|
5365
|
+
}> | null | undefined;
|
|
5366
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5367
|
+
password: string;
|
|
5368
|
+
email: string;
|
|
5369
|
+
token: string;
|
|
5370
|
+
username: string;
|
|
5371
|
+
apiToken: string;
|
|
5347
5372
|
flags?: number | null | undefined;
|
|
5348
5373
|
connections?: {
|
|
5349
5374
|
discord?: {
|
|
@@ -5357,13 +5382,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5357
5382
|
verified?: boolean | null | undefined;
|
|
5358
5383
|
} | null | undefined;
|
|
5359
5384
|
} | null | undefined;
|
|
5360
|
-
|
|
5361
|
-
password: string;
|
|
5362
|
-
email: string;
|
|
5363
|
-
token: string;
|
|
5364
|
-
username: string;
|
|
5365
|
-
apiToken: string;
|
|
5366
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5385
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5367
5386
|
id: import("mongoose").Types.ObjectId;
|
|
5368
5387
|
scopes: number;
|
|
5369
5388
|
token: string;
|
|
@@ -5378,7 +5397,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5378
5397
|
scopes: number;
|
|
5379
5398
|
token: string;
|
|
5380
5399
|
_id?: unknown;
|
|
5381
|
-
}
|
|
5400
|
+
}> | null | undefined;
|
|
5401
|
+
}> & {
|
|
5402
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5403
|
+
} & {
|
|
5404
|
+
__v: number;
|
|
5405
|
+
}) | null>;
|
|
5406
|
+
findByAPIToken: (this: import("mongoose").Model<{
|
|
5407
|
+
password: string;
|
|
5408
|
+
email: string;
|
|
5409
|
+
token: string;
|
|
5410
|
+
username: string;
|
|
5411
|
+
apiToken: string;
|
|
5382
5412
|
flags?: number | null | undefined;
|
|
5383
5413
|
connections?: {
|
|
5384
5414
|
discord?: {
|
|
@@ -5392,18 +5422,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5392
5422
|
verified?: boolean | null | undefined;
|
|
5393
5423
|
} | null | undefined;
|
|
5394
5424
|
} | 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<{
|
|
5425
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5407
5426
|
id: import("mongoose").Types.ObjectId;
|
|
5408
5427
|
scopes: number;
|
|
5409
5428
|
token: string;
|
|
@@ -5418,7 +5437,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5418
5437
|
scopes: number;
|
|
5419
5438
|
token: string;
|
|
5420
5439
|
_id?: unknown;
|
|
5421
|
-
}
|
|
5440
|
+
}> | null | undefined;
|
|
5441
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5442
|
+
password: string;
|
|
5443
|
+
email: string;
|
|
5444
|
+
token: string;
|
|
5445
|
+
username: string;
|
|
5446
|
+
apiToken: string;
|
|
5422
5447
|
flags?: number | null | undefined;
|
|
5423
5448
|
connections?: {
|
|
5424
5449
|
discord?: {
|
|
@@ -5432,13 +5457,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5432
5457
|
verified?: boolean | null | undefined;
|
|
5433
5458
|
} | null | undefined;
|
|
5434
5459
|
} | null | undefined;
|
|
5435
|
-
|
|
5436
|
-
password: string;
|
|
5437
|
-
email: string;
|
|
5438
|
-
token: string;
|
|
5439
|
-
username: string;
|
|
5440
|
-
apiToken: string;
|
|
5441
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5460
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5442
5461
|
id: import("mongoose").Types.ObjectId;
|
|
5443
5462
|
scopes: number;
|
|
5444
5463
|
token: string;
|
|
@@ -5453,7 +5472,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5453
5472
|
scopes: number;
|
|
5454
5473
|
token: string;
|
|
5455
5474
|
_id?: unknown;
|
|
5456
|
-
}
|
|
5475
|
+
}> | null | undefined;
|
|
5476
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5477
|
+
password: string;
|
|
5478
|
+
email: string;
|
|
5479
|
+
token: string;
|
|
5480
|
+
username: string;
|
|
5481
|
+
apiToken: string;
|
|
5457
5482
|
flags?: number | null | undefined;
|
|
5458
5483
|
connections?: {
|
|
5459
5484
|
discord?: {
|
|
@@ -5467,13 +5492,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5467
5492
|
verified?: boolean | null | undefined;
|
|
5468
5493
|
} | null | undefined;
|
|
5469
5494
|
} | null | undefined;
|
|
5470
|
-
|
|
5471
|
-
password: string;
|
|
5472
|
-
email: string;
|
|
5473
|
-
token: string;
|
|
5474
|
-
username: string;
|
|
5475
|
-
apiToken: string;
|
|
5476
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5495
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5477
5496
|
id: import("mongoose").Types.ObjectId;
|
|
5478
5497
|
scopes: number;
|
|
5479
5498
|
token: string;
|
|
@@ -5488,7 +5507,17 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5488
5507
|
scopes: number;
|
|
5489
5508
|
token: string;
|
|
5490
5509
|
_id?: unknown;
|
|
5491
|
-
}
|
|
5510
|
+
}> | null | undefined;
|
|
5511
|
+
}> & {
|
|
5512
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5513
|
+
} & {
|
|
5514
|
+
__v: number;
|
|
5515
|
+
}, any>, id: string, auth: string) => Promise<(import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5516
|
+
password: string;
|
|
5517
|
+
email: string;
|
|
5518
|
+
token: string;
|
|
5519
|
+
username: string;
|
|
5520
|
+
apiToken: string;
|
|
5492
5521
|
flags?: number | null | undefined;
|
|
5493
5522
|
connections?: {
|
|
5494
5523
|
discord?: {
|
|
@@ -5502,17 +5531,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5502
5531
|
verified?: boolean | null | undefined;
|
|
5503
5532
|
} | null | undefined;
|
|
5504
5533
|
} | 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<{
|
|
5534
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5516
5535
|
id: import("mongoose").Types.ObjectId;
|
|
5517
5536
|
scopes: number;
|
|
5518
5537
|
token: string;
|
|
@@ -5527,7 +5546,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5527
5546
|
scopes: number;
|
|
5528
5547
|
token: string;
|
|
5529
5548
|
_id?: unknown;
|
|
5530
|
-
}
|
|
5549
|
+
}> | null | undefined;
|
|
5550
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5551
|
+
password: string;
|
|
5552
|
+
email: string;
|
|
5553
|
+
token: string;
|
|
5554
|
+
username: string;
|
|
5555
|
+
apiToken: string;
|
|
5531
5556
|
flags?: number | null | undefined;
|
|
5532
5557
|
connections?: {
|
|
5533
5558
|
discord?: {
|
|
@@ -5541,13 +5566,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5541
5566
|
verified?: boolean | null | undefined;
|
|
5542
5567
|
} | null | undefined;
|
|
5543
5568
|
} | null | undefined;
|
|
5544
|
-
|
|
5545
|
-
password: string;
|
|
5546
|
-
email: string;
|
|
5547
|
-
token: string;
|
|
5548
|
-
username: string;
|
|
5549
|
-
apiToken: string;
|
|
5550
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5569
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5551
5570
|
id: import("mongoose").Types.ObjectId;
|
|
5552
5571
|
scopes: number;
|
|
5553
5572
|
token: string;
|
|
@@ -5562,7 +5581,18 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5562
5581
|
scopes: number;
|
|
5563
5582
|
token: string;
|
|
5564
5583
|
_id?: unknown;
|
|
5565
|
-
}
|
|
5584
|
+
}> | null | undefined;
|
|
5585
|
+
}> & {
|
|
5586
|
+
_id: import("mongoose").Types.ObjectId;
|
|
5587
|
+
} & {
|
|
5588
|
+
__v: number;
|
|
5589
|
+
}) | null>;
|
|
5590
|
+
findByAccessToken: (this: import("mongoose").Model<{
|
|
5591
|
+
password: string;
|
|
5592
|
+
email: string;
|
|
5593
|
+
token: string;
|
|
5594
|
+
username: string;
|
|
5595
|
+
apiToken: string;
|
|
5566
5596
|
flags?: number | null | undefined;
|
|
5567
5597
|
connections?: {
|
|
5568
5598
|
discord?: {
|
|
@@ -5576,18 +5606,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5576
5606
|
verified?: boolean | null | undefined;
|
|
5577
5607
|
} | null | undefined;
|
|
5578
5608
|
} | 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<{
|
|
5609
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5591
5610
|
id: import("mongoose").Types.ObjectId;
|
|
5592
5611
|
scopes: number;
|
|
5593
5612
|
token: string;
|
|
@@ -5602,7 +5621,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5602
5621
|
scopes: number;
|
|
5603
5622
|
token: string;
|
|
5604
5623
|
_id?: unknown;
|
|
5605
|
-
}
|
|
5624
|
+
}> | null | undefined;
|
|
5625
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
5626
|
+
password: string;
|
|
5627
|
+
email: string;
|
|
5628
|
+
token: string;
|
|
5629
|
+
username: string;
|
|
5630
|
+
apiToken: string;
|
|
5606
5631
|
flags?: number | null | undefined;
|
|
5607
5632
|
connections?: {
|
|
5608
5633
|
discord?: {
|
|
@@ -5616,13 +5641,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5616
5641
|
verified?: boolean | null | undefined;
|
|
5617
5642
|
} | null | undefined;
|
|
5618
5643
|
} | null | undefined;
|
|
5619
|
-
|
|
5620
|
-
password: string;
|
|
5621
|
-
email: string;
|
|
5622
|
-
token: string;
|
|
5623
|
-
username: string;
|
|
5624
|
-
apiToken: string;
|
|
5625
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5644
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5626
5645
|
id: import("mongoose").Types.ObjectId;
|
|
5627
5646
|
scopes: number;
|
|
5628
5647
|
token: string;
|
|
@@ -5637,7 +5656,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5637
5656
|
scopes: number;
|
|
5638
5657
|
token: string;
|
|
5639
5658
|
_id?: unknown;
|
|
5640
|
-
}
|
|
5659
|
+
}> | null | undefined;
|
|
5660
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5661
|
+
password: string;
|
|
5662
|
+
email: string;
|
|
5663
|
+
token: string;
|
|
5664
|
+
username: string;
|
|
5665
|
+
apiToken: string;
|
|
5641
5666
|
flags?: number | null | undefined;
|
|
5642
5667
|
connections?: {
|
|
5643
5668
|
discord?: {
|
|
@@ -5651,13 +5676,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5651
5676
|
verified?: boolean | null | undefined;
|
|
5652
5677
|
} | null | undefined;
|
|
5653
5678
|
} | null | undefined;
|
|
5654
|
-
|
|
5655
|
-
password: string;
|
|
5656
|
-
email: string;
|
|
5657
|
-
token: string;
|
|
5658
|
-
username: string;
|
|
5659
|
-
apiToken: string;
|
|
5660
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5679
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5661
5680
|
id: import("mongoose").Types.ObjectId;
|
|
5662
5681
|
scopes: number;
|
|
5663
5682
|
token: string;
|
|
@@ -5672,20 +5691,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5672
5691
|
scopes: number;
|
|
5673
5692
|
token: string;
|
|
5674
5693
|
_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;
|
|
5694
|
+
}> | null | undefined;
|
|
5689
5695
|
}> & {
|
|
5690
5696
|
_id: import("mongoose").Types.ObjectId;
|
|
5691
5697
|
} & {
|
|
@@ -5697,7 +5703,20 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5697
5703
|
token: string;
|
|
5698
5704
|
username: string;
|
|
5699
5705
|
apiToken: string;
|
|
5700
|
-
|
|
5706
|
+
flags?: number | null | undefined;
|
|
5707
|
+
connections?: {
|
|
5708
|
+
discord?: {
|
|
5709
|
+
id?: string | null | undefined;
|
|
5710
|
+
username?: string | null | undefined;
|
|
5711
|
+
verified?: boolean | null | undefined;
|
|
5712
|
+
} | null | undefined;
|
|
5713
|
+
epic?: {
|
|
5714
|
+
id?: string | null | undefined;
|
|
5715
|
+
username?: string | null | undefined;
|
|
5716
|
+
verified?: boolean | null | undefined;
|
|
5717
|
+
} | null | undefined;
|
|
5718
|
+
} | null | undefined;
|
|
5719
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5701
5720
|
id: import("mongoose").Types.ObjectId;
|
|
5702
5721
|
scopes: number;
|
|
5703
5722
|
token: string;
|
|
@@ -5712,7 +5731,13 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5712
5731
|
scopes: number;
|
|
5713
5732
|
token: string;
|
|
5714
5733
|
_id?: unknown;
|
|
5715
|
-
}
|
|
5734
|
+
}> | null | undefined;
|
|
5735
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
5736
|
+
password: string;
|
|
5737
|
+
email: string;
|
|
5738
|
+
token: string;
|
|
5739
|
+
username: string;
|
|
5740
|
+
apiToken: string;
|
|
5716
5741
|
flags?: number | null | undefined;
|
|
5717
5742
|
connections?: {
|
|
5718
5743
|
discord?: {
|
|
@@ -5726,13 +5751,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5726
5751
|
verified?: boolean | null | undefined;
|
|
5727
5752
|
} | null | undefined;
|
|
5728
5753
|
} | null | undefined;
|
|
5729
|
-
|
|
5730
|
-
password: string;
|
|
5731
|
-
email: string;
|
|
5732
|
-
token: string;
|
|
5733
|
-
username: string;
|
|
5734
|
-
apiToken: string;
|
|
5735
|
-
applications: import("mongoose").Types.DocumentArray<{
|
|
5754
|
+
applications?: import("mongoose").Types.DocumentArray<{
|
|
5736
5755
|
id: import("mongoose").Types.ObjectId;
|
|
5737
5756
|
scopes: number;
|
|
5738
5757
|
token: string;
|
|
@@ -5747,20 +5766,7 @@ export declare const UserModel: import("mongoose").Model<{
|
|
|
5747
5766
|
scopes: number;
|
|
5748
5767
|
token: string;
|
|
5749
5768
|
_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;
|
|
5769
|
+
}> | null | undefined;
|
|
5764
5770
|
}> & {
|
|
5765
5771
|
_id: import("mongoose").Types.ObjectId;
|
|
5766
5772
|
} & {
|