@lyxa.ai/marketing 1.0.48 → 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/event/event-initializations.js +2 -2
- package/dist/lib/event/event-initializations.js.map +1 -1
- package/dist/lib/index.d.ts +462 -508
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.d.ts +2 -2
- package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/global-coupon.service.js +2 -0
- package/dist/lib/modules/coupon/services/global-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/helper.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/helper.service.js +2 -0
- package/dist/lib/modules/coupon/services/helper.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.js +2 -0
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +2 -0
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts +10 -21
- package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/campaign.router.js +5 -4
- package/dist/lib/modules/limited-time-offer/campaign/campaign.router.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +154 -0
- package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.js +13 -1
- package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts +8 -2
- package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.js +11 -2
- package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +10 -21
- package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.builder.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.builder.js +4 -0
- package/dist/lib/modules/tournament/config/config.builder.js.map +1 -1
- package/dist/lib/modules/tournament/config/config.repository.d.ts +4 -0
- package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.repository.js +10 -1
- package/dist/lib/modules/tournament/config/config.repository.js.map +1 -1
- package/dist/lib/modules/tournament/config/config.router.d.ts +106 -218
- package/dist/lib/modules/tournament/config/config.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.service.d.ts +2 -2
- package/dist/lib/modules/tournament/config/config.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.service.js.map +1 -1
- package/dist/lib/modules/tournament/config/config.validation.d.ts +446 -692
- package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/config/config.validation.js +44 -28
- package/dist/lib/modules/tournament/config/config.validation.js.map +1 -1
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts +2 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js +28 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js.map +1 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.event.d.ts +15 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.event.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.event.js +12 -0
- package/dist/lib/modules/tournament/match/events/evaluate-predictions.event.js.map +1 -0
- package/dist/lib/modules/tournament/match/match.builder.d.ts +5 -2
- package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.builder.js +13 -7
- 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 +66 -191
- package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.router.js +0 -7
- package/dist/lib/modules/tournament/match/match.router.js.map +1 -1
- package/dist/lib/modules/tournament/match/match.service.d.ts +1 -12
- package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.service.js +18 -68
- package/dist/lib/modules/tournament/match/match.service.js.map +1 -1
- package/dist/lib/modules/tournament/match/match.validation.d.ts +96 -34
- package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -1
- package/dist/lib/modules/tournament/match/match.validation.js +5 -2
- 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 -3
- package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/notification/notification.service.js +33 -23
- 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/participant/participant.router.d.ts +9 -9
- package/dist/lib/modules/tournament/participant/participant.validation.d.ts +84 -84
- 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.repository.d.ts +4 -1
- package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.repository.js +20 -2
- package/dist/lib/modules/tournament/prediction/prediction.repository.js.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.router.d.ts +12 -12
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +9 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.service.js +30 -4
- package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -1
- package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts +64 -64
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +3 -0
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -1
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js +21 -5
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.builder.d.ts +6 -0
- package/dist/lib/modules/tournament/reward/reward.builder.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.builder.js +44 -0
- package/dist/lib/modules/tournament/reward/reward.builder.js.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.interface.d.ts.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.interface.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/reward/reward.service.d.ts.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.service.js.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.types.d.ts +1 -1
- package/dist/lib/modules/tournament/reward/reward.types.d.ts.map +1 -1
- package/dist/lib/modules/tournament/reward/reward.types.js.map +1 -1
- 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 +13 -0
- package/dist/lib/modules/tournament/score/score.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/score/score.repository.js +70 -0
- package/dist/lib/modules/tournament/score/score.repository.js.map +1 -0
- 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 +13 -0
- package/dist/lib/modules/tournament/score/score.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/score/score.service.js +109 -0
- package/dist/lib/modules/tournament/score/score.service.js.map +1 -0
- 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 +31 -57
- 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 +68 -18
- 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 +466 -501
- package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -1
- package/dist/lib/modules/tournament/tournament.router.js +14 -0
- package/dist/lib/modules/tournament/tournament.router.js.map +1 -1
- package/dist/lib/modules/tournament/tournament.service.d.ts +8 -0
- package/dist/lib/modules/tournament/tournament.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/tournament.service.js +63 -0
- package/dist/lib/modules/tournament/tournament.service.js.map +1 -0
- 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/lib/modules/tournament/tournament.validation.d.ts +133 -0
- package/dist/lib/modules/tournament/tournament.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/tournament.validation.js +14 -0
- package/dist/lib/modules/tournament/tournament.validation.js.map +1 -0
- package/dist/types/index.d.ts +462 -508
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +2 -2
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/helper.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts +10 -21
- package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +154 -0
- package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts +8 -2
- package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +10 -21
- package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.builder.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.repository.d.ts +4 -0
- package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.router.d.ts +106 -218
- package/dist/types/modules/tournament/config/config.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.service.d.ts +2 -2
- package/dist/types/modules/tournament/config/config.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/config/config.validation.d.ts +446 -692
- 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 +2 -0
- package/dist/types/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/events/evaluate-predictions.event.d.ts +15 -0
- package/dist/types/modules/tournament/match/events/evaluate-predictions.event.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/match.builder.d.ts +5 -2
- 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 +66 -191
- package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.service.d.ts +1 -12
- package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/match/match.validation.d.ts +96 -34
- 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 -3
- 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/participant/participant.router.d.ts +9 -9
- package/dist/types/modules/tournament/participant/participant.validation.d.ts +84 -84
- package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
- package/dist/types/modules/tournament/prediction/prediction.repository.d.ts +4 -1
- package/dist/types/modules/tournament/prediction/prediction.repository.d.ts.map +1 -1
- package/dist/types/modules/tournament/prediction/prediction.router.d.ts +12 -12
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts +9 -0
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/prediction/prediction.validation.d.ts +64 -64
- package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +3 -0
- package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -1
- package/dist/types/modules/tournament/reward/reward.builder.d.ts +6 -0
- package/dist/types/modules/tournament/reward/reward.builder.d.ts.map +1 -0
- package/dist/types/modules/tournament/reward/reward.interface.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/reward/reward.service.d.ts.map +1 -1
- package/dist/types/modules/tournament/reward/reward.types.d.ts +1 -1
- package/dist/types/modules/tournament/reward/reward.types.d.ts.map +1 -1
- 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 +13 -0
- package/dist/types/modules/tournament/score/score.repository.d.ts.map +1 -0
- 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 +13 -0
- package/dist/types/modules/tournament/score/score.service.d.ts.map +1 -0
- 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 +31 -57
- 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 +68 -18
- package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.router.d.ts +466 -501
- package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -1
- package/dist/types/modules/tournament/tournament.service.d.ts +8 -0
- package/dist/types/modules/tournament/tournament.service.d.ts.map +1 -0
- 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/dist/types/modules/tournament/tournament.validation.d.ts +133 -0
- package/dist/types/modules/tournament/tournament.validation.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -11,30 +11,30 @@ export declare const AddTournamentMatchesSchema: z.ZodObject<{
|
|
|
11
11
|
additionalTag: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
stage: string;
|
|
14
|
+
startingDate: Date;
|
|
14
15
|
team1Id: import("mongoose").Types.ObjectId;
|
|
15
16
|
team2Id: import("mongoose").Types.ObjectId;
|
|
16
|
-
startingDate: Date;
|
|
17
17
|
endDate?: Date | undefined;
|
|
18
18
|
additionalTag?: string | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
stage: string;
|
|
21
|
+
startingDate: string | Date;
|
|
21
22
|
team1Id: string | import("mongoose").Types.ObjectId;
|
|
22
23
|
team2Id: string | import("mongoose").Types.ObjectId;
|
|
23
|
-
startingDate: string | Date;
|
|
24
24
|
endDate?: string | Date | undefined;
|
|
25
25
|
additionalTag?: string | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
stage: string;
|
|
28
|
+
startingDate: Date;
|
|
28
29
|
team1Id: import("mongoose").Types.ObjectId;
|
|
29
30
|
team2Id: import("mongoose").Types.ObjectId;
|
|
30
|
-
startingDate: Date;
|
|
31
31
|
endDate?: Date | undefined;
|
|
32
32
|
additionalTag?: string | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
stage: string;
|
|
35
|
+
startingDate: string | Date;
|
|
35
36
|
team1Id: string | import("mongoose").Types.ObjectId;
|
|
36
37
|
team2Id: string | import("mongoose").Types.ObjectId;
|
|
37
|
-
startingDate: string | Date;
|
|
38
38
|
endDate?: string | Date | undefined;
|
|
39
39
|
additionalTag?: string | undefined;
|
|
40
40
|
}>, "many">;
|
|
@@ -42,9 +42,9 @@ export declare const AddTournamentMatchesSchema: z.ZodObject<{
|
|
|
42
42
|
tournamentId: import("mongoose").Types.ObjectId;
|
|
43
43
|
matches: {
|
|
44
44
|
stage: string;
|
|
45
|
+
startingDate: Date;
|
|
45
46
|
team1Id: import("mongoose").Types.ObjectId;
|
|
46
47
|
team2Id: import("mongoose").Types.ObjectId;
|
|
47
|
-
startingDate: Date;
|
|
48
48
|
endDate?: Date | undefined;
|
|
49
49
|
additionalTag?: string | undefined;
|
|
50
50
|
}[];
|
|
@@ -52,9 +52,9 @@ export declare const AddTournamentMatchesSchema: z.ZodObject<{
|
|
|
52
52
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
53
53
|
matches: {
|
|
54
54
|
stage: string;
|
|
55
|
+
startingDate: string | Date;
|
|
55
56
|
team1Id: string | import("mongoose").Types.ObjectId;
|
|
56
57
|
team2Id: string | import("mongoose").Types.ObjectId;
|
|
57
|
-
startingDate: string | Date;
|
|
58
58
|
endDate?: string | Date | undefined;
|
|
59
59
|
additionalTag?: string | undefined;
|
|
60
60
|
}[];
|
|
@@ -98,18 +98,30 @@ export declare const StartTournamentMatchSchema: z.ZodObject<{
|
|
|
98
98
|
export declare const EndTournamentMatchSchema: z.ZodObject<{
|
|
99
99
|
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>]>;
|
|
100
100
|
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>]>;
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
finalScore: z.ZodOptional<z.ZodObject<{
|
|
102
|
+
team1: z.ZodNumber;
|
|
103
|
+
team2: z.ZodNumber;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
team1: number;
|
|
106
|
+
team2: number;
|
|
107
|
+
}, {
|
|
108
|
+
team1: number;
|
|
109
|
+
team2: number;
|
|
110
|
+
}>>;
|
|
103
111
|
}, "strip", z.ZodTypeAny, {
|
|
104
112
|
tournamentId: import("mongoose").Types.ObjectId;
|
|
105
113
|
matchId: import("mongoose").Types.ObjectId;
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
finalScore?: {
|
|
115
|
+
team1: number;
|
|
116
|
+
team2: number;
|
|
117
|
+
} | undefined;
|
|
108
118
|
}, {
|
|
109
119
|
tournamentId: string | import("mongoose").Types.ObjectId;
|
|
110
120
|
matchId: string | import("mongoose").Types.ObjectId;
|
|
111
|
-
|
|
112
|
-
|
|
121
|
+
finalScore?: {
|
|
122
|
+
team1: number;
|
|
123
|
+
team2: number;
|
|
124
|
+
} | undefined;
|
|
113
125
|
}>;
|
|
114
126
|
export declare const TournamentMatchSchema: z.ZodObject<{
|
|
115
127
|
_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>]>;
|
|
@@ -118,22 +130,28 @@ export declare const TournamentMatchSchema: z.ZodObject<{
|
|
|
118
130
|
team1: z.ZodObject<{
|
|
119
131
|
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>]>;
|
|
120
132
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
133
|
+
picture: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
121
134
|
}, "strip", z.ZodTypeAny, {
|
|
122
135
|
name: string;
|
|
123
136
|
teamId: import("mongoose").Types.ObjectId;
|
|
137
|
+
picture?: string | undefined;
|
|
124
138
|
}, {
|
|
125
139
|
name: string;
|
|
126
140
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
141
|
+
picture?: string | undefined;
|
|
127
142
|
}>;
|
|
128
143
|
team2: z.ZodObject<{
|
|
129
144
|
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>]>;
|
|
130
145
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
146
|
+
picture: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
131
147
|
}, "strip", z.ZodTypeAny, {
|
|
132
148
|
name: string;
|
|
133
149
|
teamId: import("mongoose").Types.ObjectId;
|
|
150
|
+
picture?: string | undefined;
|
|
134
151
|
}, {
|
|
135
152
|
name: string;
|
|
136
153
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
154
|
+
picture?: string | undefined;
|
|
137
155
|
}>;
|
|
138
156
|
score: z.ZodObject<{
|
|
139
157
|
team1: z.ZodNullable<z.ZodNumber>;
|
|
@@ -178,10 +196,12 @@ export declare const TournamentMatchSchema: z.ZodObject<{
|
|
|
178
196
|
team1: {
|
|
179
197
|
name: string;
|
|
180
198
|
teamId: import("mongoose").Types.ObjectId;
|
|
199
|
+
picture?: string | undefined;
|
|
181
200
|
};
|
|
182
201
|
team2: {
|
|
183
202
|
name: string;
|
|
184
203
|
teamId: import("mongoose").Types.ObjectId;
|
|
204
|
+
picture?: string | undefined;
|
|
185
205
|
};
|
|
186
206
|
score: {
|
|
187
207
|
team1: number | null;
|
|
@@ -189,9 +209,9 @@ export declare const TournamentMatchSchema: z.ZodObject<{
|
|
|
189
209
|
};
|
|
190
210
|
stage: string;
|
|
191
211
|
endDate?: Date | null | undefined;
|
|
192
|
-
startingDate?: Date | null | undefined;
|
|
193
212
|
additionalTag?: string | undefined;
|
|
194
213
|
winnerId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
214
|
+
startingDate?: Date | null | undefined;
|
|
195
215
|
prediction?: {
|
|
196
216
|
score: {
|
|
197
217
|
team1: number | null;
|
|
@@ -204,10 +224,12 @@ export declare const TournamentMatchSchema: z.ZodObject<{
|
|
|
204
224
|
team1: {
|
|
205
225
|
name: string;
|
|
206
226
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
227
|
+
picture?: string | undefined;
|
|
207
228
|
};
|
|
208
229
|
team2: {
|
|
209
230
|
name: string;
|
|
210
231
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
232
|
+
picture?: string | undefined;
|
|
211
233
|
};
|
|
212
234
|
score: {
|
|
213
235
|
team1: number | null;
|
|
@@ -215,9 +237,9 @@ export declare const TournamentMatchSchema: z.ZodObject<{
|
|
|
215
237
|
};
|
|
216
238
|
stage: string;
|
|
217
239
|
endDate?: Date | null | undefined;
|
|
218
|
-
startingDate?: Date | null | undefined;
|
|
219
240
|
additionalTag?: string | undefined;
|
|
220
241
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
242
|
+
startingDate?: Date | null | undefined;
|
|
221
243
|
prediction?: {
|
|
222
244
|
score: {
|
|
223
245
|
team1: number | null;
|
|
@@ -251,10 +273,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
251
273
|
team1: {
|
|
252
274
|
name: string;
|
|
253
275
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
276
|
+
picture?: string | undefined;
|
|
254
277
|
};
|
|
255
278
|
team2: {
|
|
256
279
|
name: string;
|
|
257
280
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
281
|
+
picture?: string | undefined;
|
|
258
282
|
};
|
|
259
283
|
score: {
|
|
260
284
|
team1: number | null;
|
|
@@ -262,9 +286,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
262
286
|
};
|
|
263
287
|
stage: string;
|
|
264
288
|
endDate?: Date | null | undefined;
|
|
265
|
-
startingDate?: Date | null | undefined;
|
|
266
289
|
additionalTag?: string | undefined;
|
|
267
290
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
291
|
+
startingDate?: Date | null | undefined;
|
|
268
292
|
prediction?: {
|
|
269
293
|
score: {
|
|
270
294
|
team1: number | null;
|
|
@@ -277,10 +301,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
277
301
|
team1: {
|
|
278
302
|
name: string;
|
|
279
303
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
304
|
+
picture?: string | undefined;
|
|
280
305
|
};
|
|
281
306
|
team2: {
|
|
282
307
|
name: string;
|
|
283
308
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
309
|
+
picture?: string | undefined;
|
|
284
310
|
};
|
|
285
311
|
score: {
|
|
286
312
|
team1: number | null;
|
|
@@ -288,9 +314,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
288
314
|
};
|
|
289
315
|
stage: string;
|
|
290
316
|
endDate?: Date | null | undefined;
|
|
291
|
-
startingDate?: Date | null | undefined;
|
|
292
317
|
additionalTag?: string | undefined;
|
|
293
318
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
319
|
+
startingDate?: Date | null | undefined;
|
|
294
320
|
prediction?: {
|
|
295
321
|
score: {
|
|
296
322
|
team1: number | null;
|
|
@@ -305,10 +331,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
305
331
|
team1: {
|
|
306
332
|
name: string;
|
|
307
333
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
334
|
+
picture?: string | undefined;
|
|
308
335
|
};
|
|
309
336
|
team2: {
|
|
310
337
|
name: string;
|
|
311
338
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
339
|
+
picture?: string | undefined;
|
|
312
340
|
};
|
|
313
341
|
score: {
|
|
314
342
|
team1: number | null;
|
|
@@ -316,9 +344,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
316
344
|
};
|
|
317
345
|
stage: string;
|
|
318
346
|
endDate?: Date | null | undefined;
|
|
319
|
-
startingDate?: Date | null | undefined;
|
|
320
347
|
additionalTag?: string | undefined;
|
|
321
348
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
349
|
+
startingDate?: Date | null | undefined;
|
|
322
350
|
prediction?: {
|
|
323
351
|
score: {
|
|
324
352
|
team1: number | null;
|
|
@@ -339,10 +367,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
339
367
|
team1: {
|
|
340
368
|
name: string;
|
|
341
369
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
370
|
+
picture?: string | undefined;
|
|
342
371
|
};
|
|
343
372
|
team2: {
|
|
344
373
|
name: string;
|
|
345
374
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
375
|
+
picture?: string | undefined;
|
|
346
376
|
};
|
|
347
377
|
score: {
|
|
348
378
|
team1: number | null;
|
|
@@ -350,9 +380,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
350
380
|
};
|
|
351
381
|
stage: string;
|
|
352
382
|
endDate?: Date | null | undefined;
|
|
353
|
-
startingDate?: Date | null | undefined;
|
|
354
383
|
additionalTag?: string | undefined;
|
|
355
384
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
385
|
+
startingDate?: Date | null | undefined;
|
|
356
386
|
prediction?: {
|
|
357
387
|
score: {
|
|
358
388
|
team1: number | null;
|
|
@@ -372,10 +402,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
372
402
|
team1: {
|
|
373
403
|
name: string;
|
|
374
404
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
405
|
+
picture?: string | undefined;
|
|
375
406
|
};
|
|
376
407
|
team2: {
|
|
377
408
|
name: string;
|
|
378
409
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
410
|
+
picture?: string | undefined;
|
|
379
411
|
};
|
|
380
412
|
score: {
|
|
381
413
|
team1: number | null;
|
|
@@ -383,9 +415,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
383
415
|
};
|
|
384
416
|
stage: string;
|
|
385
417
|
endDate?: Date | null | undefined;
|
|
386
|
-
startingDate?: Date | null | undefined;
|
|
387
418
|
additionalTag?: string | undefined;
|
|
388
419
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
420
|
+
startingDate?: Date | null | undefined;
|
|
389
421
|
prediction?: {
|
|
390
422
|
score: {
|
|
391
423
|
team1: number | null;
|
|
@@ -398,10 +430,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
398
430
|
team1: {
|
|
399
431
|
name: string;
|
|
400
432
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
433
|
+
picture?: string | undefined;
|
|
401
434
|
};
|
|
402
435
|
team2: {
|
|
403
436
|
name: string;
|
|
404
437
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
438
|
+
picture?: string | undefined;
|
|
405
439
|
};
|
|
406
440
|
score: {
|
|
407
441
|
team1: number | null;
|
|
@@ -409,9 +443,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
409
443
|
};
|
|
410
444
|
stage: string;
|
|
411
445
|
endDate?: Date | null | undefined;
|
|
412
|
-
startingDate?: Date | null | undefined;
|
|
413
446
|
additionalTag?: string | undefined;
|
|
414
447
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
448
|
+
startingDate?: Date | null | undefined;
|
|
415
449
|
prediction?: {
|
|
416
450
|
score: {
|
|
417
451
|
team1: number | null;
|
|
@@ -428,10 +462,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
428
462
|
team1: {
|
|
429
463
|
name: string;
|
|
430
464
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
465
|
+
picture?: string | undefined;
|
|
431
466
|
};
|
|
432
467
|
team2: {
|
|
433
468
|
name: string;
|
|
434
469
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
470
|
+
picture?: string | undefined;
|
|
435
471
|
};
|
|
436
472
|
score: {
|
|
437
473
|
team1: number | null;
|
|
@@ -439,9 +475,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
439
475
|
};
|
|
440
476
|
stage: string;
|
|
441
477
|
endDate?: Date | null | undefined;
|
|
442
|
-
startingDate?: Date | null | undefined;
|
|
443
478
|
additionalTag?: string | undefined;
|
|
444
479
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
480
|
+
startingDate?: Date | null | undefined;
|
|
445
481
|
prediction?: {
|
|
446
482
|
score: {
|
|
447
483
|
team1: number | null;
|
|
@@ -455,10 +491,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
455
491
|
team1: {
|
|
456
492
|
name: string;
|
|
457
493
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
494
|
+
picture?: string | undefined;
|
|
458
495
|
};
|
|
459
496
|
team2: {
|
|
460
497
|
name: string;
|
|
461
498
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
499
|
+
picture?: string | undefined;
|
|
462
500
|
};
|
|
463
501
|
score: {
|
|
464
502
|
team1: number | null;
|
|
@@ -466,9 +504,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
466
504
|
};
|
|
467
505
|
stage: string;
|
|
468
506
|
endDate?: Date | null | undefined;
|
|
469
|
-
startingDate?: Date | null | undefined;
|
|
470
507
|
additionalTag?: string | undefined;
|
|
471
508
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
509
|
+
startingDate?: Date | null | undefined;
|
|
472
510
|
prediction?: {
|
|
473
511
|
score: {
|
|
474
512
|
team1: number | null;
|
|
@@ -492,10 +530,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
492
530
|
team1: {
|
|
493
531
|
name: string;
|
|
494
532
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
533
|
+
picture?: string | undefined;
|
|
495
534
|
};
|
|
496
535
|
team2: {
|
|
497
536
|
name: string;
|
|
498
537
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
538
|
+
picture?: string | undefined;
|
|
499
539
|
};
|
|
500
540
|
score: {
|
|
501
541
|
team1: number | null;
|
|
@@ -503,9 +543,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
503
543
|
};
|
|
504
544
|
stage: string;
|
|
505
545
|
endDate?: Date | null | undefined;
|
|
506
|
-
startingDate?: Date | null | undefined;
|
|
507
546
|
additionalTag?: string | undefined;
|
|
508
547
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
548
|
+
startingDate?: Date | null | undefined;
|
|
509
549
|
prediction?: {
|
|
510
550
|
score: {
|
|
511
551
|
team1: number | null;
|
|
@@ -519,10 +559,12 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
519
559
|
team1: {
|
|
520
560
|
name: string;
|
|
521
561
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
562
|
+
picture?: string | undefined;
|
|
522
563
|
};
|
|
523
564
|
team2: {
|
|
524
565
|
name: string;
|
|
525
566
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
567
|
+
picture?: string | undefined;
|
|
526
568
|
};
|
|
527
569
|
score: {
|
|
528
570
|
team1: number | null;
|
|
@@ -530,9 +572,9 @@ export declare const TournamentMatchResponseSchema: z.ZodObject<{
|
|
|
530
572
|
};
|
|
531
573
|
stage: string;
|
|
532
574
|
endDate?: Date | null | undefined;
|
|
533
|
-
startingDate?: Date | null | undefined;
|
|
534
575
|
additionalTag?: string | undefined;
|
|
535
576
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
577
|
+
startingDate?: Date | null | undefined;
|
|
536
578
|
prediction?: {
|
|
537
579
|
score: {
|
|
538
580
|
team1: number | null;
|
|
@@ -574,10 +616,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
574
616
|
team1: {
|
|
575
617
|
name: string;
|
|
576
618
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
619
|
+
picture?: string | undefined;
|
|
577
620
|
};
|
|
578
621
|
team2: {
|
|
579
622
|
name: string;
|
|
580
623
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
624
|
+
picture?: string | undefined;
|
|
581
625
|
};
|
|
582
626
|
score: {
|
|
583
627
|
team1: number | null;
|
|
@@ -585,9 +629,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
585
629
|
};
|
|
586
630
|
stage: string;
|
|
587
631
|
endDate?: Date | null | undefined;
|
|
588
|
-
startingDate?: Date | null | undefined;
|
|
589
632
|
additionalTag?: string | undefined;
|
|
590
633
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
634
|
+
startingDate?: Date | null | undefined;
|
|
591
635
|
prediction?: {
|
|
592
636
|
score: {
|
|
593
637
|
team1: number | null;
|
|
@@ -600,10 +644,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
600
644
|
team1: {
|
|
601
645
|
name: string;
|
|
602
646
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
647
|
+
picture?: string | undefined;
|
|
603
648
|
};
|
|
604
649
|
team2: {
|
|
605
650
|
name: string;
|
|
606
651
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
652
|
+
picture?: string | undefined;
|
|
607
653
|
};
|
|
608
654
|
score: {
|
|
609
655
|
team1: number | null;
|
|
@@ -611,9 +657,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
611
657
|
};
|
|
612
658
|
stage: string;
|
|
613
659
|
endDate?: Date | null | undefined;
|
|
614
|
-
startingDate?: Date | null | undefined;
|
|
615
660
|
additionalTag?: string | undefined;
|
|
616
661
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
662
|
+
startingDate?: Date | null | undefined;
|
|
617
663
|
prediction?: {
|
|
618
664
|
score: {
|
|
619
665
|
team1: number | null;
|
|
@@ -628,10 +674,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
628
674
|
team1: {
|
|
629
675
|
name: string;
|
|
630
676
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
677
|
+
picture?: string | undefined;
|
|
631
678
|
};
|
|
632
679
|
team2: {
|
|
633
680
|
name: string;
|
|
634
681
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
682
|
+
picture?: string | undefined;
|
|
635
683
|
};
|
|
636
684
|
score: {
|
|
637
685
|
team1: number | null;
|
|
@@ -639,9 +687,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
639
687
|
};
|
|
640
688
|
stage: string;
|
|
641
689
|
endDate?: Date | null | undefined;
|
|
642
|
-
startingDate?: Date | null | undefined;
|
|
643
690
|
additionalTag?: string | undefined;
|
|
644
691
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
692
|
+
startingDate?: Date | null | undefined;
|
|
645
693
|
prediction?: {
|
|
646
694
|
score: {
|
|
647
695
|
team1: number | null;
|
|
@@ -662,10 +710,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
662
710
|
team1: {
|
|
663
711
|
name: string;
|
|
664
712
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
713
|
+
picture?: string | undefined;
|
|
665
714
|
};
|
|
666
715
|
team2: {
|
|
667
716
|
name: string;
|
|
668
717
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
718
|
+
picture?: string | undefined;
|
|
669
719
|
};
|
|
670
720
|
score: {
|
|
671
721
|
team1: number | null;
|
|
@@ -673,9 +723,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
673
723
|
};
|
|
674
724
|
stage: string;
|
|
675
725
|
endDate?: Date | null | undefined;
|
|
676
|
-
startingDate?: Date | null | undefined;
|
|
677
726
|
additionalTag?: string | undefined;
|
|
678
727
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
728
|
+
startingDate?: Date | null | undefined;
|
|
679
729
|
prediction?: {
|
|
680
730
|
score: {
|
|
681
731
|
team1: number | null;
|
|
@@ -695,10 +745,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
695
745
|
team1: {
|
|
696
746
|
name: string;
|
|
697
747
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
748
|
+
picture?: string | undefined;
|
|
698
749
|
};
|
|
699
750
|
team2: {
|
|
700
751
|
name: string;
|
|
701
752
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
753
|
+
picture?: string | undefined;
|
|
702
754
|
};
|
|
703
755
|
score: {
|
|
704
756
|
team1: number | null;
|
|
@@ -706,9 +758,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
706
758
|
};
|
|
707
759
|
stage: string;
|
|
708
760
|
endDate?: Date | null | undefined;
|
|
709
|
-
startingDate?: Date | null | undefined;
|
|
710
761
|
additionalTag?: string | undefined;
|
|
711
762
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
763
|
+
startingDate?: Date | null | undefined;
|
|
712
764
|
prediction?: {
|
|
713
765
|
score: {
|
|
714
766
|
team1: number | null;
|
|
@@ -721,10 +773,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
721
773
|
team1: {
|
|
722
774
|
name: string;
|
|
723
775
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
776
|
+
picture?: string | undefined;
|
|
724
777
|
};
|
|
725
778
|
team2: {
|
|
726
779
|
name: string;
|
|
727
780
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
781
|
+
picture?: string | undefined;
|
|
728
782
|
};
|
|
729
783
|
score: {
|
|
730
784
|
team1: number | null;
|
|
@@ -732,9 +786,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
732
786
|
};
|
|
733
787
|
stage: string;
|
|
734
788
|
endDate?: Date | null | undefined;
|
|
735
|
-
startingDate?: Date | null | undefined;
|
|
736
789
|
additionalTag?: string | undefined;
|
|
737
790
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
791
|
+
startingDate?: Date | null | undefined;
|
|
738
792
|
prediction?: {
|
|
739
793
|
score: {
|
|
740
794
|
team1: number | null;
|
|
@@ -751,10 +805,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
751
805
|
team1: {
|
|
752
806
|
name: string;
|
|
753
807
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
808
|
+
picture?: string | undefined;
|
|
754
809
|
};
|
|
755
810
|
team2: {
|
|
756
811
|
name: string;
|
|
757
812
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
813
|
+
picture?: string | undefined;
|
|
758
814
|
};
|
|
759
815
|
score: {
|
|
760
816
|
team1: number | null;
|
|
@@ -762,9 +818,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
762
818
|
};
|
|
763
819
|
stage: string;
|
|
764
820
|
endDate?: Date | null | undefined;
|
|
765
|
-
startingDate?: Date | null | undefined;
|
|
766
821
|
additionalTag?: string | undefined;
|
|
767
822
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
823
|
+
startingDate?: Date | null | undefined;
|
|
768
824
|
prediction?: {
|
|
769
825
|
score: {
|
|
770
826
|
team1: number | null;
|
|
@@ -778,10 +834,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
778
834
|
team1: {
|
|
779
835
|
name: string;
|
|
780
836
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
837
|
+
picture?: string | undefined;
|
|
781
838
|
};
|
|
782
839
|
team2: {
|
|
783
840
|
name: string;
|
|
784
841
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
842
|
+
picture?: string | undefined;
|
|
785
843
|
};
|
|
786
844
|
score: {
|
|
787
845
|
team1: number | null;
|
|
@@ -789,9 +847,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
789
847
|
};
|
|
790
848
|
stage: string;
|
|
791
849
|
endDate?: Date | null | undefined;
|
|
792
|
-
startingDate?: Date | null | undefined;
|
|
793
850
|
additionalTag?: string | undefined;
|
|
794
851
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
852
|
+
startingDate?: Date | null | undefined;
|
|
795
853
|
prediction?: {
|
|
796
854
|
score: {
|
|
797
855
|
team1: number | null;
|
|
@@ -815,10 +873,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
815
873
|
team1: {
|
|
816
874
|
name: string;
|
|
817
875
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
876
|
+
picture?: string | undefined;
|
|
818
877
|
};
|
|
819
878
|
team2: {
|
|
820
879
|
name: string;
|
|
821
880
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
881
|
+
picture?: string | undefined;
|
|
822
882
|
};
|
|
823
883
|
score: {
|
|
824
884
|
team1: number | null;
|
|
@@ -826,9 +886,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
826
886
|
};
|
|
827
887
|
stage: string;
|
|
828
888
|
endDate?: Date | null | undefined;
|
|
829
|
-
startingDate?: Date | null | undefined;
|
|
830
889
|
additionalTag?: string | undefined;
|
|
831
890
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
891
|
+
startingDate?: Date | null | undefined;
|
|
832
892
|
prediction?: {
|
|
833
893
|
score: {
|
|
834
894
|
team1: number | null;
|
|
@@ -842,10 +902,12 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
842
902
|
team1: {
|
|
843
903
|
name: string;
|
|
844
904
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
905
|
+
picture?: string | undefined;
|
|
845
906
|
};
|
|
846
907
|
team2: {
|
|
847
908
|
name: string;
|
|
848
909
|
teamId: string | import("mongoose").Types.ObjectId;
|
|
910
|
+
picture?: string | undefined;
|
|
849
911
|
};
|
|
850
912
|
score: {
|
|
851
913
|
team1: number | null;
|
|
@@ -853,9 +915,9 @@ export declare const TournamentMatchListResponseSchema: z.ZodObject<{
|
|
|
853
915
|
};
|
|
854
916
|
stage: string;
|
|
855
917
|
endDate?: Date | null | undefined;
|
|
856
|
-
startingDate?: Date | null | undefined;
|
|
857
918
|
additionalTag?: string | undefined;
|
|
858
919
|
winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
920
|
+
startingDate?: Date | null | undefined;
|
|
859
921
|
prediction?: {
|
|
860
922
|
score: {
|
|
861
923
|
team1: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match.validation.d.ts","sourceRoot":"/","sources":["modules/tournament/match/match.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,GAAG,EAAiB,MAAM,2DAA2D,CAAC;
|
|
1
|
+
{"version":3,"file":"match.validation.d.ts","sourceRoot":"/","sources":["modules/tournament/match/match.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,GAAG,EAAiB,MAAM,2DAA2D,CAAC;AAqC/F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAMjC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8C,CAAC;AACzF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuD,CAAC;AAEtG,MAAM,MAAM,4BAA4B,GAAG,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAClF,MAAM,MAAM,4BAA4B,GAAG,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAClF,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -11,6 +11,7 @@ const MatchScoreSchema = zod_1.z.object({
|
|
|
11
11
|
const MatchTeamSchema = zod_1.z.object({
|
|
12
12
|
teamId: global_validation_1.ZodValidation.objectId('Team id'),
|
|
13
13
|
name: global_validation_1.ZodValidation.string('Team name'),
|
|
14
|
+
picture: global_validation_1.ZodValidation.string('Team picture').optional(),
|
|
14
15
|
});
|
|
15
16
|
const MatchPredictionSchema = zod_1.z.object({
|
|
16
17
|
score: MatchScoreSchema,
|
|
@@ -54,8 +55,10 @@ exports.StartTournamentMatchSchema = zod_1.z.object({
|
|
|
54
55
|
exports.EndTournamentMatchSchema = zod_1.z.object({
|
|
55
56
|
tournamentId: global_validation_1.ZodValidation.objectId('Tournament id'),
|
|
56
57
|
matchId: global_validation_1.ZodValidation.objectId('Match id'),
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
finalScore: zod_1.z.object({
|
|
59
|
+
team1: global_validation_1.ZodValidation.number('Team 1 score', { min: 0, isInt: true }),
|
|
60
|
+
team2: global_validation_1.ZodValidation.number('Team 2 score', { min: 0, isInt: true }),
|
|
61
|
+
}).optional(),
|
|
59
62
|
});
|
|
60
63
|
exports.TournamentMatchSchema = zod_1.z.object({
|
|
61
64
|
_id: global_validation_1.ZodValidation.objectId(),
|