@ttt-productions/q-core 0.1.49 → 0.1.51

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 (173) hide show
  1. package/dist/constants/business.d.ts +3 -4
  2. package/dist/constants/business.d.ts.map +1 -1
  3. package/dist/constants/business.js +3 -4
  4. package/dist/constants/business.js.map +1 -1
  5. package/dist/constants/sports.d.ts +0 -13
  6. package/dist/constants/sports.d.ts.map +1 -1
  7. package/dist/constants/sports.js +0 -13
  8. package/dist/constants/sports.js.map +1 -1
  9. package/dist/constants/text-fields.d.ts +0 -6
  10. package/dist/constants/text-fields.d.ts.map +1 -1
  11. package/dist/constants/text-fields.js +0 -6
  12. package/dist/constants/text-fields.js.map +1 -1
  13. package/dist/doc-schemas/admin-notifications.d.ts +1 -1
  14. package/dist/doc-schemas/atoms.d.ts.map +1 -1
  15. package/dist/doc-schemas/atoms.js +1 -1
  16. package/dist/doc-schemas/atoms.js.map +1 -1
  17. package/dist/doc-schemas/audit-event.d.ts +4 -8
  18. package/dist/doc-schemas/audit-event.d.ts.map +1 -1
  19. package/dist/doc-schemas/game-stat-history.d.ts +0 -1
  20. package/dist/doc-schemas/game-stat-history.d.ts.map +1 -1
  21. package/dist/doc-schemas/game-stats.d.ts +0 -2
  22. package/dist/doc-schemas/game-stats.d.ts.map +1 -1
  23. package/dist/doc-schemas/game-stats.js +1 -2
  24. package/dist/doc-schemas/game-stats.js.map +1 -1
  25. package/dist/doc-schemas/index.d.ts +2 -2
  26. package/dist/doc-schemas/index.d.ts.map +1 -1
  27. package/dist/doc-schemas/index.js +2 -2
  28. package/dist/doc-schemas/index.js.map +1 -1
  29. package/dist/doc-schemas/migration-console.d.ts +6 -20
  30. package/dist/doc-schemas/migration-console.d.ts.map +1 -1
  31. package/dist/doc-schemas/migration-console.js +2 -7
  32. package/dist/doc-schemas/migration-console.js.map +1 -1
  33. package/dist/doc-schemas/pending-media.d.ts +35 -55
  34. package/dist/doc-schemas/pending-media.d.ts.map +1 -1
  35. package/dist/doc-schemas/registry.d.ts +49 -229
  36. package/dist/doc-schemas/registry.d.ts.map +1 -1
  37. package/dist/doc-schemas/registry.js +3 -7
  38. package/dist/doc-schemas/registry.js.map +1 -1
  39. package/dist/doc-schemas/stats-changes.d.ts +21 -0
  40. package/dist/doc-schemas/stats-changes.d.ts.map +1 -0
  41. package/dist/doc-schemas/stats-changes.js +19 -0
  42. package/dist/doc-schemas/stats-changes.js.map +1 -0
  43. package/dist/doc-schemas/stats-job.d.ts +36 -0
  44. package/dist/doc-schemas/stats-job.d.ts.map +1 -0
  45. package/dist/doc-schemas/stats-job.js +26 -0
  46. package/dist/doc-schemas/stats-job.js.map +1 -0
  47. package/dist/doc-schemas/system.d.ts +1 -1
  48. package/dist/doc-schemas/system.d.ts.map +1 -1
  49. package/dist/doc-schemas/system.js +2 -2
  50. package/dist/doc-schemas/system.js.map +1 -1
  51. package/dist/domain-events/domain-events.d.ts +16 -24
  52. package/dist/domain-events/domain-events.d.ts.map +1 -1
  53. package/dist/domain-events/domain-events.js +11 -11
  54. package/dist/domain-events/domain-events.js.map +1 -1
  55. package/dist/ids/index.d.ts +2 -1
  56. package/dist/ids/index.d.ts.map +1 -1
  57. package/dist/ids/index.js +2 -1
  58. package/dist/ids/index.js.map +1 -1
  59. package/dist/ids/notification-ids.d.ts +2 -4
  60. package/dist/ids/notification-ids.d.ts.map +1 -1
  61. package/dist/ids/notification-ids.js +3 -12
  62. package/dist/ids/notification-ids.js.map +1 -1
  63. package/dist/ids/request-job-ids.d.ts +7 -0
  64. package/dist/ids/request-job-ids.d.ts.map +1 -0
  65. package/dist/ids/request-job-ids.js +18 -0
  66. package/dist/ids/request-job-ids.js.map +1 -0
  67. package/dist/ids/stats-ids.d.ts +7 -0
  68. package/dist/ids/stats-ids.d.ts.map +1 -0
  69. package/dist/ids/stats-ids.js +17 -0
  70. package/dist/ids/stats-ids.js.map +1 -0
  71. package/dist/migration-console/action-ids.d.ts +1 -3
  72. package/dist/migration-console/action-ids.d.ts.map +1 -1
  73. package/dist/migration-console/action-ids.js +1 -3
  74. package/dist/migration-console/action-ids.js.map +1 -1
  75. package/dist/migration-console/manifest.d.ts +1 -2
  76. package/dist/migration-console/manifest.d.ts.map +1 -1
  77. package/dist/migration-console/manifest.js +12 -43
  78. package/dist/migration-console/manifest.js.map +1 -1
  79. package/dist/paths/collection-groups.d.ts +0 -1
  80. package/dist/paths/collection-groups.d.ts.map +1 -1
  81. package/dist/paths/collection-groups.js +1 -2
  82. package/dist/paths/collection-groups.js.map +1 -1
  83. package/dist/paths/collection-refs.d.ts +1 -2
  84. package/dist/paths/collection-refs.d.ts.map +1 -1
  85. package/dist/paths/collection-refs.js +1 -2
  86. package/dist/paths/collection-refs.js.map +1 -1
  87. package/dist/paths/collections.d.ts +1 -5
  88. package/dist/paths/collections.d.ts.map +1 -1
  89. package/dist/paths/collections.js +1 -5
  90. package/dist/paths/collections.js.map +1 -1
  91. package/dist/paths/path-builders.d.ts +1 -4
  92. package/dist/paths/path-builders.d.ts.map +1 -1
  93. package/dist/paths/path-builders.js +2 -17
  94. package/dist/paths/path-builders.js.map +1 -1
  95. package/dist/schemas/admin-notifications.d.ts +1 -1
  96. package/dist/schemas/awards.d.ts +5 -75
  97. package/dist/schemas/awards.d.ts.map +1 -1
  98. package/dist/schemas/awards.js +6 -30
  99. package/dist/schemas/awards.js.map +1 -1
  100. package/dist/schemas/dead-letters.d.ts +7 -1
  101. package/dist/schemas/dead-letters.d.ts.map +1 -1
  102. package/dist/schemas/dead-letters.js +2 -1
  103. package/dist/schemas/dead-letters.js.map +1 -1
  104. package/dist/schemas/migration-console.d.ts +16 -57
  105. package/dist/schemas/migration-console.d.ts.map +1 -1
  106. package/dist/schemas/migration-console.js +3 -10
  107. package/dist/schemas/migration-console.js.map +1 -1
  108. package/dist/schemas/pictures.d.ts +21 -33
  109. package/dist/schemas/pictures.d.ts.map +1 -1
  110. package/dist/schemas/scoring.d.ts +6 -12
  111. package/dist/schemas/scoring.d.ts.map +1 -1
  112. package/dist/schemas/scoring.js +9 -5
  113. package/dist/schemas/scoring.js.map +1 -1
  114. package/dist/schemas/stats.d.ts +66 -101
  115. package/dist/schemas/stats.d.ts.map +1 -1
  116. package/dist/schemas/stats.js +39 -72
  117. package/dist/schemas/stats.js.map +1 -1
  118. package/dist/sports/basketball-scoring.d.ts.map +1 -1
  119. package/dist/sports/basketball-scoring.js +16 -7
  120. package/dist/sports/basketball-scoring.js.map +1 -1
  121. package/dist/sports/bulk-entry.d.ts +7 -2
  122. package/dist/sports/bulk-entry.d.ts.map +1 -1
  123. package/dist/sports/bulk-entry.js.map +1 -1
  124. package/dist/sports/football-scoring.d.ts.map +1 -1
  125. package/dist/sports/football-scoring.js +13 -10
  126. package/dist/sports/football-scoring.js.map +1 -1
  127. package/dist/sports/replay.d.ts.map +1 -1
  128. package/dist/sports/replay.js +16 -1
  129. package/dist/sports/replay.js.map +1 -1
  130. package/dist/sports/scoring.d.ts +18 -2
  131. package/dist/sports/scoring.d.ts.map +1 -1
  132. package/dist/sports/scoring.js.map +1 -1
  133. package/dist/sports/store-driver.d.ts +2 -1
  134. package/dist/sports/store-driver.d.ts.map +1 -1
  135. package/dist/sports/store-driver.js +30 -15
  136. package/dist/sports/store-driver.js.map +1 -1
  137. package/dist/types/audit.d.ts +1 -1
  138. package/dist/types/audit.d.ts.map +1 -1
  139. package/dist/types/audit.js +1 -3
  140. package/dist/types/audit.js.map +1 -1
  141. package/dist/types/schedules.d.ts +1 -1
  142. package/dist/types/schedules.d.ts.map +1 -1
  143. package/dist/types/schedules.js +1 -2
  144. package/dist/types/schedules.js.map +1 -1
  145. package/dist/types/stats.d.ts +13 -13
  146. package/dist/types/stats.d.ts.map +1 -1
  147. package/dist/types/stats.js +13 -33
  148. package/dist/types/stats.js.map +1 -1
  149. package/dist/types/unions.d.ts +0 -6
  150. package/dist/types/unions.d.ts.map +1 -1
  151. package/dist/types/unions.js +0 -3
  152. package/dist/types/unions.js.map +1 -1
  153. package/dist/utils/index.d.ts +0 -1
  154. package/dist/utils/index.d.ts.map +1 -1
  155. package/dist/utils/index.js +0 -1
  156. package/dist/utils/index.js.map +1 -1
  157. package/package.json +1 -1
  158. package/dist/doc-schemas/award-group-grant.d.ts +0 -54
  159. package/dist/doc-schemas/award-group-grant.d.ts.map +0 -1
  160. package/dist/doc-schemas/award-group-grant.js +0 -55
  161. package/dist/doc-schemas/award-group-grant.js.map +0 -1
  162. package/dist/doc-schemas/stats-operation.d.ts +0 -348
  163. package/dist/doc-schemas/stats-operation.d.ts.map +0 -1
  164. package/dist/doc-schemas/stats-operation.js +0 -92
  165. package/dist/doc-schemas/stats-operation.js.map +0 -1
  166. package/dist/ids/award-grant-ids.d.ts +0 -9
  167. package/dist/ids/award-grant-ids.d.ts.map +0 -1
  168. package/dist/ids/award-grant-ids.js +0 -10
  169. package/dist/ids/award-grant-ids.js.map +0 -1
  170. package/dist/utils/stats-operation-request.d.ts +0 -20
  171. package/dist/utils/stats-operation-request.d.ts.map +0 -1
  172. package/dist/utils/stats-operation-request.js +0 -10
  173. package/dist/utils/stats-operation-request.js.map +0 -1
