@ttt-productions/ttt-core 0.14.1 → 0.14.2

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.
Files changed (41) hide show
  1. package/dist/doc-schemas/commissions.js +1 -1
  2. package/dist/doc-schemas/commissions.js.map +1 -1
  3. package/dist/doc-schemas/content.js +1 -1
  4. package/dist/doc-schemas/content.js.map +1 -1
  5. package/dist/doc-schemas/firestore-primitives.d.ts +11 -0
  6. package/dist/doc-schemas/firestore-primitives.d.ts.map +1 -0
  7. package/dist/doc-schemas/firestore-primitives.js +27 -0
  8. package/dist/doc-schemas/firestore-primitives.js.map +1 -0
  9. package/dist/doc-schemas/index.d.ts +2 -0
  10. package/dist/doc-schemas/index.d.ts.map +1 -1
  11. package/dist/doc-schemas/index.js +2 -0
  12. package/dist/doc-schemas/index.js.map +1 -1
  13. package/dist/doc-schemas/media-activation-jobs.d.ts +120 -0
  14. package/dist/doc-schemas/media-activation-jobs.d.ts.map +1 -0
  15. package/dist/doc-schemas/media-activation-jobs.js +53 -0
  16. package/dist/doc-schemas/media-activation-jobs.js.map +1 -0
  17. package/dist/doc-schemas/media-assets.d.ts +136 -0
  18. package/dist/doc-schemas/media-assets.d.ts.map +1 -1
  19. package/dist/doc-schemas/media-assets.js +76 -0
  20. package/dist/doc-schemas/media-assets.js.map +1 -1
  21. package/dist/doc-schemas/moderation.d.ts +7 -0
  22. package/dist/doc-schemas/moderation.d.ts.map +1 -1
  23. package/dist/doc-schemas/registry.d.ts +202 -0
  24. package/dist/doc-schemas/registry.d.ts.map +1 -1
  25. package/dist/doc-schemas/registry.js +2 -0
  26. package/dist/doc-schemas/registry.js.map +1 -1
  27. package/dist/doc-schemas/social.js +5 -5
  28. package/dist/doc-schemas/social.js.map +1 -1
  29. package/dist/doc-schemas/user.js +1 -1
  30. package/dist/doc-schemas/user.js.map +1 -1
  31. package/dist/media/pending-media.d.ts +112 -0
  32. package/dist/media/pending-media.d.ts.map +1 -1
  33. package/dist/paths/collections.d.ts +1 -0
  34. package/dist/paths/collections.d.ts.map +1 -1
  35. package/dist/paths/collections.js +1 -0
  36. package/dist/paths/collections.js.map +1 -1
  37. package/dist/paths/path-builders.d.ts +1 -0
  38. package/dist/paths/path-builders.d.ts.map +1 -1
  39. package/dist/paths/path-builders.js +2 -0
  40. package/dist/paths/path-builders.js.map +1 -1
  41. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"moderation.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/moderation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAItE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,6BAA6B;;;;;EAAmE,CAAC;AAC9G,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,6BAA6B;;;;EAA4C,CAAC;AACvF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,wCAAwC;;;;;EAKnD,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAI1G,eAAO,MAAM,yCAAyC;;;EAAuC,CAAC;AAC9F,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,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AM,yCAAyC;;;EAAuC,CAAC;AAC9F,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAE5G,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;iBAU1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;iBAQ5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
@@ -946,6 +946,13 @@ export declare const COLLECTION_SCHEMAS: {
946
946
  surface: z.ZodString;
947
947
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
948
948
  }, z.core.$strict>>;
949
+ publicationState: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
950
+ notStarted: "notStarted";
951
+ activating: "activating";
952
+ publishing: "publishing";
953
+ live: "live";
954
+ publicationFailed: "publicationFailed";
955
+ }>>>;
949
956
  createdAt: z.ZodOptional<z.ZodNumber>;
950
957
  updatedAt: z.ZodOptional<z.ZodNumber>;
951
958
  processingStartedAt: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1141,6 +1148,13 @@ export declare const COLLECTION_SCHEMAS: {
1141
1148
  surface: z.ZodString;
1142
1149
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1143
1150
  }, z.core.$strict>;
