@ttt-productions/q-core 0.1.24 → 0.1.25

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.
@@ -276,11 +276,6 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
276
276
  contractId: z.ZodString;
277
277
  refereeUserId: z.ZodString;
278
278
  }, z.core.$strict>;
279
- }, z.core.$strict>, z.ZodObject<{
280
- type: z.ZodLiteral<"adminList.changed">;
281
- ids: z.ZodObject<{
282
- userId: z.ZodString;
283
- }, z.core.$strict>;
284
279
  }, z.core.$strict>, z.ZodObject<{
285
280
  type: z.ZodLiteral<"user.registered">;
286
281
  ids: z.ZodObject<{
@@ -715,11 +710,6 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
715
710
  contractId: z.ZodString;
716
711
  refereeUserId: z.ZodString;
717
712
  }, z.core.$strict>;
718
- }, z.core.$strict>, z.ZodObject<{
719
- type: z.ZodLiteral<"adminList.changed">;
720
- ids: z.ZodObject<{
721
- userId: z.ZodString;
722
- }, z.core.$strict>;
723
713
  }, z.core.$strict>, z.ZodObject<{
724
714
  type: z.ZodLiteral<"user.registered">;
725
715
  ids: z.ZodObject<{
@@ -1171,11 +1161,6 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
1171
1161
  contractId: z.ZodString;
1172
1162
  refereeUserId: z.ZodString;
1173
1163
  }, z.core.$strict>;
1174
- }, z.core.$strict>, z.ZodObject<{
1175
- type: z.ZodLiteral<"adminList.changed">;
1176
- ids: z.ZodObject<{
1177
- userId: z.ZodString;
1178
- }, z.core.$strict>;
1179
1164
  }, z.core.$strict>, z.ZodObject<{
1180
1165
  type: z.ZodLiteral<"user.registered">;
1181
1166
  ids: z.ZodObject<{
@@ -1656,11 +1641,6 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1656
1641
  contractId: z.ZodString;
1657
1642
  refereeUserId: z.ZodString;
1658
1643
  }, z.core.$strict>;
1659
- }, z.core.$strict>, z.ZodObject<{
1660
- type: z.ZodLiteral<"adminList.changed">;
1661
- ids: z.ZodObject<{
1662
- userId: z.ZodString;
1663
- }, z.core.$strict>;
1664
1644
  }, z.core.$strict>, z.ZodObject<{
1665
1645
  type: z.ZodLiteral<"user.registered">;
1666
1646
  ids: z.ZodObject<{
@@ -2110,11 +2090,6 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2110
2090
  contractId: z.ZodString;
2111
2091
  refereeUserId: z.ZodString;
2112
2092
  }, z.core.$strict>;
2113
- }, z.core.$strict>, z.ZodObject<{
2114
- type: z.ZodLiteral<"adminList.changed">;
2115
- ids: z.ZodObject<{
2116
- userId: z.ZodString;
2117
- }, z.core.$strict>;
2118
2093
  }, z.core.$strict>, z.ZodObject<{
2119
2094
  type: z.ZodLiteral<"user.registered">;
2120
2095
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"pending-media.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/pending-media.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,gBAAgB;;;;;;;;EAA2B,CAAC;AACzD,eAAO,MAAM,mBAAmB;;;;;;EAA8B,CAAC;AAI/D,eAAO,MAAM,sBAAsB;;;kBAExB,CAAC;AACZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAGtE,eAAO,MAAM,qBAAqB;;;;;;;;;kBAEvB,CAAC;AACZ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;kBAyBjC,CAAC;AACL,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAO1E,eAAO,MAAM,+BAA+B;;;;;;;EAA0C,C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CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -1900,11 +1900,6 @@ export declare const COLLECTION_SCHEMAS: {
1900
1900
  contractId: z.ZodString;
1901
1901
  refereeUserId: z.ZodString;
1902
1902
  }, z.core.$strict>;