@@ -16,13 +16,13 @@ export * from './game-stats.js';
16
16
  export * from './sport-game.js';
17
17
  export * from './game-stat-history.js';
18
18
  export * from './aggregate-stats.js';
19
- export * from './stats-operation.js';
19
+ export * from './stats-changes.js';
20
+ export * from './stats-job.js';
20
21
  export * from './waiver-template.js';
21
22
  export * from './waivers-and-hardware.js';
22
23
  export * from './signature-copy-intent.js';
23
24
  export * from './game-location.js';
24
25
  export * from './catalogs.js';
25
- export * from './award-group-grant.js';
26
26
  export * from './system.js';
27
27
  export * from './admin-notifications.js';
28
28
  export * from './migration-console.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,c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C;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
@@ -16,13 +16,13 @@ export * from './game-stats.js';
16
16
  export * from './sport-game.js';
17
17
  export * from './game-stat-history.js';
18
18
  export * from './aggregate-stats.js';
19
- export * from './stats-operation.js';
19
+ export * from './stats-changes.js';
20
+ export * from './stats-job.js';
20
21
  export * from './waiver-template.js';
21
22
  export * from './waivers-and-hardware.js';
22
23
  export * from './signature-copy-intent.js';
23
24
  export * from './game-location.js';
24
25
  export * from './catalogs.js';
