@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.
Files changed (190) hide show
  1. package/dist/constants/sports.d.ts +0 -13
  2. package/dist/constants/sports.d.ts.map +1 -1
  3. package/dist/constants/sports.js +0 -13
  4. package/dist/constants/sports.js.map +1 -1
  5. package/dist/constants/text-fields.d.ts +0 -6
  6. package/dist/constants/text-fields.d.ts.map +1 -1
  7. package/dist/constants/text-fields.js +0 -6
  8. package/dist/constants/text-fields.js.map +1 -1
  9. package/dist/doc-schemas/admin-notifications.d.ts +1 -1
  10. package/dist/doc-schemas/atoms.d.ts.map +1 -1
  11. package/dist/doc-schemas/atoms.js +1 -1
  12. package/dist/doc-schemas/atoms.js.map +1 -1
  13. package/dist/doc-schemas/audit-event.d.ts +124 -122
  14. package/dist/doc-schemas/audit-event.d.ts.map +1 -1
  15. package/dist/doc-schemas/game-stat-history.d.ts +0 -1
  16. package/dist/doc-schemas/game-stat-history.d.ts.map +1 -1
  17. package/dist/doc-schemas/game-stats.d.ts +0 -2
  18. package/dist/doc-schemas/game-stats.d.ts.map +1 -1
  19. package/dist/doc-schemas/game-stats.js +1 -2
  20. package/dist/doc-schemas/game-stats.js.map +1 -1
  21. package/dist/doc-schemas/index.d.ts +2 -1
  22. package/dist/doc-schemas/index.d.ts.map +1 -1
  23. package/dist/doc-schemas/index.js +2 -1
  24. package/dist/doc-schemas/index.js.map +1 -1
  25. package/dist/doc-schemas/migration-console.d.ts +6 -20
  26. package/dist/doc-schemas/migration-console.d.ts.map +1 -1
  27. package/dist/doc-schemas/migration-console.js +2 -7
  28. package/dist/doc-schemas/migration-console.js.map +1 -1
  29. package/dist/doc-schemas/pending-media.d.ts +725 -165
  30. package/dist/doc-schemas/pending-media.d.ts.map +1 -1
  31. package/dist/doc-schemas/registry.d.ts +385 -292
  32. package/dist/doc-schemas/registry.d.ts.map +1 -1
  33. package/dist/doc-schemas/registry.js +3 -2
  34. package/dist/doc-schemas/registry.js.map +1 -1
  35. package/dist/doc-schemas/stats-changes.d.ts +21 -0
  36. package/dist/doc-schemas/stats-changes.d.ts.map +1 -0
  37. package/dist/doc-schemas/stats-changes.js +19 -0
  38. package/dist/doc-schemas/stats-changes.js.map +1 -0
  39. package/dist/doc-schemas/stats-job.d.ts +36 -0
  40. package/dist/doc-schemas/stats-job.d.ts.map +1 -0
  41. package/dist/doc-schemas/stats-job.js +26 -0
  42. package/dist/doc-schemas/stats-job.js.map +1 -0
  43. package/dist/doc-schemas/system.d.ts +1 -1
  44. package/dist/doc-schemas/system.d.ts.map +1 -1
  45. package/dist/doc-schemas/system.js +2 -2
  46. package/dist/doc-schemas/system.js.map +1 -1
  47. package/dist/domain-events/domain-events.d.ts +337 -91
  48. package/dist/domain-events/domain-events.d.ts.map +1 -1
  49. package/dist/domain-events/domain-events.js +189 -83
  50. package/dist/domain-events/domain-events.js.map +1 -1
  51. package/dist/ids/index.d.ts +2 -0
  52. package/dist/ids/index.d.ts.map +1 -1
  53. package/dist/ids/index.js +2 -0
  54. package/dist/ids/index.js.map +1 -1
  55. package/dist/ids/notification-ids.d.ts +2 -4
  56. package/dist/ids/notification-ids.d.ts.map +1 -1
  57. package/dist/ids/notification-ids.js +3 -12
  58. package/dist/ids/notification-ids.js.map +1 -1
  59. package/dist/ids/request-job-ids.d.ts +7 -0
  60. package/dist/ids/request-job-ids.d.ts.map +1 -0
  61. package/dist/ids/request-job-ids.js +18 -0
  62. package/dist/ids/request-job-ids.js.map +1 -0
  63. package/dist/ids/stats-ids.d.ts +7 -0
  64. package/dist/ids/stats-ids.d.ts.map +1 -0
  65. package/dist/ids/stats-ids.js +17 -0
  66. package/dist/ids/stats-ids.js.map +1 -0
  67. package/dist/migration-console/action-ids.d.ts +1 -3
  68. package/dist/migration-console/action-ids.d.ts.map +1 -1
  69. package/dist/migration-console/action-ids.js +1 -3
  70. package/dist/migration-console/action-ids.js.map +1 -1
  71. package/dist/migration-console/manifest.d.ts +5 -5
  72. package/dist/migration-console/manifest.d.ts.map +1 -1
  73. package/dist/migration-console/manifest.js +19 -49
  74. package/dist/migration-console/manifest.js.map +1 -1
  75. package/dist/paths/collection-refs.d.ts +1 -1
  76. package/dist/paths/collection-refs.d.ts.map +1 -1
  77. package/dist/paths/collection-refs.js +1 -1
  78. package/dist/paths/collection-refs.js.map +1 -1
  79. package/dist/paths/collections.d.ts +15 -1
  80. package/dist/paths/collections.d.ts.map +1 -1
  81. package/dist/paths/collections.js +29 -1
  82. package/dist/paths/collections.js.map +1 -1
  83. package/dist/paths/path-builders.d.ts +1 -1
  84. package/dist/paths/path-builders.d.ts.map +1 -1
  85. package/dist/paths/path-builders.js +1 -4
  86. package/dist/paths/path-builders.js.map +1 -1
  87. package/dist/schemas/account-settings.d.ts +4 -4
  88. package/dist/schemas/account-settings.d.ts.map +1 -1
  89. package/dist/schemas/account-settings.js +2 -2
  90. package/dist/schemas/account-settings.js.map +1 -1
  91. package/dist/schemas/admin-notifications.d.ts +13 -13
  92. package/dist/schemas/admin-notifications.d.ts.map +1 -1
  93. package/dist/schemas/admin-notifications.js +8 -6
  94. package/dist/schemas/admin-notifications.js.map +1 -1
  95. package/dist/schemas/admin-stats.d.ts +6 -6
  96. package/dist/schemas/admin-stats.d.ts.map +1 -1
  97. package/dist/schemas/admin-stats.js +3 -3
  98. package/dist/schemas/admin-stats.js.map +1 -1
  99. package/dist/schemas/app-config.d.ts +4 -4
  100. package/dist/schemas/app-config.d.ts.map +1 -1
  101. package/dist/schemas/app-config.js +2 -2
  102. package/dist/schemas/app-config.js.map +1 -1
  103. package/dist/schemas/awards.d.ts +8 -8
  104. package/dist/schemas/awards.d.ts.map +1 -1
  105. package/dist/schemas/awards.js +4 -4
  106. package/dist/schemas/awards.js.map +1 -1
  107. package/dist/schemas/dead-letters.d.ts +15 -9
  108. package/dist/schemas/dead-letters.d.ts.map +1 -1
  109. package/dist/schemas/dead-letters.js +6 -5
  110. package/dist/schemas/dead-letters.js.map +1 -1
  111. package/dist/schemas/hardware-loan-contracts.d.ts +8 -8
  112. package/dist/schemas/hardware-loan-contracts.d.ts.map +1 -1
  113. package/dist/schemas/hardware-loan-contracts.js +4 -4
  114. package/dist/schemas/hardware-loan-contracts.js.map +1 -1
  115. package/dist/schemas/leagues.d.ts +4 -4
  116. package/dist/schemas/leagues.d.ts.map +1 -1
  117. package/dist/schemas/leagues.js +2 -2
  118. package/dist/schemas/leagues.js.map +1 -1
  119. package/dist/schemas/migration-console.d.ts +21 -62
  120. package/dist/schemas/migration-console.d.ts.map +1 -1
  121. package/dist/schemas/migration-console.js +5 -10
  122. package/dist/schemas/migration-console.js.map +1 -1
  123. package/dist/schemas/pictures.d.ts +447 -111
  124. package/dist/schemas/pictures.d.ts.map +1 -1
  125. package/dist/schemas/pictures.js +6 -6
  126. package/dist/schemas/pictures.js.map +1 -1
  127. package/dist/schemas/scoring.d.ts +22 -28
  128. package/dist/schemas/scoring.d.ts.map +1 -1
  129. package/dist/schemas/scoring.js +17 -13
  130. package/dist/schemas/scoring.js.map +1 -1
  131. package/dist/schemas/stats.d.ts +92 -127
  132. package/dist/schemas/stats.d.ts.map +1 -1
  133. package/dist/schemas/stats.js +50 -83
  134. package/dist/schemas/stats.js.map +1 -1
  135. package/dist/schemas/team-joining.d.ts +4 -4
  136. package/dist/schemas/team-joining.d.ts.map +1 -1
  137. package/dist/schemas/team-joining.js +2 -2
  138. package/dist/schemas/team-joining.js.map +1 -1
  139. package/dist/schemas/teams.d.ts +16 -16
  140. package/dist/schemas/teams.d.ts.map +1 -1
  141. package/dist/schemas/teams.js +8 -8
  142. package/dist/schemas/teams.js.map +1 -1
  143. package/dist/schemas/uploads.d.ts +12 -12
  144. package/dist/schemas/uploads.d.ts.map +1 -1
  145. package/dist/schemas/uploads.js +8 -6
  146. package/dist/schemas/uploads.js.map +1 -1
  147. package/dist/schemas/users.d.ts +28 -28
  148. package/dist/schemas/users.d.ts.map +1 -1
  149. package/dist/schemas/users.js +14 -14
  150. package/dist/schemas/users.js.map +1 -1
  151. package/dist/sports/basketball-scoring.d.ts.map +1 -1
  152. package/dist/sports/basketball-scoring.js +16 -7
  153. package/dist/sports/basketball-scoring.js.map +1 -1
  154. package/dist/sports/bulk-entry.d.ts +7 -2
  155. package/dist/sports/bulk-entry.d.ts.map +1 -1
  156. package/dist/sports/bulk-entry.js.map +1 -1
  157. package/dist/sports/football-scoring.d.ts.map +1 -1
  158. package/dist/sports/football-scoring.js +13 -10
  159. package/dist/sports/football-scoring.js.map +1 -1
  160. package/dist/sports/replay.d.ts.map +1 -1
  161. package/dist/sports/replay.js +16 -1
  162. package/dist/sports/replay.js.map +1 -1
  163. package/dist/sports/scoring.d.ts +18 -2
  164. package/dist/sports/scoring.d.ts.map +1 -1
  165. package/dist/sports/scoring.js.map +1 -1
  166. package/dist/sports/store-driver.d.ts +2 -1
  167. package/dist/sports/store-driver.d.ts.map +1 -1
  168. package/dist/sports/store-driver.js +30 -15
  169. package/dist/sports/store-driver.js.map +1 -1
  170. package/dist/types/audit.d.ts +1 -1
  171. package/dist/types/audit.d.ts.map +1 -1
  172. package/dist/types/audit.js +37 -36
  173. package/dist/types/audit.js.map +1 -1
  174. package/dist/types/stats.d.ts +13 -13
  175. package/dist/types/stats.d.ts.map +1 -1
  176. package/dist/types/stats.js +13 -33
  177. package/dist/types/stats.js.map +1 -1
  178. package/dist/utils/index.d.ts +0 -1
  179. package/dist/utils/index.d.ts.map +1 -1
  180. package/dist/utils/index.js +0 -1
  181. package/dist/utils/index.js.map +1 -1
  182. package/package.json +1 -1
  183. package/dist/doc-schemas/stats-operation.d.ts +0 -348
  184. package/dist/doc-schemas/stats-operation.d.ts.map +0 -1
  185. package/dist/doc-schemas/stats-operation.js +0 -92
  186. package/dist/doc-schemas/stats-operation.js.map +0 -1
  187. package/dist/utils/stats-operation-request.d.ts +0 -20
  188. package/dist/utils/stats-operation-request.d.ts.map +0 -1
  189. package/dist/utils/stats-operation-request.js +0 -10
  190. package/dist/utils/stats-operation-request.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/types/audit.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,wBAAwB;IACxB,yBAAyB;IACzB,mCAAmC;IACnC,eAAe;IACf,6BAA6B;IAC7B,oBAAoB;IACpB,sBAAsB;IACtB,yBAAyB;IACzB,yBAAyB;IACzB,6BAA6B;IAC7B,mBAAmB;IACnB,qBAAqB;IACrB,gBAAgB;IAChB,gBAAgB;IAChB,sBAAsB;IACtB,qBAAqB;IACrB,wBAAwB;IACxB,iCAAiC;IACjC,wBAAwB;IACxB,wBAAwB;IACxB,sBAAsB;IACtB,sBAAsB;IACtB,sBAAsB;IACtB,eAAe;IACf,kBAAkB;IAClB,eAAe;IACf,yBAAyB;IACzB,iBAAiB;IACjB,eAAe;IACf,qBAAqB;IACrB,eAAe;IACf,eAAe;IACf,eAAe;IACf,2BAA2B;IAC3B,8BAA8B;IAC9B,6BAA6B;IAC7B,+BAA+B;IAC/B,8BAA8B;IAC9B,oBAAoB;IACpB,qBAAqB;IACrB,4BAA4B;IAC5B,2BAA2B;IAC3B,oBAAoB;IACpB,2BAA2B;IAC3B,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,gCAAgC;IAChC,oBAAoB;IACpB,wBAAwB;IACxB,0BAA0B;IAC1B,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,2BAA2B;IAC3B,0BAA0B;IAC1B,0BAA0B;IAC1B,yBAAyB;IACzB,yBAAyB;IACzB,0BAA0B;IAC1B,sBAAsB;IACtB,sBAAsB;IACtB,sBAAsB;IACtB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,8BAA8B;IAC9B,0BAA0B;IAC1B,uBAAuB;IACvB,2BAA2B;IAC3B,qBAAqB;IACrB,oBAAoB;IACpB,0BAA0B;IAC1B,6BAA6B;IAC7B,6BAA6B;IAC7B,8BAA8B;IAC9B,qBAAqB;IACrB,+BAA+B;IAC/B,kCAAkC;IAClC,4BAA4B;IAC5B,uCAAuC;IACvC,2BAA2B;IAC3B,yBAAyB;IACzB,iCAAiC;IACjC,iCAAiC;IACjC,oCAAoC;IACpC,kCAAkC;CAC1B,CAAC;AAGX,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,oBAAoB;IACpB,gCAAgC;CACY,CAAC;AAG/C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM;IACN,cAAc;IACd,aAAa;IACb,eAAe;IACf,QAAQ;CACA,CAAC;AAGX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,aAAa;IACb,eAAe;CAC6B,CAAC;AAG/C,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,MAAM;IACN,cAAc;IACd,QAAQ;CACoC,CAAC;AAG/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,SAAS,EAAE,cAAc,EAAE,WAAW,CAAU,CAAC;AAmB1F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,CAAU,CAAC","sourcesContent":["import type { SystemRole } from './unions.js';\nimport { CAPTAIN_TEAM_ROLES } from './unions.js';\n\nexport const AUDIT_EVENT_TYPE_KEYS = [\n 'user.accountRegistered',\n 'user.displayNameChanged',\n 'user.abandonedRegistrationDeleted',\n 'user.signedIn',\n 'user.passwordResetCompleted',\n 'user.accountBanned',\n 'user.accountUnbanned',\n 'admin.systemRoleGranted',\n 'admin.systemRoleRevoked',\n 'admin.systemRoleClaimSynced',\n 'appConfig.updated',\n 'landingPage.updated',\n 'league.created',\n 'league.updated',\n 'league.statusChanged',\n 'league.modeSwitched',\n 'waiverTemplate.created',\n 'waiverTemplate.versionPublished',\n 'waiverTemplate.retired',\n 'waiverTemplate.deleted',\n 'gameLocation.created',\n 'gameLocation.updated',\n 'gameLocation.deleted',\n 'picture.added',\n 'picture.replaced',\n 'picture.moved',\n 'picture.featuredChanged',\n 'picture.removed',\n 'award.created',\n 'award.badgeReplaced',\n 'award.deleted',\n 'award.granted',\n 'award.revoked',\n 'award.groupDecisionOpened',\n 'hardwareLoanContract.created',\n 'hardwareLoanContract.signed',\n 'hardwareLoanContract.returned',\n 'hardwareLoanContract.deleted',\n 'leagueTeam.created',\n 'ghostPlayer.created',\n 'teamMembership.roleChanged',\n 'leagueTeam.captainChanged',\n 'leagueTeam.updated',\n 'leagueTeamContact.updated',\n 'teamMembership.removed',\n 'ghostPlayer.removed',\n 'ghostPlayer.linked',\n 'ghostPlayer.closedLeagueLinked',\n 'leagueTeam.deleted',\n 'teamInvitation.created',\n 'teamInvitation.cancelled',\n 'teamInvitation.accepted',\n 'teamInvitation.rejected',\n 'teamJoinRequest.created',\n 'teamJoinRequest.cancelled',\n 'teamJoinRequest.accepted',\n 'teamJoinRequest.rejected',\n 'leagueFreeAgent.created',\n 'leagueFreeAgent.deleted',\n 'leagueFreeAgent.assigned',\n 'signedWaiver.created',\n 'scheduleWeek.created',\n 'scheduleWeek.updated',\n 'sportGame.created',\n 'sportGame.updated',\n 'sportGame.deleted',\n 'sportGame.statEventsRejected',\n 'sportGame.absenceChanged',\n 'sportGame.memoUpdated',\n 'sportGame.jumpBallChanged',\n 'sportGame.finalized',\n 'sportGame.reopened',\n 'sportGame.statsCorrected',\n 'sportGame.statsRecalculated',\n 'stats.aggregateRecalculated',\n 'stats.historicalStatsUpdated',\n 'stats.validationRun',\n 'stats.validationReportDeleted',\n 'stats.unrosteredStatLineResolved',\n 'adminNotification.archived',\n 'adminNotification.archiveAllRequested',\n 'system.manualIntervention',\n 'migrationAction.pageRun',\n 'migrationAction.writesCommitted',\n 'migrationAction.controlRecorded',\n 'migrationAction.checkpointRecorded',\n 'migrationConsole.cutoverRecorded',\n] as const;\nexport type AuditEventType = (typeof AUDIT_EVENT_TYPE_KEYS)[number];\n\nexport const GHOST_LINK_AUDIT_EVENT_TYPE_KEYS = [\n 'ghostPlayer.linked',\n 'ghostPlayer.closedLeagueLinked',\n] as const satisfies readonly AuditEventType[];\nexport type GhostLinkAuditEventType = (typeof GHOST_LINK_AUDIT_EVENT_TYPE_KEYS)[number];\n\nexport const AUDIT_ACTOR_MODE_KEYS = [\n 'user',\n 'teammateUser',\n 'adminReview',\n 'adminOverride',\n 'system',\n] as const;\nexport type AuditActorMode = (typeof AUDIT_ACTOR_MODE_KEYS)[number];\n\nexport const AUDIT_ADMIN_ACTOR_MODE_KEYS = [\n 'adminReview',\n 'adminOverride',\n] as const satisfies readonly AuditActorMode[];\nexport type AuditAdminActorMode = (typeof AUDIT_ADMIN_ACTOR_MODE_KEYS)[number];\n\nexport const AUDIT_NON_ADMIN_ACTOR_MODE_KEYS = [\n 'user',\n 'teammateUser',\n 'system',\n] as const satisfies readonly AuditActorMode[];\nexport type AuditNonAdminActorMode = (typeof AUDIT_NON_ADMIN_ACTOR_MODE_KEYS)[number];\n\nexport const AUDIT_SYSTEM_REASON_KEYS = ['trigger', 'scheduledJob', 'migration'] as const;\nexport type AuditSystemReason = (typeof AUDIT_SYSTEM_REASON_KEYS)[number];\n\nexport type CaptainTeamRole = (typeof CAPTAIN_TEAM_ROLES)[number];\n\nexport type AuditActor =\n | { uid: string | null; isAdmin: boolean; actorMode: AuditNonAdminActorMode; systemRole?: never }\n | {\n uid: string | null;\n isAdmin: boolean;\n actorMode: AuditAdminActorMode;\n systemRole: SystemRole;\n };\n\nexport interface AuditTarget {\n uid: string | null;\n ref: string | null;\n}\n\nexport const AUDIT_RESULT_KEYS = ['success', 'failure'] as const;\nexport type AuditResult = (typeof AUDIT_RESULT_KEYS)[number];\n"]}