1151
+ publicationState: z.ZodOptional<z.ZodEnum<{
1152
+ notStarted: "notStarted";
1153
+ activating: "activating";
1154
+ publishing: "publishing";
1155
+ live: "live";
1156
+ publicationFailed: "publicationFailed";
1157
+ }>>;
1144
1158
  createdAt: z.ZodNumber;
1145
1159
  updatedAt: z.ZodNumber;
1146
1160
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1179,6 +1193,13 @@ export declare const COLLECTION_SCHEMAS: {
1179
1193
  surface: z.ZodString;
1180
1194
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1181
1195
  }, z.core.$strict>;
1196
+ publicationState: z.ZodOptional<z.ZodEnum<{
1197
+ notStarted: "notStarted";
1198
+ activating: "activating";
1199
+ publishing: "publishing";
1200
+ live: "live";
1201
+ publicationFailed: "publicationFailed";
1202
+ }>>;
1182
1203
  createdAt: z.ZodNumber;
1183
1204
  updatedAt: z.ZodNumber;
1184
1205
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1539,6 +1560,13 @@ export declare const COLLECTION_SCHEMAS: {
1539
1560
  surface: z.ZodString;
1540
1561
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1541
1562
  }, z.core.$strict>;
1563
+ publicationState: z.ZodOptional<z.ZodEnum<{
1564
+ notStarted: "notStarted";
1565
+ activating: "activating";
1566
+ publishing: "publishing";
1567
+ live: "live";
1568
+ publicationFailed: "publicationFailed";
1569
+ }>>;
1542
1570
  createdAt: z.ZodNumber;
1543
1571
  updatedAt: z.ZodNumber;
1544
1572
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1591,6 +1619,13 @@ export declare const COLLECTION_SCHEMAS: {
1591
1619
  surface: z.ZodString;
1592
1620
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1593
1621
  }, z.core.$strict>;
1622
+ publicationState: z.ZodOptional<z.ZodEnum<{
1623
+ notStarted: "notStarted";
1624
+ activating: "activating";
1625
+ publishing: "publishing";
1626
+ live: "live";
1627
+ publicationFailed: "publicationFailed";
1628
+ }>>;
1594
1629
  createdAt: z.ZodNumber;
1595
1630
  updatedAt: z.ZodNumber;
1596
1631
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1956,6 +1991,13 @@ export declare const COLLECTION_SCHEMAS: {
1956
1991
  surface: z.ZodString;
1957
1992
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1958
1993
  }, z.core.$strict>;
1994
+ publicationState: z.ZodOptional<z.ZodEnum<{
1995
+ notStarted: "notStarted";
1996
+ activating: "activating";
1997
+ publishing: "publishing";
1998
+ live: "live";
1999
+ publicationFailed: "publicationFailed";
2000
+ }>>;
1959
2001
  createdAt: z.ZodNumber;
1960
2002
  updatedAt: z.ZodNumber;
1961
2003
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2317,6 +2359,13 @@ export declare const COLLECTION_SCHEMAS: {
2317
2359
  surface: z.ZodString;
2318
2360
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2319
2361
  }, z.core.$strict>;
2362
+ publicationState: z.ZodOptional<z.ZodEnum<{
2363
+ notStarted: "notStarted";
2364
+ activating: "activating";
2365
+ publishing: "publishing";
2366
+ live: "live";
2367
+ publicationFailed: "publicationFailed";
2368
+ }>>;
2320
2369
  createdAt: z.ZodNumber;
2321
2370
  updatedAt: z.ZodNumber;
2322
2371
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2370,6 +2419,13 @@ export declare const COLLECTION_SCHEMAS: {
2370
2419
  surface: z.ZodString;
2371
2420
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2372
2421
  }, z.core.$strict>;
2422
+ publicationState: z.ZodOptional<z.ZodEnum<{
2423
+ notStarted: "notStarted";
2424
+ activating: "activating";
2425
+ publishing: "publishing";
2426
+ live: "live";
2427
+ publicationFailed: "publicationFailed";
2428
+ }>>;
2373
2429
  createdAt: z.ZodNumber;
