@ttt-productions/ttt-core 0.79.33 → 0.79.34

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.
@@ -19,4 +19,7 @@ export declare const LISTENER_WINDOW_MS: number;
19
19
  export declare const PUBLIC_USERS_STALE_TIME_MS: number;
20
20
  /** GC time for the publicUsers query cache (1 hour). */
21
21
  export declare const PUBLIC_USERS_GC_TIME_MS: number;
22
+ /** Stale time for an ABSENT public-lookup document (20 seconds) — short, so a
23
+ * just-created or just-published entity stops reading as missing almost at once. */
24
+ export declare const PUBLIC_LOOKUP_ABSENT_STALE_TIME_MS: number;
22
25
  //# sourceMappingURL=retention.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retention.d.ts","sourceRoot":"","sources":["../../src/constants/retention.ts"],"names":[],"mappings":"AAIA,gEAAgE;AAChE,eAAO,MAAM,sBAAsB,QAAiB,CAAC;AAIrD,oFAAoF;AACpF,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,oFAAoF;AACpF,eAAO,MAAM,gCAAgC,MAAM,CAAC;AAWpD;qCACqC;AACrC,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAIhD,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C,+CAA+C;AAC/C,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAE5C,4CAA4C;AAC5C,eAAO,MAAM,4BAA4B,OAAO,CAAC;AAIjD,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,QAAsB,CAAC;AAItD,+DAA+D;AAC/D,eAAO,MAAM,0BAA0B,QAAiB,CAAC;AAEzD,wDAAwD;AACxD,eAAO,MAAM,uBAAuB,QAAiB,CAAC"}
1
+ {"version":3,"file":"retention.d.ts","sourceRoot":"","sources":["../../src/constants/retention.ts"],"names":[],"mappings":"AAIA,gEAAgE;AAChE,eAAO,MAAM,sBAAsB,QAAiB,CAAC;AAIrD,oFAAoF;AACpF,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,oFAAoF;AACpF,eAAO,MAAM,gCAAgC,MAAM,CAAC;AAWpD;qCACqC;AACrC,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAIhD,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C,+CAA+C;AAC/C,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAE5C,4CAA4C;AAC5C,eAAO,MAAM,4BAA4B,OAAO,CAAC;AAIjD,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,QAAsB,CAAC;AAItD,+DAA+D;AAC/D,eAAO,MAAM,0BAA0B,QAAiB,CAAC;AAEzD,wDAAwD;AACxD,eAAO,MAAM,uBAAuB,QAAiB,CAAC;AAItD;qFACqF;AACrF,eAAO,MAAM,kCAAkC,QAAY,CAAC"}
@@ -33,4 +33,8 @@ export const LISTENER_WINDOW_MS = 24 * 60 * 60 * 1000;
33
33
  export const PUBLIC_USERS_STALE_TIME_MS = 30 * 60 * 1000;
34
34
  /** GC time for the publicUsers query cache (1 hour). */
35
35
  export const PUBLIC_USERS_GC_TIME_MS = 60 * 60 * 1000;
36
+ // --- Public-entity lookup negative cache ---
37
+ /** Stale time for an ABSENT public-lookup document (20 seconds) — short, so a
38
+ * just-created or just-published entity stops reading as missing almost at once. */
39
+ export const PUBLIC_LOOKUP_ABSENT_STALE_TIME_MS = 20 * 1000;
36
40
  //# sourceMappingURL=retention.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"retention.js","sourceRoot":"","sources":["../../src/constants/retention.ts"],"names":[],"mappings":"AAAA,sDAAsD;AAEtD,oCAAoC;AAEpC,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC;AAErD,gCAAgC;AAEhC,oFAAoF;AACpF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC;AAElD,oFAAoF;AACpF,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC;AAEpD,4DAA4D;AAC5D,4FAA4F;AAC5F,8FAA8F;AAC9F,0FAA0F;AAC1F,+FAA+F;AAC/F,wFAAwF;AACxF,yFAAyF;AACzF,8FAA8F;AAE9F;qCACqC;AACrC,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAEhD,gCAAgC;AAEhC,uFAAuF;AACvF,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAE1C,+CAA+C;AAC/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAE5C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAC;AAEjD,8CAA8C;AAE9C,4EAA4E;AAC5E,MAAM,CAAC,MAAM,kBAAkB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtD,yCAAyC;AAEzC,+DAA+D;AAC/D,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEzD,wDAAwD;AACxD,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC","sourcesContent":["// Caching, retention, and cleanup TTLs / batch sizes.\n\n// --- Profanity word list cache ---\n\n/** TTL for the in-memory profanity word list cache (1 hour). */\nexport const WORD_LIST_CACHE_TTL_MS = 1000 * 60 * 60;\n\n// --- Pending media archive ---\n\n/** Days after which a terminal pendingMedia doc is moved to pendingMediaArchive. */\nexport const PENDING_MEDIA_ARCHIVE_AFTER_DAYS = 7;\n\n/** Per-run cap on docs archived by the archivePendingMedia scheduled commission. */\nexport const PENDING_MEDIA_ARCHIVE_BATCH_SIZE = 500;\n\n// --- Rejected (moderation-quarantined) media retention ---\n// Bytes a moderation decision rejected are kept at `rejected/{userId}/…` as APPEAL EVIDENCE\n// (the violation's `rejectedFilePath`; owner + admin readable, never served through the media\n// gateway). They are not kept forever: after this window the hold-aware fail-closed sweep\n// deletes them. Fail-closed means a file it cannot prove is out of window — or that carries an\n// active Trust & Safety / legal hold — is LEFT IN PLACE, never deleted on a best guess.\n// 90 days sits comfortably past the appeal window while bounding indefinite retention of\n// often-adult rejected content. See ttt-prod docs/design/content-moderation-and-reporting.md.\n\n/** Days a moderation-rejected upload's quarantined bytes are retained before the\n * hold-aware sweep deletes them. */\nexport const REJECTED_MEDIA_RETENTION_DAYS = 90;\n\n// --- Orphan upload cleanup ---\n\n/** TTL in hours after which an orphan storage upload becomes eligible for deletion. */\nexport const ORPHAN_UPLOAD_TTL_HOURS = 24;\n\n/** Per-run cap on orphan storage deletions. */\nexport const ORPHAN_UPLOAD_DELETE_CAP = 500;\n\n/** Page size for listing orphan uploads. */\nexport const ORPHAN_UPLOAD_LIST_PAGE_SIZE = 1000;\n\n// --- Frontend in-flight upload listeners ---\n\n/** Maximum lookback window for the in-flight upload listener (24 hours). */\nexport const LISTENER_WINDOW_MS = 24 * 60 * 60 * 1000;\n\n// --- Public users React Query cache ---\n\n/** Stale time for the publicUsers query cache (30 minutes). */\nexport const PUBLIC_USERS_STALE_TIME_MS = 30 * 60 * 1000;\n\n/** GC time for the publicUsers query cache (1 hour). */\nexport const PUBLIC_USERS_GC_TIME_MS = 60 * 60 * 1000;\n\n"]}
1
+ {"version":3,"file":"retention.js","sourceRoot":"","sources":["../../src/constants/retention.ts"],"names":[],"mappings":"AAAA,sDAAsD;AAEtD,oCAAoC;AAEpC,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC;AAErD,gCAAgC;AAEhC,oFAAoF;AACpF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC;AAElD,oFAAoF;AACpF,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC;AAEpD,4DAA4D;AAC5D,4FAA4F;AAC5F,8FAA8F;AAC9F,0FAA0F;AAC1F,+FAA+F;AAC/F,wFAAwF;AACxF,yFAAyF;AACzF,8FAA8F;AAE9F;qCACqC;AACrC,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAEhD,gCAAgC;AAEhC,uFAAuF;AACvF,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAE1C,+CAA+C;AAC/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAE5C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAC;AAEjD,8CAA8C;AAE9C,4EAA4E;AAC5E,MAAM,CAAC,MAAM,kBAAkB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtD,yCAAyC;AAEzC,+DAA+D;AAC/D,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEzD,wDAAwD;AACxD,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtD,8CAA8C;AAE9C;qFACqF;AACrF,MAAM,CAAC,MAAM,kCAAkC,GAAG,EAAE,GAAG,IAAI,CAAC","sourcesContent":["// Caching, retention, and cleanup TTLs / batch sizes.\n\n// --- Profanity word list cache ---\n\n/** TTL for the in-memory profanity word list cache (1 hour). */\nexport const WORD_LIST_CACHE_TTL_MS = 1000 * 60 * 60;\n\n// --- Pending media archive ---\n\n/** Days after which a terminal pendingMedia doc is moved to pendingMediaArchive. */\nexport const PENDING_MEDIA_ARCHIVE_AFTER_DAYS = 7;\n\n/** Per-run cap on docs archived by the archivePendingMedia scheduled commission. */\nexport const PENDING_MEDIA_ARCHIVE_BATCH_SIZE = 500;\n\n// --- Rejected (moderation-quarantined) media retention ---\n// Bytes a moderation decision rejected are kept at `rejected/{userId}/…` as APPEAL EVIDENCE\n// (the violation's `rejectedFilePath`; owner + admin readable, never served through the media\n// gateway). They are not kept forever: after this window the hold-aware fail-closed sweep\n// deletes them. Fail-closed means a file it cannot prove is out of window — or that carries an\n// active Trust & Safety / legal hold — is LEFT IN PLACE, never deleted on a best guess.\n// 90 days sits comfortably past the appeal window while bounding indefinite retention of\n// often-adult rejected content. See ttt-prod docs/design/content-moderation-and-reporting.md.\n\n/** Days a moderation-rejected upload's quarantined bytes are retained before the\n * hold-aware sweep deletes them. */\nexport const REJECTED_MEDIA_RETENTION_DAYS = 90;\n\n// --- Orphan upload cleanup ---\n\n/** TTL in hours after which an orphan storage upload becomes eligible for deletion. */\nexport const ORPHAN_UPLOAD_TTL_HOURS = 24;\n\n/** Per-run cap on orphan storage deletions. */\nexport const ORPHAN_UPLOAD_DELETE_CAP = 500;\n\n/** Page size for listing orphan uploads. */\nexport const ORPHAN_UPLOAD_LIST_PAGE_SIZE = 1000;\n\n// --- Frontend in-flight upload listeners ---\n\n/** Maximum lookback window for the in-flight upload listener (24 hours). */\nexport const LISTENER_WINDOW_MS = 24 * 60 * 60 * 1000;\n\n// --- Public users React Query cache ---\n\n/** Stale time for the publicUsers query cache (30 minutes). */\nexport const PUBLIC_USERS_STALE_TIME_MS = 30 * 60 * 1000;\n\n/** GC time for the publicUsers query cache (1 hour). */\nexport const PUBLIC_USERS_GC_TIME_MS = 60 * 60 * 1000;\n\n// --- Public-entity lookup negative cache ---\n\n/** Stale time for an ABSENT public-lookup document (20 seconds) — short, so a\n * just-created or just-published entity stops reading as missing almost at once. */\nexport const PUBLIC_LOOKUP_ABSENT_STALE_TIME_MS = 20 * 1000;\n"]}
@@ -2243,6 +2243,27 @@ export declare const COLLECTION_SCHEMAS: {
2243
2243
  userId: z.ZodString;
2244
2244
  violationId: z.ZodString;
2245
2245
  }, z.core.$strict>;
