@ttt-productions/ttt-core 0.79.113 → 0.79.115
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/capabilities/capability-registry.d.ts +1 -1
- package/dist/capabilities/capability-registry.d.ts.map +1 -1
- package/dist/capabilities/capability-registry.js +1 -0
- package/dist/capabilities/capability-registry.js.map +1 -1
- package/dist/doc-schemas/commissions.d.ts.map +1 -1
- package/dist/doc-schemas/commissions.js +22 -4
- package/dist/doc-schemas/commissions.js.map +1 -1
- package/dist/doc-schemas/media-activation-jobs.d.ts +1 -0
- package/dist/doc-schemas/media-activation-jobs.d.ts.map +1 -1
- package/dist/doc-schemas/media-assets.d.ts +1 -0
- package/dist/doc-schemas/media-assets.d.ts.map +1 -1
- package/dist/doc-schemas/moderation.d.ts +1 -0
- package/dist/doc-schemas/moderation.d.ts.map +1 -1
- package/dist/doc-schemas/registry.d.ts +15 -0
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/media/domain-events-admin.d.ts +1 -0
- package/dist/media/domain-events-admin.d.ts.map +1 -1
- package/dist/media/domain-events.d.ts +1 -0
- package/dist/media/domain-events.d.ts.map +1 -1
- package/dist/media/file-origin.d.ts +1 -0
- package/dist/media/file-origin.d.ts.map +1 -1
- package/dist/media/file-origin.js +1 -0
- package/dist/media/file-origin.js.map +1 -1
- package/dist/media/pending-media.d.ts +30 -0
- package/dist/media/pending-media.d.ts.map +1 -1
- package/dist/media/publication/publication-args.d.ts +16 -0
- package/dist/media/publication/publication-args.d.ts.map +1 -1
- package/dist/media/publication/publication-args.js +16 -4
- package/dist/media/publication/publication-args.js.map +1 -1
- package/dist/media/start-upload.d.ts +1 -0
- package/dist/media/start-upload.d.ts.map +1 -1
- package/dist/media/target-info.d.ts +5 -1
- package/dist/media/target-info.d.ts.map +1 -1
- package/dist/media/target-info.js +7 -0
- package/dist/media/target-info.js.map +1 -1
- package/dist/media/ttt-media-specs.d.ts.map +1 -1
- package/dist/media/ttt-media-specs.js +29 -27
- package/dist/media/ttt-media-specs.js.map +1 -1
- package/dist/media/upload-tray-display.d.ts.map +1 -1
- package/dist/media/upload-tray-display.js +1 -0
- package/dist/media/upload-tray-display.js.map +1 -1
- package/dist/schemas/atoms.d.ts +1 -0
- package/dist/schemas/atoms.d.ts.map +1 -1
- package/dist/schemas/atoms.js +1 -0
- package/dist/schemas/atoms.js.map +1 -1
- package/package.json +1 -1
|
@@ -102,6 +102,7 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
|
|
|
102
102
|
"commission-proposal": "commission-proposal";
|
|
103
103
|
"audition-prompt": "audition-prompt";
|
|
104
104
|
"audition-entry": "audition-entry";
|
|
105
|
+
"audition-curated-option": "audition-curated-option";
|
|
105
106
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
106
107
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
107
108
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -375,6 +376,7 @@ export declare const PendingMediaPendingSchema: z.ZodObject<{
|
|
|
375
376
|
"commission-proposal": "commission-proposal";
|
|
376
377
|
"audition-prompt": "audition-prompt";
|
|
377
378
|
"audition-entry": "audition-entry";
|
|
379
|
+
"audition-curated-option": "audition-curated-option";
|
|
378
380
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
379
381
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
380
382
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -440,6 +442,7 @@ export declare const PendingMediaProcessingSchema: z.ZodObject<{
|
|
|
440
442
|
"commission-proposal": "commission-proposal";
|
|
441
443
|
"audition-prompt": "audition-prompt";
|
|
442
444
|
"audition-entry": "audition-entry";
|
|
445
|
+
"audition-curated-option": "audition-curated-option";
|
|
443
446
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
444
447
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
445
448
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -596,6 +599,7 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
596
599
|
"commission-proposal": "commission-proposal";
|
|
597
600
|
"audition-prompt": "audition-prompt";
|
|
598
601
|
"audition-entry": "audition-entry";
|
|
602
|
+
"audition-curated-option": "audition-curated-option";
|
|
599
603
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
600
604
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
601
605
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -867,6 +871,7 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
867
871
|
"commission-proposal": "commission-proposal";
|
|
868
872
|
"audition-prompt": "audition-prompt";
|
|
869
873
|
"audition-entry": "audition-entry";
|
|
874
|
+
"audition-curated-option": "audition-curated-option";
|
|
870
875
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
871
876
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
872
877
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -946,6 +951,7 @@ export declare const PendingMediaFailedSchema: z.ZodObject<{
|
|
|
946
951
|
"commission-proposal": "commission-proposal";
|
|
947
952
|
"audition-prompt": "audition-prompt";
|
|
948
953
|
"audition-entry": "audition-entry";
|
|
954
|
+
"audition-curated-option": "audition-curated-option";
|
|
949
955
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
950
956
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
951
957
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1107,6 +1113,7 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
1107
1113
|
"commission-proposal": "commission-proposal";
|
|
1108
1114
|
"audition-prompt": "audition-prompt";
|
|
1109
1115
|
"audition-entry": "audition-entry";
|
|
1116
|
+
"audition-curated-option": "audition-curated-option";
|
|
1110
1117
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
1111
1118
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
1112
1119
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1378,6 +1385,7 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
1378
1385
|
"commission-proposal": "commission-proposal";
|
|
1379
1386
|
"audition-prompt": "audition-prompt";
|
|
1380
1387
|
"audition-entry": "audition-entry";
|
|
1388
|
+
"audition-curated-option": "audition-curated-option";
|
|
1381
1389
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
1382
1390
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
1383
1391
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1442,6 +1450,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1442
1450
|
"commission-proposal": "commission-proposal";
|
|
1443
1451
|
"audition-prompt": "audition-prompt";
|
|
1444
1452
|
"audition-entry": "audition-entry";
|
|
1453
|
+
"audition-curated-option": "audition-curated-option";
|
|
1445
1454
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
1446
1455
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
1447
1456
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1506,6 +1515,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1506
1515
|
"commission-proposal": "commission-proposal";
|
|
1507
1516
|
"audition-prompt": "audition-prompt";
|
|
1508
1517
|
"audition-entry": "audition-entry";
|
|
1518
|
+
"audition-curated-option": "audition-curated-option";
|
|
1509
1519
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
1510
1520
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
1511
1521
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1661,6 +1671,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1661
1671
|
"commission-proposal": "commission-proposal";
|
|
1662
1672
|
"audition-prompt": "audition-prompt";
|
|
1663
1673
|
"audition-entry": "audition-entry";
|
|
1674
|
+
"audition-curated-option": "audition-curated-option";
|
|
1664
1675
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
1665
1676
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
1666
1677
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1932,6 +1943,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1932
1943
|
"commission-proposal": "commission-proposal";
|
|
1933
1944
|
"audition-prompt": "audition-prompt";
|
|
1934
1945
|
"audition-entry": "audition-entry";
|
|
1946
|
+
"audition-curated-option": "audition-curated-option";
|
|
1935
1947
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
1936
1948
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
1937
1949
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -2010,6 +2022,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2010
2022
|
"commission-proposal": "commission-proposal";
|
|
2011
2023
|
"audition-prompt": "audition-prompt";
|
|
2012
2024
|
"audition-entry": "audition-entry";
|
|
2025
|
+
"audition-curated-option": "audition-curated-option";
|
|
2013
2026
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
2014
2027
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
2015
2028
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -2170,6 +2183,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2170
2183
|
"commission-proposal": "commission-proposal";
|
|
2171
2184
|
"audition-prompt": "audition-prompt";
|
|
2172
2185
|
"audition-entry": "audition-entry";
|
|
2186
|
+
"audition-curated-option": "audition-curated-option";
|
|
2173
2187
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
2174
2188
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
2175
2189
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -2441,6 +2455,7 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2441
2455
|
"commission-proposal": "commission-proposal";
|
|
2442
2456
|
"audition-prompt": "audition-prompt";
|
|
2443
2457
|
"audition-entry": "audition-entry";
|
|
2458
|
+
"audition-curated-option": "audition-curated-option";
|
|
2444
2459
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
2445
2460
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
2446
2461
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -2596,6 +2611,7 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
|
|
|
2596
2611
|
"commission-proposal": "commission-proposal";
|
|
2597
2612
|
"audition-prompt": "audition-prompt";
|
|
2598
2613
|
"audition-entry": "audition-entry";
|
|
2614
|
+
"audition-curated-option": "audition-curated-option";
|
|
2599
2615
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
2600
2616
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
2601
2617
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -2868,6 +2884,7 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
|
|
|
2868
2884
|
"commission-proposal": "commission-proposal";
|
|
2869
2885
|
"audition-prompt": "audition-prompt";
|
|
2870
2886
|
"audition-entry": "audition-entry";
|
|
2887
|
+
"audition-curated-option": "audition-curated-option";
|
|
2871
2888
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
2872
2889
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
2873
2890
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -2948,6 +2965,7 @@ export declare const ArchivedPendingMediaFailedSchema: z.ZodObject<{
|
|
|
2948
2965
|
"commission-proposal": "commission-proposal";
|
|
2949
2966
|
"audition-prompt": "audition-prompt";
|
|
2950
2967
|
"audition-entry": "audition-entry";
|
|
2968
|
+
"audition-curated-option": "audition-curated-option";
|
|
2951
2969
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
2952
2970
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
2953
2971
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -3109,6 +3127,7 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
|
|
|
3109
3127
|
"commission-proposal": "commission-proposal";
|
|
3110
3128
|
"audition-prompt": "audition-prompt";
|
|
3111
3129
|
"audition-entry": "audition-entry";
|
|
3130
|
+
"audition-curated-option": "audition-curated-option";
|
|
3112
3131
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
3113
3132
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
3114
3133
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -3381,6 +3400,7 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
|
|
|
3381
3400
|
"commission-proposal": "commission-proposal";
|
|
3382
3401
|
"audition-prompt": "audition-prompt";
|
|
3383
3402
|
"audition-entry": "audition-entry";
|
|
3403
|
+
"audition-curated-option": "audition-curated-option";
|
|
3384
3404
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
3385
3405
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
3386
3406
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -3536,6 +3556,7 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
3536
3556
|
"commission-proposal": "commission-proposal";
|
|
3537
3557
|
"audition-prompt": "audition-prompt";
|
|
3538
3558
|
"audition-entry": "audition-entry";
|
|
3559
|
+
"audition-curated-option": "audition-curated-option";
|
|
3539
3560
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
3540
3561
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
3541
3562
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -3808,6 +3829,7 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
3808
3829
|
"commission-proposal": "commission-proposal";
|
|
3809
3830
|
"audition-prompt": "audition-prompt";
|
|
3810
3831
|
"audition-entry": "audition-entry";
|
|
3832
|
+
"audition-curated-option": "audition-curated-option";
|
|
3811
3833
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
3812
3834
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
3813
3835
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -3887,6 +3909,7 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
3887
3909
|
"commission-proposal": "commission-proposal";
|
|
3888
3910
|
"audition-prompt": "audition-prompt";
|
|
3889
3911
|
"audition-entry": "audition-entry";
|
|
3912
|
+
"audition-curated-option": "audition-curated-option";
|
|
3890
3913
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
3891
3914
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
3892
3915
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -4047,6 +4070,7 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
4047
4070
|
"commission-proposal": "commission-proposal";
|
|
4048
4071
|
"audition-prompt": "audition-prompt";
|
|
4049
4072
|
"audition-entry": "audition-entry";
|
|
4073
|
+
"audition-curated-option": "audition-curated-option";
|
|
4050
4074
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
4051
4075
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4052
4076
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -4319,6 +4343,7 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
4319
4343
|
"commission-proposal": "commission-proposal";
|
|
4320
4344
|
"audition-prompt": "audition-prompt";
|
|
4321
4345
|
"audition-entry": "audition-entry";
|
|
4346
|
+
"audition-curated-option": "audition-curated-option";
|
|
4322
4347
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
4323
4348
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4324
4349
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -4479,6 +4504,7 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
4479
4504
|
"commission-proposal": "commission-proposal";
|
|
4480
4505
|
"audition-prompt": "audition-prompt";
|
|
4481
4506
|
"audition-entry": "audition-entry";
|
|
4507
|
+
"audition-curated-option": "audition-curated-option";
|
|
4482
4508
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
4483
4509
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4484
4510
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -4751,6 +4777,7 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
4751
4777
|
"commission-proposal": "commission-proposal";
|
|
4752
4778
|
"audition-prompt": "audition-prompt";
|
|
4753
4779
|
"audition-entry": "audition-entry";
|
|
4780
|
+
"audition-curated-option": "audition-curated-option";
|
|
4754
4781
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
4755
4782
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4756
4783
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -4830,6 +4857,7 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
4830
4857
|
"commission-proposal": "commission-proposal";
|
|
4831
4858
|
"audition-prompt": "audition-prompt";
|
|
4832
4859
|
"audition-entry": "audition-entry";
|
|
4860
|
+
"audition-curated-option": "audition-curated-option";
|
|
4833
4861
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
4834
4862
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4835
4863
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -4990,6 +5018,7 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
4990
5018
|
"commission-proposal": "commission-proposal";
|
|
4991
5019
|
"audition-prompt": "audition-prompt";
|
|
4992
5020
|
"audition-entry": "audition-entry";
|
|
5021
|
+
"audition-curated-option": "audition-curated-option";
|
|
4993
5022
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
4994
5023
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4995
5024
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -5262,6 +5291,7 @@ export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
5262
5291
|
"commission-proposal": "commission-proposal";
|
|
5263
5292
|
"audition-prompt": "audition-prompt";
|
|
5264
5293
|
"audition-entry": "audition-entry";
|
|
5294
|
+
"audition-curated-option": "audition-curated-option";
|
|
5265
5295
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
5266
5296
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
5267
5297
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -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;;;;;;;EAA0C,CAAC;AACvF,eAAO,MAAM,wB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AO,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"}
|
|
@@ -172,6 +172,7 @@ export declare const CommissionProposalMediaPublicationArgsSchema: z.ZodObject<{
|
|
|
172
172
|
video: "video";
|
|
173
173
|
audio: "audio";
|
|
174
174
|
}>;
|
|
175
|
+
agreementVersion: z.ZodNumber;
|
|
175
176
|
}, z.core.$strict>;
|
|
176
177
|
export type CommissionProposalMediaPublicationArgs = z.infer<typeof CommissionProposalMediaPublicationArgsSchema>;
|
|
177
178
|
export declare const AuditionMediaPublicationArgsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -210,11 +211,18 @@ export declare const AuditionMediaPublicationArgsSchema: z.ZodDiscriminatedUnion
|
|
|
210
211
|
submittedAt: z.ZodNumber;
|
|
211
212
|
sponsoredAuditionAmountUSD: z.ZodOptional<z.ZodNumber>;
|
|
212
213
|
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
agreementVersion: z.ZodNumber;
|
|
215
|
+
userId: z.ZodString;
|
|
216
|
+
auditionId: z.ZodString;
|
|
217
|
+
auditionEntryId: z.ZodString;
|
|
218
|
+
submittedAt: z.ZodNumber;
|
|
213
219
|
mode: z.ZodLiteral<"entry">;
|
|
220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
214
221
|
userId: z.ZodString;
|
|
215
222
|
auditionId: z.ZodString;
|
|
216
223
|
auditionEntryId: z.ZodString;
|
|
217
224
|
submittedAt: z.ZodNumber;
|
|
225
|
+
mode: z.ZodLiteral<"curatedOption">;
|
|
218
226
|
}, z.core.$strict>], "mode">;
|
|
219
227
|
export type AuditionMediaPublicationArgs = z.infer<typeof AuditionMediaPublicationArgsSchema>;
|
|
220
228
|
export declare const SystemVideoSlotPublicationArgsSchema: z.ZodObject<{
|
|
@@ -369,11 +377,18 @@ export declare const MEDIA_PUBLICATION_ARGS_SCHEMAS: {
|
|
|
369
377
|
submittedAt: z.ZodNumber;
|
|
370
378
|
sponsoredAuditionAmountUSD: z.ZodOptional<z.ZodNumber>;
|
|
371
379
|
}, z.core.$strict>, z.ZodObject<{
|
|
380
|
+
agreementVersion: z.ZodNumber;
|
|
381
|
+
userId: z.ZodString;
|
|
382
|
+
auditionId: z.ZodString;
|
|
383
|
+
auditionEntryId: z.ZodString;
|
|
384
|
+
submittedAt: z.ZodNumber;
|
|
372
385
|
mode: z.ZodLiteral<"entry">;
|
|
386
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
373
387
|
userId: z.ZodString;
|
|
374
388
|
auditionId: z.ZodString;
|
|
375
389
|
auditionEntryId: z.ZodString;
|
|
376
390
|
submittedAt: z.ZodNumber;
|
|
391
|
+
mode: z.ZodLiteral<"curatedOption">;
|
|
377
392
|
}, z.core.$strict>], "mode">;
|
|
378
393
|
readonly commissionListingMedia: z.ZodObject<{
|
|
379
394
|
commissionListingId: z.ZodString;
|
|
@@ -403,6 +418,7 @@ export declare const MEDIA_PUBLICATION_ARGS_SCHEMAS: {
|
|
|
403
418
|
video: "video";
|
|
404
419
|
audio: "audio";
|
|
405
420
|
}>;
|
|
421
|
+
agreementVersion: z.ZodNumber;
|
|
406
422
|
}, z.core.$strict>;
|
|
407
423
|
readonly craftSkillMedia: z.ZodObject<{
|
|
408
424
|
userId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication-args.d.ts","sourceRoot":"","sources":["../../../src/media/publication/publication-args.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"publication-args.d.ts","sourceRoot":"","sources":["../../../src/media/publication/publication-args.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqCxB,eAAO,MAAM,mCAAmC;;kBAIrC,CAAC;AACZ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAWtC,CAAC;AACZ,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;kBAWhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,8BAA8B;;;;;;;;kBAMhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,+BAA+B;;kBAEjC,CAAC;AACZ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,qCAAqC;;;;;;;;;kBAOvC,CAAC;AACZ,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,e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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaiB,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { AuditionModeSchema, AuditionTypeSchema } from '../../doc-schemas/commis
|
|
|
10
10
|
import { SystemVideoSlotIdSchema } from '../../system-slots/system-slots.js';
|
|
11
11
|
import { ConversationFileRefSchema } from '../conversation-file-ref.js';
|
|
12
12
|
import { SquareStreetzPostMentionsSchema } from '../atoms.js';
|
|
13
|
-
import { auditionEntryIdSchema, auditionIdSchema, commissionListingIdSchema, conversationFileIdSchema, craftSkillIdSchema, hallSubItemIdSchema, itemIdSchema, squareStreetzPostIdSchema, userIdSchema, workFileFolderIdSchema, workFileIdSchema, workProjectIdSchema, workRealmIdSchema, } from '../../schemas/atoms.js';
|
|
13
|
+
import { auditionEntryIdSchema, auditionIdSchema, commissionListingIdSchema, conversationFileIdSchema, craftSkillIdSchema, hallSubItemIdSchema, itemIdSchema, squareStreetzPostIdSchema, storedAgreementVersionSchema, userIdSchema, workFileFolderIdSchema, workFileIdSchema, workProjectIdSchema, workRealmIdSchema, } from '../../schemas/atoms.js';
|
|
14
14
|
export const ProfilePicturePublicationArgsSchema = z
|
|
15
15
|
.object({
|
|
16
16
|
userId: userIdSchema,
|
|
@@ -103,6 +103,7 @@ export const CommissionProposalMediaPublicationArgsSchema = z
|
|
|
103
103
|
userId: userIdSchema,
|
|
104
104
|
coverLetterText: z.string(),
|
|
105
105
|
replyFileType: ContentMediaKindSchema,
|
|
106
|
+
agreementVersion: storedAgreementVersionSchema,
|
|
106
107
|
})
|
|
107
108
|
.strict();
|
|
108
109
|
const auditionPromptModeFields = {
|
|
@@ -139,19 +140,30 @@ const AdminPromptPublicationArgsSchema = z
|
|
|
139
140
|
...auditionPromptModeFields,
|
|
140
141
|
})
|
|
141
142
|
.strict();
|
|
142
|
-
const
|
|
143
|
-
.object({
|
|
144
|
-
mode: z.literal('entry'),
|
|
143
|
+
const auditionEntryPublicationFields = {
|
|
145
144
|
userId: userIdSchema,
|
|
146
145
|
auditionId: auditionIdSchema,
|
|
147
146
|
auditionEntryId: auditionEntryIdSchema,
|
|
148
147
|
submittedAt: z.number(),
|
|
148
|
+
};
|
|
149
|
+
const EntryPublicationArgsSchema = z
|
|
150
|
+
.object({
|
|
151
|
+
mode: z.literal('entry'),
|
|
152
|
+
...auditionEntryPublicationFields,
|
|
153
|
+
agreementVersion: storedAgreementVersionSchema,
|
|
154
|
+
})
|
|
155
|
+
.strict();
|
|
156
|
+
const CuratedOptionPublicationArgsSchema = z
|
|
157
|
+
.object({
|
|
158
|
+
mode: z.literal('curatedOption'),
|
|
159
|
+
...auditionEntryPublicationFields,
|
|
149
160
|
})
|
|
150
161
|
.strict();
|
|
151
162
|
export const AuditionMediaPublicationArgsSchema = z.discriminatedUnion('mode', [
|
|
152
163
|
WorkPromptPublicationArgsSchema,
|
|
153
164
|
AdminPromptPublicationArgsSchema,
|
|
154
165
|
EntryPublicationArgsSchema,
|
|
166
|
+
CuratedOptionPublicationArgsSchema,
|
|
155
167
|
]);
|
|
156
168
|
export const SystemVideoSlotPublicationArgsSchema = z
|
|
157
169
|
.object({ slotId: SystemVideoSlotIdSchema })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication-args.js","sourceRoot":"","sources":["../../../src/media/publication/publication-args.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,0CAA0C;AAE1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,sBAAsB,GAEvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AACn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AC,OAAO,CAAC,OAAO,CAAC;IACxB,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,gBAAgB;IAC5B,eAAe,EAAE,qBAAqB;IACtC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC7E,+BAA+B;IAC/B,gCAAgC;IAChC,0BAA0B;CAC3B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC;KAC3C,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,cAAc,EAAE,mCAAmC;IACnD,eAAe,EAAE,oCAAoC;IACrD,SAAS,EAAE,8BAA8B;IACzC,SAAS,EAAE,8BAA8B;IACzC,UAAU,EAAE,+BAA+B;IAC3C,gBAAgB,EAAE,qCAAqC;IACvD,aAAa,EAAE,kCAAkC;IACjD,sBAAsB,EAAE,2CAA2C;IACnE,uBAAuB,EAAE,4CAA4C;IACrE,eAAe,EAAE,oCAAoC;IACrD,gBAAgB,EAAE,qCAAqC;IACvD,eAAe,EAAE,oCAAoC;CACK,CAAC","sourcesContent":["// Typed text is a plain string here: the adapter judges it after the parse, so a refused text ends\n// the job instead of failing every retry.\n\nimport { z } from 'zod';\nimport { CRAFT_SKILL_TAG_VALUES } from '../../constants/options.js';\nimport { MAX_CRAFT_SKILL_TAGS } from '../../constants/business-user.js';\nimport {\n HALL_CONTENT_DETAIL_SURFACES,\n HALL_CONTENT_SUB_ITEM_SURFACES,\n} from '../../constants/hall-content-routing.js';\nimport {\n ContentMediaKindSchema,\n type MediaPublicationKind,\n} from '../../doc-schemas/media-assets.js';\nimport {\n CraftSkillAttestationSchema,\n CraftSkillKindSchema,\n CraftSkillSourceReferenceSchema,\n} from '../../doc-schemas/user.js';\nimport { AuditionModeSchema, AuditionTypeSchema } from '../../doc-schemas/commissions.js';\nimport { SystemVideoSlotIdSchema } from '../../system-slots/system-slots.js';\nimport { ConversationFileRefSchema } from '../conversation-file-ref.js';\nimport { SquareStreetzPostMentionsSchema } from '../atoms.js';\nimport {\n auditionEntryIdSchema,\n auditionIdSchema,\n commissionListingIdSchema,\n conversationFileIdSchema,\n craftSkillIdSchema,\n hallSubItemIdSchema,\n itemIdSchema,\n squareStreetzPostIdSchema,\n userIdSchema,\n workFileFolderIdSchema,\n workFileIdSchema,\n workProjectIdSchema,\n workRealmIdSchema,\n} from '../../schemas/atoms.js';\n\nexport const ProfilePicturePublicationArgsSchema = z\n .object({\n userId: userIdSchema,\n })\n .strict();\nexport type ProfilePicturePublicationArgs = z.infer<typeof ProfilePicturePublicationArgsSchema>;\n\nexport const CraftSkillMediaPublicationArgsSchema = z\n .object({\n userId: userIdSchema,\n craftSkillId: craftSkillIdSchema,\n name: z.string(),\n skillType: ContentMediaKindSchema,\n kind: CraftSkillKindSchema,\n attestation: CraftSkillAttestationSchema,\n source: CraftSkillSourceReferenceSchema.optional(),\n tags: z.array(z.enum(CRAFT_SKILL_TAG_VALUES)).min(1).max(MAX_CRAFT_SKILL_TAGS),\n })\n .strict();\nexport type CraftSkillMediaPublicationArgs = z.infer<typeof CraftSkillMediaPublicationArgsSchema>;\n\nexport const WorkAssetPublicationArgsSchema = z\n .object({\n workProjectId: workProjectIdSchema,\n folderId: workFileFolderIdSchema,\n workFileId: workFileIdSchema,\n userId: userIdSchema,\n name: z.string(),\n size: z.number().int().nonnegative(),\n contentType: z.string().min(1),\n mediaKind: ContentMediaKindSchema,\n })\n .strict();\nexport type WorkAssetPublicationArgs = z.infer<typeof WorkAssetPublicationArgsSchema>;\n\nexport const HallCoverPublicationArgsSchema = z\n .object({\n workProjectId: workProjectIdSchema,\n itemType: z.enum(HALL_CONTENT_DETAIL_SURFACES),\n itemId: itemIdSchema,\n })\n .strict();\nexport type HallCoverPublicationArgs = z.infer<typeof HallCoverPublicationArgsSchema>;\n\nexport const RealmCoverPublicationArgsSchema = z\n .object({ workRealmId: workRealmIdSchema })\n .strict();\nexport type RealmCoverPublicationArgs = z.infer<typeof RealmCoverPublicationArgsSchema>;\n\nexport const WorkContentMediaPublicationArgsSchema = z\n .object({\n workProjectId: workProjectIdSchema,\n itemType: z.enum(HALL_CONTENT_SUB_ITEM_SURFACES),\n parentId: itemIdSchema,\n itemId: hallSubItemIdSchema,\n })\n .strict();\nexport type WorkContentMediaPublicationArgs = z.infer<typeof WorkContentMediaPublicationArgsSchema>;\n\nexport const ConversationFilePublicationArgsSchema = z\n .object({\n conversation: ConversationFileRefSchema,\n conversationFileId: conversationFileIdSchema,\n uploadedByUid: userIdSchema,\n name: z.string().min(1),\n mediaKind: ContentMediaKindSchema,\n contentType: z.string().min(1),\n reservedBytes: z.number().int().nonnegative(),\n })\n .strict();\nexport type ConversationFilePublicationArgs = z.infer<typeof ConversationFilePublicationArgsSchema>;\n\nexport const SquarePostMediaPublicationArgsSchema = z\n .object({\n userId: userIdSchema,\n postId: squareStreetzPostIdSchema,\n content: z.string(),\n mentions: SquareStreetzPostMentionsSchema,\n mediaType: ContentMediaKindSchema,\n })\n .strict();\nexport type SquarePostMediaPublicationArgs = z.infer<typeof SquarePostMediaPublicationArgsSchema>;\n\nexport const CommissionListingMediaPublicationArgsSchema = z\n .object({\n commissionListingId: commissionListingIdSchema,\n userId: userIdSchema,\n title: z.string(),\n description: z.string(),\n requiredTradeProfessions: z.array(z.string()),\n postingStakeSharesOffered: z.number().int(),\n attachmentName: z.string(),\n attachmentType: ContentMediaKindSchema,\n attachmentSize: z.number().int().nonnegative(),\n workProjectAssociatedWith: z\n .object({\n workProjectId: workProjectIdSchema,\n type: z.string().min(1),\n })\n .strict(),\n })\n .strict();\nexport type CommissionListingMediaPublicationArgs = z.infer<\n typeof CommissionListingMediaPublicationArgsSchema\n>;\n\nexport const CommissionProposalMediaPublicationArgsSchema = z\n .object({\n commissionListingId: commissionListingIdSchema,\n userId: userIdSchema,\n coverLetterText: z.string(),\n replyFileType: ContentMediaKindSchema,\n })\n .strict();\nexport type CommissionProposalMediaPublicationArgs = z.infer<\n typeof CommissionProposalMediaPublicationArgsSchema\n>;\n\nconst auditionPromptModeFields = {\n auditionMode: AuditionModeSchema.optional(),\n expectedOptionCount: z.number().optional(),\n};\n\nconst WorkPromptPublicationArgsSchema = z\n .object({\n mode: z.literal('workPrompt'),\n userId: userIdSchema,\n auditionId: auditionIdSchema,\n workProjectId: workProjectIdSchema,\n title: z.string(),\n description: z.string(),\n entriesCloseAt: z.number(),\n auditionCloseAt: z.number(),\n submittedAt: z.number(),\n stakeSharesOffered: z.number().optional(),\n ...auditionPromptModeFields,\n })\n .strict();\n\nconst AdminPromptPublicationArgsSchema = z\n .object({\n mode: z.literal('adminPrompt'),\n userId: userIdSchema,\n auditionId: auditionIdSchema,\n auditionType: AuditionTypeSchema.exclude(['workAudition']),\n title: z.string(),\n description: z.string(),\n entriesCloseAt: z.number(),\n auditionCloseAt: z.number(),\n submittedAt: z.number(),\n sponsoredAuditionAmountUSD: z.number().optional(),\n ...auditionPromptModeFields,\n })\n .strict();\n\nconst EntryPublicationArgsSchema = z\n .object({\n mode: z.literal('entry'),\n userId: userIdSchema,\n auditionId: auditionIdSchema,\n auditionEntryId: auditionEntryIdSchema,\n submittedAt: z.number(),\n })\n .strict();\n\nexport const AuditionMediaPublicationArgsSchema = z.discriminatedUnion('mode', [\n WorkPromptPublicationArgsSchema,\n AdminPromptPublicationArgsSchema,\n EntryPublicationArgsSchema,\n]);\nexport type AuditionMediaPublicationArgs = z.infer<typeof AuditionMediaPublicationArgsSchema>;\n\nexport const SystemVideoSlotPublicationArgsSchema = z\n .object({ slotId: SystemVideoSlotIdSchema })\n .strict();\nexport type SystemVideoSlotPublicationArgs = z.infer<typeof SystemVideoSlotPublicationArgsSchema>;\n\nexport const MEDIA_PUBLICATION_ARGS_SCHEMAS = {\n profilePicture: ProfilePicturePublicationArgsSchema,\n squarePostMedia: SquarePostMediaPublicationArgsSchema,\n workAsset: WorkAssetPublicationArgsSchema,\n hallCover: HallCoverPublicationArgsSchema,\n realmCover: RealmCoverPublicationArgsSchema,\n workContentMedia: WorkContentMediaPublicationArgsSchema,\n auditionMedia: AuditionMediaPublicationArgsSchema,\n commissionListingMedia: CommissionListingMediaPublicationArgsSchema,\n commissionProposalMedia: CommissionProposalMediaPublicationArgsSchema,\n craftSkillMedia: CraftSkillMediaPublicationArgsSchema,\n conversationFile: ConversationFilePublicationArgsSchema,\n systemVideoSlot: SystemVideoSlotPublicationArgsSchema,\n} as const satisfies Record<MediaPublicationKind, z.ZodType>;\n"]}
|
|
1
|
+
{"version":3,"file":"publication-args.js","sourceRoot":"","sources":["../../../src/media/publication/publication-args.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,0CAA0C;AAE1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,sBAAsB,GAEvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,mBAA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AAEZ,MAAM,kCAAkC,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAChC,GAAG,8BAA8B;CAClC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC7E,+BAA+B;IAC/B,gCAAgC;IAChC,0BAA0B;IAC1B,kCAAkC;CACnC,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,MAAM,CAAC,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC;KAC3C,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,cAAc,EAAE,mCAAmC;IACnD,eAAe,EAAE,oCAAoC;IACrD,SAAS,EAAE,8BAA8B;IACzC,SAAS,EAAE,8BAA8B;IACzC,UAAU,EAAE,+BAA+B;IAC3C,gBAAgB,EAAE,qCAAqC;IACvD,aAAa,EAAE,kCAAkC;IACjD,sBAAsB,EAAE,2CAA2C;IACnE,uBAAuB,EAAE,4CAA4C;IACrE,eAAe,EAAE,oCAAoC;IACrD,gBAAgB,EAAE,qCAAqC;IACvD,eAAe,EAAE,oCAAoC;CACK,CAAC","sourcesContent":["// Typed text is a plain string here: the adapter judges it after the parse, so a refused text ends\n// the job instead of failing every retry.\n\nimport { z } from 'zod';\nimport { CRAFT_SKILL_TAG_VALUES } from '../../constants/options.js';\nimport { MAX_CRAFT_SKILL_TAGS } from '../../constants/business-user.js';\nimport {\n HALL_CONTENT_DETAIL_SURFACES,\n HALL_CONTENT_SUB_ITEM_SURFACES,\n} from '../../constants/hall-content-routing.js';\nimport {\n ContentMediaKindSchema,\n type MediaPublicationKind,\n} from '../../doc-schemas/media-assets.js';\nimport {\n CraftSkillAttestationSchema,\n CraftSkillKindSchema,\n CraftSkillSourceReferenceSchema,\n} from '../../doc-schemas/user.js';\nimport { AuditionModeSchema, AuditionTypeSchema } from '../../doc-schemas/commissions.js';\nimport { SystemVideoSlotIdSchema } from '../../system-slots/system-slots.js';\nimport { ConversationFileRefSchema } from '../conversation-file-ref.js';\nimport { SquareStreetzPostMentionsSchema } from '../atoms.js';\nimport {\n auditionEntryIdSchema,\n auditionIdSchema,\n commissionListingIdSchema,\n conversationFileIdSchema,\n craftSkillIdSchema,\n hallSubItemIdSchema,\n itemIdSchema,\n squareStreetzPostIdSchema,\n storedAgreementVersionSchema,\n userIdSchema,\n workFileFolderIdSchema,\n workFileIdSchema,\n workProjectIdSchema,\n workRealmIdSchema,\n} from '../../schemas/atoms.js';\n\nexport const ProfilePicturePublicationArgsSchema = z\n .object({\n userId: userIdSchema,\n })\n .strict();\nexport type ProfilePicturePublicationArgs = z.infer<typeof ProfilePicturePublicationArgsSchema>;\n\nexport const CraftSkillMediaPublicationArgsSchema = z\n .object({\n userId: userIdSchema,\n craftSkillId: craftSkillIdSchema,\n name: z.string(),\n skillType: ContentMediaKindSchema,\n kind: CraftSkillKindSchema,\n attestation: CraftSkillAttestationSchema,\n source: CraftSkillSourceReferenceSchema.optional(),\n tags: z.array(z.enum(CRAFT_SKILL_TAG_VALUES)).min(1).max(MAX_CRAFT_SKILL_TAGS),\n })\n .strict();\nexport type CraftSkillMediaPublicationArgs = z.infer<typeof CraftSkillMediaPublicationArgsSchema>;\n\nexport const WorkAssetPublicationArgsSchema = z\n .object({\n workProjectId: workProjectIdSchema,\n folderId: workFileFolderIdSchema,\n workFileId: workFileIdSchema,\n userId: userIdSchema,\n name: z.string(),\n size: z.number().int().nonnegative(),\n contentType: z.string().min(1),\n mediaKind: ContentMediaKindSchema,\n })\n .strict();\nexport type WorkAssetPublicationArgs = z.infer<typeof WorkAssetPublicationArgsSchema>;\n\nexport const HallCoverPublicationArgsSchema = z\n .object({\n workProjectId: workProjectIdSchema,\n itemType: z.enum(HALL_CONTENT_DETAIL_SURFACES),\n itemId: itemIdSchema,\n })\n .strict();\nexport type HallCoverPublicationArgs = z.infer<typeof HallCoverPublicationArgsSchema>;\n\nexport const RealmCoverPublicationArgsSchema = z\n .object({ workRealmId: workRealmIdSchema })\n .strict();\nexport type RealmCoverPublicationArgs = z.infer<typeof RealmCoverPublicationArgsSchema>;\n\nexport const WorkContentMediaPublicationArgsSchema = z\n .object({\n workProjectId: workProjectIdSchema,\n itemType: z.enum(HALL_CONTENT_SUB_ITEM_SURFACES),\n parentId: itemIdSchema,\n itemId: hallSubItemIdSchema,\n })\n .strict();\nexport type WorkContentMediaPublicationArgs = z.infer<typeof WorkContentMediaPublicationArgsSchema>;\n\nexport const ConversationFilePublicationArgsSchema = z\n .object({\n conversation: ConversationFileRefSchema,\n conversationFileId: conversationFileIdSchema,\n uploadedByUid: userIdSchema,\n name: z.string().min(1),\n mediaKind: ContentMediaKindSchema,\n contentType: z.string().min(1),\n reservedBytes: z.number().int().nonnegative(),\n })\n .strict();\nexport type ConversationFilePublicationArgs = z.infer<typeof ConversationFilePublicationArgsSchema>;\n\nexport const SquarePostMediaPublicationArgsSchema = z\n .object({\n userId: userIdSchema,\n postId: squareStreetzPostIdSchema,\n content: z.string(),\n mentions: SquareStreetzPostMentionsSchema,\n mediaType: ContentMediaKindSchema,\n })\n .strict();\nexport type SquarePostMediaPublicationArgs = z.infer<typeof SquarePostMediaPublicationArgsSchema>;\n\nexport const CommissionListingMediaPublicationArgsSchema = z\n .object({\n commissionListingId: commissionListingIdSchema,\n userId: userIdSchema,\n title: z.string(),\n description: z.string(),\n requiredTradeProfessions: z.array(z.string()),\n postingStakeSharesOffered: z.number().int(),\n attachmentName: z.string(),\n attachmentType: ContentMediaKindSchema,\n attachmentSize: z.number().int().nonnegative(),\n workProjectAssociatedWith: z\n .object({\n workProjectId: workProjectIdSchema,\n type: z.string().min(1),\n })\n .strict(),\n })\n .strict();\nexport type CommissionListingMediaPublicationArgs = z.infer<\n typeof CommissionListingMediaPublicationArgsSchema\n>;\n\nexport const CommissionProposalMediaPublicationArgsSchema = z\n .object({\n commissionListingId: commissionListingIdSchema,\n userId: userIdSchema,\n coverLetterText: z.string(),\n replyFileType: ContentMediaKindSchema,\n agreementVersion: storedAgreementVersionSchema,\n })\n .strict();\nexport type CommissionProposalMediaPublicationArgs = z.infer<\n typeof CommissionProposalMediaPublicationArgsSchema\n>;\n\nconst auditionPromptModeFields = {\n auditionMode: AuditionModeSchema.optional(),\n expectedOptionCount: z.number().optional(),\n};\n\nconst WorkPromptPublicationArgsSchema = z\n .object({\n mode: z.literal('workPrompt'),\n userId: userIdSchema,\n auditionId: auditionIdSchema,\n workProjectId: workProjectIdSchema,\n title: z.string(),\n description: z.string(),\n entriesCloseAt: z.number(),\n auditionCloseAt: z.number(),\n submittedAt: z.number(),\n stakeSharesOffered: z.number().optional(),\n ...auditionPromptModeFields,\n })\n .strict();\n\nconst AdminPromptPublicationArgsSchema = z\n .object({\n mode: z.literal('adminPrompt'),\n userId: userIdSchema,\n auditionId: auditionIdSchema,\n auditionType: AuditionTypeSchema.exclude(['workAudition']),\n title: z.string(),\n description: z.string(),\n entriesCloseAt: z.number(),\n auditionCloseAt: z.number(),\n submittedAt: z.number(),\n sponsoredAuditionAmountUSD: z.number().optional(),\n ...auditionPromptModeFields,\n })\n .strict();\n\nconst auditionEntryPublicationFields = {\n userId: userIdSchema,\n auditionId: auditionIdSchema,\n auditionEntryId: auditionEntryIdSchema,\n submittedAt: z.number(),\n};\n\nconst EntryPublicationArgsSchema = z\n .object({\n mode: z.literal('entry'),\n ...auditionEntryPublicationFields,\n agreementVersion: storedAgreementVersionSchema,\n })\n .strict();\n\nconst CuratedOptionPublicationArgsSchema = z\n .object({\n mode: z.literal('curatedOption'),\n ...auditionEntryPublicationFields,\n })\n .strict();\n\nexport const AuditionMediaPublicationArgsSchema = z.discriminatedUnion('mode', [\n WorkPromptPublicationArgsSchema,\n AdminPromptPublicationArgsSchema,\n EntryPublicationArgsSchema,\n CuratedOptionPublicationArgsSchema,\n]);\nexport type AuditionMediaPublicationArgs = z.infer<typeof AuditionMediaPublicationArgsSchema>;\n\nexport const SystemVideoSlotPublicationArgsSchema = z\n .object({ slotId: SystemVideoSlotIdSchema })\n .strict();\nexport type SystemVideoSlotPublicationArgs = z.infer<typeof SystemVideoSlotPublicationArgsSchema>;\n\nexport const MEDIA_PUBLICATION_ARGS_SCHEMAS = {\n profilePicture: ProfilePicturePublicationArgsSchema,\n squarePostMedia: SquarePostMediaPublicationArgsSchema,\n workAsset: WorkAssetPublicationArgsSchema,\n hallCover: HallCoverPublicationArgsSchema,\n realmCover: RealmCoverPublicationArgsSchema,\n workContentMedia: WorkContentMediaPublicationArgsSchema,\n auditionMedia: AuditionMediaPublicationArgsSchema,\n commissionListingMedia: CommissionListingMediaPublicationArgsSchema,\n commissionProposalMedia: CommissionProposalMediaPublicationArgsSchema,\n craftSkillMedia: CraftSkillMediaPublicationArgsSchema,\n conversationFile: ConversationFilePublicationArgsSchema,\n systemVideoSlot: SystemVideoSlotPublicationArgsSchema,\n} as const satisfies Record<MediaPublicationKind, z.ZodType>;\n"]}
|
|
@@ -10,6 +10,7 @@ export declare const StartUploadRequestSchema: z.ZodObject<{
|
|
|
10
10
|
"commission-proposal": "commission-proposal";
|
|
11
11
|
"audition-prompt": "audition-prompt";
|
|
12
12
|
"audition-entry": "audition-entry";
|
|
13
|
+
"audition-curated-option": "audition-curated-option";
|
|
13
14
|
"admin-audition-prompt": "admin-audition-prompt";
|
|
14
15
|
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
15
16
|
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-upload.d.ts","sourceRoot":"","sources":["../../src/media/start-upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"start-upload.d.ts","sourceRoot":"","sources":["../../src/media/start-upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAU1B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;kBAI3B,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -199,6 +199,9 @@ export declare const AuditionEntryTargetInfoSchema: z.ZodObject<{
|
|
|
199
199
|
auditionId: z.ZodString;
|
|
200
200
|
agreementVersion: z.ZodLiteral<1>;
|
|
201
201
|
}, z.core.$strict>;
|
|
202
|
+
export declare const AuditionCuratedOptionTargetInfoSchema: z.ZodObject<{
|
|
203
|
+
auditionId: z.ZodString;
|
|
204
|
+
}, z.core.$strict>;
|
|
202
205
|
export declare const HallLibraryCoverSquareTargetInfoSchema: z.ZodObject<{
|
|
203
206
|
workProjectId: z.ZodString;
|
|
204
207
|
itemType: z.ZodEnum<{
|
|
@@ -327,6 +330,7 @@ export type CommissionProposalTargetInfo = z.infer<typeof CommissionProposalTarg
|
|
|
327
330
|
export type AuditionPromptTargetInfo = z.infer<typeof AuditionPromptTargetInfoSchema>;
|
|
328
331
|
export type AdminAuditionPromptTargetInfo = z.infer<typeof AdminAuditionPromptTargetInfoSchema>;
|
|
329
332
|
export type AuditionEntryTargetInfo = z.infer<typeof AuditionEntryTargetInfoSchema>;
|
|
333
|
+
export type AuditionCuratedOptionTargetInfo = z.infer<typeof AuditionCuratedOptionTargetInfoSchema>;
|
|
330
334
|
export type HallLibraryCoverSquareTargetInfo = z.infer<typeof HallLibraryCoverSquareTargetInfoSchema>;
|
|
331
335
|
export type HallLibraryCoverPosterTargetInfo = z.infer<typeof HallLibraryCoverPosterTargetInfoSchema>;
|
|
332
336
|
export type HallLibraryCoverCinematicTargetInfo = z.infer<typeof HallLibraryCoverCinematicTargetInfoSchema>;
|
|
@@ -343,6 +347,6 @@ export declare const NciiEvidenceTargetInfoSchema: z.ZodObject<{
|
|
|
343
347
|
requestReference: z.ZodString;
|
|
344
348
|
}, z.core.$strict>;
|
|
345
349
|
export type NciiEvidenceTargetInfo = z.infer<typeof NciiEvidenceTargetInfoSchema>;
|
|
346
|
-
export type TargetInfoFor<O extends FileOrigin> = O extends 'profile-picture' ? ProfilePictureTargetInfo : O extends 'craft-skill-media' ? CraftSkillMediaTargetInfo : O extends 'squareStreetz' ? SquareStreetzTargetInfo : O extends 'commission-posting' ? CommissionPostingTargetInfo : O extends 'commission-proposal' ? CommissionProposalTargetInfo : O extends 'audition-prompt' ? AuditionPromptTargetInfo : O extends 'admin-audition-prompt' ? AdminAuditionPromptTargetInfo : O extends 'audition-entry' ? AuditionEntryTargetInfo : O extends 'hallLibrary-cover-square' ? HallLibraryCoverSquareTargetInfo : O extends 'hallLibrary-cover-poster' ? HallLibraryCoverPosterTargetInfo : O extends 'hallLibrary-cover-cinematic' ? HallLibraryCoverCinematicTargetInfo : O extends 'realm-cover' ? RealmCoverTargetInfo : O extends 'chapter-photo' ? ChapterPhotoTargetInfo : O extends 'tune-track-photo' ? TuneTrackPhotoTargetInfo : O extends 'tune-track-audio' ? TuneTrackAudioTargetInfo : O extends 'television-episode-photo' ? TelevisionEpisodePhotoTargetInfo : O extends 'television-episode-video' ? TelevisionEpisodeVideoTargetInfo : O extends 'conversation-file' ? ConversationFileTargetInfo : O extends 'work-asset' ? WorkAssetTargetInfo : O extends 'system-content' ? SystemContentTargetInfo : O extends 'ncii-evidence' ? NciiEvidenceTargetInfo : never;
|
|
350
|
+
export type TargetInfoFor<O extends FileOrigin> = O extends 'profile-picture' ? ProfilePictureTargetInfo : O extends 'craft-skill-media' ? CraftSkillMediaTargetInfo : O extends 'squareStreetz' ? SquareStreetzTargetInfo : O extends 'commission-posting' ? CommissionPostingTargetInfo : O extends 'commission-proposal' ? CommissionProposalTargetInfo : O extends 'audition-prompt' ? AuditionPromptTargetInfo : O extends 'admin-audition-prompt' ? AdminAuditionPromptTargetInfo : O extends 'audition-entry' ? AuditionEntryTargetInfo : O extends 'audition-curated-option' ? AuditionCuratedOptionTargetInfo : O extends 'hallLibrary-cover-square' ? HallLibraryCoverSquareTargetInfo : O extends 'hallLibrary-cover-poster' ? HallLibraryCoverPosterTargetInfo : O extends 'hallLibrary-cover-cinematic' ? HallLibraryCoverCinematicTargetInfo : O extends 'realm-cover' ? RealmCoverTargetInfo : O extends 'chapter-photo' ? ChapterPhotoTargetInfo : O extends 'tune-track-photo' ? TuneTrackPhotoTargetInfo : O extends 'tune-track-audio' ? TuneTrackAudioTargetInfo : O extends 'television-episode-photo' ? TelevisionEpisodePhotoTargetInfo : O extends 'television-episode-video' ? TelevisionEpisodeVideoTargetInfo : O extends 'conversation-file' ? ConversationFileTargetInfo : O extends 'work-asset' ? WorkAssetTargetInfo : O extends 'system-content' ? SystemContentTargetInfo : O extends 'ncii-evidence' ? NciiEvidenceTargetInfo : never;
|
|
347
351
|
export declare function parseTargetInfo<O extends FileOrigin>(fileOrigin: O, raw: unknown): TargetInfoFor<O>;
|
|
348
352
|
//# sourceMappingURL=target-info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"target-info.d.ts","sourceRoot":"","sources":["../../src/media/target-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAiCnD,eAAO,MAAM,8BAA8B,iCAAwB,CAAC;AAoDpE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGG,CAAC;AAClD,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,i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AC,SAAS,mBAAmB,GAC3B,yBAAyB,GACzB,CAAC,SAAS,eAAe,GACvB,uBAAuB,GACvB,CAAC,SAAS,oBAAoB,GAC5B,2BAA2B,GAC3B,CAAC,SAAS,qBAAqB,GAC7B,4BAA4B,GAC5B,CAAC,SAAS,iBAAiB,GACzB,wBAAwB,GACxB,CAAC,SAAS,uBAAuB,GAC/B,6BAA6B,GAC7B,CAAC,SAAS,gBAAgB,GACxB,uBAAuB,GACvB,CAAC,SAAS,yBAAyB,GACjC,+BAA+B,GAC/B,CAAC,SAAS,0BAA0B,GAClC,gCAAgC,GAChC,CAAC,SAAS,0BAA0B,GAClC,gCAAgC,GAChC,CAAC,SAAS,6BAA6B,GACrC,mCAAmC,GACnC,CAAC,SAAS,aAAa,GACrB,oBAAoB,GACpB,CAAC,SAAS,eAAe,GACvB,sBAAsB,GACtB,CAAC,SAAS,kBAAkB,GAC1B,wBAAwB,GACxB,CAAC,SAAS,kBAAkB,GAC1B,wBAAwB,GACxB,CAAC,SAAS,0BAA0B,GAClC,gCAAgC,GAChC,CAAC,SAAS,0BAA0B,GAClC,gCAAgC,GAChC,CAAC,SAAS,mBAAmB,GAC3B,0BAA0B,GAC1B,CAAC,SAAS,YAAY,GACpB,mBAAmB,GACnB,CAAC,SAAS,gBAAgB,GACxB,uBAAuB,GACvB,CAAC,SAAS,eAAe,GACvB,sBAAsB,GACtB,KAAK,CAAC;AAMpD,wBAAgB,eAAe,CAAC,CAAC,SAAS,UAAU,EAClD,UAAU,EAAE,CAAC,EACb,GAAG,EAAE,OAAO,GACX,aAAa,CAAC,CAAC,CAAC,CAiDlB"}
|
|
@@ -149,6 +149,11 @@ export const AuditionEntryTargetInfoSchema = z
|
|
|
149
149
|
agreementVersion: z.literal(AUDITION_ENTRY_AGREEMENT_VERSION),
|
|
150
150
|
})
|
|
151
151
|
.strict();
|
|
152
|
+
export const AuditionCuratedOptionTargetInfoSchema = z
|
|
153
|
+
.object({
|
|
154
|
+
auditionId: auditionIdSchema,
|
|
155
|
+
})
|
|
156
|
+
.strict();
|
|
152
157
|
const HallLibraryCoverTargetInfoSchema = z
|
|
153
158
|
.object({
|
|
154
159
|
workProjectId: workProjectIdSchema,
|
|
@@ -227,6 +232,8 @@ export function parseTargetInfo(fileOrigin, raw) {
|
|
|
227
232
|
return AdminAuditionPromptTargetInfoSchema.parse(raw);
|
|
228
233
|
case 'audition-entry':
|
|
229
234
|
return AuditionEntryTargetInfoSchema.parse(raw);
|
|
235
|
+
case 'audition-curated-option':
|
|
236
|
+
return AuditionCuratedOptionTargetInfoSchema.parse(raw);
|
|
230
237
|
case 'hallLibrary-cover-square':
|
|
231
238
|
return HallLibraryCoverSquareTargetInfoSchema.parse(raw);
|
|
232
239
|
case 'hallLibrary-cover-poster':
|