2374
2430
  updatedAt: z.ZodNumber;
2375
2431
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2736,6 +2792,13 @@ export declare const COLLECTION_SCHEMAS: {
2736
2792
  surface: z.ZodString;
2737
2793
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2738
2794
  }, z.core.$strict>;
2795
+ publicationState: z.ZodOptional<z.ZodEnum<{
2796
+ notStarted: "notStarted";
2797
+ activating: "activating";
2798
+ publishing: "publishing";
2799
+ live: "live";
2800
+ publicationFailed: "publicationFailed";
2801
+ }>>;
2739
2802
  createdAt: z.ZodNumber;
2740
2803
  updatedAt: z.ZodNumber;
2741
2804
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2825,9 +2888,148 @@ export declare const COLLECTION_SCHEMAS: {
2825
2888
  realmPromotionNote: z.ZodOptional<z.ZodString>;
2826
2889
  realmPromotionRequestedByUid: z.ZodOptional<z.ZodString>;
2827
2890
  realmPromotionRequestedAt: z.ZodOptional<z.ZodNumber>;
2891
+ authorityVersion: z.ZodOptional<z.ZodNumber>;
2892
+ authorityPayloadHash: z.ZodOptional<z.ZodString>;
2893
+ authoritySyncState: z.ZodOptional<z.ZodEnum<{
2894
+ pending: "pending";
2895
+ applied: "applied";
2896
+ deadLetter: "deadLetter";
2897
+ }>>;
2898
+ publicationState: z.ZodOptional<z.ZodEnum<{
2899
+ unpublished: "unpublished";
2900
+ published: "published";
2901
+ retired: "retired";
2902
+ }>>;
2903
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2904
+ kind: z.ZodLiteral<"guildChannel">;
2905
+ workProjectId: z.ZodString;
2906
+ guildChatChannelId: z.ZodString;
2907
+ }, z.core.$strict>, z.ZodObject<{
2908
+ kind: z.ZodLiteral<"guildInvite">;
2909
+ guildInviteId: z.ZodString;
2910
+ }, z.core.$strict>], "kind">>;
2911
+ authorityAppliedAt: z.ZodOptional<z.ZodNumber>;
2912
+ publishedAt: z.ZodOptional<z.ZodNumber>;
2913
+ lastAuthorityError: z.ZodOptional<z.ZodObject<{
2914
+ code: z.ZodString;
2915
+ message: z.ZodString;
2916
+ retryable: z.ZodOptional<z.ZodBoolean>;
2917
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2918
+ at: z.ZodOptional<z.ZodNumber>;
2919
+ }, z.core.$strict>>;
2828
2920
  createdAt: z.ZodNumber;
2829
2921
  updatedAt: z.ZodNumber;
2830
2922
  }, z.core.$strict>;