2246
+ }, z.core.$strict>, z.ZodObject<{
2247
+ type: z.ZodLiteral<"profile.displayNameChanged">;
2248
+ ids: z.ZodObject<{
2249
+ userId: z.ZodString;
2250
+ }, z.core.$strict>;
2251
+ }, z.core.$strict>, z.ZodObject<{
2252
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
2253
+ ids: z.ZodObject<{
2254
+ userId: z.ZodString;
2255
+ }, z.core.$strict>;
2256
+ }, z.core.$strict>, z.ZodObject<{
2257
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
2258
+ ids: z.ZodObject<{
2259
+ workRealmId: z.ZodString;
2260
+ }, z.core.$strict>;
2261
+ }, z.core.$strict>, z.ZodObject<{
2262
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
2263
+ ids: z.ZodObject<{
2264
+ workProjectId: z.ZodString;
2265
+ workRealmId: z.ZodOptional<z.ZodString>;
2266
+ }, z.core.$strict>;
2246
2267
  }, z.core.$strict>], "type">>;
2247
2268
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
2248
2269
  collection: z.ZodString;
@@ -2699,6 +2720,27 @@ export declare const COLLECTION_SCHEMAS: {
2699
2720
  userId: z.ZodString;
2700
2721
  violationId: z.ZodString;
2701
2722
  }, z.core.$strict>;
2723
+ }, z.core.$strict>, z.ZodObject<{
2724
+ type: z.ZodLiteral<"profile.displayNameChanged">;
2725
+ ids: z.ZodObject<{
2726
+ userId: z.ZodString;
2727
+ }, z.core.$strict>;
2728
+ }, z.core.$strict>, z.ZodObject<{
2729
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
2730
+ ids: z.ZodObject<{
2731
+ userId: z.ZodString;
2732
+ }, z.core.$strict>;
2733
+ }, z.core.$strict>, z.ZodObject<{
2734
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
2735
+ ids: z.ZodObject<{
2736
+ workRealmId: z.ZodString;
2737
+ }, z.core.$strict>;
2738
+ }, z.core.$strict>, z.ZodObject<{
2739
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
2740
+ ids: z.ZodObject<{
2741
+ workProjectId: z.ZodString;
2742
+ workRealmId: z.ZodOptional<z.ZodString>;
2743
+ }, z.core.$strict>;
2702
2744
  }, z.core.$strict>], "type">>;
2703
2745
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
2704
2746
  collection: z.ZodString;
@@ -3073,6 +3115,27 @@ export declare const COLLECTION_SCHEMAS: {
3073
3115
  userId: z.ZodString;
3074
3116
  violationId: z.ZodString;
3075
3117
  }, z.core.$strict>;
3118
+ }, z.core.$strict>, z.ZodObject<{
3119
+ type: z.ZodLiteral<"profile.displayNameChanged">;
3120
+ ids: z.ZodObject<{
3121
+ userId: z.ZodString;
3122
+ }, z.core.$strict>;
3123
+ }, z.core.$strict>, z.ZodObject<{
3124
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
3125
+ ids: z.ZodObject<{
3126
+ userId: z.ZodString;
3127
+ }, z.core.$strict>;
3128
+ }, z.core.$strict>, z.ZodObject<{
3129
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
3130
+ ids: z.ZodObject<{
3131
+ workRealmId: z.ZodString;
3132
+ }, z.core.$strict>;
3133
+ }, z.core.$strict>, z.ZodObject<{
3134
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
3135
+ ids: z.ZodObject<{
3136
+ workProjectId: z.ZodString;
3137
+ workRealmId: z.ZodOptional<z.ZodString>;
3138
+ }, z.core.$strict>;
3076
3139
  }, z.core.$strict>], "type">>;
3077
3140
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
3078
3141
  collection: z.ZodString;
@@ -3531,6 +3594,27 @@ export declare const COLLECTION_SCHEMAS: {
3531
3594
  userId: z.ZodString;
3532
3595
  violationId: z.ZodString;
3533
3596
  }, z.core.$strict>;
3597
+ }, z.core.$strict>, z.ZodObject<{
3598
+ type: z.ZodLiteral<"profile.displayNameChanged">;
3599
+ ids: z.ZodObject<{
3600
+ userId: z.ZodString;
3601
+ }, z.core.$strict>;
3602
+ }, z.core.$strict>, z.ZodObject<{
3603
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
3604
+ ids: z.ZodObject<{
3605
+ userId: z.ZodString;
3606
+ }, z.core.$strict>;
3607
+ }, z.core.$strict>, z.ZodObject<{
3608
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
3609
+ ids: z.ZodObject<{
3610
+ workRealmId: z.ZodString;
3611
+ }, z.core.$strict>;
3612
+ }, z.core.$strict>, z.ZodObject<{
3613
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
3614
+ ids: z.ZodObject<{
3615
+ workProjectId: z.ZodString;
3616
+ workRealmId: z.ZodOptional<z.ZodString>;
3617
+ }, z.core.$strict>;
3534
3618
  }, z.core.$strict>], "type">>;
3535
3619
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
3536
3620
  collection: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4M7B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwPkB,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAEvE;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;CAmBiC,CAAC;AAEvE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAUvC,CAAC"}
@@ -66,6 +66,19 @@ export declare const AdminDispatchReviewedEventSchema: z.ZodObject<{
66
66
  type: z.ZodLiteral<"admin.adminDispatchReviewed">;
67
67
  ids: z.ZodObject<{}, z.core.$strict>;
68
68
  }, z.core.$strict>;
69
+ export declare const AdminDisplayNameResetForcedEventSchema: z.ZodObject<{
70
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
71
+ ids: z.ZodObject<{
72
+ userId: z.ZodString;
73
+ }, z.core.$strict>;
74
+ }, z.core.$strict>;
75
+ export declare const HallContentChangeRequestApprovedEventSchema: z.ZodObject<{
76
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
77
+ ids: z.ZodObject<{
78
+ workProjectId: z.ZodString;
79
+ workRealmId: z.ZodOptional<z.ZodString>;
80
+ }, z.core.$strict>;
81
+ }, z.core.$strict>;
69
82
  export declare const ViolationAppealSubmittedEventSchema: z.ZodObject<{
70
83
  type: z.ZodLiteral<"violation.appealSubmitted">;
71
84
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events-admin.d.ts","sourceRoot":"","sources":["../../src/media/domain-events-admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYvC,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC;AAEZ,eAAO,MAAM,wCAAwC;;;;;;kBAU1C,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;kBAStC,CAAC;AAEZ,eAAO,MAAM,qCAAqC;;;;;kBASvC,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;kBAUhC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;;kBAKlC,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC"}
1
+ {"version":3,"file":"domain-events-admin.d.ts","sourceRoot":"","sources":["../../src/media/domain-events-admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYvC,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC;AAEZ,eAAO,MAAM,wCAAwC;;;;;;kBAU1C,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;kBAStC,CAAC;AAEZ,eAAO,MAAM,qCAAqC;;;;;kBASvC,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;kBAUhC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;;kBAKlC,CAAC;AAKZ,eAAO,MAAM,sCAAsC;;;;;kBASxC,CAAC;AAMZ,eAAO,MAAM,2CAA2C;;;;;;kBAU7C,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC"}
@@ -75,6 +75,34 @@ export const AdminDispatchReviewedEventSchema = z
75
75
  ids: z.object({}).strict(),
76
76
  })
77
77
  .strict();
78
+ // An admin forced a display-name reset on a member. The target's displayName is
79
+ // a publicUsers-mirrored field; the actor is an admin, never the member, which
80
+ // is why this is separate from profile.displayNameChanged.
81
+ export const AdminDisplayNameResetForcedEventSchema = z
82
+ .object({
83
+ type: z.literal('admin.displayNameResetForced'),
84
+ ids: z
85
+ .object({
86
+ userId: z.string().min(1),
87
+ })
88
+ .strict(),
89
+ })
90
+ .strict();
91
+ // A hall content change request was APPROVED — the only decision that writes
92
+ // anything. An approval updates the public Work shell and, on the realm grain,
93
+ // the Realm doc, so both ids ride the event; `workRealmId` is absent on the hall
94
+ // grains. A denial changes no content and emits nothing.
95
+ export const HallContentChangeRequestApprovedEventSchema = z
96
+ .object({
97
+ type: z.literal('hallContentChangeRequest.approved'),
98
+ ids: z
99
+ .object({
100
+ workProjectId: z.string().min(1),
101
+ workRealmId: z.string().min(1).optional(),
102
+ })
103
+ .strict(),
104
+ })
105
+ .strict();
78
106
  export const ViolationAppealSubmittedEventSchema = z