25
- export * from './award-group-grant.js';
26
26
  export * from './system.js';
27
27
  export * from './admin-notifications.js';
28
28
  export * from './migration-console.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/doc-schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC","sourcesContent":["export * from './atoms.js';\nexport * from './firestore-primitives.js';\nexport * from './user-profile.js';\nexport * from './publicUser.js';\nexport * from './reserved-display-name.js';\nexport * from './status-reconcile-queue.js';\nexport * from './registration-start.js';\nexport * from './audit-event.js';\nexport * from './gallery.js';\nexport * from './pending-media.js';\nexport * from './picture-retirement.js';\nexport * from './sport-league.js';\nexport * from './league-team.js';\nexport * from './team-membership.js';\nexport * from './game-stats.js';\nexport * from './sport-game.js';\nexport * from './game-stat-history.js';\nexport * from './aggregate-stats.js';\nexport * from './stats-operation.js';\nexport * from './waiver-template.js';\nexport * from './waivers-and-hardware.js';\nexport * from './signature-copy-intent.js';\nexport * from './game-location.js';\nexport * from './catalogs.js';\nexport * from './award-group-grant.js';\nexport * from './system.js';\nexport * from './admin-notifications.js';\nexport * from './migration-console.js';\nexport * from './sweep-state.js';\nexport * from './registry.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/doc-schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC","sourcesContent":["export * from './atoms.js';\nexport * from './firestore-primitives.js';\nexport * from './user-profile.js';\nexport * from './publicUser.js';\nexport * from './reserved-display-name.js';\nexport * from './status-reconcile-queue.js';\nexport * from './registration-start.js';\nexport * from './audit-event.js';\nexport * from './gallery.js';\nexport * from './pending-media.js';\nexport * from './picture-retirement.js';\nexport * from './sport-league.js';\nexport * from './league-team.js';\nexport * from './team-membership.js';\nexport * from './game-stats.js';\nexport * from './sport-game.js';\nexport * from './game-stat-history.js';\nexport * from './aggregate-stats.js';\nexport * from './stats-changes.js';\nexport * from './stats-job.js';\nexport * from './waiver-template.js';\nexport * from './waivers-and-hardware.js';\nexport * from './signature-copy-intent.js';\nexport * from './game-location.js';\nexport * from './catalogs.js';\nexport * from './system.js';\nexport * from './admin-notifications.js';\nexport * from './migration-console.js';\nexport * from './sweep-state.js';\nexport * from './registry.js';\n"]}
