@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.
Files changed (211) hide show
  1. package/dist/lib/index.d.ts +236 -17
  2. package/dist/lib/index.d.ts.map +1 -1
  3. package/dist/lib/modules/tournament/config/config.repository.d.ts +3 -0
  4. package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -1
  5. package/dist/lib/modules/tournament/config/config.repository.js +3 -0
  6. package/dist/lib/modules/tournament/config/config.repository.js.map +1 -1
  7. package/dist/lib/modules/tournament/config/config.router.d.ts +10 -10
  8. package/dist/lib/modules/tournament/config/config.validation.d.ts +37 -36
  9. package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -1
  10. package/dist/lib/modules/tournament/config/config.validation.js +4 -3
  11. package/dist/lib/modules/tournament/config/config.validation.js.map +1 -1
  12. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  13. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js +9 -1
  14. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js.map +1 -1
  15. package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -1
  16. package/dist/lib/modules/tournament/match/match.builder.js +2 -1
  17. package/dist/lib/modules/tournament/match/match.builder.js.map +1 -1
  18. package/dist/lib/modules/tournament/match/match.repository.d.ts +2 -0
  19. package/dist/lib/modules/tournament/match/match.repository.d.ts.map +1 -1
  20. package/dist/lib/modules/tournament/match/match.repository.js +10 -0
  21. package/dist/lib/modules/tournament/match/match.repository.js.map +1 -1
  22. package/dist/lib/modules/tournament/match/match.router.d.ts +16 -4
  23. package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -1
  24. package/dist/lib/modules/tournament/match/match.service.d.ts +0 -1
  25. package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -1
  26. package/dist/lib/modules/tournament/match/match.service.js +3 -9
  27. package/dist/lib/modules/tournament/match/match.service.js.map +1 -1
  28. package/dist/lib/modules/tournament/match/match.validation.d.ts +50 -0
  29. package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -1
  30. package/dist/lib/modules/tournament/match/match.validation.js +1 -0
  31. package/dist/lib/modules/tournament/match/match.validation.js.map +1 -1
  32. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +2 -5
  33. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -1
  34. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +1 -6
  35. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +1 -1
  36. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +2 -0
  37. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -1
  38. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +15 -9
  39. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +1 -1
  40. package/dist/lib/modules/tournament/notification/notification-template.repository.d.ts +8 -0
  41. package/dist/lib/modules/tournament/notification/notification-template.repository.d.ts.map +1 -0
  42. package/dist/lib/modules/tournament/notification/notification-template.repository.js +60 -0
  43. package/dist/lib/modules/tournament/notification/notification-template.repository.js.map +1 -0
  44. package/dist/lib/modules/tournament/notification/notification.config.d.ts +10 -0
  45. package/dist/lib/modules/tournament/notification/notification.config.d.ts.map +1 -0
  46. package/dist/lib/modules/tournament/notification/notification.config.js +15 -0
  47. package/dist/lib/modules/tournament/notification/notification.config.js.map +1 -0
  48. package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts +10 -0
  49. package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts.map +1 -0
  50. package/dist/lib/modules/tournament/notification/notification.schedule.config.js +15 -0
  51. package/dist/lib/modules/tournament/notification/notification.schedule.config.js.map +1 -0
  52. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +4 -4
  53. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -1
  54. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +15 -28
  55. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +1 -1
  56. package/dist/lib/modules/tournament/notification/notification.service.d.ts +5 -4
  57. package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -1
  58. package/dist/lib/modules/tournament/notification/notification.service.js +33 -28
  59. package/dist/lib/modules/tournament/notification/notification.service.js.map +1 -1
  60. package/dist/lib/modules/tournament/participant/participant.repository.d.ts +1 -0
  61. package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -1
  62. package/dist/lib/modules/tournament/participant/participant.repository.js +6 -0
  63. package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -1
  64. package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
  65. package/dist/lib/modules/tournament/prediction/prediction.builder.js +3 -2
  66. package/dist/lib/modules/tournament/prediction/prediction.builder.js.map +1 -1
  67. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +1 -0
  68. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
  69. package/dist/lib/modules/tournament/prediction/prediction.service.js +10 -1
  70. package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -1
  71. package/dist/lib/modules/tournament/reward/reward.builder.d.ts.map +1 -1
  72. package/dist/lib/modules/tournament/reward/reward.builder.js +2 -1
  73. package/dist/lib/modules/tournament/reward/reward.builder.js.map +1 -1
  74. package/dist/lib/modules/tournament/reward/reward.repository.d.ts +8 -0
  75. package/dist/lib/modules/tournament/reward/reward.repository.d.ts.map +1 -0
  76. package/dist/lib/modules/tournament/reward/reward.repository.js +66 -0
  77. package/dist/lib/modules/tournament/reward/reward.repository.js.map +1 -0
  78. package/dist/lib/modules/tournament/schedule/schedule.router.d.ts +27 -0
  79. package/dist/lib/modules/tournament/schedule/schedule.router.d.ts.map +1 -0
  80. package/dist/lib/modules/tournament/schedule/schedule.router.js +17 -0
  81. package/dist/lib/modules/tournament/schedule/schedule.router.js.map +1 -0
  82. package/dist/lib/modules/tournament/schedule/schedule.service.d.ts +10 -0
  83. package/dist/lib/modules/tournament/schedule/schedule.service.d.ts.map +1 -0
  84. package/dist/lib/modules/tournament/schedule/schedule.service.js +87 -0
  85. package/dist/lib/modules/tournament/schedule/schedule.service.js.map +1 -0
  86. package/dist/lib/modules/tournament/score/score.repository.d.ts +8 -1
  87. package/dist/lib/modules/tournament/score/score.repository.d.ts.map +1 -1
  88. package/dist/lib/modules/tournament/score/score.repository.js +12 -2
  89. package/dist/lib/modules/tournament/score/score.repository.js.map +1 -1
  90. package/dist/lib/modules/tournament/score/score.router.d.ts +98 -0
  91. package/dist/lib/modules/tournament/score/score.router.d.ts.map +1 -0
  92. package/dist/lib/modules/tournament/score/score.router.js +20 -0
  93. package/dist/lib/modules/tournament/score/score.router.js.map +1 -0
  94. package/dist/lib/modules/tournament/score/score.service.d.ts +7 -0
  95. package/dist/lib/modules/tournament/score/score.service.d.ts.map +1 -1
  96. package/dist/lib/modules/tournament/score/score.service.js +49 -0
  97. package/dist/lib/modules/tournament/score/score.service.js.map +1 -1
  98. package/dist/lib/modules/tournament/score/score.validation.d.ts +375 -0
  99. package/dist/lib/modules/tournament/score/score.validation.d.ts.map +1 -0
  100. package/dist/lib/modules/tournament/score/score.validation.js +19 -0
  101. package/dist/lib/modules/tournament/score/score.validation.js.map +1 -0
  102. package/dist/lib/modules/tournament/statistics/statistics.builder.d.ts +10 -0
  103. package/dist/lib/modules/tournament/statistics/statistics.builder.d.ts.map +1 -0
  104. package/dist/lib/modules/tournament/statistics/statistics.builder.js +53 -0
  105. package/dist/lib/modules/tournament/statistics/statistics.builder.js.map +1 -0
  106. package/dist/lib/modules/tournament/statistics/statistics.router.d.ts +80 -0
  107. package/dist/lib/modules/tournament/statistics/statistics.router.d.ts.map +1 -0
  108. package/dist/lib/modules/tournament/statistics/statistics.router.js +21 -0
  109. package/dist/lib/modules/tournament/statistics/statistics.router.js.map +1 -0
  110. package/dist/lib/modules/tournament/statistics/statistics.service.d.ts +11 -0
  111. package/dist/lib/modules/tournament/statistics/statistics.service.d.ts.map +1 -0
  112. package/dist/lib/modules/tournament/statistics/statistics.service.js +80 -0
  113. package/dist/lib/modules/tournament/statistics/statistics.service.js.map +1 -0
  114. package/dist/lib/modules/tournament/statistics/statistics.validation.d.ts +404 -0
  115. package/dist/lib/modules/tournament/statistics/statistics.validation.d.ts.map +1 -0
  116. package/dist/lib/modules/tournament/statistics/statistics.validation.js +36 -0
  117. package/dist/lib/modules/tournament/statistics/statistics.validation.js.map +1 -0
  118. package/dist/lib/modules/tournament/team/team.router.d.ts +9 -3
  119. package/dist/lib/modules/tournament/team/team.router.d.ts.map +1 -1
  120. package/dist/lib/modules/tournament/team/team.service.d.ts +1 -0
  121. package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -1
  122. package/dist/lib/modules/tournament/team/team.service.js +21 -16
  123. package/dist/lib/modules/tournament/team/team.service.js.map +1 -1
  124. package/dist/lib/modules/tournament/team/team.validation.d.ts +54 -4
  125. package/dist/lib/modules/tournament/team/team.validation.d.ts.map +1 -1
  126. package/dist/lib/modules/tournament/team/team.validation.js +4 -2
  127. package/dist/lib/modules/tournament/team/team.validation.js.map +1 -1
  128. package/dist/lib/modules/tournament/tournament.router.d.ts +236 -17
  129. package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -1
  130. package/dist/lib/modules/tournament/tournament.router.js +6 -0
  131. package/dist/lib/modules/tournament/tournament.router.js.map +1 -1
  132. package/dist/lib/modules/tournament/tournament.types.d.ts +9 -0
  133. package/dist/lib/modules/tournament/tournament.types.d.ts.map +1 -0
  134. package/dist/lib/modules/tournament/tournament.types.js +14 -0
  135. package/dist/lib/modules/tournament/tournament.types.js.map +1 -0
  136. package/dist/lib/modules/tournament/tournament.utils.d.ts +2 -0
  137. package/dist/lib/modules/tournament/tournament.utils.d.ts.map +1 -0
  138. package/dist/lib/modules/tournament/tournament.utils.js +6 -0
  139. package/dist/lib/modules/tournament/tournament.utils.js.map +1 -0
  140. package/dist/types/index.d.ts +236 -17
  141. package/dist/types/index.d.ts.map +1 -1
  142. package/dist/types/modules/tournament/config/config.repository.d.ts +3 -0
  143. package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -1
  144. package/dist/types/modules/tournament/config/config.router.d.ts +10 -10
  145. package/dist/types/modules/tournament/config/config.validation.d.ts +37 -36
  146. package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -1
  147. package/dist/types/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  148. package/dist/types/modules/tournament/match/match.builder.d.ts.map +1 -1
  149. package/dist/types/modules/tournament/match/match.repository.d.ts +2 -0
  150. package/dist/types/modules/tournament/match/match.repository.d.ts.map +1 -1
  151. package/dist/types/modules/tournament/match/match.router.d.ts +16 -4
  152. package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -1
  153. package/dist/types/modules/tournament/match/match.service.d.ts +0 -1
  154. package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -1
  155. package/dist/types/modules/tournament/match/match.validation.d.ts +50 -0
  156. package/dist/types/modules/tournament/match/match.validation.d.ts.map +1 -1
  157. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +2 -5
  158. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -1
  159. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +2 -0
  160. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -1
  161. package/dist/types/modules/tournament/notification/notification-template.repository.d.ts +8 -0
  162. package/dist/types/modules/tournament/notification/notification-template.repository.d.ts.map +1 -0
  163. package/dist/types/modules/tournament/notification/notification.config.d.ts +10 -0
  164. package/dist/types/modules/tournament/notification/notification.config.d.ts.map +1 -0
  165. package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts +10 -0
  166. package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts.map +1 -0
  167. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +4 -4
  168. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -1
  169. package/dist/types/modules/tournament/notification/notification.service.d.ts +5 -4
  170. package/dist/types/modules/tournament/notification/notification.service.d.ts.map +1 -1
  171. package/dist/types/modules/tournament/participant/participant.repository.d.ts +1 -0
  172. package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -1
  173. package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
  174. package/dist/types/modules/tournament/prediction/prediction.service.d.ts +1 -0
  175. package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
  176. package/dist/types/modules/tournament/reward/reward.builder.d.ts.map +1 -1
  177. package/dist/types/modules/tournament/reward/reward.repository.d.ts +8 -0
  178. package/dist/types/modules/tournament/reward/reward.repository.d.ts.map +1 -0
  179. package/dist/types/modules/tournament/schedule/schedule.router.d.ts +27 -0
  180. package/dist/types/modules/tournament/schedule/schedule.router.d.ts.map +1 -0
  181. package/dist/types/modules/tournament/schedule/schedule.service.d.ts +10 -0
  182. package/dist/types/modules/tournament/schedule/schedule.service.d.ts.map +1 -0
  183. package/dist/types/modules/tournament/score/score.repository.d.ts +8 -1
  184. package/dist/types/modules/tournament/score/score.repository.d.ts.map +1 -1
  185. package/dist/types/modules/tournament/score/score.router.d.ts +98 -0
  186. package/dist/types/modules/tournament/score/score.router.d.ts.map +1 -0
  187. package/dist/types/modules/tournament/score/score.service.d.ts +7 -0
  188. package/dist/types/modules/tournament/score/score.service.d.ts.map +1 -1
  189. package/dist/types/modules/tournament/score/score.validation.d.ts +375 -0
  190. package/dist/types/modules/tournament/score/score.validation.d.ts.map +1 -0
  191. package/dist/types/modules/tournament/statistics/statistics.builder.d.ts +10 -0
  192. package/dist/types/modules/tournament/statistics/statistics.builder.d.ts.map +1 -0
  193. package/dist/types/modules/tournament/statistics/statistics.router.d.ts +80 -0
  194. package/dist/types/modules/tournament/statistics/statistics.router.d.ts.map +1 -0
  195. package/dist/types/modules/tournament/statistics/statistics.service.d.ts +11 -0
  196. package/dist/types/modules/tournament/statistics/statistics.service.d.ts.map +1 -0
  197. package/dist/types/modules/tournament/statistics/statistics.validation.d.ts +404 -0
  198. package/dist/types/modules/tournament/statistics/statistics.validation.d.ts.map +1 -0
  199. package/dist/types/modules/tournament/team/team.router.d.ts +9 -3
  200. package/dist/types/modules/tournament/team/team.router.d.ts.map +1 -1
  201. package/dist/types/modules/tournament/team/team.service.d.ts +1 -0
  202. package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -1
  203. package/dist/types/modules/tournament/team/team.validation.d.ts +54 -4
  204. package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -1
  205. package/dist/types/modules/tournament/tournament.router.d.ts +236 -17
  206. package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -1
  207. package/dist/types/modules/tournament/tournament.types.d.ts +9 -0
  208. package/dist/types/modules/tournament/tournament.types.d.ts.map +1 -0
  209. package/dist/types/modules/tournament/tournament.utils.d.ts +2 -0
  210. package/dist/types/modules/tournament/tournament.utils.d.ts.map +1 -0
  211. package/package.json +2 -2