79
107
  .object({
80
108
  type: z.literal('violation.appealSubmitted'),
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events-admin.js","sourceRoot":"","sources":["../../src/media/domain-events-admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,4EAA4E;AAC5E,6EAA6E;AAC7E,sDAAsD;AAEtD,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC;KACnD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAA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ACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC/B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { FileOriginSchema } from \"./file-origin.js\";\n\n// DomainEvent schemas for the admin/moderation domain — content violations,\n// threshold-library review decisions, admin dispatch, and appeals. Assembled\n// into the discriminated union in ./domain-events.ts.\n\nexport const ModerationViolationCreatedEventSchema = z\n .object({\n type: z.literal('moderation.violationCreated'),\n ids: z\n .object({\n userId: z.string().min(1),\n violationId: z.string().min(1),\n fileOrigin: FileOriginSchema,\n pendingMediaId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const ThresholdLibraryApprovedEventSchema = z\n .object({\n type: z.literal('thresholdLibrary.approved'),\n ids: z\n .object({\n thresholdItemId: z.string().min(1),\n hallItemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const ThresholdLibraryNeedsRevisionEventSchema = z\n .object({\n type: z.literal('thresholdLibrary.needsRevision'),\n ids: z\n .object({\n thresholdItemId: z.string().min(1),\n hallItemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminDispatchSystemMarkedEventSchema = z\n .object({\n type: z.literal('adminDispatch.systemMarked'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminDispatchThreadUpdatedEventSchema = z\n .object({\n type: z.literal('adminDispatch.threadUpdated'),\n ids: z\n .object({\n adminDispatchId: z.string().min(1).nullable(),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminAppealReviewedEventSchema = z\n .object({\n type: z.literal('admin.appealReviewed'),\n ids: z\n .object({\n violationId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminDispatchReviewedEventSchema = z\n .object({\n type: z.literal('admin.adminDispatchReviewed'),\n ids: z.object({}).strict(),\n })\n .strict();\n\nexport const ViolationAppealSubmittedEventSchema = z\n .object({\n type: z.literal('violation.appealSubmitted'),\n ids: z\n .object({\n userId: z.string().min(1),\n violationId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n"]}
1
+ {"version":3,"file":"domain-events-admin.js","sourceRoot":"","sources":["../../src/media/domain-events-admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,4EAA4E;AAC5E,6EAA6E;AAC7E,sDAAsD;AAEtD,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC;KACnD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IAC9C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC9B,UAAU,EAAE,gBAAgB;QAC5B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAClC,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC;KACjD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAC5C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAClC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC9B,CAAC;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CAAC;KACjD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAC5C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC/B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { FileOriginSchema } from \"./file-origin.js\";\n\n// DomainEvent schemas for the admin/moderation domain — content violations,\n// threshold-library review decisions, admin dispatch, and appeals. Assembled\n// into the discriminated union in ./domain-events.ts.\n\nexport const ModerationViolationCreatedEventSchema = z\n .object({\n type: z.literal('moderation.violationCreated'),\n ids: z\n .object({\n userId: z.string().min(1),\n violationId: z.string().min(1),\n fileOrigin: FileOriginSchema,\n pendingMediaId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const ThresholdLibraryApprovedEventSchema = z\n .object({\n type: z.literal('thresholdLibrary.approved'),\n ids: z\n .object({\n thresholdItemId: z.string().min(1),\n hallItemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const ThresholdLibraryNeedsRevisionEventSchema = z\n .object({\n type: z.literal('thresholdLibrary.needsRevision'),\n ids: z\n .object({\n thresholdItemId: z.string().min(1),\n hallItemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminDispatchSystemMarkedEventSchema = z\n .object({\n type: z.literal('adminDispatch.systemMarked'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminDispatchThreadUpdatedEventSchema = z\n .object({\n type: z.literal('adminDispatch.threadUpdated'),\n ids: z\n .object({\n adminDispatchId: z.string().min(1).nullable(),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminAppealReviewedEventSchema = z\n .object({\n type: z.literal('admin.appealReviewed'),\n ids: z\n .object({\n violationId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AdminDispatchReviewedEventSchema = z\n .object({\n type: z.literal('admin.adminDispatchReviewed'),\n ids: z.object({}).strict(),\n })\n .strict();\n\n// An admin forced a display-name reset on a member. The target's displayName is\n// a publicUsers-mirrored field; the actor is an admin, never the member, which\n// is why this is separate from profile.displayNameChanged.\nexport const AdminDisplayNameResetForcedEventSchema = z\n .object({\n type: z.literal('admin.displayNameResetForced'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// A hall content change request was APPROVED — the only decision that writes\n// anything. An approval updates the public Work shell and, on the realm grain,\n// the Realm doc, so both ids ride the event; `workRealmId` is absent on the hall\n// grains. A denial changes no content and emits nothing.\nexport const HallContentChangeRequestApprovedEventSchema = z\n .object({\n type: z.literal('hallContentChangeRequest.approved'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n workRealmId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const ViolationAppealSubmittedEventSchema = z\n .object({\n type: z.literal('violation.appealSubmitted'),\n ids: z\n .object({\n userId: z.string().min(1),\n violationId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n"]}
@@ -11,6 +11,12 @@ export declare const ProfilePreferencesUpdatedEventSchema: z.ZodObject<{
11
11
  userId: z.ZodString;
12
12
  }, z.core.$strict>;
13
13
  }, z.core.$strict>;
14
+ export declare const ProfileDisplayNameChangedEventSchema: z.ZodObject<{
15
+ type: z.ZodLiteral<"profile.displayNameChanged">;
16
+ ids: z.ZodObject<{
17
+ userId: z.ZodString;
18
+ }, z.core.$strict>;
19
+ }, z.core.$strict>;
14
20
  export declare const CraftSkillCreatedEventSchema: z.ZodObject<{
15
21
  type: z.ZodLiteral<"craftSkill.created">;
16
22
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events-user.d.ts","sourceRoot":"","sources":["../../src/media/domain-events-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,gCAAgC;;;;;kBAKlC,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;kBAStC,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAU9B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAU9B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAU9B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;;;;;;;kBAW1B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;;;;;;;kBAW1B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;kBAUxB,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;kBAS9B,CAAC"}
1
+ {"version":3,"file":"domain-events-user.d.ts","sourceRoot":"","sources":["../../src/media/domain-events-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,gCAAgC;;;;;kBAKlC,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;kBAStC,CAAC;AAIZ,eAAO,MAAM,oCAAoC;;;;;kBAStC,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAU9B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAU9B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;kBAU9B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;;;;;;;kBAW1B,CAAC;AAEZ,eAAO,MAAM,wBAAwB;;;;;;;;;;;kBAW1B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;kBAUxB,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;kBAS9B,CAAC"}
@@ -18,6 +18,18 @@ export const ProfilePreferencesUpdatedEventSchema = z
18
18
  .strict(),
19
19
  })
20
20
  .strict();
21
+ // Self-service display-name change. `displayName` is a publicUsers-mirrored
22
+ // field, so this is distinct from profile.preferencesUpdated (profile doc only).
23
+ export const ProfileDisplayNameChangedEventSchema = z
24
+ .object({
25
+ type: z.literal('profile.displayNameChanged'),
26
+ ids: z
27
+ .object({
28
+ userId: z.string().min(1),
29
+ })
30
+ .strict(),
31
+ })
32
+ .strict();
21
33
  export const CraftSkillCreatedEventSchema = z
