@ttt-productions/q-core 0.1.48 → 0.1.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/constants/sports.d.ts +0 -13
- package/dist/constants/sports.d.ts.map +1 -1
- package/dist/constants/sports.js +0 -13
- package/dist/constants/sports.js.map +1 -1
- package/dist/constants/text-fields.d.ts +0 -6
- package/dist/constants/text-fields.d.ts.map +1 -1
- package/dist/constants/text-fields.js +0 -6
- package/dist/constants/text-fields.js.map +1 -1
- package/dist/doc-schemas/admin-notifications.d.ts +1 -1
- package/dist/doc-schemas/atoms.d.ts.map +1 -1
- package/dist/doc-schemas/atoms.js +1 -1
- package/dist/doc-schemas/atoms.js.map +1 -1
- package/dist/doc-schemas/audit-event.d.ts +124 -122
- package/dist/doc-schemas/audit-event.d.ts.map +1 -1
- package/dist/doc-schemas/game-stat-history.d.ts +0 -1
- package/dist/doc-schemas/game-stat-history.d.ts.map +1 -1
- package/dist/doc-schemas/game-stats.d.ts +0 -2
- package/dist/doc-schemas/game-stats.d.ts.map +1 -1
- package/dist/doc-schemas/game-stats.js +1 -2
- package/dist/doc-schemas/game-stats.js.map +1 -1
- package/dist/doc-schemas/index.d.ts +2 -1
- package/dist/doc-schemas/index.d.ts.map +1 -1
- package/dist/doc-schemas/index.js +2 -1
- package/dist/doc-schemas/index.js.map +1 -1
- package/dist/doc-schemas/migration-console.d.ts +6 -20
- package/dist/doc-schemas/migration-console.d.ts.map +1 -1
- package/dist/doc-schemas/migration-console.js +2 -7
- package/dist/doc-schemas/migration-console.js.map +1 -1
- package/dist/doc-schemas/pending-media.d.ts +725 -165
- package/dist/doc-schemas/pending-media.d.ts.map +1 -1
- package/dist/doc-schemas/registry.d.ts +385 -292
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/doc-schemas/registry.js +3 -2
- package/dist/doc-schemas/registry.js.map +1 -1
- package/dist/doc-schemas/stats-changes.d.ts +21 -0
- package/dist/doc-schemas/stats-changes.d.ts.map +1 -0
- package/dist/doc-schemas/stats-changes.js +19 -0
- package/dist/doc-schemas/stats-changes.js.map +1 -0
- package/dist/doc-schemas/stats-job.d.ts +36 -0
- package/dist/doc-schemas/stats-job.d.ts.map +1 -0
- package/dist/doc-schemas/stats-job.js +26 -0
- package/dist/doc-schemas/stats-job.js.map +1 -0
- package/dist/doc-schemas/system.d.ts +1 -1
- package/dist/doc-schemas/system.d.ts.map +1 -1
- package/dist/doc-schemas/system.js +2 -2
- package/dist/doc-schemas/system.js.map +1 -1
- package/dist/domain-events/domain-events.d.ts +337 -91
- package/dist/domain-events/domain-events.d.ts.map +1 -1
- package/dist/domain-events/domain-events.js +189 -83
- package/dist/domain-events/domain-events.js.map +1 -1
- package/dist/ids/index.d.ts +2 -0
- package/dist/ids/index.d.ts.map +1 -1
- package/dist/ids/index.js +2 -0
- package/dist/ids/index.js.map +1 -1
- package/dist/ids/notification-ids.d.ts +2 -4
- package/dist/ids/notification-ids.d.ts.map +1 -1
- package/dist/ids/notification-ids.js +3 -12
- package/dist/ids/notification-ids.js.map +1 -1
- package/dist/ids/request-job-ids.d.ts +7 -0
- package/dist/ids/request-job-ids.d.ts.map +1 -0
- package/dist/ids/request-job-ids.js +18 -0
- package/dist/ids/request-job-ids.js.map +1 -0
- package/dist/ids/stats-ids.d.ts +7 -0
- package/dist/ids/stats-ids.d.ts.map +1 -0
- package/dist/ids/stats-ids.js +17 -0
- package/dist/ids/stats-ids.js.map +1 -0
- package/dist/migration-console/action-ids.d.ts +1 -3
- package/dist/migration-console/action-ids.d.ts.map +1 -1
- package/dist/migration-console/action-ids.js +1 -3
- package/dist/migration-console/action-ids.js.map +1 -1
- package/dist/migration-console/manifest.d.ts +5 -5
- package/dist/migration-console/manifest.d.ts.map +1 -1
- package/dist/migration-console/manifest.js +19 -49
- package/dist/migration-console/manifest.js.map +1 -1
- package/dist/paths/collection-refs.d.ts +1 -1
- package/dist/paths/collection-refs.d.ts.map +1 -1
- package/dist/paths/collection-refs.js +1 -1
- package/dist/paths/collection-refs.js.map +1 -1
- package/dist/paths/collections.d.ts +15 -1
- package/dist/paths/collections.d.ts.map +1 -1
- package/dist/paths/collections.js +29 -1
- package/dist/paths/collections.js.map +1 -1
- package/dist/paths/path-builders.d.ts +1 -1
- package/dist/paths/path-builders.d.ts.map +1 -1
- package/dist/paths/path-builders.js +1 -4
- package/dist/paths/path-builders.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 +13 -13
- 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 +15 -9
- package/dist/schemas/dead-letters.d.ts.map +1 -1
- package/dist/schemas/dead-letters.js +6 -5
- 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 +21 -62
- package/dist/schemas/migration-console.d.ts.map +1 -1
- package/dist/schemas/migration-console.js +5 -10
- package/dist/schemas/migration-console.js.map +1 -1
- package/dist/schemas/pictures.d.ts +447 -111
- 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 +22 -28
- package/dist/schemas/scoring.d.ts.map +1 -1
- package/dist/schemas/scoring.js +17 -13
- package/dist/schemas/scoring.js.map +1 -1
- package/dist/schemas/stats.d.ts +92 -127
- package/dist/schemas/stats.d.ts.map +1 -1
- package/dist/schemas/stats.js +50 -83
- 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/sports/basketball-scoring.d.ts.map +1 -1
- package/dist/sports/basketball-scoring.js +16 -7
- package/dist/sports/basketball-scoring.js.map +1 -1
- package/dist/sports/bulk-entry.d.ts +7 -2
- package/dist/sports/bulk-entry.d.ts.map +1 -1
- package/dist/sports/bulk-entry.js.map +1 -1
- package/dist/sports/football-scoring.d.ts.map +1 -1
- package/dist/sports/football-scoring.js +13 -10
- package/dist/sports/football-scoring.js.map +1 -1
- package/dist/sports/replay.d.ts.map +1 -1
- package/dist/sports/replay.js +16 -1
- package/dist/sports/replay.js.map +1 -1
- package/dist/sports/scoring.d.ts +18 -2
- package/dist/sports/scoring.d.ts.map +1 -1
- package/dist/sports/scoring.js.map +1 -1
- package/dist/sports/store-driver.d.ts +2 -1
- package/dist/sports/store-driver.d.ts.map +1 -1
- package/dist/sports/store-driver.js +30 -15
- package/dist/sports/store-driver.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 -36
- package/dist/types/audit.js.map +1 -1
- package/dist/types/stats.d.ts +13 -13
- package/dist/types/stats.d.ts.map +1 -1
- package/dist/types/stats.js +13 -33
- package/dist/types/stats.js.map +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/doc-schemas/stats-operation.d.ts +0 -348
- package/dist/doc-schemas/stats-operation.d.ts.map +0 -1
- package/dist/doc-schemas/stats-operation.js +0 -92
- package/dist/doc-schemas/stats-operation.js.map +0 -1
- package/dist/utils/stats-operation-request.d.ts +0 -20
- package/dist/utils/stats-operation-request.d.ts.map +0 -1
- package/dist/utils/stats-operation-request.js +0 -10
- package/dist/utils/stats-operation-request.js.map +0 -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,45 +238,57 @@ 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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
244
|
+
leagueId: 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.ZodString;
|
|
185
251
|
}, z.core.$strip>;
|
|
186
252
|
}, z.core.$strip>;
|
|
187
|
-
export declare const
|
|
188
|
-
type: z.ZodLiteral<"sportGame.
|
|
253
|
+
export declare const SportGameStatsRecalculatedEventSchema: z.ZodObject<{
|
|
254
|
+
type: z.ZodLiteral<"sportGame.statsRecalculated">;
|
|
189
255
|
ids: z.ZodObject<{
|
|
190
256
|
leagueId: z.ZodString;
|
|
191
257
|
gameId: z.ZodString;
|
|
192
258
|
}, z.core.$strip>;
|
|
193
259
|
}, z.core.$strip>;
|
|
194
|
-
export declare const
|
|
195
|
-
type: z.ZodLiteral<"
|
|
260
|
+
export declare const StatsJobCreatedEventSchema: z.ZodObject<{
|
|
261
|
+
type: z.ZodLiteral<"statsJob.created">;
|
|
262
|
+
ids: z.ZodObject<{
|
|
263
|
+
jobId: z.ZodString;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
export declare const StatsValidationReportCreatedEventSchema: z.ZodObject<{
|
|
267
|
+
type: z.ZodLiteral<"statsValidationReport.created">;
|
|
196
268
|
ids: z.ZodObject<{
|
|
197
269
|
reportId: z.ZodString;
|
|
198
270
|
}, z.core.$strip>;
|
|
199
271
|
}, z.core.$strip>;
|
|
200
272
|
export declare const StatsValidationReportDeletedEventSchema: z.ZodObject<{
|
|
201
|
-
type: z.ZodLiteral<"
|
|
273
|
+
type: z.ZodLiteral<"statsValidationReport.deleted">;
|
|
202
274
|
ids: z.ZodObject<{
|
|
203
275
|
reportId: z.ZodString;
|
|
204
276
|
}, z.core.$strip>;
|
|
205
277
|
}, z.core.$strip>;
|
|
206
|
-
export declare const
|
|
207
|
-
type: z.ZodLiteral<"
|
|
278
|
+
export declare const HistoricalStatUpdatedEventSchema: z.ZodObject<{
|
|
279
|
+
type: z.ZodLiteral<"historicalStat.updated">;
|
|
280
|
+
ids: z.ZodObject<{
|
|
281
|
+
userId: z.ZodString;
|
|
282
|
+
}, z.core.$strip>;
|
|
283
|
+
}, z.core.$strip>;
|
|
284
|
+
export declare const UserProfileBannedEventSchema: z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"userProfile.banned">;
|
|
208
286
|
ids: z.ZodObject<{
|
|
209
287
|
userId: z.ZodString;
|
|
210
288
|
}, z.core.$strip>;
|
|
211
289
|
}, z.core.$strip>;
|
|
212
|
-
export declare const
|
|
213
|
-
type: z.ZodLiteral<"
|
|
290
|
+
export declare const UserProfileUnbannedEventSchema: z.ZodObject<{
|
|
291
|
+
type: z.ZodLiteral<"userProfile.unbanned">;
|
|
214
292
|
ids: z.ZodObject<{
|
|
215
293
|
userId: z.ZodString;
|
|
216
294
|
}, z.core.$strip>;
|
|
@@ -221,8 +299,8 @@ export declare const AwardDefinitionCreatedEventSchema: z.ZodObject<{
|
|
|
221
299
|
awardId: z.ZodString;
|
|
222
300
|
}, z.core.$strip>;
|
|
223
301
|
}, z.core.$strip>;
|
|
224
|
-
export declare const
|
|
225
|
-
type: z.ZodLiteral<"awardDefinition.
|
|
302
|
+
export declare const AwardDefinitionBadgeReplacedEventSchema: z.ZodObject<{
|
|
303
|
+
type: z.ZodLiteral<"awardDefinition.badgeReplaced">;
|
|
226
304
|
ids: z.ZodObject<{
|
|
227
305
|
awardId: z.ZodString;
|
|
228
306
|
}, z.core.$strip>;
|
|
@@ -233,33 +311,60 @@ export declare const AwardDefinitionDeletedEventSchema: z.ZodObject<{
|
|
|
233
311
|
awardId: z.ZodString;
|
|
234
312
|
}, z.core.$strip>;
|
|
235
313
|
}, z.core.$strip>;
|
|
236
|
-
export declare const
|
|
237
|
-
type: z.ZodLiteral<"
|
|
314
|
+
export declare const AwardDefinitionGrantedEventSchema: z.ZodObject<{
|
|
315
|
+
type: z.ZodLiteral<"awardDefinition.granted">;
|
|
238
316
|
ids: z.ZodObject<{
|
|
239
317
|
awardId: z.ZodString;
|
|
240
318
|
}, z.core.$strip>;
|
|
241
319
|
}, z.core.$strip>;
|
|
242
|
-
export declare const
|
|
243
|
-
type: z.ZodLiteral<"
|
|
320
|
+
export declare const AwardDefinitionRevokedEventSchema: z.ZodObject<{
|
|
321
|
+
type: z.ZodLiteral<"awardDefinition.revoked">;
|
|
322
|
+
ids: z.ZodObject<{
|
|
323
|
+
awardId: z.ZodString;
|
|
324
|
+
}, z.core.$strip>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
export declare const UserProfileFeaturedAwardsChangedEventSchema: z.ZodObject<{
|
|
327
|
+
type: z.ZodLiteral<"userProfile.featuredAwardsChanged">;
|
|
244
328
|
ids: z.ZodObject<{
|
|
245
329
|
userId: z.ZodString;
|
|
246
330
|
}, z.core.$strip>;
|
|
247
331
|
}, z.core.$strip>;
|
|
248
|
-
export declare const
|
|
249
|
-
type: z.ZodLiteral<"hardwareLoanContract.
|
|
332
|
+
export declare const HardwareLoanContractCreatedEventSchema: z.ZodObject<{
|
|
333
|
+
type: z.ZodLiteral<"hardwareLoanContract.created">;
|
|
334
|
+
ids: z.ZodObject<{
|
|
335
|
+
contractId: z.ZodString;
|
|
336
|
+
refereeUserId: z.ZodString;
|
|
337
|
+
}, z.core.$strip>;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
export declare const HardwareLoanContractSignedEventSchema: z.ZodObject<{
|
|
340
|
+
type: z.ZodLiteral<"hardwareLoanContract.signed">;
|
|
341
|
+
ids: z.ZodObject<{
|
|
342
|
+
contractId: z.ZodString;
|
|
343
|
+
refereeUserId: z.ZodString;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
}, z.core.$strip>;
|
|
346
|
+
export declare const HardwareLoanContractReturnedEventSchema: z.ZodObject<{
|
|
347
|
+
type: z.ZodLiteral<"hardwareLoanContract.returned">;
|
|
348
|
+
ids: z.ZodObject<{
|
|
349
|
+
contractId: z.ZodString;
|
|
350
|
+
refereeUserId: z.ZodString;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
}, z.core.$strip>;
|
|
353
|
+
export declare const HardwareLoanContractDeletedEventSchema: z.ZodObject<{
|
|
354
|
+
type: z.ZodLiteral<"hardwareLoanContract.deleted">;
|
|
250
355
|
ids: z.ZodObject<{
|
|
251
356
|
contractId: z.ZodString;
|
|
252
357
|
refereeUserId: z.ZodString;
|
|
253
358
|
}, z.core.$strip>;
|
|
254
359
|
}, z.core.$strip>;
|
|
255
|
-
export declare const
|
|
256
|
-
type: z.ZodLiteral<"
|
|
360
|
+
export declare const UserProfileRegisteredEventSchema: z.ZodObject<{
|
|
361
|
+
type: z.ZodLiteral<"userProfile.registered">;
|
|
257
362
|
ids: z.ZodObject<{
|
|
258
363
|
userId: z.ZodString;
|
|
259
364
|
}, z.core.$strip>;
|
|
260
365
|
}, z.core.$strip>;
|
|
261
|
-
export declare const
|
|
262
|
-
type: z.ZodLiteral<"
|
|
366
|
+
export declare const UserProfileDisplayNameChangedEventSchema: z.ZodObject<{
|
|
367
|
+
type: z.ZodLiteral<"userProfile.displayNameChanged">;
|
|
263
368
|
ids: z.ZodObject<{
|
|
264
369
|
userId: z.ZodString;
|
|
265
370
|
}, z.core.$strip>;
|
|
@@ -274,8 +379,14 @@ export declare const WaiverTemplateCreatedEventSchema: z.ZodObject<{
|
|
|
274
379
|
waiverTemplateId: z.ZodString;
|
|
275
380
|
}, z.core.$strip>;
|
|
276
381
|
}, z.core.$strip>;
|
|
277
|
-
export declare const
|
|
278
|
-
type: z.ZodLiteral<"waiverTemplate.
|
|
382
|
+
export declare const WaiverTemplateVersionPublishedEventSchema: z.ZodObject<{
|
|
383
|
+
type: z.ZodLiteral<"waiverTemplate.versionPublished">;
|
|
384
|
+
ids: z.ZodObject<{
|
|
385
|
+
waiverTemplateId: z.ZodString;
|
|
386
|
+
}, z.core.$strip>;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
export declare const WaiverTemplateRetiredEventSchema: z.ZodObject<{
|
|
389
|
+
type: z.ZodLiteral<"waiverTemplate.retired">;
|
|
279
390
|
ids: z.ZodObject<{
|
|
280
391
|
waiverTemplateId: z.ZodString;
|
|
281
392
|
}, z.core.$strip>;
|
|
@@ -311,6 +422,13 @@ export declare const LeagueTeamUpdatedEventSchema: z.ZodObject<{
|
|
|
311
422
|
teamId: z.ZodString;
|
|
312
423
|
}, z.core.$strip>;
|
|
313
424
|
}, z.core.$strip>;
|
|
425
|
+
export declare const LeagueTeamCaptainChangedEventSchema: z.ZodObject<{
|
|
426
|
+
type: z.ZodLiteral<"leagueTeam.captainChanged">;
|
|
427
|
+
ids: z.ZodObject<{
|
|
428
|
+
leagueId: z.ZodString;
|
|
429
|
+
teamId: z.ZodString;
|
|
430
|
+
}, z.core.$strip>;
|
|
431
|
+
}, z.core.$strip>;
|
|
314
432
|
export declare const LeagueTeamDeletedEventSchema: z.ZodObject<{
|
|
315
433
|
type: z.ZodLiteral<"leagueTeam.deleted">;
|
|
316
434
|
ids: z.ZodObject<{
|
|
@@ -318,8 +436,8 @@ export declare const LeagueTeamDeletedEventSchema: z.ZodObject<{
|
|
|
318
436
|
teamId: z.ZodString;
|
|
319
437
|
}, z.core.$strip>;
|
|
320
438
|
}, z.core.$strip>;
|
|
321
|
-
export declare const
|
|
322
|
-
type: z.ZodLiteral<"ghostPlayer.
|
|
439
|
+
export declare const GhostPlayerRemovedEventSchema: z.ZodObject<{
|
|
440
|
+
type: z.ZodLiteral<"ghostPlayer.removed">;
|
|
323
441
|
ids: z.ZodObject<{
|
|
324
442
|
leagueId: z.ZodString;
|
|
325
443
|
teamId: z.ZodString;
|
|
@@ -355,22 +473,43 @@ export declare const DeadLetterReplayedEventSchema: z.ZodObject<{
|
|
|
355
473
|
type: z.ZodLiteral<"deadLetter.replayed">;
|
|
356
474
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
357
475
|
}, z.core.$strip>;
|
|
358
|
-
export declare const
|
|
359
|
-
type: z.ZodLiteral<"
|
|
476
|
+
export declare const MigrationActionRunPageRunEventSchema: z.ZodObject<{
|
|
477
|
+
type: z.ZodLiteral<"migrationActionRun.pageRun">;
|
|
478
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
479
|
+
}, z.core.$strip>;
|
|
480
|
+
export declare const MigrationActionRunControlRecordedEventSchema: z.ZodObject<{
|
|
481
|
+
type: z.ZodLiteral<"migrationActionRun.controlRecorded">;
|
|
482
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
export declare const MigrationActionRunCheckpointRecordedEventSchema: z.ZodObject<{
|
|
485
|
+
type: z.ZodLiteral<"migrationActionRun.checkpointRecorded">;
|
|
486
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
export declare const MigrationConsoleCutoverRecordedEventSchema: z.ZodObject<{
|
|
489
|
+
type: z.ZodLiteral<"migrationConsole.cutoverRecorded">;
|
|
490
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
491
|
+
}, z.core.$strip>;
|
|
492
|
+
export declare const GameRosterPlayerStatLineResolvedEventSchema: z.ZodObject<{
|
|
493
|
+
type: z.ZodLiteral<"gameRosterPlayer.statLineResolved">;
|
|
360
494
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
361
495
|
}, z.core.$strip>;
|
|
362
496
|
export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
363
|
-
type: z.ZodLiteral<"
|
|
497
|
+
type: z.ZodLiteral<"sportLeague.created">;
|
|
364
498
|
ids: z.ZodObject<{
|
|
365
499
|
leagueId: z.ZodString;
|
|
366
500
|
}, z.core.$strip>;
|
|
367
501
|
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
-
type: z.ZodLiteral<"
|
|
502
|
+
type: z.ZodLiteral<"sportLeague.updated">;
|
|
369
503
|
ids: z.ZodObject<{
|
|
370
504
|
leagueId: z.ZodString;
|
|
371
505
|
}, z.core.$strip>;
|
|
372
506
|
}, z.core.$strip>, z.ZodObject<{
|
|
373
|
-
type: z.ZodLiteral<"
|
|
507
|
+
type: z.ZodLiteral<"sportLeague.statusChanged">;
|
|
508
|
+
ids: z.ZodObject<{
|
|
509
|
+
leagueId: z.ZodString;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
512
|
+
type: z.ZodLiteral<"sportLeague.modeSwitched">;
|
|
374
513
|
ids: z.ZodObject<{
|
|
375
514
|
leagueId: z.ZodString;
|
|
376
515
|
}, z.core.$strip>;
|
|
@@ -379,14 +518,29 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
379
518
|
ids: z.ZodObject<{
|
|
380
519
|
leagueId: z.ZodString;
|
|
381
520
|
teamId: z.ZodString;
|
|
521
|
+
userId: z.ZodString;
|
|
522
|
+
}, z.core.$strip>;
|
|
523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
|
+
type: z.ZodLiteral<"teamMembership.roleChanged">;
|
|
525
|
+
ids: z.ZodObject<{
|
|
526
|
+
leagueId: z.ZodString;
|
|
527
|
+
teamId: z.ZodString;
|
|
528
|
+
userId: z.ZodString;
|
|
382
529
|
}, z.core.$strip>;
|
|
383
530
|
}, z.core.$strip>, z.ZodObject<{
|
|
384
|
-
type: z.ZodLiteral<"
|
|
531
|
+
type: z.ZodLiteral<"teamMembership.removed">;
|
|
385
532
|
ids: z.ZodObject<{
|
|
386
533
|
leagueId: z.ZodString;
|
|
387
534
|
teamId: z.ZodString;
|
|
388
535
|
userId: z.ZodString;
|
|
389
536
|
}, z.core.$strip>;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
type: z.ZodLiteral<"ghostPlayer.created">;
|
|
539
|
+
ids: z.ZodObject<{
|
|
540
|
+
leagueId: z.ZodString;
|
|
541
|
+
teamId: z.ZodString;
|
|
542
|
+
ghostUserId: z.ZodString;
|
|
543
|
+
}, z.core.$strip>;
|
|
390
544
|
}, z.core.$strip>, z.ZodObject<{
|
|
391
545
|
type: z.ZodLiteral<"signedWaiver.created">;
|
|
392
546
|
ids: z.ZodObject<{
|
|
@@ -402,7 +556,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
402
556
|
realUserId: z.ZodString;
|
|
403
557
|
}, z.core.$strip>;
|
|
404
558
|
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
-
type: z.ZodLiteral<"teamJoinRequest.
|
|
559
|
+
type: z.ZodLiteral<"teamJoinRequest.created">;
|
|
406
560
|
ids: z.ZodObject<{
|
|
407
561
|
leagueId: z.ZodString;
|
|
408
562
|
teamId: z.ZodString;
|
|
@@ -416,14 +570,21 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
416
570
|
userId: z.ZodString;
|
|
417
571
|
}, z.core.$strip>;
|
|
418
572
|
}, z.core.$strip>, z.ZodObject<{
|
|
419
|
-
type: z.ZodLiteral<"teamJoinRequest.
|
|
573
|
+
type: z.ZodLiteral<"teamJoinRequest.accepted">;
|
|
574
|
+
ids: z.ZodObject<{
|
|
575
|
+
leagueId: z.ZodString;
|
|
576
|
+
teamId: z.ZodString;
|
|
577
|
+
userId: z.ZodString;
|
|
578
|
+
}, z.core.$strip>;
|
|
579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
580
|
+
type: z.ZodLiteral<"teamJoinRequest.rejected">;
|
|
420
581
|
ids: z.ZodObject<{
|
|
421
582
|
leagueId: z.ZodString;
|
|
422
583
|
teamId: z.ZodString;
|
|
423
584
|
userId: z.ZodString;
|
|
424
585
|
}, z.core.$strip>;
|
|
425
586
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
-
type: z.ZodLiteral<"teamInvitation.
|
|
587
|
+
type: z.ZodLiteral<"teamInvitation.created">;
|
|
427
588
|
ids: z.ZodObject<{
|
|
428
589
|
leagueId: z.ZodString;
|
|
429
590
|
teamId: z.ZodString;
|
|
@@ -437,22 +598,36 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
437
598
|
userId: z.ZodString;
|
|
438
599
|
}, z.core.$strip>;
|
|
439
600
|
}, z.core.$strip>, z.ZodObject<{
|
|
440
|
-
type: z.ZodLiteral<"teamInvitation.
|
|
601
|
+
type: z.ZodLiteral<"teamInvitation.accepted">;
|
|
602
|
+
ids: z.ZodObject<{
|
|
603
|
+
leagueId: z.ZodString;
|
|
604
|
+
teamId: z.ZodString;
|
|
605
|
+
userId: z.ZodString;
|
|
606
|
+
}, z.core.$strip>;
|
|
607
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
608
|
+
type: z.ZodLiteral<"teamInvitation.rejected">;
|
|
441
609
|
ids: z.ZodObject<{
|
|
442
610
|
leagueId: z.ZodString;
|
|
443
611
|
teamId: z.ZodString;
|
|
444
612
|
userId: z.ZodString;
|
|
445
613
|
}, z.core.$strip>;
|
|
446
614
|
}, z.core.$strip>, z.ZodObject<{
|
|
447
|
-
type: z.ZodLiteral<"leagueFreeAgent.
|
|
615
|
+
type: z.ZodLiteral<"leagueFreeAgent.created">;
|
|
616
|
+
ids: z.ZodObject<{
|
|
617
|
+
leagueId: z.ZodString;
|
|
618
|
+
userId: z.ZodString;
|
|
619
|
+
}, z.core.$strip>;
|
|
620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
621
|
+
type: z.ZodLiteral<"leagueFreeAgent.deleted">;
|
|
448
622
|
ids: z.ZodObject<{
|
|
449
623
|
leagueId: z.ZodString;
|
|
450
624
|
userId: z.ZodString;
|
|
451
625
|
}, z.core.$strip>;
|
|
452
626
|
}, z.core.$strip>, z.ZodObject<{
|
|
453
|
-
type: z.ZodLiteral<"leagueFreeAgent.
|
|
627
|
+
type: z.ZodLiteral<"leagueFreeAgent.assigned">;
|
|
454
628
|
ids: z.ZodObject<{
|
|
455
629
|
leagueId: z.ZodString;
|
|
630
|
+
teamId: z.ZodString;
|
|
456
631
|
userId: z.ZodString;
|
|
457
632
|
}, z.core.$strip>;
|
|
458
633
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -492,9 +667,25 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
492
667
|
gameId: z.ZodString;
|
|
493
668
|
}, z.core.$strip>;
|
|
494
669
|
}, z.core.$strip>, z.ZodObject<{
|
|
495
|
-
type: z.ZodLiteral<"
|
|
670
|
+
type: z.ZodLiteral<"scheduleWeek.created">;
|
|
671
|
+
ids: z.ZodObject<{
|
|
672
|
+
leagueId: z.ZodString;
|
|
673
|
+
}, z.core.$strip>;
|
|
674
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
675
|
+
type: z.ZodLiteral<"scheduleWeek.updated">;
|
|
676
|
+
ids: z.ZodObject<{
|
|
677
|
+
leagueId: z.ZodString;
|
|
678
|
+
}, z.core.$strip>;
|
|
679
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
680
|
+
type: z.ZodLiteral<"scheduleWeek.deleted">;
|
|
681
|
+
ids: z.ZodObject<{
|
|
682
|
+
leagueId: z.ZodString;
|
|
683
|
+
}, z.core.$strip>;
|
|
684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
685
|
+
type: z.ZodLiteral<"sportGame.created">;
|
|
496
686
|
ids: z.ZodObject<{
|
|
497
687
|
leagueId: z.ZodString;
|
|
688
|
+
gameId: z.ZodString;
|
|
498
689
|
}, z.core.$strip>;
|
|
499
690
|
}, z.core.$strip>, z.ZodObject<{
|
|
500
691
|
type: z.ZodLiteral<"sportGame.updated">;
|
|
@@ -509,39 +700,48 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
509
700
|
gameId: z.ZodString;
|
|
510
701
|
}, z.core.$strip>;
|
|
511
702
|
}, z.core.$strip>, z.ZodObject<{
|
|
512
|
-
type: z.ZodLiteral<"
|
|
703
|
+
type: z.ZodLiteral<"sportLeague.statsRecalculated">;
|
|
513
704
|
ids: z.ZodObject<{
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
}>>;
|
|
705
|
+
leagueId: z.ZodString;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
708
|
+
type: z.ZodLiteral<"userProfile.statsRecalculated">;
|
|
709
|
+
ids: z.ZodObject<{
|
|
710
|
+
userId: z.ZodString;
|
|
521
711
|
}, z.core.$strip>;
|
|
522
712
|
}, z.core.$strip>, z.ZodObject<{
|
|
523
|
-
type: z.ZodLiteral<"sportGame.
|
|
713
|
+
type: z.ZodLiteral<"sportGame.statsRecalculated">;
|
|
524
714
|
ids: z.ZodObject<{
|
|
525
715
|
leagueId: z.ZodString;
|
|
526
716
|
gameId: z.ZodString;
|
|
527
717
|
}, z.core.$strip>;
|
|
528
718
|
}, z.core.$strip>, z.ZodObject<{
|
|
529
|
-
type: z.ZodLiteral<"
|
|
719
|
+
type: z.ZodLiteral<"statsJob.created">;
|
|
720
|
+
ids: z.ZodObject<{
|
|
721
|
+
jobId: z.ZodString;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
724
|
+
type: z.ZodLiteral<"statsValidationReport.created">;
|
|
530
725
|
ids: z.ZodObject<{
|
|
531
726
|
reportId: z.ZodString;
|
|
532
727
|
}, z.core.$strip>;
|
|
533
728
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
-
type: z.ZodLiteral<"
|
|
729
|
+
type: z.ZodLiteral<"statsValidationReport.deleted">;
|
|
535
730
|
ids: z.ZodObject<{
|
|
536
731
|
reportId: z.ZodString;
|
|
537
732
|
}, z.core.$strip>;
|
|
538
733
|
}, z.core.$strip>, z.ZodObject<{
|
|
539
|
-
type: z.ZodLiteral<"
|
|
734
|
+
type: z.ZodLiteral<"historicalStat.updated">;
|
|
735
|
+
ids: z.ZodObject<{
|
|
736
|
+
userId: z.ZodString;
|
|
737
|
+
}, z.core.$strip>;
|
|
738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
739
|
+
type: z.ZodLiteral<"userProfile.banned">;
|
|
540
740
|
ids: z.ZodObject<{
|
|
541
741
|
userId: z.ZodString;
|
|
542
742
|
}, z.core.$strip>;
|
|
543
743
|
}, z.core.$strip>, z.ZodObject<{
|
|
544
|
-
type: z.ZodLiteral<"
|
|
744
|
+
type: z.ZodLiteral<"userProfile.unbanned">;
|
|
545
745
|
ids: z.ZodObject<{
|
|
546
746
|
userId: z.ZodString;
|
|
547
747
|
}, z.core.$strip>;
|
|
@@ -551,7 +751,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
551
751
|
awardId: z.ZodString;
|
|
552
752
|
}, z.core.$strip>;
|
|
553
753
|
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
-
type: z.ZodLiteral<"awardDefinition.
|
|
754
|
+
type: z.ZodLiteral<"awardDefinition.badgeReplaced">;
|
|
555
755
|
ids: z.ZodObject<{
|
|
556
756
|
awardId: z.ZodString;
|
|
557
757
|
}, z.core.$strip>;
|
|
@@ -561,28 +761,51 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
561
761
|
awardId: z.ZodString;
|
|
562
762
|
}, z.core.$strip>;
|
|
563
763
|
}, z.core.$strip>, z.ZodObject<{
|
|
564
|
-
type: z.ZodLiteral<"
|
|
764
|
+
type: z.ZodLiteral<"awardDefinition.granted">;
|
|
565
765
|
ids: z.ZodObject<{
|
|
566
766
|
awardId: z.ZodString;
|
|
567
767
|
}, z.core.$strip>;
|
|
568
768
|
}, z.core.$strip>, z.ZodObject<{
|
|
569
|
-
type: z.ZodLiteral<"
|
|
769
|
+
type: z.ZodLiteral<"awardDefinition.revoked">;
|
|
770
|
+
ids: z.ZodObject<{
|
|
771
|
+
awardId: z.ZodString;
|
|
772
|
+
}, z.core.$strip>;
|
|
773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
774
|
+
type: z.ZodLiteral<"userProfile.featuredAwardsChanged">;
|
|
570
775
|
ids: z.ZodObject<{
|
|
571
776
|
userId: z.ZodString;
|
|
572
777
|
}, z.core.$strip>;
|
|
573
778
|
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
-
type: z.ZodLiteral<"hardwareLoanContract.
|
|
779
|
+
type: z.ZodLiteral<"hardwareLoanContract.created">;
|
|
780
|
+
ids: z.ZodObject<{
|
|
781
|
+
contractId: z.ZodString;
|
|
782
|
+
refereeUserId: z.ZodString;
|
|
783
|
+
}, z.core.$strip>;
|
|
784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
785
|
+
type: z.ZodLiteral<"hardwareLoanContract.signed">;
|
|
786
|
+
ids: z.ZodObject<{
|
|
787
|
+
contractId: z.ZodString;
|
|
788
|
+
refereeUserId: z.ZodString;
|
|
789
|
+
}, z.core.$strip>;
|
|
790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
791
|
+
type: z.ZodLiteral<"hardwareLoanContract.returned">;
|
|
792
|
+
ids: z.ZodObject<{
|
|
793
|
+
contractId: z.ZodString;
|
|
794
|
+
refereeUserId: z.ZodString;
|
|
795
|
+
}, z.core.$strip>;
|
|
796
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
797
|
+
type: z.ZodLiteral<"hardwareLoanContract.deleted">;
|
|
575
798
|
ids: z.ZodObject<{
|
|
576
799
|
contractId: z.ZodString;
|
|
577
800
|
refereeUserId: z.ZodString;
|
|
578
801
|
}, z.core.$strip>;
|
|
579
802
|
}, z.core.$strip>, z.ZodObject<{
|
|
580
|
-
type: z.ZodLiteral<"
|
|
803
|
+
type: z.ZodLiteral<"userProfile.registered">;
|
|
581
804
|
ids: z.ZodObject<{
|
|
582
805
|
userId: z.ZodString;
|
|
583
806
|
}, z.core.$strip>;
|
|
584
807
|
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
-
type: z.ZodLiteral<"
|
|
808
|
+
type: z.ZodLiteral<"userProfile.displayNameChanged">;
|
|
586
809
|
ids: z.ZodObject<{
|
|
587
810
|
userId: z.ZodString;
|
|
588
811
|
}, z.core.$strip>;
|
|
@@ -595,7 +818,12 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
595
818
|
waiverTemplateId: z.ZodString;
|
|
596
819
|
}, z.core.$strip>;
|
|
597
820
|
}, z.core.$strip>, z.ZodObject<{
|
|
598
|
-
type: z.ZodLiteral<"waiverTemplate.
|
|
821
|
+
type: z.ZodLiteral<"waiverTemplate.versionPublished">;
|
|
822
|
+
ids: z.ZodObject<{
|
|
823
|
+
waiverTemplateId: z.ZodString;
|
|
824
|
+
}, z.core.$strip>;
|
|
825
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
826
|
+
type: z.ZodLiteral<"waiverTemplate.retired">;
|
|
599
827
|
ids: z.ZodObject<{
|
|
600
828
|
waiverTemplateId: z.ZodString;
|
|
601
829
|
}, z.core.$strip>;
|
|
@@ -625,6 +853,12 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
625
853
|
leagueId: z.ZodString;
|
|
626
854
|
teamId: z.ZodString;
|
|
627
855
|
}, z.core.$strip>;
|
|
856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
857
|
+
type: z.ZodLiteral<"leagueTeam.captainChanged">;
|
|
858
|
+
ids: z.ZodObject<{
|
|
859
|
+
leagueId: z.ZodString;
|
|
860
|
+
teamId: z.ZodString;
|
|
861
|
+
}, z.core.$strip>;
|
|
628
862
|
}, z.core.$strip>, z.ZodObject<{
|
|
629
863
|
type: z.ZodLiteral<"leagueTeam.deleted">;
|
|
630
864
|
ids: z.ZodObject<{
|
|
@@ -632,7 +866,7 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
632
866
|
teamId: z.ZodString;
|
|
633
867
|
}, z.core.$strip>;
|
|
634
868
|
}, z.core.$strip>, z.ZodObject<{
|
|
635
|
-
type: z.ZodLiteral<"ghostPlayer.
|
|
869
|
+
type: z.ZodLiteral<"ghostPlayer.removed">;
|
|
636
870
|
ids: z.ZodObject<{
|
|
637
871
|
leagueId: z.ZodString;
|
|
638
872
|
teamId: z.ZodString;
|
|
@@ -664,7 +898,19 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
664
898
|
type: z.ZodLiteral<"deadLetter.replayed">;
|
|
665
899
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
666
900
|
}, z.core.$strip>, z.ZodObject<{
|
|
667
|
-
type: z.ZodLiteral<"
|
|
901
|
+
type: z.ZodLiteral<"migrationActionRun.pageRun">;
|
|
902
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
904
|
+
type: z.ZodLiteral<"migrationActionRun.controlRecorded">;
|
|
905
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
907
|
+
type: z.ZodLiteral<"migrationActionRun.checkpointRecorded">;
|
|
908
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
910
|
+
type: z.ZodLiteral<"migrationConsole.cutoverRecorded">;
|
|
911
|
+
ids: z.ZodObject<{}, z.core.$strip>;
|
|
912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
913
|
+
type: z.ZodLiteral<"gameRosterPlayer.statLineResolved">;
|
|
668
914
|
ids: z.ZodObject<{}, z.core.$strip>;
|
|
669
915
|
}, z.core.$strip>], "type">;
|
|
670
916
|
export type DomainEvent = z.infer<typeof DomainEventSchema>;
|