@ttt-productions/ttt-core 0.79.76 → 0.79.78
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 +32 -68
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/doc-schemas/system-slots.d.ts +32 -0
- package/dist/doc-schemas/system-slots.d.ts.map +1 -1
- package/dist/media/domain-events-admin.d.ts +0 -18
- package/dist/media/domain-events-admin.d.ts.map +1 -1
- package/dist/media/domain-events-admin.js +1 -13
- package/dist/media/domain-events-admin.js.map +1 -1
- package/dist/media/domain-events.d.ts +0 -17
- package/dist/media/domain-events.d.ts.map +1 -1
- package/dist/media/domain-events.js +1 -2
- package/dist/media/domain-events.js.map +1 -1
- package/dist/media/pending-media.d.ts +0 -187
- package/dist/media/pending-media.d.ts.map +1 -1
- package/dist/media/target-info.d.ts +32 -0
- package/dist/media/target-info.d.ts.map +1 -1
- package/dist/schemas/admin.d.ts +32 -0
- package/dist/schemas/admin.d.ts.map +1 -1
- package/dist/system-slots/help-videos.d.ts +134 -0
- package/dist/system-slots/help-videos.d.ts.map +1 -0
- package/dist/system-slots/help-videos.js +44 -0
- package/dist/system-slots/help-videos.js.map +1 -0
- package/dist/system-slots/index.d.ts +1 -0
- package/dist/system-slots/index.d.ts.map +1 -1
- package/dist/system-slots/index.js +1 -0
- package/dist/system-slots/index.js.map +1 -1
- package/dist/system-slots/system-slots.d.ts +117 -4
- package/dist/system-slots/system-slots.d.ts.map +1 -1
- package/dist/system-slots/system-slots.js +38 -0
- package/dist/system-slots/system-slots.js.map +1 -1
- package/dist/upload-variables/upload-system-content-variables.d.ts +32 -0
- package/dist/upload-variables/upload-system-content-variables.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2519,23 +2519,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2519
2519
|
hallItemId: z.ZodOptional<z.ZodString>;
|
|
2520
2520
|
subItemId: z.ZodOptional<z.ZodString>;
|
|
2521
2521
|
}, z.core.$strict>;
|
|
2522
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2523
|
-
type: z.ZodLiteral<"systemSlot.videoUpdated">;
|
|
2524
|
-
ids: z.ZodObject<{
|
|
2525
|
-
slotId: z.ZodEnum<{
|
|
2526
|
-
"guide-ttt-in-five-minutes": "guide-ttt-in-five-minutes";
|
|
2527
|
-
"guide-finding-your-way-around": "guide-finding-your-way-around";
|
|
2528
|
-
"guide-find-something-to-enjoy": "guide-find-something-to-enjoy";
|
|
2529
|
-
"guide-start-a-work-as-steward": "guide-start-a-work-as-steward";
|
|
2530
|
-
"guide-how-to-join-a-work": "guide-how-to-join-a-work";
|
|
2531
|
-
"guide-what-is-a-realm": "guide-what-is-a-realm";
|
|
2532
|
-
"guide-what-is-a-work": "guide-what-is-a-work";
|
|
2533
|
-
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
2534
|
-
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
2535
|
-
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
2536
|
-
"landing-hero": "landing-hero";
|
|
2537
|
-
}>;
|
|
2538
|
-
}, z.core.$strict>;
|
|
2539
2522
|
}, z.core.$strict>, z.ZodObject<{
|
|
2540
2523
|
type: z.ZodLiteral<"systemSlot.uidUpdated">;
|
|
2541
2524
|
ids: z.ZodObject<{
|
|
@@ -3028,23 +3011,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3028
3011
|
hallItemId: z.ZodOptional<z.ZodString>;
|
|
3029
3012
|
subItemId: z.ZodOptional<z.ZodString>;
|
|
3030
3013
|
}, z.core.$strict>;
|
|
3031
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3032
|
-
type: z.ZodLiteral<"systemSlot.videoUpdated">;
|
|
3033
|
-
ids: z.ZodObject<{
|
|
3034
|
-
slotId: z.ZodEnum<{
|
|
3035
|
-
"guide-ttt-in-five-minutes": "guide-ttt-in-five-minutes";
|
|
3036
|
-
"guide-finding-your-way-around": "guide-finding-your-way-around";
|
|
3037
|
-
"guide-find-something-to-enjoy": "guide-find-something-to-enjoy";
|
|
3038
|
-
"guide-start-a-work-as-steward": "guide-start-a-work-as-steward";
|
|
3039
|
-
"guide-how-to-join-a-work": "guide-how-to-join-a-work";
|
|
3040
|
-
"guide-what-is-a-realm": "guide-what-is-a-realm";
|
|
3041
|
-
"guide-what-is-a-work": "guide-what-is-a-work";
|
|
3042
|
-
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
3043
|
-
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
3044
|
-
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
3045
|
-
"landing-hero": "landing-hero";
|
|
3046
|
-
}>;
|
|
3047
|
-
}, z.core.$strict>;
|
|
3048
3014
|
}, z.core.$strict>, z.ZodObject<{
|
|
3049
3015
|
type: z.ZodLiteral<"systemSlot.uidUpdated">;
|
|
3050
3016
|
ids: z.ZodObject<{
|
|
@@ -3454,23 +3420,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3454
3420
|
hallItemId: z.ZodOptional<z.ZodString>;
|
|
3455
3421
|
subItemId: z.ZodOptional<z.ZodString>;
|
|
3456
3422
|
}, z.core.$strict>;
|
|
3457
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3458
|
-
type: z.ZodLiteral<"systemSlot.videoUpdated">;
|
|
3459
|
-
ids: z.ZodObject<{
|
|
3460
|
-
slotId: z.ZodEnum<{
|
|
3461
|
-
"guide-ttt-in-five-minutes": "guide-ttt-in-five-minutes";
|
|
3462
|
-
"guide-finding-your-way-around": "guide-finding-your-way-around";
|
|
3463
|
-
"guide-find-something-to-enjoy": "guide-find-something-to-enjoy";
|
|
3464
|
-
"guide-start-a-work-as-steward": "guide-start-a-work-as-steward";
|
|
3465
|
-
"guide-how-to-join-a-work": "guide-how-to-join-a-work";
|
|
3466
|
-
"guide-what-is-a-realm": "guide-what-is-a-realm";
|
|
3467
|
-
"guide-what-is-a-work": "guide-what-is-a-work";
|
|
3468
|
-
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
3469
|
-
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
3470
|
-
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
3471
|
-
"landing-hero": "landing-hero";
|
|
3472
|
-
}>;
|
|
3473
|
-
}, z.core.$strict>;
|
|
3474
3423
|
}, z.core.$strict>, z.ZodObject<{
|
|
3475
3424
|
type: z.ZodLiteral<"systemSlot.uidUpdated">;
|
|
3476
3425
|
ids: z.ZodObject<{
|
|
@@ -3965,23 +3914,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3965
3914
|
hallItemId: z.ZodOptional<z.ZodString>;
|
|
3966
3915
|
subItemId: z.ZodOptional<z.ZodString>;
|
|
3967
3916
|
}, z.core.$strict>;
|
|
3968
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3969
|
-
type: z.ZodLiteral<"systemSlot.videoUpdated">;
|
|
3970
|
-
ids: z.ZodObject<{
|
|
3971
|
-
slotId: z.ZodEnum<{
|
|
3972
|
-
"guide-ttt-in-five-minutes": "guide-ttt-in-five-minutes";
|
|
3973
|
-
"guide-finding-your-way-around": "guide-finding-your-way-around";
|
|
3974
|
-
"guide-find-something-to-enjoy": "guide-find-something-to-enjoy";
|
|
3975
|
-
"guide-start-a-work-as-steward": "guide-start-a-work-as-steward";
|
|
3976
|
-
"guide-how-to-join-a-work": "guide-how-to-join-a-work";
|
|
3977
|
-
"guide-what-is-a-realm": "guide-what-is-a-realm";
|
|
3978
|
-
"guide-what-is-a-work": "guide-what-is-a-work";
|
|
3979
|
-
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
3980
|
-
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
3981
|
-
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
3982
|
-
"landing-hero": "landing-hero";
|
|
3983
|
-
}>;
|
|
3984
|
-
}, z.core.$strict>;
|
|
3985
3917
|
}, z.core.$strict>, z.ZodObject<{
|
|
3986
3918
|
type: z.ZodLiteral<"systemSlot.uidUpdated">;
|
|
3987
3919
|
ids: z.ZodObject<{
|
|
@@ -7655,6 +7587,38 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
7655
7587
|
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
7656
7588
|
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
7657
7589
|
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
7590
|
+
"help-work-project-information": "help-work-project-information";
|
|
7591
|
+
"help-work-team-communication": "help-work-team-communication";
|
|
7592
|
+
"help-work-your-team": "help-work-your-team";
|
|
7593
|
+
"help-work-guildmate-users": "help-work-guildmate-users";
|
|
7594
|
+
"help-work-member-stake-shares": "help-work-member-stake-shares";
|
|
7595
|
+
"help-work-member-guild-standings": "help-work-member-guild-standings";
|
|
7596
|
+
"help-work-member-trade-professions": "help-work-member-trade-professions";
|
|
7597
|
+
"help-work-pending-invitations": "help-work-pending-invitations";
|
|
7598
|
+
"help-work-invite-by-craft": "help-work-invite-by-craft";
|
|
7599
|
+
"help-work-project-files": "help-work-project-files";
|
|
7600
|
+
"help-work-find-talent": "help-work-find-talent";
|
|
7601
|
+
"help-work-community-feedback": "help-work-community-feedback";
|
|
7602
|
+
"help-work-project-auditions": "help-work-project-auditions";
|
|
7603
|
+
"help-work-submit-to-hall": "help-work-submit-to-hall";
|
|
7604
|
+
"help-work-episodic-publishing": "help-work-episodic-publishing";
|
|
7605
|
+
"help-work-platform-correspondence": "help-work-platform-correspondence";
|
|
7606
|
+
"help-hall": "help-hall";
|
|
7607
|
+
"help-square": "help-square";
|
|
7608
|
+
"help-notice-board": "help-notice-board";
|
|
7609
|
+
"help-craft-fair": "help-craft-fair";
|
|
7610
|
+
"help-audition-stage": "help-audition-stage";
|
|
7611
|
+
"help-audition-sponsored-prize": "help-audition-sponsored-prize";
|
|
7612
|
+
"help-audition-view-sponsored-prize": "help-audition-view-sponsored-prize";
|
|
7613
|
+
"help-admin-audition-sponsored-prize": "help-admin-audition-sponsored-prize";
|
|
7614
|
+
"help-messages-admin-dispatches": "help-messages-admin-dispatches";
|
|
7615
|
+
"help-messages-guild-invites": "help-messages-guild-invites";
|
|
7616
|
+
"help-profile-overview": "help-profile-overview";
|
|
7617
|
+
"help-profile-square-activity": "help-profile-square-activity";
|
|
7618
|
+
"help-profile-following": "help-profile-following";
|
|
7619
|
+
"help-profile-artisan-tools": "help-profile-artisan-tools";
|
|
7620
|
+
"help-profile-work-projects": "help-profile-work-projects";
|
|
7621
|
+
"help-profile-crafts": "help-profile-crafts";
|
|
7658
7622
|
"landing-hero": "landing-hero";
|
|
7659
7623
|
}> & z.core.$partial, z.ZodObject<{
|
|
7660
7624
|
assetId: z.ZodNullable<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;AAqN7B,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;AAqN7B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuQkB,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,EAOvC,CAAC"}
|
|
@@ -23,6 +23,38 @@ export declare const SystemVideoSlotsDocumentSchema: z.ZodObject<{
|
|
|
23
23
|
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
24
24
|
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
25
25
|
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
26
|
+
"help-work-project-information": "help-work-project-information";
|
|
27
|
+
"help-work-team-communication": "help-work-team-communication";
|
|
28
|
+
"help-work-your-team": "help-work-your-team";
|
|
29
|
+
"help-work-guildmate-users": "help-work-guildmate-users";
|
|
30
|
+
"help-work-member-stake-shares": "help-work-member-stake-shares";
|
|
31
|
+
"help-work-member-guild-standings": "help-work-member-guild-standings";
|
|
32
|
+
"help-work-member-trade-professions": "help-work-member-trade-professions";
|
|
33
|
+
"help-work-pending-invitations": "help-work-pending-invitations";
|
|
34
|
+
"help-work-invite-by-craft": "help-work-invite-by-craft";
|
|
35
|
+
"help-work-project-files": "help-work-project-files";
|
|
36
|
+
"help-work-find-talent": "help-work-find-talent";
|
|
37
|
+
"help-work-community-feedback": "help-work-community-feedback";
|
|
38
|
+
"help-work-project-auditions": "help-work-project-auditions";
|
|
39
|
+
"help-work-submit-to-hall": "help-work-submit-to-hall";
|
|
40
|
+
"help-work-episodic-publishing": "help-work-episodic-publishing";
|
|
41
|
+
"help-work-platform-correspondence": "help-work-platform-correspondence";
|
|
42
|
+
"help-hall": "help-hall";
|
|
43
|
+
"help-square": "help-square";
|
|
44
|
+
"help-notice-board": "help-notice-board";
|
|
45
|
+
"help-craft-fair": "help-craft-fair";
|
|
46
|
+
"help-audition-stage": "help-audition-stage";
|
|
47
|
+
"help-audition-sponsored-prize": "help-audition-sponsored-prize";
|
|
48
|
+
"help-audition-view-sponsored-prize": "help-audition-view-sponsored-prize";
|
|
49
|
+
"help-admin-audition-sponsored-prize": "help-admin-audition-sponsored-prize";
|
|
50
|
+
"help-messages-admin-dispatches": "help-messages-admin-dispatches";
|
|
51
|
+
"help-messages-guild-invites": "help-messages-guild-invites";
|
|
52
|
+
"help-profile-overview": "help-profile-overview";
|
|
53
|
+
"help-profile-square-activity": "help-profile-square-activity";
|
|
54
|
+
"help-profile-following": "help-profile-following";
|
|
55
|
+
"help-profile-artisan-tools": "help-profile-artisan-tools";
|
|
56
|
+
"help-profile-work-projects": "help-profile-work-projects";
|
|
57
|
+
"help-profile-crafts": "help-profile-crafts";
|
|
26
58
|
"landing-hero": "landing-hero";
|
|
27
59
|
}> & z.core.$partial, z.ZodObject<{
|
|
28
60
|
assetId: z.ZodNullable<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-slots.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/system-slots.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;kBAM5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,yEAAyE;AACzE,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"system-slots.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/system-slots.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;kBAM5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,yEAAyE;AACzE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAKhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,iGAAiG;AACjG,eAAO,MAAM,iCAAiC,EAAE,QAAQ,CAAC,wBAAwB,CAG/E,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;kBAsBrC,CAAC;AACL,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -83,24 +83,6 @@ export declare const ViolationAppealSubmittedEventSchema: z.ZodObject<{
|
|
|
83
83
|
violationId: z.ZodString;
|
|
84
84
|
}, z.core.$strict>;
|
|
85
85
|
}, z.core.$strict>;
|
|
86
|
-
export declare const SystemSlotVideoUpdatedEventSchema: z.ZodObject<{
|
|
87
|
-
type: z.ZodLiteral<"systemSlot.videoUpdated">;
|
|
88
|
-
ids: z.ZodObject<{
|
|
89
|
-
slotId: z.ZodEnum<{
|
|
90
|
-
"guide-ttt-in-five-minutes": "guide-ttt-in-five-minutes";
|
|
91
|
-
"guide-finding-your-way-around": "guide-finding-your-way-around";
|
|
92
|
-
"guide-find-something-to-enjoy": "guide-find-something-to-enjoy";
|
|
93
|
-
"guide-start-a-work-as-steward": "guide-start-a-work-as-steward";
|
|
94
|
-
"guide-how-to-join-a-work": "guide-how-to-join-a-work";
|
|
95
|
-
"guide-what-is-a-realm": "guide-what-is-a-realm";
|
|
96
|
-
"guide-what-is-a-work": "guide-what-is-a-work";
|
|
97
|
-
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
98
|
-
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
99
|
-
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
100
|
-
"landing-hero": "landing-hero";
|
|
101
|
-
}>;
|
|
102
|
-
}, z.core.$strict>;
|
|
103
|
-
}, z.core.$strict>;
|
|
104
86
|
export declare const SystemSlotUidUpdatedEventSchema: z.ZodObject<{
|
|
105
87
|
type: z.ZodLiteral<"systemSlot.uidUpdated">;
|
|
106
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;
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { FileOriginSchema } from "./file-origin.js";
|
|
3
|
-
import { SystemAccountSlotIdSchema
|
|
3
|
+
import { SystemAccountSlotIdSchema } from "../system-slots/system-slots.js";
|
|
4
4
|
// DomainEvent schemas for the admin/moderation domain — content violations,
|
|
5
5
|
// threshold-library review decisions, admin dispatch, and appeals. Assembled
|
|
6
6
|
// into the discriminated union in ./domain-events.ts.
|
|
@@ -108,18 +108,6 @@ export const ViolationAppealSubmittedEventSchema = z
|
|
|
108
108
|
.strict(),
|
|
109
109
|
})
|
|
110
110
|
.strict();
|
|
111
|
-
// A system video slot's state changed: an upload took its lock, its new video was published, or
|
|
112
|
-
// it was cleared.
|
|
113
|
-
export const SystemSlotVideoUpdatedEventSchema = z
|
|
114
|
-
.object({
|
|
115
|
-
type: z.literal('systemSlot.videoUpdated'),
|
|
116
|
-
ids: z
|
|
117
|
-
.object({
|
|
118
|
-
slotId: SystemVideoSlotIdSchema,
|
|
119
|
-
})
|
|
120
|
-
.strict(),
|
|
121
|
-
})
|
|
122
|
-
.strict();
|
|
123
111
|
// A system account slot (`uid` or `uidList`) was set or cleared.
|
|
124
112
|
export const SystemSlotUidUpdatedEventSchema = z
|
|
125
113
|
.object({
|
|
@@ -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;AACpD,OAAO,EAAE,yBAAyB,EAAE,
|
|
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,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAE5E,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,E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C;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,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\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"]}
|
|
@@ -323,23 +323,6 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
323
323
|
hallItemId: z.ZodOptional<z.ZodString>;
|
|
324
324
|
subItemId: z.ZodOptional<z.ZodString>;
|
|
325
325
|
}, z.core.$strict>;
|
|
326
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
327
|
-
type: z.ZodLiteral<"systemSlot.videoUpdated">;
|
|
328
|
-
ids: z.ZodObject<{
|
|
329
|
-
slotId: z.ZodEnum<{
|
|
330
|
-
"guide-ttt-in-five-minutes": "guide-ttt-in-five-minutes";
|
|
331
|
-
"guide-finding-your-way-around": "guide-finding-your-way-around";
|
|
332
|
-
"guide-find-something-to-enjoy": "guide-find-something-to-enjoy";
|
|
333
|
-
"guide-start-a-work-as-steward": "guide-start-a-work-as-steward";
|
|
334
|
-
"guide-how-to-join-a-work": "guide-how-to-join-a-work";
|
|
335
|
-
"guide-what-is-a-realm": "guide-what-is-a-realm";
|
|
336
|
-
"guide-what-is-a-work": "guide-what-is-a-work";
|
|
337
|
-
"guide-what-is-a-guild": "guide-what-is-a-guild";
|
|
338
|
-
"guide-what-are-stakes": "guide-what-are-stakes";
|
|
339
|
-
"guide-how-bouquets-and-payouts-will-work": "guide-how-bouquets-and-payouts-will-work";
|
|
340
|
-
"landing-hero": "landing-hero";
|
|
341
|
-
}>;
|
|
342
|
-
}, z.core.$strict>;
|
|
343
326
|
}, z.core.$strict>, z.ZodObject<{
|
|
344
327
|
type: z.ZodLiteral<"systemSlot.uidUpdated">;
|
|
345
328
|
ids: z.ZodObject<{
|
|
@@ -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;AAwDxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAgBzC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA+C5B,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"}
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { ProfilePictureUpdatedEventSchema, ProfilePreferencesUpdatedEventSchema, CraftSkillCreatedEventSchema, CraftSkillUpdatedEventSchema, CraftSkillDeletedEventSchema, FollowCreatedEventSchema, FollowRemovedEventSchema, MentionReadEventSchema, AuthStatusChangedEventSchema, 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,
|
|
5
|
+
import { ModerationViolationCreatedEventSchema, ThresholdLibraryApprovedEventSchema, ThresholdLibraryNeedsRevisionEventSchema, AdminDispatchThreadUpdatedEventSchema, AdminAppealReviewedEventSchema, AdminDispatchReviewedEventSchema, ViolationAppealSubmittedEventSchema, 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";
|
|
@@ -66,7 +66,6 @@ export const DomainEventSchema = z.discriminatedUnion('type', [
|
|
|
66
66
|
AdminDisplayNameResetForcedEventSchema,
|
|
67
67
|
WorkRealmDetailsUpdatedEventSchema,
|
|
68
68
|
HallContentChangeRequestApprovedEventSchema,
|
|
69
|
-
SystemSlotVideoUpdatedEventSchema,
|
|
70
69
|
SystemSlotUidUpdatedEventSchema,
|
|
71
70
|
]);
|
|
72
71
|
//# 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,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,mCAAmC,EACnC,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,qCAAqC,EACrC,8BAA8B,EAC9B,gCAAgC,EAChC,mCAAmC,EACnC,sCAAsC,EACtC,2CAA2C,EAC3C
|
|
1
|
+
{"version":3,"file":"domain-events.js","sourceRoot":"","sources":["../../src/media/domain-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,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D,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,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;CAChC,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 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 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]);\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"]}
|