22
34
  .object({
23
35
  type: z.literal('craftSkill.created'),
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events-user.js","sourceRoot":"","sources":["../../src/media/domain-events-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,4EAA4E;AAC5E,gFAAgF;AAChF,sBAAsB;AAEtB,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;IACzC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;CACtD,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;IAC7C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IACrC,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;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KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\n\n// DomainEvent schemas for the user/identity domain — profile, craft skills,\n// follows, mentions, and auth status. Assembled into the discriminated union in\n// ./domain-events.ts.\n\nexport const ProfilePictureUpdatedEventSchema = z\n .object({\n type: z.literal('profile.pictureUpdated'),\n ids: z.object({ userId: z.string().min(1) }).strict(),\n })\n .strict();\n\nexport const ProfilePreferencesUpdatedEventSchema = z\n .object({\n type: z.literal('profile.preferencesUpdated'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CraftSkillCreatedEventSchema = z\n .object({\n type: z.literal('craftSkill.created'),\n ids: z\n .object({\n userId: z.string().min(1),\n craftSkillId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CraftSkillUpdatedEventSchema = z\n .object({\n type: z.literal('craftSkill.updated'),\n ids: z\n .object({\n userId: z.string().min(1),\n craftSkillId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CraftSkillDeletedEventSchema = z\n .object({\n type: z.literal('craftSkill.deleted'),\n ids: z\n .object({\n userId: z.string().min(1),\n craftSkillId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const FollowCreatedEventSchema = z\n .object({\n type: z.literal('follow.created'),\n ids: z\n .object({\n followerUid: z.string().min(1),\n targetType: z.enum(['user', 'workProject', 'workRealm']),\n targetId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const FollowRemovedEventSchema = z\n .object({\n type: z.literal('follow.removed'),\n ids: z\n .object({\n followerUid: z.string().min(1),\n targetType: z.enum(['user', 'workProject', 'workRealm']),\n targetId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const MentionReadEventSchema = z\n .object({\n type: z.literal('mention.read'),\n ids: z\n .object({\n userId: z.string().min(1),\n mentionId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AuthStatusChangedEventSchema = z\n .object({\n type: z.literal('auth.statusChanged'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n"]}
1
+ {"version":3,"file":"domain-events-user.js","sourceRoot":"","sources":["../../src/media/domain-events-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,4EAA4E;AAC5E,gFAAgF;AAChF,sBAAsB;AAEtB,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;IACzC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;CACtD,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;IAC7C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,4EAA4E;AAC5E,iFAAiF;AACjF,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;IAC7C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,C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B,CAAC;IACrC,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\n\n// DomainEvent schemas for the user/identity domain — profile, craft skills,\n// follows, mentions, and auth status. Assembled into the discriminated union in\n// ./domain-events.ts.\n\nexport const ProfilePictureUpdatedEventSchema = z\n .object({\n type: z.literal('profile.pictureUpdated'),\n ids: z.object({ userId: z.string().min(1) }).strict(),\n })\n .strict();\n\nexport const ProfilePreferencesUpdatedEventSchema = z\n .object({\n type: z.literal('profile.preferencesUpdated'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// Self-service display-name change. `displayName` is a publicUsers-mirrored\n// field, so this is distinct from profile.preferencesUpdated (profile doc only).\nexport const ProfileDisplayNameChangedEventSchema = z\n .object({\n type: z.literal('profile.displayNameChanged'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CraftSkillCreatedEventSchema = z\n .object({\n type: z.literal('craftSkill.created'),\n ids: z\n .object({\n userId: z.string().min(1),\n craftSkillId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CraftSkillUpdatedEventSchema = z\n .object({\n type: z.literal('craftSkill.updated'),\n ids: z\n .object({\n userId: z.string().min(1),\n craftSkillId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CraftSkillDeletedEventSchema = z\n .object({\n type: z.literal('craftSkill.deleted'),\n ids: z\n .object({\n userId: z.string().min(1),\n craftSkillId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const FollowCreatedEventSchema = z\n .object({\n type: z.literal('follow.created'),\n ids: z\n .object({\n followerUid: z.string().min(1),\n targetType: z.enum(['user', 'workProject', 'workRealm']),\n targetId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const FollowRemovedEventSchema = z\n .object({\n type: z.literal('follow.removed'),\n ids: z\n .object({\n followerUid: z.string().min(1),\n targetType: z.enum(['user', 'workProject', 'workRealm']),\n targetId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const MentionReadEventSchema = z\n .object({\n type: z.literal('mention.read'),\n ids: z\n .object({\n userId: z.string().min(1),\n mentionId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AuthStatusChangedEventSchema = z\n .object({\n type: z.literal('auth.statusChanged'),\n ids: z\n .object({\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n"]}
@@ -148,6 +148,12 @@ export declare const WorkRealmCoverUpdatedEventSchema: z.ZodObject<{
148
148
  workRealmId: z.ZodString;
149
149
  }, z.core.$strict>;
150
150
  }, z.core.$strict>;
151
+ export declare const WorkRealmDetailsUpdatedEventSchema: z.ZodObject<{
152
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
153
+ ids: z.ZodObject<{
154
+ workRealmId: z.ZodString;
155
+ }, z.core.$strict>;
156
+ }, z.core.$strict>;
151
157
  export declare const HallLibrarySubItemUpdatedEventSchema: z.ZodObject<{
152
158
  type: z.ZodLiteral<"hallLibrary.subItemUpdated">;
153
159
  ids: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events-work.d.ts","sourceRoot":"","sources":["../../src/media/domain-events-work.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,6BAA6B;;;;;;kBAU/B,CAAC;AAEZ,eAAO,MAAM,6BAA6B;;;;;kBAK/B,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;;;;kBAUjC,CAAC;AAEZ,eAAO,MAAM,wCAAwC;;;;;kBAS1C,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;;;;kBAY5B,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;;kBAWhC,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,MAAM,+BAA+B;;;;;;kBAUjC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;;;;;;kBAWlC,CAAC;AAEZ,eAAO,MAAM,iCAAiC;;;;;;;;kBAYnC,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;;;;kBAYtC,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;kBAU3B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;;kBAW9B,CAAC;AAEZ,eAAO,MAAM,sCAAsC;;;;;;;;kBAYxC,CAAC;AAKZ,eAAO,MAAM,2BAA2B;;;;;;kBAU7B,CAAC;AAEZ,eAAO,MAAM,kCAAkC;;;;;;;kBAWpC,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;;;kBAWtC,CAAC;AAEZ,eAAO,MAAM,kCAAkC;;;;;;;;;;;kBAWpC,CAAC;AAIZ,eAAO,MAAM,gCAAgC;;;;;kBASlC,CAAC;AAIZ,eAAO,MAAM,kCAAkC;;;;;kBASpC,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;;;;;;;;kBAYtC,CAAC;AAEZ,eAAO,MAAM,oCAAoC;;;;;kBAStC,CAAC"}
@@ -224,6 +224,18 @@ export const WorkRealmCoverUpdatedEventSchema = z
224
224
  .strict(),
225
225
  })
226
226
  .strict();
227
+ // Realm details edited — the realm doc's own text/detail fields, as opposed to
228
+ // workRealm.coverUpdated's `realmCoverAssetId`.
229
+ export const WorkRealmDetailsUpdatedEventSchema = z
230
+ .object({
231
+ type: z.literal('workRealm.detailsUpdated'),
232
+ ids: z
233
+ .object({
234
+ workRealmId: z.string().min(1),
235
+ })
236
+ .strict(),
237
+ })
238
+ .strict();
227
239
  export const HallLibrarySubItemUpdatedEventSchema = z