2923
+ readonly 'mediaActivationJobs/{jobId}': z.ZodObject<{
2924
+ jobId: z.ZodString;
2925
+ schemaVersion: z.ZodNumber;
2926
+ assetId: z.ZodString;
2927
+ pendingMediaId: z.ZodString;
2928
+ fileOrigin: z.ZodEnum<{
2929
+ "profile-picture": "profile-picture";
2930
+ "craft-skill-media": "craft-skill-media";
2931
+ squareStreetz: "squareStreetz";
2932
+ "commission-posting": "commission-posting";
2933
+ "commission-proposal": "commission-proposal";
2934
+ "audition-prompt": "audition-prompt";
2935
+ "audition-entry": "audition-entry";
2936
+ "admin-audition-prompt": "admin-audition-prompt";
2937
+ "hallLibrary-cover-square": "hallLibrary-cover-square";
2938
+ "hallLibrary-cover-poster": "hallLibrary-cover-poster";
2939
+ "hallLibrary-cover-cinematic": "hallLibrary-cover-cinematic";
2940
+ "chapter-photo": "chapter-photo";
2941
+ "tune-track-photo": "tune-track-photo";
2942
+ "tune-track-audio": "tune-track-audio";
2943
+ "television-episode-photo": "television-episode-photo";
2944
+ "television-episode-video": "television-episode-video";
2945
+ "guild-chat-message-attachment": "guild-chat-message-attachment";
2946
+ "work-asset": "work-asset";
2947
+ }>;
2948
+ authorityVersion: z.ZodNumber;
2949
+ payloadHash: z.ZodString;
2950
+ authorityPayload: z.ZodObject<{
2951
+ schemaVersion: z.ZodNumber;
2952
+ assetId: z.ZodString;
2953
+ authorityVersion: z.ZodNumber;
2954
+ operationId: z.ZodString;
2955
+ payloadHash: z.ZodString;
2956
+ servingStatus: z.ZodEnum<{
2957
+ hidden: "hidden";
2958
+ servable: "servable";
2959
+ quarantined: "quarantined";
2960
+ deleted: "deleted";
2961
+ }>;
2962
+ accessTier: z.ZodEnum<{
2963
+ broad: "broad";
2964
+ scoped: "scoped";
2965
+ artisan: "artisan";
2966
+ adminOnly: "adminOnly";
2967
+ }>;
2968
+ ownerType: z.ZodEnum<{
2969
+ workProject: "workProject";
2970
+ audition: "audition";
2971
+ craftSkill: "craftSkill";
2972
+ hallItem: "hallItem";
2973
+ userProfile: "userProfile";
2974
+ squareStreetzPost: "squareStreetzPost";
2975
+ workContent: "workContent";
2976
+ commissionListing: "commissionListing";
2977
+ commissionProposal: "commissionProposal";
2978
+ auditionEntry: "auditionEntry";
2979
+ guildChatAttachment: "guildChatAttachment";
2980
+ realmFile: "realmFile";
2981
+ }>;
2982
+ ownerId: z.ZodString;
2983
+ scope: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2984
+ kind: z.ZodLiteral<"guildChannel">;
2985
+ workProjectId: z.ZodString;
2986
+ guildChatChannelId: z.ZodString;
2987
+ }, z.core.$strict>, z.ZodObject<{
2988
+ kind: z.ZodLiteral<"guildInvite">;
2989
+ guildInviteId: z.ZodString;
2990
+ }, z.core.$strict>], "kind">>;
2991
+ variants: z.ZodRecord<z.ZodString, z.ZodObject<{
2992
+ contentType: z.ZodString;
2993
+ sizeBytes: z.ZodNumber;
2994
+ width: z.ZodOptional<z.ZodNumber>;
2995
+ height: z.ZodOptional<z.ZodNumber>;
2996
+ durationSec: z.ZodOptional<z.ZodNumber>;
2997
+ }, z.core.$strict>>;
2998
+ updatedAtMs: z.ZodNumber;
2999
+ }, z.core.$strict>;
3000
+ publicationKind: z.ZodEnum<{
3001
+ profilePicture: "profilePicture";
3002
+ squarePostMedia: "squarePostMedia";
3003
+ workAsset: "workAsset";
3004
+ hallCover: "hallCover";
3005
+ auditionMedia: "auditionMedia";
3006
+ commissionListingMedia: "commissionListingMedia";
3007
+ commissionProposalMedia: "commissionProposalMedia";
3008
+ craftSkillMedia: "craftSkillMedia";
3009
+ chatAttachment: "chatAttachment";
3010
+ }>;
3011
+ publicationArgs: z.ZodUnknown;
3012
+ status: z.ZodEnum<{
3013
+ pending: "pending";
3014
+ complete: "complete";
3015
+ deadLetter: "deadLetter";
3016
+ authorityApplied: "authorityApplied";
3017
+ }>;
3018
+ attemptCount: z.ZodNumber;
3019
+ nextAttemptAt: z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>;
3020
+ lastError: z.ZodOptional<z.ZodObject<{
3021
+ code: z.ZodString;
3022
+ message: z.ZodString;
3023
+ retryable: z.ZodOptional<z.ZodBoolean>;
3024
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3025
+ at: z.ZodOptional<z.ZodNumber>;
3026
+ }, z.core.$strict>>;
3027
+ createdAt: z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>;
3028
+ authorityAppliedAt: z.ZodOptional<z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>>;
3029
+ completedAt: z.ZodOptional<z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>>;
3030
+ deadLetteredAt: z.ZodOptional<z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>>;
3031
+ expireAt: z.ZodOptional<z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>>;
3032
+ }, z.core.$strict>;
2831
3033
  readonly 'activeUserNotifications/{notificationId}': z.ZodObject<{
2832
3034
  id: z.ZodString;
2833
3035
  type: 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;AAsF7B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGkB,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAEvE;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAaiC,CAAC;AAEvE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAIvC,CAAC"}
@@ -21,6 +21,7 @@ import { TTTAuditEventSchema } from './audit.js';
21
21
  import { NotificationDocSchema, NotificationHistoryDocSchema, PendingNotificationSchema, FollowerReleaseJobSchema, NotificationBroadcastJobSchema, } from './notifications.js';
22
22
  import { PendingMediaSchema, ArchivedPendingMediaSchema } from '../media/pending-media.js';
23
23
  import { MediaAssetSchema } from './media-assets.js';
24
+ import { MediaActivationJobSchema } from './media-activation-jobs.js';
24
25
  import { ReservedDisplayNameSchema, StakeShareAuditEventSchema, ShortLinkSchema, FeedbackAliasSchema, UserSuggestionSchema, } from './operational.js';
25
26
  export const COLLECTION_SCHEMAS = {
26
27
  // ===== Users =====
@@ -84,6 +85,7 @@ export const COLLECTION_SCHEMAS = {
84
85
  'pendingMedia/{pendingMediaId}': PendingMediaSchema,
85
86
  'pendingMediaArchive/{pendingMediaId}': ArchivedPendingMediaSchema,
86
87
  'mediaAssets/{mediaAssetId}': MediaAssetSchema,
88
+ 'mediaActivationJobs/{jobId}': MediaActivationJobSchema,
87
89
  // ===== Notifications =====
88
90
  'activeUserNotifications/{notificationId}': NotificationDocSchema,
89
91
  'activeAdminNotifications/{notificationId}': NotificationDocSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/doc-schemas/registry.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,0FAA0F;AAC1F,oFAAoF;AACpF,yFAAyF;AACzF,mFAAmF;AACnF,EAAE;AACF,0FAA0F;AAC1F,4EAA4E;AAG5E,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,GAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,mBAAmB,EAAE,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,EAAE,eAAe;IACxC,2BAA2B,EAAE,mBAAmB;IAChD,+BAA+B,EAAE,uBAAuB;CACT,CAAC;AAIlD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,2DAA2D,EAAE,KAAK;IAClE,oFAAoF,EAAE,KAAK;IAC3F,2DAA2D,EAAE,KAAK;IAClE,gFAAgF,EAAE,KAAK;IACvF,sEAAsE,EAAE,KAAK;IAC7E,qGAAqG,EAAE,KAAK;IAC5G,wEAAwE,EAAE,oBAAoB;IAC9F,0CAA0C,EAAE,IAAI;IAChD,2CAA2C,EAAE,IAAI;IACjD,2CAA2C,EAAE,IAAI;IACjD,4DAA4D,EAAE,IAAI;IAClE,uCAAuC,EAAE,IAAI;CACuB,CAAC;AAEvE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,cAAc;IACd,iBAAiB;IACjB,kBAAkB;CACV,CAAC"}
@@ -1,7 +1,7 @@
1
- // Social Firestore document SCHEMAS — SquareStreetz posts, mention history, and
1
+ // Social Firestore document SCHEMAS SquareStreetz posts, mention history, and
2
2
  // follow edges. Types inferred via z.infer. (Pledge-payment ledger docs moved to
3
3
  // ../doc-schemas/payments.ts. SquareStreetzPostPayload is a transport shape, not a
4
- // stored doc — it stays in ../types/social.ts.)
4
+ // stored doc it stays in ../types/social.ts.)
5
5
  import { z } from 'zod';
6
6
  import { MentionSchema } from '../media/atoms.js';
7
7
  import { FollowableTargetTypeSchema } from '../schemas/social.js';
@@ -49,20 +49,20 @@ export const FollowEdgeSchema = z.object({
49
49
  targetId: z.string(),
50
50
  followedOn: z.number(),
51
51
  });
52
- // followCounters/{targetType__targetId} — denormalized follower count for a followable target,
52
+ // followCounters/{targetType__targetId} denormalized follower count for a followable target,
53
53
  // maintained by the follow/unfollow callables via FieldValue.increment (never written by clients).
54
54
  // The Hall Library "Most Followed" sort mirrors the workProject count onto hallItems.followerCount.
55
55
  export const FollowCounterSchema = z.object({
56
56
  followerCount: z.number(),
57
57
  updatedOn: z.number(),
58
58
  });
59
- // userProfiles/{uid}/userLikes/likeHistory/squareStreetzLikes/{postId} — a user's like on a
59
+ // userProfiles/{uid}/userLikes/likeHistory/squareStreetzLikes/{postId} a user's like on a
60
60
  // SquareStreetz post; existence == liked. The path nests three of the registry segments
61
61
  // (userLikes / likeHistory / squareStreetzLikes). (functions/src/social/likeSquareStreetzPost.ts)
62
62
  export const SquareStreetzLikeSchema = z.object({
63
63
  likedOn: z.number(),
64
64
  });
65
- // squareStreetzFeed/trendingPosts — singleton holding the ordered top-N trending post IDs that the
65
+ // squareStreetzFeed/trendingPosts singleton holding the ordered top-N trending post IDs that the
66
66
  // client infinite-scrolls through. (functions/src/social/runUpdateTrendingFeed.ts)
67
67
  export const TrendingPostsSchema = z.object({
68
68
  postIds: z.array(z.string()),
@@ -1 +1 @@
1
- {"version":3,"file":"social.js","sourceRoot":"","sources":["../../src/doc-schemas/social.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,iFAAiF;AACjF,mFAAmF;AACnF,kDAAkD;AAElD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAErE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC;IAChD,wBAAwB;IACxB,iBAAiB;IACjB,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,WAAW;IACX,kBAAkB;IAClB,mBAAmB;CACpB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,CAAC,CAAC,MAAM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C;AAGH,mGAAmG;AACnG,mFAAmF;AACnF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- // User-related Firestore document SCHEMAS — the single source of truth for the
1
+ // User-related Firestore document SCHEMAS the single source of truth for the
2
2
  // `userProfiles/{uid}` doc, its `privateData/{uid}` subdoc, and craft-skill shapes.
3
3
  // (The `publicUsers/{uid}` mirror lives in ./publicUser.) TypeScript types are
4
4
  // inferred from these schemas via `z.infer`, so a document's shape and its type
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/doc-schemas/user.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,oFAAoF;AACpF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAE/E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAE5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,eAAe;IACrB,2EAA2E;IAC3E,6EAA6E;IAC7E,yEAAyE;IACzE,MAAM,EAAE,CAAC,CAAC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AE;CACtC,CAAC,CAAC"}
@@ -357,6 +357,13 @@ export declare const PendingMediaPendingSchema: z.ZodObject<{
357
357
  surface: z.ZodString;
358
358
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
359
359
  }, z.core.$strict>;
360
+ publicationState: z.ZodOptional<z.ZodEnum<{
361
+ notStarted: "notStarted";
362
+ activating: "activating";
363
+ publishing: "publishing";
364
+ live: "live";
365
+ publicationFailed: "publicationFailed";
366
+ }>>;
360
367
  createdAt: z.ZodNumber;
361
368
  updatedAt: z.ZodNumber;
362
369
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -396,6 +403,13 @@ export declare const PendingMediaProcessingSchema: z.ZodObject<{
396
403
  surface: z.ZodString;
397
404
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
398
405
  }, z.core.$strict>;
406
+ publicationState: z.ZodOptional<z.ZodEnum<{
407
+ notStarted: "notStarted";
408
+ activating: "activating";
409
+ publishing: "publishing";
410
+ live: "live";
411
+ publicationFailed: "publicationFailed";
412
+ }>>;
399
413
  createdAt: z.ZodNumber;
400
414
  updatedAt: z.ZodNumber;
401
415
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -757,6 +771,13 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
757
771
  surface: z.ZodString;
758
772
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
759
773
  }, z.core.$strict>;
774
+ publicationState: z.ZodOptional<z.ZodEnum<{
775
+ notStarted: "notStarted";
776
+ activating: "activating";
777
+ publishing: "publishing";
778
+ live: "live";
779
+ publicationFailed: "publicationFailed";
780
+ }>>;
760
781
  createdAt: z.ZodNumber;
761
782
  updatedAt: z.ZodNumber;
762
783
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -810,6 +831,13 @@ export declare const PendingMediaFailedSchema: z.ZodObject<{
810
831
  surface: z.ZodString;
811
832
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
812
833
  }, z.core.$strict>;
834
+ publicationState: z.ZodOptional<z.ZodEnum<{
835
+ notStarted: "notStarted";
836
+ activating: "activating";
837
+ publishing: "publishing";
838
+ live: "live";
839
+ publicationFailed: "publicationFailed";
840
+ }>>;
813
841
  createdAt: z.ZodNumber;
814
842
  updatedAt: z.ZodNumber;
815
843
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1176,6 +1204,13 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
1176
1204
  surface: z.ZodString;
1177
1205
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1178
1206
  }, z.core.$strict>;
1207
+ publicationState: z.ZodOptional<z.ZodEnum<{
1208
+ notStarted: "notStarted";
1209
+ activating: "activating";
1210
+ publishing: "publishing";
1211
+ live: "live";
1212
+ publicationFailed: "publicationFailed";
1213
+ }>>;
1179
1214
  createdAt: z.ZodNumber;
1180
1215
  updatedAt: z.ZodNumber;
1181
1216
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1214,6 +1249,13 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1214
1249
  surface: z.ZodString;
1215
1250
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1216
1251
  }, z.core.$strict>;
1252
+ publicationState: z.ZodOptional<z.ZodEnum<{
1253
+ notStarted: "notStarted";
1254
+ activating: "activating";
1255
+ publishing: "publishing";
1256
+ live: "live";
1257
+ publicationFailed: "publicationFailed";
1258
+ }>>;
1217
1259
  createdAt: z.ZodNumber;
1218
1260
  updatedAt: z.ZodNumber;
1219
1261
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1252,6 +1294,13 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1252
1294
  surface: z.ZodString;
1253
1295
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1254
1296
  }, z.core.$strict>;
1297
+ publicationState: z.ZodOptional<z.ZodEnum<{
1298
+ notStarted: "notStarted";
1299
+ activating: "activating";
1300
+ publishing: "publishing";
1301
+ live: "live";
1302
+ publicationFailed: "publicationFailed";
1303
+ }>>;
1255
1304
  createdAt: z.ZodNumber;
1256
1305
  updatedAt: z.ZodNumber;
1257
1306
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1612,6 +1661,13 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1612
1661
  surface: z.ZodString;
1613
1662
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1614
1663
  }, z.core.$strict>;
1664
+ publicationState: z.ZodOptional<z.ZodEnum<{
1665
+ notStarted: "notStarted";
1666
+ activating: "activating";
1667
+ publishing: "publishing";
1668
+ live: "live";
1669
+ publicationFailed: "publicationFailed";
1670
+ }>>;
1615
1671
  createdAt: z.ZodNumber;
1616
1672
  updatedAt: z.ZodNumber;
1617
1673
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -1664,6 +1720,13 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1664
1720
  surface: z.ZodString;
1665
1721
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1666
1722
  }, z.core.$strict>;
1723
+ publicationState: z.ZodOptional<z.ZodEnum<{
1724
+ notStarted: "notStarted";
1725
+ activating: "activating";
1726
+ publishing: "publishing";
1727
+ live: "live";
1728
+ publicationFailed: "publicationFailed";
1729
+ }>>;
1667
1730
  createdAt: z.ZodNumber;
1668
1731
  updatedAt: z.ZodNumber;
1669
1732
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2029,6 +2092,13 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2029
2092
  surface: z.ZodString;
2030
2093
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2031
2094
  }, z.core.$strict>;
