@ttt-productions/q-core 0.1.47 → 0.1.49
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/doc-schemas/aggregate-stats.d.ts +6 -30
- package/dist/doc-schemas/aggregate-stats.d.ts.map +1 -1
- package/dist/doc-schemas/aggregate-stats.js +7 -5
- package/dist/doc-schemas/aggregate-stats.js.map +1 -1
- package/dist/doc-schemas/audit-event.d.ts +122 -118
- package/dist/doc-schemas/audit-event.d.ts.map +1 -1
- package/dist/doc-schemas/league-team.d.ts +4 -28
- package/dist/doc-schemas/league-team.d.ts.map +1 -1
- package/dist/doc-schemas/league-team.js +8 -8
- package/dist/doc-schemas/league-team.js.map +1 -1
- package/dist/doc-schemas/pending-media.d.ts +710 -130
- package/dist/doc-schemas/pending-media.d.ts.map +1 -1
- package/dist/doc-schemas/registry.d.ts +350 -140
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/domain-events/domain-events.d.ts +330 -76
- package/dist/domain-events/domain-events.d.ts.map +1 -1
- package/dist/domain-events/domain-events.js +185 -79
- package/dist/domain-events/domain-events.js.map +1 -1
- package/dist/migration-console/manifest.d.ts +4 -3
- package/dist/migration-console/manifest.d.ts.map +1 -1
- package/dist/migration-console/manifest.js +7 -6
- package/dist/migration-console/manifest.js.map +1 -1
- package/dist/paths/collections.d.ts +14 -0
- package/dist/paths/collections.d.ts.map +1 -1
- package/dist/paths/collections.js +28 -0
- package/dist/paths/collections.js.map +1 -1
- package/dist/schemas/account-settings.d.ts +4 -4
- package/dist/schemas/account-settings.d.ts.map +1 -1
- package/dist/schemas/account-settings.js +2 -2
- package/dist/schemas/account-settings.js.map +1 -1
- package/dist/schemas/admin-notifications.d.ts +12 -12
- package/dist/schemas/admin-notifications.d.ts.map +1 -1
- package/dist/schemas/admin-notifications.js +8 -6
- package/dist/schemas/admin-notifications.js.map +1 -1
- package/dist/schemas/admin-stats.d.ts +6 -6
- package/dist/schemas/admin-stats.d.ts.map +1 -1
- package/dist/schemas/admin-stats.js +3 -3
- package/dist/schemas/admin-stats.js.map +1 -1
- package/dist/schemas/app-config.d.ts +4 -4
- package/dist/schemas/app-config.d.ts.map +1 -1
- package/dist/schemas/app-config.js +2 -2
- package/dist/schemas/app-config.js.map +1 -1
- package/dist/schemas/awards.d.ts +8 -8
- package/dist/schemas/awards.d.ts.map +1 -1
- package/dist/schemas/awards.js +4 -4
- package/dist/schemas/awards.js.map +1 -1
- package/dist/schemas/dead-letters.d.ts +8 -8
- package/dist/schemas/dead-letters.d.ts.map +1 -1
- package/dist/schemas/dead-letters.js +4 -4
- package/dist/schemas/dead-letters.js.map +1 -1
- package/dist/schemas/hardware-loan-contracts.d.ts +8 -8
- package/dist/schemas/hardware-loan-contracts.d.ts.map +1 -1
- package/dist/schemas/hardware-loan-contracts.js +4 -4
- package/dist/schemas/hardware-loan-contracts.js.map +1 -1
- package/dist/schemas/leagues.d.ts +4 -4
- package/dist/schemas/leagues.d.ts.map +1 -1
- package/dist/schemas/leagues.js +2 -2
- package/dist/schemas/leagues.js.map +1 -1
- package/dist/schemas/migration-console.d.ts +6 -6
- package/dist/schemas/migration-console.d.ts.map +1 -1
- package/dist/schemas/migration-console.js +5 -3
- package/dist/schemas/migration-console.js.map +1 -1
- package/dist/schemas/pictures.d.ts +438 -90
- package/dist/schemas/pictures.d.ts.map +1 -1
- package/dist/schemas/pictures.js +6 -6
- package/dist/schemas/pictures.js.map +1 -1
- package/dist/schemas/scoring.d.ts +16 -16
- package/dist/schemas/scoring.d.ts.map +1 -1
- package/dist/schemas/scoring.js +8 -8
- package/dist/schemas/scoring.js.map +1 -1
- package/dist/schemas/stats.d.ts +26 -26
- package/dist/schemas/stats.d.ts.map +1 -1
- package/dist/schemas/stats.js +13 -13
- package/dist/schemas/stats.js.map +1 -1
- package/dist/schemas/team-joining.d.ts +4 -4
- package/dist/schemas/team-joining.d.ts.map +1 -1
- package/dist/schemas/team-joining.js +2 -2
- package/dist/schemas/team-joining.js.map +1 -1
- package/dist/schemas/teams.d.ts +16 -16
- package/dist/schemas/teams.d.ts.map +1 -1
- package/dist/schemas/teams.js +8 -8
- package/dist/schemas/teams.js.map +1 -1
- package/dist/schemas/uploads.d.ts +12 -12
- package/dist/schemas/uploads.d.ts.map +1 -1
- package/dist/schemas/uploads.js +8 -6
- package/dist/schemas/uploads.js.map +1 -1
- package/dist/schemas/users.d.ts +28 -28
- package/dist/schemas/users.d.ts.map +1 -1
- package/dist/schemas/users.js +14 -14
- package/dist/schemas/users.js.map +1 -1
- package/dist/types/audit.d.ts +1 -1
- package/dist/types/audit.d.ts.map +1 -1
- package/dist/types/audit.js +37 -35
- package/dist/types/audit.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
3
|
-
type: z.ZodLiteral<"
|
|
2
|
+
export declare const SportLeagueCreatedEventSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"sportLeague.created">;
|
|
4
4
|
ids: z.ZodObject<{
|
|
5
5
|
leagueId: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
export declare const
|
|
9
|
-
type: z.ZodLiteral<"
|
|
8
|
+
export declare const SportLeagueUpdatedEventSchema: z.ZodObject<{
|
|
9
|
+
type: z.ZodLiteral<"sportLeague.updated">;
|
|
10
10
|
ids: z.ZodObject<{
|
|
11
11
|
leagueId: z.ZodString;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
|
-
export declare const
|
|
15
|
-
type: z.ZodLiteral<"
|
|
14
|
+
export declare const SportLeagueStatusChangedEventSchema: z.ZodObject<{
|
|
15
|
+
type: z.ZodLiteral<"sportLeague.statusChanged">;
|
|
16
|
+
ids: z.ZodObject<{
|
|
17
|
+
leagueId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export declare const SportLeagueModeSwitchedEventSchema: z.ZodObject<{
|
|
21
|
+
type: z.ZodLiteral<"sportLeague.modeSwitched">;
|
|
16
22
|
ids: z.ZodObject<{
|
|
17
23
|
leagueId: z.ZodString;
|
|
18
24
|
}, z.core.$strip>;
|
|
@@ -22,16 +28,33 @@ export declare const LeagueTeamCreatedEventSchema: z.ZodObject<{
|
|
|
22
28
|
ids: z.ZodObject<{
|
|
23
29
|
leagueId: z.ZodString;
|
|
24
30
|
teamId: z.ZodString;
|
|
31
|
+
userId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export declare const TeamMembershipRoleChangedEventSchema: z.ZodObject<{
|
|
35
|
+
type: z.ZodLiteral<"teamMembership.roleChanged">;
|
|
36
|
+
ids: z.ZodObject<{
|
|
37
|
+
leagueId: z.ZodString;
|
|
38
|
+
teamId: z.ZodString;
|
|
39
|
+
userId: z.ZodString;
|
|
25
40
|
}, z.core.$strip>;
|
|
26
41
|
}, z.core.$strip>;
|
|
27
|
-
export declare const
|
|
28
|
-
type: z.ZodLiteral<"
|
|
42
|
+
export declare const TeamMembershipRemovedEventSchema: z.ZodObject<{
|
|
43
|
+
type: z.ZodLiteral<"teamMembership.removed">;
|
|
29
44
|
ids: z.ZodObject<{
|
|
30
45
|
leagueId: z.ZodString;
|
|
31
46
|
teamId: z.ZodString;
|
|
32
47
|
userId: z.ZodString;
|
|
33
48
|
}, z.core.$strip>;
|
|
34
49
|
}, z.core.$strip>;
|
|
50
|
+
export declare const GhostPlayerCreatedEventSchema: z.ZodObject<{
|
|
51
|
+
type: z.ZodLiteral<"ghostPlayer.created">;
|
|
52
|
+
ids: z.ZodObject<{
|
|
53
|
+
leagueId: z.ZodString;
|
|
54
|
+
teamId: z.ZodString;
|
|
55
|
+
ghostUserId: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
}, z.core.$strip>;
|
|
35
58
|
export declare const SignedWaiverCreatedEventSchema: z.ZodObject<{
|
|
36
59
|
type: z.ZodLiteral<"signedWaiver.created">;
|
|
37
60
|
ids: z.ZodObject<{
|
|
@@ -48,8 +71,8 @@ export declare const GhostPlayerLinkedEventSchema: z.ZodObject<{
|
|
|
48
71
|
realUserId: z.ZodString;
|
|
49
72
|
}, z.core.$strip>;
|
|
50
73
|
}, z.core.$strip>;
|
|
51
|
-
export declare const
|
|
52
|
-
type: z.ZodLiteral<"teamJoinRequest.
|
|
74
|
+
export declare const TeamJoinRequestCreatedEventSchema: z.ZodObject<{
|
|
75
|
+
type: z.ZodLiteral<"teamJoinRequest.created">;
|
|
53
76
|
ids: z.ZodObject<{
|
|
54
77
|
leagueId: z.ZodString;
|
|
55
78
|
teamId: z.ZodString;
|
|
@@ -64,16 +87,24 @@ export declare const TeamJoinRequestCancelledEventSchema: z.ZodObject<{
|
|
|
64
87
|
userId: z.ZodString;
|
|
65
88
|
}, z.core.$strip>;
|
|
66
89
|
}, z.core.$strip>;
|
|
67
|
-
export declare const
|
|
68
|
-
type: z.ZodLiteral<"teamJoinRequest.
|
|
90
|
+
export declare const TeamJoinRequestAcceptedEventSchema: z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"teamJoinRequest.accepted">;
|
|
92
|
+
ids: z.ZodObject<{
|
|
93
|
+
leagueId: z.ZodString;
|
|
94
|
+
teamId: z.ZodString;
|
|
95
|
+
userId: z.ZodString;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
export declare const TeamJoinRequestRejectedEventSchema: z.ZodObject<{
|
|
99
|
+
type: z.ZodLiteral<"teamJoinRequest.rejected">;
|
|
69
100
|
ids: z.ZodObject<{
|
|
70
101
|
leagueId: z.ZodString;
|
|
71
102
|
teamId: z.ZodString;
|
|
72
103
|
userId: z.ZodString;
|
|
73
104
|
}, z.core.$strip>;
|
|
74
105
|
}, z.core.$strip>;
|
|
75
|
-
export declare const
|
|
76
|
-
type: z.ZodLiteral<"teamInvitation.
|
|
106
|
+
export declare const TeamInvitationCreatedEventSchema: z.ZodObject<{
|
|
107
|
+
type: z.ZodLiteral<"teamInvitation.created">;
|
|
77
108
|
ids: z.ZodObject<{
|
|
78
109
|
leagueId: z.ZodString;
|
|
79
110
|
teamId: z.ZodString;
|
|
@@ -88,25 +119,41 @@ export declare const TeamInvitationCancelledEventSchema: z.ZodObject<{
|
|
|
88
119
|
userId: z.ZodString;
|
|
89
120
|
}, z.core.$strip>;
|
|
90
121
|
}, z.core.$strip>;
|
|
91
|
-
export declare const
|
|
92
|
-
type: z.ZodLiteral<"teamInvitation.
|
|
122
|
+
export declare const TeamInvitationAcceptedEventSchema: z.ZodObject<{
|
|
123
|
+
type: z.ZodLiteral<"teamInvitation.accepted">;
|
|
124
|
+
ids: z.ZodObject<{
|
|
125
|
+
leagueId: z.ZodString;
|
|
126
|
+
teamId: z.ZodString;
|
|
127
|
+
userId: z.ZodString;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
export declare const TeamInvitationRejectedEventSchema: z.ZodObject<{
|
|
131
|
+
type: z.ZodLiteral<"teamInvitation.rejected">;
|
|
93
132
|
ids: z.ZodObject<{
|
|
94
133
|
leagueId: z.ZodString;
|
|
95
134
|
teamId: z.ZodString;
|
|
96
135
|
userId: z.ZodString;
|
|
97
136
|
}, z.core.$strip>;
|
|
98
137
|
}, z.core.$strip>;
|
|
99
|
-
export declare const
|
|
100
|
-
type: z.ZodLiteral<"leagueFreeAgent.
|
|
138
|
+
export declare const LeagueFreeAgentCreatedEventSchema: z.ZodObject<{
|
|
139
|
+
type: z.ZodLiteral<"leagueFreeAgent.created">;
|
|
140
|
+
ids: z.ZodObject<{
|
|
141
|
+
leagueId: z.ZodString;
|
|
142
|
+
userId: z.ZodString;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
export declare const LeagueFreeAgentDeletedEventSchema: z.ZodObject<{
|
|
146
|
+
type: z.ZodLiteral<"leagueFreeAgent.deleted">;
|
|
101
147
|
ids: z.ZodObject<{
|
|
102
148
|
leagueId: z.ZodString;
|
|
103
149
|
userId: z.ZodString;
|
|
104
150
|
}, z.core.$strip>;
|
|
105
151
|
}, z.core.$strip>;
|
|
106
|
-
export declare const
|
|
107
|
-
type: z.ZodLiteral<"leagueFreeAgent.
|
|
152
|
+
export declare const LeagueFreeAgentAssignedEventSchema: z.ZodObject<{
|
|
153
|
+
type: z.ZodLiteral<"leagueFreeAgent.assigned">;
|
|
108
154
|
ids: z.ZodObject<{
|
|
109
155
|
leagueId: z.ZodString;
|
|
156
|
+
teamId: z.ZodString;
|
|
110
157
|
userId: z.ZodString;
|
|
111
158
|
}, z.core.$strip>;
|
|
112
159
|
}, z.core.$strip>;
|
|
@@ -152,10 +199,29 @@ export declare const SportGameJumpBallChangedEventSchema: z.ZodObject<{
|
|
|
152
199
|
gameId: z.ZodString;
|
|
153
200
|
}, z.core.$strip>;
|
|
154
201
|
}, z.core.$strip>;
|
|
155
|
-
export declare const
|
|
156
|
-
type: z.ZodLiteral<"
|
|
202
|
+
export declare const ScheduleWeekCreatedEventSchema: z.ZodObject<{
|
|
203
|
+
type: z.ZodLiteral<"scheduleWeek.created">;
|
|
204
|
+
ids: z.ZodObject<{
|
|
205
|
+
leagueId: z.ZodString;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
export declare const ScheduleWeekUpdatedEventSchema: z.ZodObject<{
|
|
209
|
+
type: z.ZodLiteral<"scheduleWeek.updated">;
|
|
210
|
+
ids: z.ZodObject<{
|
|
211
|
+
leagueId: z.ZodString;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
export declare const ScheduleWeekDeletedEventSchema: z.ZodObject<{
|
|
215
|
+
type: z.ZodLiteral<"scheduleWeek.deleted">;
|
|
216
|
+
ids: z.ZodObject<{
|
|
217
|
+
leagueId: z.ZodString;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
export declare const SportGameCreatedEventSchema: z.ZodObject<{
|
|
221
|
+
type: z.ZodLiteral<"sportGame.created">;
|
|
157
222
|
ids: z.ZodObject<{
|
|
158
223
|
leagueId: z.ZodString;
|
|
224
|
+
gameId: z.ZodString;
|
|
159
225
|
}, z.core.$strip>;
|
|
160
226
|
}, z.core.$strip>;
|
|
161
227
|
export declare const SportGameUpdatedEventSchema: z.ZodObject<{
|
|
@@ -172,11 +238,21 @@ export declare const SportGameDeletedEventSchema: z.ZodObject<{
|
|
|
172
238
|
gameId: z.ZodString;
|
|
173
239
|
}, z.core.$strip>;
|
|
174
240
|
}, z.core.$strip>;
|
|
175
|
-
export declare const
|
|
176
|
-
type: z.ZodLiteral<"
|
|
241
|
+
export declare const SportLeagueStatsRecalculatedEventSchema: z.ZodObject<{
|
|
242
|
+
type: z.ZodLiteral<"sportLeague.statsRecalculated">;
|
|
177
243
|
ids: z.ZodObject<{
|
|
178
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
179
244
|
leagueId: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
export declare const UserProfileStatsRecalculatedEventSchema: z.ZodObject<{
|
|
248
|
+
type: z.ZodLiteral<"userProfile.statsRecalculated">;
|
|
249
|
+
ids: z.ZodObject<{
|
|
250
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
export declare const SportHallOfFameRecalculatedEventSchema: z.ZodObject<{
|
|
254
|
+
type: z.ZodLiteral<"sportHallOfFame.recalculated">;
|
|
255
|
+
ids: z.ZodObject<{
|
|
180
256
|
sportKey: z.ZodOptional<z.ZodEnum<{
|
|
181
257
|
basketball: "basketball";
|
|
182
258
|
curling: "curling";
|
|
@@ -191,26 +267,32 @@ export declare const SportGameStatsCorrectedEventSchema: z.ZodObject<{
|
|
|
191
267
|
gameId: z.ZodString;
|
|
192
268
|
}, z.core.$strip>;
|
|
193
269
|
}, z.core.$strip>;
|
|
194
|
-
export declare const
|
|
195
|
-
type: z.ZodLiteral<"
|
|
270
|
+
export declare const StatsValidationReportCreatedEventSchema: z.ZodObject<{
|
|
271
|
+
type: z.ZodLiteral<"statsValidationReport.created">;
|
|
196
272
|
ids: z.ZodObject<{
|
|
197
273
|
reportId: z.ZodString;
|
|
198
274
|
}, z.core.$strip>;
|
|
199
275
|
}, z.core.$strip>;
|
|
200
276
|
export declare const StatsValidationReportDeletedEventSchema: z.ZodObject<{
|
|
201
|
-
type: z.ZodLiteral<"
|
|
277
|
+
type: z.ZodLiteral<"statsValidationReport.deleted">;
|
|
202
278
|
ids: z.ZodObject<{
|
|
203
279
|
reportId: z.ZodString;
|
|
204
280
|
}, z.core.$strip>;
|
|
205
281
|
}, z.core.$strip>;
|
|
206
|
-
export declare const
|
|
207
|
-
type: z.ZodLiteral<"
|
|
282
|
+
export declare const HistoricalStatUpdatedEventSchema: z.ZodObject<{
|
|
283
|
+
type: z.ZodLiteral<"historicalStat.updated">;
|
|
284
|
+
ids: z.ZodObject<{
|
|
285
|
+
userId: z.ZodString;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
export declare const UserProfileBannedEventSchema: z.ZodObject<{
|
|
289
|
+
type: z.ZodLiteral<"userProfile.banned">;
|
|
208
290
|
ids: z.ZodObject<{
|
|
209
291
|
userId: z.ZodString;
|
|
210
292
|
}, z.core.$strip>;
|
|
211
293
|
}, z.core.$strip>;
|
|
212
|
-
export declare const
|
|
213
|
-
type: z.ZodLiteral<"
|
|
294
|
+
export declare const UserProfileUnbannedEventSchema: z.ZodObject<{
|
|
295
|
+
type: z.ZodLiteral<"userProfile.unbanned">;
|
|
214
296
|
ids: z.ZodObject<{
|
|
215
297
|
userId: z.ZodString;
|
|
216
298
|
}, z.core.$strip>;
|
|
@@ -221,8 +303,8 @@ export declare const AwardDefinitionCreatedEventSchema: z.ZodObject<{
|
|
|
221
303
|
awardId: z.ZodString;
|
|
222
304
|
}, z.core.$strip>;
|
|
223
305
|
}, z.core.$strip>;
|
|
224
|
-
export declare const
|
|
225
|
-
type: z.ZodLiteral<"awardDefinition.
|
|
306
|
+
export declare const AwardDefinitionBadgeReplacedEventSchema: z.ZodObject<{
|
|
307
|
+
type: z.ZodLiteral<"awardDefinition.badgeReplaced">;
|
|
226
308
|
ids: z.ZodObject<{
|
|
227
309
|
awardId: z.ZodString;
|
|
228
310
|
}, z.core.$strip>;
|
|
@@ -233,33 +315,60 @@ export declare const AwardDefinitionDeletedEventSchema: z.ZodObject<{
|
|
|
233
315
|
awardId: z.ZodString;
|
|
234
316
|
}, z.core.$strip>;
|
|
235
317
|
}, z.core.$strip>;
|
|
236
|
-
export declare const
|
|
237
|
-
type: z.ZodLiteral<"
|
|
318
|
+
export declare const AwardDefinitionGrantedEventSchema: z.ZodObject<{
|
|
319
|
+
type: z.ZodLiteral<"awardDefinition.granted">;
|
|
238
320
|
ids: z.ZodObject<{
|
|
239
321
|
awardId: z.ZodString;
|
|
240
322
|
}, z.core.$strip>;
|
|
241
323
|
}, z.core.$strip>;
|
|
242
|
-
export declare const
|
|
243
|
-
type: z.ZodLiteral<"
|
|
324
|
+
export declare const AwardDefinitionRevokedEventSchema: z.ZodObject<{
|
|
325
|
+
type: z.ZodLiteral<"awardDefinition.revoked">;
|
|
326
|
+
ids: z.ZodObject<{
|
|
327
|
+
awardId: z.ZodString;
|
|
328
|
+
}, z.core.$strip>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
export declare const UserProfileFeaturedAwardsChangedEventSchema: z.ZodObject<{
|
|
331
|
+
type: z.ZodLiteral<"userProfile.featuredAwardsChanged">;
|
|
244
332
|
ids: z.ZodObject<{
|
|
245
333
|
userId: z.ZodString;
|
|
246
334
|
}, z.core.$strip>;
|
|
247
335
|
}, z.core.$strip>;
|
|
248
|
-
export declare const
|
|
249
|
-
type: z.ZodLiteral<"hardwareLoanContract.
|
|
336
|
+
export declare const HardwareLoanContractCreatedEventSchema: z.ZodObject<{
|
|
337
|
+
type: z.ZodLiteral<"hardwareLoanContract.created">;
|
|
338
|
+
ids: z.ZodObject<{
|
|
339
|
+
contractId: z.ZodString;
|
|
340
|
+
refereeUserId: z.ZodString;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
export declare const HardwareLoanContractSignedEventSchema: z.ZodObject<{
|
|
344
|
+
type: z.ZodLiteral<"hardwareLoanContract.signed">;
|
|
345
|
+
ids: z.ZodObject<{
|
|
346
|
+
contractId: z.ZodString;
|
|
347
|
+
refereeUserId: z.ZodString;
|
|
348
|
+
}, z.core.$strip>;
|
|
349
|
+
}, z.core.$strip>;
|
|
350
|
+
export declare const HardwareLoanContractReturnedEventSchema: z.ZodObject<{
|
|
351
|
+
type: z.ZodLiteral<"hardwareLoanContract.returned">;
|
|
352
|
+
ids: z.ZodObject<{
|
|
353
|
+
contractId: z.ZodString;
|
|
354
|
+
refereeUserId: z.ZodString;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
}, z.core.$strip>;
|
|
357
|
+
export declare const HardwareLoanContractDeletedEventSchema: z.ZodObject<{
|
|
358
|
+
type: z.ZodLiteral<"hardwareLoanContract.deleted">;
|
|
250
359
|
ids: z.ZodObject<{
|
|
251
360
|
contractId: z.ZodString;
|
|
252
361
|
refereeUserId: z.ZodString;
|
|
253
362
|
}, z.core.$strip>;
|
|
254
363
|
}, z.core.$strip>;
|
|
255
|
-
export declare const
|
|
256
|
-
type: z.ZodLiteral<"
|
|
364
|
+
export declare const UserProfileRegisteredEventSchema: z.ZodObject<{
|
|
365
|
+
type: z.ZodLiteral<"userProfile.registered">;
|
|
257
366
|
ids: z.ZodObject<{
|
|
258
367
|
userId: z.ZodString;
|
|
259
368
|
}, z.core.$strip>;
|
|
260
369
|
}, z.core.$strip>;
|
|
261
|
-
export declare const
|
|
262
|
-
type: z.ZodLiteral<"
|
|
370
|
+
export declare const UserProfileDisplayNameChangedEventSchema: z.ZodObject<{
|
|
371
|
+
type: z.ZodLiteral<"userProfile.displayNameChanged">;
|
|
263
372
|
ids: z.ZodObject<{
|
|
264
373
|
userId: z.ZodString;
|
|
265
374
|
}, z.core.$strip>;
|
|
@@ -274,8 +383,14 @@ export declare const WaiverTemplateCreatedEventSchema: z.ZodObject<{
|
|
|
274
383
|
waiverTemplateId: z.ZodString;
|
|
275
384
|
}, z.core.$strip>;
|
|
276
385
|
}, z.core.$strip>;
|
|
277
|
-
export declare const
|
|
278
|
-
type: z.ZodLiteral<"waiverTemplate.
|
|
386
|
+
export declare const WaiverTemplateVersionPublishedEventSchema: z.ZodObject<{
|
|
387
|
+
type: z.ZodLiteral<"waiverTemplate.versionPublished">;
|
|
388
|
+
ids: z.ZodObject<{
|
|
389
|
+
waiverTemplateId: z.ZodString;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
}, z.core.$strip>;
|
|
392
|
+
export declare const WaiverTemplateRetiredEventSchema: z.ZodObject<{
|
|
393
|
+
type: z.ZodLiteral<"waiverTemplate.retired">;
|
|
279
394
|
ids: z.ZodObject<{
|
|
280
395
|
waiverTemplateId: z.ZodString;
|
|
281
396
|
}, z.core.$strip>;
|
|
@@ -311,6 +426,13 @@ export declare const LeagueTeamUpdatedEventSchema: z.ZodObject<{
|
|
|
311
426
|
teamId: z.ZodString;
|
|
312
427
|
}, z.core.$strip>;
|
|
313
428
|
}, z.core.$strip>;
|
|
429
|
+
export declare const LeagueTeamCaptainChangedEventSchema: z.ZodObject<{
|
|
430
|
+
type: z.ZodLiteral<"leagueTeam.captainChanged">;
|
|
431
|
+
ids: z.ZodObject<{
|
|
432
|
+
leagueId: z.ZodString;
|
|
433
|
+
teamId: z.ZodString;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
}, z.core.$strip>;
|
|
314
436
|
export declare const LeagueTeamDeletedEventSchema: z.ZodObject<{
|
|
315
437
|
type: z.ZodLiteral<"leagueTeam.deleted">;
|
|
316
438
|
ids: z.ZodObject<{
|
|
@@ -318,8 +440,8 @@ export declare const LeagueTeamDeletedEventSchema: z.ZodObject<{
|
|
|
318
440
|
teamId: z.ZodString;
|
|
319
441
|
}, z.core.$strip>;
|
|
320
442
|
}, z.core.$strip>;
|
|
321
|
-
export declare const
|
|
322
|
-
type: z.ZodLiteral<"ghostPlayer.
|
|
443
|
+
export declare const GhostPlayerRemovedEventSchema: z.ZodObject<{
|
|
444
|
+
type: z.ZodLiteral<"ghostPlayer.removed">;
|
|
323
445
|
ids: z.ZodObject<{
|
|
324
446
|
leagueId: z.ZodString;
|
|
325
447
|
teamId: z.ZodString;
|
|
@@ -355,22 +477,43 @@ export declare const DeadLetterReplayedEventSchema: z.ZodObject<{
|
|
|
355
477
|
type: z.ZodLiteral<"deadLetter.replayed">;
|
|
356
478
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
357
479
|
}, z.core.$strip>;
|
|
358
|
-
export declare const
|
|
359
|
-
type: z.ZodLiteral<"
|
|
480
|
+
export declare const MigrationActionRunPageRunEventSchema: z.ZodObject<{
|
|
481
|
+
type: z.ZodLiteral<"migrationActionRun.pageRun">;
|
|
482
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
export declare const MigrationActionRunControlRecordedEventSchema: z.ZodObject<{
|
|
485
|
+
type: z.ZodLiteral<"migrationActionRun.controlRecorded">;
|
|
486
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
export declare const MigrationActionRunCheckpointRecordedEventSchema: z.ZodObject<{
|
|
489
|
+
type: z.ZodLiteral<"migrationActionRun.checkpointRecorded">;
|
|
490
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
491
|
+
}, z.core.$strip>;
|
|
492
|
+
export declare const MigrationConsoleCutoverRecordedEventSchema: z.ZodObject<{
|
|
493
|
+
type: z.ZodLiteral<"migrationConsole.cutoverRecorded">;
|
|
494
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
495
|
+
}, z.core.$strip>;
|
|
496
|
+
export declare const GameRosterPlayerStatLineResolvedEventSchema: z.ZodObject<{
|
|
497
|
+
type: z.ZodLiteral<"gameRosterPlayer.statLineResolved">;
|
|
360
498
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
361
499
|
}, z.core.$strip>;
|
|
362
500
|
export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
363
|
-
type: z.ZodLiteral<"
|
|
501
|
+
type: z.ZodLiteral<"sportLeague.created">;
|
|
364
502
|
ids: z.ZodObject<{
|
|
365
503
|
leagueId: z.ZodString;
|
|
366
504
|
}, z.core.$strip>;
|
|
367
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
-
type: z.ZodLiteral<"
|
|
506
|
+
type: z.ZodLiteral<"sportLeague.updated">;
|
|
369
507
|
ids: z.ZodObject<{
|
|
370
508
|
leagueId: z.ZodString;
|
|
371
509
|
}, z.core.$strip>;
|
|
372
510
|
}, z.core.$strip>, z.ZodObject<{
|
|
373
|
-
type: z.ZodLiteral<"
|
|
511
|
+
type: z.ZodLiteral<"sportLeague.statusChanged">;
|
|
512
|
+
ids: z.ZodObject<{
|
|
513
|
+
leagueId: z.ZodString;
|
|
514
|
+
}, z.core.$strip>;
|
|
515
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
516
|
+
type: z.ZodLiteral<"sportLeague.modeSwitched">;
|
|
374
517
|
ids: z.ZodObject<{
|
|
375
518
|
leagueId: z.ZodString;
|
|
376
519
|
}, z.core.$strip>;
|
|
@@ -379,14 +522,29 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
379
522
|
ids: z.ZodObject<{
|
|
380
523
|
leagueId: z.ZodString;
|
|
381
524
|
teamId: z.ZodString;
|
|
525
|
+
userId: z.ZodString;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
528
|
+
type: z.ZodLiteral<"teamMembership.roleChanged">;
|
|
529
|
+
ids: z.ZodObject<{
|
|
530
|
+
leagueId: z.ZodString;
|
|
531
|
+
teamId: z.ZodString;
|
|
532
|
+
userId: z.ZodString;
|
|
382
533
|
}, z.core.$strip>;
|
|
383
534
|
}, z.core.$strip>, z.ZodObject<{
|
|
384
|
-
type: z.ZodLiteral<"
|
|
535
|
+
type: z.ZodLiteral<"teamMembership.removed">;
|
|
385
536
|
ids: z.ZodObject<{
|
|
386
537
|
leagueId: z.ZodString;
|
|
387
538
|
teamId: z.ZodString;
|
|
388
539
|
userId: z.ZodString;
|
|
389
540
|
}, z.core.$strip>;
|
|
541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
542
|
+
type: z.ZodLiteral<"ghostPlayer.created">;
|
|
543
|
+
ids: z.ZodObject<{
|
|
544
|
+
leagueId: z.ZodString;
|
|
545
|
+
teamId: z.ZodString;
|
|
546
|
+
ghostUserId: z.ZodString;
|
|
547
|
+
}, z.core.$strip>;
|
|
390
548
|
}, z.core.$strip>, z.ZodObject<{
|
|
391
549
|
type: z.ZodLiteral<"signedWaiver.created">;
|
|
392
550
|
ids: z.ZodObject<{
|
|
@@ -402,7 +560,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
402
560
|
realUserId: z.ZodString;
|
|
403
561
|
}, z.core.$strip>;
|
|
404
562
|
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
-
type: z.ZodLiteral<"teamJoinRequest.
|
|
563
|
+
type: z.ZodLiteral<"teamJoinRequest.created">;
|
|
406
564
|
ids: z.ZodObject<{
|
|
407
565
|
leagueId: z.ZodString;
|
|
408
566
|
teamId: z.ZodString;
|
|
@@ -416,14 +574,21 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
416
574
|
userId: z.ZodString;
|
|
417
575
|
}, z.core.$strip>;
|
|
418
576
|
}, z.core.$strip>, z.ZodObject<{
|
|
419
|
-
type: z.ZodLiteral<"teamJoinRequest.
|
|
577
|
+
type: z.ZodLiteral<"teamJoinRequest.accepted">;
|
|
578
|
+
ids: z.ZodObject<{
|
|
579
|
+
leagueId: z.ZodString;
|
|
580
|
+
teamId: z.ZodString;
|
|
581
|
+
userId: z.ZodString;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
584
|
+
type: z.ZodLiteral<"teamJoinRequest.rejected">;
|
|
420
585
|
ids: z.ZodObject<{
|
|
421
586
|
leagueId: z.ZodString;
|
|
422
587
|
teamId: z.ZodString;
|
|
423
588
|
userId: z.ZodString;
|
|
424
589
|
}, z.core.$strip>;
|
|
425
590
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
-
type: z.ZodLiteral<"teamInvitation.
|
|
591
|
+
type: z.ZodLiteral<"teamInvitation.created">;
|
|
427
592
|
ids: z.ZodObject<{
|
|
428
593
|
leagueId: z.ZodString;
|
|
429
594
|
teamId: z.ZodString;
|
|
@@ -437,22 +602,36 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
437
602
|
userId: z.ZodString;
|
|
438
603
|
}, z.core.$strip>;
|
|
439
604
|
}, z.core.$strip>, z.ZodObject<{
|
|
440
|
-
type: z.ZodLiteral<"teamInvitation.
|
|
605
|
+
type: z.ZodLiteral<"teamInvitation.accepted">;
|
|
606
|
+
ids: z.ZodObject<{
|
|
607
|
+
leagueId: z.ZodString;
|
|
608
|
+
teamId: z.ZodString;
|
|
609
|
+
userId: z.ZodString;
|
|
610
|
+
}, z.core.$strip>;
|
|
611
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
612
|
+
type: z.ZodLiteral<"teamInvitation.rejected">;
|
|
441
613
|
ids: z.ZodObject<{
|
|
442
614
|
leagueId: z.ZodString;
|
|
443
615
|
teamId: z.ZodString;
|
|
444
616
|
userId: z.ZodString;
|
|
445
617
|
}, z.core.$strip>;
|
|
446
618
|
}, z.core.$strip>, z.ZodObject<{
|
|
447
|
-
type: z.ZodLiteral<"leagueFreeAgent.
|
|
619
|
+
type: z.ZodLiteral<"leagueFreeAgent.created">;
|
|
620
|
+
ids: z.ZodObject<{
|
|
621
|
+
leagueId: z.ZodString;
|
|
622
|
+
userId: z.ZodString;
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
625
|
+
type: z.ZodLiteral<"leagueFreeAgent.deleted">;
|
|
448
626
|
ids: z.ZodObject<{
|
|
449
627
|
leagueId: z.ZodString;
|
|
450
628
|
userId: z.ZodString;
|
|
451
629
|
}, z.core.$strip>;
|
|
452
630
|
}, z.core.$strip>, z.ZodObject<{
|
|
453
|
-
type: z.ZodLiteral<"leagueFreeAgent.
|
|
631
|
+
type: z.ZodLiteral<"leagueFreeAgent.assigned">;
|
|
454
632
|
ids: z.ZodObject<{
|
|
455
633
|
leagueId: z.ZodString;
|
|
634
|
+
teamId: z.ZodString;
|
|
456
635
|
userId: z.ZodString;
|
|
457
636
|
}, z.core.$strip>;
|
|
458
637
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -492,9 +671,25 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
492
671
|
gameId: z.ZodString;
|
|
493
672
|
}, z.core.$strip>;
|
|
494
673
|
}, z.core.$strip>, z.ZodObject<{
|
|
495
|
-
type: z.ZodLiteral<"
|
|
674
|
+
type: z.ZodLiteral<"scheduleWeek.created">;
|
|
675
|
+
ids: z.ZodObject<{
|
|
676
|
+
leagueId: z.ZodString;
|
|
677
|
+
}, z.core.$strip>;
|
|
678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
679
|
+
type: z.ZodLiteral<"scheduleWeek.updated">;
|
|
680
|
+
ids: z.ZodObject<{
|
|
681
|
+
leagueId: z.ZodString;
|
|
682
|
+
}, z.core.$strip>;
|
|
683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
684
|
+
type: z.ZodLiteral<"scheduleWeek.deleted">;
|
|
685
|
+
ids: z.ZodObject<{
|
|
686
|
+
leagueId: z.ZodString;
|
|
687
|
+
}, z.core.$strip>;
|
|
688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
689
|
+
type: z.ZodLiteral<"sportGame.created">;
|
|
496
690
|
ids: z.ZodObject<{
|
|
497
691
|
leagueId: z.ZodString;
|
|
692
|
+
gameId: z.ZodString;
|
|
498
693
|
}, z.core.$strip>;
|
|
499
694
|
}, z.core.$strip>, z.ZodObject<{
|
|
500
695
|
type: z.ZodLiteral<"sportGame.updated">;
|
|
@@ -509,10 +704,18 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
509
704
|
gameId: z.ZodString;
|
|
510
705
|
}, z.core.$strip>;
|
|
511
706
|
}, z.core.$strip>, z.ZodObject<{
|
|
512
|
-
type: z.ZodLiteral<"
|
|
707
|
+
type: z.ZodLiteral<"sportLeague.statsRecalculated">;
|
|
513
708
|
ids: z.ZodObject<{
|
|
514
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
515
709
|
leagueId: z.ZodOptional<z.ZodString>;
|
|
710
|
+
}, z.core.$strip>;
|
|
711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
712
|
+
type: z.ZodLiteral<"userProfile.statsRecalculated">;
|
|
713
|
+
ids: z.ZodObject<{
|
|
714
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
715
|
+
}, z.core.$strip>;
|
|
716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
717
|
+
type: z.ZodLiteral<"sportHallOfFame.recalculated">;
|
|
718
|
+
ids: z.ZodObject<{
|
|
516
719
|
sportKey: z.ZodOptional<z.ZodEnum<{
|
|
517
720
|
basketball: "basketball";
|
|
518
721
|
curling: "curling";
|
|
@@ -526,22 +729,27 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
526
729
|
gameId: z.ZodString;
|
|
527
730
|
}, z.core.$strip>;
|
|
528
731
|
}, z.core.$strip>, z.ZodObject<{
|
|
529
|
-
type: z.ZodLiteral<"
|
|
732
|
+
type: z.ZodLiteral<"statsValidationReport.created">;
|
|
530
733
|
ids: z.ZodObject<{
|
|
531
734
|
reportId: z.ZodString;
|
|
532
735
|
}, z.core.$strip>;
|
|
533
736
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
-
type: z.ZodLiteral<"
|
|
737
|
+
type: z.ZodLiteral<"statsValidationReport.deleted">;
|
|
535
738
|
ids: z.ZodObject<{
|
|
536
739
|
reportId: z.ZodString;
|
|
537
740
|
}, z.core.$strip>;
|
|
538
741
|
}, z.core.$strip>, z.ZodObject<{
|
|
539
|
-
type: z.ZodLiteral<"
|
|
742
|
+
type: z.ZodLiteral<"historicalStat.updated">;
|
|
743
|
+
ids: z.ZodObject<{
|
|
744
|
+
userId: z.ZodString;
|
|
745
|
+
}, z.core.$strip>;
|
|
746
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
747
|
+
type: z.ZodLiteral<"userProfile.banned">;
|
|
540
748
|
ids: z.ZodObject<{
|
|
541
749
|
userId: z.ZodString;
|
|
542
750
|
}, z.core.$strip>;
|
|
543
751
|
}, z.core.$strip>, z.ZodObject<{
|
|
544
|
-
type: z.ZodLiteral<"
|
|
752
|
+
type: z.ZodLiteral<"userProfile.unbanned">;
|
|
545
753
|
ids: z.ZodObject<{
|
|
546
754
|
userId: z.ZodString;
|
|
547
755
|
}, z.core.$strip>;
|
|
@@ -551,7 +759,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
551
759
|
awardId: z.ZodString;
|
|
552
760
|
}, z.core.$strip>;
|
|
553
761
|
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
-
type: z.ZodLiteral<"awardDefinition.
|
|
762
|
+
type: z.ZodLiteral<"awardDefinition.badgeReplaced">;
|
|
555
763
|
ids: z.ZodObject<{
|
|
556
764
|
awardId: z.ZodString;
|
|
557
765
|
}, z.core.$strip>;
|
|
@@ -561,28 +769,51 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
561
769
|
awardId: z.ZodString;
|
|
562
770
|
}, z.core.$strip>;
|
|
563
771
|
}, z.core.$strip>, z.ZodObject<{
|
|
564
|
-
type: z.ZodLiteral<"
|
|
772
|
+
type: z.ZodLiteral<"awardDefinition.granted">;
|
|
565
773
|
ids: z.ZodObject<{
|
|
566
774
|
awardId: z.ZodString;
|
|
567
775
|
}, z.core.$strip>;
|
|
568
776
|
}, z.core.$strip>, z.ZodObject<{
|
|
569
|
-
type: z.ZodLiteral<"
|
|
777
|
+
type: z.ZodLiteral<"awardDefinition.revoked">;
|
|
778
|
+
ids: z.ZodObject<{
|
|
779
|
+
awardId: z.ZodString;
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
782
|
+
type: z.ZodLiteral<"userProfile.featuredAwardsChanged">;
|
|
570
783
|
ids: z.ZodObject<{
|
|
571
784
|
userId: z.ZodString;
|
|
572
785
|
}, z.core.$strip>;
|
|
573
786
|
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
-
type: z.ZodLiteral<"hardwareLoanContract.
|
|
787
|
+
type: z.ZodLiteral<"hardwareLoanContract.created">;
|
|
788
|
+
ids: z.ZodObject<{
|
|
789
|
+
contractId: z.ZodString;
|
|
790
|
+
refereeUserId: z.ZodString;
|
|
791
|
+
}, z.core.$strip>;
|
|
792
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
793
|
+
type: z.ZodLiteral<"hardwareLoanContract.signed">;
|
|
794
|
+
ids: z.ZodObject<{
|
|
795
|
+
contractId: z.ZodString;
|
|
796
|
+
refereeUserId: z.ZodString;
|
|
797
|
+
}, z.core.$strip>;
|
|
798
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
799
|
+
type: z.ZodLiteral<"hardwareLoanContract.returned">;
|
|
800
|
+
ids: z.ZodObject<{
|
|
801
|
+
contractId: z.ZodString;
|
|
802
|
+
refereeUserId: z.ZodString;
|
|
803
|
+
}, z.core.$strip>;
|
|
804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
805
|
+
type: z.ZodLiteral<"hardwareLoanContract.deleted">;
|
|
575
806
|
ids: z.ZodObject<{
|
|
576
807
|
contractId: z.ZodString;
|
|
577
808
|
refereeUserId: z.ZodString;
|
|
578
809
|
}, z.core.$strip>;
|
|
579
810
|
}, z.core.$strip>, z.ZodObject<{
|
|
580
|
-
type: z.ZodLiteral<"
|
|
811
|
+
type: z.ZodLiteral<"userProfile.registered">;
|
|
581
812
|
ids: z.ZodObject<{
|
|
582
813
|
userId: z.ZodString;
|
|
583
814
|
}, z.core.$strip>;
|
|
584
815
|
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
-
type: z.ZodLiteral<"
|
|
816
|
+
type: z.ZodLiteral<"userProfile.displayNameChanged">;
|
|
586
817
|
ids: z.ZodObject<{
|
|
587
818
|
userId: z.ZodString;
|
|
588
819
|
}, z.core.$strip>;
|
|
@@ -595,7 +826,12 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
595
826
|
waiverTemplateId: z.ZodString;
|
|
596
827
|
}, z.core.$strip>;
|
|
597
828
|
}, z.core.$strip>, z.ZodObject<{
|
|
598
|
-
type: z.ZodLiteral<"waiverTemplate.
|
|
829
|
+
type: z.ZodLiteral<"waiverTemplate.versionPublished">;
|
|
830
|
+
ids: z.ZodObject<{
|
|
831
|
+
waiverTemplateId: z.ZodString;
|
|
832
|
+
}, z.core.$strip>;
|
|
833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
834
|
+
type: z.ZodLiteral<"waiverTemplate.retired">;
|
|
599
835
|
ids: z.ZodObject<{
|
|
600
836
|
waiverTemplateId: z.ZodString;
|
|
601
837
|
}, z.core.$strip>;
|
|
@@ -625,6 +861,12 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
625
861
|
leagueId: z.ZodString;
|
|
626
862
|
teamId: z.ZodString;
|
|
627
863
|
}, z.core.$strip>;
|
|
864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
865
|
+
type: z.ZodLiteral<"leagueTeam.captainChanged">;
|
|
866
|
+
ids: z.ZodObject<{
|
|
867
|
+
leagueId: z.ZodString;
|
|
868
|
+
teamId: z.ZodString;
|
|
869
|
+
}, z.core.$strip>;
|
|
628
870
|
}, z.core.$strip>, z.ZodObject<{
|
|
629
871
|
type: z.ZodLiteral<"leagueTeam.deleted">;
|
|
630
872
|
ids: z.ZodObject<{
|
|
@@ -632,7 +874,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
632
874
|
teamId: z.ZodString;
|
|
633
875
|
}, z.core.$strip>;
|
|
634
876
|
}, z.core.$strip>, z.ZodObject<{
|
|
635
|
-
type: z.ZodLiteral<"ghostPlayer.
|
|
877
|
+
type: z.ZodLiteral<"ghostPlayer.removed">;
|
|
636
878
|
ids: z.ZodObject<{
|
|
637
879
|
leagueId: z.ZodString;
|
|
638
880
|
teamId: z.ZodString;
|
|
@@ -664,7 +906,19 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
664
906
|
type: z.ZodLiteral<"deadLetter.replayed">;
|
|
665
907
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
666
908
|
}, z.core.$strip>, z.ZodObject<{
|
|
667
|
-
type: z.ZodLiteral<"
|
|
909
|
+
type: z.ZodLiteral<"migrationActionRun.pageRun">;
|
|
910
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
911
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
912
|
+
type: z.ZodLiteral<"migrationActionRun.controlRecorded">;
|
|
913
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
914
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
915
|
+
type: z.ZodLiteral<"migrationActionRun.checkpointRecorded">;
|
|
916
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
917
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
918
|
+
type: z.ZodLiteral<"migrationConsole.cutoverRecorded">;
|
|
919
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
920
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
921
|
+
type: z.ZodLiteral<"gameRosterPlayer.statLineResolved">;
|
|
668
922
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
669
923
|
}, z.core.$strip>], "type">;
|
|
670
924
|
export type DomainEvent = z.infer<typeof DomainEventSchema>;
|