228
240
  .object({
229
241
  type: z.literal('hallLibrary.subItemUpdated'),
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events-work.js","sourceRoot":"","sources":["../../src/media/domain-events-work.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE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AE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;IAC7C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KACjC,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\n\n// DomainEvent schemas for the work-project domain — work projects, guild\n// invites, auditions, commissions, hall library, and threshold-library\n// submission. Assembled into the discriminated union in ./domain-events.ts.\n\nexport const WorkProjectCreatedEventSchema = z\n .object({\n type: z.literal('workProject.created'),\n ids: z\n .object({\n userId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const WorkProjectUpdatedEventSchema = z\n .object({\n type: z.literal('workProject.updated'),\n ids: z.object({ workProjectId: z.string().min(1) }).strict(),\n })\n .strict();\n\nexport const WorkProjectPublishedEventSchema = z\n .object({\n type: z.literal('workProject.published'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const WorkProjectStakeSharesUpdatedEventSchema = z\n .object({\n type: z.literal('workProject.stakeSharesUpdated'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteSentEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteSent'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n inviterId: z.string().min(1),\n inviteeId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteAcceptedEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteAccepted'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteDeclinedEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteDeclined'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteCancelledEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteCancelled'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionPromptCreatedEventSchema = z\n .object({\n type: z.literal('audition.promptCreated'),\n ids: z\n .object({\n userId: z.string().min(1),\n auditionId: z.string().min(1),\n workProjectId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionEntrySubmittedEventSchema = z\n .object({\n type: z.literal('audition.entryCreated'),\n ids: z\n .object({\n userId: z.string().min(1),\n auditionId: z.string().min(1),\n auditionEntryId: z.string().min(1),\n workProjectId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionEntryVoteRecordedEventSchema = z\n .object({\n type: z.literal('audition.entryVoted'),\n ids: z\n .object({\n userId: z.string().min(1),\n auditionId: z.string().min(1),\n auditionEntryId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionClosedEventSchema = z\n .object({\n type: z.literal('audition.closed'),\n ids: z\n .object({\n auditionId: z.string().min(1),\n workProjectId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionCreatedEventSchema = z\n .object({\n type: z.literal('commission.created'),\n ids: z\n .object({\n userId: z.string().min(1),\n commissionListingId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionProposalSubmittedEventSchema = z\n .object({\n type: z.literal('commission.commissionProposalSubmitted'),\n ids: z\n .object({\n userId: z.string().min(1),\n commissionListingId: z.string().min(1),\n workProjectId: z.string().min(1),\n commissionProposalId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// Commission closed — the closeCommission callable's terminal transition. A\n// commission listing is never deleted; closing is the only way it leaves the\n// board, so the event name says closed.\nexport const CommissionClosedEventSchema = z\n .object({\n type: z.literal('commission.closed'),\n ids: z\n .object({\n commissionListingId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionProposalSavedEventSchema = z\n .object({\n type: z.literal('commission.commissionProposalSaved'),\n ids: z\n .object({\n commissionListingId: z.string().min(1),\n commissionProposalId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionProposalRemovedEventSchema = z\n .object({\n type: z.literal('commission.commissionProposalRemoved'),\n ids: z\n .object({\n commissionListingId: z.string().min(1),\n commissionProposalId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const HallLibraryCoverUpdatedEventSchema = z\n .object({\n type: z.literal('hallLibrary.coverUpdated'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n itemType: z.enum(['tale', 'tune', 'television']),\n itemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// Realm cover published — the 'realm-cover' upload origin's publication adapter\n// wrote `realmCoverAssetId` onto workRealms/{workRealmId}.\nexport const WorkRealmCoverUpdatedEventSchema = z\n .object({\n type: z.literal('workRealm.coverUpdated'),\n ids: z\n .object({\n workRealmId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const HallLibrarySubItemUpdatedEventSchema = z\n .object({\n type: z.literal('hallLibrary.subItemUpdated'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n itemType: z.enum(['chapter', 'tuneTrack', 'televisionEpisode']),\n parentId: z.string().min(1),\n itemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const ThresholdLibrarySubmittedEventSchema = z\n .object({\n type: z.literal('thresholdLibrary.submitted'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n"]}
1
+ {"version":3,"file":"domain-events-work.js","sourceRoot":"","sources":["../../src/media/domain-events-work.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yEAAyE;AACzE,uEAAuE;AACvE,4EAA4E;AAE5E,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;IACtC,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACzB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KACjC,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;IACtC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;CAC7D,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;IACxC,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAChC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE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AClD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;IAC7C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAChC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,mBAAmB,CAAC,CAAC;QAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC1B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;IAC7C,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KACjC,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\n\n// DomainEvent schemas for the work-project domain — work projects, guild\n// invites, auditions, commissions, hall library, and threshold-library\n// submission. Assembled into the discriminated union in ./domain-events.ts.\n\nexport const WorkProjectCreatedEventSchema = z\n .object({\n type: z.literal('workProject.created'),\n ids: z\n .object({\n userId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const WorkProjectUpdatedEventSchema = z\n .object({\n type: z.literal('workProject.updated'),\n ids: z.object({ workProjectId: z.string().min(1) }).strict(),\n })\n .strict();\n\nexport const WorkProjectPublishedEventSchema = z\n .object({\n type: z.literal('workProject.published'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const WorkProjectStakeSharesUpdatedEventSchema = z\n .object({\n type: z.literal('workProject.stakeSharesUpdated'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteSentEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteSent'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n inviterId: z.string().min(1),\n inviteeId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteAcceptedEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteAccepted'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteDeclinedEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteDeclined'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const GuildInviteCancelledEventSchema = z\n .object({\n type: z.literal('workProject.guildInviteCancelled'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n guildInviteId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionPromptCreatedEventSchema = z\n .object({\n type: z.literal('audition.promptCreated'),\n ids: z\n .object({\n userId: z.string().min(1),\n auditionId: z.string().min(1),\n workProjectId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionEntrySubmittedEventSchema = z\n .object({\n type: z.literal('audition.entryCreated'),\n ids: z\n .object({\n userId: z.string().min(1),\n auditionId: z.string().min(1),\n auditionEntryId: z.string().min(1),\n workProjectId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionEntryVoteRecordedEventSchema = z\n .object({\n type: z.literal('audition.entryVoted'),\n ids: z\n .object({\n userId: z.string().min(1),\n auditionId: z.string().min(1),\n auditionEntryId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const AuditionClosedEventSchema = z\n .object({\n type: z.literal('audition.closed'),\n ids: z\n .object({\n auditionId: z.string().min(1),\n workProjectId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionCreatedEventSchema = z\n .object({\n type: z.literal('commission.created'),\n ids: z\n .object({\n userId: z.string().min(1),\n commissionListingId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionProposalSubmittedEventSchema = z\n .object({\n type: z.literal('commission.commissionProposalSubmitted'),\n ids: z\n .object({\n userId: z.string().min(1),\n commissionListingId: z.string().min(1),\n workProjectId: z.string().min(1),\n commissionProposalId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// Commission closed — the closeCommission callable's terminal transition. A\n// commission listing is never deleted; closing is the only way it leaves the\n// board, so the event name says closed.\nexport const CommissionClosedEventSchema = z\n .object({\n type: z.literal('commission.closed'),\n ids: z\n .object({\n commissionListingId: z.string().min(1),\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionProposalSavedEventSchema = z\n .object({\n type: z.literal('commission.commissionProposalSaved'),\n ids: z\n .object({\n commissionListingId: z.string().min(1),\n commissionProposalId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const CommissionProposalRemovedEventSchema = z\n .object({\n type: z.literal('commission.commissionProposalRemoved'),\n ids: z\n .object({\n commissionListingId: z.string().min(1),\n commissionProposalId: z.string().min(1),\n userId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const HallLibraryCoverUpdatedEventSchema = z\n .object({\n type: z.literal('hallLibrary.coverUpdated'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n itemType: z.enum(['tale', 'tune', 'television']),\n itemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// Realm cover published — the 'realm-cover' upload origin's publication adapter\n// wrote `realmCoverAssetId` onto workRealms/{workRealmId}.\nexport const WorkRealmCoverUpdatedEventSchema = z\n .object({\n type: z.literal('workRealm.coverUpdated'),\n ids: z\n .object({\n workRealmId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\n// Realm details edited — the realm doc's own text/detail fields, as opposed to\n// workRealm.coverUpdated's `realmCoverAssetId`.\nexport const WorkRealmDetailsUpdatedEventSchema = z\n .object({\n type: z.literal('workRealm.detailsUpdated'),\n ids: z\n .object({\n workRealmId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const HallLibrarySubItemUpdatedEventSchema = z\n .object({\n type: z.literal('hallLibrary.subItemUpdated'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n itemType: z.enum(['chapter', 'tuneTrack', 'televisionEpisode']),\n parentId: z.string().min(1),\n itemId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n\nexport const ThresholdLibrarySubmittedEventSchema = z\n .object({\n type: z.literal('thresholdLibrary.submitted'),\n ids: z\n .object({\n workProjectId: z.string().min(1),\n })\n .strict(),\n })\n .strict();\n"]}
@@ -297,6 +297,27 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
297
297
  userId: z.ZodString;
298
298
  violationId: z.ZodString;
299
299
  }, z.core.$strict>;
300
+ }, z.core.$strict>, z.ZodObject<{
301
+ type: z.ZodLiteral<"profile.displayNameChanged">;
302
+ ids: z.ZodObject<{
303
+ userId: z.ZodString;
304
+ }, z.core.$strict>;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
307
+ ids: z.ZodObject<{
308
+ userId: z.ZodString;
309
+ }, z.core.$strict>;
310
+ }, z.core.$strict>, z.ZodObject<{
311
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
312
+ ids: z.ZodObject<{
313
+ workRealmId: z.ZodString;
314
+ }, z.core.$strict>;
315
+ }, z.core.$strict>, z.ZodObject<{
316
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
317
+ ids: z.ZodObject<{
318
+ workProjectId: z.ZodString;
319
+ workRealmId: z.ZodOptional<z.ZodString>;
320
+ }, z.core.$strict>;
300
321
  }, z.core.$strict>], "type">;
301
322
  export type DomainEvent = z.infer<typeof DomainEventSchema>;