2095
+ publicationState: z.ZodOptional<z.ZodEnum<{
2096
+ notStarted: "notStarted";
2097
+ activating: "activating";
2098
+ publishing: "publishing";
2099
+ live: "live";
2100
+ publicationFailed: "publicationFailed";
2101
+ }>>;
2032
2102
  createdAt: z.ZodNumber;
2033
2103
  updatedAt: z.ZodNumber;
2034
2104
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2390,6 +2460,13 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
2390
2460
  surface: z.ZodString;
2391
2461
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2392
2462
  }, z.core.$strict>;
2463
+ publicationState: z.ZodOptional<z.ZodEnum<{
2464
+ notStarted: "notStarted";
2465
+ activating: "activating";
2466
+ publishing: "publishing";
2467
+ live: "live";
2468
+ publicationFailed: "publicationFailed";
2469
+ }>>;
2393
2470
  createdAt: z.ZodNumber;
2394
2471
  updatedAt: z.ZodNumber;
2395
2472
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2444,6 +2521,13 @@ export declare const ArchivedPendingMediaFailedSchema: z.ZodObject<{
2444
2521
  surface: z.ZodString;
2445
2522
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2446
2523
  }, z.core.$strict>;
2524
+ publicationState: z.ZodOptional<z.ZodEnum<{
2525
+ notStarted: "notStarted";
2526
+ activating: "activating";
2527
+ publishing: "publishing";
2528
+ live: "live";
2529
+ publicationFailed: "publicationFailed";
2530
+ }>>;
2447
2531
  createdAt: z.ZodNumber;