1
+ {"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/types/audit.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,wBAAwB;IACxB,gCAAgC;IAChC,2BAA2B;IAC3B,sBAAsB;IACtB,2BAA2B;IAC3B,oBAAoB;IACpB,sBAAsB;IACtB,uBAAu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C,GAAG;IAC9C,oBAAoB;IACpB,gCAAgC;CACY,CAAC;AAG/C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM;IACN,cAAc;IACd,aAAa;IACb,eAAe;IACf,QAAQ;CACA,CAAC;AAGX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,aAAa;IACb,eAAe;CAC6B,CAAC;AAG/C,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,MAAM;IACN,cAAc;IACd,QAAQ;CACoC,CAAC;AAG/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,SAAS,EAAE,cAAc,EAAE,WAAW,CAAU,CAAC;AAmB1F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,CAAU,CAAC","sourcesContent":["import type { SystemRole } from './unions.js';\nimport { CAPTAIN_TEAM_ROLES } from './unions.js';\n\nexport const AUDIT_EVENT_TYPE_KEYS = [\n 'userProfile.registered',\n 'userProfile.displayNameChanged',\n 'registrationStart.deleted',\n 'userProfile.signedIn',\n 'userProfile.passwordReset',\n 'userProfile.banned',\n 'userProfile.unbanned',\n 'adminList.roleGranted',\n 'adminList.roleRevoked',\n 'adminList.claimSynced',\n 'appConfig.updated',\n 'landingPage.updated',\n 'sportLeague.created',\n 'sportLeague.updated',\n 'sportLeague.statusChanged',\n 'sportLeague.modeSwitched',\n 'waiverTemplate.created',\n 'waiverTemplate.versionPublished',\n 'waiverTemplate.retired',\n 'waiverTemplate.deleted',\n 'gameLocation.created',\n 'gameLocation.updated',\n 'gameLocation.deleted',\n 'galleryPicture.added',\n 'galleryPicture.replaced',\n 'galleryPicture.moved',\n 'galleryPicture.featuredChanged',\n 'galleryPicture.removed',\n 'awardDefinition.created',\n 'awardDefinition.badgeReplaced',\n 'awardDefinition.deleted',\n 'awardDefinition.granted',\n 'awardDefinition.revoked',\n 'award.groupDecisionOpened',\n 'hardwareLoanContract.created',\n 'hardwareLoanContract.signed',\n 'hardwareLoanContract.returned',\n 'hardwareLoanContract.deleted',\n 'leagueTeam.created',\n 'ghostPlayer.created',\n 'teamMembership.roleChanged',\n 'leagueTeam.captainChanged',\n 'leagueTeam.updated',\n 'leagueTeamContact.updated',\n 'teamMembership.removed',\n 'ghostPlayer.removed',\n 'ghostPlayer.linked',\n 'ghostPlayer.closedLeagueLinked',\n 'leagueTeam.deleted',\n 'teamInvitation.created',\n 'teamInvitation.cancelled',\n 'teamInvitation.accepted',\n 'teamInvitation.rejected',\n 'teamJoinRequest.created',\n 'teamJoinRequest.cancelled',\n 'teamJoinRequest.accepted',\n 'teamJoinRequest.rejected',\n 'leagueFreeAgent.created',\n 'leagueFreeAgent.deleted',\n 'leagueFreeAgent.assigned',\n 'signedWaiver.created',\n 'scheduleWeek.created',\n 'scheduleWeek.updated',\n 'sportGame.created',\n 'sportGame.updated',\n 'sportGame.deleted',\n 'sportGame.statEventsRejected',\n 'sportGame.absenceChanged',\n 'sportGame.memoUpdated',\n 'sportGame.jumpBallChanged',\n 'sportGame.finalized',\n 'sportGame.reopened',\n 'sportGame.statsRecalculated',\n 'sportLeague.statsRecalculated',\n 'userProfile.statsRecalculated',\n 'historicalStat.updated',\n 'statsJob.created',\n 'statsValidationReport.created',\n 'statsValidationReport.deleted',\n 'gameRosterPlayer.statLineResolved',\n 'adminNotification.archived',\n 'notificationArchiveAllJob.created',\n 'deadLetter.replayed',\n 'migrationActionRun.pageRun',\n 'migrationActionRun.writesCommitted',\n 'migrationActionRun.controlRecorded',\n 'migrationActionRun.checkpointRecorded',\n 'migrationConsole.cutoverRecorded',\n] as const;\nexport type AuditEventType = (typeof AUDIT_EVENT_TYPE_KEYS)[number];\n\nexport const GHOST_LINK_AUDIT_EVENT_TYPE_KEYS = [\n 'ghostPlayer.linked',\n 'ghostPlayer.closedLeagueLinked',\n] as const satisfies readonly AuditEventType[];\nexport type GhostLinkAuditEventType = (typeof GHOST_LINK_AUDIT_EVENT_TYPE_KEYS)[number];\n\nexport const AUDIT_ACTOR_MODE_KEYS = [\n 'user',\n 'teammateUser',\n 'adminReview',\n 'adminOverride',\n 'system',\n] as const;\nexport type AuditActorMode = (typeof AUDIT_ACTOR_MODE_KEYS)[number];\n\nexport const AUDIT_ADMIN_ACTOR_MODE_KEYS = [\n 'adminReview',\n 'adminOverride',\n] as const satisfies readonly AuditActorMode[];\nexport type AuditAdminActorMode = (typeof AUDIT_ADMIN_ACTOR_MODE_KEYS)[number];\n\nexport const AUDIT_NON_ADMIN_ACTOR_MODE_KEYS = [\n 'user',\n 'teammateUser',\n 'system',\n] as const satisfies readonly AuditActorMode[];\nexport type AuditNonAdminActorMode = (typeof AUDIT_NON_ADMIN_ACTOR_MODE_KEYS)[number];\n\nexport const AUDIT_SYSTEM_REASON_KEYS = ['trigger', 'scheduledJob', 'migration'] as const;\nexport type AuditSystemReason = (typeof AUDIT_SYSTEM_REASON_KEYS)[number];\n\nexport type CaptainTeamRole = (typeof CAPTAIN_TEAM_ROLES)[number];\n\nexport type AuditActor =\n | { uid: string | null; isAdmin: boolean; actorMode: AuditNonAdminActorMode; systemRole?: never }\n | {\n uid: string | null;\n isAdmin: boolean;\n actorMode: AuditAdminActorMode;\n systemRole: SystemRole;\n };\n\nexport interface AuditTarget {\n uid: string | null;\n ref: string | null;\n}\n\nexport const AUDIT_RESULT_KEYS = ['success', 'failure'] as const;\nexport type AuditResult = (typeof AUDIT_RESULT_KEYS)[number];\n"]}
@@ -15,15 +15,17 @@ export declare const TEAM_STAT_LINE_KIND_KEYS: readonly ["gameTeam", "teamSeason
15
15
  export declare const STAT_LINE_KIND_KEYS: readonly ["gamePlayer", "membershipRow", "lifetime", "hallOfFame", "gameTeam", "teamSeason"];
16
16
  export type StatLineKind = (typeof STAT_LINE_KIND_KEYS)[number];
17
17
  export type PlayerStatLineKind = (typeof PLAYER_STAT_LINE_KIND_KEYS)[number];
18
- export declare const STATS_OPERATION_KIND_KEYS: readonly ["leagueStatsRebuild", "lifetimeStatsRebuild", "hallOfFameRebuild", "statsValidation", "gameStatsCorrection", "gameStatsRecalculation", "historicalStatsUpdate"];
19
- export type StatsOperationKind = (typeof STATS_OPERATION_KIND_KEYS)[number];
20
- export declare const STATS_REBUILD_OPERATION_KIND_KEYS: readonly ["leagueStatsRebuild", "lifetimeStatsRebuild", "hallOfFameRebuild"];
21
- export type StatsRebuildOperationKind = (typeof STATS_REBUILD_OPERATION_KIND_KEYS)[number];
22
- export declare const STATS_OPERATION_STATUS_KEYS: readonly ["running", "complete", "stopped"];
23
- export type StatsOperationStatus = (typeof STATS_OPERATION_STATUS_KEYS)[number];
24
- export declare const STATS_VALIDATION_PHASE_KEYS: readonly ["games", "destinations"];
25
- export type StatsValidationPhase = (typeof STATS_VALIDATION_PHASE_KEYS)[number];
26
- export declare const STAT_EVENT_REFUSAL_KEYS: readonly ["eventTypeNotInSport", "teamNotInGame", "playerNotRostered", "assisterNotRostered", "assistNotAllowed", "playerNotAllowed", "roundNotNext", "roundsComplete", "bulkValueInvalid", "bulkStale", "eventIdConflict", "voidTargetNotSportEvent", "correctionNotAccepted", "undoBelowZero"];
18
+ export declare const STATS_JOB_KIND_KEYS: readonly ["rebuild", "check"];
19
+ export type StatsJobKind = (typeof STATS_JOB_KIND_KEYS)[number];
20
+ export declare const STATS_JOB_STATE_KEYS: readonly ["in-progress", "complete", "failed"];
21
+ export type StatsJobState = (typeof STATS_JOB_STATE_KEYS)[number];
22
+ export declare const STATS_JOB_STAGE_KEYS: readonly ["games", "leagues", "people", "hallOfFame"];
23
+ export type StatsJobStage = (typeof STATS_JOB_STAGE_KEYS)[number];
24
+ export declare const STATS_JOB_STAGES: {
25
+ readonly rebuild: readonly ["leagues", "people", "hallOfFame"];
26
+ readonly check: readonly ["games", "leagues", "people", "hallOfFame"];
27
+ };
28
+ export declare const STAT_EVENT_REFUSAL_KEYS: readonly ["eventTypeNotInSport", "teamNotInGame", "playerNotRostered", "assisterNotRostered", "assistNotAllowed", "playerNotAllowed", "roundNotNext", "roundsComplete", "bulkValueInvalid", "eventIdConflict", "voidTargetNotSportEvent", "correctionNotAccepted"];
27
29
  export type StatEventRefusalCode = (typeof STAT_EVENT_REFUSAL_KEYS)[number];
28
30
  export declare const FINALIZATION_NOT_READY_KEYS: readonly ["roundsIncomplete"];
29
31
  export type FinalizationNotReadyReason = (typeof FINALIZATION_NOT_READY_KEYS)[number];
@@ -31,16 +33,14 @@ export declare const SCORING_PANEL_KIND_KEYS: readonly ["playerEvents", "teamPoi
31
33
  export type ScoringPanelKind = (typeof SCORING_PANEL_KIND_KEYS)[number];
32
34
  export declare const BULK_ENTRY_KIND_KEYS: readonly ["playerLines", "teamScores", "rounds"];
33
35
  export type BulkEntryKind = (typeof BULK_ENTRY_KIND_KEYS)[number];
34
- export declare const RECORDED_STAT_EVENT_OUTCOME_KEYS: readonly ["recorded", "alreadyRecorded"];
36
+ export declare const RECORDED_STAT_EVENT_OUTCOME_KEYS: readonly ["recorded", "alreadyRecorded", "unchanged"];
35
37
  export type RecordedStatEventOutcome = (typeof RECORDED_STAT_EVENT_OUTCOME_KEYS)[number];
36
38
  export declare const GAME_FINALIZE_OUTCOME_KEYS: readonly ["finalized", "alreadyFinalized"];
37
39
  export type GameFinalizeOutcome = (typeof GAME_FINALIZE_OUTCOME_KEYS)[number];
38
40
  export declare const GAME_REOPEN_OUTCOME_KEYS: readonly ["reopened", "alreadyOpen"];
39
41
  export type GameReopenOutcome = (typeof GAME_REOPEN_OUTCOME_KEYS)[number];
40
- export declare const GAME_STATS_REPAIR_OUTCOME_KEYS: readonly ["reconciled", "unchanged", "alreadyApplied"];
42
+ export declare const GAME_STATS_REPAIR_OUTCOME_KEYS: readonly ["reconciled", "unchanged"];
41
43
  export type GameStatsRepairOutcome = (typeof GAME_STATS_REPAIR_OUTCOME_KEYS)[number];
42
- export declare const GAME_REPAIR_REFUSAL_KEYS: readonly ["eventUnreadable", "eventSequenceGap", "sourcesDisagree", "scoreAmbiguous", "fieldNotCorrectable", "lineNotRostered", "teamNotInGame"];
43
- export type GameRepairRefusal = (typeof GAME_REPAIR_REFUSAL_KEYS)[number];
44
44
  export declare const GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS: readonly ["handedOver", "created", "merged", "kept"];
45
45
  export type GhostLinkMembershipOutcome = (typeof GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS)[number];
46
46
  export declare const UNROSTERED_STAT_LINE_RESOLUTION_OUTCOME_KEYS: readonly ["resolved", "alreadyResolved"];
@@ -1 +1 @@
1
- {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/types/stats.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,cAAc,CAAC;AAChD,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAC5D,eAAO,MAAM,0BAA0B,2CAG7B,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E,eAAO,MAAM,8BAA8B,oGAMjC,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF,eAAO,MAAM,8BAA8B,mEAGjC,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF,eAAO,MAAM,2BAA2B,iCAAkC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB,uDAAwD,CAAC;AAC/F,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E,eAAO,MAAM,0BAA0B,oEAK7B,CAAC;AACX,eAAO,MAAM,wBAAwB,qCAAsC,CAAC;AAC5E,eAAO,MAAM,mBAAmB,8FAGtB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,mBAAmB,CAAC,C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AAC,CAAC"}
@@ -29,22 +29,13 @@ export const STAT_LINE_KIND_KEYS = [
29
29
  ...PLAYER_STAT_LINE_KIND_KEYS,
30
30
  ...TEAM_STAT_LINE_KIND_KEYS,
31
31
  ];
32
- export const STATS_OPERATION_KIND_KEYS = [
33
- 'leagueStatsRebuild',
34
- 'lifetimeStatsRebuild',
35
- 'hallOfFameRebuild',
36
- 'statsValidation',
37
- 'gameStatsCorrection',
38
- 'gameStatsRecalculation',
39
- 'historicalStatsUpdate',
40
- ];
41
- export const STATS_REBUILD_OPERATION_KIND_KEYS = [
42
- 'leagueStatsRebuild',
43
- 'lifetimeStatsRebuild',
44
- 'hallOfFameRebuild',
45
- ];
46
- export const STATS_OPERATION_STATUS_KEYS = ['running', 'complete', 'stopped'];
47
- export const STATS_VALIDATION_PHASE_KEYS = ['games', 'destinations'];
32
+ export const STATS_JOB_KIND_KEYS = ['rebuild', 'check'];
33
+ export const STATS_JOB_STATE_KEYS = ['in-progress', 'complete', 'failed'];
34
+ export const STATS_JOB_STAGE_KEYS = ['games', 'leagues', 'people', 'hallOfFame'];
35
+ export const STATS_JOB_STAGES = {
36
+ rebuild: ['leagues', 'people', 'hallOfFame'],
37
+ check: ['games', 'leagues', 'people', 'hallOfFame'],
38
+ };
48
39
  export const STAT_EVENT_REFUSAL_KEYS = [
49
40
  'eventTypeNotInSport',
50
41
  'teamNotInGame',
@@ -55,32 +46,21 @@ export const STAT_EVENT_REFUSAL_KEYS = [
55
46
  'roundNotNext',
56
47
  'roundsComplete',
57
48
  'bulkValueInvalid',
58
- 'bulkStale',
59
49
  'eventIdConflict',
60
50
  'voidTargetNotSportEvent',
61
51
  'correctionNotAccepted',
62
- 'undoBelowZero',
63
52
  ];
64
53
  export const FINALIZATION_NOT_READY_KEYS = ['roundsIncomplete'];
65
54
  export const SCORING_PANEL_KIND_KEYS = ['playerEvents', 'teamPoints', 'rounds'];
66
55
  export const BULK_ENTRY_KIND_KEYS = ['playerLines', 'teamScores', 'rounds'];
67
- export const RECORDED_STAT_EVENT_OUTCOME_KEYS = ['recorded', 'alreadyRecorded'];
68
- export const GAME_FINALIZE_OUTCOME_KEYS = ['finalized', 'alreadyFinalized'];
69
- export const GAME_REOPEN_OUTCOME_KEYS = ['reopened', 'alreadyOpen'];
70
- export const GAME_STATS_REPAIR_OUTCOME_KEYS = [
71
- 'reconciled',
56
+ export const RECORDED_STAT_EVENT_OUTCOME_KEYS = [
57
+ 'recorded',
58
+ 'alreadyRecorded',
72
59
  'unchanged',
73
- 'alreadyApplied',
74
- ];
75
- export const GAME_REPAIR_REFUSAL_KEYS = [
76
- 'eventUnreadable',
77
- 'eventSequenceGap',
78
- 'sourcesDisagree',
79
- 'scoreAmbiguous',
80
- 'fieldNotCorrectable',
81
- 'lineNotRostered',
82
- 'teamNotInGame',
83
60
  ];
61
+ export const GAME_FINALIZE_OUTCOME_KEYS = ['finalized', 'alreadyFinalized'];
62
+ export const GAME_REOPEN_OUTCOME_KEYS = ['reopened', 'alreadyOpen'];
63
+ export const GAME_STATS_REPAIR_OUTCOME_KEYS = ['reconciled', 'unchanged'];
84
64
  export const GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS = [
85
65
  'handedOver',
86
66
  'created',
@@ -1 +1 @@
1
- {"version":3,"file":"stats.js","sourceRoot":"","sources":["../../src/types/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,WAAW,CAAC;AAChD,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAC5D,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,oBAAoB;IACpB,0BAA0B;CAClB,CAAC;AAGX,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,UAAU;IACV,YAAY;IACZ,kBAAkB;IAClB,qBAAqB;IACrB,kBAAkB;CACV,CAAC;AAGX,MAAM,CAAC,MAAM,8BAA8B,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G,CAAC,cAAc,EAAE,YAAY,EAAE,QAAQ,CAAU,CAAC;AAGzF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,CAAU,CAAC;AAGrF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAU,CAAC;AAGzF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,WAAW,EAAE,kBAAkB,CAAU,CAAC;AAGrF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,UAAU,EAAE,aAAa,CAAU,CAAC;AAG7E,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,YAAY;IACZ,WAAW;IACX,gBAAgB;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,gBAAgB;IAChB,qBAAqB;IACrB,iBAAiB;IACjB,eAAe;CACP,CAAC;AAGX,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,MAAM;CACE,CAAC;AAGX,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,UAAU;IACV,iBAAiB;CACT,CAAC;AAIX,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,gBAAgB,EAAE,qBAAqB,CAAU,CAAC","sourcesContent":["import { CAPTAIN_TEAM_ROLES, SYSTEM_ROLE_KEYS } from './unions.js';\n\nexport const STAT_VOID_EVENT_TYPE = 'STAT_VOID';\nexport const STAT_CORRECTION_EVENT_TYPE = 'STAT_CORRECTION';\nexport const STAT_STORE_EVENT_TYPE_KEYS = [\n STAT_VOID_EVENT_TYPE,\n STAT_CORRECTION_EVENT_TYPE,\n] as const;\nexport type StatStoreEventType = (typeof STAT_STORE_EVENT_TYPE_KEYS)[number];\n\nexport const STAT_EVENT_RECORDER_FIELD_KEYS = [\n 'sequence',\n 'acceptedAt',\n 'recordedByUserId',\n 'recordedByAuthority',\n 'recordedByTeamId',\n] as const;\nexport type StatEventRecorderField = (typeof STAT_EVENT_RECORDER_FIELD_KEYS)[number];\n\nexport const STAT_EVENT_SNAPSHOT_FIELD_KEYS = [\n 'displayNameSnapshot',\n 'assistedByDisplayNameSnapshot',\n] as const;\nexport type StatEventSnapshotField = (typeof STAT_EVENT_SNAPSHOT_FIELD_KEYS)[number];\n\nexport const STAT_CORRECTION_SOURCE_KEYS = ['admin', 'migration'] as const;\nexport type StatCorrectionSource = (typeof STAT_CORRECTION_SOURCE_KEYS)[number];\n\nexport const STAT_EVENT_AUTHORITY_KEYS = [...SYSTEM_ROLE_KEYS, ...CAPTAIN_TEAM_ROLES] as const;\nexport type StatEventAuthority = (typeof STAT_EVENT_AUTHORITY_KEYS)[number];\n\nexport const PLAYER_STAT_LINE_KIND_KEYS = [\n 'gamePlayer',\n 'membershipRow',\n 'lifetime',\n 'hallOfFame',\n] as const;\nexport const TEAM_STAT_LINE_KIND_KEYS = ['gameTeam', 'teamSeason'] as const;\nexport const STAT_LINE_KIND_KEYS = [\n ...PLAYER_STAT_LINE_KIND_KEYS,\n ...TEAM_STAT_LINE_KIND_KEYS,\n] as const;\nexport type StatLineKind = (typeof STAT_LINE_KIND_KEYS)[number];\nexport type PlayerStatLineKind = (typeof PLAYER_STAT_LINE_KIND_KEYS)[number];\n\nexport const STATS_OPERATION_KIND_KEYS = [\n 'leagueStatsRebuild',\n 'lifetimeStatsRebuild',\n 'hallOfFameRebuild',\n 'statsValidation',\n 'gameStatsCorrection',\n 'gameStatsRecalculation',\n 'historicalStatsUpdate',\n] as const;\nexport type StatsOperationKind = (typeof STATS_OPERATION_KIND_KEYS)[number];\n\nexport const STATS_REBUILD_OPERATION_KIND_KEYS = [\n 'leagueStatsRebuild',\n 'lifetimeStatsRebuild',\n 'hallOfFameRebuild',\n] as const satisfies readonly StatsOperationKind[];\nexport type StatsRebuildOperationKind = (typeof STATS_REBUILD_OPERATION_KIND_KEYS)[number];\n\nexport const STATS_OPERATION_STATUS_KEYS = ['running', 'complete', 'stopped'] as const;\nexport type StatsOperationStatus = (typeof STATS_OPERATION_STATUS_KEYS)[number];\n\nexport const STATS_VALIDATION_PHASE_KEYS = ['games', 'destinations'] as const;\nexport type StatsValidationPhase = (typeof STATS_VALIDATION_PHASE_KEYS)[number];\n\nexport const STAT_EVENT_REFUSAL_KEYS = [\n 'eventTypeNotInSport',\n 'teamNotInGame',\n 'playerNotRostered',\n 'assisterNotRostered',\n 'assistNotAllowed',\n 'playerNotAllowed',\n 'roundNotNext',\n 'roundsComplete',\n 'bulkValueInvalid',\n 'bulkStale',\n 'eventIdConflict',\n 'voidTargetNotSportEvent',\n 'correctionNotAccepted',\n 'undoBelowZero',\n] as const;\nexport type StatEventRefusalCode = (typeof STAT_EVENT_REFUSAL_KEYS)[number];\n\nexport const FINALIZATION_NOT_READY_KEYS = ['roundsIncomplete'] as const;\nexport type FinalizationNotReadyReason = (typeof FINALIZATION_NOT_READY_KEYS)[number];\n\nexport const SCORING_PANEL_KIND_KEYS = ['playerEvents', 'teamPoints', 'rounds'] as const;\nexport type ScoringPanelKind = (typeof SCORING_PANEL_KIND_KEYS)[number];\n\nexport const BULK_ENTRY_KIND_KEYS = ['playerLines', 'teamScores', 'rounds'] as const;\nexport type BulkEntryKind = (typeof BULK_ENTRY_KIND_KEYS)[number];\n\nexport const RECORDED_STAT_EVENT_OUTCOME_KEYS = ['recorded', 'alreadyRecorded'] as const;\nexport type RecordedStatEventOutcome = (typeof RECORDED_STAT_EVENT_OUTCOME_KEYS)[number];\n\nexport const GAME_FINALIZE_OUTCOME_KEYS = ['finalized', 'alreadyFinalized'] as const;\nexport type GameFinalizeOutcome = (typeof GAME_FINALIZE_OUTCOME_KEYS)[number];\n\nexport const GAME_REOPEN_OUTCOME_KEYS = ['reopened', 'alreadyOpen'] as const;\nexport type GameReopenOutcome = (typeof GAME_REOPEN_OUTCOME_KEYS)[number];\n\nexport const GAME_STATS_REPAIR_OUTCOME_KEYS = [\n 'reconciled',\n 'unchanged',\n 'alreadyApplied',\n] as const;\nexport type GameStatsRepairOutcome = (typeof GAME_STATS_REPAIR_OUTCOME_KEYS)[number];\n\nexport const GAME_REPAIR_REFUSAL_KEYS = [\n 'eventUnreadable',\n 'eventSequenceGap',\n 'sourcesDisagree',\n 'scoreAmbiguous',\n 'fieldNotCorrectable',\n 'lineNotRostered',\n 'teamNotInGame',\n] as const;\nexport type GameRepairRefusal = (typeof GAME_REPAIR_REFUSAL_KEYS)[number];\n\nexport const GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS = [\n 'handedOver',\n 'created',\n 'merged',\n 'kept',\n] as const;\nexport type GhostLinkMembershipOutcome = (typeof GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS)[number];\n\nexport const UNROSTERED_STAT_LINE_RESOLUTION_OUTCOME_KEYS = [\n 'resolved',\n 'alreadyResolved',\n] as const;\nexport type UnrosteredStatLineResolutionOutcome =\n (typeof UNROSTERED_STAT_LINE_RESOLUTION_OUTCOME_KEYS)[number];\n\nexport const GHOST_REMOVAL_REFUSAL_KEYS = ['ghostHasPlayed', 'captainNotRemovable'] as const;\nexport type GhostRemovalRefusal = (typeof GHOST_REMOVAL_REFUSAL_KEYS)[number];\n"]}
1
+ {"version":3,"file":"stats.js","sourceRoot":"","sources":["../../src/types/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,WAAW,CAAC;AAChD,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAC5D,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,oBAAoB;IACpB,0BAA0B;CAClB,CAAC;AAGX,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,UAAU;IACV,YAAY;IACZ,kBAAkB;IAClB,qBAAqB;IACrB,kBAAkB;CACV,CAAC;AAGX,MAAM,C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;AAGzE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,cAAc,EAAE,YAAY,EAAE,QAAQ,CAAU,CAAC;AAGzF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,CAAU,CAAC;AAGrF,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,UAAU;IACV,iBAAiB;IACjB,WAAW;CACH,CAAC;AAGX,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,WAAW,EAAE,kBAAkB,CAAU,CAAC;AAGrF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,UAAU,EAAE,aAAa,CAAU,CAAC;AAG7E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,YAAY,EAAE,WAAW,CAAU,CAAC;AAGnF,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,MAAM;CACE,CAAC;AAGX,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,UAAU;IACV,iBAAiB;CACT,CAAC;AAIX,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,gBAAgB,EAAE,qBAAqB,CAAU,CAAC","sourcesContent":["import { CAPTAIN_TEAM_ROLES, SYSTEM_ROLE_KEYS } from './unions.js';\n\nexport const STAT_VOID_EVENT_TYPE = 'STAT_VOID';\nexport const STAT_CORRECTION_EVENT_TYPE = 'STAT_CORRECTION';\nexport const STAT_STORE_EVENT_TYPE_KEYS = [\n STAT_VOID_EVENT_TYPE,\n STAT_CORRECTION_EVENT_TYPE,\n] as const;\nexport type StatStoreEventType = (typeof STAT_STORE_EVENT_TYPE_KEYS)[number];\n\nexport const STAT_EVENT_RECORDER_FIELD_KEYS = [\n 'sequence',\n 'acceptedAt',\n 'recordedByUserId',\n 'recordedByAuthority',\n 'recordedByTeamId',\n] as const;\nexport type StatEventRecorderField = (typeof STAT_EVENT_RECORDER_FIELD_KEYS)[number];\n\nexport const STAT_EVENT_SNAPSHOT_FIELD_KEYS = [\n 'displayNameSnapshot',\n 'assistedByDisplayNameSnapshot',\n] as const;\nexport type StatEventSnapshotField = (typeof STAT_EVENT_SNAPSHOT_FIELD_KEYS)[number];\n\nexport const STAT_CORRECTION_SOURCE_KEYS = ['admin', 'migration'] as const;\nexport type StatCorrectionSource = (typeof STAT_CORRECTION_SOURCE_KEYS)[number];\n\nexport const STAT_EVENT_AUTHORITY_KEYS = [...SYSTEM_ROLE_KEYS, ...CAPTAIN_TEAM_ROLES] as const;\nexport type StatEventAuthority = (typeof STAT_EVENT_AUTHORITY_KEYS)[number];\n\nexport const PLAYER_STAT_LINE_KIND_KEYS = [\n 'gamePlayer',\n 'membershipRow',\n 'lifetime',\n 'hallOfFame',\n] as const;\nexport const TEAM_STAT_LINE_KIND_KEYS = ['gameTeam', 'teamSeason'] as const;\nexport const STAT_LINE_KIND_KEYS = [\n ...PLAYER_STAT_LINE_KIND_KEYS,\n ...TEAM_STAT_LINE_KIND_KEYS,\n] as const;\nexport type StatLineKind = (typeof STAT_LINE_KIND_KEYS)[number];\nexport type PlayerStatLineKind = (typeof PLAYER_STAT_LINE_KIND_KEYS)[number];\n\nexport const STATS_JOB_KIND_KEYS = ['rebuild', 'check'] as const;\nexport type StatsJobKind = (typeof STATS_JOB_KIND_KEYS)[number];\n\nexport const STATS_JOB_STATE_KEYS = ['in-progress', 'complete', 'failed'] as const;\nexport type StatsJobState = (typeof STATS_JOB_STATE_KEYS)[number];\n\nexport const STATS_JOB_STAGE_KEYS = ['games', 'leagues', 'people', 'hallOfFame'] as const;\nexport type StatsJobStage = (typeof STATS_JOB_STAGE_KEYS)[number];\n\nexport const STATS_JOB_STAGES = {\n rebuild: ['leagues', 'people', 'hallOfFame'],\n check: ['games', 'leagues', 'people', 'hallOfFame'],\n} as const satisfies Record<StatsJobKind, readonly StatsJobStage[]>;\n\nexport const STAT_EVENT_REFUSAL_KEYS = [\n 'eventTypeNotInSport',\n 'teamNotInGame',\n 'playerNotRostered',\n 'assisterNotRostered',\n 'assistNotAllowed',\n 'playerNotAllowed',\n 'roundNotNext',\n 'roundsComplete',\n 'bulkValueInvalid',\n 'eventIdConflict',\n 'voidTargetNotSportEvent',\n 'correctionNotAccepted',\n] as const;\nexport type StatEventRefusalCode = (typeof STAT_EVENT_REFUSAL_KEYS)[number];\n\nexport const FINALIZATION_NOT_READY_KEYS = ['roundsIncomplete'] as const;\nexport type FinalizationNotReadyReason = (typeof FINALIZATION_NOT_READY_KEYS)[number];\n\nexport const SCORING_PANEL_KIND_KEYS = ['playerEvents', 'teamPoints', 'rounds'] as const;\nexport type ScoringPanelKind = (typeof SCORING_PANEL_KIND_KEYS)[number];\n\nexport const BULK_ENTRY_KIND_KEYS = ['playerLines', 'teamScores', 'rounds'] as const;\nexport type BulkEntryKind = (typeof BULK_ENTRY_KIND_KEYS)[number];\n\nexport const RECORDED_STAT_EVENT_OUTCOME_KEYS = [\n 'recorded',\n 'alreadyRecorded',\n 'unchanged',\n] as const;\nexport type RecordedStatEventOutcome = (typeof RECORDED_STAT_EVENT_OUTCOME_KEYS)[number];\n\nexport const GAME_FINALIZE_OUTCOME_KEYS = ['finalized', 'alreadyFinalized'] as const;\nexport type GameFinalizeOutcome = (typeof GAME_FINALIZE_OUTCOME_KEYS)[number];\n\nexport const GAME_REOPEN_OUTCOME_KEYS = ['reopened', 'alreadyOpen'] as const;\nexport type GameReopenOutcome = (typeof GAME_REOPEN_OUTCOME_KEYS)[number];\n\nexport const GAME_STATS_REPAIR_OUTCOME_KEYS = ['reconciled', 'unchanged'] as const;\nexport type GameStatsRepairOutcome = (typeof GAME_STATS_REPAIR_OUTCOME_KEYS)[number];\n\nexport const GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS = [\n 'handedOver',\n 'created',\n 'merged',\n 'kept',\n] as const;\nexport type GhostLinkMembershipOutcome = (typeof GHOST_LINK_MEMBERSHIP_OUTCOME_KEYS)[number];\n\nexport const UNROSTERED_STAT_LINE_RESOLUTION_OUTCOME_KEYS = [\n 'resolved',\n 'alreadyResolved',\n] as const;\nexport type UnrosteredStatLineResolutionOutcome =\n (typeof UNROSTERED_STAT_LINE_RESOLUTION_OUTCOME_KEYS)[number];\n\nexport const GHOST_REMOVAL_REFUSAL_KEYS = ['ghostHasPlayed', 'captainNotRemovable'] as const;\nexport type GhostRemovalRefusal = (typeof GHOST_REMOVAL_REFUSAL_KEYS)[number];\n"]}
@@ -8,6 +8,5 @@ export * from './schedules.js';
8
8
  export * from './team-member-actions.js';
9
9
  export * from './league-mode.js';
10
10
  export * from './league-joining.js';
11
- export * from './stats-operation-request.js';
12
11
  export * from './text-field.js';
13
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
@@ -8,6 +8,5 @@ export * from './schedules.js';
8
8
  export * from './team-member-actions.js';
9
9
  export * from './league-mode.js';
10
10
  export * from './league-joining.js';
11
- export * from './stats-operation-request.js';
12
11
  export * from './text-field.js';
13
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './display-name.js';\nexport * from './app-config.js';\nexport * from './league-calendar.js';\nexport * from './team-creation.js';\nexport * from './account-status.js';\nexport * from './league-join-warning.js';\nexport * from './schedules.js';\nexport * from './team-member-actions.js';\nexport * from './league-mode.js';\nexport * from './league-joining.js';\nexport * from './stats-operation-request.js';\nexport * from './text-field.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './display-name.js';\nexport * from './app-config.js';\nexport * from './league-calendar.js';\nexport * from './team-creation.js';\nexport * from './account-status.js';\nexport * from './league-join-warning.js';\nexport * from './schedules.js';\nexport * from './team-member-actions.js';\nexport * from './league-mode.js';\nexport * from './league-joining.js';\nexport * from './text-field.js';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/q-core",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "description": "Core types, Firestore path constants, zod schemas, and shared constants for Q-Sports",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,348 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const StatsOperationCountsSchema: z.ZodObject<{
3
- read: z.ZodNumber;
4
- changed: z.ZodNumber;
5
- skipped: z.ZodNumber;
6
- }, z.core.$strip>;
7
- export type StatsOperationCounts = z.infer<typeof StatsOperationCountsSchema>;
8
- export declare const LeagueStatsRebuildOperationSchema: z.ZodObject<{
9
- kind: z.ZodLiteral<"leagueStatsRebuild">;
10
- scope: z.ZodObject<{
11
- leagueId: z.ZodOptional<z.ZodString>;
12
- }, z.core.$strip>;
13
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
14
- startedByUserId: z.ZodString;
15
- startedAt: z.ZodNumber;
16
- updatedAt: z.ZodNumber;
17
- status: z.ZodEnum<{
18
- running: "running";
19
- complete: "complete";
20
- stopped: "stopped";
21
- }>;
22
- resumeAfter: z.ZodOptional<z.ZodString>;
23
- counts: z.ZodObject<{
24
- read: z.ZodNumber;
25
- changed: z.ZodNumber;
26
- skipped: z.ZodNumber;
27
- }, z.core.$strip>;
28
- }, z.core.$strip>;
29
- export declare const LifetimeStatsRebuildOperationSchema: z.ZodObject<{
30
- kind: z.ZodLiteral<"lifetimeStatsRebuild">;
31
- scope: z.ZodObject<{
32
- userId: z.ZodOptional<z.ZodString>;
33
- }, z.core.$strip>;
34
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
35
- startedByUserId: z.ZodString;
36
- startedAt: z.ZodNumber;
37
- updatedAt: z.ZodNumber;
38
- status: z.ZodEnum<{
39
- running: "running";
40
- complete: "complete";
41
- stopped: "stopped";
42
- }>;
43
- resumeAfter: z.ZodOptional<z.ZodString>;
44
- counts: z.ZodObject<{
45
- read: z.ZodNumber;
46
- changed: z.ZodNumber;
47
- skipped: z.ZodNumber;
48
- }, z.core.$strip>;
49
- }, z.core.$strip>;
50
- export declare const HallOfFameRebuildOperationSchema: z.ZodObject<{
51
- kind: z.ZodLiteral<"hallOfFameRebuild">;
52
- scope: z.ZodObject<{
53
- sportKey: z.ZodEnum<{
54
- basketball: "basketball";
55
- curling: "curling";
56
- football: "football";
57
- }>;
58
- userId: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strip>;
60
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
61
- startedByUserId: z.ZodString;
62
- startedAt: z.ZodNumber;
63
- updatedAt: z.ZodNumber;
64
- status: z.ZodEnum<{
65
- running: "running";
66
- complete: "complete";
67
- stopped: "stopped";
68
- }>;
69
- resumeAfter: z.ZodOptional<z.ZodString>;
70
- counts: z.ZodObject<{
71
- read: z.ZodNumber;
72
- changed: z.ZodNumber;
73
- skipped: z.ZodNumber;
74
- }, z.core.$strip>;
75
- }, z.core.$strip>;
76
- export declare const StatsValidationOperationSchema: z.ZodObject<{
77
- kind: z.ZodLiteral<"statsValidation">;
78
- scope: z.ZodObject<{
79
- gameId: z.ZodOptional<z.ZodString>;
80
- leagueId: z.ZodOptional<z.ZodString>;
81
- }, z.core.$strip>;
82
- phase: z.ZodEnum<{
83
- games: "games";
84
- destinations: "destinations";
85
- }>;
86
- startedByUserId: z.ZodString;
87
- startedAt: z.ZodNumber;
88
- updatedAt: z.ZodNumber;
89
- status: z.ZodEnum<{
90
- running: "running";
91
- complete: "complete";
92
- stopped: "stopped";
93
- }>;
94
- resumeAfter: z.ZodOptional<z.ZodString>;
95
- counts: z.ZodObject<{
96
- read: z.ZodNumber;
97
- changed: z.ZodNumber;
98
- skipped: z.ZodNumber;
99
- }, z.core.$strip>;
100
- }, z.core.$strip>;
101
- export declare const GameStatsCorrectionOperationSchema: z.ZodObject<{
102
- kind: z.ZodLiteral<"gameStatsCorrection">;
103
- scope: z.ZodObject<{
104
- gameId: z.ZodString;
105
- }, z.core.$strip>;
106
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
107
- requestHash: z.ZodOptional<z.ZodString>;
108
- startedByUserId: z.ZodString;
109
- startedAt: z.ZodNumber;
110
- updatedAt: z.ZodNumber;
111
- status: z.ZodEnum<{
112
- running: "running";
113
- complete: "complete";
114
- stopped: "stopped";
115
- }>;
116
- resumeAfter: z.ZodOptional<z.ZodString>;
117
- counts: z.ZodObject<{
118
- read: z.ZodNumber;
119
- changed: z.ZodNumber;
120
- skipped: z.ZodNumber;
121
- }, z.core.$strip>;
122
- }, z.core.$strip>;
123
- export declare const GameStatsRecalculationOperationSchema: z.ZodObject<{
124
- kind: z.ZodLiteral<"gameStatsRecalculation">;
125
- scope: z.ZodObject<{
126
- gameId: z.ZodString;
127
- }, z.core.$strip>;
128
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
129
- startedByUserId: z.ZodString;
130
- startedAt: z.ZodNumber;
131
- updatedAt: z.ZodNumber;
132
- status: z.ZodEnum<{
133
- running: "running";
134
- complete: "complete";
135
- stopped: "stopped";
136
- }>;
137
- resumeAfter: z.ZodOptional<z.ZodString>;
138
- counts: z.ZodObject<{
139
- read: z.ZodNumber;
140
- changed: z.ZodNumber;
141
- skipped: z.ZodNumber;
142
- }, z.core.$strip>;
143
- }, z.core.$strip>;
144
- export declare const HistoricalStatsUpdateOperationSchema: z.ZodObject<{
145
- kind: z.ZodLiteral<"historicalStatsUpdate">;
146
- scope: z.ZodObject<{
147
- userId: z.ZodString;
148
- sportKey: z.ZodEnum<{
149
- basketball: "basketball";
150
- curling: "curling";
151
- football: "football";
152
- }>;
153
- }, z.core.$strip>;
154
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
155
- requestHash: z.ZodOptional<z.ZodString>;
156
- startedByUserId: z.ZodString;
157
- startedAt: z.ZodNumber;
158
- updatedAt: z.ZodNumber;
159
- status: z.ZodEnum<{
160
- running: "running";
161
- complete: "complete";
162
- stopped: "stopped";
163
- }>;
164
- resumeAfter: z.ZodOptional<z.ZodString>;
165
- counts: z.ZodObject<{
166
- read: z.ZodNumber;
167
- changed: z.ZodNumber;
168
- skipped: z.ZodNumber;
169
- }, z.core.$strip>;
170
- }, z.core.$strip>;
171
- export declare const GhostRemovedFinishedEntrySchema: z.ZodObject<{
172
- gameId: z.ZodString;
173
- wasAbsent: z.ZodBoolean;
174
- wasNonScoring: z.ZodBoolean;
175
- }, z.core.$strip>;
176
- export type GhostRemovedFinishedEntry = z.infer<typeof GhostRemovedFinishedEntrySchema>;
177
- export declare const GhostLinkedGameSchema: z.ZodObject<{
178
- gameId: z.ZodString;
179
- completed: z.ZodBoolean;
180
- merged: z.ZodBoolean;
181
- }, z.core.$strip>;
182
- export type GhostLinkedGame = z.infer<typeof GhostLinkedGameSchema>;
183
- export declare const StatsDestinationChangeSchema: z.ZodObject<{
184
- ref: z.ZodString;
185
- field: z.ZodString;
186
- before: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>;
187
- after: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>;
188
- }, z.core.$strip>;
189
- export type StatsDestinationChange = z.infer<typeof StatsDestinationChangeSchema>;
190
- export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
191
- kind: z.ZodLiteral<"leagueStatsRebuild">;
192
- scope: z.ZodObject<{
193
- leagueId: z.ZodOptional<z.ZodString>;
194
- }, z.core.$strip>;
195
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
196
- startedByUserId: z.ZodString;
197
- startedAt: z.ZodNumber;
198
- updatedAt: z.ZodNumber;
199
- status: z.ZodEnum<{
200
- running: "running";
201
- complete: "complete";
202
- stopped: "stopped";
203
- }>;
204
- resumeAfter: z.ZodOptional<z.ZodString>;
205
- counts: z.ZodObject<{
206
- read: z.ZodNumber;
207
- changed: z.ZodNumber;
208
- skipped: z.ZodNumber;
209
- }, z.core.$strip>;
210
- }, z.core.$strip>, z.ZodObject<{
211
- kind: z.ZodLiteral<"lifetimeStatsRebuild">;
212
- scope: z.ZodObject<{
213
- userId: z.ZodOptional<z.ZodString>;
214
- }, z.core.$strip>;
215
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
216
- startedByUserId: z.ZodString;
217
- startedAt: z.ZodNumber;
218
- updatedAt: z.ZodNumber;
219
- status: z.ZodEnum<{
220
- running: "running";
221
- complete: "complete";
222
- stopped: "stopped";
223
- }>;
224
- resumeAfter: z.ZodOptional<z.ZodString>;
225
- counts: z.ZodObject<{
226
- read: z.ZodNumber;
227
- changed: z.ZodNumber;
228
- skipped: z.ZodNumber;
229
- }, z.core.$strip>;
230
- }, z.core.$strip>, z.ZodObject<{
231
- kind: z.ZodLiteral<"hallOfFameRebuild">;
232
- scope: z.ZodObject<{
233
- sportKey: z.ZodEnum<{
234
- basketball: "basketball";
235
- curling: "curling";
236
- football: "football";
237
- }>;
238
- userId: z.ZodOptional<z.ZodString>;
239
- }, z.core.$strip>;
240
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
241
- startedByUserId: z.ZodString;
242
- startedAt: z.ZodNumber;
243
- updatedAt: z.ZodNumber;
244
- status: z.ZodEnum<{
245
- running: "running";
246
- complete: "complete";
247
- stopped: "stopped";
248
- }>;
249
- resumeAfter: z.ZodOptional<z.ZodString>;
250
- counts: z.ZodObject<{
251
- read: z.ZodNumber;
252
- changed: z.ZodNumber;
253
- skipped: z.ZodNumber;
254
- }, z.core.$strip>;
255
- }, z.core.$strip>, z.ZodObject<{
256
- kind: z.ZodLiteral<"statsValidation">;
257
- scope: z.ZodObject<{
258
- gameId: z.ZodOptional<z.ZodString>;
259
- leagueId: z.ZodOptional<z.ZodString>;
260
- }, z.core.$strip>;
261
- phase: z.ZodEnum<{
262
- games: "games";
263
- destinations: "destinations";
264
- }>;
265
- startedByUserId: z.ZodString;
266
- startedAt: z.ZodNumber;
267
- updatedAt: z.ZodNumber;
268
- status: z.ZodEnum<{
269
- running: "running";
270
- complete: "complete";
271
- stopped: "stopped";
272
- }>;
273
- resumeAfter: z.ZodOptional<z.ZodString>;
274
- counts: z.ZodObject<{
275
- read: z.ZodNumber;
276
- changed: z.ZodNumber;
277
- skipped: z.ZodNumber;
278
- }, z.core.$strip>;
279
- }, z.core.$strip>, z.ZodObject<{
280
- kind: z.ZodLiteral<"gameStatsCorrection">;
281
- scope: z.ZodObject<{
282
- gameId: z.ZodString;
283
- }, z.core.$strip>;
284
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
285
- requestHash: z.ZodOptional<z.ZodString>;
286
- startedByUserId: z.ZodString;
287
- startedAt: z.ZodNumber;
288
- updatedAt: z.ZodNumber;
289
- status: z.ZodEnum<{
290
- running: "running";
291
- complete: "complete";
292
- stopped: "stopped";
293
- }>;
294
- resumeAfter: z.ZodOptional<z.ZodString>;
295
- counts: z.ZodObject<{
296
- read: z.ZodNumber;
297
- changed: z.ZodNumber;
298
- skipped: z.ZodNumber;
299
- }, z.core.$strip>;
300
- }, z.core.$strip>, z.ZodObject<{
301
- kind: z.ZodLiteral<"gameStatsRecalculation">;
302
- scope: z.ZodObject<{
303
- gameId: z.ZodString;
304
- }, z.core.$strip>;
305
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
306
- startedByUserId: z.ZodString;
307
- startedAt: z.ZodNumber;
308
- updatedAt: z.ZodNumber;
309
- status: z.ZodEnum<{
310
- running: "running";
311
- complete: "complete";
312
- stopped: "stopped";
313
- }>;
314
- resumeAfter: z.ZodOptional<z.ZodString>;
315
- counts: z.ZodObject<{
316
- read: z.ZodNumber;
317
- changed: z.ZodNumber;
318
- skipped: z.ZodNumber;
319
- }, z.core.$strip>;
320
- }, z.core.$strip>, z.ZodObject<{
321
- kind: z.ZodLiteral<"historicalStatsUpdate">;
322
- scope: z.ZodObject<{
323
- userId: z.ZodString;
324
- sportKey: z.ZodEnum<{
325
- basketball: "basketball";
326
- curling: "curling";
327
- football: "football";
328
- }>;
329
- }, z.core.$strip>;
330
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
331
- requestHash: z.ZodOptional<z.ZodString>;
332
- startedByUserId: z.ZodString;
333
- startedAt: z.ZodNumber;
334
- updatedAt: z.ZodNumber;
335
- status: z.ZodEnum<{
336
- running: "running";
337
- complete: "complete";
338
- stopped: "stopped";
339
- }>;
340
- resumeAfter: z.ZodOptional<z.ZodString>;
341
- counts: z.ZodObject<{
342
- read: z.ZodNumber;
343
- changed: z.ZodNumber;
344
- skipped: z.ZodNumber;
345
- }, z.core.$strip>;
346
- }, z.core.$strip>], "kind">;
347
- export type StatsOperation = z.infer<typeof StatsOperationSchema>;
348
- //# sourceMappingURL=stats-operation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stats-operation.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/stats-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAsB9E,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;iBAI5C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;iBAI9C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;iBAI3C,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;iBAKzC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;iBAM7C,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;iBAKhD,CAAC;AAEH,eAAO,MAAM,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