302
323
  export type DomainEventIdsFor<T extends DomainEvent['type']> = Extract<DomainEvent, {
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events.d.ts","sourceRoot":"","sources":["../../src/media/domain-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmDxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAgBzC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA0C5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAI5D,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,WAAW,CAAC,MAAM,CAAC,IAAI,OAAO,CACpE,WAAW,EACX;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CACZ,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"domain-events.d.ts","sourceRoot":"","sources":["../../src/media/domain-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuDxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAgBzC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA8C5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAI5D,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,WAAW,CAAC,MAAM,CAAC,IAAI,OAAO,CACpE,WAAW,EACX;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CACZ,CAAC,KAAK,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { z } from "zod";
2
- import { ProfilePictureUpdatedEventSchema, ProfilePreferencesUpdatedEventSchema, CraftSkillCreatedEventSchema, CraftSkillUpdatedEventSchema, CraftSkillDeletedEventSchema, FollowCreatedEventSchema, FollowRemovedEventSchema, MentionReadEventSchema, AuthStatusChangedEventSchema, } from "./domain-events-user.js";
3
- import { WorkProjectCreatedEventSchema, WorkProjectUpdatedEventSchema, WorkProjectPublishedEventSchema, WorkProjectStakeSharesUpdatedEventSchema, GuildInviteSentEventSchema, GuildInviteAcceptedEventSchema, GuildInviteDeclinedEventSchema, GuildInviteCancelledEventSchema, AuditionPromptCreatedEventSchema, AuditionEntrySubmittedEventSchema, AuditionEntryVoteRecordedEventSchema, AuditionClosedEventSchema, CommissionCreatedEventSchema, CommissionProposalSubmittedEventSchema, CommissionClosedEventSchema, CommissionProposalSavedEventSchema, CommissionProposalRemovedEventSchema, HallLibraryCoverUpdatedEventSchema, WorkRealmCoverUpdatedEventSchema, HallLibrarySubItemUpdatedEventSchema, ThresholdLibrarySubmittedEventSchema, } from "./domain-events-work.js";
2
+ import { ProfilePictureUpdatedEventSchema, ProfilePreferencesUpdatedEventSchema, CraftSkillCreatedEventSchema, CraftSkillUpdatedEventSchema, CraftSkillDeletedEventSchema, FollowCreatedEventSchema, FollowRemovedEventSchema, MentionReadEventSchema, AuthStatusChangedEventSchema, ProfileDisplayNameChangedEventSchema, } from "./domain-events-user.js";
3
+ import { WorkProjectCreatedEventSchema, WorkProjectUpdatedEventSchema, WorkProjectPublishedEventSchema, WorkProjectStakeSharesUpdatedEventSchema, GuildInviteSentEventSchema, GuildInviteAcceptedEventSchema, GuildInviteDeclinedEventSchema, GuildInviteCancelledEventSchema, AuditionPromptCreatedEventSchema, AuditionEntrySubmittedEventSchema, AuditionEntryVoteRecordedEventSchema, AuditionClosedEventSchema, CommissionCreatedEventSchema, CommissionProposalSubmittedEventSchema, CommissionClosedEventSchema, CommissionProposalSavedEventSchema, CommissionProposalRemovedEventSchema, HallLibraryCoverUpdatedEventSchema, WorkRealmCoverUpdatedEventSchema, WorkRealmDetailsUpdatedEventSchema, HallLibrarySubItemUpdatedEventSchema, ThresholdLibrarySubmittedEventSchema, } from "./domain-events-work.js";
4
4
  import { SquareStreetzPostCreatedEventSchema, SquareStreetzPostLikedEventSchema, SquareStreetzPostUnlikedEventSchema, } from "./domain-events-social.js";
5
- import { ModerationViolationCreatedEventSchema, ThresholdLibraryApprovedEventSchema, ThresholdLibraryNeedsRevisionEventSchema, AdminDispatchSystemMarkedEventSchema, AdminDispatchThreadUpdatedEventSchema, AdminAppealReviewedEventSchema, AdminDispatchReviewedEventSchema, ViolationAppealSubmittedEventSchema, } from "./domain-events-admin.js";
5
+ import { ModerationViolationCreatedEventSchema, ThresholdLibraryApprovedEventSchema, ThresholdLibraryNeedsRevisionEventSchema, AdminDispatchSystemMarkedEventSchema, AdminDispatchThreadUpdatedEventSchema, AdminAppealReviewedEventSchema, AdminDispatchReviewedEventSchema, ViolationAppealSubmittedEventSchema, AdminDisplayNameResetForcedEventSchema, HallContentChangeRequestApprovedEventSchema, } from "./domain-events-admin.js";
6
6
  export * from "./domain-events-user.js";
7
7
  export * from "./domain-events-work.js";
8
8
  export * from "./domain-events-social.js";
@@ -62,5 +62,9 @@ export const DomainEventSchema = z.discriminatedUnion('type', [
62
62
  MentionReadEventSchema,
63
63
  AuthStatusChangedEventSchema,
64
64
  ViolationAppealSubmittedEventSchema,
65
+ ProfileDisplayNameChangedEventSchema,
66
+ AdminDisplayNameResetForcedEventSchema,
67
+ WorkRealmDetailsUpdatedEventSchema,
68
+ HallContentChangeRequestApprovedEventSchema,
65
69
  ]);
66
70
  //# sourceMappingURL=domain-events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"domain-events.js","sourceRoot":"","sources":["../../src/media/domain-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,gCAAgC,EAChC,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,EAC7B,+BAA+B,EAC/B,wCAAwC,EACxC,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,EAC9B,+BAA+B,EAC/B,gCAAgC,EAChC,iCAAiC,EACjC,oCAAoC,EACpC,yBAAyB,EACzB,4BAA4B,EAC5B,sCAAsC,EACtC,2BAA2B,EAC3B,kCAAkC,EAClC,oCAAoC,EACpC,kCAAkC,EAClC,gCA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IAChC,sBAAsB;IACtB,4BAA4B;IAC5B,mCAAmC;CACpC,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport {\n ProfilePictureUpdatedEventSchema,\n ProfilePreferencesUpdatedEventSchema,\n CraftSkillCreatedEventSchema,\n CraftSkillUpdatedEventSchema,\n CraftSkillDeletedEventSchema,\n FollowCreatedEventSchema,\n FollowRemovedEventSchema,\n MentionReadEventSchema,\n AuthStatusChangedEventSchema,\n} from \"./domain-events-user.js\";\nimport {\n WorkProjectCreatedEventSchema,\n WorkProjectUpdatedEventSchema,\n WorkProjectPublishedEventSchema,\n WorkProjectStakeSharesUpdatedEventSchema,\n GuildInviteSentEventSchema,\n GuildInviteAcceptedEventSchema,\n GuildInviteDeclinedEventSchema,\n GuildInviteCancelledEventSchema,\n AuditionPromptCreatedEventSchema,\n AuditionEntrySubmittedEventSchema,\n AuditionEntryVoteRecordedEventSchema,\n AuditionClosedEventSchema,\n CommissionCreatedEventSchema,\n CommissionProposalSubmittedEventSchema,\n CommissionClosedEventSchema,\n CommissionProposalSavedEventSchema,\n CommissionProposalRemovedEventSchema,\n HallLibraryCoverUpdatedEventSchema,\n WorkRealmCoverUpdatedEventSchema,\n HallLibrarySubItemUpdatedEventSchema,\n ThresholdLibrarySubmittedEventSchema,\n} from \"./domain-events-work.js\";\nimport {\n SquareStreetzPostCreatedEventSchema,\n SquareStreetzPostLikedEventSchema,\n SquareStreetzPostUnlikedEventSchema,\n} from \"./domain-events-social.js\";\nimport {\n ModerationViolationCreatedEventSchema,\n ThresholdLibraryApprovedEventSchema,\n ThresholdLibraryNeedsRevisionEventSchema,\n AdminDispatchSystemMarkedEventSchema,\n AdminDispatchThreadUpdatedEventSchema,\n AdminAppealReviewedEventSchema,\n AdminDispatchReviewedEventSchema,\n ViolationAppealSubmittedEventSchema,\n} from \"./domain-events-admin.js\";\n\nexport * from \"./domain-events-user.js\";\nexport * from \"./domain-events-work.js\";\nexport * from \"./domain-events-social.js\";\nexport * from \"./domain-events-admin.js\";\n\n// ============================================================================\n// DomainEvent — typed business actions emitted by mutations and upload\n// processors. The frontend registry (ttt-prod/src/lib/domain-events.ts) maps\n// each variant to a list of TanStack Query cache invalidations.\n//\n// Adding a new variant is a coordinated deploy:\n// 1. Add it here. Publish this package.\n// 2. Add a registry entry in ttt-prod. Deploy.\n// 3. Update producers (mutation hooks or processors) to emit it.\n//\n// The schema is .strict() end-to-end — unknown event types fail parse and\n// the consuming hook in ttt-prod logs to Sentry and skips the doc.\n// ============================================================================\n\nexport const DomainEventSchema = z.discriminatedUnion('type', [\n ProfilePictureUpdatedEventSchema,\n CraftSkillCreatedEventSchema,\n SquareStreetzPostCreatedEventSchema,\n AuditionPromptCreatedEventSchema,\n AuditionEntrySubmittedEventSchema,\n CommissionCreatedEventSchema,\n CommissionProposalSubmittedEventSchema,\n WorkProjectUpdatedEventSchema,\n HallLibraryCoverUpdatedEventSchema,\n WorkRealmCoverUpdatedEventSchema,\n HallLibrarySubItemUpdatedEventSchema,\n ModerationViolationCreatedEventSchema,\n FollowCreatedEventSchema,\n FollowRemovedEventSchema,\n SquareStreetzPostLikedEventSchema,\n SquareStreetzPostUnlikedEventSchema,\n ProfilePreferencesUpdatedEventSchema,\n CraftSkillDeletedEventSchema,\n CraftSkillUpdatedEventSchema,\n WorkProjectCreatedEventSchema,\n WorkProjectPublishedEventSchema,\n WorkProjectStakeSharesUpdatedEventSchema,\n GuildInviteSentEventSchema,\n GuildInviteAcceptedEventSchema,\n GuildInviteDeclinedEventSchema,\n GuildInviteCancelledEventSchema,\n AuditionEntryVoteRecordedEventSchema,\n AuditionClosedEventSchema,\n CommissionClosedEventSchema,\n CommissionProposalSavedEventSchema,\n CommissionProposalRemovedEventSchema,\n ThresholdLibrarySubmittedEventSchema,\n ThresholdLibraryApprovedEventSchema,\n ThresholdLibraryNeedsRevisionEventSchema,\n AdminDispatchSystemMarkedEventSchema,\n AdminDispatchThreadUpdatedEventSchema,\n AdminAppealReviewedEventSchema,\n AdminDispatchReviewedEventSchema,\n MentionReadEventSchema,\n AuthStatusChangedEventSchema,\n ViolationAppealSubmittedEventSchema,\n]);\n\nexport type DomainEvent = z.infer<typeof DomainEventSchema>;\n\n// Helper for callers that need to extract the ids type for a specific\n// event variant (e.g. registry entries in the consuming repo).\nexport type DomainEventIdsFor<T extends DomainEvent['type']> = Extract<\n DomainEvent,\n { type: T }\n>['ids'];\n\n\n\n\n\n"]}
1
+ {"version":3,"file":"domain-events.js","sourceRoot":"","sources":["../../src/media/domain-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,gCAAgC,EAChC,oCAAoC,EACpC,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,oCAAoC,GACrC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,EAC7B,+BAA+B,EAC/B,wCAAwC,EACxC,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,EAC9B,+BAA+B,EAC/B,gCAAgC,EAChC,iCAAiC,EACjC,oCAAoC,EACpC,yBAAyB,EACzB,4BAA4B,EAC5B,sCAAsC,EACtC,2BAA2B,EAC3B,kCAAkC,EAClC,oCAAoC,EACpC,kCAAkC,EAClC,gCAAgC,EAChC,kCAAkC,EAClC,oCAAoC,EACpC,oCAAoC,GACrC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mCAAmC,EACnC,iCAAiC,EACjC,mCAAmC,GACpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qCAAqC,EACrC,mCAAmC,EACnC,wCAAwC,EACxC,oCAAoC,EACpC,qCAAqC,EACrC,8BAA8B,EAC9B,gCAAgC,EAChC,mCAAmC,EACnC,sCAAsC,EACtC,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAElC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAEzC,+EAA+E;AAC/E,uEAAuE;AACvE,6EAA6E;AAC7E,gEAAgE;AAChE,EAAE;AACF,gDAAgD;AAChD,0CAA0C;AAC1C,iDAAiD;AACjD,mEAAmE;AACnE,EAAE;AACF,0EAA0E;AAC1E,mEAAmE;AACnE,+EAA+E;AAE/E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC5D,gCAAgC;IAChC,4BAA4B;IAC5B,mCAAmC;IACnC,gCAAgC;IAChC,iCAAiC;IACjC,4BAA4B;IAC5B,sCAAsC;IACtC,6BAA6B;IAC7B,kCAAkC;IAClC,gCAAgC;IAChC,oCAAoC;IACpC,qCAAqC;IACrC,wBAAwB;IACxB,wBAAwB;IACxB,iCAAiC;IACjC,mCAAmC;IACnC,oCAAoC;IACpC,4BAA4B;IAC5B,4BAA4B;IAC5B,6BAA6B;IAC7B,+BAA+B;IAC/B,wCAAwC;IACxC,0BAA0B;IAC1B,8BAA8B;IAC9B,8BAA8B;IAC9B,+BAA+B;IAC/B,oCAAoC;IACpC,yBAAyB;IACzB,2BAA2B;IAC3B,kCAAkC;IAClC,oCAAoC;IACpC,oCAAoC;IACpC,mCAAmC;IACnC,wCAAwC;IACxC,oCAAoC;IACpC,qCAAqC;IACrC,8BAA8B;IAC9B,gCAAgC;IAChC,sBAAsB;IACtB,4BAA4B;IAC5B,mCAAmC;IACnC,oCAAoC;IACpC,sCAAsC;IACtC,kCAAkC;IAClC,2CAA2C;CAC5C,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport {\n ProfilePictureUpdatedEventSchema,\n ProfilePreferencesUpdatedEventSchema,\n CraftSkillCreatedEventSchema,\n CraftSkillUpdatedEventSchema,\n CraftSkillDeletedEventSchema,\n FollowCreatedEventSchema,\n FollowRemovedEventSchema,\n MentionReadEventSchema,\n AuthStatusChangedEventSchema,\n ProfileDisplayNameChangedEventSchema,\n} from \"./domain-events-user.js\";\nimport {\n WorkProjectCreatedEventSchema,\n WorkProjectUpdatedEventSchema,\n WorkProjectPublishedEventSchema,\n WorkProjectStakeSharesUpdatedEventSchema,\n GuildInviteSentEventSchema,\n GuildInviteAcceptedEventSchema,\n GuildInviteDeclinedEventSchema,\n GuildInviteCancelledEventSchema,\n AuditionPromptCreatedEventSchema,\n AuditionEntrySubmittedEventSchema,\n AuditionEntryVoteRecordedEventSchema,\n AuditionClosedEventSchema,\n CommissionCreatedEventSchema,\n CommissionProposalSubmittedEventSchema,\n CommissionClosedEventSchema,\n CommissionProposalSavedEventSchema,\n CommissionProposalRemovedEventSchema,\n HallLibraryCoverUpdatedEventSchema,\n WorkRealmCoverUpdatedEventSchema,\n WorkRealmDetailsUpdatedEventSchema,\n HallLibrarySubItemUpdatedEventSchema,\n ThresholdLibrarySubmittedEventSchema,\n} from \"./domain-events-work.js\";\nimport {\n SquareStreetzPostCreatedEventSchema,\n SquareStreetzPostLikedEventSchema,\n SquareStreetzPostUnlikedEventSchema,\n} from \"./domain-events-social.js\";\nimport {\n ModerationViolationCreatedEventSchema,\n ThresholdLibraryApprovedEventSchema,\n ThresholdLibraryNeedsRevisionEventSchema,\n AdminDispatchSystemMarkedEventSchema,\n AdminDispatchThreadUpdatedEventSchema,\n AdminAppealReviewedEventSchema,\n AdminDispatchReviewedEventSchema,\n ViolationAppealSubmittedEventSchema,\n AdminDisplayNameResetForcedEventSchema,\n HallContentChangeRequestApprovedEventSchema,\n} from \"./domain-events-admin.js\";\n\nexport * from \"./domain-events-user.js\";\nexport * from \"./domain-events-work.js\";\nexport * from \"./domain-events-social.js\";\nexport * from \"./domain-events-admin.js\";\n\n// ============================================================================\n// DomainEvent — typed business actions emitted by mutations and upload\n// processors. The frontend registry (ttt-prod/src/lib/domain-events.ts) maps\n// each variant to a list of TanStack Query cache invalidations.\n//\n// Adding a new variant is a coordinated deploy:\n// 1. Add it here. Publish this package.\n// 2. Add a registry entry in ttt-prod. Deploy.\n// 3. Update producers (mutation hooks or processors) to emit it.\n//\n// The schema is .strict() end-to-end — unknown event types fail parse and\n// the consuming hook in ttt-prod logs to Sentry and skips the doc.\n// ============================================================================\n\nexport const DomainEventSchema = z.discriminatedUnion('type', [\n ProfilePictureUpdatedEventSchema,\n CraftSkillCreatedEventSchema,\n SquareStreetzPostCreatedEventSchema,\n AuditionPromptCreatedEventSchema,\n AuditionEntrySubmittedEventSchema,\n CommissionCreatedEventSchema,\n CommissionProposalSubmittedEventSchema,\n WorkProjectUpdatedEventSchema,\n HallLibraryCoverUpdatedEventSchema,\n WorkRealmCoverUpdatedEventSchema,\n HallLibrarySubItemUpdatedEventSchema,\n ModerationViolationCreatedEventSchema,\n FollowCreatedEventSchema,\n FollowRemovedEventSchema,\n SquareStreetzPostLikedEventSchema,\n SquareStreetzPostUnlikedEventSchema,\n ProfilePreferencesUpdatedEventSchema,\n CraftSkillDeletedEventSchema,\n CraftSkillUpdatedEventSchema,\n WorkProjectCreatedEventSchema,\n WorkProjectPublishedEventSchema,\n WorkProjectStakeSharesUpdatedEventSchema,\n GuildInviteSentEventSchema,\n GuildInviteAcceptedEventSchema,\n GuildInviteDeclinedEventSchema,\n GuildInviteCancelledEventSchema,\n AuditionEntryVoteRecordedEventSchema,\n AuditionClosedEventSchema,\n CommissionClosedEventSchema,\n CommissionProposalSavedEventSchema,\n CommissionProposalRemovedEventSchema,\n ThresholdLibrarySubmittedEventSchema,\n ThresholdLibraryApprovedEventSchema,\n ThresholdLibraryNeedsRevisionEventSchema,\n AdminDispatchSystemMarkedEventSchema,\n AdminDispatchThreadUpdatedEventSchema,\n AdminAppealReviewedEventSchema,\n AdminDispatchReviewedEventSchema,\n MentionReadEventSchema,\n AuthStatusChangedEventSchema,\n ViolationAppealSubmittedEventSchema,\n ProfileDisplayNameChangedEventSchema,\n AdminDisplayNameResetForcedEventSchema,\n WorkRealmDetailsUpdatedEventSchema,\n HallContentChangeRequestApprovedEventSchema,\n]);\n\nexport type DomainEvent = z.infer<typeof DomainEventSchema>;\n\n// Helper for callers that need to extract the ids type for a specific\n// event variant (e.g. registry entries in the consuming repo).\nexport type DomainEventIdsFor<T extends DomainEvent['type']> = Extract<\n DomainEvent,\n { type: T }\n>['ids'];\n\n\n\n\n\n"]}
@@ -302,6 +302,27 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
302
302
  userId: z.ZodString;
303
303
  violationId: z.ZodString;
304
304
  }, z.core.$strict>;
305
+ }, z.core.$strict>, z.ZodObject<{
306
+ type: z.ZodLiteral<"profile.displayNameChanged">;
307
+ ids: z.ZodObject<{
308
+ userId: z.ZodString;
309
+ }, z.core.$strict>;
310
+ }, z.core.$strict>, z.ZodObject<{
311
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
312
+ ids: z.ZodObject<{
313
+ userId: z.ZodString;
314
+ }, z.core.$strict>;
315
+ }, z.core.$strict>, z.ZodObject<{
316
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
317
+ ids: z.ZodObject<{
318
+ workRealmId: z.ZodString;
319
+ }, z.core.$strict>;
320
+ }, z.core.$strict>, z.ZodObject<{
321
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
322
+ ids: z.ZodObject<{
323
+ workProjectId: z.ZodString;
324
+ workRealmId: z.ZodOptional<z.ZodString>;
325
+ }, z.core.$strict>;
305
326
  }, z.core.$strict>], "type">>;
