@ttt-productions/q-core 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/business.d.ts +40 -9
- package/dist/constants/business.d.ts.map +1 -1
- package/dist/constants/business.js +41 -20
- package/dist/constants/business.js.map +1 -1
- package/dist/doc-schemas/admin-notifications.d.ts +1 -1
- package/dist/doc-schemas/award-group-grant.d.ts +60 -0
- package/dist/doc-schemas/award-group-grant.d.ts.map +1 -0
- package/dist/doc-schemas/award-group-grant.js +72 -0
- package/dist/doc-schemas/award-group-grant.js.map +1 -0
- package/dist/doc-schemas/index.d.ts +1 -0
- package/dist/doc-schemas/index.d.ts.map +1 -1
- package/dist/doc-schemas/index.js +1 -0
- package/dist/doc-schemas/index.js.map +1 -1
- package/dist/doc-schemas/migration-console.d.ts +3 -3
- package/dist/doc-schemas/registry.d.ts +50 -12
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/doc-schemas/registry.js +5 -0
- package/dist/doc-schemas/registry.js.map +1 -1
- package/dist/doc-schemas/stats-operation.d.ts +18 -18
- package/dist/ids/award-grant-ids.d.ts +9 -0
- package/dist/ids/award-grant-ids.d.ts.map +1 -0
- package/dist/ids/award-grant-ids.js +17 -0
- package/dist/ids/award-grant-ids.js.map +1 -0
- package/dist/ids/index.d.ts +1 -0
- package/dist/ids/index.d.ts.map +1 -1
- package/dist/ids/index.js +1 -0
- package/dist/ids/index.js.map +1 -1
- package/dist/paths/collection-groups.d.ts +1 -0
- package/dist/paths/collection-groups.d.ts.map +1 -1
- package/dist/paths/collection-groups.js +3 -1
- package/dist/paths/collection-groups.js.map +1 -1
- package/dist/paths/collection-refs.d.ts +1 -0
- package/dist/paths/collection-refs.d.ts.map +1 -1
- package/dist/paths/collection-refs.js +1 -0
- package/dist/paths/collection-refs.js.map +1 -1
- package/dist/paths/collections.d.ts +5 -0
- package/dist/paths/collections.d.ts.map +1 -1
- package/dist/paths/collections.js +8 -0
- package/dist/paths/collections.js.map +1 -1
- package/dist/paths/path-builders.d.ts +3 -0
- package/dist/paths/path-builders.d.ts.map +1 -1
- package/dist/paths/path-builders.js +13 -1
- package/dist/paths/path-builders.js.map +1 -1
- package/dist/schemas/admin-notifications.d.ts +1 -1
- package/dist/schemas/awards.d.ts +94 -2
- package/dist/schemas/awards.d.ts.map +1 -1
- package/dist/schemas/awards.js +49 -9
- package/dist/schemas/awards.js.map +1 -1
- package/dist/schemas/leagues.d.ts +2 -2
- package/dist/schemas/migration-console.d.ts +7 -7
- package/dist/types/unions.d.ts +8 -0
- package/dist/types/unions.d.ts.map +1 -1
- package/dist/types/unions.js +12 -2
- package/dist/types/unions.js.map +1 -1
- package/package.json +1 -1
|
@@ -1229,6 +1229,42 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1229
1229
|
createdAt: z.ZodNumber;
|
|
1230
1230
|
updatedAt: z.ZodNumber;
|
|
1231
1231
|
}, z.core.$strict>;
|
|
1232
|
+
readonly 'awardGroupGrants/{grantId}': z.ZodObject<{
|
|
1233
|
+
grantId: z.ZodString;
|
|
1234
|
+
action: z.ZodEnum<{
|
|
1235
|
+
grant: "grant";
|
|
1236
|
+
revoke: "revoke";
|
|
1237
|
+
}>;
|
|
1238
|
+
awardId: z.ZodString;
|
|
1239
|
+
groupType: z.ZodEnum<{
|
|
1240
|
+
team: "team";
|
|
1241
|
+
league: "league";
|
|
1242
|
+
}>;
|
|
1243
|
+
groupId: z.ZodString;
|
|
1244
|
+
targetKey: z.ZodString;
|
|
1245
|
+
decision: z.ZodNumber;
|
|
1246
|
+
actorUid: z.ZodString;
|
|
1247
|
+
status: z.ZodEnum<{
|
|
1248
|
+
pending: "pending";
|
|
1249
|
+
complete: "complete";
|
|
1250
|
+
}>;
|
|
1251
|
+
createdAt: z.ZodNumber;
|
|
1252
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
1253
|
+
attemptCount: z.ZodNumber;
|
|
1254
|
+
nextAttemptAt: z.ZodNumber;
|
|
1255
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
}, z.core.$strict>;
|
|
1257
|
+
readonly 'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': z.ZodObject<{
|
|
1258
|
+
userId: z.ZodString;
|
|
1259
|
+
heldBefore: z.ZodBoolean;
|
|
1260
|
+
recordedAt: z.ZodNumber;
|
|
1261
|
+
revoked: z.ZodBoolean;
|
|
1262
|
+
revokedAt: z.ZodOptional<z.ZodNumber>;
|
|
1263
|
+
revokeSkipped: z.ZodOptional<z.ZodEnum<{
|
|
1264
|
+
heldBefore: "heldBefore";
|
|
1265
|
+
heldByAnotherGrant: "heldByAnotherGrant";
|
|
1266
|
+
}>>;
|
|
1267
|
+
}, z.core.$strict>;
|
|
1232
1268
|
readonly 'sportHallOfFame/{sportKey}': z.ZodObject<{
|
|
1233
1269
|
playerStats: z.ZodRecord<z.ZodString, z.ZodUnion<(z.ZodObject<{
|
|
1234
1270
|
fantasyPoints: z.ZodNumber;
|
|
@@ -1312,8 +1348,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1312
1348
|
startedAt: z.ZodNumber;
|
|
1313
1349
|
updatedAt: z.ZodNumber;
|
|
1314
1350
|
status: z.ZodEnum<{
|
|
1315
|
-
running: "running";
|
|
1316
1351
|
complete: "complete";
|
|
1352
|
+
running: "running";
|
|
1317
1353
|
stopped: "stopped";
|
|
1318
1354
|
}>;
|
|
1319
1355
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1333,8 +1369,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1333
1369
|
startedAt: z.ZodNumber;
|
|
1334
1370
|
updatedAt: z.ZodNumber;
|
|
1335
1371
|
status: z.ZodEnum<{
|
|
1336
|
-
running: "running";
|
|
1337
1372
|
complete: "complete";
|
|
1373
|
+
running: "running";
|
|
1338
1374
|
stopped: "stopped";
|
|
1339
1375
|
}>;
|
|
1340
1376
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1359,8 +1395,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1359
1395
|
startedAt: z.ZodNumber;
|
|
1360
1396
|
updatedAt: z.ZodNumber;
|
|
1361
1397
|
status: z.ZodEnum<{
|
|
1362
|
-
running: "running";
|
|
1363
1398
|
complete: "complete";
|
|
1399
|
+
running: "running";
|
|
1364
1400
|
stopped: "stopped";
|
|
1365
1401
|
}>;
|
|
1366
1402
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1383,8 +1419,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1383
1419
|
startedAt: z.ZodNumber;
|
|
1384
1420
|
updatedAt: z.ZodNumber;
|
|
1385
1421
|
status: z.ZodEnum<{
|
|
1386
|
-
running: "running";
|
|
1387
1422
|
complete: "complete";
|
|
1423
|
+
running: "running";
|
|
1388
1424
|
stopped: "stopped";
|
|
1389
1425
|
}>;
|
|
1390
1426
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1403,8 +1439,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1403
1439
|
startedAt: z.ZodNumber;
|
|
1404
1440
|
updatedAt: z.ZodNumber;
|
|
1405
1441
|
status: z.ZodEnum<{
|
|
1406
|
-
running: "running";
|
|
1407
1442
|
complete: "complete";
|
|
1443
|
+
running: "running";
|
|
1408
1444
|
stopped: "stopped";
|
|
1409
1445
|
}>;
|
|
1410
1446
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1423,8 +1459,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1423
1459
|
startedAt: z.ZodNumber;
|
|
1424
1460
|
updatedAt: z.ZodNumber;
|
|
1425
1461
|
status: z.ZodEnum<{
|
|
1426
|
-
running: "running";
|
|
1427
1462
|
complete: "complete";
|
|
1463
|
+
running: "running";
|
|
1428
1464
|
stopped: "stopped";
|
|
1429
1465
|
}>;
|
|
1430
1466
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1448,8 +1484,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1448
1484
|
startedAt: z.ZodNumber;
|
|
1449
1485
|
updatedAt: z.ZodNumber;
|
|
1450
1486
|
status: z.ZodEnum<{
|
|
1451
|
-
running: "running";
|
|
1452
1487
|
complete: "complete";
|
|
1488
|
+
running: "running";
|
|
1453
1489
|
stopped: "stopped";
|
|
1454
1490
|
}>;
|
|
1455
1491
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1497,8 +1533,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1497
1533
|
startedAt: z.ZodNumber;
|
|
1498
1534
|
updatedAt: z.ZodNumber;
|
|
1499
1535
|
status: z.ZodEnum<{
|
|
1500
|
-
running: "running";
|
|
1501
1536
|
complete: "complete";
|
|
1537
|
+
running: "running";
|
|
1502
1538
|
stopped: "stopped";
|
|
1503
1539
|
}>;
|
|
1504
1540
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -1516,8 +1552,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1516
1552
|
startedAt: z.ZodNumber;
|
|
1517
1553
|
updatedAt: z.ZodNumber;
|
|
1518
1554
|
status: z.ZodEnum<{
|
|
1519
|
-
running: "running";
|
|
1520
1555
|
complete: "complete";
|
|
1556
|
+
running: "running";
|
|
1521
1557
|
stopped: "stopped";
|
|
1522
1558
|
}>;
|
|
1523
1559
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -2722,8 +2758,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2722
2758
|
userId: z.ZodString;
|
|
2723
2759
|
category: z.ZodLiteral<"admin">;
|
|
2724
2760
|
state: z.ZodEnum<{
|
|
2725
|
-
failed: "failed";
|
|
2726
2761
|
complete: "complete";
|
|
2762
|
+
failed: "failed";
|
|
2727
2763
|
"in-progress": "in-progress";
|
|
2728
2764
|
incomplete: "incomplete";
|
|
2729
2765
|
}>;
|
|
@@ -2973,8 +3009,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2973
3009
|
updatedAt: z.ZodNumber;
|
|
2974
3010
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
2975
3011
|
status: z.ZodEnum<{
|
|
2976
|
-
running: "running";
|
|
2977
3012
|
complete: "complete";
|
|
3013
|
+
running: "running";
|
|
2978
3014
|
stopped: "stopped";
|
|
2979
3015
|
}>;
|
|
2980
3016
|
pages: z.ZodNumber;
|
|
@@ -3008,8 +3044,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3008
3044
|
updatedAt: z.ZodNumber;
|
|
3009
3045
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
3010
3046
|
status: z.ZodEnum<{
|
|
3011
|
-
running: "running";
|
|
3012
3047
|
complete: "complete";
|
|
3048
|
+
running: "running";
|
|
3013
3049
|
stopped: "stopped";
|
|
3014
3050
|
}>;
|
|
3015
3051
|
pages: z.ZodNumber;
|
|
@@ -3073,6 +3109,8 @@ export declare const COLLECTION_DOC_ID_FIELDS: {
|
|
|
3073
3109
|
readonly 'adminNotificationHistory/{historyId}': "archiveOccurrenceId";
|
|
3074
3110
|
readonly 'notificationDeliveries/{deliveryId}': "deliveryId";
|
|
3075
3111
|
readonly 'notificationArchiveAllJobs/{jobId}': "jobId";
|
|
3112
|
+
readonly 'awardGroupGrants/{grantId}': "grantId";
|
|
3113
|
+
readonly 'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': "userId";
|
|
3076
3114
|
readonly 'migrationActionRuns/{actionId}': "actionId";
|
|
3077
3115
|
};
|
|
3078
3116
|
export declare const PENDING_COLLECTIONS: readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDkB,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"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { StatusReconcileQueueEntrySchema } from './status-reconcile-queue.js';
|
|
9
9
|
import { ActiveAdminNotificationSchema, AdminNotificationHistorySchema, NotificationArchiveAllJobSchema, NotificationDeliverySchema, } from './admin-notifications.js';
|
|
10
10
|
import { AwardDefinitionSchema } from './catalogs.js';
|
|
11
|
+
import { AwardGroupGrantPersonSchema, AwardGroupGrantSchema } from './award-group-grant.js';
|
|
11
12
|
import { GameLocationSchema } from './game-location.js';
|
|
12
13
|
import { GalleryPictureSchema } from './gallery.js';
|
|
13
14
|
import { PendingMediaSchema } from './pending-media.js';
|
|
@@ -57,6 +58,8 @@ export const COLLECTION_SCHEMAS = {
|
|
|
57
58
|
'signedWaivers/{signedWaiverId}': SignedWaiverSchema,
|
|
58
59
|
'hardwareLoanContracts/{contractId}': HardwareLoanContractSchema,
|
|
59
60
|
'awardDefinitions/{awardId}': AwardDefinitionSchema,
|
|
61
|
+
'awardGroupGrants/{grantId}': AwardGroupGrantSchema,
|
|
62
|
+
'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': AwardGroupGrantPersonSchema,
|
|
60
63
|
'sportHallOfFame/{sportKey}': SportHallOfFameSchema,
|
|
61
64
|
'statsValidationReports/{reportId}': StatsValidationReportSchema,
|
|
62
65
|
'statsOperations/{operationId}': StatsOperationSchema,
|
|
@@ -88,6 +91,8 @@ export const COLLECTION_DOC_ID_FIELDS = {
|
|
|
88
91
|
'adminNotificationHistory/{historyId}': 'archiveOccurrenceId',
|
|
89
92
|
'notificationDeliveries/{deliveryId}': 'deliveryId',
|
|
90
93
|
'notificationArchiveAllJobs/{jobId}': 'jobId',
|
|
94
|
+
'awardGroupGrants/{grantId}': 'grantId',
|
|
95
|
+
'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': 'userId',
|
|
91
96
|
'migrationActionRuns/{actionId}': 'actionId',
|
|
92
97
|
};
|
|
93
98
|
// Collections declared in ../paths with no bound schema yet, each with the reason.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,iGAAiG;AACjG,qBAAqB;AACrB,EAAE;AACF,kGAAkG;AAClG,qGAAqG;AACrG,0DAA0D;AAG1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAs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AI;IACrC,sCAAsC,EAAE,qBAAqB;IAC7D,qCAAqC,EAAE,YAAY;IACnD,oCAAoC,EAAE,OAAO;IAC7C,gCAAgC,EAAE,UAAU;CACwB,CAAC;AAEvE,mFAAmF;AACnF,MAAM,CAAC,MAAM,mBAAmB,GAAsB,EAAE,CAAC","sourcesContent":["// Collection → schema registry: every Firestore path template bound to the zod schema its\n// documents must satisfy. Every document a migration copy action writes is validated against the\n// schema bound here.\n//\n// A key is the literal path template — `{placeholder}` for an id, the literal segment for a fixed\n// document id. __tests__/doc-schemas-registry.test.ts fails when a collection constant has neither a\n// binding here nor an explicit PENDING_COLLECTIONS entry.\n\nimport type { z } from 'zod';\nimport { StatusReconcileQueueEntrySchema } from './status-reconcile-queue.js';\nimport {\n ActiveAdminNotificationSchema,\n AdminNotificationHistorySchema,\n NotificationArchiveAllJobSchema,\n NotificationDeliverySchema,\n} from './admin-notifications.js';\nimport { AwardDefinitionSchema } from './catalogs.js';\nimport { GameLocationSchema } from './game-location.js';\nimport { GalleryPictureSchema } from './gallery.js';\nimport { PendingMediaSchema } from './pending-media.js';\nimport { PictureRetirementSchema } from './picture-retirement.js';\nimport { GameRosterPlayerSchema, SportGameSchema } from './sport-game.js';\nimport { SportHallOfFameSchema } from './aggregate-stats.js';\nimport { GameStatHistoryPageSchema } from './game-stat-history.js';\nimport { GameStatEventSchema } from './game-stats.js';\nimport { StatsOperationSchema } from './stats-operation.js';\nimport { LeagueTeamContactSchema, LeagueTeamSchema } from './league-team.js';\nimport { MembershipRosterSyncSchema } from './membership-roster-sync.js';\nimport { MigrationActionRunSchema, MigrationConsoleSchema } from './migration-console.js';\nimport { AuditEventSchema } from './audit-event.js';\nimport { PublicUserSchema } from './publicUser.js';\nimport { RegistrationStartSchema } from './registration-start.js';\nimport { ReservedDisplayNameSchema } from './reserved-display-name.js';\nimport { SportLeagueSchema } from './sport-league.js';\nimport { SweepStateSchema } from './sweep-state.js';\nimport {\n AppConfigSchema,\n LandingPageConfigSchema,\n AdminListSchema,\n StatsBeaconSchema,\n StatsValidationReportSchema,\n} from './system.js';\nimport {\n LeagueFreeAgentSchema,\n TeamJoinRequestSchema,\n TeamInvitationSchema,\n TeamMembershipSchema,\n} from './team-membership.js';\nimport { HistoricalStatsSchema, UserPrivateDataSchema, UserProfileSchema } from './user-profile.js';\nimport { HardwareLoanContractSchema, SignedWaiverSchema } from './waivers-and-hardware.js';\nimport { WaiverTemplateSchema, WaiverTemplateVersionSchema } from './waiver-template.js';\n\nexport const COLLECTION_SCHEMAS = {\n 'userProfiles/{userId}': UserProfileSchema,\n 'userProfiles/{userId}/privateData/{privateDataId}': UserPrivateDataSchema,\n 'userProfiles/{userId}/historicalStats/{sportKey}': HistoricalStatsSchema,\n 'publicUsers/{userId}': PublicUserSchema,\n 'reservedDisplayNames/{reservedDisplayNameKey}': ReservedDisplayNameSchema,\n 'statusReconcileQueue/{userId}': StatusReconcileQueueEntrySchema,\n 'registrationStarts/{userId}': RegistrationStartSchema,\n\n 'sportLeagues/{leagueId}': SportLeagueSchema,\n 'leagueTeams/{teamId}': LeagueTeamSchema,\n 'leagueTeamContacts/{teamId}': LeagueTeamContactSchema,\n 'teamMemberships/{teamMembershipId}': TeamMembershipSchema,\n 'membershipRosterSyncs/{teamMembershipId}': MembershipRosterSyncSchema,\n 'teamInvitations/{inviteId}': TeamInvitationSchema,\n 'teamJoinRequests/{requestId}': TeamJoinRequestSchema,\n 'leagueFreeAgents/{leagueFreeAgentId}': LeagueFreeAgentSchema,\n\n 'sportGames/{gameId}': SportGameSchema,\n 'sportGames/{gameId}/gameRosterPlayers/{gameRosterPlayerId}': GameRosterPlayerSchema,\n 'sportGames/{gameId}/gameStatEvents/{eventId}': GameStatEventSchema,\n 'sportGames/{gameId}/gameStatHistory/{pageId}': GameStatHistoryPageSchema,\n 'gameLocations/{gameLocationId}': GameLocationSchema,\n\n 'waiverTemplates/{waiverTemplateId}': WaiverTemplateSchema,\n 'waiverTemplates/{waiverTemplateId}/waiverTemplateVersions/{versionId}': WaiverTemplateVersionSchema,\n 'signedWaivers/{signedWaiverId}': SignedWaiverSchema,\n 'hardwareLoanContracts/{contractId}': HardwareLoanContractSchema,\n\n 'awardDefinitions/{awardId}': AwardDefinitionSchema,\n 'sportHallOfFame/{sportKey}': SportHallOfFameSchema,\n 'statsValidationReports/{reportId}': StatsValidationReportSchema,\n 'statsOperations/{operationId}': StatsOperationSchema,\n\n 'galleryPictures/{pictureId}': GalleryPictureSchema,\n 'pendingMedia/{pendingMediaId}': PendingMediaSchema,\n 'pictureRetirements/{retirementId}': PictureRetirementSchema,\n\n 'auditEvents/{auditEventId}': AuditEventSchema,\n\n 'activeAdminNotifications/{notificationId}': ActiveAdminNotificationSchema,\n 'adminNotificationHistory/{historyId}': AdminNotificationHistorySchema,\n 'notificationDeliveries/{deliveryId}': NotificationDeliverySchema,\n 'notificationArchiveAllJobs/{jobId}': NotificationArchiveAllJobSchema,\n\n '_appConfig/landingPage': LandingPageConfigSchema,\n '_appConfig/app': AppConfigSchema,\n '_appConfig/statsBeacon': StatsBeaconSchema,\n '_systemData/adminList': AdminListSchema,\n '_serverData/migrationConsole': MigrationConsoleSchema,\n 'migrationActionRuns/{actionId}': MigrationActionRunSchema,\n 'sweepState/{sweepName}': SweepStateSchema,\n} as const satisfies Record<string, z.ZodTypeAny>;\n\nexport type RegisteredCollectionPath = keyof typeof COLLECTION_SCHEMAS;\n\n// The body field that equals the document id, where a schema declares one. A drift check injects\n// `doc.id` under this key before validating, so a doc-id field is never a false mismatch.\nexport const COLLECTION_DOC_ID_FIELDS = {\n 'publicUsers/{userId}': 'uid',\n 'registrationStarts/{userId}': 'userId',\n 'sportGames/{gameId}/gameStatEvents/{eventId}': 'eventId',\n 'statsValidationReports/{reportId}': 'reportId',\n 'auditEvents/{auditEventId}': 'id',\n 'pendingMedia/{pendingMediaId}': 'id',\n 'adminNotificationHistory/{historyId}': 'archiveOccurrenceId',\n 'notificationDeliveries/{deliveryId}': 'deliveryId',\n 'notificationArchiveAllJobs/{jobId}': 'jobId',\n 'migrationActionRuns/{actionId}': 'actionId',\n} as const satisfies Partial<Record<RegisteredCollectionPath, string>>;\n\n// Collections declared in ../paths with no bound schema yet, each with the reason.\nexport const PENDING_COLLECTIONS: readonly string[] = [];\n"]}
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,iGAAiG;AACjG,qBAAqB;AACrB,EAAE;AACF,kGAAkG;AAClG,qGAAqG;AACrG,0DAA0D;AAG1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC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C,EAAE,OAAO;IAC7C,4BAA4B,EAAE,SAAS;IACvC,2DAA2D,EAAE,QAAQ;IACrE,gCAAgC,EAAE,UAAU;CACwB,CAAC;AAEvE,mFAAmF;AACnF,MAAM,CAAC,MAAM,mBAAmB,GAAsB,EAAE,CAAC","sourcesContent":["// Collection → schema registry: every Firestore path template bound to the zod schema its\n// documents must satisfy. Every document a migration copy action writes is validated against the\n// schema bound here.\n//\n// A key is the literal path template — `{placeholder}` for an id, the literal segment for a fixed\n// document id. __tests__/doc-schemas-registry.test.ts fails when a collection constant has neither a\n// binding here nor an explicit PENDING_COLLECTIONS entry.\n\nimport type { z } from 'zod';\nimport { StatusReconcileQueueEntrySchema } from './status-reconcile-queue.js';\nimport {\n ActiveAdminNotificationSchema,\n AdminNotificationHistorySchema,\n NotificationArchiveAllJobSchema,\n NotificationDeliverySchema,\n} from './admin-notifications.js';\nimport { AwardDefinitionSchema } from './catalogs.js';\nimport { AwardGroupGrantPersonSchema, AwardGroupGrantSchema } from './award-group-grant.js';\nimport { GameLocationSchema } from './game-location.js';\nimport { GalleryPictureSchema } from './gallery.js';\nimport { PendingMediaSchema } from './pending-media.js';\nimport { PictureRetirementSchema } from './picture-retirement.js';\nimport { GameRosterPlayerSchema, SportGameSchema } from './sport-game.js';\nimport { SportHallOfFameSchema } from './aggregate-stats.js';\nimport { GameStatHistoryPageSchema } from './game-stat-history.js';\nimport { GameStatEventSchema } from './game-stats.js';\nimport { StatsOperationSchema } from './stats-operation.js';\nimport { LeagueTeamContactSchema, LeagueTeamSchema } from './league-team.js';\nimport { MembershipRosterSyncSchema } from './membership-roster-sync.js';\nimport { MigrationActionRunSchema, MigrationConsoleSchema } from './migration-console.js';\nimport { AuditEventSchema } from './audit-event.js';\nimport { PublicUserSchema } from './publicUser.js';\nimport { RegistrationStartSchema } from './registration-start.js';\nimport { ReservedDisplayNameSchema } from './reserved-display-name.js';\nimport { SportLeagueSchema } from './sport-league.js';\nimport { SweepStateSchema } from './sweep-state.js';\nimport {\n AppConfigSchema,\n LandingPageConfigSchema,\n AdminListSchema,\n StatsBeaconSchema,\n StatsValidationReportSchema,\n} from './system.js';\nimport {\n LeagueFreeAgentSchema,\n TeamJoinRequestSchema,\n TeamInvitationSchema,\n TeamMembershipSchema,\n} from './team-membership.js';\nimport { HistoricalStatsSchema, UserPrivateDataSchema, UserProfileSchema } from './user-profile.js';\nimport { HardwareLoanContractSchema, SignedWaiverSchema } from './waivers-and-hardware.js';\nimport { WaiverTemplateSchema, WaiverTemplateVersionSchema } from './waiver-template.js';\n\nexport const COLLECTION_SCHEMAS = {\n 'userProfiles/{userId}': UserProfileSchema,\n 'userProfiles/{userId}/privateData/{privateDataId}': UserPrivateDataSchema,\n 'userProfiles/{userId}/historicalStats/{sportKey}': HistoricalStatsSchema,\n 'publicUsers/{userId}': PublicUserSchema,\n 'reservedDisplayNames/{reservedDisplayNameKey}': ReservedDisplayNameSchema,\n 'statusReconcileQueue/{userId}': StatusReconcileQueueEntrySchema,\n 'registrationStarts/{userId}': RegistrationStartSchema,\n\n 'sportLeagues/{leagueId}': SportLeagueSchema,\n 'leagueTeams/{teamId}': LeagueTeamSchema,\n 'leagueTeamContacts/{teamId}': LeagueTeamContactSchema,\n 'teamMemberships/{teamMembershipId}': TeamMembershipSchema,\n 'membershipRosterSyncs/{teamMembershipId}': MembershipRosterSyncSchema,\n 'teamInvitations/{inviteId}': TeamInvitationSchema,\n 'teamJoinRequests/{requestId}': TeamJoinRequestSchema,\n 'leagueFreeAgents/{leagueFreeAgentId}': LeagueFreeAgentSchema,\n\n 'sportGames/{gameId}': SportGameSchema,\n 'sportGames/{gameId}/gameRosterPlayers/{gameRosterPlayerId}': GameRosterPlayerSchema,\n 'sportGames/{gameId}/gameStatEvents/{eventId}': GameStatEventSchema,\n 'sportGames/{gameId}/gameStatHistory/{pageId}': GameStatHistoryPageSchema,\n 'gameLocations/{gameLocationId}': GameLocationSchema,\n\n 'waiverTemplates/{waiverTemplateId}': WaiverTemplateSchema,\n 'waiverTemplates/{waiverTemplateId}/waiverTemplateVersions/{versionId}': WaiverTemplateVersionSchema,\n 'signedWaivers/{signedWaiverId}': SignedWaiverSchema,\n 'hardwareLoanContracts/{contractId}': HardwareLoanContractSchema,\n\n 'awardDefinitions/{awardId}': AwardDefinitionSchema,\n 'awardGroupGrants/{grantId}': AwardGroupGrantSchema,\n 'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': AwardGroupGrantPersonSchema,\n 'sportHallOfFame/{sportKey}': SportHallOfFameSchema,\n 'statsValidationReports/{reportId}': StatsValidationReportSchema,\n 'statsOperations/{operationId}': StatsOperationSchema,\n\n 'galleryPictures/{pictureId}': GalleryPictureSchema,\n 'pendingMedia/{pendingMediaId}': PendingMediaSchema,\n 'pictureRetirements/{retirementId}': PictureRetirementSchema,\n\n 'auditEvents/{auditEventId}': AuditEventSchema,\n\n 'activeAdminNotifications/{notificationId}': ActiveAdminNotificationSchema,\n 'adminNotificationHistory/{historyId}': AdminNotificationHistorySchema,\n 'notificationDeliveries/{deliveryId}': NotificationDeliverySchema,\n 'notificationArchiveAllJobs/{jobId}': NotificationArchiveAllJobSchema,\n\n '_appConfig/landingPage': LandingPageConfigSchema,\n '_appConfig/app': AppConfigSchema,\n '_appConfig/statsBeacon': StatsBeaconSchema,\n '_systemData/adminList': AdminListSchema,\n '_serverData/migrationConsole': MigrationConsoleSchema,\n 'migrationActionRuns/{actionId}': MigrationActionRunSchema,\n 'sweepState/{sweepName}': SweepStateSchema,\n} as const satisfies Record<string, z.ZodTypeAny>;\n\nexport type RegisteredCollectionPath = keyof typeof COLLECTION_SCHEMAS;\n\n// The body field that equals the document id, where a schema declares one. A drift check injects\n// `doc.id` under this key before validating, so a doc-id field is never a false mismatch.\nexport const COLLECTION_DOC_ID_FIELDS = {\n 'publicUsers/{userId}': 'uid',\n 'registrationStarts/{userId}': 'userId',\n 'sportGames/{gameId}/gameStatEvents/{eventId}': 'eventId',\n 'statsValidationReports/{reportId}': 'reportId',\n 'auditEvents/{auditEventId}': 'id',\n 'pendingMedia/{pendingMediaId}': 'id',\n 'adminNotificationHistory/{historyId}': 'archiveOccurrenceId',\n 'notificationDeliveries/{deliveryId}': 'deliveryId',\n 'notificationArchiveAllJobs/{jobId}': 'jobId',\n 'awardGroupGrants/{grantId}': 'grantId',\n 'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': 'userId',\n 'migrationActionRuns/{actionId}': 'actionId',\n} as const satisfies Partial<Record<RegisteredCollectionPath, string>>;\n\n// Collections declared in ../paths with no bound schema yet, each with the reason.\nexport const PENDING_COLLECTIONS: readonly string[] = [];\n"]}
|
|
@@ -16,8 +16,8 @@ export declare const LeagueStatsRebuildOperationSchema: z.ZodObject<{
|
|
|
16
16
|
startedAt: z.ZodNumber;
|
|
17
17
|
updatedAt: z.ZodNumber;
|
|
18
18
|
status: z.ZodEnum<{
|
|
19
|
-
running: "running";
|
|
20
19
|
complete: "complete";
|
|
20
|
+
running: "running";
|
|
21
21
|
stopped: "stopped";
|
|
22
22
|
}>;
|
|
23
23
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -38,8 +38,8 @@ export declare const LifetimeStatsRebuildOperationSchema: z.ZodObject<{
|
|
|
38
38
|
startedAt: z.ZodNumber;
|
|
39
39
|
updatedAt: z.ZodNumber;
|
|
40
40
|
status: z.ZodEnum<{
|
|
41
|
-
running: "running";
|
|
42
41
|
complete: "complete";
|
|
42
|
+
running: "running";
|
|
43
43
|
stopped: "stopped";
|
|
44
44
|
}>;
|
|
45
45
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -65,8 +65,8 @@ export declare const HallOfFameRebuildOperationSchema: z.ZodObject<{
|
|
|
65
65
|
startedAt: z.ZodNumber;
|
|
66
66
|
updatedAt: z.ZodNumber;
|
|
67
67
|
status: z.ZodEnum<{
|
|
68
|
-
running: "running";
|
|
69
68
|
complete: "complete";
|
|
69
|
+
running: "running";
|
|
70
70
|
stopped: "stopped";
|
|
71
71
|
}>;
|
|
72
72
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -90,8 +90,8 @@ export declare const StatsValidationOperationSchema: z.ZodObject<{
|
|
|
90
90
|
startedAt: z.ZodNumber;
|
|
91
91
|
updatedAt: z.ZodNumber;
|
|
92
92
|
status: z.ZodEnum<{
|
|
93
|
-
running: "running";
|
|
94
93
|
complete: "complete";
|
|
94
|
+
running: "running";
|
|
95
95
|
stopped: "stopped";
|
|
96
96
|
}>;
|
|
97
97
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -111,8 +111,8 @@ export declare const GameStatsCorrectionOperationSchema: z.ZodObject<{
|
|
|
111
111
|
startedAt: z.ZodNumber;
|
|
112
112
|
updatedAt: z.ZodNumber;
|
|
113
113
|
status: z.ZodEnum<{
|
|
114
|
-
running: "running";
|
|
115
114
|
complete: "complete";
|
|
115
|
+
running: "running";
|
|
116
116
|
stopped: "stopped";
|
|
117
117
|
}>;
|
|
118
118
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -132,8 +132,8 @@ export declare const GameStatsRecalculationOperationSchema: z.ZodObject<{
|
|
|
132
132
|
startedAt: z.ZodNumber;
|
|
133
133
|
updatedAt: z.ZodNumber;
|
|
134
134
|
status: z.ZodEnum<{
|
|
135
|
-
running: "running";
|
|
136
135
|
complete: "complete";
|
|
136
|
+
running: "running";
|
|
137
137
|
stopped: "stopped";
|
|
138
138
|
}>;
|
|
139
139
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -158,8 +158,8 @@ export declare const HistoricalStatsUpdateOperationSchema: z.ZodObject<{
|
|
|
158
158
|
startedAt: z.ZodNumber;
|
|
159
159
|
updatedAt: z.ZodNumber;
|
|
160
160
|
status: z.ZodEnum<{
|
|
161
|
-
running: "running";
|
|
162
161
|
complete: "complete";
|
|
162
|
+
running: "running";
|
|
163
163
|
stopped: "stopped";
|
|
164
164
|
}>;
|
|
165
165
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -227,8 +227,8 @@ export declare const GhostPlayerStatsOperationSchema: z.ZodObject<{
|
|
|
227
227
|
startedAt: z.ZodNumber;
|
|
228
228
|
updatedAt: z.ZodNumber;
|
|
229
229
|
status: z.ZodEnum<{
|
|
230
|
-
running: "running";
|
|
231
230
|
complete: "complete";
|
|
231
|
+
running: "running";
|
|
232
232
|
stopped: "stopped";
|
|
233
233
|
}>;
|
|
234
234
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -248,8 +248,8 @@ export declare const GameDeletionOperationSchema: z.ZodObject<{
|
|
|
248
248
|
startedAt: z.ZodNumber;
|
|
249
249
|
updatedAt: z.ZodNumber;
|
|
250
250
|
status: z.ZodEnum<{
|
|
251
|
-
running: "running";
|
|
252
251
|
complete: "complete";
|
|
252
|
+
running: "running";
|
|
253
253
|
stopped: "stopped";
|
|
254
254
|
}>;
|
|
255
255
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -270,8 +270,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
270
270
|
startedAt: z.ZodNumber;
|
|
271
271
|
updatedAt: z.ZodNumber;
|
|
272
272
|
status: z.ZodEnum<{
|
|
273
|
-
running: "running";
|
|
274
273
|
complete: "complete";
|
|
274
|
+
running: "running";
|
|
275
275
|
stopped: "stopped";
|
|
276
276
|
}>;
|
|
277
277
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -291,8 +291,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
291
291
|
startedAt: z.ZodNumber;
|
|
292
292
|
updatedAt: z.ZodNumber;
|
|
293
293
|
status: z.ZodEnum<{
|
|
294
|
-
running: "running";
|
|
295
294
|
complete: "complete";
|
|
295
|
+
running: "running";
|
|
296
296
|
stopped: "stopped";
|
|
297
297
|
}>;
|
|
298
298
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -317,8 +317,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
317
317
|
startedAt: z.ZodNumber;
|
|
318
318
|
updatedAt: z.ZodNumber;
|
|
319
319
|
status: z.ZodEnum<{
|
|
320
|
-
running: "running";
|
|
321
320
|
complete: "complete";
|
|
321
|
+
running: "running";
|
|
322
322
|
stopped: "stopped";
|
|
323
323
|
}>;
|
|
324
324
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -341,8 +341,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
341
341
|
startedAt: z.ZodNumber;
|
|
342
342
|
updatedAt: z.ZodNumber;
|
|
343
343
|
status: z.ZodEnum<{
|
|
344
|
-
running: "running";
|
|
345
344
|
complete: "complete";
|
|
345
|
+
running: "running";
|
|
346
346
|
stopped: "stopped";
|
|
347
347
|
}>;
|
|
348
348
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -361,8 +361,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
361
361
|
startedAt: z.ZodNumber;
|
|
362
362
|
updatedAt: z.ZodNumber;
|
|
363
363
|
status: z.ZodEnum<{
|
|
364
|
-
running: "running";
|
|
365
364
|
complete: "complete";
|
|
365
|
+
running: "running";
|
|
366
366
|
stopped: "stopped";
|
|
367
367
|
}>;
|
|
368
368
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -381,8 +381,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
381
381
|
startedAt: z.ZodNumber;
|
|
382
382
|
updatedAt: z.ZodNumber;
|
|
383
383
|
status: z.ZodEnum<{
|
|
384
|
-
running: "running";
|
|
385
384
|
complete: "complete";
|
|
385
|
+
running: "running";
|
|
386
386
|
stopped: "stopped";
|
|
387
387
|
}>;
|
|
388
388
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -406,8 +406,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
406
406
|
startedAt: z.ZodNumber;
|
|
407
407
|
updatedAt: z.ZodNumber;
|
|
408
408
|
status: z.ZodEnum<{
|
|
409
|
-
running: "running";
|
|
410
409
|
complete: "complete";
|
|
410
|
+
running: "running";
|
|
411
411
|
stopped: "stopped";
|
|
412
412
|
}>;
|
|
413
413
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -455,8 +455,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
455
455
|
startedAt: z.ZodNumber;
|
|
456
456
|
updatedAt: z.ZodNumber;
|
|
457
457
|
status: z.ZodEnum<{
|
|
458
|
-
running: "running";
|
|
459
458
|
complete: "complete";
|
|
459
|
+
running: "running";
|
|
460
460
|
stopped: "stopped";
|
|
461
461
|
}>;
|
|
462
462
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -474,8 +474,8 @@ export declare const StatsOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
474
474
|
startedAt: z.ZodNumber;
|
|
475
475
|
updatedAt: z.ZodNumber;
|
|
476
476
|
status: z.ZodEnum<{
|
|
477
|
-
running: "running";
|
|
478
477
|
complete: "complete";
|
|
478
|
+
running: "running";
|
|
479
479
|
stopped: "stopped";
|
|
480
480
|
}>;
|
|
481
481
|
resumeAfter: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwardGroupType } from '../types/unions.js';
|
|
2
|
+
export interface AwardGroupGrantTarget {
|
|
3
|
+
readonly awardId: string;
|
|
4
|
+
readonly groupType: AwardGroupType;
|
|
5
|
+
readonly groupId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function buildAwardGroupGrantTargetKey(target: AwardGroupGrantTarget): string;
|
|
8
|
+
export declare function buildAwardGroupGrantId(targetKey: string, decision: number): string;
|
|
9
|
+
//# sourceMappingURL=award-grant-ids.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"award-grant-ids.d.ts","sourceRoot":"","sources":["../../src/ids/award-grant-ids.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAQD,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,qBAAqB,GAAG,MAAM,CAEnF;AAID,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAElF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Award group grant ids. Every decision on one award for one group shares that pair's target key,
|
|
2
|
+
// and each decision's record id is the key plus its decision number — deterministic, so two
|
|
3
|
+
// decisions racing for the same number write the same document and conflict instead of both
|
|
4
|
+
// committing (BACKEND-304).
|
|
5
|
+
// A part prefixed by its length, so parts that contain any character still decode one way.
|
|
6
|
+
const lengthPrefixed = (part) => `${part.length}:${part}`;
|
|
7
|
+
const DECISION_SEPARATOR = '~';
|
|
8
|
+
// The key every decision on one award for one group shares.
|
|
9
|
+
export function buildAwardGroupGrantTargetKey(target) {
|
|
10
|
+
return [target.awardId, target.groupType, target.groupId].map(lengthPrefixed).join('');
|
|
11
|
+
}
|
|
12
|
+
// awardGroupGrants/{targetKey}~{decision}. The target key is length-prefixed throughout, so the
|
|
13
|
+
// decision after the last separator decodes one way.
|
|
14
|
+
export function buildAwardGroupGrantId(targetKey, decision) {
|
|
15
|
+
return `${targetKey}${DECISION_SEPARATOR}${decision}`;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=award-grant-ids.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"award-grant-ids.js","sourceRoot":"","sources":["../../src/ids/award-grant-ids.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,4FAA4F;AAC5F,4FAA4F;AAC5F,4BAA4B;AAU5B,2FAA2F;AAC3F,MAAM,cAAc,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE,CAAC;AAE1E,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAE/B,4DAA4D;AAC5D,MAAM,UAAU,6BAA6B,CAAC,MAA6B;IACzE,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzF,CAAC;AAED,gGAAgG;AAChG,qDAAqD;AACrD,MAAM,UAAU,sBAAsB,CAAC,SAAiB,EAAE,QAAgB;IACxE,OAAO,GAAG,SAAS,GAAG,kBAAkB,GAAG,QAAQ,EAAE,CAAC;AACxD,CAAC","sourcesContent":["// Award group grant ids. Every decision on one award for one group shares that pair's target key,\n// and each decision's record id is the key plus its decision number — deterministic, so two\n// decisions racing for the same number write the same document and conflict instead of both\n// committing (BACKEND-304).\n\nimport type { AwardGroupType } from '../types/unions.js';\n\nexport interface AwardGroupGrantTarget {\n readonly awardId: string;\n readonly groupType: AwardGroupType;\n readonly groupId: string;\n}\n\n// A part prefixed by its length, so parts that contain any character still decode one way.\nconst lengthPrefixed = (part: string): string => `${part.length}:${part}`;\n\nconst DECISION_SEPARATOR = '~';\n\n// The key every decision on one award for one group shares.\nexport function buildAwardGroupGrantTargetKey(target: AwardGroupGrantTarget): string {\n return [target.awardId, target.groupType, target.groupId].map(lengthPrefixed).join('');\n}\n\n// awardGroupGrants/{targetKey}~{decision}. The target key is length-prefixed throughout, so the\n// decision after the last separator decodes one way.\nexport function buildAwardGroupGrantId(targetKey: string, decision: number): string {\n return `${targetKey}${DECISION_SEPARATOR}${decision}`;\n}\n"]}
|
package/dist/ids/index.d.ts
CHANGED
package/dist/ids/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ids/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ids/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC"}
|
package/dist/ids/index.js
CHANGED
package/dist/ids/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ids/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC","sourcesContent":["export * from './compound-ids.js';\nexport * from './minted-ids.js';\nexport * from './stat-event-ids.js';\nexport * from './waiver-template-ids.js';\nexport * from './picture-ids.js';\nexport * from './notification-ids.js';\nexport * from './stats-operation-ids.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ids/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './compound-ids.js';\nexport * from './minted-ids.js';\nexport * from './stat-event-ids.js';\nexport * from './waiver-template-ids.js';\nexport * from './picture-ids.js';\nexport * from './notification-ids.js';\nexport * from './stats-operation-ids.js';\nexport * from './award-grant-ids.js';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-groups.d.ts","sourceRoot":"","sources":["../../src/paths/collection-groups.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"collection-groups.d.ts","sourceRoot":"","sources":["../../src/paths/collection-groups.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;CAKpB,CAAC"}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
//
|
|
3
3
|
// Frontend: collectionGroup(db, COLLECTION_GROUPS.GAME_ROSTER_PLAYERS)
|
|
4
4
|
// Backend: db.collectionGroup(COLLECTION_GROUPS.GAME_ROSTER_PLAYERS)
|
|
5
|
-
import { SPORT_GAME_SUBCOLLECTIONS } from './collections.js';
|
|
5
|
+
import { AWARD_GROUP_GRANT_SUBCOLLECTIONS, SPORT_GAME_SUBCOLLECTIONS } from './collections.js';
|
|
6
6
|
export const COLLECTION_GROUPS = {
|
|
7
|
+
// Every grant's record of one person: a revoke asks whether another group's grant still holds them.
|
|
8
|
+
AWARD_GROUP_GRANT_PEOPLE: AWARD_GROUP_GRANT_SUBCOLLECTIONS.AWARD_GROUP_GRANT_PEOPLE,
|
|
7
9
|
GAME_ROSTER_PLAYERS: SPORT_GAME_SUBCOLLECTIONS.GAME_ROSTER_PLAYERS,
|
|
8
10
|
GAME_STAT_EVENTS: SPORT_GAME_SUBCOLLECTIONS.GAME_STAT_EVENTS,
|
|
9
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-groups.js","sourceRoot":"","sources":["../../src/paths/collection-groups.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,EAAE;AACF,uEAAuE;AACvE,sEAAsE;AAEtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"collection-groups.js","sourceRoot":"","sources":["../../src/paths/collection-groups.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,EAAE;AACF,uEAAuE;AACvE,sEAAsE;AAEtE,OAAO,EAAE,gCAAgC,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE/F,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,oGAAoG;IACpG,wBAAwB,EAAE,gCAAgC,CAAC,wBAAwB;IACnF,mBAAmB,EAAE,yBAAyB,CAAC,mBAAmB;IAClE,gBAAgB,EAAE,yBAAyB,CAAC,gBAAgB;CACpD,CAAC","sourcesContent":["// Collection group names — derived from the subcollection constants, never re-typed.\n//\n// Frontend: collectionGroup(db, COLLECTION_GROUPS.GAME_ROSTER_PLAYERS)\n// Backend: db.collectionGroup(COLLECTION_GROUPS.GAME_ROSTER_PLAYERS)\n\nimport { AWARD_GROUP_GRANT_SUBCOLLECTIONS, SPORT_GAME_SUBCOLLECTIONS } from './collections.js';\n\nexport const COLLECTION_GROUPS = {\n // Every grant's record of one person: a revoke asks whether another group's grant still holds them.\n AWARD_GROUP_GRANT_PEOPLE: AWARD_GROUP_GRANT_SUBCOLLECTIONS.AWARD_GROUP_GRANT_PEOPLE,\n GAME_ROSTER_PLAYERS: SPORT_GAME_SUBCOLLECTIONS.GAME_ROSTER_PLAYERS,\n GAME_STAT_EVENTS: SPORT_GAME_SUBCOLLECTIONS.GAME_STAT_EVENTS,\n} as const;\n"]}
|
|
@@ -18,6 +18,7 @@ export declare const COLLECTION_REFS: {
|
|
|
18
18
|
readonly signedWaivers: () => [string];
|
|
19
19
|
readonly hardwareLoanContracts: () => [string];
|
|
20
20
|
readonly awardDefinitions: () => [string];
|
|
21
|
+
readonly awardGroupGrants: () => [string];
|
|
21
22
|
readonly statsValidationReports: () => [string];
|
|
22
23
|
readonly statsOperations: () => [string];
|
|
23
24
|
readonly migrationActionRuns: () => [string];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-refs.d.ts","sourceRoot":"","sources":["../../src/paths/collection-refs.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;iCACR,CAAC,MAAM,CAAC;gCACT,CAAC,MAAM,CAAC;yCACC,CAAC,MAAM,CAAC;uCACV,CAAC,MAAM,CAAC;yCACN,CAAC,MAAM,CAAC;iCAChB,CAAC,MAAM,CAAC;gCACT,CAAC,MAAM,CAAC;uCACD,CAAC,MAAM,CAAC;oCACX,CAAC,MAAM,CAAC;oCACR,CAAC,MAAM,CAAC;qCACP,CAAC,MAAM,CAAC;qCACR,CAAC,MAAM,CAAC;0CACH,CAAC,MAAM,CAAC;+BACnB,CAAC,MAAM,CAAC;kCACL,CAAC,MAAM,CAAC;oCACN,CAAC,MAAM,CAAC;kCACV,CAAC,MAAM,CAAC;0CACA,CAAC,MAAM,CAAC;qCACb,CAAC,MAAM,CAAC;2CACF,CAAC,MAAM,CAAC;oCACf,CAAC,MAAM,CAAC;wCACJ,CAAC,MAAM,CAAC;oCACZ,CAAC,MAAM,CAAC;iCACX,CAAC,MAAM,CAAC;uCACF,CAAC,MAAM,CAAC;gCACf,CAAC,MAAM,CAAC;6CACK,CAAC,MAAM,CAAC;6CACR,CAAC,MAAM,CAAC;2CACV,CAAC,MAAM,CAAC;+CACJ,CAAC,MAAM,CAAC;CAChC,CAAC"}
|
|
1
|
+
{"version":3,"file":"collection-refs.d.ts","sourceRoot":"","sources":["../../src/paths/collection-refs.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;iCACR,CAAC,MAAM,CAAC;gCACT,CAAC,MAAM,CAAC;yCACC,CAAC,MAAM,CAAC;uCACV,CAAC,MAAM,CAAC;yCACN,CAAC,MAAM,CAAC;iCAChB,CAAC,MAAM,CAAC;gCACT,CAAC,MAAM,CAAC;uCACD,CAAC,MAAM,CAAC;oCACX,CAAC,MAAM,CAAC;oCACR,CAAC,MAAM,CAAC;qCACP,CAAC,MAAM,CAAC;qCACR,CAAC,MAAM,CAAC;0CACH,CAAC,MAAM,CAAC;+BACnB,CAAC,MAAM,CAAC;kCACL,CAAC,MAAM,CAAC;oCACN,CAAC,MAAM,CAAC;kCACV,CAAC,MAAM,CAAC;0CACA,CAAC,MAAM,CAAC;qCACb,CAAC,MAAM,CAAC;qCACR,CAAC,MAAM,CAAC;2CACF,CAAC,MAAM,CAAC;oCACf,CAAC,MAAM,CAAC;wCACJ,CAAC,MAAM,CAAC;oCACZ,CAAC,MAAM,CAAC;iCACX,CAAC,MAAM,CAAC;uCACF,CAAC,MAAM,CAAC;gCACf,CAAC,MAAM,CAAC;6CACK,CAAC,MAAM,CAAC;6CACR,CAAC,MAAM,CAAC;2CACV,CAAC,MAAM,CAAC;+CACJ,CAAC,MAAM,CAAC;CAChC,CAAC"}
|
|
@@ -23,6 +23,7 @@ export const COLLECTION_REFS = {
|
|
|
23
23
|
signedWaivers: () => [COLLECTIONS.SIGNED_WAIVERS],
|
|
24
24
|
hardwareLoanContracts: () => [COLLECTIONS.HARDWARE_LOAN_CONTRACTS],
|
|
25
25
|
awardDefinitions: () => [COLLECTIONS.AWARD_DEFINITIONS],
|
|
26
|
+
awardGroupGrants: () => [COLLECTIONS.AWARD_GROUP_GRANTS],
|
|
26
27
|
statsValidationReports: () => [COLLECTIONS.STATS_VALIDATION_REPORTS],
|
|
27
28
|
statsOperations: () => [COLLECTIONS.STATS_OPERATIONS],
|
|
28
29
|
migrationActionRuns: () => [COLLECTIONS.MIGRATION_ACTION_RUNS],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coll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,CAAC;IAC3D,eAAe,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAC/D,aAAa,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,cAAc,CAAC;IAC3D,qBAAqB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,uBAAuB,CAAC;IAC5E,gBAAgB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,iBAAiB,CAAC;IACjE,sBAAsB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,wBAAwB,CAAC;IAC9E,eAAe,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAC/D,mBAAmB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,qBAAqB,CAAC;IACxE,eAAe,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAC/D,YAAY,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC;IACzD,kBAAkB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,mBAAmB,CAAC;IACrE,WAAW,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC;IACvD,wBAAwB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,0BAA0B,CAAC;IAClF,wBAAwB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,0BAA0B,CAAC;IAClF,sBAAsB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,uBAAuB,CAAC;IAC7E,0BAA0B,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,6BAA6B,CAAC;CAC/E,CAAC","sourcesContent":["// Collection reference builders — for collection-level operations.\n//\n// Frontend: collection(db, ...COLLECTION_REFS.userProfiles())\n// Backend: db.collection(toPath(COLLECTION_REFS.userProfiles()))\n\nimport { COLLECTIONS } from './collections.js';\n\nexport const COLLECTION_REFS = {\n userProfiles: (): [string] => [COLLECTIONS.USER_PROFILES],\n publicUsers: (): [string] => [COLLECTIONS.PUBLIC_USERS],\n statusReconcileQueue: (): [string] => [COLLECTIONS.STATUS_RECONCILE_QUEUE],\n registrationStarts: (): [string] => [COLLECTIONS.REGISTRATION_STARTS],\n reservedDisplayNames: (): [string] => [COLLECTIONS.RESERVED_DISPLAY_NAMES],\n sportLeagues: (): [string] => [COLLECTIONS.SPORT_LEAGUES],\n leagueTeams: (): [string] => [COLLECTIONS.LEAGUE_TEAMS],\n leagueTeamContacts: (): [string] => [COLLECTIONS.LEAGUE_TEAM_CONTACTS],\n teamMemberships: (): [string] => [COLLECTIONS.TEAM_MEMBERSHIPS],\n teamInvitations: (): [string] => [COLLECTIONS.TEAM_INVITATIONS],\n teamJoinRequests: (): [string] => [COLLECTIONS.TEAM_JOIN_REQUESTS],\n leagueFreeAgents: (): [string] => [COLLECTIONS.LEAGUE_FREE_AGENTS],\n membershipRosterSyncs: (): [string] => [COLLECTIONS.MEMBERSHIP_ROSTER_SYNCS],\n sportGames: (): [string] => [COLLECTIONS.SPORT_GAMES],\n gameLocations: (): [string] => [COLLECTIONS.GAME_LOCATIONS],\n waiverTemplates: (): [string] => [COLLECTIONS.WAIVER_TEMPLATES],\n signedWaivers: (): [string] => [COLLECTIONS.SIGNED_WAIVERS],\n hardwareLoanContracts: (): [string] => [COLLECTIONS.HARDWARE_LOAN_CONTRACTS],\n awardDefinitions: (): [string] => [COLLECTIONS.AWARD_DEFINITIONS],\n statsValidationReports: (): [string] => [COLLECTIONS.STATS_VALIDATION_REPORTS],\n statsOperations: (): [string] => [COLLECTIONS.STATS_OPERATIONS],\n migrationActionRuns: (): [string] => [COLLECTIONS.MIGRATION_ACTION_RUNS],\n galleryPictures: (): [string] => [COLLECTIONS.GALLERY_PICTURES],\n pendingMedia: (): [string] => [COLLECTIONS.PENDING_MEDIA],\n pictureRetirements: (): [string] => [COLLECTIONS.PICTURE_RETIREMENTS],\n auditEvents: (): [string] => [COLLECTIONS.AUDIT_EVENTS],\n activeAdminNotifications: (): [string] => [COLLECTIONS.ACTIVE_ADMIN_NOTIFICATIONS],\n adminNotificationHistory: (): [string] => [COLLECTIONS.ADMIN_NOTIFICATION_HISTORY],\n notificationDeliveries: (): [string] => [COLLECTIONS.NOTIFICATION_DELIVERIES],\n notificationArchiveAllJobs: (): [string] => [COLLECTIONS.NOTIFICATION_ARCHIVE_ALL_JOBS],\n} as const;\n"]}
|
|
1
|
+
{"version":3,"file":"collection-refs.js","sourceRoot":"","sources":["../../src/paths/collection-refs.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,EAAE;AACF,8DAA8D;AAC9D,kEAAkE;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,YAAY,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC;IACzD,WAAW,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC;IACvD,oBAAoB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,sBAAsB,CAAC;IAC1E,kBAAkB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,mBAAmB,CAAC;IACrE,oBAAoB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,sBAAsB,CAAC;IAC1E,YAAY,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC;IACzD,WAAW,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC;IACvD,kBAAkB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,oBAAoB,CAAC;IACtE,eAAe,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAC/D,eAAe,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAC/D,gBAAgB,EAAE,GA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;IAClF,wBAAwB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,0BAA0B,CAAC;IAClF,sBAAsB,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,uBAAuB,CAAC;IAC7E,0BAA0B,EAAE,GAAa,EAAE,CAAC,CAAC,WAAW,CAAC,6BAA6B,CAAC;CAC/E,CAAC","sourcesContent":["// Collection reference builders — for collection-level operations.\n//\n// Frontend: collection(db, ...COLLECTION_REFS.userProfiles())\n// Backend: db.collection(toPath(COLLECTION_REFS.userProfiles()))\n\nimport { COLLECTIONS } from './collections.js';\n\nexport const COLLECTION_REFS = {\n userProfiles: (): [string] => [COLLECTIONS.USER_PROFILES],\n publicUsers: (): [string] => [COLLECTIONS.PUBLIC_USERS],\n statusReconcileQueue: (): [string] => [COLLECTIONS.STATUS_RECONCILE_QUEUE],\n registrationStarts: (): [string] => [COLLECTIONS.REGISTRATION_STARTS],\n reservedDisplayNames: (): [string] => [COLLECTIONS.RESERVED_DISPLAY_NAMES],\n sportLeagues: (): [string] => [COLLECTIONS.SPORT_LEAGUES],\n leagueTeams: (): [string] => [COLLECTIONS.LEAGUE_TEAMS],\n leagueTeamContacts: (): [string] => [COLLECTIONS.LEAGUE_TEAM_CONTACTS],\n teamMemberships: (): [string] => [COLLECTIONS.TEAM_MEMBERSHIPS],\n teamInvitations: (): [string] => [COLLECTIONS.TEAM_INVITATIONS],\n teamJoinRequests: (): [string] => [COLLECTIONS.TEAM_JOIN_REQUESTS],\n leagueFreeAgents: (): [string] => [COLLECTIONS.LEAGUE_FREE_AGENTS],\n membershipRosterSyncs: (): [string] => [COLLECTIONS.MEMBERSHIP_ROSTER_SYNCS],\n sportGames: (): [string] => [COLLECTIONS.SPORT_GAMES],\n gameLocations: (): [string] => [COLLECTIONS.GAME_LOCATIONS],\n waiverTemplates: (): [string] => [COLLECTIONS.WAIVER_TEMPLATES],\n signedWaivers: (): [string] => [COLLECTIONS.SIGNED_WAIVERS],\n hardwareLoanContracts: (): [string] => [COLLECTIONS.HARDWARE_LOAN_CONTRACTS],\n awardDefinitions: (): [string] => [COLLECTIONS.AWARD_DEFINITIONS],\n awardGroupGrants: (): [string] => [COLLECTIONS.AWARD_GROUP_GRANTS],\n statsValidationReports: (): [string] => [COLLECTIONS.STATS_VALIDATION_REPORTS],\n statsOperations: (): [string] => [COLLECTIONS.STATS_OPERATIONS],\n migrationActionRuns: (): [string] => [COLLECTIONS.MIGRATION_ACTION_RUNS],\n galleryPictures: (): [string] => [COLLECTIONS.GALLERY_PICTURES],\n pendingMedia: (): [string] => [COLLECTIONS.PENDING_MEDIA],\n pictureRetirements: (): [string] => [COLLECTIONS.PICTURE_RETIREMENTS],\n auditEvents: (): [string] => [COLLECTIONS.AUDIT_EVENTS],\n activeAdminNotifications: (): [string] => [COLLECTIONS.ACTIVE_ADMIN_NOTIFICATIONS],\n adminNotificationHistory: (): [string] => [COLLECTIONS.ADMIN_NOTIFICATION_HISTORY],\n notificationDeliveries: (): [string] => [COLLECTIONS.NOTIFICATION_DELIVERIES],\n notificationArchiveAllJobs: (): [string] => [COLLECTIONS.NOTIFICATION_ARCHIVE_ALL_JOBS],\n} as const;\n"]}
|
|
@@ -19,6 +19,7 @@ export declare const COLLECTIONS: {
|
|
|
19
19
|
readonly SIGNED_WAIVERS: "signedWaivers";
|
|
20
20
|
readonly HARDWARE_LOAN_CONTRACTS: "hardwareLoanContracts";
|
|
21
21
|
readonly AWARD_DEFINITIONS: "awardDefinitions";
|
|
22
|
+
readonly AWARD_GROUP_GRANTS: "awardGroupGrants";
|
|
22
23
|
readonly SPORT_HALL_OF_FAME: "sportHallOfFame";
|
|
23
24
|
readonly STATS_VALIDATION_REPORTS: "statsValidationReports";
|
|
24
25
|
readonly STATS_OPERATIONS: "statsOperations";
|
|
@@ -51,6 +52,10 @@ export declare const SPORT_GAME_SUBCOLLECTIONS: {
|
|
|
51
52
|
export declare const WAIVER_TEMPLATE_SUBCOLLECTIONS: {
|
|
52
53
|
readonly WAIVER_TEMPLATE_VERSIONS: "waiverTemplateVersions";
|
|
53
54
|
};
|
|
55
|
+
/** Subcollections of `awardGroupGrants/{grantId}`. */
|
|
56
|
+
export declare const AWARD_GROUP_GRANT_SUBCOLLECTIONS: {
|
|
57
|
+
readonly AWARD_GROUP_GRANT_PEOPLE: "awardGroupGrantPeople";
|
|
58
|
+
};
|
|
54
59
|
/** Static document IDs for fixed-ID documents. */
|
|
55
60
|
export declare const SPECIAL_DOCS: {
|
|
56
61
|
readonly APP_CONFIG: "app";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/paths/collections.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/paths/collections.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFd,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAE5E,iDAAiD;AACjD,eAAO,MAAM,2BAA2B;;;CAM9B,CAAC;AAEX,+CAA+C;AAC/C,eAAO,MAAM,yBAAyB;;;;CAO5B,CAAC;AAEX,8DAA8D;AAC9D,eAAO,MAAM,8BAA8B;;CAGjC,CAAC;AAEX,sDAAsD;AACtD,eAAO,MAAM,gCAAgC;;CAGnC,CAAC;AAEX,kDAAkD;AAClD,eAAO,MAAM,YAAY;;;;;;CAgBf,CAAC"}
|