@lyxa.ai/marketing 1.0.50 → 1.0.51
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/lib/index.d.ts +31 -6
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.repository.d.ts +2 -0
- package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.repository.js +8 -0
- package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.router.d.ts +27 -4
- package/dist/lib/modules/tournament/participant/participant.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.router.js +7 -0
- package/dist/lib/modules/tournament/participant/participant.router.js.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.service.d.ts +2 -2
- package/dist/lib/modules/tournament/participant/participant.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.service.js +20 -6
- package/dist/lib/modules/tournament/participant/participant.service.js.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.validation.d.ts +144 -36
- package/dist/lib/modules/tournament/participant/participant.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.validation.js +10 -3
- package/dist/lib/modules/tournament/participant/participant.validation.js.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.service.js +2 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -1
- package/dist/lib/modules/tournament/team/team.router.d.ts +2 -2
- package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/team/team.service.js +2 -0
- package/dist/lib/modules/tournament/team/team.service.js.map +1 -1
- package/dist/lib/modules/tournament/team/team.validation.d.ts +14 -14
- package/dist/lib/modules/tournament/tournament.router.d.ts +148 -122
- package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/tournament.router.js +7 -2
- package/dist/lib/modules/tournament/tournament.router.js.map +1 -1
- package/dist/lib/modules/tournament/tournament.service.d.ts +3 -1
- package/dist/lib/modules/tournament/tournament.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/tournament.service.js +17 -2
- package/dist/lib/modules/tournament/tournament.service.js.map +1 -1
- package/dist/lib/modules/tournament/tournament.types.d.ts +5 -0
- package/dist/lib/modules/tournament/tournament.types.d.ts.map +1 -1
- package/dist/lib/modules/tournament/tournament.types.js +7 -1
- package/dist/lib/modules/tournament/tournament.types.js.map +1 -1
- package/dist/lib/modules/tournament/tournament.validation.d.ts +15 -0
- package/dist/lib/modules/tournament/tournament.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/tournament.validation.js +4 -1
- package/dist/lib/modules/tournament/tournament.validation.js.map +1 -1
- package/dist/types/index.d.ts +31 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/tournament/participant/participant.repository.d.ts +2 -0
- package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/participant/participant.router.d.ts +27 -4
- package/dist/types/modules/tournament/participant/participant.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/participant/participant.service.d.ts +2 -2
- package/dist/types/modules/tournament/participant/participant.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/participant/participant.validation.d.ts +144 -36
- package/dist/types/modules/tournament/participant/participant.validation.d.ts.map +1 -1
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/team/team.router.d.ts +2 -2
- package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/team/team.validation.d.ts +14 -14
- package/dist/types/modules/tournament/tournament.router.d.ts +148 -122
- package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.service.d.ts +3 -1
- package/dist/types/modules/tournament/tournament.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.types.d.ts +5 -0
- package/dist/types/modules/tournament/tournament.types.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.validation.d.ts +15 -0
- package/dist/types/modules/tournament/tournament.validation.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -17,11 +17,13 @@ export declare const GetTournamentParticipantsSchema: z.ZodObject<{
|
|
|
17
17
|
}, {
|
|
18
18
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
19
19
|
}>;
|
|
20
|
+
export declare const TournamentParticipantStatusSchema: z.ZodEnum<["joined", "seen"]>;
|
|
20
21
|
export declare const TournamentParticipantSchema: z.ZodObject<{
|
|
21
22
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
22
23
|
userId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
23
24
|
tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
24
|
-
teamId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]
|
|
25
|
+
teamId: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
26
|
+
status: z.ZodEnum<["joined", "seen"]>;
|
|
25
27
|
predictions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
26
28
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
27
29
|
matchId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
@@ -62,10 +64,10 @@ export declare const TournamentParticipantSchema: z.ZodObject<{
|
|
|
62
64
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
63
65
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
64
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
status: "joined" | "seen";
|
|
65
68
|
_id: import("mongoose").Types.ObjectId;
|
|
66
69
|
userId: import("mongoose").Types.ObjectId;
|
|
67
70
|
tournamentId: import("mongoose").Types.ObjectId;
|
|
68
|
-
teamId: import("mongoose").Types.ObjectId;
|
|
69
71
|
predictions: {
|
|
70
72
|
_id: import("mongoose").Types.ObjectId;
|
|
71
73
|
matchId: import("mongoose").Types.ObjectId;
|
|
@@ -79,13 +81,15 @@ export declare const TournamentParticipantSchema: z.ZodObject<{
|
|
|
79
81
|
}[];
|
|
80
82
|
createdAt?: Date | null | undefined;
|
|
81
83
|
updatedAt?: Date | null | undefined;
|
|
84
|
+
teamId?: import("mongoose").Types.ObjectId | undefined;
|
|
82
85
|
}, {
|
|
86
|
+
status: "joined" | "seen";
|
|
83
87
|
_id: string | import("mongoose").Types.ObjectId;
|
|
84
88
|
userId: string | import("mongoose").Types.ObjectId;
|
|
85
89
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
86
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
87
90
|
createdAt?: Date | null | undefined;
|
|
88
91
|
updatedAt?: Date | null | undefined;
|
|
92
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
89
93
|
predictions?: {
|
|
90
94
|
_id: string | import("mongoose").Types.ObjectId;
|
|
91
95
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -101,18 +105,28 @@ export declare const TournamentParticipantSchema: z.ZodObject<{
|
|
|
101
105
|
export declare const JoinTournamentParticipantSchema: z.ZodObject<{
|
|
102
106
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
103
107
|
tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
104
|
-
teamId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]
|
|
108
|
+
teamId: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
109
|
+
status: z.ZodEnum<["joined", "seen"]>;
|
|
105
110
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
106
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
status: "joined" | "seen";
|
|
107
113
|
_id: import("mongoose").Types.ObjectId;
|
|
108
114
|
tournamentId: import("mongoose").Types.ObjectId;
|
|
109
|
-
teamId: import("mongoose").Types.ObjectId;
|
|
110
115
|
createdAt?: Date | null | undefined;
|
|
116
|
+
teamId?: import("mongoose").Types.ObjectId | undefined;
|
|
111
117
|
}, {
|
|
118
|
+
status: "joined" | "seen";
|
|
112
119
|
_id: string | import("mongoose").Types.ObjectId;
|
|
113
120
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
114
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
115
121
|
createdAt?: Date | null | undefined;
|
|
122
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
123
|
+
}>;
|
|
124
|
+
export declare const MarkSeenTournamentSchema: z.ZodObject<{
|
|
125
|
+
tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
tournamentId: import("mongoose").Types.ObjectId;
|
|
128
|
+
}, {
|
|
129
|
+
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
116
130
|
}>;
|
|
117
131
|
export declare const JoinTournamentResponseSchema: z.ZodObject<{
|
|
118
132
|
success: z.ZodBoolean;
|
|
@@ -135,22 +149,25 @@ export declare const JoinTournamentResponseSchema: z.ZodObject<{
|
|
|
135
149
|
totalPages: number;
|
|
136
150
|
}>>;
|
|
137
151
|
documents: z.ZodArray<z.ZodType<{
|
|
152
|
+
status: "joined" | "seen";
|
|
138
153
|
_id: string | import("mongoose").Types.ObjectId;
|
|
139
154
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
140
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
141
155
|
createdAt?: Date | null | undefined;
|
|
156
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
142
157
|
}, z.ZodTypeDef, {
|
|
158
|
+
status: "joined" | "seen";
|
|
143
159
|
_id: string | import("mongoose").Types.ObjectId;
|
|
144
160
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
145
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
146
161
|
createdAt?: Date | null | undefined;
|
|
162
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
147
163
|
}>, "many">;
|
|
148
164
|
}, "strip", z.ZodTypeAny, {
|
|
149
165
|
documents: {
|
|
166
|
+
status: "joined" | "seen";
|
|
150
167
|
_id: string | import("mongoose").Types.ObjectId;
|
|
151
168
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
152
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
153
169
|
createdAt?: Date | null | undefined;
|
|
170
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
154
171
|
}[];
|
|
155
172
|
metadata?: {
|
|
156
173
|
page: number;
|
|
@@ -160,10 +177,11 @@ export declare const JoinTournamentResponseSchema: z.ZodObject<{
|
|
|
160
177
|
} | undefined;
|
|
161
178
|
}, {
|
|
162
179
|
documents: {
|
|
180
|
+
status: "joined" | "seen";
|
|
163
181
|
_id: string | import("mongoose").Types.ObjectId;
|
|
164
182
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
165
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
166
183
|
createdAt?: Date | null | undefined;
|
|
184
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
167
185
|
}[];
|
|
168
186
|
metadata?: {
|
|
169
187
|
page: number;
|
|
@@ -172,30 +190,34 @@ export declare const JoinTournamentResponseSchema: z.ZodObject<{
|
|
|
172
190
|
totalPages: number;
|
|
173
191
|
} | undefined;
|
|
174
192
|
}>, z.ZodType<{
|
|
193
|
+
status: "joined" | "seen";
|
|
175
194
|
_id: string | import("mongoose").Types.ObjectId;
|
|
176
195
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
177
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
178
196
|
createdAt?: Date | null | undefined;
|
|
197
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
179
198
|
}, z.ZodTypeDef, {
|
|
199
|
+
status: "joined" | "seen";
|
|
180
200
|
_id: string | import("mongoose").Types.ObjectId;
|
|
181
201
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
182
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
183
202
|
createdAt?: Date | null | undefined;
|
|
203
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
184
204
|
}>]>>;
|
|
185
205
|
}, "strip", z.ZodTypeAny, {
|
|
186
206
|
message: string;
|
|
187
207
|
success: boolean;
|
|
188
208
|
data?: {
|
|
209
|
+
status: "joined" | "seen";
|
|
189
210
|
_id: string | import("mongoose").Types.ObjectId;
|
|
190
211
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
191
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
192
212
|
createdAt?: Date | null | undefined;
|
|
213
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
193
214
|
} | {
|
|
194
215
|
documents: {
|
|
216
|
+
status: "joined" | "seen";
|
|
195
217
|
_id: string | import("mongoose").Types.ObjectId;
|
|
196
218
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
197
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
198
219
|
createdAt?: Date | null | undefined;
|
|
220
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
199
221
|
}[];
|
|
200
222
|
metadata?: {
|
|
201
223
|
page: number;
|
|
@@ -208,16 +230,18 @@ export declare const JoinTournamentResponseSchema: z.ZodObject<{
|
|
|
208
230
|
message: string;
|
|
209
231
|
success: boolean;
|
|
210
232
|
data?: {
|
|
233
|
+
status: "joined" | "seen";
|
|
211
234
|
_id: string | import("mongoose").Types.ObjectId;
|
|
212
235
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
213
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
214
236
|
createdAt?: Date | null | undefined;
|
|
237
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
215
238
|
} | {
|
|
216
239
|
documents: {
|
|
240
|
+
status: "joined" | "seen";
|
|
217
241
|
_id: string | import("mongoose").Types.ObjectId;
|
|
218
242
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
219
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
220
243
|
createdAt?: Date | null | undefined;
|
|
244
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
221
245
|
}[];
|
|
222
246
|
metadata?: {
|
|
223
247
|
page: number;
|
|
@@ -248,12 +272,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
248
272
|
totalPages: number;
|
|
249
273
|
}>>;
|
|
250
274
|
documents: z.ZodArray<z.ZodType<{
|
|
275
|
+
status: "joined" | "seen";
|
|
251
276
|
_id: string | import("mongoose").Types.ObjectId;
|
|
252
277
|
userId: string | import("mongoose").Types.ObjectId;
|
|
253
278
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
254
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
255
279
|
createdAt?: Date | null | undefined;
|
|
256
280
|
updatedAt?: Date | null | undefined;
|
|
281
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
257
282
|
predictions?: {
|
|
258
283
|
_id: string | import("mongoose").Types.ObjectId;
|
|
259
284
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -266,12 +291,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
266
291
|
succeeded?: boolean | null | undefined;
|
|
267
292
|
}[] | undefined;
|
|
268
293
|
}, z.ZodTypeDef, {
|
|
294
|
+
status: "joined" | "seen";
|
|
269
295
|
_id: string | import("mongoose").Types.ObjectId;
|
|
270
296
|
userId: string | import("mongoose").Types.ObjectId;
|
|
271
297
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
272
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
273
298
|
createdAt?: Date | null | undefined;
|
|
274
299
|
updatedAt?: Date | null | undefined;
|
|
300
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
275
301
|
predictions?: {
|
|
276
302
|
_id: string | import("mongoose").Types.ObjectId;
|
|
277
303
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -286,12 +312,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
286
312
|
}>, "many">;
|
|
287
313
|
}, "strip", z.ZodTypeAny, {
|
|
288
314
|
documents: {
|
|
315
|
+
status: "joined" | "seen";
|
|
289
316
|
_id: string | import("mongoose").Types.ObjectId;
|
|
290
317
|
userId: string | import("mongoose").Types.ObjectId;
|
|
291
318
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
292
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
293
319
|
createdAt?: Date | null | undefined;
|
|
294
320
|
updatedAt?: Date | null | undefined;
|
|
321
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
295
322
|
predictions?: {
|
|
296
323
|
_id: string | import("mongoose").Types.ObjectId;
|
|
297
324
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -312,12 +339,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
312
339
|
} | undefined;
|
|
313
340
|
}, {
|
|
314
341
|
documents: {
|
|
342
|
+
status: "joined" | "seen";
|
|
315
343
|
_id: string | import("mongoose").Types.ObjectId;
|
|
316
344
|
userId: string | import("mongoose").Types.ObjectId;
|
|
317
345
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
318
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
319
346
|
createdAt?: Date | null | undefined;
|
|
320
347
|
updatedAt?: Date | null | undefined;
|
|
348
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
321
349
|
predictions?: {
|
|
322
350
|
_id: string | import("mongoose").Types.ObjectId;
|
|
323
351
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -337,12 +365,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
337
365
|
totalPages: number;
|
|
338
366
|
} | undefined;
|
|
339
367
|
}>, z.ZodType<{
|
|
368
|
+
status: "joined" | "seen";
|
|
340
369
|
_id: string | import("mongoose").Types.ObjectId;
|
|
341
370
|
userId: string | import("mongoose").Types.ObjectId;
|
|
342
371
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
343
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
344
372
|
createdAt?: Date | null | undefined;
|
|
345
373
|
updatedAt?: Date | null | undefined;
|
|
374
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
346
375
|
predictions?: {
|
|
347
376
|
_id: string | import("mongoose").Types.ObjectId;
|
|
348
377
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -355,12 +384,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
355
384
|
succeeded?: boolean | null | undefined;
|
|
356
385
|
}[] | undefined;
|
|
357
386
|
}, z.ZodTypeDef, {
|
|
387
|
+
status: "joined" | "seen";
|
|
358
388
|
_id: string | import("mongoose").Types.ObjectId;
|
|
359
389
|
userId: string | import("mongoose").Types.ObjectId;
|
|
360
390
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
361
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
362
391
|
createdAt?: Date | null | undefined;
|
|
363
392
|
updatedAt?: Date | null | undefined;
|
|
393
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
364
394
|
predictions?: {
|
|
365
395
|
_id: string | import("mongoose").Types.ObjectId;
|
|
366
396
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -377,12 +407,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
377
407
|
message: string;
|
|
378
408
|
success: boolean;
|
|
379
409
|
data?: {
|
|
410
|
+
status: "joined" | "seen";
|
|
380
411
|
_id: string | import("mongoose").Types.ObjectId;
|
|
381
412
|
userId: string | import("mongoose").Types.ObjectId;
|
|
382
413
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
383
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
384
414
|
createdAt?: Date | null | undefined;
|
|
385
415
|
updatedAt?: Date | null | undefined;
|
|
416
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
386
417
|
predictions?: {
|
|
387
418
|
_id: string | import("mongoose").Types.ObjectId;
|
|
388
419
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -396,12 +427,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
396
427
|
}[] | undefined;
|
|
397
428
|
} | {
|
|
398
429
|
documents: {
|
|
430
|
+
status: "joined" | "seen";
|
|
399
431
|
_id: string | import("mongoose").Types.ObjectId;
|
|
400
432
|
userId: string | import("mongoose").Types.ObjectId;
|
|
401
433
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
402
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
403
434
|
createdAt?: Date | null | undefined;
|
|
404
435
|
updatedAt?: Date | null | undefined;
|
|
436
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
405
437
|
predictions?: {
|
|
406
438
|
_id: string | import("mongoose").Types.ObjectId;
|
|
407
439
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -425,12 +457,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
425
457
|
message: string;
|
|
426
458
|
success: boolean;
|
|
427
459
|
data?: {
|
|
460
|
+
status: "joined" | "seen";
|
|
428
461
|
_id: string | import("mongoose").Types.ObjectId;
|
|
429
462
|
userId: string | import("mongoose").Types.ObjectId;
|
|
430
463
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
431
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
432
464
|
createdAt?: Date | null | undefined;
|
|
433
465
|
updatedAt?: Date | null | undefined;
|
|
466
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
434
467
|
predictions?: {
|
|
435
468
|
_id: string | import("mongoose").Types.ObjectId;
|
|
436
469
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -444,12 +477,13 @@ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
|
|
|
444
477
|
}[] | undefined;
|
|
445
478
|
} | {
|
|
446
479
|
documents: {
|
|
480
|
+
status: "joined" | "seen";
|
|
447
481
|
_id: string | import("mongoose").Types.ObjectId;
|
|
448
482
|
userId: string | import("mongoose").Types.ObjectId;
|
|
449
483
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
450
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
451
484
|
createdAt?: Date | null | undefined;
|
|
452
485
|
updatedAt?: Date | null | undefined;
|
|
486
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
453
487
|
predictions?: {
|
|
454
488
|
_id: string | import("mongoose").Types.ObjectId;
|
|
455
489
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -491,12 +525,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
491
525
|
totalPages: number;
|
|
492
526
|
}>>;
|
|
493
527
|
documents: z.ZodArray<z.ZodType<{
|
|
528
|
+
status: "joined" | "seen";
|
|
494
529
|
_id: string | import("mongoose").Types.ObjectId;
|
|
495
530
|
userId: string | import("mongoose").Types.ObjectId;
|
|
496
531
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
497
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
498
532
|
createdAt?: Date | null | undefined;
|
|
499
533
|
updatedAt?: Date | null | undefined;
|
|
534
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
500
535
|
predictions?: {
|
|
501
536
|
_id: string | import("mongoose").Types.ObjectId;
|
|
502
537
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -509,12 +544,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
509
544
|
succeeded?: boolean | null | undefined;
|
|
510
545
|
}[] | undefined;
|
|
511
546
|
}[], z.ZodTypeDef, {
|
|
547
|
+
status: "joined" | "seen";
|
|
512
548
|
_id: string | import("mongoose").Types.ObjectId;
|
|
513
549
|
userId: string | import("mongoose").Types.ObjectId;
|
|
514
550
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
515
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
516
551
|
createdAt?: Date | null | undefined;
|
|
517
552
|
updatedAt?: Date | null | undefined;
|
|
553
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
518
554
|
predictions?: {
|
|
519
555
|
_id: string | import("mongoose").Types.ObjectId;
|
|
520
556
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -529,12 +565,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
529
565
|
}[]>, "many">;
|
|
530
566
|
}, "strip", z.ZodTypeAny, {
|
|
531
567
|
documents: {
|
|
568
|
+
status: "joined" | "seen";
|
|
532
569
|
_id: string | import("mongoose").Types.ObjectId;
|
|
533
570
|
userId: string | import("mongoose").Types.ObjectId;
|
|
534
571
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
535
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
536
572
|
createdAt?: Date | null | undefined;
|
|
537
573
|
updatedAt?: Date | null | undefined;
|
|
574
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
538
575
|
predictions?: {
|
|
539
576
|
_id: string | import("mongoose").Types.ObjectId;
|
|
540
577
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -555,12 +592,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
555
592
|
} | undefined;
|
|
556
593
|
}, {
|
|
557
594
|
documents: {
|
|
595
|
+
status: "joined" | "seen";
|
|
558
596
|
_id: string | import("mongoose").Types.ObjectId;
|
|
559
597
|
userId: string | import("mongoose").Types.ObjectId;
|
|
560
598
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
561
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
562
599
|
createdAt?: Date | null | undefined;
|
|
563
600
|
updatedAt?: Date | null | undefined;
|
|
601
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
564
602
|
predictions?: {
|
|
565
603
|
_id: string | import("mongoose").Types.ObjectId;
|
|
566
604
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -580,12 +618,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
580
618
|
totalPages: number;
|
|
581
619
|
} | undefined;
|
|
582
620
|
}>, z.ZodType<{
|
|
621
|
+
status: "joined" | "seen";
|
|
583
622
|
_id: string | import("mongoose").Types.ObjectId;
|
|
584
623
|
userId: string | import("mongoose").Types.ObjectId;
|
|
585
624
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
586
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
587
625
|
createdAt?: Date | null | undefined;
|
|
588
626
|
updatedAt?: Date | null | undefined;
|
|
627
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
589
628
|
predictions?: {
|
|
590
629
|
_id: string | import("mongoose").Types.ObjectId;
|
|
591
630
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -598,12 +637,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
598
637
|
succeeded?: boolean | null | undefined;
|
|
599
638
|
}[] | undefined;
|
|
600
639
|
}[], z.ZodTypeDef, {
|
|
640
|
+
status: "joined" | "seen";
|
|
601
641
|
_id: string | import("mongoose").Types.ObjectId;
|
|
602
642
|
userId: string | import("mongoose").Types.ObjectId;
|
|
603
643
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
604
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
605
644
|
createdAt?: Date | null | undefined;
|
|
606
645
|
updatedAt?: Date | null | undefined;
|
|
646
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
607
647
|
predictions?: {
|
|
608
648
|
_id: string | import("mongoose").Types.ObjectId;
|
|
609
649
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -620,12 +660,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
620
660
|
message: string;
|
|
621
661
|
success: boolean;
|
|
622
662
|
data?: {
|
|
663
|
+
status: "joined" | "seen";
|
|
623
664
|
_id: string | import("mongoose").Types.ObjectId;
|
|
624
665
|
userId: string | import("mongoose").Types.ObjectId;
|
|
625
666
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
626
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
627
667
|
createdAt?: Date | null | undefined;
|
|
628
668
|
updatedAt?: Date | null | undefined;
|
|
669
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
629
670
|
predictions?: {
|
|
630
671
|
_id: string | import("mongoose").Types.ObjectId;
|
|
631
672
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -639,12 +680,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
639
680
|
}[] | undefined;
|
|
640
681
|
}[] | {
|
|
641
682
|
documents: {
|
|
683
|
+
status: "joined" | "seen";
|
|
642
684
|
_id: string | import("mongoose").Types.ObjectId;
|
|
643
685
|
userId: string | import("mongoose").Types.ObjectId;
|
|
644
686
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
645
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
646
687
|
createdAt?: Date | null | undefined;
|
|
647
688
|
updatedAt?: Date | null | undefined;
|
|
689
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
648
690
|
predictions?: {
|
|
649
691
|
_id: string | import("mongoose").Types.ObjectId;
|
|
650
692
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -668,12 +710,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
668
710
|
message: string;
|
|
669
711
|
success: boolean;
|
|
670
712
|
data?: {
|
|
713
|
+
status: "joined" | "seen";
|
|
671
714
|
_id: string | import("mongoose").Types.ObjectId;
|
|
672
715
|
userId: string | import("mongoose").Types.ObjectId;
|
|
673
716
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
674
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
675
717
|
createdAt?: Date | null | undefined;
|
|
676
718
|
updatedAt?: Date | null | undefined;
|
|
719
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
677
720
|
predictions?: {
|
|
678
721
|
_id: string | import("mongoose").Types.ObjectId;
|
|
679
722
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -687,12 +730,13 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
687
730
|
}[] | undefined;
|
|
688
731
|
}[] | {
|
|
689
732
|
documents: {
|
|
733
|
+
status: "joined" | "seen";
|
|
690
734
|
_id: string | import("mongoose").Types.ObjectId;
|
|
691
735
|
userId: string | import("mongoose").Types.ObjectId;
|
|
692
736
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
693
|
-
teamId: string | import("mongoose").Types.ObjectId;
|
|
694
737
|
createdAt?: Date | null | undefined;
|
|
695
738
|
updatedAt?: Date | null | undefined;
|
|
739
|
+
teamId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
696
740
|
predictions?: {
|
|
697
741
|
_id: string | import("mongoose").Types.ObjectId;
|
|
698
742
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
@@ -713,7 +757,71 @@ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
|
|
|
713
757
|
} | undefined;
|
|
714
758
|
} | undefined;
|
|
715
759
|
}>;
|
|
760
|
+
export declare const MarkSeenTournamentResponseSchema: z.ZodObject<{
|
|
761
|
+
success: z.ZodBoolean;
|
|
762
|
+
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
763
|
+
data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
764
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
765
|
+
page: z.ZodNumber;
|
|
766
|
+
size: z.ZodNumber;
|
|
767
|
+
totalElements: z.ZodNumber;
|
|
768
|
+
totalPages: z.ZodNumber;
|
|
769
|
+
}, "strip", z.ZodTypeAny, {
|
|
770
|
+
page: number;
|
|
771
|
+
size: number;
|
|
772
|
+
totalElements: number;
|
|
773
|
+
totalPages: number;
|
|
774
|
+
}, {
|
|
775
|
+
page: number;
|
|
776
|
+
size: number;
|
|
777
|
+
totalElements: number;
|
|
778
|
+
totalPages: number;
|
|
779
|
+
}>>;
|
|
780
|
+
documents: z.ZodArray<z.ZodType<null, z.ZodTypeDef, null>, "many">;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
documents: null[];
|
|
783
|
+
metadata?: {
|
|
784
|
+
page: number;
|
|
785
|
+
size: number;
|
|
786
|
+
totalElements: number;
|
|
787
|
+
totalPages: number;
|
|
788
|
+
} | undefined;
|
|
789
|
+
}, {
|
|
790
|
+
documents: null[];
|
|
791
|
+
metadata?: {
|
|
792
|
+
page: number;
|
|
793
|
+
size: number;
|
|
794
|
+
totalElements: number;
|
|
795
|
+
totalPages: number;
|
|
796
|
+
} | undefined;
|
|
797
|
+
}>, z.ZodType<null, z.ZodTypeDef, null>]>>;
|
|
798
|
+
}, "strip", z.ZodTypeAny, {
|
|
799
|
+
message: string;
|
|
800
|
+
success: boolean;
|
|
801
|
+
data?: {
|
|
802
|
+
documents: null[];
|
|
803
|
+
metadata?: {
|
|
804
|
+
page: number;
|
|
805
|
+
size: number;
|
|
806
|
+
totalElements: number;
|
|
807
|
+
totalPages: number;
|
|
808
|
+
} | undefined;
|
|
809
|
+
} | null | undefined;
|
|
810
|
+
}, {
|
|
811
|
+
message: string;
|
|
812
|
+
success: boolean;
|
|
813
|
+
data?: {
|
|
814
|
+
documents: null[];
|
|
815
|
+
metadata?: {
|
|
816
|
+
page: number;
|
|
817
|
+
size: number;
|
|
818
|
+
totalElements: number;
|
|
819
|
+
totalPages: number;
|
|
820
|
+
} | undefined;
|
|
821
|
+
} | null | undefined;
|
|
822
|
+
}>;
|
|
716
823
|
export type JoinTournamentInputDTO = DTO<typeof JoinTournamentSchema>;
|
|
824
|
+
export type MarkSeenTournamentInputDTO = DTO<typeof MarkSeenTournamentSchema>;
|
|
717
825
|
export type JoinTournamentParticipantOutputDTO = DTO<typeof JoinTournamentParticipantSchema>;
|
|
718
826
|
export type TournamentParticipantOutputDTO = DTO<typeof TournamentParticipantSchema>;
|
|
719
827
|
//# sourceMappingURL=participant.validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"participant.validation.d.ts","sourceRoot":"/","sources":["modules/tournament/participant/participant.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,GAAG,EAAiB,MAAM,2DAA2D,CAAC;AAiB/F,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAC;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"participant.validation.d.ts","sourceRoot":"/","sources":["modules/tournament/participant/participant.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,GAAG,EAAiB,MAAM,2DAA2D,CAAC;AAiB/F,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAC;AAEH,eAAO,MAAM,iCAAiC,+BAA6B,CAAC;AAE5E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;EAM1C,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwD,CAAC;AAClG,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoD,CAAC;AACrG,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6D,CAAC;AAClH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAC;AAE/E,MAAM,MAAM,sBAAsB,GAAG,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACtE,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC9E,MAAM,MAAM,kCAAkC,GAAG,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAC7F,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prediction.service.d.ts","sourceRoot":"/","sources":["modules/tournament/prediction/prediction.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EACH,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACtB,MAAM,yBAAyB,CAAC;AAQjC,qBACa,iBAAiB;IAC1B,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,eAAe,CAA4B;IACnD,OAAO,CAAC,kBAAkB,CAAqB;;YAQjC,SAAS;IAQvB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"prediction.service.d.ts","sourceRoot":"/","sources":["modules/tournament/prediction/prediction.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EACH,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACtB,MAAM,yBAAyB,CAAC;AAQjC,qBACa,iBAAiB;IAC1B,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,eAAe,CAA4B;IACnD,OAAO,CAAC,kBAAkB,CAAqB;;YAQjC,SAAS;IAQvB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,kCAAkC;IAU1C,OAAO,CAAC,uBAAuB;IAK/B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,eAAe;IAmBV,QAAQ,CACjB,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EACrC,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAChC,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAC7C,OAAO,CAAC;QAAC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QAAC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAA;KAAC,CAAC;IAO1E,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAetG,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAqBlG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,qBAAqB,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC;CAKvH;AAED,eAAO,MAAM,iBAAiB,mBAAmC,CAAC"}
|
|
@@ -142,6 +142,7 @@ export declare const teamRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
142
142
|
team2: number | null;
|
|
143
143
|
};
|
|
144
144
|
stage: string;
|
|
145
|
+
matchStatus: import("../tournament.types").MatchStatus;
|
|
145
146
|
prediction: {
|
|
146
147
|
score: {
|
|
147
148
|
team1: number | null;
|
|
@@ -150,7 +151,6 @@ export declare const teamRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
150
151
|
succeeded: boolean | null;
|
|
151
152
|
} | null;
|
|
152
153
|
canPredict: boolean;
|
|
153
|
-
matchStatus: import("../tournament.types").MatchStatus;
|
|
154
154
|
endDate?: Date | null | undefined;
|
|
155
155
|
additionalTag?: string | undefined;
|
|
156
156
|
winnerId?: string | mongoose.Types.ObjectId | null | undefined;
|
|
@@ -180,6 +180,7 @@ export declare const teamRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
180
180
|
team2: number | null;
|
|
181
181
|
};
|
|
182
182
|
stage: string;
|
|
183
|
+
matchStatus: import("../tournament.types").MatchStatus;
|
|
183
184
|
prediction: {
|
|
184
185
|
score: {
|
|
185
186
|
team1: number | null;
|
|
@@ -188,7 +189,6 @@ export declare const teamRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
188
189
|
succeeded: boolean | null;
|
|
189
190
|
} | null;
|
|
190
191
|
canPredict: boolean;
|
|
191
|
-
matchStatus: import("../tournament.types").MatchStatus;
|
|
192
192
|
endDate?: Date | null | undefined;
|
|
193
193
|
additionalTag?: string | undefined;
|
|
194
194
|
winnerId?: string | mongoose.Types.ObjectId | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.service.d.ts","sourceRoot":"/","sources":["modules/tournament/team/team.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EACH,0BAA0B,EAC1B,sBAAsB,EAEtB,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAKxE,qBACa,WAAW;IACpB,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,kBAAkB,CAAqB;;IAO/C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,iBAAiB;IAYZ,GAAG,CAAC,KAAK,EAAE,0BAA0B,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAU1E,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAcpF,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"team.service.d.ts","sourceRoot":"/","sources":["modules/tournament/team/team.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EACH,0BAA0B,EAC1B,sBAAsB,EAEtB,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAKxE,qBACa,WAAW;IACpB,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,kBAAkB,CAAqB;;IAO/C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,iBAAiB;IAYZ,GAAG,CAAC,KAAK,EAAE,0BAA0B,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAU1E,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAcpF,UAAU,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,8BAA8B,CAAC;CAyCnI;AAED,eAAO,MAAM,WAAW,aAA6B,CAAC"}
|