2448
2532
  updatedAt: z.ZodNumber;
2449
2533
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -2811,6 +2895,13 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
2811
2895
  surface: z.ZodString;
2812
2896
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2813
2897
  }, z.core.$strict>;
2898
+ publicationState: z.ZodOptional<z.ZodEnum<{
2899
+ notStarted: "notStarted";
2900
+ activating: "activating";
2901
+ publishing: "publishing";
2902
+ live: "live";
2903
+ publicationFailed: "publicationFailed";
2904
+ }>>;
2814
2905
  createdAt: z.ZodNumber;
2815
2906
  updatedAt: z.ZodNumber;
2816
2907
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -3172,6 +3263,13 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
3172
3263
  surface: z.ZodString;
3173
3264
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3174
3265
  }, z.core.$strict>;
3266
+ publicationState: z.ZodOptional<z.ZodEnum<{
3267
+ notStarted: "notStarted";
3268
+ activating: "activating";
3269
+ publishing: "publishing";
3270
+ live: "live";
3271
+ publicationFailed: "publicationFailed";
3272
+ }>>;
3175
3273
  createdAt: z.ZodNumber;
3176
3274
  updatedAt: z.ZodNumber;
3177
3275
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -3225,6 +3323,13 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
3225
3323
  surface: z.ZodString;
3226
3324
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3227
3325
  }, z.core.$strict>;
3326
+ publicationState: z.ZodOptional<z.ZodEnum<{
3327
+ notStarted: "notStarted";
3328
+ activating: "activating";
3329
+ publishing: "publishing";
3330
+ live: "live";
3331
+ publicationFailed: "publicationFailed";
3332
+ }>>;
3228
3333
  createdAt: z.ZodNumber;
3229
3334
  updatedAt: z.ZodNumber;
3230
3335
  processingStartedAt: z.ZodOptional<z.ZodNumber>;
@@ -3591,6 +3696,13 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
3591
3696
  surface: z.ZodString;
3592
3697
  targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3593
3698
  }, z.core.$strict>;
3699
+ publicationState: z.ZodOptional<z.ZodEnum<{
3700
+ notStarted: "notStarted";
3701
+ activating: "activating";
3702
+ publishing: "publishing";
3703
+ live: "live";
3704
+ publicationFailed: "publicationFailed";
3705
+ }>>;
3594
3706
  createdAt: z.ZodNumber;
3595
3707
  updatedAt: z.ZodNumber;
3596
3708
  processingStartedAt: z.ZodOptional<z.ZodNumber>;