@@ -35,7 +35,7 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
35
35
  name: string;
36
36
  startDate: string | Date;
37
37
  endDate: string | Date;
38
- tag: string;
38
+ tag: import("./tournament.types").TournamentTag;
39
39
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
40
40
  reward?: {
41
41
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
@@ -52,12 +52,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
52
52
  data?: {
53
53
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
54
54
  name: string;
55
- tag: string;
56
55
  _id?: string | import("mongoose").Types.ObjectId | undefined;
57
56
  createdAt?: Date | null | undefined;
58
57
  startDate?: Date | null | undefined;
59
58
  endDate?: Date | null | undefined;
60
59
  updatedAt?: Date | null | undefined;
60
+ tag?: import("./tournament.types").TournamentTag | undefined;
61
61
  reward?: {
62
62
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
63
63
  } | {
@@ -70,12 +70,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
70
70
  documents: {
71
71
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
72
72
  name: string;
73
- tag: string;
74
73
  _id?: string | import("mongoose").Types.ObjectId | undefined;
75
74
  createdAt?: Date | null | undefined;
76
75
  startDate?: Date | null | undefined;
77
76
  endDate?: Date | null | undefined;
78
77
  updatedAt?: Date | null | undefined;
78
+ tag?: import("./tournament.types").TournamentTag | undefined;
79
79
  reward?: {
80
80
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
81
81
  } | {
@@ -103,12 +103,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
103
103
  data?: {
104
104
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
105
105
  name: string;
106
- tag: string;
107
106
  _id?: string | import("mongoose").Types.ObjectId | undefined;
108
107
  createdAt?: Date | null | undefined;
109
108
  startDate?: Date | null | undefined;
110
109
  endDate?: Date | null | undefined;
111
110
  updatedAt?: Date | null | undefined;
111
+ tag?: import("./tournament.types").TournamentTag | undefined;
112
112
  reward?: {
113
113
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
114
114
  } | {
@@ -120,12 +120,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
120
120
  documents: {
121
121
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
122
122
  name: string;
123
- tag: string;
124
123
  _id?: string | import("mongoose").Types.ObjectId | undefined;
125
124
  createdAt?: Date | null | undefined;
126
125
  startDate?: Date | null | undefined;
127
126
  endDate?: Date | null | undefined;
128
127
  updatedAt?: Date | null | undefined;
128
+ tag?: import("./tournament.types").TournamentTag | undefined;
129
129
  reward?: {
130
130
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
131
131
  } | {
@@ -154,12 +154,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
154
154
  data?: {
155
155
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
156
156
  name: string;
157
- tag: string;
158
157
  _id?: string | import("mongoose").Types.ObjectId | undefined;
159
158
  createdAt?: Date | null | undefined;
160
159
  startDate?: Date | null | undefined;
161
160
  endDate?: Date | null | undefined;
162
161
  updatedAt?: Date | null | undefined;
162
+ tag?: import("./tournament.types").TournamentTag | undefined;
163
163
  reward?: {
164
164
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
165
165
  } | {
@@ -172,12 +172,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
172
172
  documents: {
173
173
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
174
174
  name: string;
175
- tag: string;
176
175
  _id?: string | import("mongoose").Types.ObjectId | undefined;
177
176
  createdAt?: Date | null | undefined;
178
177
  startDate?: Date | null | undefined;
179
178
  endDate?: Date | null | undefined;
180
179
  updatedAt?: Date | null | undefined;
180
+ tag?: import("./tournament.types").TournamentTag | undefined;
181
181
  reward?: {
182
182
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
183
183
  } | {
@@ -204,7 +204,7 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
204
204
  name?: string | undefined;
205
205
  startDate?: string | Date | undefined;
206
206
  endDate?: string | Date | undefined;
207
- tag?: string | undefined;
207
+ tag?: import("./tournament.types").TournamentTag | undefined;
208
208
  reward?: {
209
209
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
210
210
  } | {
@@ -220,12 +220,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
220
220
  data?: {
221
221
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
222
222
  name: string;
223
- tag: string;
224
223
  _id?: string | import("mongoose").Types.ObjectId | undefined;
225
224
  createdAt?: Date | null | undefined;
226
225
  startDate?: Date | null | undefined;
227
226
  endDate?: Date | null | undefined;
228
227
  updatedAt?: Date | null | undefined;
228
+ tag?: import("./tournament.types").TournamentTag | undefined;
229
229
  reward?: {
230
230
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
231
231
  } | {
@@ -238,12 +238,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
238
238
  documents: {
239
239
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
240
240
  name: string;
241
- tag: string;
242
241
  _id?: string | import("mongoose").Types.ObjectId | undefined;
243
242
  createdAt?: Date | null | undefined;
244
243
  startDate?: Date | null | undefined;
245
244
  endDate?: Date | null | undefined;
246
245
  updatedAt?: Date | null | undefined;
246
+ tag?: import("./tournament.types").TournamentTag | undefined;
247
247
  reward?: {
248
248
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
249
249
  } | {
@@ -294,12 +294,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
294
294
  data?: {
295
295
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
296
296
  name: string;
297
- tag: string;
298
297
  _id?: string | import("mongoose").Types.ObjectId | undefined;
299
298
  createdAt?: Date | null | undefined;
300
299
  startDate?: Date | null | undefined;
301
300
  endDate?: Date | null | undefined;
302
301
  updatedAt?: Date | null | undefined;
302
+ tag?: import("./tournament.types").TournamentTag | undefined;
303
303
  reward?: {
304
304
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
305
305
  } | {
@@ -312,12 +312,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
312
312
  documents: {
313
313
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
314
314
  name: string;
315
- tag: string;
316
315
  _id?: string | import("mongoose").Types.ObjectId | undefined;
317
316
  createdAt?: Date | null | undefined;
318
317
  startDate?: Date | null | undefined;
319
318
  endDate?: Date | null | undefined;
320
319
  updatedAt?: Date | null | undefined;
320
+ tag?: import("./tournament.types").TournamentTag | undefined;
321
321
  reward?: {
322
322
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
323
323
  } | {
@@ -380,8 +380,8 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
380
380
  }>;
381
381
  getMatches: import("@trpc/server").TRPCQueryProcedure<{
382
382
  input: {
383
- filter: "completed" | "upcoming";
384
383
  tournamentId: string | import("mongoose").Types.ObjectId;
384
+ filter?: import("./tournament.types").MatchStatus | undefined;
385
385
  };
386
386
  output: {
387
387
  message: string;
@@ -395,10 +395,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
395
395
  team1: {
396
396
  name: string;
397
397
  teamId: string | import("mongoose").Types.ObjectId;
398
+ picture?: string | undefined;
398
399
  };
399
400
  team2: {
400
401
  name: string;
401
402
  teamId: string | import("mongoose").Types.ObjectId;
403
+ picture?: string | undefined;
402
404
  };
403
405
  score: {
404
406
  team1: number | null;
@@ -413,6 +415,7 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
413
415
  succeeded: boolean | null;
414
416
  } | null;
415
417
  canPredict: boolean;
418
+ matchStatus: import("./tournament.types").MatchStatus;
416
419
  endDate?: Date | null | undefined;
417
420
  additionalTag?: string | undefined;
418
421
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -430,10 +433,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
430
433
  team1: {
431
434
  name: string;
432
435
  teamId: string | import("mongoose").Types.ObjectId;
436
+ picture?: string | undefined;
433
437
  };
434
438
  team2: {
435
439
  name: string;
436
440
  teamId: string | import("mongoose").Types.ObjectId;
441
+ picture?: string | undefined;
437
442
  };
438
443
  score: {
439
444
  team1: number | null;
@@ -448,6 +453,7 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
448
453
  succeeded: boolean | null;
449
454
  } | null;
450
455
  canPredict: boolean;
456
+ matchStatus: import("./tournament.types").MatchStatus;
451
457
  endDate?: Date | null | undefined;
452
458
  additionalTag?: string | undefined;
453
459
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -501,12 +507,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
501
507
  data?: {
502
508
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
503
509
  name: string;
504
- tag: string;
505
510
  _id?: string | import("mongoose").Types.ObjectId | undefined;
506
511
  createdAt?: Date | null | undefined;
507
512
  startDate?: Date | null | undefined;
508
513
  endDate?: Date | null | undefined;
509
514
  updatedAt?: Date | null | undefined;
515
+ tag?: import("./tournament.types").TournamentTag | undefined;
510
516
  reward?: {
511
517
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
512
518
  } | {
@@ -519,12 +525,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
519
525
  documents: {
520
526
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
521
527
  name: string;
522
- tag: string;
523
528
  _id?: string | import("mongoose").Types.ObjectId | undefined;
524
529
  createdAt?: Date | null | undefined;
525
530
  startDate?: Date | null | undefined;
526
531
  endDate?: Date | null | undefined;
527
532
  updatedAt?: Date | null | undefined;
533
+ tag?: import("./tournament.types").TournamentTag | undefined;
528
534
  reward?: {
529
535
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
530
536
  } | {
@@ -556,10 +562,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
556
562
  team1: {
557
563
  name: string;
558
564
  teamId: string | import("mongoose").Types.ObjectId;
565
+ picture?: string | undefined;
559
566
  };
560
567
  team2: {
561
568
  name: string;
562
569
  teamId: string | import("mongoose").Types.ObjectId;
570
+ picture?: string | undefined;
563
571
  };
564
572
  score: {
565
573
  team1: number | null;
@@ -583,10 +591,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
583
591
  team1: {
584
592
  name: string;
585
593
  teamId: string | import("mongoose").Types.ObjectId;
594
+ picture?: string | undefined;
586
595
  };
587
596
  team2: {
588
597
  name: string;
589
598
  teamId: string | import("mongoose").Types.ObjectId;
599
+ picture?: string | undefined;
590
600
  };
591
601
  score: {
592
602
  team1: number | null;
@@ -628,10 +638,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
628
638
  team1: {
629
639
  name: string;
630
640
  teamId: string | import("mongoose").Types.ObjectId;
641
+ picture?: string | undefined;
631
642
  };
632
643
  team2: {
633
644
  name: string;
634
645
  teamId: string | import("mongoose").Types.ObjectId;
646
+ picture?: string | undefined;
635
647
  };
636
648
  score: {
637
649
  team1: number | null;
@@ -655,10 +667,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
655
667
  team1: {
656
668
  name: string;
657
669
  teamId: string | import("mongoose").Types.ObjectId;
670
+ picture?: string | undefined;
658
671
  };
659
672
  team2: {
660
673
  name: string;
661
674
  teamId: string | import("mongoose").Types.ObjectId;
675
+ picture?: string | undefined;
662
676
  };
663
677
  score: {
664
678
  team1: number | null;
@@ -704,10 +718,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
704
718
  team1: {
705
719
  name: string;
706
720
  teamId: string | import("mongoose").Types.ObjectId;
721
+ picture?: string | undefined;
707
722
  };
708
723
  team2: {
709
724
  name: string;
710
725
  teamId: string | import("mongoose").Types.ObjectId;
726
+ picture?: string | undefined;
711
727
  };
712
728
  score: {
713
729
  team1: number | null;
@@ -731,10 +747,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
731
747
  team1: {
732
748
  name: string;
733
749
  teamId: string | import("mongoose").Types.ObjectId;
750
+ picture?: string | undefined;
734
751
  };
735
752
  team2: {
736
753
  name: string;
737
754
  teamId: string | import("mongoose").Types.ObjectId;
755
+ picture?: string | undefined;
738
756
  };
739
757
  score: {
740
758
  team1: number | null;
@@ -774,12 +792,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
774
792
  data?: {
775
793
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
776
794
  name: string;
777
- tag: string;
778
795
  _id?: string | import("mongoose").Types.ObjectId | undefined;
779
796
  createdAt?: Date | null | undefined;
780
797
  startDate?: Date | null | undefined;
781
798
  endDate?: Date | null | undefined;
782
799
  updatedAt?: Date | null | undefined;
800
+ tag?: import("./tournament.types").TournamentTag | undefined;
783
801
  reward?: {
784
802
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
785
803
  } | {
@@ -792,12 +810,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
792
810
  documents: {
793
811
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
794
812
  name: string;
795
- tag: string;
796
813
  _id?: string | import("mongoose").Types.ObjectId | undefined;
797
814
  createdAt?: Date | null | undefined;
798
815
  startDate?: Date | null | undefined;
799
816
  endDate?: Date | null | undefined;
800
817
  updatedAt?: Date | null | undefined;
818
+ tag?: import("./tournament.types").TournamentTag | undefined;
801
819
  reward?: {
802
820
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
803
821
  } | {
@@ -1051,6 +1069,207 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
1051
1069
  meta: object;
1052
1070
  }>;
1053
1071
  }>>;
1072
+ statistics: import("@trpc/server").TRPCBuiltRouter<{
1073
+ ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
1074
+ meta: object;
1075
+ errorShape: {
1076
+ message: string;
1077
+ data: {
1078
+ stack: undefined;
1079
+ path: undefined;
1080
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
1081
+ httpStatus: number;
1082
+ };
1083
+ stack: undefined;
1084
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
1085
+ };
1086
+ transformer: false;
1087
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1088
+ getActiveByUser: import("@trpc/server").TRPCQueryProcedure<{
1089
+ input: {
1090
+ userId: string | import("mongoose").Types.ObjectId;
1091
+ };
1092
+ output: {
1093
+ message: string;
1094
+ success: boolean;
1095
+ data?: {
1096
+ name: string;
1097
+ joinedAt: Date | null;
1098
+ stats: {
1099
+ predictionsMade: number;
1100
+ correctPredictions: number;
1101
+ couponsWon: number;
1102
+ };
1103
+ matches: {
1104
+ date: string | null;
1105
+ coupon: string | null;
1106
+ id: string;
1107
+ result: "won" | "lost" | "pending" | null;
1108
+ teams: string;
1109
+ prediction: string | null;
1110
+ realScore: string | null;
1111
+ }[];
1112
+ selectedTeam: {
1113
+ name: string;
1114
+ flag: string | null;
1115
+ };
1116
+ } | {
1117
+ documents: ({
1118
+ name: string;
1119
+ joinedAt: Date | null;
1120
+ stats: {
1121
+ predictionsMade: number;
1122
+ correctPredictions: number;
1123
+ couponsWon: number;
1124
+ };
1125
+ matches: {
1126
+ date: string | null;
1127
+ coupon: string | null;
1128
+ id: string;
1129
+ result: "won" | "lost" | "pending" | null;
1130
+ teams: string;
1131
+ prediction: string | null;
1132
+ realScore: string | null;
1133
+ }[];
1134
+ selectedTeam: {
1135
+ name: string;
1136
+ flag: string | null;
1137
+ };
1138
+ } | null)[];
1139
+ metadata?: {
1140
+ page: number;
1141
+ size: number;
1142
+ totalElements: number;
1143
+ totalPages: number;
1144
+ } | undefined;
1145
+ } | null | undefined;
1146
+ };
1147
+ meta: object;
1148
+ }>;
1149
+ }>>;
1150
+ schedule: import("@trpc/server").TRPCBuiltRouter<{
1151
+ ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
1152
+ meta: object;
1153
+ errorShape: {
1154
+ message: string;
1155
+ data: {
1156
+ stack: undefined;
1157
+ path: undefined;
1158
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
1159
+ httpStatus: number;
1160
+ };
1161
+ stack: undefined;
1162
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
1163
+ };
1164
+ transformer: false;
1165
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1166
+ dispatch: import("@trpc/server").TRPCMutationProcedure<{
1167
+ input: void;
1168
+ output: {
1169
+ success: boolean;
1170
+ message: string;
1171
+ data: null | undefined;
1172
+ };
1173
+ meta: object;
1174
+ }>;
1175
+ }>>;
1176
+ score: import("@trpc/server").TRPCBuiltRouter<{
1177
+ ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
1178
+ meta: object;
1179
+ errorShape: {
1180
+ message: string;
1181
+ data: {
1182
+ stack: undefined;
1183
+ path: undefined;
1184
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
1185
+ httpStatus: number;
1186
+ };
1187
+ stack: undefined;
1188
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
1189
+ };
1190
+ transformer: false;
1191
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1192
+ updateMatchScore: import("@trpc/server").TRPCMutationProcedure<{
1193
+ input: {
1194
+ tournamentId: string | import("mongoose").Types.ObjectId;
1195
+ matchId: string | import("mongoose").Types.ObjectId;
1196
+ teams: {
1197
+ score: number;
1198
+ teamId: string | import("mongoose").Types.ObjectId;
1199
+ }[];
1200
+ };
1201
+ output: {
1202
+ message: string;
1203
+ success: boolean;
1204
+ data?: {
1205
+ _id: string | import("mongoose").Types.ObjectId;
1206
+ team1: {
1207
+ name: string;
1208
+ teamId: string | import("mongoose").Types.ObjectId;
1209
+ picture?: string | undefined;
1210
+ };
1211
+ team2: {
1212
+ name: string;
1213
+ teamId: string | import("mongoose").Types.ObjectId;
1214
+ picture?: string | undefined;
1215
+ };
1216
+ score: {
1217
+ team1: number | null;
1218
+ team2: number | null;
1219
+ };
1220
+ stage: string;
1221
+ endDate?: Date | null | undefined;
1222
+ additionalTag?: string | undefined;
1223
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
1224
+ startingDate?: Date | null | undefined;
1225
+ prediction?: {
1226
+ score: {
1227
+ team1: number | null;
1228
+ team2: number | null;
1229
+ };
1230
+ succeeded?: boolean | null | undefined;
1231
+ } | null | undefined;
1232
+ } | {
1233
+ documents: {
1234
+ _id: string | import("mongoose").Types.ObjectId;
1235
+ team1: {
1236
+ name: string;
1237
+ teamId: string | import("mongoose").Types.ObjectId;
1238
+ picture?: string | undefined;
1239
+ };
1240
+ team2: {
1241
+ name: string;
1242
+ teamId: string | import("mongoose").Types.ObjectId;
1243
+ picture?: string | undefined;
1244
+ };
1245
+ score: {
1246
+ team1: number | null;
1247
+ team2: number | null;
1248
+ };
1249
+ stage: string;
1250
+ endDate?: Date | null | undefined;
1251
+ additionalTag?: string | undefined;
1252
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
1253
+ startingDate?: Date | null | undefined;
1254
+ prediction?: {
1255
+ score: {
1256
+ team1: number | null;
1257
+ team2: number | null;
1258
+ };
1259
+ succeeded?: boolean | null | undefined;
1260
+ } | null | undefined;
1261
+ }[];
1262
+ metadata?: {
1263
+ page: number;
1264
+ size: number;
1265
+ totalElements: number;
1266
+ totalPages: number;
1267
+ } | undefined;
1268
+ } | undefined;
1269
+ };
1270
+ meta: object;
1271
+ }>;
1272
+ }>>;
1054
1273
  getActive: import("@trpc/server").TRPCQueryProcedure<{
1055
1274
  input: void;
1056
1275
  output: {
@@ -1 +1 @@
1
- {"version":3,"file":"tournament.router.d.ts","sourceRoot":"/","sources":["modules/tournament/tournament.router.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAa3B,CAAC"}
1
+ {"version":3,"file":"tournament.router.d.ts","sourceRoot":"/","sources":["modules/tournament/tournament.router.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgB3B,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare enum TournamentTag {
2
+ FOOTBALL_WORLD_CUP = "world-cup"
3
+ }
4
+ export declare enum MatchStatus {
5
+ UPCOMING = "upcoming",
6
+ STARTED = "started",
7
+ ENDED = "ended"
8
+ }
9
+ //# sourceMappingURL=tournament.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament.types.d.ts","sourceRoot":"/","sources":["modules/tournament/tournament.types.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,kBAAkB,cAAc;CACnC;AAED,oBAAY,WAAW;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB"}
@@ -0,0 +1,2 @@
1
+ export declare const utcNow: () => Date;
2
+ //# sourceMappingURL=tournament.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament.utils.d.ts","sourceRoot":"/","sources":["modules/tournament/tournament.utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,QAAO,IAA4B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/marketing",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "The Lyxa Marketing microservice",
5
5
  "license": "MIT",
6
6
  "main": "dist/lib/index.js",
@@ -19,7 +19,7 @@
19
19
  "test:watch": "jest --watch"
20
20
  },
21
21
  "dependencies": {
22
- "@lyxa.ai/core": "1.4.139",
22
+ "@lyxa.ai/core": "1.4.141",
23
23
  "@lyxa.ai/notification": "^1.0.7",
24
24
  "@trpc/client": "^11.4.3",
25
25
  "@trpc/server": "^11.4.3",