@ttt-productions/ttt-core 0.79.93 → 0.79.94
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/doc-schemas/registry.d.ts +64 -0
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/media/domain-events-admin.d.ts +7 -0
- package/dist/media/domain-events-admin.d.ts.map +1 -1
- package/dist/media/domain-events-admin.js +12 -0
- package/dist/media/domain-events-admin.js.map +1 -1
- package/dist/media/domain-events-user.d.ts +12 -0
- package/dist/media/domain-events-user.d.ts.map +1 -1
- package/dist/media/domain-events-user.js +16 -1
- package/dist/media/domain-events-user.js.map +1 -1
- package/dist/media/domain-events.d.ts +16 -0
- package/dist/media/domain-events.d.ts.map +1 -1
- package/dist/media/domain-events.js +5 -2
- package/dist/media/domain-events.js.map +1 -1
- package/dist/media/pending-media.d.ts +176 -0
- package/dist/media/pending-media.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2529,6 +2529,22 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2529
2529
|
team: "team";
|
|
2530
2530
|
}>;
|
|
2531
2531
|
}, z.core.$strict>;
|
|
2532
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2533
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
2534
|
+
ids: z.ZodObject<{
|
|
2535
|
+
userId: z.ZodString;
|
|
2536
|
+
}, z.core.$strict>;
|
|
2537
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2538
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
2539
|
+
ids: z.ZodObject<{
|
|
2540
|
+
userId: z.ZodString;
|
|
2541
|
+
}, z.core.$strict>;
|
|
2542
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2543
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
2544
|
+
ids: z.ZodObject<{
|
|
2545
|
+
userId: z.ZodString;
|
|
2546
|
+
violationId: z.ZodString;
|
|
2547
|
+
}, z.core.$strict>;
|
|
2532
2548
|
}, z.core.$strict>], "type">>;
|
|
2533
2549
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2534
2550
|
collection: z.ZodString;
|
|
@@ -3021,6 +3037,22 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3021
3037
|
team: "team";
|
|
3022
3038
|
}>;
|
|
3023
3039
|
}, z.core.$strict>;
|
|
3040
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3041
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
3042
|
+
ids: z.ZodObject<{
|
|
3043
|
+
userId: z.ZodString;
|
|
3044
|
+
}, z.core.$strict>;
|
|
3045
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3046
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
3047
|
+
ids: z.ZodObject<{
|
|
3048
|
+
userId: z.ZodString;
|
|
3049
|
+
}, z.core.$strict>;
|
|
3050
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3051
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
3052
|
+
ids: z.ZodObject<{
|
|
3053
|
+
userId: z.ZodString;
|
|
3054
|
+
violationId: z.ZodString;
|
|
3055
|
+
}, z.core.$strict>;
|
|
3024
3056
|
}, z.core.$strict>], "type">>;
|
|
3025
3057
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3026
3058
|
collection: z.ZodString;
|
|
@@ -3430,6 +3462,22 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3430
3462
|
team: "team";
|
|
3431
3463
|
}>;
|
|
3432
3464
|
}, z.core.$strict>;
|
|
3465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3466
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
3467
|
+
ids: z.ZodObject<{
|
|
3468
|
+
userId: z.ZodString;
|
|
3469
|
+
}, z.core.$strict>;
|
|
3470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3471
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
3472
|
+
ids: z.ZodObject<{
|
|
3473
|
+
userId: z.ZodString;
|
|
3474
|
+
}, z.core.$strict>;
|
|
3475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3476
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
3477
|
+
ids: z.ZodObject<{
|
|
3478
|
+
userId: z.ZodString;
|
|
3479
|
+
violationId: z.ZodString;
|
|
3480
|
+
}, z.core.$strict>;
|
|
3433
3481
|
}, z.core.$strict>], "type">>;
|
|
3434
3482
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3435
3483
|
collection: z.ZodString;
|
|
@@ -3924,6 +3972,22 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3924
3972
|
team: "team";
|
|
3925
3973
|
}>;
|
|
3926
3974
|
}, z.core.$strict>;
|
|
3975
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3976
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
3977
|
+
ids: z.ZodObject<{
|
|
3978
|
+
userId: z.ZodString;
|
|
3979
|
+
}, z.core.$strict>;
|
|
3980
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3981
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
3982
|
+
ids: z.ZodObject<{
|
|
3983
|
+
userId: z.ZodString;
|
|
3984
|
+
}, z.core.$strict>;
|
|
3985
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3986
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
3987
|
+
ids: z.ZodObject<{
|
|
3988
|
+
userId: z.ZodString;
|
|
3989
|
+
violationId: z.ZodString;
|
|
3990
|
+
}, z.core.$strict>;
|
|
3927
3991
|
}, z.core.$strict>], "type">>;
|
|
3928
3992
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3929
3993
|
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;AAiN7B,eAAO,MAAM,kBAAkB
|
|
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;AAiN7B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AO,MAAM,wBAAwB;;CAK3B,CAAC;AAEX,gEAAgE;AAChE,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAA0C,CAAC"}
|
|
@@ -76,6 +76,13 @@ export declare const HallContentChangeRequestApprovedEventSchema: z.ZodObject<{
|
|
|
76
76
|
subItemId: z.ZodOptional<z.ZodString>;
|
|
77
77
|
}, z.core.$strict>;
|
|
78
78
|
}, z.core.$strict>;
|
|
79
|
+
export declare const ViolationDecisionAcceptedEventSchema: z.ZodObject<{
|
|
80
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
81
|
+
ids: z.ZodObject<{
|
|
82
|
+
userId: z.ZodString;
|
|
83
|
+
violationId: z.ZodString;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
}, z.core.$strict>;
|
|
79
86
|
export declare const ViolationAppealSubmittedEventSchema: z.ZodObject<{
|
|
80
87
|
type: z.ZodLiteral<"violation.appealSubmitted">;
|
|
81
88
|
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;AAQxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYvC,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC;AAEZ,eAAO,MAAM,wCAAwC;;;;;;kBAU1C,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;AAOZ,eAAO,MAAM,2CAA2C;;;;;;;;kBAY7C,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC;AAGZ,eAAO,MAAM,+BAA+B;;;;;;;;kBASjC,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;AAQxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYvC,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC;AAEZ,eAAO,MAAM,wCAAwC;;;;;;kBAU1C,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;AAOZ,eAAO,MAAM,2CAA2C;;;;;;;;kBAY7C,CAAC;AAGZ,eAAO,MAAM,oCAAoC;;;;;;kBAUtC,CAAC;AAEZ,eAAO,MAAM,mCAAmC;;;;;;kBAUrC,CAAC;AAGZ,eAAO,MAAM,+BAA+B;;;;;;;;kBASjC,CAAC"}
|
|
@@ -97,6 +97,18 @@ export const HallContentChangeRequestApprovedEventSchema = z
|
|
|
97
97
|
.strict(),
|
|
98
98
|
})
|
|
99
99
|
.strict();
|
|
100
|
+
// The owner accepted a violation decision: the violation record and its upload are deleted.
|
|
101
|
+
export const ViolationDecisionAcceptedEventSchema = z
|
|
102
|
+
.object({
|
|
103
|
+
type: z.literal('violation.decisionAccepted'),
|
|
104
|
+
ids: z
|
|
105
|
+
.object({
|
|
106
|
+
userId: z.string().min(1),
|
|
107
|
+
violationId: z.string().min(1),
|
|
108
|
+
})
|
|
109
|
+
.strict(),
|
|
110
|
+
})
|
|
111
|
+
.strict();
|
|
100
112
|
export const ViolationAppealSubmittedEventSchema = z
|
|
101
113
|
.object({
|
|
102
114
|
type: z.literal('violation.appealSubmit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,CAAC,GAAG,CAAC,CAAC,CAAC;KAC/B,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,iEAAiE;AACjE,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,MAAM,EAAE,yBAAyB;KAClC,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { FileOriginSchema } from \"./file-origin.js\";\nimport { SystemAccountSlotIdSchema } from \"../system-slots/system-slots.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 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. On the Hall grains an approval updates the Hall entry (`hallItemId`;\n// `subItemId` when the request targeted a chapter / track / episode) and, for the\n// detail, the Work and its public mirror; on the realm grain it updates the Realm\n// doc (`workRealmId`, and no Hall ids). 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 hallItemId: z.string().min(1).optional(),\n subItemId: 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\n// A system account slot (`uid` or `uidList`) was set or cleared.\nexport const SystemSlotUidUpdatedEventSchema = z\n .object({\n type: z.literal('systemSlot.uidUpdated'),\n ids: z\n .object({\n slotId: SystemAccountSlotIdSchema,\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;AACpD,OAAO,EAAE,yB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5C,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;AAEZ,iEAAiE;AACjE,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,MAAM,EAAE,yBAAyB;KAClC,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { FileOriginSchema } from \"./file-origin.js\";\nimport { SystemAccountSlotIdSchema } from \"../system-slots/system-slots.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 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. On the Hall grains an approval updates the Hall entry (`hallItemId`;\n// `subItemId` when the request targeted a chapter / track / episode) and, for the\n// detail, the Work and its public mirror; on the realm grain it updates the Realm\n// doc (`workRealmId`, and no Hall ids). 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 hallItemId: z.string().min(1).optional(),\n subItemId: z.string().min(1).optional(),\n })\n .strict(),\n })\n .strict();\n\n// The owner accepted a violation decision: the violation record and its upload are deleted.\nexport const ViolationDecisionAcceptedEventSchema = z\n .object({\n type: z.literal('violation.decisionAccepted'),\n ids: z\n .object({\n userId: z.string().min(1),\n violationId: z.string().min(1),\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\n// A system account slot (`uid` or `uidList`) was set or cleared.\nexport const SystemSlotUidUpdatedEventSchema = z\n .object({\n type: z.literal('systemSlot.uidUpdated'),\n ids: z\n .object({\n slotId: SystemAccountSlotIdSchema,\n })\n .strict(),\n })\n .strict();\n"]}
|
|
@@ -75,4 +75,16 @@ export declare const AuthStatusChangedEventSchema: z.ZodObject<{
|
|
|
75
75
|
userId: z.ZodString;
|
|
76
76
|
}, z.core.$strict>;
|
|
77
77
|
}, z.core.$strict>;
|
|
78
|
+
export declare const AuthRegistrationCompletedEventSchema: z.ZodObject<{
|
|
79
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
80
|
+
ids: z.ZodObject<{
|
|
81
|
+
userId: z.ZodString;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
}, z.core.$strict>;
|
|
84
|
+
export declare const PublicDocumentsAcceptanceLandedEventSchema: z.ZodObject<{
|
|
85
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
86
|
+
ids: z.ZodObject<{
|
|
87
|
+
userId: z.ZodString;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
}, z.core.$strict>;
|
|
78
90
|
//# sourceMappingURL=domain-events-user.d.ts.map
|
|
@@ -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;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"}
|
|
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;AAGZ,eAAO,MAAM,oCAAoC;;;;;kBAKtC,CAAC;AAIZ,eAAO,MAAM,0CAA0C;;;;;kBAK5C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
// DomainEvent schemas for the user/identity domain — profile, craft skills,
|
|
3
|
-
// follows, mentions, and
|
|
3
|
+
// follows, mentions, auth status, registration, and public-document acceptance. Assembled into the discriminated union in
|
|
4
4
|
// ./domain-events.ts.
|
|
5
5
|
export const ProfilePictureUpdatedEventSchema = z
|
|
6
6
|
.object({
|
|
@@ -108,4 +108,19 @@ export const AuthStatusChangedEventSchema = z
|
|
|
108
108
|
.strict(),
|
|
109
109
|
})
|
|
110
110
|
.strict();
|
|
111
|
+
// A registration completed: the account has its profile.
|
|
112
|
+
export const AuthRegistrationCompletedEventSchema = z
|
|
113
|
+
.object({
|
|
114
|
+
type: z.literal('auth.registrationCompleted'),
|
|
115
|
+
ids: z.object({ userId: z.string().min(1) }).strict(),
|
|
116
|
+
})
|
|
117
|
+
.strict();
|
|
118
|
+
// A public-document acceptance landed for the account — accepted, or a token that fell behind
|
|
119
|
+
// one made elsewhere was resynced — so every read the acceptance gate refused can answer.
|
|
120
|
+
export const PublicDocumentsAcceptanceLandedEventSchema = z
|
|
121
|
+
.object({
|
|
122
|
+
type: z.literal('publicDocuments.acceptanceLanded'),
|
|
123
|
+
ids: z.object({ userId: z.string().min(1) }).strict(),
|
|
124
|
+
})
|
|
125
|
+
.strict();
|
|
111
126
|
//# sourceMappingURL=domain-events-user.js.map
|
|
@@ -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,
|
|
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,0HAA0H;AAC1H,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,4B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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","sourcesContent":["import { z } from \"zod\";\n\n// DomainEvent schemas for the user/identity domain — profile, craft skills,\n// follows, mentions, auth status, registration, and public-document acceptance. 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\n// A registration completed: the account has its profile.\nexport const AuthRegistrationCompletedEventSchema = z\n .object({\n type: z.literal('auth.registrationCompleted'),\n ids: z.object({ userId: z.string().min(1) }).strict(),\n })\n .strict();\n\n// A public-document acceptance landed for the account — accepted, or a token that fell behind\n// one made elsewhere was resynced — so every read the acceptance gate refused can answer.\nexport const PublicDocumentsAcceptanceLandedEventSchema = z\n .object({\n type: z.literal('publicDocuments.acceptanceLanded'),\n ids: z.object({ userId: z.string().min(1) }).strict(),\n })\n .strict();\n"]}
|
|
@@ -331,6 +331,22 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
331
331
|
team: "team";
|
|
332
332
|
}>;
|
|
333
333
|
}, z.core.$strict>;
|
|
334
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
335
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
336
|
+
ids: z.ZodObject<{
|
|
337
|
+
userId: z.ZodString;
|
|
338
|
+
}, z.core.$strict>;
|
|
339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
340
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
341
|
+
ids: z.ZodObject<{
|
|
342
|
+
userId: z.ZodString;
|
|
343
|
+
}, z.core.$strict>;
|
|
344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
345
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
346
|
+
ids: z.ZodObject<{
|
|
347
|
+
userId: z.ZodString;
|
|
348
|
+
violationId: z.ZodString;
|
|
349
|
+
}, z.core.$strict>;
|
|
334
350
|
}, z.core.$strict>], "type">;
|
|
335
351
|
export type DomainEvent = z.infer<typeof DomainEventSchema>;
|
|
336
352
|
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;
|
|
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;AA2DxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAgBzC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAkD5B,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, ProfileDisplayNameChangedEventSchema, } from "./domain-events-user.js";
|
|
2
|
+
import { ProfilePictureUpdatedEventSchema, ProfilePreferencesUpdatedEventSchema, CraftSkillCreatedEventSchema, CraftSkillUpdatedEventSchema, CraftSkillDeletedEventSchema, FollowCreatedEventSchema, FollowRemovedEventSchema, MentionReadEventSchema, AuthStatusChangedEventSchema, AuthRegistrationCompletedEventSchema, PublicDocumentsAcceptanceLandedEventSchema, ProfileDisplayNameChangedEventSchema, } from "./domain-events-user.js";
|
|
3
3
|
import { WorkProjectCreatedEventSchema, WorkProjectUpdatedEventSchema, WorkProjectPublishedEventSchema, WorkProjectStakeSharesUpdatedEventSchema, GuildInviteSentEventSchema, GuildInviteAcceptedEventSchema, GuildInviteDeclinedEventSchema, GuildInviteCancelledEventSchema, WorkProjectGuildmateLeftEventSchema, 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, AdminDispatchThreadUpdatedEventSchema, AdminAppealReviewedEventSchema, AdminDispatchReviewedEventSchema, ViolationAppealSubmittedEventSchema, AdminDisplayNameResetForcedEventSchema, HallContentChangeRequestApprovedEventSchema, SystemSlotUidUpdatedEventSchema, } from "./domain-events-admin.js";
|
|
5
|
+
import { ModerationViolationCreatedEventSchema, ThresholdLibraryApprovedEventSchema, ThresholdLibraryNeedsRevisionEventSchema, AdminDispatchThreadUpdatedEventSchema, AdminAppealReviewedEventSchema, AdminDispatchReviewedEventSchema, ViolationAppealSubmittedEventSchema, ViolationDecisionAcceptedEventSchema, AdminDisplayNameResetForcedEventSchema, HallContentChangeRequestApprovedEventSchema, SystemSlotUidUpdatedEventSchema, } 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";
|
|
@@ -67,5 +67,8 @@ export const DomainEventSchema = z.discriminatedUnion('type', [
|
|
|
67
67
|
WorkRealmDetailsUpdatedEventSchema,
|
|
68
68
|
HallContentChangeRequestApprovedEventSchema,
|
|
69
69
|
SystemSlotUidUpdatedEventSchema,
|
|
70
|
+
AuthRegistrationCompletedEventSchema,
|
|
71
|
+
PublicDocumentsAcceptanceLandedEventSchema,
|
|
72
|
+
ViolationDecisionAcceptedEventSchema,
|
|
70
73
|
]);
|
|
71
74
|
//# 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,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AC5B,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,mCAAmC;IACnC,oCAAoC;IACpC,yBAAyB;IACzB,2BAA2B;IAC3B,kCAAkC;IAClC,oCAAoC;IACpC,oCAAoC;IACpC,mCAAmC;IACnC,wCAAwC;IACxC,qCAAqC;IACrC,8BAA8B;IAC9B,gCAAgC;IAChC,sBAAsB;IACtB,4BAA4B;IAC5B,mCAAmC;IACnC,oCAAoC;IACpC,sCAAsC;IACtC,kCAAkC;IAClC,2CAA2C;IAC3C,+BAA+B;
|
|
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,EACpC,0CAA0C,EAC1C,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,mCAAmC,EACnC,gCAAgC,EAChC,iCAAiC,EACjC,oCAAoC,EACpC,yBAAyB,EACzB,4BAA4B,EAC5B,sCAAsC,EACtC,2BAA2B,EAC3B,kCAAkC,EAClC,oCAAoC,EACpC,kCAAk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pC,mCAAmC;IACnC,wCAAwC;IACxC,qCAAqC;IACrC,8BAA8B;IAC9B,gCAAgC;IAChC,sBAAsB;IACtB,4BAA4B;IAC5B,mCAAmC;IACnC,oCAAoC;IACpC,sCAAsC;IACtC,kCAAkC;IAClC,2CAA2C;IAC3C,+BAA+B;IAC/B,oCAAoC;IACpC,0CAA0C;IAC1C,oCAAoC;CACrC,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 AuthRegistrationCompletedEventSchema,\n PublicDocumentsAcceptanceLandedEventSchema,\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 WorkProjectGuildmateLeftEventSchema,\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 AdminDispatchThreadUpdatedEventSchema,\n AdminAppealReviewedEventSchema,\n AdminDispatchReviewedEventSchema,\n ViolationAppealSubmittedEventSchema,\n ViolationDecisionAcceptedEventSchema,\n AdminDisplayNameResetForcedEventSchema,\n HallContentChangeRequestApprovedEventSchema,\n SystemSlotUidUpdatedEventSchema,\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 WorkProjectGuildmateLeftEventSchema,\n AuditionEntryVoteRecordedEventSchema,\n AuditionClosedEventSchema,\n CommissionClosedEventSchema,\n CommissionProposalSavedEventSchema,\n CommissionProposalRemovedEventSchema,\n ThresholdLibrarySubmittedEventSchema,\n ThresholdLibraryApprovedEventSchema,\n ThresholdLibraryNeedsRevisionEventSchema,\n AdminDispatchThreadUpdatedEventSchema,\n AdminAppealReviewedEventSchema,\n AdminDispatchReviewedEventSchema,\n MentionReadEventSchema,\n AuthStatusChangedEventSchema,\n ViolationAppealSubmittedEventSchema,\n ProfileDisplayNameChangedEventSchema,\n AdminDisplayNameResetForcedEventSchema,\n WorkRealmDetailsUpdatedEventSchema,\n HallContentChangeRequestApprovedEventSchema,\n SystemSlotUidUpdatedEventSchema,\n AuthRegistrationCompletedEventSchema,\n PublicDocumentsAcceptanceLandedEventSchema,\n ViolationDecisionAcceptedEventSchema,\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"]}
|
|
@@ -336,6 +336,22 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
|
|
|
336
336
|
team: "team";
|
|
337
337
|
}>;
|
|
338
338
|
}, z.core.$strict>;
|
|
339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
340
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
341
|
+
ids: z.ZodObject<{
|
|
342
|
+
userId: z.ZodString;
|
|
343
|
+
}, z.core.$strict>;
|
|
344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
345
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
346
|
+
ids: z.ZodObject<{
|
|
347
|
+
userId: z.ZodString;
|
|
348
|
+
}, z.core.$strict>;
|
|
349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
350
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
351
|
+
ids: z.ZodObject<{
|
|
352
|
+
userId: z.ZodString;
|
|
353
|
+
violationId: z.ZodString;
|
|
354
|
+
}, z.core.$strict>;
|
|
339
355
|
}, z.core.$strict>], "type">>;
|
|
340
356
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
341
357
|
collection: z.ZodString;
|
|
@@ -813,6 +829,22 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
813
829
|
team: "team";
|
|
814
830
|
}>;
|
|
815
831
|
}, z.core.$strict>;
|
|
832
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
833
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
834
|
+
ids: z.ZodObject<{
|
|
835
|
+
userId: z.ZodString;
|
|
836
|
+
}, z.core.$strict>;
|
|
837
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
838
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
839
|
+
ids: z.ZodObject<{
|
|
840
|
+
userId: z.ZodString;
|
|
841
|
+
}, z.core.$strict>;
|
|
842
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
843
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
844
|
+
ids: z.ZodObject<{
|
|
845
|
+
userId: z.ZodString;
|
|
846
|
+
violationId: z.ZodString;
|
|
847
|
+
}, z.core.$strict>;
|
|
816
848
|
}, z.core.$strict>], "type">>;
|
|
817
849
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
818
850
|
collection: z.ZodString;
|
|
@@ -1307,6 +1339,22 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
1307
1339
|
team: "team";
|
|
1308
1340
|
}>;
|
|
1309
1341
|
}, z.core.$strict>;
|
|
1342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1343
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
1344
|
+
ids: z.ZodObject<{
|
|
1345
|
+
userId: z.ZodString;
|
|
1346
|
+
}, z.core.$strict>;
|
|
1347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1348
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
1349
|
+
ids: z.ZodObject<{
|
|
1350
|
+
userId: z.ZodString;
|
|
1351
|
+
}, z.core.$strict>;
|
|
1352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1353
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
1354
|
+
ids: z.ZodObject<{
|
|
1355
|
+
userId: z.ZodString;
|
|
1356
|
+
violationId: z.ZodString;
|
|
1357
|
+
}, z.core.$strict>;
|
|
1310
1358
|
}, z.core.$strict>], "type">>;
|
|
1311
1359
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1312
1360
|
collection: z.ZodString;
|
|
@@ -1844,6 +1892,22 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1844
1892
|
team: "team";
|
|
1845
1893
|
}>;
|
|
1846
1894
|
}, z.core.$strict>;
|
|
1895
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1896
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
1897
|
+
ids: z.ZodObject<{
|
|
1898
|
+
userId: z.ZodString;
|
|
1899
|
+
}, z.core.$strict>;
|
|
1900
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1901
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
1902
|
+
ids: z.ZodObject<{
|
|
1903
|
+
userId: z.ZodString;
|
|
1904
|
+
}, z.core.$strict>;
|
|
1905
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1906
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
1907
|
+
ids: z.ZodObject<{
|
|
1908
|
+
userId: z.ZodString;
|
|
1909
|
+
violationId: z.ZodString;
|
|
1910
|
+
}, z.core.$strict>;
|
|
1847
1911
|
}, z.core.$strict>], "type">>;
|
|
1848
1912
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1849
1913
|
collection: z.ZodString;
|
|
@@ -2336,6 +2400,22 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2336
2400
|
team: "team";
|
|
2337
2401
|
}>;
|
|
2338
2402
|
}, z.core.$strict>;
|
|
2403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2404
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
2405
|
+
ids: z.ZodObject<{
|
|
2406
|
+
userId: z.ZodString;
|
|
2407
|
+
}, z.core.$strict>;
|
|
2408
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2409
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
2410
|
+
ids: z.ZodObject<{
|
|
2411
|
+
userId: z.ZodString;
|
|
2412
|
+
}, z.core.$strict>;
|
|
2413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2414
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
2415
|
+
ids: z.ZodObject<{
|
|
2416
|
+
userId: z.ZodString;
|
|
2417
|
+
violationId: z.ZodString;
|
|
2418
|
+
}, z.core.$strict>;
|
|
2339
2419
|
}, z.core.$strict>], "type">>;
|
|
2340
2420
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2341
2421
|
collection: z.ZodString;
|
|
@@ -2745,6 +2825,22 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
|
|
|
2745
2825
|
team: "team";
|
|
2746
2826
|
}>;
|
|
2747
2827
|
}, z.core.$strict>;
|
|
2828
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2829
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
2830
|
+
ids: z.ZodObject<{
|
|
2831
|
+
userId: z.ZodString;
|
|
2832
|
+
}, z.core.$strict>;
|
|
2833
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2834
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
2835
|
+
ids: z.ZodObject<{
|
|
2836
|
+
userId: z.ZodString;
|
|
2837
|
+
}, z.core.$strict>;
|
|
2838
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2839
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
2840
|
+
ids: z.ZodObject<{
|
|
2841
|
+
userId: z.ZodString;
|
|
2842
|
+
violationId: z.ZodString;
|
|
2843
|
+
}, z.core.$strict>;
|
|
2748
2844
|
}, z.core.$strict>], "type">>;
|
|
2749
2845
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2750
2846
|
collection: z.ZodString;
|
|
@@ -3241,6 +3337,22 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
|
|
|
3241
3337
|
team: "team";
|
|
3242
3338
|
}>;
|
|
3243
3339
|
}, z.core.$strict>;
|
|
3340
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3341
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
3342
|
+
ids: z.ZodObject<{
|
|
3343
|
+
userId: z.ZodString;
|
|
3344
|
+
}, z.core.$strict>;
|
|
3345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3346
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
3347
|
+
ids: z.ZodObject<{
|
|
3348
|
+
userId: z.ZodString;
|
|
3349
|
+
}, z.core.$strict>;
|
|
3350
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3351
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
3352
|
+
ids: z.ZodObject<{
|
|
3353
|
+
userId: z.ZodString;
|
|
3354
|
+
violationId: z.ZodString;
|
|
3355
|
+
}, z.core.$strict>;
|
|
3244
3356
|
}, z.core.$strict>], "type">>;
|
|
3245
3357
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3246
3358
|
collection: z.ZodString;
|
|
@@ -3651,6 +3763,22 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
3651
3763
|
team: "team";
|
|
3652
3764
|
}>;
|
|
3653
3765
|
}, z.core.$strict>;
|
|
3766
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3767
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
3768
|
+
ids: z.ZodObject<{
|
|
3769
|
+
userId: z.ZodString;
|
|
3770
|
+
}, z.core.$strict>;
|
|
3771
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3772
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
3773
|
+
ids: z.ZodObject<{
|
|
3774
|
+
userId: z.ZodString;
|
|
3775
|
+
}, z.core.$strict>;
|
|
3776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3777
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
3778
|
+
ids: z.ZodObject<{
|
|
3779
|
+
userId: z.ZodString;
|
|
3780
|
+
violationId: z.ZodString;
|
|
3781
|
+
}, z.core.$strict>;
|
|
3654
3782
|
}, z.core.$strict>], "type">>;
|
|
3655
3783
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3656
3784
|
collection: z.ZodString;
|
|
@@ -4145,6 +4273,22 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
4145
4273
|
team: "team";
|
|
4146
4274
|
}>;
|
|
4147
4275
|
}, z.core.$strict>;
|
|
4276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4277
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
4278
|
+
ids: z.ZodObject<{
|
|
4279
|
+
userId: z.ZodString;
|
|
4280
|
+
}, z.core.$strict>;
|
|
4281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4282
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
4283
|
+
ids: z.ZodObject<{
|
|
4284
|
+
userId: z.ZodString;
|
|
4285
|
+
}, z.core.$strict>;
|
|
4286
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4287
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
4288
|
+
ids: z.ZodObject<{
|
|
4289
|
+
userId: z.ZodString;
|
|
4290
|
+
violationId: z.ZodString;
|
|
4291
|
+
}, z.core.$strict>;
|
|
4148
4292
|
}, z.core.$strict>], "type">>;
|
|
4149
4293
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4150
4294
|
collection: z.ZodString;
|
|
@@ -4560,6 +4704,22 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
4560
4704
|
team: "team";
|
|
4561
4705
|
}>;
|
|
4562
4706
|
}, z.core.$strict>;
|
|
4707
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4708
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
4709
|
+
ids: z.ZodObject<{
|
|
4710
|
+
userId: z.ZodString;
|
|
4711
|
+
}, z.core.$strict>;
|
|
4712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4713
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
4714
|
+
ids: z.ZodObject<{
|
|
4715
|
+
userId: z.ZodString;
|
|
4716
|
+
}, z.core.$strict>;
|
|
4717
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4718
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
4719
|
+
ids: z.ZodObject<{
|
|
4720
|
+
userId: z.ZodString;
|
|
4721
|
+
violationId: z.ZodString;
|
|
4722
|
+
}, z.core.$strict>;
|
|
4563
4723
|
}, z.core.$strict>], "type">>;
|
|
4564
4724
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4565
4725
|
collection: z.ZodString;
|
|
@@ -5054,6 +5214,22 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
5054
5214
|
team: "team";
|
|
5055
5215
|
}>;
|
|
5056
5216
|
}, z.core.$strict>;
|
|
5217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5218
|
+
type: z.ZodLiteral<"auth.registrationCompleted">;
|
|
5219
|
+
ids: z.ZodObject<{
|
|
5220
|
+
userId: z.ZodString;
|
|
5221
|
+
}, z.core.$strict>;
|
|
5222
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5223
|
+
type: z.ZodLiteral<"publicDocuments.acceptanceLanded">;
|
|
5224
|
+
ids: z.ZodObject<{
|
|
5225
|
+
userId: z.ZodString;
|
|
5226
|
+
}, z.core.$strict>;
|
|
5227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5228
|
+
type: z.ZodLiteral<"violation.decisionAccepted">;
|
|
5229
|
+
ids: z.ZodObject<{
|
|
5230
|
+
userId: z.ZodString;
|
|
5231
|
+
violationId: z.ZodString;
|
|
5232
|
+
}, z.core.$strict>;
|
|
5057
5233
|
}, z.core.$strict>], "type">>;
|
|
5058
5234
|
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5059
5235
|
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
|
|
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;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