@lyxa.ai/marketing 1.0.49 → 1.0.50
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 +236 -17
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.repository.d.ts +3 -0
- package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.repository.js +3 -0
- package/dist/lib/modules/tournament/config/config.repository.js.map +1 -1
- package/dist/lib/modules/tournament/config/config.router.d.ts +10 -10
- package/dist/lib/modules/tournament/config/config.validation.d.ts +37 -36
- package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.validation.js +4 -3
- package/dist/lib/modules/tournament/config/config.validation.js.map +1 -1
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js +9 -1
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js.map +1 -1
- package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.builder.js +2 -1
- package/dist/lib/modules/tournament/match/match.builder.js.map +1 -1
- package/dist/lib/modules/tournament/match/match.repository.d.ts +2 -0
- package/dist/lib/modules/tournament/match/match.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.repository.js +10 -0
- package/dist/lib/modules/tournament/match/match.repository.js.map +1 -1
- package/dist/lib/modules/tournament/match/match.router.d.ts +16 -4
- package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.service.d.ts +0 -1
- package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.service.js +3 -9
- package/dist/lib/modules/tournament/match/match.service.js.map +1 -1
- package/dist/lib/modules/tournament/match/match.validation.d.ts +50 -0
- package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.validation.js +1 -0
- package/dist/lib/modules/tournament/match/match.validation.js.map +1 -1
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +2 -5
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -1
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +1 -6
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +1 -1
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +2 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -1
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +15 -9
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +1 -1
- package/dist/lib/modules/tournament/notification/notification-template.repository.d.ts +8 -0
- package/dist/lib/modules/tournament/notification/notification-template.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/notification-template.repository.js +60 -0
- package/dist/lib/modules/tournament/notification/notification-template.repository.js.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.config.d.ts +10 -0
- package/dist/lib/modules/tournament/notification/notification.config.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.config.js +15 -0
- package/dist/lib/modules/tournament/notification/notification.config.js.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts +10 -0
- package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.schedule.config.js +15 -0
- package/dist/lib/modules/tournament/notification/notification.schedule.config.js.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +4 -4
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +15 -28
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +1 -1
- package/dist/lib/modules/tournament/notification/notification.service.d.ts +5 -4
- package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/notification/notification.service.js +33 -28
- package/dist/lib/modules/tournament/notification/notification.service.js.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.repository.d.ts +1 -0
- package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/participant/participant.repository.js +6 -0
- package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.builder.js +3 -2
- package/dist/lib/modules/tournament/prediction/prediction.builder.js.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.service.js +10 -1
- package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.builder.d.ts.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.builder.js +2 -1
- package/dist/lib/modules/tournament/reward/reward.builder.js.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.repository.d.ts +8 -0
- package/dist/lib/modules/tournament/reward/reward.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.repository.js +66 -0
- package/dist/lib/modules/tournament/reward/reward.repository.js.map +1 -0
- package/dist/lib/modules/tournament/schedule/schedule.router.d.ts +27 -0
- package/dist/lib/modules/tournament/schedule/schedule.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/schedule/schedule.router.js +17 -0
- package/dist/lib/modules/tournament/schedule/schedule.router.js.map +1 -0
- package/dist/lib/modules/tournament/schedule/schedule.service.d.ts +10 -0
- package/dist/lib/modules/tournament/schedule/schedule.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/schedule/schedule.service.js +87 -0
- package/dist/lib/modules/tournament/schedule/schedule.service.js.map +1 -0
- package/dist/lib/modules/tournament/score/score.repository.d.ts +8 -1
- package/dist/lib/modules/tournament/score/score.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/score/score.repository.js +12 -2
- package/dist/lib/modules/tournament/score/score.repository.js.map +1 -1
- package/dist/lib/modules/tournament/score/score.router.d.ts +98 -0
- package/dist/lib/modules/tournament/score/score.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/score/score.router.js +20 -0
- package/dist/lib/modules/tournament/score/score.router.js.map +1 -0
- package/dist/lib/modules/tournament/score/score.service.d.ts +7 -0
- package/dist/lib/modules/tournament/score/score.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/score/score.service.js +49 -0
- package/dist/lib/modules/tournament/score/score.service.js.map +1 -1
- package/dist/lib/modules/tournament/score/score.validation.d.ts +375 -0
- package/dist/lib/modules/tournament/score/score.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/score/score.validation.js +19 -0
- package/dist/lib/modules/tournament/score/score.validation.js.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.builder.d.ts +10 -0
- package/dist/lib/modules/tournament/statistics/statistics.builder.d.ts.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.builder.js +53 -0
- package/dist/lib/modules/tournament/statistics/statistics.builder.js.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.router.d.ts +80 -0
- package/dist/lib/modules/tournament/statistics/statistics.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.router.js +21 -0
- package/dist/lib/modules/tournament/statistics/statistics.router.js.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.service.d.ts +11 -0
- package/dist/lib/modules/tournament/statistics/statistics.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.service.js +80 -0
- package/dist/lib/modules/tournament/statistics/statistics.service.js.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.validation.d.ts +404 -0
- package/dist/lib/modules/tournament/statistics/statistics.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/statistics/statistics.validation.js +36 -0
- package/dist/lib/modules/tournament/statistics/statistics.validation.js.map +1 -0
- package/dist/lib/modules/tournament/team/team.router.d.ts +9 -3
- package/dist/lib/modules/tournament/team/team.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/team/team.service.d.ts +1 -0
- package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/team/team.service.js +21 -16
- package/dist/lib/modules/tournament/team/team.service.js.map +1 -1
- package/dist/lib/modules/tournament/team/team.validation.d.ts +54 -4
- package/dist/lib/modules/tournament/team/team.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/team/team.validation.js +4 -2
- package/dist/lib/modules/tournament/team/team.validation.js.map +1 -1
- package/dist/lib/modules/tournament/tournament.router.d.ts +236 -17
- package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/tournament.router.js +6 -0
- package/dist/lib/modules/tournament/tournament.router.js.map +1 -1
- package/dist/lib/modules/tournament/tournament.types.d.ts +9 -0
- package/dist/lib/modules/tournament/tournament.types.d.ts.map +1 -0
- package/dist/lib/modules/tournament/tournament.types.js +14 -0
- package/dist/lib/modules/tournament/tournament.types.js.map +1 -0
- package/dist/lib/modules/tournament/tournament.utils.d.ts +2 -0
- package/dist/lib/modules/tournament/tournament.utils.d.ts.map +1 -0
- package/dist/lib/modules/tournament/tournament.utils.js +6 -0
- package/dist/lib/modules/tournament/tournament.utils.js.map +1 -0
- package/dist/types/index.d.ts +236 -17
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.repository.d.ts +3 -0
- package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.router.d.ts +10 -10
- package/dist/types/modules/tournament/config/config.validation.d.ts +37 -36
- package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.builder.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.repository.d.ts +2 -0
- package/dist/types/modules/tournament/match/match.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.router.d.ts +16 -4
- package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.service.d.ts +0 -1
- package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.validation.d.ts +50 -0
- package/dist/types/modules/tournament/match/match.validation.d.ts.map +1 -1
- package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +2 -5
- package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -1
- package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +2 -0
- package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -1
- package/dist/types/modules/tournament/notification/notification-template.repository.d.ts +8 -0
- package/dist/types/modules/tournament/notification/notification-template.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/notification.config.d.ts +10 -0
- package/dist/types/modules/tournament/notification/notification.config.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts +10 -0
- package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +4 -4
- package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/notification/notification.service.d.ts +5 -4
- package/dist/types/modules/tournament/notification/notification.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/participant/participant.repository.d.ts +1 -0
- package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts +1 -0
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/reward/reward.builder.d.ts.map +1 -1
- package/dist/types/modules/tournament/reward/reward.repository.d.ts +8 -0
- package/dist/types/modules/tournament/reward/reward.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/schedule/schedule.router.d.ts +27 -0
- package/dist/types/modules/tournament/schedule/schedule.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/schedule/schedule.service.d.ts +10 -0
- package/dist/types/modules/tournament/schedule/schedule.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/score/score.repository.d.ts +8 -1
- package/dist/types/modules/tournament/score/score.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/score/score.router.d.ts +98 -0
- package/dist/types/modules/tournament/score/score.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/score/score.service.d.ts +7 -0
- package/dist/types/modules/tournament/score/score.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/score/score.validation.d.ts +375 -0
- package/dist/types/modules/tournament/score/score.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/statistics/statistics.builder.d.ts +10 -0
- package/dist/types/modules/tournament/statistics/statistics.builder.d.ts.map +1 -0
- package/dist/types/modules/tournament/statistics/statistics.router.d.ts +80 -0
- package/dist/types/modules/tournament/statistics/statistics.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/statistics/statistics.service.d.ts +11 -0
- package/dist/types/modules/tournament/statistics/statistics.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/statistics/statistics.validation.d.ts +404 -0
- package/dist/types/modules/tournament/statistics/statistics.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/team/team.router.d.ts +9 -3
- package/dist/types/modules/tournament/team/team.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/team/team.service.d.ts +1 -0
- package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/team/team.validation.d.ts +54 -4
- package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.router.d.ts +236 -17
- package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.types.d.ts +9 -0
- package/dist/types/modules/tournament/tournament.types.d.ts.map +1 -0
- package/dist/types/modules/tournament/tournament.utils.d.ts +2 -0
- package/dist/types/modules/tournament/tournament.utils.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -19,7 +19,7 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
19
19
|
name: string;
|
|
20
20
|
startDate: string | Date;
|
|
21
21
|
endDate: string | Date;
|
|
22
|
-
tag:
|
|
22
|
+
tag: import("../tournament.types").TournamentTag;
|
|
23
23
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
24
24
|
reward?: {
|
|
25
25
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
@@ -36,12 +36,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
36
36
|
data?: {
|
|
37
37
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
38
38
|
name: string;
|
|
39
|
-
tag: string;
|
|
40
39
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
41
40
|
createdAt?: Date | null | undefined;
|
|
42
41
|
startDate?: Date | null | undefined;
|
|
43
42
|
endDate?: Date | null | undefined;
|
|
44
43
|
updatedAt?: Date | null | undefined;
|
|
44
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
45
45
|
reward?: {
|
|
46
46
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
47
47
|
} | {
|
|
@@ -54,12 +54,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
54
54
|
documents: {
|
|
55
55
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
56
56
|
name: string;
|
|
57
|
-
tag: string;
|
|
58
57
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
59
58
|
createdAt?: Date | null | undefined;
|
|
60
59
|
startDate?: Date | null | undefined;
|
|
61
60
|
endDate?: Date | null | undefined;
|
|
62
61
|
updatedAt?: Date | null | undefined;
|
|
62
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
63
63
|
reward?: {
|
|
64
64
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
65
65
|
} | {
|
|
@@ -87,12 +87,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
87
87
|
data?: {
|
|
88
88
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
89
89
|
name: string;
|
|
90
|
-
tag: string;
|
|
91
90
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
92
91
|
createdAt?: Date | null | undefined;
|
|
93
92
|
startDate?: Date | null | undefined;
|
|
94
93
|
endDate?: Date | null | undefined;
|
|
95
94
|
updatedAt?: Date | null | undefined;
|
|
95
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
96
96
|
reward?: {
|
|
97
97
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
98
98
|
} | {
|
|
@@ -104,12 +104,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
104
104
|
documents: {
|
|
105
105
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
106
106
|
name: string;
|
|
107
|
-
tag: string;
|
|
108
107
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
109
108
|
createdAt?: Date | null | undefined;
|
|
110
109
|
startDate?: Date | null | undefined;
|
|
111
110
|
endDate?: Date | null | undefined;
|
|
112
111
|
updatedAt?: Date | null | undefined;
|
|
112
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
113
113
|
reward?: {
|
|
114
114
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
115
115
|
} | {
|
|
@@ -138,12 +138,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
138
138
|
data?: {
|
|
139
139
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
140
140
|
name: string;
|
|
141
|
-
tag: string;
|
|
142
141
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
143
142
|
createdAt?: Date | null | undefined;
|
|
144
143
|
startDate?: Date | null | undefined;
|
|
145
144
|
endDate?: Date | null | undefined;
|
|
146
145
|
updatedAt?: Date | null | undefined;
|
|
146
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
147
147
|
reward?: {
|
|
148
148
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
149
149
|
} | {
|
|
@@ -156,12 +156,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
156
156
|
documents: {
|
|
157
157
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
158
158
|
name: string;
|
|
159
|
-
tag: string;
|
|
160
159
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
161
160
|
createdAt?: Date | null | undefined;
|
|
162
161
|
startDate?: Date | null | undefined;
|
|
163
162
|
endDate?: Date | null | undefined;
|
|
164
163
|
updatedAt?: Date | null | undefined;
|
|
164
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
165
165
|
reward?: {
|
|
166
166
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
167
167
|
} | {
|
|
@@ -188,7 +188,7 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
188
188
|
name?: string | undefined;
|
|
189
189
|
startDate?: string | Date | undefined;
|
|
190
190
|
endDate?: string | Date | undefined;
|
|
191
|
-
tag?:
|
|
191
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
192
192
|
reward?: {
|
|
193
193
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
194
194
|
} | {
|
|
@@ -204,12 +204,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
204
204
|
data?: {
|
|
205
205
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
206
206
|
name: string;
|
|
207
|
-
tag: string;
|
|
208
207
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
209
208
|
createdAt?: Date | null | undefined;
|
|
210
209
|
startDate?: Date | null | undefined;
|
|
211
210
|
endDate?: Date | null | undefined;
|
|
212
211
|
updatedAt?: Date | null | undefined;
|
|
212
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
213
213
|
reward?: {
|
|
214
214
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
215
215
|
} | {
|
|
@@ -222,12 +222,12 @@ export declare const configRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
222
222
|
documents: {
|
|
223
223
|
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
224
224
|
name: string;
|
|
225
|
-
tag: string;
|
|
226
225
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
227
226
|
createdAt?: Date | null | undefined;
|
|
228
227
|
startDate?: Date | null | undefined;
|
|
229
228
|
endDate?: Date | null | undefined;
|
|
230
229
|
updatedAt?: Date | null | undefined;
|
|
230
|
+
tag?: import("../tournament.types").TournamentTag | undefined;
|
|
231
231
|
reward?: {
|
|
232
232
|
type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
|
|
233
233
|
} | {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DTO } from '@lyxa.ai/core/dist/utilities/validation/global-validation';
|
|
3
3
|
import { Status, TournamentRewardType } from '@lyxa.ai/core/dist/utilities/enum';
|
|
4
|
+
import { TournamentTag } from '../tournament.types';
|
|
4
5
|
export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
5
6
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
6
|
-
tag: z.
|
|
7
|
+
tag: z.ZodNativeEnum<typeof TournamentTag>;
|
|
7
8
|
startDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
8
9
|
endDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
9
10
|
status: z.ZodOptional<z.ZodNativeEnum<typeof Status>>;
|
|
@@ -33,7 +34,7 @@ export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
33
34
|
name: string;
|
|
34
35
|
startDate: Date;
|
|
35
36
|
endDate: Date;
|
|
36
|
-
tag:
|
|
37
|
+
tag: TournamentTag;
|
|
37
38
|
status?: Status | undefined;
|
|
38
39
|
reward?: {
|
|
39
40
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
@@ -47,7 +48,7 @@ export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
47
48
|
name: string;
|
|
48
49
|
startDate: string | Date;
|
|
49
50
|
endDate: string | Date;
|
|
50
|
-
tag:
|
|
51
|
+
tag: TournamentTag;
|
|
51
52
|
status?: Status | undefined;
|
|
52
53
|
reward?: {
|
|
53
54
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
@@ -61,7 +62,7 @@ export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
61
62
|
name: string;
|
|
62
63
|
startDate: Date;
|
|
63
64
|
endDate: Date;
|
|
64
|
-
tag:
|
|
65
|
+
tag: TournamentTag;
|
|
65
66
|
status?: Status | undefined;
|
|
66
67
|
reward?: {
|
|
67
68
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
@@ -75,7 +76,7 @@ export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
75
76
|
name: string;
|
|
76
77
|
startDate: string | Date;
|
|
77
78
|
endDate: string | Date;
|
|
78
|
-
tag:
|
|
79
|
+
tag: TournamentTag;
|
|
79
80
|
status?: Status | undefined;
|
|
80
81
|
reward?: {
|
|
81
82
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
@@ -89,7 +90,7 @@ export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
89
90
|
export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
90
91
|
_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>]>;
|
|
91
92
|
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
92
|
-
tag: z.ZodOptional<z.
|
|
93
|
+
tag: z.ZodOptional<z.ZodNativeEnum<typeof TournamentTag>>;
|
|
93
94
|
startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
|
|
94
95
|
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
|
|
95
96
|
status: z.ZodOptional<z.ZodNativeEnum<typeof Status>>;
|
|
@@ -121,7 +122,7 @@ export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
121
122
|
name?: string | undefined;
|
|
122
123
|
startDate?: Date | undefined;
|
|
123
124
|
endDate?: Date | undefined;
|
|
124
|
-
tag?:
|
|
125
|
+
tag?: TournamentTag | undefined;
|
|
125
126
|
reward?: {
|
|
126
127
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
127
128
|
} | {
|
|
@@ -136,7 +137,7 @@ export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
136
137
|
name?: string | undefined;
|
|
137
138
|
startDate?: string | Date | undefined;
|
|
138
139
|
endDate?: string | Date | undefined;
|
|
139
|
-
tag?:
|
|
140
|
+
tag?: TournamentTag | undefined;
|
|
140
141
|
reward?: {
|
|
141
142
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
142
143
|
} | {
|
|
@@ -151,7 +152,7 @@ export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
151
152
|
name?: string | undefined;
|
|
152
153
|
startDate?: Date | undefined;
|
|
153
154
|
endDate?: Date | undefined;
|
|
154
|
-
tag?:
|
|
155
|
+
tag?: TournamentTag | undefined;
|
|
155
156
|
reward?: {
|
|
156
157
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
157
158
|
} | {
|
|
@@ -166,7 +167,7 @@ export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
166
167
|
name?: string | undefined;
|
|
167
168
|
startDate?: string | Date | undefined;
|
|
168
169
|
endDate?: string | Date | undefined;
|
|
169
|
-
tag?:
|
|
170
|
+
tag?: TournamentTag | undefined;
|
|
170
171
|
reward?: {
|
|
171
172
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
172
173
|
} | {
|
|
@@ -179,7 +180,7 @@ export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
179
180
|
export declare const TournamentConfigSchema: z.ZodObject<{
|
|
180
181
|
_id: 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>]>>;
|
|
181
182
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
182
|
-
tag: z.
|
|
183
|
+
tag: z.ZodDefault<z.ZodNativeEnum<typeof TournamentTag>>;
|
|
183
184
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
184
185
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
185
186
|
status: z.ZodNativeEnum<typeof Status>;
|
|
@@ -210,7 +211,7 @@ export declare const TournamentConfigSchema: z.ZodObject<{
|
|
|
210
211
|
}, "strip", z.ZodTypeAny, {
|
|
211
212
|
status: Status;
|
|
212
213
|
name: string;
|
|
213
|
-
tag:
|
|
214
|
+
tag: TournamentTag;
|
|
214
215
|
_id?: import("mongoose").Types.ObjectId | undefined;
|
|
215
216
|
createdAt?: Date | null | undefined;
|
|
216
217
|
startDate?: Date | null | undefined;
|
|
@@ -227,12 +228,12 @@ export declare const TournamentConfigSchema: z.ZodObject<{
|
|
|
227
228
|
}, {
|
|
228
229
|
status: Status;
|
|
229
230
|
name: string;
|
|
230
|
-
tag: string;
|
|
231
231
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
232
232
|
createdAt?: Date | null | undefined;
|
|
233
233
|
startDate?: Date | null | undefined;
|
|
234
234
|
endDate?: Date | null | undefined;
|
|
235
235
|
updatedAt?: Date | null | undefined;
|
|
236
|
+
tag?: TournamentTag | undefined;
|
|
236
237
|
reward?: {
|
|
237
238
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
238
239
|
} | {
|
|
@@ -245,7 +246,7 @@ export declare const TournamentConfigSchema: z.ZodObject<{
|
|
|
245
246
|
export declare const TournamentConfigListItemSchema: z.ZodObject<{
|
|
246
247
|
_id: 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>]>>;
|
|
247
248
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
248
|
-
tag: z.
|
|
249
|
+
tag: z.ZodDefault<z.ZodNativeEnum<typeof TournamentTag>>;
|
|
249
250
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
250
251
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
251
252
|
status: z.ZodNativeEnum<typeof Status>;
|
|
@@ -274,7 +275,7 @@ export declare const TournamentConfigListItemSchema: z.ZodObject<{
|
|
|
274
275
|
}, "strip", z.ZodTypeAny, {
|
|
275
276
|
status: Status;
|
|
276
277
|
name: string;
|
|
277
|
-
tag:
|
|
278
|
+
tag: TournamentTag;
|
|
278
279
|
_id?: import("mongoose").Types.ObjectId | undefined;
|
|
279
280
|
createdAt?: Date | null | undefined;
|
|
280
281
|
startDate?: Date | null | undefined;
|
|
@@ -290,12 +291,12 @@ export declare const TournamentConfigListItemSchema: z.ZodObject<{
|
|
|
290
291
|
}, {
|
|
291
292
|
status: Status;
|
|
292
293
|
name: string;
|
|
293
|
-
tag: string;
|
|
294
294
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
295
295
|
createdAt?: Date | null | undefined;
|
|
296
296
|
startDate?: Date | null | undefined;
|
|
297
297
|
endDate?: Date | null | undefined;
|
|
298
298
|
updatedAt?: Date | null | undefined;
|
|
299
|
+
tag?: TournamentTag | undefined;
|
|
299
300
|
reward?: {
|
|
300
301
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
301
302
|
} | {
|
|
@@ -327,12 +328,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
327
328
|
documents: z.ZodArray<z.ZodType<{
|
|
328
329
|
status: Status;
|
|
329
330
|
name: string;
|
|
330
|
-
tag: string;
|
|
331
331
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
332
332
|
createdAt?: Date | null | undefined;
|
|
333
333
|
startDate?: Date | null | undefined;
|
|
334
334
|
endDate?: Date | null | undefined;
|
|
335
335
|
updatedAt?: Date | null | undefined;
|
|
336
|
+
tag?: TournamentTag | undefined;
|
|
336
337
|
reward?: {
|
|
337
338
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
338
339
|
} | {
|
|
@@ -344,12 +345,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
344
345
|
}, z.ZodTypeDef, {
|
|
345
346
|
status: Status;
|
|
346
347
|
name: string;
|
|
347
|
-
tag: string;
|
|
348
348
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
349
349
|
createdAt?: Date | null | undefined;
|
|
350
350
|
startDate?: Date | null | undefined;
|
|
351
351
|
endDate?: Date | null | undefined;
|
|
352
352
|
updatedAt?: Date | null | undefined;
|
|
353
|
+
tag?: TournamentTag | undefined;
|
|
353
354
|
reward?: {
|
|
354
355
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
355
356
|
} | {
|
|
@@ -363,12 +364,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
363
364
|
documents: {
|
|
364
365
|
status: Status;
|
|
365
366
|
name: string;
|
|
366
|
-
tag: string;
|
|
367
367
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
368
368
|
createdAt?: Date | null | undefined;
|
|
369
369
|
startDate?: Date | null | undefined;
|
|
370
370
|
endDate?: Date | null | undefined;
|
|
371
371
|
updatedAt?: Date | null | undefined;
|
|
372
|
+
tag?: TournamentTag | undefined;
|
|
372
373
|
reward?: {
|
|
373
374
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
374
375
|
} | {
|
|
@@ -388,12 +389,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
388
389
|
documents: {
|
|
389
390
|
status: Status;
|
|
390
391
|
name: string;
|
|
391
|
-
tag: string;
|
|
392
392
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
393
393
|
createdAt?: Date | null | undefined;
|
|
394
394
|
startDate?: Date | null | undefined;
|
|
395
395
|
endDate?: Date | null | undefined;
|
|
396
396
|
updatedAt?: Date | null | undefined;
|
|
397
|
+
tag?: TournamentTag | undefined;
|
|
397
398
|
reward?: {
|
|
398
399
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
399
400
|
} | {
|
|
@@ -412,12 +413,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
412
413
|
}>, z.ZodType<{
|
|
413
414
|
status: Status;
|
|
414
415
|
name: string;
|
|
415
|
-
tag: string;
|
|
416
416
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
417
417
|
createdAt?: Date | null | undefined;
|
|
418
418
|
startDate?: Date | null | undefined;
|
|
419
419
|
endDate?: Date | null | undefined;
|
|
420
420
|
updatedAt?: Date | null | undefined;
|
|
421
|
+
tag?: TournamentTag | undefined;
|
|
421
422
|
reward?: {
|
|
422
423
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
423
424
|
} | {
|
|
@@ -429,12 +430,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
429
430
|
}, z.ZodTypeDef, {
|
|
430
431
|
status: Status;
|
|
431
432
|
name: string;
|
|
432
|
-
tag: string;
|
|
433
433
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
434
434
|
createdAt?: Date | null | undefined;
|
|
435
435
|
startDate?: Date | null | undefined;
|
|
436
436
|
endDate?: Date | null | undefined;
|
|
437
437
|
updatedAt?: Date | null | undefined;
|
|
438
|
+
tag?: TournamentTag | undefined;
|
|
438
439
|
reward?: {
|
|
439
440
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
440
441
|
} | {
|
|
@@ -450,12 +451,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
450
451
|
data?: {
|
|
451
452
|
status: Status;
|
|
452
453
|
name: string;
|
|
453
|
-
tag: string;
|
|
454
454
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
455
455
|
createdAt?: Date | null | undefined;
|
|
456
456
|
startDate?: Date | null | undefined;
|
|
457
457
|
endDate?: Date | null | undefined;
|
|
458
458
|
updatedAt?: Date | null | undefined;
|
|
459
|
+
tag?: TournamentTag | undefined;
|
|
459
460
|
reward?: {
|
|
460
461
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
461
462
|
} | {
|
|
@@ -468,12 +469,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
468
469
|
documents: {
|
|
469
470
|
status: Status;
|
|
470
471
|
name: string;
|
|
471
|
-
tag: string;
|
|
472
472
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
473
473
|
createdAt?: Date | null | undefined;
|
|
474
474
|
startDate?: Date | null | undefined;
|
|
475
475
|
endDate?: Date | null | undefined;
|
|
476
476
|
updatedAt?: Date | null | undefined;
|
|
477
|
+
tag?: TournamentTag | undefined;
|
|
477
478
|
reward?: {
|
|
478
479
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
479
480
|
} | {
|
|
@@ -496,12 +497,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
496
497
|
data?: {
|
|
497
498
|
status: Status;
|
|
498
499
|
name: string;
|
|
499
|
-
tag: string;
|
|
500
500
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
501
501
|
createdAt?: Date | null | undefined;
|
|
502
502
|
startDate?: Date | null | undefined;
|
|
503
503
|
endDate?: Date | null | undefined;
|
|
504
504
|
updatedAt?: Date | null | undefined;
|
|
505
|
+
tag?: TournamentTag | undefined;
|
|
505
506
|
reward?: {
|
|
506
507
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
507
508
|
} | {
|
|
@@ -514,12 +515,12 @@ export declare const TournamentConfigResponseSchema: z.ZodObject<{
|
|
|
514
515
|
documents: {
|
|
515
516
|
status: Status;
|
|
516
517
|
name: string;
|
|
517
|
-
tag: string;
|
|
518
518
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
519
519
|
createdAt?: Date | null | undefined;
|
|
520
520
|
startDate?: Date | null | undefined;
|
|
521
521
|
endDate?: Date | null | undefined;
|
|
522
522
|
updatedAt?: Date | null | undefined;
|
|
523
|
+
tag?: TournamentTag | undefined;
|
|
523
524
|
reward?: {
|
|
524
525
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
525
526
|
} | {
|
|
@@ -560,12 +561,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
560
561
|
documents: z.ZodArray<z.ZodType<{
|
|
561
562
|
status: Status;
|
|
562
563
|
name: string;
|
|
563
|
-
tag: string;
|
|
564
564
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
565
565
|
createdAt?: Date | null | undefined;
|
|
566
566
|
startDate?: Date | null | undefined;
|
|
567
567
|
endDate?: Date | null | undefined;
|
|
568
568
|
updatedAt?: Date | null | undefined;
|
|
569
|
+
tag?: TournamentTag | undefined;
|
|
569
570
|
reward?: {
|
|
570
571
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
571
572
|
} | {
|
|
@@ -576,12 +577,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
576
577
|
}[], z.ZodTypeDef, {
|
|
577
578
|
status: Status;
|
|
578
579
|
name: string;
|
|
579
|
-
tag: string;
|
|
580
580
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
581
581
|
createdAt?: Date | null | undefined;
|
|
582
582
|
startDate?: Date | null | undefined;
|
|
583
583
|
endDate?: Date | null | undefined;
|
|
584
584
|
updatedAt?: Date | null | undefined;
|
|
585
|
+
tag?: TournamentTag | undefined;
|
|
585
586
|
reward?: {
|
|
586
587
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
587
588
|
} | {
|
|
@@ -594,12 +595,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
594
595
|
documents: {
|
|
595
596
|
status: Status;
|
|
596
597
|
name: string;
|
|
597
|
-
tag: string;
|
|
598
598
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
599
599
|
createdAt?: Date | null | undefined;
|
|
600
600
|
startDate?: Date | null | undefined;
|
|
601
601
|
endDate?: Date | null | undefined;
|
|
602
602
|
updatedAt?: Date | null | undefined;
|
|
603
|
+
tag?: TournamentTag | undefined;
|
|
603
604
|
reward?: {
|
|
604
605
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
605
606
|
} | {
|
|
@@ -618,12 +619,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
618
619
|
documents: {
|
|
619
620
|
status: Status;
|
|
620
621
|
name: string;
|
|
621
|
-
tag: string;
|
|
622
622
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
623
623
|
createdAt?: Date | null | undefined;
|
|
624
624
|
startDate?: Date | null | undefined;
|
|
625
625
|
endDate?: Date | null | undefined;
|
|
626
626
|
updatedAt?: Date | null | undefined;
|
|
627
|
+
tag?: TournamentTag | undefined;
|
|
627
628
|
reward?: {
|
|
628
629
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
629
630
|
} | {
|
|
@@ -641,12 +642,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
641
642
|
}>, z.ZodType<{
|
|
642
643
|
status: Status;
|
|
643
644
|
name: string;
|
|
644
|
-
tag: string;
|
|
645
645
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
646
646
|
createdAt?: Date | null | undefined;
|
|
647
647
|
startDate?: Date | null | undefined;
|
|
648
648
|
endDate?: Date | null | undefined;
|
|
649
649
|
updatedAt?: Date | null | undefined;
|
|
650
|
+
tag?: TournamentTag | undefined;
|
|
650
651
|
reward?: {
|
|
651
652
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
652
653
|
} | {
|
|
@@ -657,12 +658,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
657
658
|
}[], z.ZodTypeDef, {
|
|
658
659
|
status: Status;
|
|
659
660
|
name: string;
|
|
660
|
-
tag: string;
|
|
661
661
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
662
662
|
createdAt?: Date | null | undefined;
|
|
663
663
|
startDate?: Date | null | undefined;
|
|
664
664
|
endDate?: Date | null | undefined;
|
|
665
665
|
updatedAt?: Date | null | undefined;
|
|
666
|
+
tag?: TournamentTag | undefined;
|
|
666
667
|
reward?: {
|
|
667
668
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
668
669
|
} | {
|
|
@@ -677,12 +678,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
677
678
|
data?: {
|
|
678
679
|
status: Status;
|
|
679
680
|
name: string;
|
|
680
|
-
tag: string;
|
|
681
681
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
682
682
|
createdAt?: Date | null | undefined;
|
|
683
683
|
startDate?: Date | null | undefined;
|
|
684
684
|
endDate?: Date | null | undefined;
|
|
685
685
|
updatedAt?: Date | null | undefined;
|
|
686
|
+
tag?: TournamentTag | undefined;
|
|
686
687
|
reward?: {
|
|
687
688
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
688
689
|
} | {
|
|
@@ -694,12 +695,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
694
695
|
documents: {
|
|
695
696
|
status: Status;
|
|
696
697
|
name: string;
|
|
697
|
-
tag: string;
|
|
698
698
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
699
699
|
createdAt?: Date | null | undefined;
|
|
700
700
|
startDate?: Date | null | undefined;
|
|
701
701
|
endDate?: Date | null | undefined;
|
|
702
702
|
updatedAt?: Date | null | undefined;
|
|
703
|
+
tag?: TournamentTag | undefined;
|
|
703
704
|
reward?: {
|
|
704
705
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
705
706
|
} | {
|
|
@@ -721,12 +722,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
721
722
|
data?: {
|
|
722
723
|
status: Status;
|
|
723
724
|
name: string;
|
|
724
|
-
tag: string;
|
|
725
725
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
726
726
|
createdAt?: Date | null | undefined;
|
|
727
727
|
startDate?: Date | null | undefined;
|
|
728
728
|
endDate?: Date | null | undefined;
|
|
729
729
|
updatedAt?: Date | null | undefined;
|
|
730
|
+
tag?: TournamentTag | undefined;
|
|
730
731
|
reward?: {
|
|
731
732
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
732
733
|
} | {
|
|
@@ -738,12 +739,12 @@ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
|
|
|
738
739
|
documents: {
|
|
739
740
|
status: Status;
|
|
740
741
|
name: string;
|
|
741
|
-
tag: string;
|
|
742
742
|
_id?: string | import("mongoose").Types.ObjectId | undefined;
|
|
743
743
|
createdAt?: Date | null | undefined;
|
|
744
744
|
startDate?: Date | null | undefined;
|
|
745
745
|
endDate?: Date | null | undefined;
|
|
746
746
|
updatedAt?: Date | null | undefined;
|
|
747
|
+
tag?: TournamentTag | undefined;
|
|
747
748
|
reward?: {
|
|
748
749
|
type: TournamentRewardType.FREE_DELIVERY;
|
|
749
750
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.validation.d.ts","sourceRoot":"/","sources":["modules/tournament/config/config.validation.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"config.validation.d.ts","sourceRoot":"/","sources":["modules/tournament/config/config.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,GAAG,EAAgB,MAAM,2DAA2D,CAAC;AAE7F,OAAO,EAAC,MAAM,EAAE,oBAAoB,EAAC,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AA0ClD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAatC,CAAC;AAEJ,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActC,CAAC;AAEJ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUjC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C,CAAC;AAC3F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgE,CAAC;AAEhH,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACtF,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACtF,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC3E,MAAM,MAAM,iCAAiC,GAAG,GAAG,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate-predictions.consumer.d.ts","sourceRoot":"/","sources":["modules/tournament/match/events/evaluate-predictions.consumer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"evaluate-predictions.consumer.d.ts","sourceRoot":"/","sources":["modules/tournament/match/events/evaluate-predictions.consumer.ts"],"names":[],"mappings":"AAUA,wBAAsB,2BAA2B,kBAoBhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match.builder.d.ts","sourceRoot":"/","sources":["modules/tournament/match/match.builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"match.builder.d.ts","sourceRoot":"/","sources":["modules/tournament/match/match.builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,wBAAwB,EAAE,wBAAwB,EAAC,MAAM,oBAAoB,CAAC;AAGtF,UAAU,YAAY;IAClB,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,UAAU;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AAED,qBAAa,YAAY;IACrB,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;IAc7E,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAQjF,MAAM,CAAC,cAAc,CACjB,KAAK,EAAE,wBAAwB,EAC/B,UAAU,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAC5C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAc7B"}
|
|
@@ -8,6 +8,8 @@ export declare class TournamentMatchRepository {
|
|
|
8
8
|
updateMatch(tournamentId: mongoose.Types.ObjectId, matchId: mongoose.Types.ObjectId, updates: Record<string, unknown>): Promise<Model | null>;
|
|
9
9
|
deleteMatch(tournamentId: mongoose.Types.ObjectId, matchId: mongoose.Types.ObjectId): Promise<Model | null>;
|
|
10
10
|
findMatchInTournament(tournamentId: mongoose.Types.ObjectId, matchId: mongoose.Types.ObjectId): Promise<Model | null>;
|
|
11
|
+
getNotificationFlag(tournamentId: mongoose.Types.ObjectId, matchId: mongoose.Types.ObjectId, type: string): Promise<boolean>;
|
|
12
|
+
setNotificationFlag(tournamentId: mongoose.Types.ObjectId, matchId: mongoose.Types.ObjectId, type: string): Promise<void>;
|
|
11
13
|
}
|
|
12
14
|
export declare const tournamentMatchRepository: TournamentMatchRepository;
|
|
13
15
|
//# sourceMappingURL=match.repository.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match.repository.d.ts","sourceRoot":"/","sources":["modules/tournament/match/match.repository.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAmB,MAAM,2CAA2C,CAAC;AAEjG,qBACa,yBAAyB;IACrC,OAAO,CAAC,KAAK,CAAyB;;IAMhC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAI5D,UAAU,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAMjF,WAAW,CAChB,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EACrC,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAalB,WAAW,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAM3G,qBAAqB,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"match.repository.d.ts","sourceRoot":"/","sources":["modules/tournament/match/match.repository.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAmB,MAAM,2CAA2C,CAAC;AAEjG,qBACa,yBAAyB;IACrC,OAAO,CAAC,KAAK,CAAyB;;IAMhC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAI5D,UAAU,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAMjF,WAAW,CAChB,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EACrC,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAChC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAalB,WAAW,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAM3G,qBAAqB,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAMrH,mBAAmB,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQ5H,mBAAmB,CAAC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAM/H;AAED,eAAO,MAAM,yBAAyB,2BAA2C,CAAC"}
|