1903
- }, z.core.$strict>, z.ZodObject<{
1904
- type: z.ZodLiteral<"adminList.changed">;
1905
- ids: z.ZodObject<{
1906
- userId: z.ZodString;
1907
- }, z.core.$strict>;
1908
1903
  }, z.core.$strict>, z.ZodObject<{
1909
1904
  type: z.ZodLiteral<"user.registered">;
1910
1905
  ids: z.ZodObject<{
@@ -2354,11 +2349,6 @@ export declare const COLLECTION_SCHEMAS: {
2354
2349
  contractId: z.ZodString;
2355
2350
  refereeUserId: z.ZodString;
2356
2351
  }, z.core.$strict>;
2357
- }, z.core.$strict>, z.ZodObject<{
2358
- type: z.ZodLiteral<"adminList.changed">;
2359
- ids: z.ZodObject<{
2360
- userId: z.ZodString;
2361
- }, z.core.$strict>;
2362
2352
  }, z.core.$strict>, z.ZodObject<{
2363
2353
  type: z.ZodLiteral<"user.registered">;
2364
2354
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDkB,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAIvE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAaiC,CAAC;AAGvE,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAAO,CAAC"}
@@ -252,12 +252,6 @@ export declare const HardwareLoanContractChangedEventSchema: z.ZodObject<{
252
252
  refereeUserId: z.ZodString;
253
253
  }, z.core.$strict>;
254
254
  }, z.core.$strict>;
255
- export declare const AdminListChangedEventSchema: z.ZodObject<{
256
- type: z.ZodLiteral<"adminList.changed">;
257
- ids: z.ZodObject<{
258
- userId: z.ZodString;
259
- }, z.core.$strict>;
260
- }, z.core.$strict>;
261
255
  export declare const UserRegisteredEventSchema: z.ZodObject<{
262
256
  type: z.ZodLiteral<"user.registered">;
263
257
  ids: z.ZodObject<{
@@ -589,11 +583,6 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
589
583
  contractId: z.ZodString;
590
584
  refereeUserId: z.ZodString;
591
585
  }, z.core.$strict>;
592
- }, z.core.$strict>, z.ZodObject<{
593
- type: z.ZodLiteral<"adminList.changed">;
594
- ids: z.ZodObject<{
595
- userId: z.ZodString;
596
- }, z.core.$strict>;
597
586
  }, z.core.$strict>, z.ZodObject<{
598
587
  type: z.ZodLiteral<"user.registered">;
599
588
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events.d.ts","sourceRoot":"","sources":["../../src/domain-events/domain-events.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,wBAAwB;;;;;kBAK1B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;kBAK1B,CAAC;AAGZ,eAAO,MAAM,6BAA6B;;;;;kBAK/B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAK9B,CAAC;AAGZ,eAAO,MAAM,4BAA4B;;;;;;;kBAO9B,CAAC;AAGZ,eAAO,MAAM,8BAA8B;;;;;;kBAKhC,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;;;kBAY9B,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;;kBAOrC,CAAC;AAGZ,eAAO,MAAM,mCAAmC;;;;;;;kBAOrC,CAAC;AAGZ,eAAO,MAAM,kCAAkC;;;;;;;kBAOpC,CAAC;AAGZ,eAAO,MAAM,6BAA6B;;;;;;;kBAO/B,CAAC;AAGZ,eAAO,MAAM,kCAAkC;;;;;;;kBAOpC,CAAC;AAGZ,eAAO,MAAM,iCAAiC;;;;;;;kBAOnC,CAAC;AAGZ,eAAO,MAAM,kCAAkC;;;;;;kBAKpC,CAAC;AAGZ,eAAO,MAAM,iCAAiC;;;;;;kBAKnC,CAAC;AAEZ,eAAO,MAAM,6BAA6B;;;;;;kBAK/B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAK9B,CAAC;AAGZ,eAAO,MAAM,sCAAsC;;;;;;kBAKxC,CAAC;AAGZ,eAAO,MAAM,kCAAkC;;;;;;kBAKpC,CAAC;AAGZ,eAAO,MAAM,+BAA+B;;;;;;kBAKjC,CAAC;AAGZ,eAA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AC;AAEZ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAuD5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC"}
@@ -289,12 +289,6 @@ export const HardwareLoanContractChangedEventSchema = z
289
289
  .strict(),
290
290
  })
291
291
  .strict();
292
- export const AdminListChangedEventSchema = z
293
- .object({
294
- type: z.literal('adminList.changed'),
295
- ids: z.object({ userId: userIdSchema }).strict(),
296
- })
297
- .strict();
298
292
  // A new account finished registration: its profile and public identity now exist.
299
293
  export const UserRegisteredEventSchema = z
300
294
  .object({ type: z.literal('user.registered'), ids: z.object({ userId: userIdSchema }).strict() })