@@ -73,9 +73,7 @@ export declare const migrationActionIdSchema: z.ZodEnum<{
73
73
  "verify.v1LeagueCapacity": "verify.v1LeagueCapacity";
74
74
  "verify.v1HardwareContractIdsUnique": "verify.v1HardwareContractIdsUnique";
75
75
  "delete.v1Commerce": "delete.v1Commerce";
76
- "rebuild.leagueStats": "rebuild.leagueStats";
77
- "rebuild.lifetimeStats": "rebuild.lifetimeStats";
78
- "rebuild.sportHallOfFame": "rebuild.sportHallOfFame";
76
+ "rebuild.stats": "rebuild.stats";
79
77
  "validate.stats": "validate.stats";
80
78
  "verify.sportHallOfFame": "verify.sportHallOfFame";
81
79
  "delete.v1HallOfFame": "delete.v1HallOfFame";
@@ -92,7 +90,6 @@ export declare const migrationDestinationStateSchema: z.ZodEnum<{
92
90
  live: "live";
93
91
  }>;
94
92
  export declare const migrationOperationIdSchema: z.ZodString;
95
- export declare const migrationEvidenceSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
96
93
  export declare const MigrationFindingSchema: z.ZodObject<{
97
94
  category: z.ZodString;
98
95
  id: z.ZodString;
@@ -112,7 +109,6 @@ export type MigrationRunCounts = z.infer<typeof MigrationRunCountsSchema>;
112
109
  export declare const MigrationRunRecordSchema: z.ZodObject<{
113
110
  operationId: z.ZodString;
114
111
  dryRun: z.ZodBoolean;
115
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
116
112
  startedByUserId: z.ZodString;
117
113
  startedAt: z.ZodNumber;
118
114
  updatedAt: z.ZodNumber;
@@ -148,8 +144,7 @@ export type MigrationRunRecord = z.infer<typeof MigrationRunRecordSchema>;
148
144
  export declare const MigrationStepRecordSchema: z.ZodObject<{
149
145
  recordedAt: z.ZodNumber;
150
146
  recordedByUserId: z.ZodString;
151
- operationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
152
- evidence: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
147
+ statsJobId: z.ZodOptional<z.ZodString>;
153
148
  }, z.core.$strip>;
154
149
  export type MigrationStepRecord = z.infer<typeof MigrationStepRecordSchema>;
155
150
  export declare const MigrationActionRunSchema: z.ZodObject<{
@@ -227,9 +222,7 @@ export declare const MigrationActionRunSchema: z.ZodObject<{
227
222
  "verify.v1LeagueCapacity": "verify.v1LeagueCapacity";
228
223
  "verify.v1HardwareContractIdsUnique": "verify.v1HardwareContractIdsUnique";
229
224
  "delete.v1Commerce": "delete.v1Commerce";
230
- "rebuild.leagueStats": "rebuild.leagueStats";
231
- "rebuild.lifetimeStats": "rebuild.lifetimeStats";
232
- "rebuild.sportHallOfFame": "rebuild.sportHallOfFame";
225
+ "rebuild.stats": "rebuild.stats";
233
226
  "validate.stats": "validate.stats";
234
227
  "verify.sportHallOfFame": "verify.sportHallOfFame";
235
228
  "delete.v1HallOfFame": "delete.v1HallOfFame";
@@ -244,7 +237,6 @@ export declare const MigrationActionRunSchema: z.ZodObject<{
244
237
  run: z.ZodOptional<z.ZodObject<{
245
238
  operationId: z.ZodString;
246
239
  dryRun: z.ZodBoolean;
247
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
248
240
  startedByUserId: z.ZodString;
249
241
  startedAt: z.ZodNumber;
250
242
  updatedAt: z.ZodNumber;
@@ -279,7 +271,6 @@ export declare const MigrationActionRunSchema: z.ZodObject<{
279
271
  preview: z.ZodOptional<z.ZodObject<{
280
272
  operationId: z.ZodString;
281
273
  dryRun: z.ZodBoolean;
282
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
283
274
  startedByUserId: z.ZodString;
284
275
  startedAt: z.ZodNumber;
285
276
  updatedAt: z.ZodNumber;
@@ -314,8 +305,7 @@ export declare const MigrationActionRunSchema: z.ZodObject<{
314
305
  recorded: z.ZodOptional<z.ZodObject<{
315
306
  recordedAt: z.ZodNumber;
316
307
  recordedByUserId: z.ZodString;
317
- operationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
- evidence: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
308
+ statsJobId: z.ZodOptional<z.ZodString>;
319
309
  }, z.core.$strip>>;
320
310
  }, z.core.$strip>;
321
311
  export type MigrationActionRun = z.infer<typeof MigrationActionRunSchema>;
@@ -394,9 +384,7 @@ export declare const MigrationConsoleLockSchema: z.ZodObject<{
394
384
  "verify.v1LeagueCapacity": "verify.v1LeagueCapacity";
395
385
  "verify.v1HardwareContractIdsUnique": "verify.v1HardwareContractIdsUnique";
396
386
  "delete.v1Commerce": "delete.v1Commerce";
397
- "rebuild.leagueStats": "rebuild.leagueStats";
398
- "rebuild.lifetimeStats": "rebuild.lifetimeStats";
399
- "rebuild.sportHallOfFame": "rebuild.sportHallOfFame";
387
+ "rebuild.stats": "rebuild.stats";
400
388
  "validate.stats": "validate.stats";
401
389
  "verify.sportHallOfFame": "verify.sportHallOfFame";
402
390
  "delete.v1HallOfFame": "delete.v1HallOfFame";
@@ -496,9 +484,7 @@ export declare const MigrationConsoleSchema: z.ZodObject<{
496
484
  "verify.v1LeagueCapacity": "verify.v1LeagueCapacity";
497
485
  "verify.v1HardwareContractIdsUnique": "verify.v1HardwareContractIdsUnique";
498
486
  "delete.v1Commerce": "delete.v1Commerce";
499
- "rebuild.leagueStats": "rebuild.leagueStats";
500
- "rebuild.lifetimeStats": "rebuild.lifetimeStats";
501
- "rebuild.sportHallOfFame": "rebuild.sportHallOfFame";
487
+ "rebuild.stats": "rebuild.stats";
502
488
  "validate.stats": "validate.stats";
503
489
  "verify.sportHallOfFame": "verify.sportHallOfFame";
504
490
  "delete.v1HallOfFame": "delete.v1HallOfFame";
@@ -1 +1 @@
1
- {"version":3,"file":"migration-console.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/migration-console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmC,CAAC;AACxE,eAAO,MAAM,+BAA+B;;;EAA2C,CAAC;AACxF,eAAO,MAAM,0BAA0B,aAA0B,CAAC;AAClE,eAAO,MAAM,uBAAuB,wDAA4C,CAAC;AAIjF,eAAO,MAAM,sB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nC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -1,13 +1,10 @@
1
1
  import { z } from 'zod';
2
- import { MIGRATION_EVIDENCE_INPUT } from '../constants/text-fields.js';
3
2
  import { MIGRATION_ACTION_ID_KEYS } from '../migration-console/action-ids.js';
4
3
  import { MAX_MIGRATION_FINDING_TEXT_LENGTH, MAX_MIGRATION_RUN_FINDINGS, MIGRATION_DESTINATION_STATE_KEYS, MIGRATION_RUN_STATUS_KEYS, } from '../migration-console/run-state.js';
5
- import { countSchema, documentIdSegmentSchema, epochMsSchema, repairReasonSchema, statsOperationIdSchema, userIdSchema, } from './atoms.js';
6
- import { textFieldSchema } from '../schemas/text-field.js';
4
+ import { countSchema, documentIdSegmentSchema, epochMsSchema, userIdSchema } from './atoms.js';
7
5
  export const migrationActionIdSchema = z.enum(MIGRATION_ACTION_ID_KEYS);
8
6
  export const migrationDestinationStateSchema = z.enum(MIGRATION_DESTINATION_STATE_KEYS);
9
7
  export const migrationOperationIdSchema = documentIdSegmentSchema;
10
- export const migrationEvidenceSchema = textFieldSchema(MIGRATION_EVIDENCE_INPUT);
11
8
  const findingText = z.string().max(MAX_MIGRATION_FINDING_TEXT_LENGTH);
12
9
  export const MigrationFindingSchema = z.object({
13
10
  category: z.string().min(1).max(64),
@@ -26,7 +23,6 @@ export const MigrationRunCountsSchema = z.object({
26
23
  export const MigrationRunRecordSchema = z.object({
27
24
  operationId: migrationOperationIdSchema,
28
25
  dryRun: z.boolean(),
29
- reason: repairReasonSchema,
30
26
  startedByUserId: userIdSchema,
31
27
  startedAt: epochMsSchema,
32
28
  updatedAt: epochMsSchema,
@@ -45,8 +41,7 @@ export const MigrationRunRecordSchema = z.object({
45
41
  export const MigrationStepRecordSchema = z.object({
46
42
  recordedAt: epochMsSchema,
47
43
  recordedByUserId: userIdSchema,
48
- operationIds: z.array(statsOperationIdSchema).optional(),
49
- evidence: migrationEvidenceSchema,
44
+ statsJobId: z.string().min(1).optional(),
50
45
  });
51
46
  export const MigrationActionRunSchema = z.object({
52
47
  actionId: migrationActionIdSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"migration-console.js","sourceRoot":"","sources":["../../src/doc-schemas/migration-console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EACL,iCAAiC,EACjC,0BAA0B,EAC1B,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;AACxE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC,gC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YAAY,CAAC,QAAQ,EAAE;IAChD,IAAI,EAAE,0BAA0B,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,aAAa;CACzB,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { MIGRATION_EVIDENCE_INPUT } from '../constants/text-fields.js';\nimport { MIGRATION_ACTION_ID_KEYS } from '../migration-console/action-ids.js';\nimport {\n MAX_MIGRATION_FINDING_TEXT_LENGTH,\n MAX_MIGRATION_RUN_FINDINGS,\n MIGRATION_DESTINATION_STATE_KEYS,\n MIGRATION_RUN_STATUS_KEYS,\n} from '../migration-console/run-state.js';\nimport {\n countSchema,\n documentIdSegmentSchema,\n epochMsSchema,\n repairReasonSchema,\n statsOperationIdSchema,\n userIdSchema,\n} from './atoms.js';\nimport { textFieldSchema } from '../schemas/text-field.js';\n\nexport const migrationActionIdSchema = z.enum(MIGRATION_ACTION_ID_KEYS);\nexport const migrationDestinationStateSchema = z.enum(MIGRATION_DESTINATION_STATE_KEYS);\nexport const migrationOperationIdSchema = documentIdSegmentSchema;\nexport const migrationEvidenceSchema = textFieldSchema(MIGRATION_EVIDENCE_INPUT);\n\nconst findingText = z.string().max(MAX_MIGRATION_FINDING_TEXT_LENGTH);\n\nexport const MigrationFindingSchema = z.object({\n category: z.string().min(1).max(64),\n id: findingText,\n field: findingText,\n reason: findingText,\n});\nexport type MigrationFinding = z.infer<typeof MigrationFindingSchema>;\n\nexport const MigrationRunCountsSchema = z.object({\n read: countSchema,\n written: countSchema,\n skipped: countSchema,\n checked: countSchema,\n missing: countSchema,\n mismatched: countSchema,\n});\nexport type MigrationRunCounts = z.infer<typeof MigrationRunCountsSchema>;\n\nexport const MigrationRunRecordSchema = z.object({\n operationId: migrationOperationIdSchema,\n dryRun: z.boolean(),\n reason: repairReasonSchema,\n startedByUserId: userIdSchema,\n startedAt: epochMsSchema,\n updatedAt: epochMsSchema,\n completedAt: epochMsSchema.optional(),\n status: z.enum(MIGRATION_RUN_STATUS_KEYS),\n pages: countSchema,\n nextResumeAfter: z.string().min(1).nullable(),\n counts: MigrationRunCountsSchema,\n details: z.record(z.string().min(1), countSchema),\n findings: z.array(MigrationFindingSchema).max(MAX_MIGRATION_RUN_FINDINGS),\n findingsNotKept: countSchema,\n expectEmptySource: z.boolean(),\n acknowledgeUnexaminedSources: z.boolean().optional(),\n stoppedReason: findingText.optional(),\n});\nexport type MigrationRunRecord = z.infer<typeof MigrationRunRecordSchema>;\n\nexport const MigrationStepRecordSchema = z.object({\n recordedAt: epochMsSchema,\n recordedByUserId: userIdSchema,\n operationIds: z.array(statsOperationIdSchema).optional(),\n evidence: migrationEvidenceSchema,\n});\nexport type MigrationStepRecord = z.infer<typeof MigrationStepRecordSchema>;\n\nexport const MigrationActionRunSchema = z.object({\n actionId: migrationActionIdSchema,\n run: MigrationRunRecordSchema.optional(),\n preview: MigrationRunRecordSchema.optional(),\n recorded: MigrationStepRecordSchema.optional(),\n});\nexport type MigrationActionRun = z.infer<typeof MigrationActionRunSchema>;\n\nexport const MigrationConsoleLockSchema = z.object({\n actionId: migrationActionIdSchema,\n operationId: migrationOperationIdSchema,\n heldByUserId: userIdSchema,\n expiresAt: epochMsSchema,\n pageClaimedAt: epochMsSchema.optional(),\n});\nexport type MigrationConsoleLock = z.infer<typeof MigrationConsoleLockSchema>;\n\nexport const MigrationConsoleSchema = z.object({\n destinationState: migrationDestinationStateSchema,\n cutoverRecordedAt: epochMsSchema.optional(),\n cutoverRecordedByUserId: userIdSchema.optional(),\n lock: MigrationConsoleLockSchema.nullable(),\n updatedAt: epochMsSchema,\n});\nexport type MigrationConsole = z.infer<typeof MigrationConsoleSchema>;\n"]}
1
+ {"version":3,"file":"migration-console.js","sourceRoot":"","sources":["../../src/doc-schemas/migration-console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EACL,iCAAiC,EACjC,0BAA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,EAAE;CACxC,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,gBAAgB,EAAE,+BAA+B;IACjD,iBAAiB,EAAE,aAAa,CAAC,QAAQ,EAAE;IAC3C,uBAAuB,EAAE,YAAY,CAAC,QAAQ,EAAE;IAChD,IAAI,EAAE,0BAA0B,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,aAAa;CACzB,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { MIGRATION_ACTION_ID_KEYS } from '../migration-console/action-ids.js';\nimport {\n MAX_MIGRATION_FINDING_TEXT_LENGTH,\n MAX_MIGRATION_RUN_FINDINGS,\n MIGRATION_DESTINATION_STATE_KEYS,\n MIGRATION_RUN_STATUS_KEYS,\n} from '../migration-console/run-state.js';\nimport { countSchema, documentIdSegmentSchema, epochMsSchema, userIdSchema } from './atoms.js';\n\nexport const migrationActionIdSchema = z.enum(MIGRATION_ACTION_ID_KEYS);\nexport const migrationDestinationStateSchema = z.enum(MIGRATION_DESTINATION_STATE_KEYS);\nexport const migrationOperationIdSchema = documentIdSegmentSchema;\n\nconst findingText = z.string().max(MAX_MIGRATION_FINDING_TEXT_LENGTH);\n\nexport const MigrationFindingSchema = z.object({\n category: z.string().min(1).max(64),\n id: findingText,\n field: findingText,\n reason: findingText,\n});\nexport type MigrationFinding = z.infer<typeof MigrationFindingSchema>;\n\nexport const MigrationRunCountsSchema = z.object({\n read: countSchema,\n written: countSchema,\n skipped: countSchema,\n checked: countSchema,\n missing: countSchema,\n mismatched: countSchema,\n});\nexport type MigrationRunCounts = z.infer<typeof MigrationRunCountsSchema>;\n\nexport const MigrationRunRecordSchema = z.object({\n operationId: migrationOperationIdSchema,\n dryRun: z.boolean(),\n startedByUserId: userIdSchema,\n startedAt: epochMsSchema,\n updatedAt: epochMsSchema,\n completedAt: epochMsSchema.optional(),\n status: z.enum(MIGRATION_RUN_STATUS_KEYS),\n pages: countSchema,\n nextResumeAfter: z.string().min(1).nullable(),\n counts: MigrationRunCountsSchema,\n details: z.record(z.string().min(1), countSchema),\n findings: z.array(MigrationFindingSchema).max(MAX_MIGRATION_RUN_FINDINGS),\n findingsNotKept: countSchema,\n expectEmptySource: z.boolean(),\n acknowledgeUnexaminedSources: z.boolean().optional(),\n stoppedReason: findingText.optional(),\n});\nexport type MigrationRunRecord = z.infer<typeof MigrationRunRecordSchema>;\n\nexport const MigrationStepRecordSchema = z.object({\n recordedAt: epochMsSchema,\n recordedByUserId: userIdSchema,\n statsJobId: z.string().min(1).optional(),\n});\nexport type MigrationStepRecord = z.infer<typeof MigrationStepRecordSchema>;\n\nexport const MigrationActionRunSchema = z.object({\n actionId: migrationActionIdSchema,\n run: MigrationRunRecordSchema.optional(),\n preview: MigrationRunRecordSchema.optional(),\n recorded: MigrationStepRecordSchema.optional(),\n});\nexport type MigrationActionRun = z.infer<typeof MigrationActionRunSchema>;\n\nexport const MigrationConsoleLockSchema = z.object({\n actionId: migrationActionIdSchema,\n operationId: migrationOperationIdSchema,\n heldByUserId: userIdSchema,\n expiresAt: epochMsSchema,\n pageClaimedAt: epochMsSchema.optional(),\n});\nexport type MigrationConsoleLock = z.infer<typeof MigrationConsoleLockSchema>;\n\nexport const MigrationConsoleSchema = z.object({\n destinationState: migrationDestinationStateSchema,\n cutoverRecordedAt: epochMsSchema.optional(),\n cutoverRecordedByUserId: userIdSchema.optional(),\n lock: MigrationConsoleLockSchema.nullable(),\n updatedAt: epochMsSchema,\n});\nexport type MigrationConsole = z.infer<typeof MigrationConsoleSchema>;\n"]}
@@ -268,27 +268,23 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
268
268
  }, z.core.$strip>, z.ZodObject<{
269
269
  type: z.ZodLiteral<"sportLeague.statsRecalculated">;
270
270
  ids: z.ZodObject<{
271
- leagueId: z.ZodOptional<z.ZodString>;
271
+ leagueId: z.ZodString;
272
272
  }, z.core.$strip>;
273
273
  }, z.core.$strip>, z.ZodObject<{
274
274
  type: z.ZodLiteral<"userProfile.statsRecalculated">;
275
275
  ids: z.ZodObject<{
276
- userId: z.ZodOptional<z.ZodString>;
276
+ userId: z.ZodString;
277
277
  }, z.core.$strip>;
278
278
  }, z.core.$strip>, z.ZodObject<{
279
- type: z.ZodLiteral<"sportHallOfFame.recalculated">;
279
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
280
280
  ids: z.ZodObject<{
281
- sportKey: z.ZodOptional<z.ZodEnum<{
282
- basketball: "basketball";
283
- curling: "curling";
284
- football: "football";
285
- }>>;
281
+ leagueId: z.ZodString;
282
+ gameId: z.ZodString;
286
283
  }, z.core.$strip>;
287
284
  }, z.core.$strip>, z.ZodObject<{
288
- type: z.ZodLiteral<"sportGame.statsCorrected">;
285
+ type: z.ZodLiteral<"statsJob.created">;
289
286
  ids: z.ZodObject<{
290
- leagueId: z.ZodString;
291
- gameId: z.ZodString;
287
+ jobId: z.ZodString;
292
288
  }, z.core.$strip>;
293
289
  }, z.core.$strip>, z.ZodObject<{
294
290
  type: z.ZodLiteral<"statsValidationReport.created">;
@@ -812,27 +808,23 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
812
808
  }, z.core.$strip>, z.ZodObject<{
813
809
  type: z.ZodLiteral<"sportLeague.statsRecalculated">;
814
810
  ids: z.ZodObject<{
815
- leagueId: z.ZodOptional<z.ZodString>;
811
+ leagueId: z.ZodString;
816
812
  }, z.core.$strip>;
817
813
  }, z.core.$strip>, z.ZodObject<{
818
814
  type: z.ZodLiteral<"userProfile.statsRecalculated">;
819
815
  ids: z.ZodObject<{
820
- userId: z.ZodOptional<z.ZodString>;
816
+ userId: z.ZodString;
821
817
  }, z.core.$strip>;
822
818
  }, z.core.$strip>, z.ZodObject<{
823
- type: z.ZodLiteral<"sportHallOfFame.recalculated">;
819
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
824
820
  ids: z.ZodObject<{
825
- sportKey: z.ZodOptional<z.ZodEnum<{
826
- basketball: "basketball";
827
- curling: "curling";
828
- football: "football";
829
- }>>;
821
+ leagueId: z.ZodString;
822
+ gameId: z.ZodString;
830
823
  }, z.core.$strip>;
831
824
  }, z.core.$strip>, z.ZodObject<{
832
- type: z.ZodLiteral<"sportGame.statsCorrected">;
825
+ type: z.ZodLiteral<"statsJob.created">;
833
826
  ids: z.ZodObject<{
834
- leagueId: z.ZodString;
835
- gameId: z.ZodString;
827
+ jobId: z.ZodString;
836
828
  }, z.core.$strip>;
837
829
  }, z.core.$strip>, z.ZodObject<{
838
830
  type: z.ZodLiteral<"statsValidationReport.created">;
@@ -1373,27 +1365,23 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
1373
1365
  }, z.core.$strip>, z.ZodObject<{
1374
1366
  type: z.ZodLiteral<"sportLeague.statsRecalculated">;
1375
1367
  ids: z.ZodObject<{
1376
- leagueId: z.ZodOptional<z.ZodString>;
1368
+ leagueId: z.ZodString;
1377
1369
  }, z.core.$strip>;
1378
1370
  }, z.core.$strip>, z.ZodObject<{
1379
1371
  type: z.ZodLiteral<"userProfile.statsRecalculated">;
1380
1372
  ids: z.ZodObject<{
1381
- userId: z.ZodOptional<z.ZodString>;
1373
+ userId: z.ZodString;
1382
1374
  }, z.core.$strip>;
1383
1375
  }, z.core.$strip>, z.ZodObject<{
1384
- type: z.ZodLiteral<"sportHallOfFame.recalculated">;
1376
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
1385
1377
  ids: z.ZodObject<{
1386
- sportKey: z.ZodOptional<z.ZodEnum<{
1387
- basketball: "basketball";
1388
- curling: "curling";
1389
- football: "football";
1390
- }>>;
1378
+ leagueId: z.ZodString;
1379
+ gameId: z.ZodString;
1391
1380
  }, z.core.$strip>;
1392
1381
  }, z.core.$strip>, z.ZodObject<{
1393
- type: z.ZodLiteral<"sportGame.statsCorrected">;
1382
+ type: z.ZodLiteral<"statsJob.created">;
1394
1383
  ids: z.ZodObject<{
1395
- leagueId: z.ZodString;
1396
- gameId: z.ZodString;
1384
+ jobId: z.ZodString;
1397
1385
  }, z.core.$strip>;
1398
1386
  }, z.core.$strip>, z.ZodObject<{
1399
1387
  type: z.ZodLiteral<"statsValidationReport.created">;
@@ -1963,27 +1951,23 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1963
1951
  }, z.core.$strip>, z.ZodObject<{
1964
1952
  type: z.ZodLiteral<"sportLeague.statsRecalculated">;
1965
1953
  ids: z.ZodObject<{
1966
- leagueId: z.ZodOptional<z.ZodString>;
1954
+ leagueId: z.ZodString;
1967
1955
  }, z.core.$strip>;
1968
1956
  }, z.core.$strip>, z.ZodObject<{
1969
1957
  type: z.ZodLiteral<"userProfile.statsRecalculated">;
1970
1958
  ids: z.ZodObject<{
1971
- userId: z.ZodOptional<z.ZodString>;
1959
+ userId: z.ZodString;
1972
1960
  }, z.core.$strip>;
1973
1961
  }, z.core.$strip>, z.ZodObject<{
1974
- type: z.ZodLiteral<"sportHallOfFame.recalculated">;
1962
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
1975
1963
  ids: z.ZodObject<{
1976
- sportKey: z.ZodOptional<z.ZodEnum<{
1977
- basketball: "basketball";
1978
- curling: "curling";
1979
- football: "football";
1980
- }>>;
1964
+ leagueId: z.ZodString;
1965
+ gameId: z.ZodString;
1981
1966
  }, z.core.$strip>;
1982
1967
  }, z.core.$strip>, z.ZodObject<{
1983
- type: z.ZodLiteral<"sportGame.statsCorrected">;
1968
+ type: z.ZodLiteral<"statsJob.created">;
1984
1969
  ids: z.ZodObject<{
1985
- leagueId: z.ZodString;
1986
- gameId: z.ZodString;
1970
+ jobId: z.ZodString;
1987
1971
  }, z.core.$strip>;
1988
1972
  }, z.core.$strip>, z.ZodObject<{
1989
1973
  type: z.ZodLiteral<"statsValidationReport.created">;
@@ -2522,27 +2506,23 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2522
2506
  }, z.core.$strip>, z.ZodObject<{
2523
2507
  type: z.ZodLiteral<"sportLeague.statsRecalculated">;
2524
2508
  ids: z.ZodObject<{
2525
- leagueId: z.ZodOptional<z.ZodString>;
2509
+ leagueId: z.ZodString;
2526
2510
  }, z.core.$strip>;
2527
2511
  }, z.core.$strip>, z.ZodObject<{
2528
2512
  type: z.ZodLiteral<"userProfile.statsRecalculated">;
2529
2513
  ids: z.ZodObject<{
2530
- userId: z.ZodOptional<z.ZodString>;
2514
+ userId: z.ZodString;
2531
2515
  }, z.core.$strip>;
2532
2516
  }, z.core.$strip>, z.ZodObject<{
2533
- type: z.ZodLiteral<"sportHallOfFame.recalculated">;
2517
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
2534
2518
  ids: z.ZodObject<{
2535
- sportKey: z.ZodOptional<z.ZodEnum<{
2536
- basketball: "basketball";
2537
- curling: "curling";
2538
- football: "football";
2539
- }>>;
2519
+ leagueId: z.ZodString;
2520
+ gameId: z.ZodString;
2540
2521
  }, z.core.$strip>;
2541
2522
  }, z.core.$strip>, z.ZodObject<{
2542
- type: z.ZodLiteral<"sportGame.statsCorrected">;
2523
+ type: z.ZodLiteral<"statsJob.created">;
2543
2524
  ids: z.ZodObject<{
2544
- leagueId: z.ZodString;
2545
- gameId: z.ZodString;
2525
+ jobId: z.ZodString;
2546
2526
  }, z.core.$strip>;
2547
2527
  }, z.core.$strip>, z.ZodObject<{
2548
2528
  type: z.ZodLiteral<"statsValidationReport.created">;
@@ -1 +1 @@
1
- {"version":3,"file":"pending-media.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/pending-media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,gBAAgB;;;;;;;;EAA2B,CAAC;AACzD,eAAO,MAAM,mBAAmB;;;;;;EAA8B,CAAC;AAE/D,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO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