306
327
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
307
328
  collection: z.ZodString;
@@ -743,6 +764,27 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
743
764
  userId: z.ZodString;
744
765
  violationId: z.ZodString;
745
766
  }, z.core.$strict>;
767
+ }, z.core.$strict>, z.ZodObject<{
768
+ type: z.ZodLiteral<"profile.displayNameChanged">;
769
+ ids: z.ZodObject<{
770
+ userId: z.ZodString;
771
+ }, z.core.$strict>;
772
+ }, z.core.$strict>, z.ZodObject<{
773
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
774
+ ids: z.ZodObject<{
775
+ userId: z.ZodString;
776
+ }, z.core.$strict>;
777
+ }, z.core.$strict>, z.ZodObject<{
778
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
779
+ ids: z.ZodObject<{
780
+ workRealmId: z.ZodString;
781
+ }, z.core.$strict>;
782
+ }, z.core.$strict>, z.ZodObject<{
783
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
784
+ ids: z.ZodObject<{
785
+ workProjectId: z.ZodString;
786
+ workRealmId: z.ZodOptional<z.ZodString>;
787
+ }, z.core.$strict>;
746
788
  }, z.core.$strict>], "type">>;
747
789
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
748
790
  collection: z.ZodString;
@@ -1201,6 +1243,27 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
1201
1243
  userId: z.ZodString;
1202
1244
  violationId: z.ZodString;
1203
1245
  }, z.core.$strict>;
1246
+ }, z.core.$strict>, z.ZodObject<{
1247
+ type: z.ZodLiteral<"profile.displayNameChanged">;
1248
+ ids: z.ZodObject<{
1249
+ userId: z.ZodString;
1250
+ }, z.core.$strict>;
1251
+ }, z.core.$strict>, z.ZodObject<{
1252
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
1253
+ ids: z.ZodObject<{
1254
+ userId: z.ZodString;
1255
+ }, z.core.$strict>;
1256
+ }, z.core.$strict>, z.ZodObject<{
1257
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
1258
+ ids: z.ZodObject<{
1259
+ workRealmId: z.ZodString;
1260
+ }, z.core.$strict>;
1261
+ }, z.core.$strict>, z.ZodObject<{
1262
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
1263
+ ids: z.ZodObject<{
1264
+ workProjectId: z.ZodString;
1265
+ workRealmId: z.ZodOptional<z.ZodString>;
1266
+ }, z.core.$strict>;
1204
1267
  }, z.core.$strict>], "type">>;
1205
1268
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
1206
1269
  collection: z.ZodString;
@@ -1701,6 +1764,27 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1701
1764
  userId: z.ZodString;
1702
1765
  violationId: z.ZodString;
1703
1766
  }, z.core.$strict>;
1767
+ }, z.core.$strict>, z.ZodObject<{
1768
+ type: z.ZodLiteral<"profile.displayNameChanged">;
1769
+ ids: z.ZodObject<{
1770
+ userId: z.ZodString;
1771
+ }, z.core.$strict>;
1772
+ }, z.core.$strict>, z.ZodObject<{
1773
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
1774
+ ids: z.ZodObject<{
1775
+ userId: z.ZodString;
1776
+ }, z.core.$strict>;
1777
+ }, z.core.$strict>, z.ZodObject<{
1778
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
1779
+ ids: z.ZodObject<{
1780
+ workRealmId: z.ZodString;
1781
+ }, z.core.$strict>;
1782
+ }, z.core.$strict>, z.ZodObject<{
1783
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
1784
+ ids: z.ZodObject<{
1785
+ workProjectId: z.ZodString;
1786
+ workRealmId: z.ZodOptional<z.ZodString>;
1787
+ }, z.core.$strict>;
1704
1788
  }, z.core.$strict>], "type">>;
