@weekendgoals/weekendgoals-common 1.1716.19890135684 → 1.1721.19891607169
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/models/attractions/index.d.ts +21 -33
- package/dist/models/attractions/index.d.ts.map +1 -1
- package/dist/models/cities/index.d.ts +21 -33
- package/dist/models/cities/index.d.ts.map +1 -1
- package/dist/models/conversation-messages/index.d.ts +21 -33
- package/dist/models/conversation-messages/index.d.ts.map +1 -1
- package/dist/models/conversations/index.d.ts +7 -11
- package/dist/models/conversations/index.d.ts.map +1 -1
- package/dist/models/leagues/index.d.ts +18 -33
- package/dist/models/leagues/index.d.ts.map +1 -1
- package/dist/models/matches/index.d.ts +21 -33
- package/dist/models/matches/index.d.ts.map +1 -1
- package/dist/models/teams/index.d.ts +18 -33
- package/dist/models/teams/index.d.ts.map +1 -1
- package/dist/models/tickets/index.d.ts +18 -33
- package/dist/models/tickets/index.d.ts.map +1 -1
- package/dist/models/users/index.d.ts +18 -33
- package/dist/models/users/index.d.ts.map +1 -1
- package/dist/models/venues/index.d.ts +21 -33
- package/dist/models/venues/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/readme.md +1 -0
|
@@ -3,9 +3,6 @@ export declare const AttractionSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
3
3
|
timestamps: true;
|
|
4
4
|
typeKey: "$type";
|
|
5
5
|
}, {
|
|
6
|
-
createdAt: NativeDate;
|
|
7
|
-
updatedAt: NativeDate;
|
|
8
|
-
} & {
|
|
9
6
|
name?: string;
|
|
10
7
|
type?: number;
|
|
11
8
|
venueId?: string;
|
|
@@ -26,10 +23,7 @@ export declare const AttractionSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
26
23
|
placeId?: string;
|
|
27
24
|
};
|
|
28
25
|
};
|
|
29
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
30
|
-
createdAt: NativeDate;
|
|
31
|
-
updatedAt: NativeDate;
|
|
32
|
-
} & {
|
|
26
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
33
27
|
name?: string;
|
|
34
28
|
type?: number;
|
|
35
29
|
venueId?: string;
|
|
@@ -50,10 +44,10 @@ export declare const AttractionSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
50
44
|
placeId?: string;
|
|
51
45
|
};
|
|
52
46
|
};
|
|
47
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
48
|
+
timestamps: true;
|
|
49
|
+
typeKey: "$type";
|
|
53
50
|
}>> & mongoose.FlatRecord<{
|
|
54
|
-
createdAt: NativeDate;
|
|
55
|
-
updatedAt: NativeDate;
|
|
56
|
-
} & {
|
|
57
51
|
name?: string;
|
|
58
52
|
type?: number;
|
|
59
53
|
venueId?: string;
|
|
@@ -74,13 +68,12 @@ export declare const AttractionSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
74
68
|
placeId?: string;
|
|
75
69
|
};
|
|
76
70
|
};
|
|
77
|
-
}> & {
|
|
71
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
78
72
|
_id: mongoose.Types.ObjectId;
|
|
73
|
+
} & {
|
|
74
|
+
__v: number;
|
|
79
75
|
}>;
|
|
80
76
|
export declare const AttractionModel: mongoose.Model<{
|
|
81
|
-
createdAt: NativeDate;
|
|
82
|
-
updatedAt: NativeDate;
|
|
83
|
-
} & {
|
|
84
77
|
name?: string;
|
|
85
78
|
type?: number;
|
|
86
79
|
venueId?: string;
|
|
@@ -101,10 +94,7 @@ export declare const AttractionModel: mongoose.Model<{
|
|
|
101
94
|
placeId?: string;
|
|
102
95
|
};
|
|
103
96
|
};
|
|
104
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
105
|
-
createdAt: NativeDate;
|
|
106
|
-
updatedAt: NativeDate;
|
|
107
|
-
} & {
|
|
97
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
108
98
|
name?: string;
|
|
109
99
|
type?: number;
|
|
110
100
|
venueId?: string;
|
|
@@ -125,10 +115,10 @@ export declare const AttractionModel: mongoose.Model<{
|
|
|
125
115
|
placeId?: string;
|
|
126
116
|
};
|
|
127
117
|
};
|
|
118
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
119
|
+
timestamps: true;
|
|
120
|
+
typeKey: "$type";
|
|
128
121
|
}> & {
|
|
129
|
-
createdAt: NativeDate;
|
|
130
|
-
updatedAt: NativeDate;
|
|
131
|
-
} & {
|
|
132
122
|
name?: string;
|
|
133
123
|
type?: number;
|
|
134
124
|
venueId?: string;
|
|
@@ -149,15 +139,14 @@ export declare const AttractionModel: mongoose.Model<{
|
|
|
149
139
|
placeId?: string;
|
|
150
140
|
};
|
|
151
141
|
};
|
|
152
|
-
} & {
|
|
142
|
+
} & mongoose.DefaultTimestampProps & {
|
|
153
143
|
_id: mongoose.Types.ObjectId;
|
|
144
|
+
} & {
|
|
145
|
+
__v: number;
|
|
154
146
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
155
147
|
timestamps: true;
|
|
156
148
|
typeKey: "$type";
|
|
157
149
|
}, {
|
|
158
|
-
createdAt: NativeDate;
|
|
159
|
-
updatedAt: NativeDate;
|
|
160
|
-
} & {
|
|
161
150
|
name?: string;
|
|
162
151
|
type?: number;
|
|
163
152
|
venueId?: string;
|
|
@@ -178,10 +167,7 @@ export declare const AttractionModel: mongoose.Model<{
|
|
|
178
167
|
placeId?: string;
|
|
179
168
|
};
|
|
180
169
|
};
|
|
181
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
182
|
-
createdAt: NativeDate;
|
|
183
|
-
updatedAt: NativeDate;
|
|
184
|
-
} & {
|
|
170
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
185
171
|
name?: string;
|
|
186
172
|
type?: number;
|
|
187
173
|
venueId?: string;
|
|
@@ -202,10 +188,10 @@ export declare const AttractionModel: mongoose.Model<{
|
|
|
202
188
|
placeId?: string;
|
|
203
189
|
};
|
|
204
190
|
};
|
|
191
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
192
|
+
timestamps: true;
|
|
193
|
+
typeKey: "$type";
|
|
205
194
|
}>> & mongoose.FlatRecord<{
|
|
206
|
-
createdAt: NativeDate;
|
|
207
|
-
updatedAt: NativeDate;
|
|
208
|
-
} & {
|
|
209
195
|
name?: string;
|
|
210
196
|
type?: number;
|
|
211
197
|
venueId?: string;
|
|
@@ -226,7 +212,9 @@ export declare const AttractionModel: mongoose.Model<{
|
|
|
226
212
|
placeId?: string;
|
|
227
213
|
};
|
|
228
214
|
};
|
|
229
|
-
}> & {
|
|
215
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
230
216
|
_id: mongoose.Types.ObjectId;
|
|
217
|
+
} & {
|
|
218
|
+
__v: number;
|
|
231
219
|
}>>;
|
|
232
220
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/attractions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/attractions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI3B,CAAC"}
|
|
@@ -3,9 +3,6 @@ export declare const CitySchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
3
3
|
timestamps: true;
|
|
4
4
|
typeKey: "$type";
|
|
5
5
|
}, {
|
|
6
|
-
createdAt: NativeDate;
|
|
7
|
-
updatedAt: NativeDate;
|
|
8
|
-
} & {
|
|
9
6
|
name?: string;
|
|
10
7
|
location?: {
|
|
11
8
|
type: "Point";
|
|
@@ -17,10 +14,7 @@ export declare const CitySchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
17
14
|
iso3?: string;
|
|
18
15
|
adminName?: string;
|
|
19
16
|
population?: number;
|
|
20
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
21
|
-
createdAt: NativeDate;
|
|
22
|
-
updatedAt: NativeDate;
|
|
23
|
-
} & {
|
|
17
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
24
18
|
name?: string;
|
|
25
19
|
location?: {
|
|
26
20
|
type: "Point";
|
|
@@ -32,10 +26,10 @@ export declare const CitySchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
32
26
|
iso3?: string;
|
|
33
27
|
adminName?: string;
|
|
34
28
|
population?: number;
|
|
29
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
30
|
+
timestamps: true;
|
|
31
|
+
typeKey: "$type";
|
|
35
32
|
}>> & mongoose.FlatRecord<{
|
|
36
|
-
createdAt: NativeDate;
|
|
37
|
-
updatedAt: NativeDate;
|
|
38
|
-
} & {
|
|
39
33
|
name?: string;
|
|
40
34
|
location?: {
|
|
41
35
|
type: "Point";
|
|
@@ -47,13 +41,12 @@ export declare const CitySchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
47
41
|
iso3?: string;
|
|
48
42
|
adminName?: string;
|
|
49
43
|
population?: number;
|
|
50
|
-
}> & {
|
|
44
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
51
45
|
_id: mongoose.Types.ObjectId;
|
|
46
|
+
} & {
|
|
47
|
+
__v: number;
|
|
52
48
|
}>;
|
|
53
49
|
export declare const CityModel: mongoose.Model<{
|
|
54
|
-
createdAt: NativeDate;
|
|
55
|
-
updatedAt: NativeDate;
|
|
56
|
-
} & {
|
|
57
50
|
name?: string;
|
|
58
51
|
location?: {
|
|
59
52
|
type: "Point";
|
|
@@ -65,10 +58,7 @@ export declare const CityModel: mongoose.Model<{
|
|
|
65
58
|
iso3?: string;
|
|
66
59
|
adminName?: string;
|
|
67
60
|
population?: number;
|
|
68
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
69
|
-
createdAt: NativeDate;
|
|
70
|
-
updatedAt: NativeDate;
|
|
71
|
-
} & {
|
|
61
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
72
62
|
name?: string;
|
|
73
63
|
location?: {
|
|
74
64
|
type: "Point";
|
|
@@ -80,10 +70,10 @@ export declare const CityModel: mongoose.Model<{
|
|
|
80
70
|
iso3?: string;
|
|
81
71
|
adminName?: string;
|
|
82
72
|
population?: number;
|
|
73
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
74
|
+
timestamps: true;
|
|
75
|
+
typeKey: "$type";
|
|
83
76
|
}> & {
|
|
84
|
-
createdAt: NativeDate;
|
|
85
|
-
updatedAt: NativeDate;
|
|
86
|
-
} & {
|
|
87
77
|
name?: string;
|
|
88
78
|
location?: {
|
|
89
79
|
type: "Point";
|
|
@@ -95,15 +85,14 @@ export declare const CityModel: mongoose.Model<{
|
|
|
95
85
|
iso3?: string;
|
|
96
86
|
adminName?: string;
|
|
97
87
|
population?: number;
|
|
98
|
-
} & {
|
|
88
|
+
} & mongoose.DefaultTimestampProps & {
|
|
99
89
|
_id: mongoose.Types.ObjectId;
|
|
90
|
+
} & {
|
|
91
|
+
__v: number;
|
|
100
92
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
101
93
|
timestamps: true;
|
|
102
94
|
typeKey: "$type";
|
|
103
95
|
}, {
|
|
104
|
-
createdAt: NativeDate;
|
|
105
|
-
updatedAt: NativeDate;
|
|
106
|
-
} & {
|
|
107
96
|
name?: string;
|
|
108
97
|
location?: {
|
|
109
98
|
type: "Point";
|
|
@@ -115,10 +104,7 @@ export declare const CityModel: mongoose.Model<{
|
|
|
115
104
|
iso3?: string;
|
|
116
105
|
adminName?: string;
|
|
117
106
|
population?: number;
|
|
118
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
119
|
-
createdAt: NativeDate;
|
|
120
|
-
updatedAt: NativeDate;
|
|
121
|
-
} & {
|
|
107
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
122
108
|
name?: string;
|
|
123
109
|
location?: {
|
|
124
110
|
type: "Point";
|
|
@@ -130,10 +116,10 @@ export declare const CityModel: mongoose.Model<{
|
|
|
130
116
|
iso3?: string;
|
|
131
117
|
adminName?: string;
|
|
132
118
|
population?: number;
|
|
119
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
120
|
+
timestamps: true;
|
|
121
|
+
typeKey: "$type";
|
|
133
122
|
}>> & mongoose.FlatRecord<{
|
|
134
|
-
createdAt: NativeDate;
|
|
135
|
-
updatedAt: NativeDate;
|
|
136
|
-
} & {
|
|
137
123
|
name?: string;
|
|
138
124
|
location?: {
|
|
139
125
|
type: "Point";
|
|
@@ -145,7 +131,9 @@ export declare const CityModel: mongoose.Model<{
|
|
|
145
131
|
iso3?: string;
|
|
146
132
|
adminName?: string;
|
|
147
133
|
population?: number;
|
|
148
|
-
}> & {
|
|
134
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
149
135
|
_id: mongoose.Types.ObjectId;
|
|
136
|
+
} & {
|
|
137
|
+
__v: number;
|
|
150
138
|
}>>;
|
|
151
139
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/cities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/cities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
|
|
@@ -3,104 +3,92 @@ export declare const ConversationMessageSchema: mongoose.Schema<any, mongoose.Mo
|
|
|
3
3
|
timestamps: true;
|
|
4
4
|
typeKey: "$type";
|
|
5
5
|
}, {
|
|
6
|
-
createdAt: NativeDate;
|
|
7
|
-
updatedAt: NativeDate;
|
|
8
|
-
} & {
|
|
9
6
|
type?: number;
|
|
10
7
|
metadata?: any;
|
|
11
8
|
conversationId?: string;
|
|
12
9
|
userId?: string;
|
|
13
10
|
content?: string;
|
|
14
11
|
isDeleted?: boolean;
|
|
15
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
16
|
-
createdAt: NativeDate;
|
|
17
|
-
updatedAt: NativeDate;
|
|
18
|
-
} & {
|
|
12
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
19
13
|
type?: number;
|
|
20
14
|
metadata?: any;
|
|
21
15
|
conversationId?: string;
|
|
22
16
|
userId?: string;
|
|
23
17
|
content?: string;
|
|
24
18
|
isDeleted?: boolean;
|
|
19
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
20
|
+
timestamps: true;
|
|
21
|
+
typeKey: "$type";
|
|
25
22
|
}>> & mongoose.FlatRecord<{
|
|
26
|
-
createdAt: NativeDate;
|
|
27
|
-
updatedAt: NativeDate;
|
|
28
|
-
} & {
|
|
29
23
|
type?: number;
|
|
30
24
|
metadata?: any;
|
|
31
25
|
conversationId?: string;
|
|
32
26
|
userId?: string;
|
|
33
27
|
content?: string;
|
|
34
28
|
isDeleted?: boolean;
|
|
35
|
-
}> & {
|
|
29
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
36
30
|
_id: mongoose.Types.ObjectId;
|
|
31
|
+
} & {
|
|
32
|
+
__v: number;
|
|
37
33
|
}>;
|
|
38
34
|
export declare const ConversationMessageModel: mongoose.Model<{
|
|
39
|
-
createdAt: NativeDate;
|
|
40
|
-
updatedAt: NativeDate;
|
|
41
|
-
} & {
|
|
42
35
|
type?: number;
|
|
43
36
|
metadata?: any;
|
|
44
37
|
conversationId?: string;
|
|
45
38
|
userId?: string;
|
|
46
39
|
content?: string;
|
|
47
40
|
isDeleted?: boolean;
|
|
48
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
49
|
-
createdAt: NativeDate;
|
|
50
|
-
updatedAt: NativeDate;
|
|
51
|
-
} & {
|
|
41
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
52
42
|
type?: number;
|
|
53
43
|
metadata?: any;
|
|
54
44
|
conversationId?: string;
|
|
55
45
|
userId?: string;
|
|
56
46
|
content?: string;
|
|
57
47
|
isDeleted?: boolean;
|
|
48
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
49
|
+
timestamps: true;
|
|
50
|
+
typeKey: "$type";
|
|
58
51
|
}> & {
|
|
59
|
-
createdAt: NativeDate;
|
|
60
|
-
updatedAt: NativeDate;
|
|
61
|
-
} & {
|
|
62
52
|
type?: number;
|
|
63
53
|
metadata?: any;
|
|
64
54
|
conversationId?: string;
|
|
65
55
|
userId?: string;
|
|
66
56
|
content?: string;
|
|
67
57
|
isDeleted?: boolean;
|
|
68
|
-
} & {
|
|
58
|
+
} & mongoose.DefaultTimestampProps & {
|
|
69
59
|
_id: mongoose.Types.ObjectId;
|
|
60
|
+
} & {
|
|
61
|
+
__v: number;
|
|
70
62
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
71
63
|
timestamps: true;
|
|
72
64
|
typeKey: "$type";
|
|
73
65
|
}, {
|
|
74
|
-
createdAt: NativeDate;
|
|
75
|
-
updatedAt: NativeDate;
|
|
76
|
-
} & {
|
|
77
66
|
type?: number;
|
|
78
67
|
metadata?: any;
|
|
79
68
|
conversationId?: string;
|
|
80
69
|
userId?: string;
|
|
81
70
|
content?: string;
|
|
82
71
|
isDeleted?: boolean;
|
|
83
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
84
|
-
createdAt: NativeDate;
|
|
85
|
-
updatedAt: NativeDate;
|
|
86
|
-
} & {
|
|
72
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
87
73
|
type?: number;
|
|
88
74
|
metadata?: any;
|
|
89
75
|
conversationId?: string;
|
|
90
76
|
userId?: string;
|
|
91
77
|
content?: string;
|
|
92
78
|
isDeleted?: boolean;
|
|
79
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
80
|
+
timestamps: true;
|
|
81
|
+
typeKey: "$type";
|
|
93
82
|
}>> & mongoose.FlatRecord<{
|
|
94
|
-
createdAt: NativeDate;
|
|
95
|
-
updatedAt: NativeDate;
|
|
96
|
-
} & {
|
|
97
83
|
type?: number;
|
|
98
84
|
metadata?: any;
|
|
99
85
|
conversationId?: string;
|
|
100
86
|
userId?: string;
|
|
101
87
|
content?: string;
|
|
102
88
|
isDeleted?: boolean;
|
|
103
|
-
}> & {
|
|
89
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
104
90
|
_id: mongoose.Types.ObjectId;
|
|
91
|
+
} & {
|
|
92
|
+
__v: number;
|
|
105
93
|
}>>;
|
|
106
94
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIpC,CAAC"}
|
|
@@ -3,31 +3,27 @@ export declare const ConversationSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
3
3
|
timestamps: true;
|
|
4
4
|
typeKey: "$type";
|
|
5
5
|
}, {
|
|
6
|
-
createdAt: NativeDate;
|
|
7
|
-
updatedAt: NativeDate;
|
|
8
|
-
} & {
|
|
9
6
|
followUpQuestions: string[];
|
|
10
7
|
name?: string;
|
|
11
8
|
userId?: string;
|
|
12
9
|
isDeleted?: boolean;
|
|
13
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
14
|
-
createdAt: NativeDate;
|
|
15
|
-
updatedAt: NativeDate;
|
|
16
|
-
} & {
|
|
10
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
17
11
|
followUpQuestions: string[];
|
|
18
12
|
name?: string;
|
|
19
13
|
userId?: string;
|
|
20
14
|
isDeleted?: boolean;
|
|
15
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
16
|
+
timestamps: true;
|
|
17
|
+
typeKey: "$type";
|
|
21
18
|
}>> & mongoose.FlatRecord<{
|
|
22
|
-
createdAt: NativeDate;
|
|
23
|
-
updatedAt: NativeDate;
|
|
24
|
-
} & {
|
|
25
19
|
followUpQuestions: string[];
|
|
26
20
|
name?: string;
|
|
27
21
|
userId?: string;
|
|
28
22
|
isDeleted?: boolean;
|
|
29
|
-
}> & {
|
|
23
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
30
24
|
_id: mongoose.Types.ObjectId;
|
|
25
|
+
} & {
|
|
26
|
+
__v: number;
|
|
31
27
|
}>;
|
|
32
28
|
export declare const ConversationModel: mongoose.Model<any, unknown, unknown, unknown, any, any>;
|
|
33
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,0DAI7B,CAAC"}
|
|
@@ -2,94 +2,79 @@ import * as mongoose from "mongoose";
|
|
|
2
2
|
export declare const LeagueSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
3
|
timestamps: true;
|
|
4
4
|
}, {
|
|
5
|
-
createdAt: NativeDate;
|
|
6
|
-
updatedAt: NativeDate;
|
|
7
|
-
} & {
|
|
8
5
|
name?: string;
|
|
9
6
|
country?: string;
|
|
10
7
|
rank?: number;
|
|
11
8
|
logo?: string;
|
|
12
9
|
externalId?: string;
|
|
13
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
14
|
-
createdAt: NativeDate;
|
|
15
|
-
updatedAt: NativeDate;
|
|
16
|
-
} & {
|
|
10
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
17
11
|
name?: string;
|
|
18
12
|
country?: string;
|
|
19
13
|
rank?: number;
|
|
20
14
|
logo?: string;
|
|
21
15
|
externalId?: string;
|
|
16
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
17
|
+
timestamps: true;
|
|
22
18
|
}>> & mongoose.FlatRecord<{
|
|
23
|
-
createdAt: NativeDate;
|
|
24
|
-
updatedAt: NativeDate;
|
|
25
|
-
} & {
|
|
26
19
|
name?: string;
|
|
27
20
|
country?: string;
|
|
28
21
|
rank?: number;
|
|
29
22
|
logo?: string;
|
|
30
23
|
externalId?: string;
|
|
31
|
-
}> & {
|
|
24
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
32
25
|
_id: mongoose.Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
33
28
|
}>;
|
|
34
29
|
export declare const LeagueModel: mongoose.Model<{
|
|
35
|
-
createdAt: NativeDate;
|
|
36
|
-
updatedAt: NativeDate;
|
|
37
|
-
} & {
|
|
38
30
|
name?: string;
|
|
39
31
|
country?: string;
|
|
40
32
|
rank?: number;
|
|
41
33
|
logo?: string;
|
|
42
34
|
externalId?: string;
|
|
43
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
44
|
-
createdAt: NativeDate;
|
|
45
|
-
updatedAt: NativeDate;
|
|
46
|
-
} & {
|
|
35
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
47
36
|
name?: string;
|
|
48
37
|
country?: string;
|
|
49
38
|
rank?: number;
|
|
50
39
|
logo?: string;
|
|
51
40
|
externalId?: string;
|
|
41
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
42
|
+
timestamps: true;
|
|
52
43
|
}> & {
|
|
53
|
-
createdAt: NativeDate;
|
|
54
|
-
updatedAt: NativeDate;
|
|
55
|
-
} & {
|
|
56
44
|
name?: string;
|
|
57
45
|
country?: string;
|
|
58
46
|
rank?: number;
|
|
59
47
|
logo?: string;
|
|
60
48
|
externalId?: string;
|
|
61
|
-
} & {
|
|
49
|
+
} & mongoose.DefaultTimestampProps & {
|
|
62
50
|
_id: mongoose.Types.ObjectId;
|
|
51
|
+
} & {
|
|
52
|
+
__v: number;
|
|
63
53
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
64
54
|
timestamps: true;
|
|
65
55
|
}, {
|
|
66
|
-
createdAt: NativeDate;
|
|
67
|
-
updatedAt: NativeDate;
|
|
68
|
-
} & {
|
|
69
56
|
name?: string;
|
|
70
57
|
country?: string;
|
|
71
58
|
rank?: number;
|
|
72
59
|
logo?: string;
|
|
73
60
|
externalId?: string;
|
|
74
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
75
|
-
createdAt: NativeDate;
|
|
76
|
-
updatedAt: NativeDate;
|
|
77
|
-
} & {
|
|
61
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
78
62
|
name?: string;
|
|
79
63
|
country?: string;
|
|
80
64
|
rank?: number;
|
|
81
65
|
logo?: string;
|
|
82
66
|
externalId?: string;
|
|
67
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
68
|
+
timestamps: true;
|
|
83
69
|
}>> & mongoose.FlatRecord<{
|
|
84
|
-
createdAt: NativeDate;
|
|
85
|
-
updatedAt: NativeDate;
|
|
86
|
-
} & {
|
|
87
70
|
name?: string;
|
|
88
71
|
country?: string;
|
|
89
72
|
rank?: number;
|
|
90
73
|
logo?: string;
|
|
91
74
|
externalId?: string;
|
|
92
|
-
}> & {
|
|
75
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
93
76
|
_id: mongoose.Types.ObjectId;
|
|
77
|
+
} & {
|
|
78
|
+
__v: number;
|
|
94
79
|
}>>;
|
|
95
80
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/leagues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/leagues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EASyB,CAAC;AAEnD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
|
|
@@ -3,9 +3,6 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
3
3
|
timestamps: true;
|
|
4
4
|
typeKey: "$type";
|
|
5
5
|
}, {
|
|
6
|
-
createdAt: NativeDate;
|
|
7
|
-
updatedAt: NativeDate;
|
|
8
|
-
} & {
|
|
9
6
|
venueId?: string;
|
|
10
7
|
location?: {
|
|
11
8
|
type: "Point";
|
|
@@ -26,10 +23,7 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
26
23
|
hasTickets?: boolean;
|
|
27
24
|
ticketPrice?: number;
|
|
28
25
|
ticketCurrency?: string;
|
|
29
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
30
|
-
createdAt: NativeDate;
|
|
31
|
-
updatedAt: NativeDate;
|
|
32
|
-
} & {
|
|
26
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
33
27
|
venueId?: string;
|
|
34
28
|
location?: {
|
|
35
29
|
type: "Point";
|
|
@@ -50,10 +44,10 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
50
44
|
hasTickets?: boolean;
|
|
51
45
|
ticketPrice?: number;
|
|
52
46
|
ticketCurrency?: string;
|
|
47
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
48
|
+
timestamps: true;
|
|
49
|
+
typeKey: "$type";
|
|
53
50
|
}>> & mongoose.FlatRecord<{
|
|
54
|
-
createdAt: NativeDate;
|
|
55
|
-
updatedAt: NativeDate;
|
|
56
|
-
} & {
|
|
57
51
|
venueId?: string;
|
|
58
52
|
location?: {
|
|
59
53
|
type: "Point";
|
|
@@ -74,13 +68,12 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
74
68
|
hasTickets?: boolean;
|
|
75
69
|
ticketPrice?: number;
|
|
76
70
|
ticketCurrency?: string;
|
|
77
|
-
}> & {
|
|
71
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
78
72
|
_id: mongoose.Types.ObjectId;
|
|
73
|
+
} & {
|
|
74
|
+
__v: number;
|
|
79
75
|
}>;
|
|
80
76
|
export declare const MatchModel: mongoose.Model<{
|
|
81
|
-
createdAt: NativeDate;
|
|
82
|
-
updatedAt: NativeDate;
|
|
83
|
-
} & {
|
|
84
77
|
venueId?: string;
|
|
85
78
|
location?: {
|
|
86
79
|
type: "Point";
|
|
@@ -101,10 +94,7 @@ export declare const MatchModel: mongoose.Model<{
|
|
|
101
94
|
hasTickets?: boolean;
|
|
102
95
|
ticketPrice?: number;
|
|
103
96
|
ticketCurrency?: string;
|
|
104
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
105
|
-
createdAt: NativeDate;
|
|
106
|
-
updatedAt: NativeDate;
|
|
107
|
-
} & {
|
|
97
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
108
98
|
venueId?: string;
|
|
109
99
|
location?: {
|
|
110
100
|
type: "Point";
|
|
@@ -125,10 +115,10 @@ export declare const MatchModel: mongoose.Model<{
|
|
|
125
115
|
hasTickets?: boolean;
|
|
126
116
|
ticketPrice?: number;
|
|
127
117
|
ticketCurrency?: string;
|
|
118
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
119
|
+
timestamps: true;
|
|
120
|
+
typeKey: "$type";
|
|
128
121
|
}> & {
|
|
129
|
-
createdAt: NativeDate;
|
|
130
|
-
updatedAt: NativeDate;
|
|
131
|
-
} & {
|
|
132
122
|
venueId?: string;
|
|
133
123
|
location?: {
|
|
134
124
|
type: "Point";
|
|
@@ -149,15 +139,14 @@ export declare const MatchModel: mongoose.Model<{
|
|
|
149
139
|
hasTickets?: boolean;
|
|
150
140
|
ticketPrice?: number;
|
|
151
141
|
ticketCurrency?: string;
|
|
152
|
-
} & {
|
|
142
|
+
} & mongoose.DefaultTimestampProps & {
|
|
153
143
|
_id: mongoose.Types.ObjectId;
|
|
144
|
+
} & {
|
|
145
|
+
__v: number;
|
|
154
146
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
155
147
|
timestamps: true;
|
|
156
148
|
typeKey: "$type";
|
|
157
149
|
}, {
|
|
158
|
-
createdAt: NativeDate;
|
|
159
|
-
updatedAt: NativeDate;
|
|
160
|
-
} & {
|
|
161
150
|
venueId?: string;
|
|
162
151
|
location?: {
|
|
163
152
|
type: "Point";
|
|
@@ -178,10 +167,7 @@ export declare const MatchModel: mongoose.Model<{
|
|
|
178
167
|
hasTickets?: boolean;
|
|
179
168
|
ticketPrice?: number;
|
|
180
169
|
ticketCurrency?: string;
|
|
181
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
182
|
-
createdAt: NativeDate;
|
|
183
|
-
updatedAt: NativeDate;
|
|
184
|
-
} & {
|
|
170
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
185
171
|
venueId?: string;
|
|
186
172
|
location?: {
|
|
187
173
|
type: "Point";
|
|
@@ -202,10 +188,10 @@ export declare const MatchModel: mongoose.Model<{
|
|
|
202
188
|
hasTickets?: boolean;
|
|
203
189
|
ticketPrice?: number;
|
|
204
190
|
ticketCurrency?: string;
|
|
191
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
192
|
+
timestamps: true;
|
|
193
|
+
typeKey: "$type";
|
|
205
194
|
}>> & mongoose.FlatRecord<{
|
|
206
|
-
createdAt: NativeDate;
|
|
207
|
-
updatedAt: NativeDate;
|
|
208
|
-
} & {
|
|
209
195
|
venueId?: string;
|
|
210
196
|
location?: {
|
|
211
197
|
type: "Point";
|
|
@@ -226,7 +212,9 @@ export declare const MatchModel: mongoose.Model<{
|
|
|
226
212
|
hasTickets?: boolean;
|
|
227
213
|
ticketPrice?: number;
|
|
228
214
|
ticketCurrency?: string;
|
|
229
|
-
}> & {
|
|
215
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
230
216
|
_id: mongoose.Types.ObjectId;
|
|
217
|
+
} & {
|
|
218
|
+
__v: number;
|
|
231
219
|
}>>;
|
|
232
220
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/matches/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/matches/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC"}
|
|
@@ -2,9 +2,6 @@ import * as mongoose from "mongoose";
|
|
|
2
2
|
export declare const TeamsSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
3
|
timestamps: true;
|
|
4
4
|
}, {
|
|
5
|
-
createdAt: NativeDate;
|
|
6
|
-
updatedAt: NativeDate;
|
|
7
|
-
} & {
|
|
8
5
|
name?: string;
|
|
9
6
|
venueId?: string;
|
|
10
7
|
country?: string;
|
|
@@ -21,10 +18,7 @@ export declare const TeamsSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
21
18
|
externalId?: string;
|
|
22
19
|
venueExternalId?: string;
|
|
23
20
|
leagueId?: string;
|
|
24
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
25
|
-
createdAt: NativeDate;
|
|
26
|
-
updatedAt: NativeDate;
|
|
27
|
-
} & {
|
|
21
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
28
22
|
name?: string;
|
|
29
23
|
venueId?: string;
|
|
30
24
|
country?: string;
|
|
@@ -41,10 +35,9 @@ export declare const TeamsSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
41
35
|
externalId?: string;
|
|
42
36
|
venueExternalId?: string;
|
|
43
37
|
leagueId?: string;
|
|
38
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
39
|
+
timestamps: true;
|
|
44
40
|
}>> & mongoose.FlatRecord<{
|
|
45
|
-
createdAt: NativeDate;
|
|
46
|
-
updatedAt: NativeDate;
|
|
47
|
-
} & {
|
|
48
41
|
name?: string;
|
|
49
42
|
venueId?: string;
|
|
50
43
|
country?: string;
|
|
@@ -61,13 +54,12 @@ export declare const TeamsSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
61
54
|
externalId?: string;
|
|
62
55
|
venueExternalId?: string;
|
|
63
56
|
leagueId?: string;
|
|
64
|
-
}> & {
|
|
57
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
65
58
|
_id: mongoose.Types.ObjectId;
|
|
59
|
+
} & {
|
|
60
|
+
__v: number;
|
|
66
61
|
}>;
|
|
67
62
|
export declare const TeamModel: mongoose.Model<{
|
|
68
|
-
createdAt: NativeDate;
|
|
69
|
-
updatedAt: NativeDate;
|
|
70
|
-
} & {
|
|
71
63
|
name?: string;
|
|
72
64
|
venueId?: string;
|
|
73
65
|
country?: string;
|
|
@@ -84,10 +76,7 @@ export declare const TeamModel: mongoose.Model<{
|
|
|
84
76
|
externalId?: string;
|
|
85
77
|
venueExternalId?: string;
|
|
86
78
|
leagueId?: string;
|
|
87
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
88
|
-
createdAt: NativeDate;
|
|
89
|
-
updatedAt: NativeDate;
|
|
90
|
-
} & {
|
|
79
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
91
80
|
name?: string;
|
|
92
81
|
venueId?: string;
|
|
93
82
|
country?: string;
|
|
@@ -104,10 +93,9 @@ export declare const TeamModel: mongoose.Model<{
|
|
|
104
93
|
externalId?: string;
|
|
105
94
|
venueExternalId?: string;
|
|
106
95
|
leagueId?: string;
|
|
96
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
97
|
+
timestamps: true;
|
|
107
98
|
}> & {
|
|
108
|
-
createdAt: NativeDate;
|
|
109
|
-
updatedAt: NativeDate;
|
|
110
|
-
} & {
|
|
111
99
|
name?: string;
|
|
112
100
|
venueId?: string;
|
|
113
101
|
country?: string;
|
|
@@ -124,14 +112,13 @@ export declare const TeamModel: mongoose.Model<{
|
|
|
124
112
|
externalId?: string;
|
|
125
113
|
venueExternalId?: string;
|
|
126
114
|
leagueId?: string;
|
|
127
|
-
} & {
|
|
115
|
+
} & mongoose.DefaultTimestampProps & {
|
|
128
116
|
_id: mongoose.Types.ObjectId;
|
|
117
|
+
} & {
|
|
118
|
+
__v: number;
|
|
129
119
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
130
120
|
timestamps: true;
|
|
131
121
|
}, {
|
|
132
|
-
createdAt: NativeDate;
|
|
133
|
-
updatedAt: NativeDate;
|
|
134
|
-
} & {
|
|
135
122
|
name?: string;
|
|
136
123
|
venueId?: string;
|
|
137
124
|
country?: string;
|
|
@@ -148,10 +135,7 @@ export declare const TeamModel: mongoose.Model<{
|
|
|
148
135
|
externalId?: string;
|
|
149
136
|
venueExternalId?: string;
|
|
150
137
|
leagueId?: string;
|
|
151
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
152
|
-
createdAt: NativeDate;
|
|
153
|
-
updatedAt: NativeDate;
|
|
154
|
-
} & {
|
|
138
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
155
139
|
name?: string;
|
|
156
140
|
venueId?: string;
|
|
157
141
|
country?: string;
|
|
@@ -168,10 +152,9 @@ export declare const TeamModel: mongoose.Model<{
|
|
|
168
152
|
externalId?: string;
|
|
169
153
|
venueExternalId?: string;
|
|
170
154
|
leagueId?: string;
|
|
155
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
156
|
+
timestamps: true;
|
|
171
157
|
}>> & mongoose.FlatRecord<{
|
|
172
|
-
createdAt: NativeDate;
|
|
173
|
-
updatedAt: NativeDate;
|
|
174
|
-
} & {
|
|
175
158
|
name?: string;
|
|
176
159
|
venueId?: string;
|
|
177
160
|
country?: string;
|
|
@@ -188,7 +171,9 @@ export declare const TeamModel: mongoose.Model<{
|
|
|
188
171
|
externalId?: string;
|
|
189
172
|
venueExternalId?: string;
|
|
190
173
|
leagueId?: string;
|
|
191
|
-
}> & {
|
|
174
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
192
175
|
_id: mongoose.Types.ObjectId;
|
|
176
|
+
} & {
|
|
177
|
+
__v: number;
|
|
193
178
|
}>>;
|
|
194
179
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/teams/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/teams/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
|
|
@@ -2,9 +2,6 @@ import * as mongoose from "mongoose";
|
|
|
2
2
|
export declare const TicketSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
3
|
timestamps: true;
|
|
4
4
|
}, {
|
|
5
|
-
createdAt: NativeDate;
|
|
6
|
-
updatedAt: NativeDate;
|
|
7
|
-
} & {
|
|
8
5
|
hash?: string;
|
|
9
6
|
matchId?: string;
|
|
10
7
|
price?: number;
|
|
@@ -12,10 +9,7 @@ export declare const TicketSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
12
9
|
url?: string;
|
|
13
10
|
ticketProvider?: string;
|
|
14
11
|
isOfficial?: boolean;
|
|
15
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
16
|
-
createdAt: NativeDate;
|
|
17
|
-
updatedAt: NativeDate;
|
|
18
|
-
} & {
|
|
12
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
19
13
|
hash?: string;
|
|
20
14
|
matchId?: string;
|
|
21
15
|
price?: number;
|
|
@@ -23,10 +17,9 @@ export declare const TicketSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
23
17
|
url?: string;
|
|
24
18
|
ticketProvider?: string;
|
|
25
19
|
isOfficial?: boolean;
|
|
20
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
21
|
+
timestamps: true;
|
|
26
22
|
}>> & mongoose.FlatRecord<{
|
|
27
|
-
createdAt: NativeDate;
|
|
28
|
-
updatedAt: NativeDate;
|
|
29
|
-
} & {
|
|
30
23
|
hash?: string;
|
|
31
24
|
matchId?: string;
|
|
32
25
|
price?: number;
|
|
@@ -34,13 +27,12 @@ export declare const TicketSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
34
27
|
url?: string;
|
|
35
28
|
ticketProvider?: string;
|
|
36
29
|
isOfficial?: boolean;
|
|
37
|
-
}> & {
|
|
30
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
38
31
|
_id: mongoose.Types.ObjectId;
|
|
32
|
+
} & {
|
|
33
|
+
__v: number;
|
|
39
34
|
}>;
|
|
40
35
|
export declare const TicketModel: mongoose.Model<{
|
|
41
|
-
createdAt: NativeDate;
|
|
42
|
-
updatedAt: NativeDate;
|
|
43
|
-
} & {
|
|
44
36
|
hash?: string;
|
|
45
37
|
matchId?: string;
|
|
46
38
|
price?: number;
|
|
@@ -48,10 +40,7 @@ export declare const TicketModel: mongoose.Model<{
|
|
|
48
40
|
url?: string;
|
|
49
41
|
ticketProvider?: string;
|
|
50
42
|
isOfficial?: boolean;
|
|
51
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
52
|
-
createdAt: NativeDate;
|
|
53
|
-
updatedAt: NativeDate;
|
|
54
|
-
} & {
|
|
43
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
55
44
|
hash?: string;
|
|
56
45
|
matchId?: string;
|
|
57
46
|
price?: number;
|
|
@@ -59,10 +48,9 @@ export declare const TicketModel: mongoose.Model<{
|
|
|
59
48
|
url?: string;
|
|
60
49
|
ticketProvider?: string;
|
|
61
50
|
isOfficial?: boolean;
|
|
51
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
52
|
+
timestamps: true;
|
|
62
53
|
}> & {
|
|
63
|
-
createdAt: NativeDate;
|
|
64
|
-
updatedAt: NativeDate;
|
|
65
|
-
} & {
|
|
66
54
|
hash?: string;
|
|
67
55
|
matchId?: string;
|
|
68
56
|
price?: number;
|
|
@@ -70,14 +58,13 @@ export declare const TicketModel: mongoose.Model<{
|
|
|
70
58
|
url?: string;
|
|
71
59
|
ticketProvider?: string;
|
|
72
60
|
isOfficial?: boolean;
|
|
73
|
-
} & {
|
|
61
|
+
} & mongoose.DefaultTimestampProps & {
|
|
74
62
|
_id: mongoose.Types.ObjectId;
|
|
63
|
+
} & {
|
|
64
|
+
__v: number;
|
|
75
65
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
76
66
|
timestamps: true;
|
|
77
67
|
}, {
|
|
78
|
-
createdAt: NativeDate;
|
|
79
|
-
updatedAt: NativeDate;
|
|
80
|
-
} & {
|
|
81
68
|
hash?: string;
|
|
82
69
|
matchId?: string;
|
|
83
70
|
price?: number;
|
|
@@ -85,10 +72,7 @@ export declare const TicketModel: mongoose.Model<{
|
|
|
85
72
|
url?: string;
|
|
86
73
|
ticketProvider?: string;
|
|
87
74
|
isOfficial?: boolean;
|
|
88
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
89
|
-
createdAt: NativeDate;
|
|
90
|
-
updatedAt: NativeDate;
|
|
91
|
-
} & {
|
|
75
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
92
76
|
hash?: string;
|
|
93
77
|
matchId?: string;
|
|
94
78
|
price?: number;
|
|
@@ -96,10 +80,9 @@ export declare const TicketModel: mongoose.Model<{
|
|
|
96
80
|
url?: string;
|
|
97
81
|
ticketProvider?: string;
|
|
98
82
|
isOfficial?: boolean;
|
|
83
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
84
|
+
timestamps: true;
|
|
99
85
|
}>> & mongoose.FlatRecord<{
|
|
100
|
-
createdAt: NativeDate;
|
|
101
|
-
updatedAt: NativeDate;
|
|
102
|
-
} & {
|
|
103
86
|
hash?: string;
|
|
104
87
|
matchId?: string;
|
|
105
88
|
price?: number;
|
|
@@ -107,7 +90,9 @@ export declare const TicketModel: mongoose.Model<{
|
|
|
107
90
|
url?: string;
|
|
108
91
|
ticketProvider?: string;
|
|
109
92
|
isOfficial?: boolean;
|
|
110
|
-
}> & {
|
|
93
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
111
94
|
_id: mongoose.Types.ObjectId;
|
|
95
|
+
} & {
|
|
96
|
+
__v: number;
|
|
112
97
|
}>>;
|
|
113
98
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/tickets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/tickets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
|
|
@@ -2,94 +2,79 @@ import * as mongoose from "mongoose";
|
|
|
2
2
|
export declare const UserSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
3
|
timestamps: true;
|
|
4
4
|
}, {
|
|
5
|
-
createdAt: NativeDate;
|
|
6
|
-
updatedAt: NativeDate;
|
|
7
|
-
} & {
|
|
8
5
|
email?: string;
|
|
9
6
|
passwordHash?: string;
|
|
10
7
|
firstName?: string;
|
|
11
8
|
lastName?: string;
|
|
12
9
|
lastLogin?: NativeDate;
|
|
13
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
14
|
-
createdAt: NativeDate;
|
|
15
|
-
updatedAt: NativeDate;
|
|
16
|
-
} & {
|
|
10
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
17
11
|
email?: string;
|
|
18
12
|
passwordHash?: string;
|
|
19
13
|
firstName?: string;
|
|
20
14
|
lastName?: string;
|
|
21
15
|
lastLogin?: NativeDate;
|
|
16
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
17
|
+
timestamps: true;
|
|
22
18
|
}>> & mongoose.FlatRecord<{
|
|
23
|
-
createdAt: NativeDate;
|
|
24
|
-
updatedAt: NativeDate;
|
|
25
|
-
} & {
|
|
26
19
|
email?: string;
|
|
27
20
|
passwordHash?: string;
|
|
28
21
|
firstName?: string;
|
|
29
22
|
lastName?: string;
|
|
30
23
|
lastLogin?: NativeDate;
|
|
31
|
-
}> & {
|
|
24
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
32
25
|
_id: mongoose.Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
33
28
|
}>;
|
|
34
29
|
export declare const UserModel: mongoose.Model<{
|
|
35
|
-
createdAt: NativeDate;
|
|
36
|
-
updatedAt: NativeDate;
|
|
37
|
-
} & {
|
|
38
30
|
email?: string;
|
|
39
31
|
passwordHash?: string;
|
|
40
32
|
firstName?: string;
|
|
41
33
|
lastName?: string;
|
|
42
34
|
lastLogin?: NativeDate;
|
|
43
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
44
|
-
createdAt: NativeDate;
|
|
45
|
-
updatedAt: NativeDate;
|
|
46
|
-
} & {
|
|
35
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
47
36
|
email?: string;
|
|
48
37
|
passwordHash?: string;
|
|
49
38
|
firstName?: string;
|
|
50
39
|
lastName?: string;
|
|
51
40
|
lastLogin?: NativeDate;
|
|
41
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
42
|
+
timestamps: true;
|
|
52
43
|
}> & {
|
|
53
|
-
createdAt: NativeDate;
|
|
54
|
-
updatedAt: NativeDate;
|
|
55
|
-
} & {
|
|
56
44
|
email?: string;
|
|
57
45
|
passwordHash?: string;
|
|
58
46
|
firstName?: string;
|
|
59
47
|
lastName?: string;
|
|
60
48
|
lastLogin?: NativeDate;
|
|
61
|
-
} & {
|
|
49
|
+
} & mongoose.DefaultTimestampProps & {
|
|
62
50
|
_id: mongoose.Types.ObjectId;
|
|
51
|
+
} & {
|
|
52
|
+
__v: number;
|
|
63
53
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
64
54
|
timestamps: true;
|
|
65
55
|
}, {
|
|
66
|
-
createdAt: NativeDate;
|
|
67
|
-
updatedAt: NativeDate;
|
|
68
|
-
} & {
|
|
69
56
|
email?: string;
|
|
70
57
|
passwordHash?: string;
|
|
71
58
|
firstName?: string;
|
|
72
59
|
lastName?: string;
|
|
73
60
|
lastLogin?: NativeDate;
|
|
74
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
75
|
-
createdAt: NativeDate;
|
|
76
|
-
updatedAt: NativeDate;
|
|
77
|
-
} & {
|
|
61
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
78
62
|
email?: string;
|
|
79
63
|
passwordHash?: string;
|
|
80
64
|
firstName?: string;
|
|
81
65
|
lastName?: string;
|
|
82
66
|
lastLogin?: NativeDate;
|
|
67
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
68
|
+
timestamps: true;
|
|
83
69
|
}>> & mongoose.FlatRecord<{
|
|
84
|
-
createdAt: NativeDate;
|
|
85
|
-
updatedAt: NativeDate;
|
|
86
|
-
} & {
|
|
87
70
|
email?: string;
|
|
88
71
|
passwordHash?: string;
|
|
89
72
|
firstName?: string;
|
|
90
73
|
lastName?: string;
|
|
91
74
|
lastLogin?: NativeDate;
|
|
92
|
-
}> & {
|
|
75
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
93
76
|
_id: mongoose.Types.ObjectId;
|
|
77
|
+
} & {
|
|
78
|
+
__v: number;
|
|
94
79
|
}>>;
|
|
95
80
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C,CAAC"}
|
|
@@ -3,9 +3,6 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
3
3
|
timestamps: true;
|
|
4
4
|
typeKey: "$type";
|
|
5
5
|
}, {
|
|
6
|
-
createdAt: NativeDate;
|
|
7
|
-
updatedAt: NativeDate;
|
|
8
|
-
} & {
|
|
9
6
|
name?: string;
|
|
10
7
|
location?: {
|
|
11
8
|
type: "Point";
|
|
@@ -22,10 +19,7 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
22
19
|
rating?: number;
|
|
23
20
|
googlePlaceId?: string;
|
|
24
21
|
capacity?: number;
|
|
25
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
26
|
-
createdAt: NativeDate;
|
|
27
|
-
updatedAt: NativeDate;
|
|
28
|
-
} & {
|
|
22
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
29
23
|
name?: string;
|
|
30
24
|
location?: {
|
|
31
25
|
type: "Point";
|
|
@@ -42,10 +36,10 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
42
36
|
rating?: number;
|
|
43
37
|
googlePlaceId?: string;
|
|
44
38
|
capacity?: number;
|
|
39
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
40
|
+
timestamps: true;
|
|
41
|
+
typeKey: "$type";
|
|
45
42
|
}>> & mongoose.FlatRecord<{
|
|
46
|
-
createdAt: NativeDate;
|
|
47
|
-
updatedAt: NativeDate;
|
|
48
|
-
} & {
|
|
49
43
|
name?: string;
|
|
50
44
|
location?: {
|
|
51
45
|
type: "Point";
|
|
@@ -62,13 +56,12 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
62
56
|
rating?: number;
|
|
63
57
|
googlePlaceId?: string;
|
|
64
58
|
capacity?: number;
|
|
65
|
-
}> & {
|
|
59
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
66
60
|
_id: mongoose.Types.ObjectId;
|
|
61
|
+
} & {
|
|
62
|
+
__v: number;
|
|
67
63
|
}>;
|
|
68
64
|
export declare const VenueModel: mongoose.Model<{
|
|
69
|
-
createdAt: NativeDate;
|
|
70
|
-
updatedAt: NativeDate;
|
|
71
|
-
} & {
|
|
72
65
|
name?: string;
|
|
73
66
|
location?: {
|
|
74
67
|
type: "Point";
|
|
@@ -85,10 +78,7 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
85
78
|
rating?: number;
|
|
86
79
|
googlePlaceId?: string;
|
|
87
80
|
capacity?: number;
|
|
88
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
89
|
-
createdAt: NativeDate;
|
|
90
|
-
updatedAt: NativeDate;
|
|
91
|
-
} & {
|
|
81
|
+
} & mongoose.DefaultTimestampProps, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
92
82
|
name?: string;
|
|
93
83
|
location?: {
|
|
94
84
|
type: "Point";
|
|
@@ -105,10 +95,10 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
105
95
|
rating?: number;
|
|
106
96
|
googlePlaceId?: string;
|
|
107
97
|
capacity?: number;
|
|
98
|
+
} & mongoose.DefaultTimestampProps, {}, {
|
|
99
|
+
timestamps: true;
|
|
100
|
+
typeKey: "$type";
|
|
108
101
|
}> & {
|
|
109
|
-
createdAt: NativeDate;
|
|
110
|
-
updatedAt: NativeDate;
|
|
111
|
-
} & {
|
|
112
102
|
name?: string;
|
|
113
103
|
location?: {
|
|
114
104
|
type: "Point";
|
|
@@ -125,15 +115,14 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
125
115
|
rating?: number;
|
|
126
116
|
googlePlaceId?: string;
|
|
127
117
|
capacity?: number;
|
|
128
|
-
} & {
|
|
118
|
+
} & mongoose.DefaultTimestampProps & {
|
|
129
119
|
_id: mongoose.Types.ObjectId;
|
|
120
|
+
} & {
|
|
121
|
+
__v: number;
|
|
130
122
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
131
123
|
timestamps: true;
|
|
132
124
|
typeKey: "$type";
|
|
133
125
|
}, {
|
|
134
|
-
createdAt: NativeDate;
|
|
135
|
-
updatedAt: NativeDate;
|
|
136
|
-
} & {
|
|
137
126
|
name?: string;
|
|
138
127
|
location?: {
|
|
139
128
|
type: "Point";
|
|
@@ -150,10 +139,7 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
150
139
|
rating?: number;
|
|
151
140
|
googlePlaceId?: string;
|
|
152
141
|
capacity?: number;
|
|
153
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
154
|
-
createdAt: NativeDate;
|
|
155
|
-
updatedAt: NativeDate;
|
|
156
|
-
} & {
|
|
142
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
157
143
|
name?: string;
|
|
158
144
|
location?: {
|
|
159
145
|
type: "Point";
|
|
@@ -170,10 +156,10 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
170
156
|
rating?: number;
|
|
171
157
|
googlePlaceId?: string;
|
|
172
158
|
capacity?: number;
|
|
159
|
+
} & mongoose.DefaultTimestampProps>, {}, mongoose.ResolveSchemaOptions<{
|
|
160
|
+
timestamps: true;
|
|
161
|
+
typeKey: "$type";
|
|
173
162
|
}>> & mongoose.FlatRecord<{
|
|
174
|
-
createdAt: NativeDate;
|
|
175
|
-
updatedAt: NativeDate;
|
|
176
|
-
} & {
|
|
177
163
|
name?: string;
|
|
178
164
|
location?: {
|
|
179
165
|
type: "Point";
|
|
@@ -190,7 +176,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
190
176
|
rating?: number;
|
|
191
177
|
googlePlaceId?: string;
|
|
192
178
|
capacity?: number;
|
|
193
|
-
}> & {
|
|
179
|
+
} & mongoose.DefaultTimestampProps> & {
|
|
194
180
|
_id: mongoose.Types.ObjectId;
|
|
181
|
+
} & {
|
|
182
|
+
__v: number;
|
|
195
183
|
}>>;
|
|
196
184
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/venues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/venues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weekendgoals/weekendgoals-common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1721.19891607169",
|
|
4
4
|
"description": "Weekend Goals Common",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@weekendgoals/weekendgoals-types": "^1.0.0",
|
|
19
19
|
"axios": "^1.9.0",
|
|
20
|
-
"mongoose": "8.
|
|
20
|
+
"mongoose": "^8.20.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/node": "^
|
|
23
|
+
"@types/node": "^24.10.1",
|
|
24
24
|
"@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
25
25
|
"@typescript-eslint/parser": "^8.22.0",
|
|
26
26
|
"eslint": "^9.19.0",
|
package/readme.md
CHANGED