@@ -462,7 +456,6 @@ export const DomainEventSchema = z.discriminatedUnion('type', [
462
456
  AwardGrantsChangedEventSchema,
463
457
  FeaturedAwardsChangedEventSchema,
464
458
  HardwareLoanContractChangedEventSchema,
465
- AdminListChangedEventSchema,
466
459
  UserRegisteredEventSchema,
467
460
  DisplayNameChangedEventSchema,
468
461
  StatsBeaconChangedEventSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events.js","sourceRoot":"","sources":["../../src/domain-events/domain-events.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,EAAE;AACF,mGAAmG;AACnG,iHAAi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AA6B;IAC7B,8BAA8B;IAC9B,6BAA6B;IAC7B,kCAAkC;CACnC,CAAC,CAAC","sourcesContent":["// The DomainEvent union — the vocabulary of \"what happened\" that both sides of the boundary share.\n//\n// A callable or trigger names what it changed with one of these; the client alone maps an event to\n// the query-key families it makes stale (the invalidation registry is app-local, RULE-STD-FRONTEND-102). The two\n// sides share event names, never cache keys.\n\nimport { z } from 'zod';\nimport {\n epochMsSchema,\n gameIdSchema,\n hardwareLoanContractIdSchema,\n leagueIdSchema,\n sportKeySchema,\n statsValidationReportIdSchema,\n teamIdSchema,\n userIdSchema,\n} from '../doc-schemas/atoms.js';\nimport { awardIdSchema } from '../doc-schemas/catalogs.js';\nimport { gameLocationIdSchema } from '../doc-schemas/game-location.js';\nimport { galleryOwnerKindSchema, pictureIdSchema } from '../doc-schemas/gallery.js';\nimport { waiverTemplateIdSchema } from '../doc-schemas/waiver-template.js';\n\nexport const LeagueCreatedEventSchema = z\n .object({\n type: z.literal('league.created'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\nexport const LeagueUpdatedEventSchema = z\n .object({\n type: z.literal('league.updated'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\n// The league changed mode, and with it the `teamType` of every one of its teams.\nexport const LeagueModeSwitchedEventSchema = z\n .object({\n type: z.literal('league.modeSwitched'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\nexport const LeagueTeamCreatedEventSchema = z\n .object({\n type: z.literal('leagueTeam.created'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// A member was added, removed, or changed role on a team — by any path, ghosts included.\nexport const TeamRosterChangedEventSchema = z\n .object({\n type: z.literal('teamRoster.changed'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// A waiver was signed for a person in a league — by them, or for a ghost by a witness.\nexport const SignedWaiverCreatedEventSchema = z\n .object({\n type: z.literal('signedWaiver.created'),\n ids: z.object({ leagueId: leagueIdSchema, userId: userIdSchema }).strict(),\n })\n .strict();\n\nexport const GhostPlayerLinkedEventSchema = z\n .object({\n type: z.literal('ghostPlayer.linked'),\n ids: z\n .object({\n leagueId: leagueIdSchema,\n teamId: teamIdSchema,\n ghostUserId: userIdSchema,\n realUserId: userIdSchema,\n })\n .strict(),\n })\n .strict();\n\nexport const TeamJoinRequestSubmittedEventSchema = z\n .object({\n type: z.literal('teamJoinRequest.submitted'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The requester withdrew their join request.\nexport const TeamJoinRequestCancelledEventSchema = z\n .object({\n type: z.literal('teamJoinRequest.cancelled'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The team accepted or rejected a join request. An acceptance also changed the roster.\nexport const TeamJoinRequestAnsweredEventSchema = z\n .object({\n type: z.literal('teamJoinRequest.answered'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The team invited a person. `userId` is the invitee.\nexport const TeamInvitationSentEventSchema = z\n .object({\n type: z.literal('teamInvitation.sent'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The team withdrew an invitation. `userId` is the invitee.\nexport const TeamInvitationCancelledEventSchema = z\n .object({\n type: z.literal('teamInvitation.cancelled'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The invitee accepted or declined an invitation. An acceptance also changed the roster.\nexport const TeamInvitationAnsweredEventSchema = z\n .object({\n type: z.literal('teamInvitation.answered'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// A player signed up as a free agent in a league.\nexport const LeagueFreeAgentSignedUpEventSchema = z\n .object({\n type: z.literal('leagueFreeAgent.signedUp'),\n ids: z.object({ leagueId: leagueIdSchema, userId: userIdSchema }).strict(),\n })\n .strict();\n\n// A player's free-agent signup ended: they withdrew it, or an admin placed them on a team.\nexport const LeagueFreeAgentRemovedEventSchema = z\n .object({\n type: z.literal('leagueFreeAgent.removed'),\n ids: z.object({ leagueId: leagueIdSchema, userId: userIdSchema }).strict(),\n })\n .strict();\n\nexport const SportGameFinalizedEventSchema = z\n .object({\n type: z.literal('sportGame.finalized'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\nexport const SportGameReopenedEventSchema = z\n .object({\n type: z.literal('sportGame.reopened'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A scoring write stored stat events on a live game: its rollup and score moved.\nexport const SportGameStatEventsRecordedEventSchema = z\n .object({\n type: z.literal('sportGame.statEventsRecorded'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A roster entry of a live game was marked absent or present.\nexport const SportGameAbsenceChangedEventSchema = z\n .object({\n type: z.literal('sportGame.absenceChanged'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A scorer's note on one person in a live game changed.\nexport const SportGameMemoUpdatedEventSchema = z\n .object({\n type: z.literal('sportGame.memoUpdated'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// The jump-ball possession arrow of a live basketball game moved.\nexport const SportGameJumpBallChangedEventSchema = z\n .object({\n type: z.literal('sportGame.jumpBallChanged'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A league's schedule changed as a whole: a week was created, its shared fields edited, or it was\n// deleted, or a game was added to a week. Any of the league's games may have been added, changed, or\n// removed.\nexport const LeagueScheduleChangedEventSchema = z\n .object({\n type: z.literal('leagueSchedule.changed'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\n// One game's schedule changed — its week, start time, or venue — or its teams were replaced, which\n// replaces their roster entries and stat lines too.\nexport const SportGameUpdatedEventSchema = z\n .object({\n type: z.literal('sportGame.updated'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// One game was deleted with its events and roster.\nexport const SportGameDeletedEventSchema = z\n .object({\n type: z.literal('sportGame.deleted'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A rebuild ran. Every scope id is optional: a rebuild covers one league, every league, one user,\n// every user, or one sport's hall of fame (for one user or the whole sport).\nexport const StatsRecalculatedEventSchema = z\n .object({\n type: z.literal('stats.recalculated'),\n ids: z\n .object({\n userId: userIdSchema.optional(),\n leagueId: leagueIdSchema.optional(),\n sportKey: sportKeySchema.optional(),\n })\n .strict(),\n })\n .strict();\n\n// A game's numbers were corrected or restored from its events in Fix stats; for a completed game,\n// every destination it feeds moved with them.\nexport const SportGameStatsCorrectedEventSchema = z\n .object({\n type: z.literal('sportGame.statsCorrected'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A stats check wrote or advanced its report.\nexport const StatsValidationReportedEventSchema = z\n .object({\n type: z.literal('statsValidation.reported'),\n ids: z.object({ reportId: z.string().min(1) }).strict(),\n })\n .strict();\n\n// An admin deleted a stats check's report.\nexport const StatsValidationReportDeletedEventSchema = z\n .object({\n type: z.literal('statsValidation.reportDeleted'),\n ids: z.object({ reportId: statsValidationReportIdSchema }).strict(),\n })\n .strict();\n\n// A person's pre-Q-Sports baseline was written, and their career line and hall-of-fame entry rebuilt.\nexport const HistoricalStatsUpdatedEventSchema = z\n .object({\n type: z.literal('historicalStats.updated'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// An admin banned an account or lifted its ban.\nexport const UserStatusChangedEventSchema = z\n .object({\n type: z.literal('user.statusChanged'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// An award joined the catalog — its first badge was published.\nexport const AwardDefinitionCreatedEventSchema = z\n .object({\n type: z.literal('awardDefinition.created'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\n// An award's document changed: its badge was replaced, or its holder count moved.\nexport const AwardDefinitionUpdatedEventSchema = z\n .object({\n type: z.literal('awardDefinition.updated'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\nexport const AwardDefinitionDeletedEventSchema = z\n .object({\n type: z.literal('awardDefinition.deleted'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\n// An award was granted to or revoked from some accounts, which may have cleared a featured badge.\n// The accounts are many, so the event names the award; a client holding any profile's awards\n// refreshes them.\nexport const AwardGrantsChangedEventSchema = z\n .object({\n type: z.literal('awardGrants.changed'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\n// An account chose which of its awards to feature beside its name.\nexport const FeaturedAwardsChangedEventSchema = z\n .object({\n type: z.literal('featuredAwards.changed'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// A hardware loan contract was created, signed, returned, or deleted.\nexport const HardwareLoanContractChangedEventSchema = z\n .object({\n type: z.literal('hardwareLoanContract.changed'),\n ids: z\n .object({ contractId: hardwareLoanContractIdSchema, refereeUserId: userIdSchema })\n .strict(),\n })\n .strict();\n\nexport const AdminListChangedEventSchema = z\n .object({\n type: z.literal('adminList.changed'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// A new account finished registration: its profile and public identity now exist.\nexport const UserRegisteredEventSchema = z\n .object({ type: z.literal('user.registered'), ids: z.object({ userId: userIdSchema }).strict() })\n .strict();\n\nexport const DisplayNameChangedEventSchema = z\n .object({\n type: z.literal('displayName.changed'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// The shared stats beacon moved: stats changed somewhere. The beacon holds only its latest change,\n// not a log of them, so the event names no scope and a watching client refreshes every\n// stats-bearing read.\nexport const StatsBeaconChangedEventSchema = z\n .object({ type: z.literal('statsBeacon.changed'), ids: z.object({}).strict() })\n .strict();\n\nexport const WaiverTemplateCreatedEventSchema = z\n .object({\n type: z.literal('waiverTemplate.created'),\n ids: z.object({ waiverTemplateId: waiverTemplateIdSchema }).strict(),\n })\n .strict();\n\n// A template's wording changed: a new version was published.\nexport const WaiverTemplateUpdatedEventSchema = z\n .object({\n type: z.literal('waiverTemplate.updated'),\n ids: z.object({ waiverTemplateId: waiverTemplateIdSchema }).strict(),\n })\n .strict();\n\n// A template left the admin's list — deleted, or retired because something still names it.\nexport const WaiverTemplateDeletedEventSchema = z\n .object({\n type: z.literal('waiverTemplate.deleted'),\n ids: z.object({ waiverTemplateId: waiverTemplateIdSchema }).strict(),\n })\n .strict();\n\nexport const GameLocationCreatedEventSchema = z\n .object({\n type: z.literal('gameLocation.created'),\n ids: z.object({ gameLocationId: gameLocationIdSchema }).strict(),\n })\n .strict();\n\n// A venue's document changed — its own fields through the location callables, or its picture\n// through the upload pipeline.\nexport const GameLocationUpdatedEventSchema = z\n .object({\n type: z.literal('gameLocation.updated'),\n ids: z.object({ gameLocationId: gameLocationIdSchema }).strict(),\n })\n .strict();\n\nexport const GameLocationDeletedEventSchema = z\n .object({\n type: z.literal('gameLocation.deleted'),\n ids: z.object({ gameLocationId: gameLocationIdSchema }).strict(),\n })\n .strict();\n\n// A team's document changed: an admin renamed it or changed its type, or the picture core changed its\n// gallery summary.\nexport const LeagueTeamUpdatedEventSchema = z\n .object({\n type: z.literal('leagueTeam.updated'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// An admin deleted a team that never played, with its memberships, ghosts, invitations, join\n// requests, contact phone, gallery, and unplayed games.\nexport const LeagueTeamDeletedEventSchema = z\n .object({\n type: z.literal('leagueTeam.deleted'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// An admin's deletion of a team stopped short: some of the team's games, ghost players, invitations,\n// join requests, or memberships are gone, and the team, with its contact phone, still stands.\nexport const LeagueTeamDeletionAdvancedEventSchema = z\n .object({\n type: z.literal('leagueTeam.deletionAdvanced'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// A ghost player's removal took the ghost's entries off finished games of its team — each one it sat\n// out without a stat, so no result or total changed, but the games' finalized records no longer name\n// it. The event names no game.\nexport const GhostPlayerFinishedEntriesRemovedEventSchema = z\n .object({\n type: z.literal('ghostPlayer.finishedEntriesRemoved'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, ghostUserId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// An admin set a team's contact phone, which only admins read.\nexport const LeagueTeamContactUpdatedEventSchema = z\n .object({\n type: z.literal('leagueTeamContact.updated'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// The landing page's document changed — its copy, or its gallery summary. There is one landing page,\n// so the event names none.\nexport const LandingPageUpdatedEventSchema = z\n .object({ type: z.literal('landingPage.updated'), ids: z.object({}).strict() })\n .strict();\n\n// A picture joined a gallery. It carries the whole new entry, so a client holding that gallery's\n// pages patches the entry in where its position sorts, and no gallery page is ever refetched for it\n// (RULE-STD-FRONTEND-103). The owner's summary changed too, and the owner's own update event says so.\nexport const GalleryPictureAddedEventSchema = z\n .object({\n type: z.literal('galleryPicture.added'),\n ids: z\n .object({\n ownerKind: galleryOwnerKindSchema,\n ownerId: z.string().min(1),\n pictureId: pictureIdSchema,\n })\n .strict(),\n position: z.string().min(1),\n createdAt: epochMsSchema,\n })\n .strict();\n\n// A dead-lettered row was replayed back onto its pipeline's queue, so the operator's dead-letter list\n// loses it. The list spans every lane, so the event names none.\nexport const DeadLetterReplayedEventSchema = z\n .object({ type: z.literal('deadLetter.replayed'), ids: z.object({}).strict() })\n .strict();\n\n// The migration console's state moved: an action ran a page, a step was recorded, or the cutover\n// was. There is one console, so the event names none.\nexport const MigrationConsoleChangedEventSchema = z\n .object({ type: z.literal('migrationConsole.changed'), ids: z.object({}).strict() })\n .strict();\n\nexport const DomainEventSchema = z.discriminatedUnion('type', [\n LeagueCreatedEventSchema,\n LeagueUpdatedEventSchema,\n LeagueModeSwitchedEventSchema,\n LeagueTeamCreatedEventSchema,\n TeamRosterChangedEventSchema,\n SignedWaiverCreatedEventSchema,\n GhostPlayerLinkedEventSchema,\n TeamJoinRequestSubmittedEventSchema,\n TeamJoinRequestCancelledEventSchema,\n TeamJoinRequestAnsweredEventSchema,\n TeamInvitationSentEventSchema,\n TeamInvitationCancelledEventSchema,\n TeamInvitationAnsweredEventSchema,\n LeagueFreeAgentSignedUpEventSchema,\n LeagueFreeAgentRemovedEventSchema,\n SportGameFinalizedEventSchema,\n SportGameReopenedEventSchema,\n SportGameStatEventsRecordedEventSchema,\n SportGameAbsenceChangedEventSchema,\n SportGameMemoUpdatedEventSchema,\n SportGameJumpBallChangedEventSchema,\n LeagueScheduleChangedEventSchema,\n SportGameUpdatedEventSchema,\n SportGameDeletedEventSchema,\n StatsRecalculatedEventSchema,\n SportGameStatsCorrectedEventSchema,\n StatsValidationReportedEventSchema,\n StatsValidationReportDeletedEventSchema,\n HistoricalStatsUpdatedEventSchema,\n UserStatusChangedEventSchema,\n AwardDefinitionCreatedEventSchema,\n AwardDefinitionUpdatedEventSchema,\n AwardDefinitionDeletedEventSchema,\n AwardGrantsChangedEventSchema,\n FeaturedAwardsChangedEventSchema,\n HardwareLoanContractChangedEventSchema,\n AdminListChangedEventSchema,\n UserRegisteredEventSchema,\n DisplayNameChangedEventSchema,\n StatsBeaconChangedEventSchema,\n WaiverTemplateCreatedEventSchema,\n WaiverTemplateUpdatedEventSchema,\n WaiverTemplateDeletedEventSchema,\n GameLocationCreatedEventSchema,\n GameLocationUpdatedEventSchema,\n GameLocationDeletedEventSchema,\n LeagueTeamUpdatedEventSchema,\n LeagueTeamDeletedEventSchema,\n LeagueTeamDeletionAdvancedEventSchema,\n GhostPlayerFinishedEntriesRemovedEventSchema,\n LeagueTeamContactUpdatedEventSchema,\n LandingPageUpdatedEventSchema,\n GalleryPictureAddedEventSchema,\n DeadLetterReplayedEventSchema,\n MigrationConsoleChangedEventSchema,\n]);\nexport type DomainEvent = z.infer<typeof DomainEventSchema>;\nexport type DomainEventType = DomainEvent['type'];\n"]}
1
+ {"version":3,"file":"domain-events.js","sourceRoot":"","sources":["../../src/domain-events/domain-events.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,EAAE;AACF,mGAAmG;AACnG,iHAAiH;AACjH,6CAA6C;AAE7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,aAAa,EACb,YAAY,EACZ,4BAA4B,EAC5B,cAAc,EACd,cAAc,EACd,6BAA6B,EAC7B,YAAY,EACZ,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IACjC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CACrD,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;K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gCAAgC;IAChC,sCAAsC;IACtC,yBAAyB;IACzB,6BAA6B;IAC7B,6BAA6B;IAC7B,gCAAgC;IAChC,gCAAgC;IAChC,gCAAgC;IAChC,8BAA8B;IAC9B,8BAA8B;IAC9B,8BAA8B;IAC9B,4BAA4B;IAC5B,4BAA4B;IAC5B,qCAAqC;IACrC,4CAA4C;IAC5C,mCAAmC;IACnC,6BAA6B;IAC7B,8BAA8B;IAC9B,6BAA6B;IAC7B,kCAAkC;CACnC,CAAC,CAAC","sourcesContent":["// The DomainEvent union — the vocabulary of \"what happened\" that both sides of the boundary share.\n//\n// A callable or trigger names what it changed with one of these; the client alone maps an event to\n// the query-key families it makes stale (the invalidation registry is app-local, RULE-STD-FRONTEND-102). The two\n// sides share event names, never cache keys.\n\nimport { z } from 'zod';\nimport {\n epochMsSchema,\n gameIdSchema,\n hardwareLoanContractIdSchema,\n leagueIdSchema,\n sportKeySchema,\n statsValidationReportIdSchema,\n teamIdSchema,\n userIdSchema,\n} from '../doc-schemas/atoms.js';\nimport { awardIdSchema } from '../doc-schemas/catalogs.js';\nimport { gameLocationIdSchema } from '../doc-schemas/game-location.js';\nimport { galleryOwnerKindSchema, pictureIdSchema } from '../doc-schemas/gallery.js';\nimport { waiverTemplateIdSchema } from '../doc-schemas/waiver-template.js';\n\nexport const LeagueCreatedEventSchema = z\n .object({\n type: z.literal('league.created'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\nexport const LeagueUpdatedEventSchema = z\n .object({\n type: z.literal('league.updated'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\n// The league changed mode, and with it the `teamType` of every one of its teams.\nexport const LeagueModeSwitchedEventSchema = z\n .object({\n type: z.literal('league.modeSwitched'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\nexport const LeagueTeamCreatedEventSchema = z\n .object({\n type: z.literal('leagueTeam.created'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// A member was added, removed, or changed role on a team — by any path, ghosts included.\nexport const TeamRosterChangedEventSchema = z\n .object({\n type: z.literal('teamRoster.changed'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// A waiver was signed for a person in a league — by them, or for a ghost by a witness.\nexport const SignedWaiverCreatedEventSchema = z\n .object({\n type: z.literal('signedWaiver.created'),\n ids: z.object({ leagueId: leagueIdSchema, userId: userIdSchema }).strict(),\n })\n .strict();\n\nexport const GhostPlayerLinkedEventSchema = z\n .object({\n type: z.literal('ghostPlayer.linked'),\n ids: z\n .object({\n leagueId: leagueIdSchema,\n teamId: teamIdSchema,\n ghostUserId: userIdSchema,\n realUserId: userIdSchema,\n })\n .strict(),\n })\n .strict();\n\nexport const TeamJoinRequestSubmittedEventSchema = z\n .object({\n type: z.literal('teamJoinRequest.submitted'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The requester withdrew their join request.\nexport const TeamJoinRequestCancelledEventSchema = z\n .object({\n type: z.literal('teamJoinRequest.cancelled'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The team accepted or rejected a join request. An acceptance also changed the roster.\nexport const TeamJoinRequestAnsweredEventSchema = z\n .object({\n type: z.literal('teamJoinRequest.answered'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The team invited a person. `userId` is the invitee.\nexport const TeamInvitationSentEventSchema = z\n .object({\n type: z.literal('teamInvitation.sent'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The team withdrew an invitation. `userId` is the invitee.\nexport const TeamInvitationCancelledEventSchema = z\n .object({\n type: z.literal('teamInvitation.cancelled'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// The invitee accepted or declined an invitation. An acceptance also changed the roster.\nexport const TeamInvitationAnsweredEventSchema = z\n .object({\n type: z.literal('teamInvitation.answered'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, userId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// A player signed up as a free agent in a league.\nexport const LeagueFreeAgentSignedUpEventSchema = z\n .object({\n type: z.literal('leagueFreeAgent.signedUp'),\n ids: z.object({ leagueId: leagueIdSchema, userId: userIdSchema }).strict(),\n })\n .strict();\n\n// A player's free-agent signup ended: they withdrew it, or an admin placed them on a team.\nexport const LeagueFreeAgentRemovedEventSchema = z\n .object({\n type: z.literal('leagueFreeAgent.removed'),\n ids: z.object({ leagueId: leagueIdSchema, userId: userIdSchema }).strict(),\n })\n .strict();\n\nexport const SportGameFinalizedEventSchema = z\n .object({\n type: z.literal('sportGame.finalized'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\nexport const SportGameReopenedEventSchema = z\n .object({\n type: z.literal('sportGame.reopened'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A scoring write stored stat events on a live game: its rollup and score moved.\nexport const SportGameStatEventsRecordedEventSchema = z\n .object({\n type: z.literal('sportGame.statEventsRecorded'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A roster entry of a live game was marked absent or present.\nexport const SportGameAbsenceChangedEventSchema = z\n .object({\n type: z.literal('sportGame.absenceChanged'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A scorer's note on one person in a live game changed.\nexport const SportGameMemoUpdatedEventSchema = z\n .object({\n type: z.literal('sportGame.memoUpdated'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// The jump-ball possession arrow of a live basketball game moved.\nexport const SportGameJumpBallChangedEventSchema = z\n .object({\n type: z.literal('sportGame.jumpBallChanged'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A league's schedule changed as a whole: a week was created, its shared fields edited, or it was\n// deleted, or a game was added to a week. Any of the league's games may have been added, changed, or\n// removed.\nexport const LeagueScheduleChangedEventSchema = z\n .object({\n type: z.literal('leagueSchedule.changed'),\n ids: z.object({ leagueId: leagueIdSchema }).strict(),\n })\n .strict();\n\n// One game's schedule changed — its week, start time, or venue — or its teams were replaced, which\n// replaces their roster entries and stat lines too.\nexport const SportGameUpdatedEventSchema = z\n .object({\n type: z.literal('sportGame.updated'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// One game was deleted with its events and roster.\nexport const SportGameDeletedEventSchema = z\n .object({\n type: z.literal('sportGame.deleted'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A rebuild ran. Every scope id is optional: a rebuild covers one league, every league, one user,\n// every user, or one sport's hall of fame (for one user or the whole sport).\nexport const StatsRecalculatedEventSchema = z\n .object({\n type: z.literal('stats.recalculated'),\n ids: z\n .object({\n userId: userIdSchema.optional(),\n leagueId: leagueIdSchema.optional(),\n sportKey: sportKeySchema.optional(),\n })\n .strict(),\n })\n .strict();\n\n// A game's numbers were corrected or restored from its events in Fix stats; for a completed game,\n// every destination it feeds moved with them.\nexport const SportGameStatsCorrectedEventSchema = z\n .object({\n type: z.literal('sportGame.statsCorrected'),\n ids: z.object({ leagueId: leagueIdSchema, gameId: gameIdSchema }).strict(),\n })\n .strict();\n\n// A stats check wrote or advanced its report.\nexport const StatsValidationReportedEventSchema = z\n .object({\n type: z.literal('statsValidation.reported'),\n ids: z.object({ reportId: z.string().min(1) }).strict(),\n })\n .strict();\n\n// An admin deleted a stats check's report.\nexport const StatsValidationReportDeletedEventSchema = z\n .object({\n type: z.literal('statsValidation.reportDeleted'),\n ids: z.object({ reportId: statsValidationReportIdSchema }).strict(),\n })\n .strict();\n\n// A person's pre-Q-Sports baseline was written, and their career line and hall-of-fame entry rebuilt.\nexport const HistoricalStatsUpdatedEventSchema = z\n .object({\n type: z.literal('historicalStats.updated'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// An admin banned an account or lifted its ban.\nexport const UserStatusChangedEventSchema = z\n .object({\n type: z.literal('user.statusChanged'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// An award joined the catalog — its first badge was published.\nexport const AwardDefinitionCreatedEventSchema = z\n .object({\n type: z.literal('awardDefinition.created'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\n// An award's document changed: its badge was replaced, or its holder count moved.\nexport const AwardDefinitionUpdatedEventSchema = z\n .object({\n type: z.literal('awardDefinition.updated'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\nexport const AwardDefinitionDeletedEventSchema = z\n .object({\n type: z.literal('awardDefinition.deleted'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\n// An award was granted to or revoked from some accounts, which may have cleared a featured badge.\n// The accounts are many, so the event names the award; a client holding any profile's awards\n// refreshes them.\nexport const AwardGrantsChangedEventSchema = z\n .object({\n type: z.literal('awardGrants.changed'),\n ids: z.object({ awardId: awardIdSchema }).strict(),\n })\n .strict();\n\n// An account chose which of its awards to feature beside its name.\nexport const FeaturedAwardsChangedEventSchema = z\n .object({\n type: z.literal('featuredAwards.changed'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// A hardware loan contract was created, signed, returned, or deleted.\nexport const HardwareLoanContractChangedEventSchema = z\n .object({\n type: z.literal('hardwareLoanContract.changed'),\n ids: z\n .object({ contractId: hardwareLoanContractIdSchema, refereeUserId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// A new account finished registration: its profile and public identity now exist.\nexport const UserRegisteredEventSchema = z\n .object({ type: z.literal('user.registered'), ids: z.object({ userId: userIdSchema }).strict() })\n .strict();\n\nexport const DisplayNameChangedEventSchema = z\n .object({\n type: z.literal('displayName.changed'),\n ids: z.object({ userId: userIdSchema }).strict(),\n })\n .strict();\n\n// The shared stats beacon moved: stats changed somewhere. The beacon holds only its latest change,\n// not a log of them, so the event names no scope and a watching client refreshes every\n// stats-bearing read.\nexport const StatsBeaconChangedEventSchema = z\n .object({ type: z.literal('statsBeacon.changed'), ids: z.object({}).strict() })\n .strict();\n\nexport const WaiverTemplateCreatedEventSchema = z\n .object({\n type: z.literal('waiverTemplate.created'),\n ids: z.object({ waiverTemplateId: waiverTemplateIdSchema }).strict(),\n })\n .strict();\n\n// A template's wording changed: a new version was published.\nexport const WaiverTemplateUpdatedEventSchema = z\n .object({\n type: z.literal('waiverTemplate.updated'),\n ids: z.object({ waiverTemplateId: waiverTemplateIdSchema }).strict(),\n })\n .strict();\n\n// A template left the admin's list — deleted, or retired because something still names it.\nexport const WaiverTemplateDeletedEventSchema = z\n .object({\n type: z.literal('waiverTemplate.deleted'),\n ids: z.object({ waiverTemplateId: waiverTemplateIdSchema }).strict(),\n })\n .strict();\n\nexport const GameLocationCreatedEventSchema = z\n .object({\n type: z.literal('gameLocation.created'),\n ids: z.object({ gameLocationId: gameLocationIdSchema }).strict(),\n })\n .strict();\n\n// A venue's document changed — its own fields through the location callables, or its picture\n// through the upload pipeline.\nexport const GameLocationUpdatedEventSchema = z\n .object({\n type: z.literal('gameLocation.updated'),\n ids: z.object({ gameLocationId: gameLocationIdSchema }).strict(),\n })\n .strict();\n\nexport const GameLocationDeletedEventSchema = z\n .object({\n type: z.literal('gameLocation.deleted'),\n ids: z.object({ gameLocationId: gameLocationIdSchema }).strict(),\n })\n .strict();\n\n// A team's document changed: an admin renamed it or changed its type, or the picture core changed its\n// gallery summary.\nexport const LeagueTeamUpdatedEventSchema = z\n .object({\n type: z.literal('leagueTeam.updated'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// An admin deleted a team that never played, with its memberships, ghosts, invitations, join\n// requests, contact phone, gallery, and unplayed games.\nexport const LeagueTeamDeletedEventSchema = z\n .object({\n type: z.literal('leagueTeam.deleted'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// An admin's deletion of a team stopped short: some of the team's games, ghost players, invitations,\n// join requests, or memberships are gone, and the team, with its contact phone, still stands.\nexport const LeagueTeamDeletionAdvancedEventSchema = z\n .object({\n type: z.literal('leagueTeam.deletionAdvanced'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// A ghost player's removal took the ghost's entries off finished games of its team — each one it sat\n// out without a stat, so no result or total changed, but the games' finalized records no longer name\n// it. The event names no game.\nexport const GhostPlayerFinishedEntriesRemovedEventSchema = z\n .object({\n type: z.literal('ghostPlayer.finishedEntriesRemoved'),\n ids: z\n .object({ leagueId: leagueIdSchema, teamId: teamIdSchema, ghostUserId: userIdSchema })\n .strict(),\n })\n .strict();\n\n// An admin set a team's contact phone, which only admins read.\nexport const LeagueTeamContactUpdatedEventSchema = z\n .object({\n type: z.literal('leagueTeamContact.updated'),\n ids: z.object({ leagueId: leagueIdSchema, teamId: teamIdSchema }).strict(),\n })\n .strict();\n\n// The landing page's document changed — its copy, or its gallery summary. There is one landing page,\n// so the event names none.\nexport const LandingPageUpdatedEventSchema = z\n .object({ type: z.literal('landingPage.updated'), ids: z.object({}).strict() })\n .strict();\n\n// A picture joined a gallery. It carries the whole new entry, so a client holding that gallery's\n// pages patches the entry in where its position sorts, and no gallery page is ever refetched for it\n// (RULE-STD-FRONTEND-103). The owner's summary changed too, and the owner's own update event says so.\nexport const GalleryPictureAddedEventSchema = z\n .object({\n type: z.literal('galleryPicture.added'),\n ids: z\n .object({\n ownerKind: galleryOwnerKindSchema,\n ownerId: z.string().min(1),\n pictureId: pictureIdSchema,\n })\n .strict(),\n position: z.string().min(1),\n createdAt: epochMsSchema,\n })\n .strict();\n\n// A dead-lettered row was replayed back onto its pipeline's queue, so the operator's dead-letter list\n// loses it. The list spans every lane, so the event names none.\nexport const DeadLetterReplayedEventSchema = z\n .object({ type: z.literal('deadLetter.replayed'), ids: z.object({}).strict() })\n .strict();\n\n// The migration console's state moved: an action ran a page, a step was recorded, or the cutover\n// was. There is one console, so the event names none.\nexport const MigrationConsoleChangedEventSchema = z\n .object({ type: z.literal('migrationConsole.changed'), ids: z.object({}).strict() })\n .strict();\n\nexport const DomainEventSchema = z.discriminatedUnion('type', [\n LeagueCreatedEventSchema,\n LeagueUpdatedEventSchema,\n LeagueModeSwitchedEventSchema,\n LeagueTeamCreatedEventSchema,\n TeamRosterChangedEventSchema,\n SignedWaiverCreatedEventSchema,\n GhostPlayerLinkedEventSchema,\n TeamJoinRequestSubmittedEventSchema,\n TeamJoinRequestCancelledEventSchema,\n TeamJoinRequestAnsweredEventSchema,\n TeamInvitationSentEventSchema,\n TeamInvitationCancelledEventSchema,\n TeamInvitationAnsweredEventSchema,\n LeagueFreeAgentSignedUpEventSchema,\n LeagueFreeAgentRemovedEventSchema,\n SportGameFinalizedEventSchema,\n SportGameReopenedEventSchema,\n SportGameStatEventsRecordedEventSchema,\n SportGameAbsenceChangedEventSchema,\n SportGameMemoUpdatedEventSchema,\n SportGameJumpBallChangedEventSchema,\n LeagueScheduleChangedEventSchema,\n SportGameUpdatedEventSchema,\n SportGameDeletedEventSchema,\n StatsRecalculatedEventSchema,\n SportGameStatsCorrectedEventSchema,\n StatsValidationReportedEventSchema,\n StatsValidationReportDeletedEventSchema,\n HistoricalStatsUpdatedEventSchema,\n UserStatusChangedEventSchema,\n AwardDefinitionCreatedEventSchema,\n AwardDefinitionUpdatedEventSchema,\n AwardDefinitionDeletedEventSchema,\n AwardGrantsChangedEventSchema,\n FeaturedAwardsChangedEventSchema,\n HardwareLoanContractChangedEventSchema,\n UserRegisteredEventSchema,\n DisplayNameChangedEventSchema,\n StatsBeaconChangedEventSchema,\n WaiverTemplateCreatedEventSchema,\n WaiverTemplateUpdatedEventSchema,\n WaiverTemplateDeletedEventSchema,\n GameLocationCreatedEventSchema,\n GameLocationUpdatedEventSchema,\n GameLocationDeletedEventSchema,\n LeagueTeamUpdatedEventSchema,\n LeagueTeamDeletedEventSchema,\n LeagueTeamDeletionAdvancedEventSchema,\n GhostPlayerFinishedEntriesRemovedEventSchema,\n LeagueTeamContactUpdatedEventSchema,\n LandingPageUpdatedEventSchema,\n GalleryPictureAddedEventSchema,\n DeadLetterReplayedEventSchema,\n MigrationConsoleChangedEventSchema,\n]);\nexport type DomainEvent = z.infer<typeof DomainEventSchema>;\nexport type DomainEventType = DomainEvent['type'];\n"]}
@@ -247,11 +247,6 @@ export declare const AdminMovePictureResultSchema: z.ZodObject<{
247
247
  contractId: z.ZodString;
248
248
  refereeUserId: z.ZodString;
249
249
  }, z.core.$strict>;
250
- }, z.core.$strict>, z.ZodObject<{
251
- type: z.ZodLiteral<"adminList.changed">;
252
- ids: z.ZodObject<{
253
- userId: z.ZodString;
254
- }, z.core.$strict>;
255
250
  }, z.core.$strict>, z.ZodObject<{
256
251
  type: z.ZodLiteral<"user.registered">;
257
252
  ids: z.ZodObject<{
@@ -585,11 +580,6 @@ export declare const AdminUpdateFeaturedPictureResultSchema: z.ZodObject<{
585
580
  contractId: z.ZodString;
586
581
  refereeUserId: z.ZodString;
587
582
  }, z.core.$strict>;
588
- }, z.core.$strict>, z.ZodObject<{
589
- type: z.ZodLiteral<"adminList.changed">;
590
- ids: z.ZodObject<{
591
- userId: z.ZodString;
592
- }, z.core.$strict>;
593
583
  }, z.core.$strict>, z.ZodObject<{
594
584
  type: z.ZodLiteral<"user.registered">;
595
585
  ids: z.ZodObject<{
@@ -932,11 +922,6 @@ export declare const AdminDeletePictureResultSchema: z.ZodObject<{
932
922
  contractId: z.ZodString;
933
923
  refereeUserId: z.ZodString;
934
924
  }, z.core.$strict>;
935
- }, z.core.$strict>, z.ZodObject<{
936
- type: z.ZodLiteral<"adminList.changed">;
937
- ids: z.ZodObject<{
938
- userId: z.ZodString;
939
- }, z.core.$strict>;
940
925
  }, z.core.$strict>, z.ZodObject<{
941
926
  type: z.ZodLiteral<"user.registered">;
942
927
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"pictures.d.ts","sourceRoot":"","sources":["../../src/schemas/pictures.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;kBAE3B,CAAC;AACZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B;;;kBAM7B,CAAC;AACZ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAE9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,qCAAqC;;kBAEvC,CAAC;AACZ,MAAM,MAAM,+BAA+B,GAAG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAExC,CAAC;AACZ,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;kBAO/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/q-core",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Core types, Firestore path constants, zod schemas, and shared constants for Q-Sports",
5
5
  "repository": {
6
6
  "type": "git",