1705
1789
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
1706
1790
  collection: z.ZodString;
@@ -2157,6 +2241,27 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2157
2241
  userId: z.ZodString;
2158
2242
  violationId: z.ZodString;
2159
2243
  }, z.core.$strict>;
2244
+ }, z.core.$strict>, z.ZodObject<{
2245
+ type: z.ZodLiteral<"profile.displayNameChanged">;
2246
+ ids: z.ZodObject<{
2247
+ userId: z.ZodString;
2248
+ }, z.core.$strict>;
2249
+ }, z.core.$strict>, z.ZodObject<{
2250
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
2251
+ ids: z.ZodObject<{
2252
+ userId: z.ZodString;
2253
+ }, z.core.$strict>;
2254
+ }, z.core.$strict>, z.ZodObject<{
2255
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
2256
+ ids: z.ZodObject<{
2257
+ workRealmId: z.ZodString;
2258
+ }, z.core.$strict>;
2259
+ }, z.core.$strict>, z.ZodObject<{
2260
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
2261
+ ids: z.ZodObject<{
2262
+ workProjectId: z.ZodString;
2263
+ workRealmId: z.ZodOptional<z.ZodString>;
2264
+ }, z.core.$strict>;
2160
2265
  }, z.core.$strict>], "type">>;
2161
2266
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
2162
2267
  collection: z.ZodString;
@@ -2531,6 +2636,27 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
2531
2636
  userId: z.ZodString;
2532
2637
  violationId: z.ZodString;
2533
2638
  }, z.core.$strict>;
2639
+ }, z.core.$strict>, z.ZodObject<{
2640
+ type: z.ZodLiteral<"profile.displayNameChanged">;
2641
+ ids: z.ZodObject<{
2642
+ userId: z.ZodString;
2643
+ }, z.core.$strict>;
2644
+ }, z.core.$strict>, z.ZodObject<{
2645
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
2646
+ ids: z.ZodObject<{
2647
+ userId: z.ZodString;
2648
+ }, z.core.$strict>;
2649
+ }, z.core.$strict>, z.ZodObject<{
2650
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
2651
+ ids: z.ZodObject<{
2652
+ workRealmId: z.ZodString;
2653
+ }, z.core.$strict>;
2654
+ }, z.core.$strict>, z.ZodObject<{
2655
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
2656
+ ids: z.ZodObject<{
2657
+ workProjectId: z.ZodString;
2658
+ workRealmId: z.ZodOptional<z.ZodString>;
2659
+ }, z.core.$strict>;
2534
2660
  }, z.core.$strict>], "type">>;
2535
2661
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
2536
2662
  collection: z.ZodString;
@@ -2991,6 +3117,27 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
2991
3117
  userId: z.ZodString;
2992
3118
  violationId: z.ZodString;
2993
3119
  }, z.core.$strict>;
3120
+ }, z.core.$strict>, z.ZodObject<{
3121
+ type: z.ZodLiteral<"profile.displayNameChanged">;
3122
+ ids: z.ZodObject<{
3123
+ userId: z.ZodString;
3124
+ }, z.core.$strict>;
3125
+ }, z.core.$strict>, z.ZodObject<{
3126
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
3127
+ ids: z.ZodObject<{
3128
+ userId: z.ZodString;
3129
+ }, z.core.$strict>;
3130
+ }, z.core.$strict>, z.ZodObject<{
3131
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
3132
+ ids: z.ZodObject<{
3133
+ workRealmId: z.ZodString;
3134
+ }, z.core.$strict>;
3135
+ }, z.core.$strict>, z.ZodObject<{
3136
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
3137
+ ids: z.ZodObject<{
3138
+ workProjectId: z.ZodString;
3139
+ workRealmId: z.ZodOptional<z.ZodString>;
3140
+ }, z.core.$strict>;
2994
3141
  }, z.core.$strict>], "type">>;
2995
3142
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
2996
3143
  collection: z.ZodString;
@@ -3366,6 +3513,27 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
3366
3513
  userId: z.ZodString;
3367
3514
  violationId: z.ZodString;
3368
3515
  }, z.core.$strict>;
3516
+ }, z.core.$strict>, z.ZodObject<{
3517
+ type: z.ZodLiteral<"profile.displayNameChanged">;
3518
+ ids: z.ZodObject<{
3519
+ userId: z.ZodString;
3520
+ }, z.core.$strict>;
3521
+ }, z.core.$strict>, z.ZodObject<{
3522
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
3523
+ ids: z.ZodObject<{
3524
+ userId: z.ZodString;
3525
+ }, z.core.$strict>;
3526
+ }, z.core.$strict>, z.ZodObject<{
3527
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
3528
+ ids: z.ZodObject<{
3529
+ workRealmId: z.ZodString;
3530
+ }, z.core.$strict>;
3531
+ }, z.core.$strict>, z.ZodObject<{
3532
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
3533
+ ids: z.ZodObject<{
3534
+ workProjectId: z.ZodString;
3535
+ workRealmId: z.ZodOptional<z.ZodString>;
3536
+ }, z.core.$strict>;
3369
3537
  }, z.core.$strict>], "type">>;
3370
3538
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
3371
3539
  collection: z.ZodString;
@@ -3824,6 +3992,27 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
3824
3992
  userId: z.ZodString;
3825
3993
  violationId: z.ZodString;
3826
3994
  }, z.core.$strict>;
3995
+ }, z.core.$strict>, z.ZodObject<{
3996
+ type: z.ZodLiteral<"profile.displayNameChanged">;
3997
+ ids: z.ZodObject<{
3998
+ userId: z.ZodString;
3999
+ }, z.core.$strict>;
4000
+ }, z.core.$strict>, z.ZodObject<{
4001
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
4002
+ ids: z.ZodObject<{
4003
+ userId: z.ZodString;
4004
+ }, z.core.$strict>;
4005
+ }, z.core.$strict>, z.ZodObject<{
4006
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
4007
+ ids: z.ZodObject<{
4008
+ workRealmId: z.ZodString;
4009
+ }, z.core.$strict>;
4010
+ }, z.core.$strict>, z.ZodObject<{
4011
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
4012
+ ids: z.ZodObject<{
4013
+ workProjectId: z.ZodString;
4014
+ workRealmId: z.ZodOptional<z.ZodString>;
4015
+ }, z.core.$strict>;
3827
4016
  }, z.core.$strict>], "type">>;
3828
4017
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
3829
4018
  collection: z.ZodString;
@@ -4204,6 +4393,27 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
4204
4393
  userId: z.ZodString;
4205
4394
  violationId: z.ZodString;
4206
4395
  }, z.core.$strict>;
4396
+ }, z.core.$strict>, z.ZodObject<{
4397
+ type: z.ZodLiteral<"profile.displayNameChanged">;
4398
+ ids: z.ZodObject<{
4399
+ userId: z.ZodString;
4400
+ }, z.core.$strict>;
4401
+ }, z.core.$strict>, z.ZodObject<{
4402
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
4403
+ ids: z.ZodObject<{
4404
+ userId: z.ZodString;
4405
+ }, z.core.$strict>;
4406
+ }, z.core.$strict>, z.ZodObject<{
4407
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
4408
+ ids: z.ZodObject<{
4409
+ workRealmId: z.ZodString;
4410
+ }, z.core.$strict>;
4411
+ }, z.core.$strict>, z.ZodObject<{
4412
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
4413
+ ids: z.ZodObject<{
4414
+ workProjectId: z.ZodString;
4415
+ workRealmId: z.ZodOptional<z.ZodString>;
4416
+ }, z.core.$strict>;
4207
4417
  }, z.core.$strict>], "type">>;
4208
4418
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
4209
4419
  collection: z.ZodString;
@@ -4662,6 +4872,27 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
4662
4872
  userId: z.ZodString;
4663
4873
  violationId: z.ZodString;
4664
4874
  }, z.core.$strict>;
4875
+ }, z.core.$strict>, z.ZodObject<{
4876
+ type: z.ZodLiteral<"profile.displayNameChanged">;
4877
+ ids: z.ZodObject<{
4878
+ userId: z.ZodString;
4879
+ }, z.core.$strict>;
4880
+ }, z.core.$strict>, z.ZodObject<{
4881
+ type: z.ZodLiteral<"admin.displayNameResetForced">;
4882
+ ids: z.ZodObject<{
4883
+ userId: z.ZodString;
4884
+ }, z.core.$strict>;
4885
+ }, z.core.$strict>, z.ZodObject<{
4886
+ type: z.ZodLiteral<"workRealm.detailsUpdated">;
4887
+ ids: z.ZodObject<{
4888
+ workRealmId: z.ZodString;
4889
+ }, z.core.$strict>;
4890
+ }, z.core.$strict>, z.ZodObject<{
4891
+ type: z.ZodLiteral<"hallContentChangeRequest.approved">;
4892
+ ids: z.ZodObject<{
4893
+ workProjectId: z.ZodString;
4894
+ workRealmId: z.ZodOptional<z.ZodString>;
4895
+ }, z.core.$strict>;
4665
4896
  }, z.core.$strict>], "type">>;
4666
4897
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
4667
4898
  collection: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"pending-media.d.ts","sourceRoot":"","sources":["../../src/media/pending-media.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAS7B,eAAO,MAAM,+BAA+B;;;;;;;EAA0C,CAAC;AACvF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAmC,CAAC;AACzE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAoC,CAAC;AAC3E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAuC,CAAC;AACjF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AChF,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;AAC9D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACpG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,oBAAoB,CAE9E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/ttt-core",
3
- "version": "0.79.33",
3
+ "version": "0.79.34",
4
4
  "description": "Core types, Firestore path constants, and shared constants for TTT Productions",
5
5
  "repository": {
6
6
  "type": "git",