@ttt-productions/ttt-core 0.79.3 → 0.79.5
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 +6 -2
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/doc-schemas/registry.js +2 -2
- package/dist/doc-schemas/registry.js.map +1 -1
- package/dist/media/pending-media.d.ts +805 -0
- package/dist/media/pending-media.d.ts.map +1 -1
- package/dist/media/pending-media.js +2 -0
- package/dist/media/pending-media.js.map +1 -1
- package/dist/schemas/admin-dispatch-actions.d.ts +6 -3
- package/dist/schemas/admin-dispatch-actions.d.ts.map +1 -1
- package/dist/schemas/admin-dispatch-actions.js +15 -4
- package/dist/schemas/admin-dispatch-actions.js.map +1 -1
- package/dist/types/content.d.ts +0 -1
- package/dist/types/content.d.ts.map +1 -1
- package/dist/types/content.js.map +1 -1
- package/package.json +2 -2
|
@@ -2670,7 +2670,7 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2670
2670
|
processingAttemptCount: z.ZodOptional<z.ZodNumber>;
|
|
2671
2671
|
processingLeaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
2672
2672
|
}, z.core.$strict>], "status">;
|
|
2673
|
-
readonly 'pendingMediaArchive/{pendingMediaId}': z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2673
|
+
readonly 'pendingMediaArchive/{pendingMediaId}': z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2674
2674
|
status: z.ZodLiteral<"completed">;
|
|
2675
2675
|
completedAt: z.ZodNumber;
|
|
2676
2676
|
terminalAt: z.ZodNumber;
|
|
@@ -3463,7 +3463,11 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3463
3463
|
processingStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
3464
3464
|
processingAttemptCount: z.ZodOptional<z.ZodNumber>;
|
|
3465
3465
|
processingLeaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
3466
|
-
}, z.core.$strict>], "status"
|
|
3466
|
+
}, z.core.$strict>], "status">, z.ZodObject<{
|
|
3467
|
+
parseFailed: z.ZodLiteral<true>;
|
|
3468
|
+
archivedAt: z.ZodNumber;
|
|
3469
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3470
|
+
}, z.core.$strict>]>;
|
|
3467
3471
|
readonly 'mediaAssets/{mediaAssetId}': z.ZodObject<{
|
|
3468
3472
|
mediaAssetId: z.ZodString;
|
|
3469
3473
|
mediaKind: z.ZodEnum<{
|
|
@@ -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;AAiM7B,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;AAiM7B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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DeliverySchema, NotificationFanoutJobSchema, } from './notification-ledger.js';
|
|
24
24
|
import { ChatChannelAuthProjectionSchema, ChatScopeDegradedSchema, ChatScopeDegradedCauseSchema, ChatSyncEventSchema, ChatSyncFanoutJobSchema, ChatMessageOutboxSchema, ChatAdminActionCommandSchema, ChatHistoryAnonymizationJobSchema, ChatHistoryAnonymizationAffectedChunkSchema, } from './chat-sync.js';
|
|
25
25
|
import { SquareAnnouncementJobSchema } from './square-announcement-jobs.js';
|
|
26
|
-
import { PendingMediaSchema,
|
|
26
|
+
import { PendingMediaSchema, ArchivedPendingMediaDocSchema } from '../media/pending-media.js';
|
|
27
27
|
import { MediaAssetSchema } from './media-assets.js';
|
|
28
28
|
import { MediaActivationJobSchema } from './media-activation-jobs.js';
|
|
29
29
|
import { ReservedDisplayNameSchema, ReservedRealmNameSchema, StakeShareAuditEventSchema, ShortLinkSchema, FeedbackAliasSchema, UserSuggestionSchema, StatusReconcileQueueEntrySchema, } from './operational.js';
|
|
@@ -132,7 +132,7 @@ export const COLLECTION_SCHEMAS = {
|
|
|
132
132
|
'pendingAdminDispatches/{adminDispatchId}/conversationFiles/{conversationFileId}': ConversationFileSchema,
|
|
133
133
|
// ===== Media pipeline =====
|
|
134
134
|
'pendingMedia/{pendingMediaId}': PendingMediaSchema,
|
|
135
|
-
'pendingMediaArchive/{pendingMediaId}':
|
|
135
|
+
'pendingMediaArchive/{pendingMediaId}': ArchivedPendingMediaDocSchema,
|
|
136
136
|
'mediaAssets/{mediaAssetId}': MediaAssetSchema,
|
|
137
137
|
'mediaActivationJobs/{jobId}': MediaActivationJobSchema,
|
|
138
138
|
// ===== Notifications =====
|
|
@@ -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,4E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Ae;IACxC,2BAA2B,EAAE,mBAAmB;IAChD,+BAA+B,EAAE,uBAAuB;IACxD,mCAAmC,EAAE,2BAA2B;IAChE,qBAAqB,EAAE,mBAAmB;CACK,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,uFAAuF;IACvF,oFAAoF;IACpF,uCAAuC,EAAE,KAAK;IAC9C,uCAAuC,EAAE,KAAK;IAC9C,4CAA4C,EAAE,KAAK;IACnD,0CAA0C,EAAE,IAAI;IAChD,2CAA2C,EAAE,IAAI;IACjD,2CAA2C,EAAE,qBAAqB;IAClE,4DAA4D,EAAE,qBAAqB;IACnF,uCAAuC,EAAE,IAAI;IAC7C,4BAA4B,EAAE,KAAK;CACiC,CAAC;AAEvE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,cAAc;IACd,iBAAiB;IACjB,kBAAkB;IAClB,oFAAoF;IACpF,oEAAoE;IACpE,eAAe;CACP,CAAC","sourcesContent":["// Firestore collection registry — the single, authoritative binding from each Firestore\n// collection/subcollection path template to its document Zod schema. This is the input to\n// the schema-doc generator and the drift-check, and its completeness is CI-enforced\n// (registry.test.ts) against the COLLECTIONS / *_SUBCOLLECTIONS name constants, so a new\n// collection cannot be added without either a schema or an explicit PENDING entry.\n//\n// Path templates reuse the segment names from ../paths/collections.ts (and the shapes the\n// path-builders produce). `{placeholder}` segments are document/parent IDs.\n\nimport type { z } from 'zod';\nimport {\n FullUserSchema,\n UserPrivateDataSchema,\n CraftSkillSchema,\n CraftSkillReferenceSchema,\n} from './user.js';\nimport { PublicUserSchema } from './publicUser.js';\nimport { AccountDeletionRequestV1Schema } from './account-deletion.js';\nimport {\n FullWorkProjectSchema,\n PublicWorkProjectSchema,\n WorkFileFolderSchema,\n WorkFileSchema,\n WorkRealmSchema,\n GuildmateUserSchema,\n PublicGuildmateUserSchema,\n} from './work-project.js';\nimport {\n FullTaleSchema,\n FullChapterSchema,\n FullTuneSchema,\n FullTuneTrackSchema,\n FullTelevisionSchema,\n FullTelevisionEpisodeSchema,\n ThresholdItemSchema,\n PublishedHallItemSchema,\n PublishedChapterSchema,\n PublishedTuneTrackSchema,\n PublishedTelevisionEpisodeSchema,\n HallContentChangeRequestSchema,\n FuturePlansDocumentSchema,\n RulesAndAgreementsSchema,\n LegalPageDocumentSchema,\n TakeItDownPageCopySchema,\n HallLibraryPreferencesSchema,\n} from './content.js';\nimport {\n SquareStreetzPostSchema,\n MentionHistoryDocumentSchema,\n FollowEdgeSchema,\n FollowCounterSchema,\n SquareStreetzLikeSchema,\n TrendingPostsSchema,\n} from './social.js';\nimport {\n PledgePaymentSchema,\n PledgePaymentProviderRefSchema,\n ProcessedStripeEventSchema,\n PledgePaymentLedgerEventSchema,\n PaymentWebhookQuarantineSchema,\n PledgePaymentTotalsDocSchema,\n PledgeRefundRequestSchema,\n} from './payments.js';\nimport {\n FullCommissionListingSchema,\n CommissionProposalSchema,\n AuditionSchema,\n AuditionEntrySchema,\n UserAuditionVoteSchema,\n} from './commissions.js';\nimport {\n GuildChatChannelSchema,\n GuildInviteConversationSchema,\n AdminDispatchSchema,\n ChatMessageV1Schema,\n ConversationFileSchema,\n} from './messaging.js';\nimport { AppConfigSchema, AdminListSchema, ProfanityListSchema, ReservedUsernamesSchema, BlockedFranchiseNamesSchema, AppModeMarkerSchema } from './system.js';\nimport {\n ContentViolationSchema,\n ModerationCascadeManifestSchema,\n ModerationCascadeChangedDocSchema,\n} from './moderation.js';\nimport {\n AdminTaskDocSchema,\n} from './report-docs.js';\nimport { TTTAuditEventSchema } from './audit.js';\nimport {\n NotificationDocSchema,\n NotificationHistoryDocSchema,\n PendingNotificationSchema,\n} from './notifications.js';\nimport {\n NotificationDeliverySchema,\n NotificationFanoutJobSchema,\n} from './notification-ledger.js';\nimport {\n ChatChannelAuthProjectionSchema,\n ChatScopeDegradedSchema,\n ChatScopeDegradedCauseSchema,\n ChatSyncEventSchema,\n ChatSyncFanoutJobSchema,\n ChatMessageOutboxSchema,\n ChatAdminActionCommandSchema,\n ChatHistoryAnonymizationJobSchema,\n ChatHistoryAnonymizationAffectedChunkSchema,\n} from './chat-sync.js';\nimport { SquareAnnouncementJobSchema } from './square-announcement-jobs.js';\nimport { PendingMediaSchema, ArchivedPendingMediaSchema } from '../media/pending-media.js';\nimport { MediaAssetSchema } from './media-assets.js';\nimport { MediaActivationJobSchema } from './media-activation-jobs.js';\nimport {\n ReservedDisplayNameSchema,\n ReservedRealmNameSchema,\n StakeShareAuditEventSchema,\n ShortLinkSchema,\n FeedbackAliasSchema,\n UserSuggestionSchema,\n StatusReconcileQueueEntrySchema,\n} from './operational.js';\n// ===== Trust & Safety — report spine (§A1) =====\nimport {\n ProtectedReportRootV1Schema,\n ReportPublicProjectionV1Schema,\n ReportGroupV1Schema,\n ReportTargetSnapshotV1Schema,\n NarrativeRecordV1Schema,\n} from './safety/report.js';\nimport { SafetyCaseAlertV1Schema } from './safety/case-alert.js';\n// ===== Trust & Safety — child-safety case spine (§A1b, §A2) =====\nimport {\n ChildSafetyCaseListV1Schema,\n ChildSafetyCaseV1Schema,\n ChildSafetySourceSignalV1Schema,\n ChildSafetyDecisionV1Schema,\n ChildSafetyDecisionViewV1Schema,\n ChildSafetyCaseAccountV1Schema,\n ChildSafetyCaseAccountHistoryV1Schema,\n ChildSafetyNcmecSubmissionV1Schema,\n ChildSafetyNcmecSubmissionFileV1Schema,\n ChildSafetyLegalProcessEventV1Schema,\n} from './safety/case.js';\nimport {\n ChildSafetyOwningAliasV1Schema,\n} from './safety/case-aliases.js';\nimport {\n SafetyHoldRefV1Schema,\n SafetyHoldResourceV1Schema,\n SafetyResourceCommandV1Schema,\n SafetyResourceCommandAuthorizedRequestV1Schema,\n SafetyResourceCommandBypassRefV1Schema,\n} from './safety/holds.js';\nimport {\n SafetyEvidenceManifestV1Schema,\n SafetyEvidenceJobV1Schema,\n SafetyEvidenceJobItemV1Schema,\n SafetyEvidenceDispositionV1Schema,\n} from './safety/evidence.js';\nimport { EventProvenanceV1Schema } from './safety/provenance.js';\nimport {\n QuarantineSagaJobV1Schema,\n QuarantineSagaRelatedAssetV1Schema,\n NcmecSubmissionJobV1Schema,\n AccountActionCommandV1Schema,\n} from './safety/sagas.js';\nimport {\n SafetySlaMonitorV1Schema,\n SafetyMonitorHeartbeatV1Schema,\n} from './safety/monitors.js';\nimport { AgeAttestationNonceV1Schema, AgePolicyConfigV1Schema } from './safety/age.js';\nimport {\n PrivilegedReviewerPasskeyProfileV1Schema,\n PrivilegedReviewerCapabilityGrantV1Schema,\n} from './safety/reviewer-security.js';\n// ===== Trust & Safety — NCII / TAKE IT DOWN (§A11) =====\nimport { NciiAllegationV1Schema } from './ncii/allegations.js';\nimport {\n TakeItDownRequestRootV1Schema,\n TakeItDownRequesterPrivateV1Schema,\n TakeItDownSubmissionV1Schema,\n TakeItDownValidityDecisionV1Schema,\n TakeItDownRequestActionV1Schema,\n TakeItDownEvidenceV1Schema,\n NciiRetainedEvidenceInventoryV1Schema,\n} from './ncii/requests.js';\nimport {\n NciiCaseV1Schema,\n NciiCaseAllegationLinkV1Schema,\n NciiCaseRequestLinkV1Schema,\n NciiCaseRemovalActionV1Schema,\n NciiBlockedHashV1Schema,\n} from './ncii/cases.js';\nimport { NciiTemporaryHoldV1Schema } from './ncii/holds.js';\nimport {\n NciiRemovalJobV1Schema,\n NciiRemovalTargetV1Schema,\n} from './ncii/removal.js';\nimport {\n NciiPolicyConfigV1Schema,\n PrivilegedReviewerSecurityProfileV1Schema,\n} from './ncii/config.js';\n\nexport const COLLECTION_SCHEMAS = {\n // ===== Users =====\n 'userProfiles/{userId}': FullUserSchema,\n 'userProfiles/{userId}/privateData/{userId}': UserPrivateDataSchema,\n 'userProfiles/{userId}/privateData/hallLibraryPreferences': HallLibraryPreferencesSchema,\n 'userProfiles/{userId}/profileCraftSkills/{craftSkillId}': CraftSkillSchema,\n 'userProfiles/{userId}/auditionVotes/{auditionId}': UserAuditionVoteSchema,\n 'userProfiles/{userId}/mentionHistory/{docId}': MentionHistoryDocumentSchema,\n 'userProfiles/{userId}/notificationHistory/{notificationId}': NotificationHistoryDocSchema,\n 'userProfiles/{userId}/userLikes/likeHistory/squareStreetzLikes/{postId}': SquareStreetzLikeSchema,\n 'publicUsers/{uid}': PublicUserSchema,\n\n // ===== Work / Realm / Guild =====\n 'allWorkProjects/{workProjectId}': FullWorkProjectSchema,\n 'allWorkProjects/{workProjectId}/guildmateUsers/{uid}': GuildmateUserSchema,\n 'allWorkProjects/{workProjectId}/publicGuildmateUsers/{uid}': PublicGuildmateUserSchema,\n 'allWorkProjects/{workProjectId}/workFileFolders/{workFileFolderId}': WorkFileFolderSchema,\n 'allWorkProjects/{workProjectId}/workFileFolders/{workFileFolderId}/workFiles/{workFileId}': WorkFileSchema,\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}': FullTaleSchema,\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}/taleChapters/{chapterId}': FullChapterSchema,\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}': FullTuneSchema,\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}/tuneTracks/{trackId}': FullTuneTrackSchema,\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}': FullTelevisionSchema,\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}/televisionEpisodes/{episodeId}': FullTelevisionEpisodeSchema,\n 'allWorkProjects/{workProjectId}/guildChatChannels/{guildChatChannelId}': GuildChatChannelSchema,\n // Guild channel + invite messages are REALTIME-ONLY (chat Worker DO) — no Firestore schema.\n 'publicWorkProjects/{workProjectId}': PublicWorkProjectSchema,\n 'workRealms/{workRealmId}': WorkRealmSchema,\n 'guildInviteConversations/{guildInviteId}': GuildInviteConversationSchema,\n // Conversation Files — the flat per-conversation file list. Backend-only writes;\n // client-readable only while the caller holds conversation read access.\n 'guildInviteConversations/{guildInviteId}/conversationFiles/{conversationFileId}': ConversationFileSchema,\n\n // ===== Square / Social =====\n // SquareStreetzPostSchema is a refined ZodObject (superRefine for the MEDIA-101\n // mediaAssetId↔mediaType pair invariant); the schema-doc generator and the\n // drift-check both unwrap the effect to introspect its shape, so binding the\n // refined schema here is correct.\n 'squareStreetzFeed/activePosts/socialPosts/{postId}': SquareStreetzPostSchema,\n 'squareStreetzFeed/trendingPosts': TrendingPostsSchema,\n 'followEdges/{followEdgeId}': FollowEdgeSchema,\n 'followCounters/{followCounterId}': FollowCounterSchema,\n // Durable Square announcement outbox (Admin-SDK-only; deterministic job ids).\n 'squareAnnouncementJobs/{jobId}': SquareAnnouncementJobSchema,\n\n // ===== Payments / pledge ledger =====\n 'pledgePayments/{pledgePaymentId}': PledgePaymentSchema,\n 'pledgePaymentProviderRefs/{pledgePaymentId}': PledgePaymentProviderRefSchema,\n 'processedStripeEvents/{stripeEventId}': ProcessedStripeEventSchema,\n 'pledgePaymentLedgerEvents/{ledgerId}': PledgePaymentLedgerEventSchema,\n 'paymentWebhookQuarantine/{stripeEventId}': PaymentWebhookQuarantineSchema,\n 'pledgePaymentTotals/summary': PledgePaymentTotalsDocSchema,\n 'pledgeRefundRequests/{requestId}': PledgeRefundRequestSchema,\n\n // ===== Threshold / Hall =====\n 'thresholdItems/{thresholdItemId}': ThresholdItemSchema,\n 'hallItems/{hallItemId}': PublishedHallItemSchema,\n // Published hall sub-item projections — the chapter/track/episode docs copied out of\n // the Work at publish time (runPublishApprovedHallLibraryItem). Segment names are the\n // HALL_ITEM_SUBCOLLECTIONS constants (the lowercased WorkProjectType).\n 'hallItems/{hallItemId}/tales/{itemId}': PublishedChapterSchema,\n 'hallItems/{hallItemId}/tunes/{itemId}': PublishedTuneTrackSchema,\n 'hallItems/{hallItemId}/television/{itemId}': PublishedTelevisionEpisodeSchema,\n 'hallContentChangeRequests/{changeRequestId}': HallContentChangeRequestSchema,\n\n // ===== Commission / Audition =====\n 'commissionListings/{commissionListingId}': FullCommissionListingSchema,\n 'commissionListings/{commissionListingId}/commissionProposals/{commissionProposalId}': CommissionProposalSchema,\n 'auditionBoard/{auditionId}': AuditionSchema,\n 'auditionBoard/{auditionId}/auditionEntries/{auditionEntryId}': AuditionEntrySchema,\n\n // ===== Moderation / Reports / Admin =====\n // The report spine (§A1): the restricted root, its public projection subdoc, and the\n // dedup/count group. The root + projection are written by the app's submitReport\n // callable; the group is maintained by an app-side trigger.\n 'contentReports/{reportId}': ProtectedReportRootV1Schema,\n 'contentReports/{reportId}/publicProjection/{reportId}': ReportPublicProjectionV1Schema,\n 'contentReports/{reportId}/private/snapshot': ReportTargetSnapshotV1Schema,\n 'contentReports/{reportId}/private/narrative': NarrativeRecordV1Schema,\n 'activeReportGroups/{groupKey}': ReportGroupV1Schema,\n 'adminTasks/{taskId}': AdminTaskDocSchema,\n 'contentViolations/{violationId}': ContentViolationSchema,\n 'moderationCascadeManifests/{cascadeId}': ModerationCascadeManifestSchema,\n 'moderationCascadeManifests/{cascadeId}/changedDocs/{changedDocId}': ModerationCascadeChangedDocSchema,\n 'auditEvents/{eventId}': TTTAuditEventSchema,\n 'stakeShareAuditEvents/{eventId}': StakeShareAuditEventSchema,\n 'pendingAdminDispatches/{adminDispatchId}': AdminDispatchSchema,\n 'pendingAdminDispatches/{adminDispatchId}/conversationMessages/{adminDispatchMessageId}': ChatMessageV1Schema,\n 'pendingAdminDispatches/{adminDispatchId}/conversationFiles/{conversationFileId}': ConversationFileSchema,\n\n // ===== Media pipeline =====\n 'pendingMedia/{pendingMediaId}': PendingMediaSchema,\n 'pendingMediaArchive/{pendingMediaId}': ArchivedPendingMediaSchema,\n 'mediaAssets/{mediaAssetId}': MediaAssetSchema,\n 'mediaActivationJobs/{jobId}': MediaActivationJobSchema,\n\n // ===== Notifications =====\n 'activeUserNotifications/{notificationId}': NotificationDocSchema,\n 'activeAdminNotifications/{notificationId}': NotificationDocSchema,\n 'adminNotificationHistory/{notificationId}': NotificationHistoryDocSchema,\n 'pendingNotifications/{notificationId}': PendingNotificationSchema,\n\n // ===== Notification redesign — delivery ledger + fanout engine =====\n 'notificationDeliveries/{deliveryId}': NotificationDeliverySchema,\n 'notificationFanoutJobs/{jobId}': NotificationFanoutJobSchema,\n\n // ===== Chat realtime sync / projection / commands =====\n 'chatChannelAuthProjections/{authPairKey}': ChatChannelAuthProjectionSchema,\n 'chatScopeDegraded/{scopeKey}': ChatScopeDegradedSchema,\n 'chatScopeDegraded/{scopeKey}/causes/{causeId}': ChatScopeDegradedCauseSchema,\n 'chatSyncEvents/{eventId}': ChatSyncEventSchema,\n 'chatSyncFanoutJobs/{jobId}': ChatSyncFanoutJobSchema,\n 'chatMessageOutbox/{commandId}': ChatMessageOutboxSchema,\n 'chatAdminActionCommands/{requestId}': ChatAdminActionCommandSchema,\n 'chatHistoryAnonymizationJobs/{jobId}': ChatHistoryAnonymizationJobSchema,\n 'chatHistoryAnonymizationJobs/{jobId}/affectedChunks/{chunkOrdinal}': ChatHistoryAnonymizationAffectedChunkSchema,\n\n // ===== Craft skills index =====\n 'craftSkillsByTag/{tag}/taggedCraftSkills/{compositeId}': CraftSkillReferenceSchema,\n\n // ===== Operational / utility =====\n 'reservedDisplayNames/{displayNameUppercase}': ReservedDisplayNameSchema,\n 'reservedRealmNames/{workingTitleUppercase}': ReservedRealmNameSchema,\n 'accountDeletionRequests/{uid}': AccountDeletionRequestV1Schema,\n 'shortLinks/{shortId}': ShortLinkSchema,\n 'feedbackAliases/{aliasId}': FeedbackAliasSchema,\n 'feedbackSubmissions/{feedbackType}/userSuggestions/{suggestionId}': UserSuggestionSchema,\n 'statusReconcileQueue/{uid}': StatusReconcileQueueEntrySchema,\n\n // ===== Trust & Safety — child-safety case spine (§A1b, §A2) =====\n 'childSafetyCaseList/{caseId}': ChildSafetyCaseListV1Schema,\n 'activeSafetyCaseAlerts/{caseId}': SafetyCaseAlertV1Schema,\n 'childSafetyCases/{caseId}': ChildSafetyCaseV1Schema,\n 'childSafetyCases/{caseId}/sourceSignals/{signalId}': ChildSafetySourceSignalV1Schema,\n 'childSafetyCases/{caseId}/decisions/{decisionId}': ChildSafetyDecisionV1Schema,\n 'childSafetyCases/{caseId}/decisions/{decisionId}/views/{viewId}': ChildSafetyDecisionViewV1Schema,\n 'childSafetyCases/{caseId}/accounts/{uid}': ChildSafetyCaseAccountV1Schema,\n 'childSafetyCases/{caseId}/accounts/{uid}/history/{historyId}': ChildSafetyCaseAccountHistoryV1Schema,\n 'childSafetyCases/{caseId}/ncmecSubmissions/{submissionId}': ChildSafetyNcmecSubmissionV1Schema,\n 'childSafetyCases/{caseId}/ncmecSubmissions/{submissionId}/files/{fileId}': ChildSafetyNcmecSubmissionFileV1Schema,\n 'childSafetyCases/{caseId}/legalProcess/{eventId}': ChildSafetyLegalProcessEventV1Schema,\n 'childSafetyOwningAliases/{aliasId}': ChildSafetyOwningAliasV1Schema,\n\n // ===== Trust & Safety — holds + resource commands (§A3) =====\n 'safetyHoldRefs/{holdRefId}': SafetyHoldRefV1Schema,\n 'safetyHoldResources/{resourceKeyHash}': SafetyHoldResourceV1Schema,\n 'safetyResourceCommands/{commandDocId}': SafetyResourceCommandV1Schema,\n 'safetyResourceCommands/{commandDocId}/authorizedRequests/{requestId}': SafetyResourceCommandAuthorizedRequestV1Schema,\n 'safetyResourceCommands/{commandDocId}/bypassRefs/{refId}': SafetyResourceCommandBypassRefV1Schema,\n\n // ===== Trust & Safety — evidence + provenance (§A4, §A6) =====\n // SafetyEvidenceManifestV1Schema is a refined ZodObject (superRefine for the H5\n // sourceKind invariant); the schema-doc generator unwraps the effect to introspect\n // its shape, so binding the refined schema here is correct.\n 'safetyEvidenceManifests/{manifestId}': SafetyEvidenceManifestV1Schema,\n 'safetyEvidenceJobs/{jobId}': SafetyEvidenceJobV1Schema,\n 'safetyEvidenceJobs/{jobId}/items/{itemId}': SafetyEvidenceJobItemV1Schema,\n 'safetyEvidenceJobs/{jobId}/disposition/{locationId}': SafetyEvidenceDispositionV1Schema,\n 'eventProvenance/{eventId}': EventProvenanceV1Schema,\n\n // ===== Trust & Safety — sagas + closure (§A5) =====\n 'quarantineSagaJobs/{caseId}': QuarantineSagaJobV1Schema,\n 'quarantineSagaJobs/{caseId}/relatedAssets/{assetId}': QuarantineSagaRelatedAssetV1Schema,\n 'ncmecSubmissionJobs/{ncmecJobId}': NcmecSubmissionJobV1Schema,\n 'accountActionCommands/{accountActionCommandId}': AccountActionCommandV1Schema,\n\n // ===== Trust & Safety — SLA monitors + heartbeat (§A8) =====\n 'safetySlaMonitors/{monitorId}': SafetySlaMonitorV1Schema,\n 'safetyMonitorHeartbeat/global': SafetyMonitorHeartbeatV1Schema,\n\n // ===== Trust & Safety — age attestation nonces (§A7) =====\n 'ageAttestationNonces/{nonceHash}': AgeAttestationNonceV1Schema,\n\n // ===== Trust & Safety — per-operator privileged-reviewer security (§A11 [M-6] / [H-17]) =====\n // Backend-only (Cloud-Functions-only readers/writers; client access denied in firestore.rules).\n 'privilegedReviewerPasskeyProfiles/{uid}': PrivilegedReviewerPasskeyProfileV1Schema,\n 'privilegedReviewerCapabilityGrants/{uid}': PrivilegedReviewerCapabilityGrantV1Schema,\n\n // ===== Trust & Safety — NCII / TAKE IT DOWN (§A11) =====\n 'nciiAllegations/{allegationId}': NciiAllegationV1Schema,\n 'takeItDownRequests/{requestId}': TakeItDownRequestRootV1Schema,\n 'takeItDownRequests/{requestId}/private/requester': TakeItDownRequesterPrivateV1Schema,\n 'takeItDownRequests/{requestId}/submissions/{submissionId}': TakeItDownSubmissionV1Schema,\n 'takeItDownRequests/{requestId}/validityDecisions/{decisionId}': TakeItDownValidityDecisionV1Schema,\n 'takeItDownRequests/{requestId}/actions/{actionId}': TakeItDownRequestActionV1Schema,\n 'takeItDownRequests/{requestId}/evidence/{evidenceId}': TakeItDownEvidenceV1Schema,\n 'nciiCases/{caseId}': NciiCaseV1Schema,\n 'nciiCases/{caseId}/allegationLinks/{allegationId}': NciiCaseAllegationLinkV1Schema,\n 'nciiCases/{caseId}/requestLinks/{requestId}': NciiCaseRequestLinkV1Schema,\n 'nciiCases/{caseId}/removalActions/{actionId}': NciiCaseRemovalActionV1Schema,\n 'nciiCases/{caseId}/blockedHashes/{hashId}': NciiBlockedHashV1Schema,\n 'nciiRetainedEvidenceInventory/{inventoryId}': NciiRetainedEvidenceInventoryV1Schema,\n // [H-01] dead-letter sink for inventory rows that could not be written to the primary\n // nciiRetainedEvidenceInventory collection. Stores the same document shape.\n 'nciiInventoryDeadLetter/{inventoryId}': NciiRetainedEvidenceInventoryV1Schema,\n 'nciiTemporaryHolds/{holdId}': NciiTemporaryHoldV1Schema,\n 'nciiRemovalJobs/{jobId}': NciiRemovalJobV1Schema,\n 'nciiRemovalJobs/{jobId}/targets/{targetKeyHash}': NciiRemovalTargetV1Schema,\n\n // ===== _config singletons (public) =====\n '_config/app': AppConfigSchema,\n '_config/futurePlans': FuturePlansDocumentSchema,\n '_config/rulesAndAgreements': RulesAndAgreementsSchema,\n // Content-pages migration (DJ ruling 2026-07-06): /terms, /privacy, and the\n // /take-it-down page copy render exclusively from these (all public pages —\n // take-it-down is a NO-LOGIN page, so its copy doc must be publicly readable).\n '_config/termsOfService': LegalPageDocumentSchema,\n '_config/privacyPolicy': LegalPageDocumentSchema,\n '_config/takeItDownPageCopy': TakeItDownPageCopySchema,\n\n // ===== _serverData singletons (server-only — Cloud-Functions-only readers, BACKEND-108) =====\n '_serverData/agePolicy': AgePolicyConfigV1Schema,\n '_serverData/nciiPolicy': NciiPolicyConfigV1Schema,\n '_serverData/privilegedReviewerSecurity': PrivilegedReviewerSecurityProfileV1Schema,\n\n // ===== _systemData singletons =====\n '_systemData/adminList': AdminListSchema,\n '_systemData/profanityList': ProfanityListSchema,\n '_systemData/reservedUsernames': ReservedUsernamesSchema,\n '_systemData/blockedFranchiseNames': BlockedFranchiseNamesSchema,\n '_systemData/appMode': AppModeMarkerSchema,\n} as const satisfies Record<string, z.ZodTypeAny>;\n\nexport type RegisteredCollectionPath = keyof typeof COLLECTION_SCHEMAS;\n\n/**\n * Doc-id field annotation: for the listed bindings, the named body field equals the\n * Firestore document id and is injected at READ time (`{ ...doc.data(), <field>: doc.id }`),\n * never persisted — the write callables store the body via `Omit<…, '<field>'>`. The bound\n * schema models the (correct) consumer/read shape, where the field is required, so a raw\n * stored doc is \"missing\" it. The drift-check injects `{ [field]: doc.id, ...data }` before\n * validating, generalizing the one-off `AdminTaskDocSchema` stored-shape workaround into a\n * single mechanism so real-callable drift-checks don't false-flag every doc-id collection.\n * The schema-doc generator ignores this map. Keys are compiler-checked against the registry.\n */\nexport const COLLECTION_DOC_ID_FIELDS = {\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}/taleChapters/{chapterId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}/tuneTracks/{trackId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}/televisionEpisodes/{episodeId}': 'uid',\n 'allWorkProjects/{workProjectId}/guildChatChannels/{guildChatChannelId}': 'guildChatChannelId',\n // Published hall sub-items: the doc id IS the live sub-item's id; `uid` is injected at\n // read (the publish writer spreads the live doc's stored body, which has no `uid`).\n 'hallItems/{hallItemId}/tales/{itemId}': 'uid',\n 'hallItems/{hallItemId}/tunes/{itemId}': 'uid',\n 'hallItems/{hallItemId}/television/{itemId}': 'uid',\n 'activeUserNotifications/{notificationId}': 'id',\n 'activeAdminNotifications/{notificationId}': 'id',\n 'adminNotificationHistory/{notificationId}': 'archiveOccurrenceId',\n 'userProfiles/{userId}/notificationHistory/{notificationId}': 'archiveOccurrenceId',\n 'pendingNotifications/{notificationId}': 'id',\n 'statusReconcileQueue/{uid}': 'uid',\n} as const satisfies Partial<Record<RegisteredCollectionPath, string>>;\n\n/**\n * Collections that exist (in COLLECTIONS / *_SUBCOLLECTIONS or firestore.rules) but are\n * intentionally NOT bound to a schema, each with a reason. Listed EXPLICITLY so completeness is\n * enforced and nothing is silently uncovered; the registry test fails if a NEW unlisted collection\n * appears. These three are the only remaining gaps after the schema-registry binding pass:\n *\n * - userMetadata: `userProfiles/{uid}/userMetadata/notificationSettings` — a firestore.rules\n * match and `PATH_BUILDERS.userMetadata` exist, but there is no live reader/writer and no\n * notification-settings type anywhere yet. Bind once that shape is implemented.\n * - checkedOutItems: a `userProfiles/{uid}/checkedOutItems` subcollection constant with no writer,\n * reader, rule, or path-builder (the admin \"checked out items\" UI reads adminTasks by\n * `checkoutDetails.userId`, not this subcollection). Vestigial — remove once confirmed safe.\n * - feedbackDenylist: `feedbackDenylist/{deniedWord}` — Console-managed (firestore.rules §3F: no\n * callable writes it) and submitFeedback reads it via `.exists` only, so there is no field\n * contract to author a schema from. The doc id is the denied word; the body is unused.\n */\nexport const PENDING_COLLECTIONS: readonly string[] = [\n 'userMetadata',\n 'checkedOutItems',\n 'feedbackDenylist',\n // Append-only NCII case closure/reopen event rows — the doc shape is owned app-side\n // (NciiCaseV1 closure events), not modeled in ttt-core doc-schemas.\n 'closureEvents',\n] as const;\n"]}
|
|
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,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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,uFAAuF;IACvF,oFAAoF;IACpF,uCAAuC,EAAE,KAAK;IAC9C,uCAAuC,EAAE,KAAK;IAC9C,4CAA4C,EAAE,KAAK;IACnD,0CAA0C,EAAE,IAAI;IAChD,2CAA2C,EAAE,IAAI;IACjD,2CAA2C,EAAE,qBAAqB;IAClE,4DAA4D,EAAE,qBAAqB;IACnF,uCAAuC,EAAE,IAAI;IAC7C,4BAA4B,EAAE,KAAK;CACiC,CAAC;AAEvE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,cAAc;IACd,iBAAiB;IACjB,kBAAkB;IAClB,oFAAoF;IACpF,oEAAoE;IACpE,eAAe;CACP,CAAC","sourcesContent":["// Firestore collection registry — the single, authoritative binding from each Firestore\n// collection/subcollection path template to its document Zod schema. This is the input to\n// the schema-doc generator and the drift-check, and its completeness is CI-enforced\n// (registry.test.ts) against the COLLECTIONS / *_SUBCOLLECTIONS name constants, so a new\n// collection cannot be added without either a schema or an explicit PENDING entry.\n//\n// Path templates reuse the segment names from ../paths/collections.ts (and the shapes the\n// path-builders produce). `{placeholder}` segments are document/parent IDs.\n\nimport type { z } from 'zod';\nimport {\n FullUserSchema,\n UserPrivateDataSchema,\n CraftSkillSchema,\n CraftSkillReferenceSchema,\n} from './user.js';\nimport { PublicUserSchema } from './publicUser.js';\nimport { AccountDeletionRequestV1Schema } from './account-deletion.js';\nimport {\n FullWorkProjectSchema,\n PublicWorkProjectSchema,\n WorkFileFolderSchema,\n WorkFileSchema,\n WorkRealmSchema,\n GuildmateUserSchema,\n PublicGuildmateUserSchema,\n} from './work-project.js';\nimport {\n FullTaleSchema,\n FullChapterSchema,\n FullTuneSchema,\n FullTuneTrackSchema,\n FullTelevisionSchema,\n FullTelevisionEpisodeSchema,\n ThresholdItemSchema,\n PublishedHallItemSchema,\n PublishedChapterSchema,\n PublishedTuneTrackSchema,\n PublishedTelevisionEpisodeSchema,\n HallContentChangeRequestSchema,\n FuturePlansDocumentSchema,\n RulesAndAgreementsSchema,\n LegalPageDocumentSchema,\n TakeItDownPageCopySchema,\n HallLibraryPreferencesSchema,\n} from './content.js';\nimport {\n SquareStreetzPostSchema,\n MentionHistoryDocumentSchema,\n FollowEdgeSchema,\n FollowCounterSchema,\n SquareStreetzLikeSchema,\n TrendingPostsSchema,\n} from './social.js';\nimport {\n PledgePaymentSchema,\n PledgePaymentProviderRefSchema,\n ProcessedStripeEventSchema,\n PledgePaymentLedgerEventSchema,\n PaymentWebhookQuarantineSchema,\n PledgePaymentTotalsDocSchema,\n PledgeRefundRequestSchema,\n} from './payments.js';\nimport {\n FullCommissionListingSchema,\n CommissionProposalSchema,\n AuditionSchema,\n AuditionEntrySchema,\n UserAuditionVoteSchema,\n} from './commissions.js';\nimport {\n GuildChatChannelSchema,\n GuildInviteConversationSchema,\n AdminDispatchSchema,\n ChatMessageV1Schema,\n ConversationFileSchema,\n} from './messaging.js';\nimport { AppConfigSchema, AdminListSchema, ProfanityListSchema, ReservedUsernamesSchema, BlockedFranchiseNamesSchema, AppModeMarkerSchema } from './system.js';\nimport {\n ContentViolationSchema,\n ModerationCascadeManifestSchema,\n ModerationCascadeChangedDocSchema,\n} from './moderation.js';\nimport {\n AdminTaskDocSchema,\n} from './report-docs.js';\nimport { TTTAuditEventSchema } from './audit.js';\nimport {\n NotificationDocSchema,\n NotificationHistoryDocSchema,\n PendingNotificationSchema,\n} from './notifications.js';\nimport {\n NotificationDeliverySchema,\n NotificationFanoutJobSchema,\n} from './notification-ledger.js';\nimport {\n ChatChannelAuthProjectionSchema,\n ChatScopeDegradedSchema,\n ChatScopeDegradedCauseSchema,\n ChatSyncEventSchema,\n ChatSyncFanoutJobSchema,\n ChatMessageOutboxSchema,\n ChatAdminActionCommandSchema,\n ChatHistoryAnonymizationJobSchema,\n ChatHistoryAnonymizationAffectedChunkSchema,\n} from './chat-sync.js';\nimport { SquareAnnouncementJobSchema } from './square-announcement-jobs.js';\nimport { PendingMediaSchema, ArchivedPendingMediaDocSchema } from '../media/pending-media.js';\nimport { MediaAssetSchema } from './media-assets.js';\nimport { MediaActivationJobSchema } from './media-activation-jobs.js';\nimport {\n ReservedDisplayNameSchema,\n ReservedRealmNameSchema,\n StakeShareAuditEventSchema,\n ShortLinkSchema,\n FeedbackAliasSchema,\n UserSuggestionSchema,\n StatusReconcileQueueEntrySchema,\n} from './operational.js';\n// ===== Trust & Safety — report spine (§A1) =====\nimport {\n ProtectedReportRootV1Schema,\n ReportPublicProjectionV1Schema,\n ReportGroupV1Schema,\n ReportTargetSnapshotV1Schema,\n NarrativeRecordV1Schema,\n} from './safety/report.js';\nimport { SafetyCaseAlertV1Schema } from './safety/case-alert.js';\n// ===== Trust & Safety — child-safety case spine (§A1b, §A2) =====\nimport {\n ChildSafetyCaseListV1Schema,\n ChildSafetyCaseV1Schema,\n ChildSafetySourceSignalV1Schema,\n ChildSafetyDecisionV1Schema,\n ChildSafetyDecisionViewV1Schema,\n ChildSafetyCaseAccountV1Schema,\n ChildSafetyCaseAccountHistoryV1Schema,\n ChildSafetyNcmecSubmissionV1Schema,\n ChildSafetyNcmecSubmissionFileV1Schema,\n ChildSafetyLegalProcessEventV1Schema,\n} from './safety/case.js';\nimport {\n ChildSafetyOwningAliasV1Schema,\n} from './safety/case-aliases.js';\nimport {\n SafetyHoldRefV1Schema,\n SafetyHoldResourceV1Schema,\n SafetyResourceCommandV1Schema,\n SafetyResourceCommandAuthorizedRequestV1Schema,\n SafetyResourceCommandBypassRefV1Schema,\n} from './safety/holds.js';\nimport {\n SafetyEvidenceManifestV1Schema,\n SafetyEvidenceJobV1Schema,\n SafetyEvidenceJobItemV1Schema,\n SafetyEvidenceDispositionV1Schema,\n} from './safety/evidence.js';\nimport { EventProvenanceV1Schema } from './safety/provenance.js';\nimport {\n QuarantineSagaJobV1Schema,\n QuarantineSagaRelatedAssetV1Schema,\n NcmecSubmissionJobV1Schema,\n AccountActionCommandV1Schema,\n} from './safety/sagas.js';\nimport {\n SafetySlaMonitorV1Schema,\n SafetyMonitorHeartbeatV1Schema,\n} from './safety/monitors.js';\nimport { AgeAttestationNonceV1Schema, AgePolicyConfigV1Schema } from './safety/age.js';\nimport {\n PrivilegedReviewerPasskeyProfileV1Schema,\n PrivilegedReviewerCapabilityGrantV1Schema,\n} from './safety/reviewer-security.js';\n// ===== Trust & Safety — NCII / TAKE IT DOWN (§A11) =====\nimport { NciiAllegationV1Schema } from './ncii/allegations.js';\nimport {\n TakeItDownRequestRootV1Schema,\n TakeItDownRequesterPrivateV1Schema,\n TakeItDownSubmissionV1Schema,\n TakeItDownValidityDecisionV1Schema,\n TakeItDownRequestActionV1Schema,\n TakeItDownEvidenceV1Schema,\n NciiRetainedEvidenceInventoryV1Schema,\n} from './ncii/requests.js';\nimport {\n NciiCaseV1Schema,\n NciiCaseAllegationLinkV1Schema,\n NciiCaseRequestLinkV1Schema,\n NciiCaseRemovalActionV1Schema,\n NciiBlockedHashV1Schema,\n} from './ncii/cases.js';\nimport { NciiTemporaryHoldV1Schema } from './ncii/holds.js';\nimport {\n NciiRemovalJobV1Schema,\n NciiRemovalTargetV1Schema,\n} from './ncii/removal.js';\nimport {\n NciiPolicyConfigV1Schema,\n PrivilegedReviewerSecurityProfileV1Schema,\n} from './ncii/config.js';\n\nexport const COLLECTION_SCHEMAS = {\n // ===== Users =====\n 'userProfiles/{userId}': FullUserSchema,\n 'userProfiles/{userId}/privateData/{userId}': UserPrivateDataSchema,\n 'userProfiles/{userId}/privateData/hallLibraryPreferences': HallLibraryPreferencesSchema,\n 'userProfiles/{userId}/profileCraftSkills/{craftSkillId}': CraftSkillSchema,\n 'userProfiles/{userId}/auditionVotes/{auditionId}': UserAuditionVoteSchema,\n 'userProfiles/{userId}/mentionHistory/{docId}': MentionHistoryDocumentSchema,\n 'userProfiles/{userId}/notificationHistory/{notificationId}': NotificationHistoryDocSchema,\n 'userProfiles/{userId}/userLikes/likeHistory/squareStreetzLikes/{postId}': SquareStreetzLikeSchema,\n 'publicUsers/{uid}': PublicUserSchema,\n\n // ===== Work / Realm / Guild =====\n 'allWorkProjects/{workProjectId}': FullWorkProjectSchema,\n 'allWorkProjects/{workProjectId}/guildmateUsers/{uid}': GuildmateUserSchema,\n 'allWorkProjects/{workProjectId}/publicGuildmateUsers/{uid}': PublicGuildmateUserSchema,\n 'allWorkProjects/{workProjectId}/workFileFolders/{workFileFolderId}': WorkFileFolderSchema,\n 'allWorkProjects/{workProjectId}/workFileFolders/{workFileFolderId}/workFiles/{workFileId}': WorkFileSchema,\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}': FullTaleSchema,\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}/taleChapters/{chapterId}': FullChapterSchema,\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}': FullTuneSchema,\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}/tuneTracks/{trackId}': FullTuneTrackSchema,\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}': FullTelevisionSchema,\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}/televisionEpisodes/{episodeId}': FullTelevisionEpisodeSchema,\n 'allWorkProjects/{workProjectId}/guildChatChannels/{guildChatChannelId}': GuildChatChannelSchema,\n // Guild channel + invite messages are REALTIME-ONLY (chat Worker DO) — no Firestore schema.\n 'publicWorkProjects/{workProjectId}': PublicWorkProjectSchema,\n 'workRealms/{workRealmId}': WorkRealmSchema,\n 'guildInviteConversations/{guildInviteId}': GuildInviteConversationSchema,\n // Conversation Files — the flat per-conversation file list. Backend-only writes;\n // client-readable only while the caller holds conversation read access.\n 'guildInviteConversations/{guildInviteId}/conversationFiles/{conversationFileId}': ConversationFileSchema,\n\n // ===== Square / Social =====\n // SquareStreetzPostSchema is a refined ZodObject (superRefine for the MEDIA-101\n // mediaAssetId↔mediaType pair invariant); the schema-doc generator and the\n // drift-check both unwrap the effect to introspect its shape, so binding the\n // refined schema here is correct.\n 'squareStreetzFeed/activePosts/socialPosts/{postId}': SquareStreetzPostSchema,\n 'squareStreetzFeed/trendingPosts': TrendingPostsSchema,\n 'followEdges/{followEdgeId}': FollowEdgeSchema,\n 'followCounters/{followCounterId}': FollowCounterSchema,\n // Durable Square announcement outbox (Admin-SDK-only; deterministic job ids).\n 'squareAnnouncementJobs/{jobId}': SquareAnnouncementJobSchema,\n\n // ===== Payments / pledge ledger =====\n 'pledgePayments/{pledgePaymentId}': PledgePaymentSchema,\n 'pledgePaymentProviderRefs/{pledgePaymentId}': PledgePaymentProviderRefSchema,\n 'processedStripeEvents/{stripeEventId}': ProcessedStripeEventSchema,\n 'pledgePaymentLedgerEvents/{ledgerId}': PledgePaymentLedgerEventSchema,\n 'paymentWebhookQuarantine/{stripeEventId}': PaymentWebhookQuarantineSchema,\n 'pledgePaymentTotals/summary': PledgePaymentTotalsDocSchema,\n 'pledgeRefundRequests/{requestId}': PledgeRefundRequestSchema,\n\n // ===== Threshold / Hall =====\n 'thresholdItems/{thresholdItemId}': ThresholdItemSchema,\n 'hallItems/{hallItemId}': PublishedHallItemSchema,\n // Published hall sub-item projections — the chapter/track/episode docs copied out of\n // the Work at publish time (runPublishApprovedHallLibraryItem). Segment names are the\n // HALL_ITEM_SUBCOLLECTIONS constants (the lowercased WorkProjectType).\n 'hallItems/{hallItemId}/tales/{itemId}': PublishedChapterSchema,\n 'hallItems/{hallItemId}/tunes/{itemId}': PublishedTuneTrackSchema,\n 'hallItems/{hallItemId}/television/{itemId}': PublishedTelevisionEpisodeSchema,\n 'hallContentChangeRequests/{changeRequestId}': HallContentChangeRequestSchema,\n\n // ===== Commission / Audition =====\n 'commissionListings/{commissionListingId}': FullCommissionListingSchema,\n 'commissionListings/{commissionListingId}/commissionProposals/{commissionProposalId}': CommissionProposalSchema,\n 'auditionBoard/{auditionId}': AuditionSchema,\n 'auditionBoard/{auditionId}/auditionEntries/{auditionEntryId}': AuditionEntrySchema,\n\n // ===== Moderation / Reports / Admin =====\n // The report spine (§A1): the restricted root, its public projection subdoc, and the\n // dedup/count group. The root + projection are written by the app's submitReport\n // callable; the group is maintained by an app-side trigger.\n 'contentReports/{reportId}': ProtectedReportRootV1Schema,\n 'contentReports/{reportId}/publicProjection/{reportId}': ReportPublicProjectionV1Schema,\n 'contentReports/{reportId}/private/snapshot': ReportTargetSnapshotV1Schema,\n 'contentReports/{reportId}/private/narrative': NarrativeRecordV1Schema,\n 'activeReportGroups/{groupKey}': ReportGroupV1Schema,\n 'adminTasks/{taskId}': AdminTaskDocSchema,\n 'contentViolations/{violationId}': ContentViolationSchema,\n 'moderationCascadeManifests/{cascadeId}': ModerationCascadeManifestSchema,\n 'moderationCascadeManifests/{cascadeId}/changedDocs/{changedDocId}': ModerationCascadeChangedDocSchema,\n 'auditEvents/{eventId}': TTTAuditEventSchema,\n 'stakeShareAuditEvents/{eventId}': StakeShareAuditEventSchema,\n 'pendingAdminDispatches/{adminDispatchId}': AdminDispatchSchema,\n 'pendingAdminDispatches/{adminDispatchId}/conversationMessages/{adminDispatchMessageId}': ChatMessageV1Schema,\n 'pendingAdminDispatches/{adminDispatchId}/conversationFiles/{conversationFileId}': ConversationFileSchema,\n\n // ===== Media pipeline =====\n 'pendingMedia/{pendingMediaId}': PendingMediaSchema,\n 'pendingMediaArchive/{pendingMediaId}': ArchivedPendingMediaDocSchema,\n 'mediaAssets/{mediaAssetId}': MediaAssetSchema,\n 'mediaActivationJobs/{jobId}': MediaActivationJobSchema,\n\n // ===== Notifications =====\n 'activeUserNotifications/{notificationId}': NotificationDocSchema,\n 'activeAdminNotifications/{notificationId}': NotificationDocSchema,\n 'adminNotificationHistory/{notificationId}': NotificationHistoryDocSchema,\n 'pendingNotifications/{notificationId}': PendingNotificationSchema,\n\n // ===== Notification redesign — delivery ledger + fanout engine =====\n 'notificationDeliveries/{deliveryId}': NotificationDeliverySchema,\n 'notificationFanoutJobs/{jobId}': NotificationFanoutJobSchema,\n\n // ===== Chat realtime sync / projection / commands =====\n 'chatChannelAuthProjections/{authPairKey}': ChatChannelAuthProjectionSchema,\n 'chatScopeDegraded/{scopeKey}': ChatScopeDegradedSchema,\n 'chatScopeDegraded/{scopeKey}/causes/{causeId}': ChatScopeDegradedCauseSchema,\n 'chatSyncEvents/{eventId}': ChatSyncEventSchema,\n 'chatSyncFanoutJobs/{jobId}': ChatSyncFanoutJobSchema,\n 'chatMessageOutbox/{commandId}': ChatMessageOutboxSchema,\n 'chatAdminActionCommands/{requestId}': ChatAdminActionCommandSchema,\n 'chatHistoryAnonymizationJobs/{jobId}': ChatHistoryAnonymizationJobSchema,\n 'chatHistoryAnonymizationJobs/{jobId}/affectedChunks/{chunkOrdinal}': ChatHistoryAnonymizationAffectedChunkSchema,\n\n // ===== Craft skills index =====\n 'craftSkillsByTag/{tag}/taggedCraftSkills/{compositeId}': CraftSkillReferenceSchema,\n\n // ===== Operational / utility =====\n 'reservedDisplayNames/{displayNameUppercase}': ReservedDisplayNameSchema,\n 'reservedRealmNames/{workingTitleUppercase}': ReservedRealmNameSchema,\n 'accountDeletionRequests/{uid}': AccountDeletionRequestV1Schema,\n 'shortLinks/{shortId}': ShortLinkSchema,\n 'feedbackAliases/{aliasId}': FeedbackAliasSchema,\n 'feedbackSubmissions/{feedbackType}/userSuggestions/{suggestionId}': UserSuggestionSchema,\n 'statusReconcileQueue/{uid}': StatusReconcileQueueEntrySchema,\n\n // ===== Trust & Safety — child-safety case spine (§A1b, §A2) =====\n 'childSafetyCaseList/{caseId}': ChildSafetyCaseListV1Schema,\n 'activeSafetyCaseAlerts/{caseId}': SafetyCaseAlertV1Schema,\n 'childSafetyCases/{caseId}': ChildSafetyCaseV1Schema,\n 'childSafetyCases/{caseId}/sourceSignals/{signalId}': ChildSafetySourceSignalV1Schema,\n 'childSafetyCases/{caseId}/decisions/{decisionId}': ChildSafetyDecisionV1Schema,\n 'childSafetyCases/{caseId}/decisions/{decisionId}/views/{viewId}': ChildSafetyDecisionViewV1Schema,\n 'childSafetyCases/{caseId}/accounts/{uid}': ChildSafetyCaseAccountV1Schema,\n 'childSafetyCases/{caseId}/accounts/{uid}/history/{historyId}': ChildSafetyCaseAccountHistoryV1Schema,\n 'childSafetyCases/{caseId}/ncmecSubmissions/{submissionId}': ChildSafetyNcmecSubmissionV1Schema,\n 'childSafetyCases/{caseId}/ncmecSubmissions/{submissionId}/files/{fileId}': ChildSafetyNcmecSubmissionFileV1Schema,\n 'childSafetyCases/{caseId}/legalProcess/{eventId}': ChildSafetyLegalProcessEventV1Schema,\n 'childSafetyOwningAliases/{aliasId}': ChildSafetyOwningAliasV1Schema,\n\n // ===== Trust & Safety — holds + resource commands (§A3) =====\n 'safetyHoldRefs/{holdRefId}': SafetyHoldRefV1Schema,\n 'safetyHoldResources/{resourceKeyHash}': SafetyHoldResourceV1Schema,\n 'safetyResourceCommands/{commandDocId}': SafetyResourceCommandV1Schema,\n 'safetyResourceCommands/{commandDocId}/authorizedRequests/{requestId}': SafetyResourceCommandAuthorizedRequestV1Schema,\n 'safetyResourceCommands/{commandDocId}/bypassRefs/{refId}': SafetyResourceCommandBypassRefV1Schema,\n\n // ===== Trust & Safety — evidence + provenance (§A4, §A6) =====\n // SafetyEvidenceManifestV1Schema is a refined ZodObject (superRefine for the H5\n // sourceKind invariant); the schema-doc generator unwraps the effect to introspect\n // its shape, so binding the refined schema here is correct.\n 'safetyEvidenceManifests/{manifestId}': SafetyEvidenceManifestV1Schema,\n 'safetyEvidenceJobs/{jobId}': SafetyEvidenceJobV1Schema,\n 'safetyEvidenceJobs/{jobId}/items/{itemId}': SafetyEvidenceJobItemV1Schema,\n 'safetyEvidenceJobs/{jobId}/disposition/{locationId}': SafetyEvidenceDispositionV1Schema,\n 'eventProvenance/{eventId}': EventProvenanceV1Schema,\n\n // ===== Trust & Safety — sagas + closure (§A5) =====\n 'quarantineSagaJobs/{caseId}': QuarantineSagaJobV1Schema,\n 'quarantineSagaJobs/{caseId}/relatedAssets/{assetId}': QuarantineSagaRelatedAssetV1Schema,\n 'ncmecSubmissionJobs/{ncmecJobId}': NcmecSubmissionJobV1Schema,\n 'accountActionCommands/{accountActionCommandId}': AccountActionCommandV1Schema,\n\n // ===== Trust & Safety — SLA monitors + heartbeat (§A8) =====\n 'safetySlaMonitors/{monitorId}': SafetySlaMonitorV1Schema,\n 'safetyMonitorHeartbeat/global': SafetyMonitorHeartbeatV1Schema,\n\n // ===== Trust & Safety — age attestation nonces (§A7) =====\n 'ageAttestationNonces/{nonceHash}': AgeAttestationNonceV1Schema,\n\n // ===== Trust & Safety — per-operator privileged-reviewer security (§A11 [M-6] / [H-17]) =====\n // Backend-only (Cloud-Functions-only readers/writers; client access denied in firestore.rules).\n 'privilegedReviewerPasskeyProfiles/{uid}': PrivilegedReviewerPasskeyProfileV1Schema,\n 'privilegedReviewerCapabilityGrants/{uid}': PrivilegedReviewerCapabilityGrantV1Schema,\n\n // ===== Trust & Safety — NCII / TAKE IT DOWN (§A11) =====\n 'nciiAllegations/{allegationId}': NciiAllegationV1Schema,\n 'takeItDownRequests/{requestId}': TakeItDownRequestRootV1Schema,\n 'takeItDownRequests/{requestId}/private/requester': TakeItDownRequesterPrivateV1Schema,\n 'takeItDownRequests/{requestId}/submissions/{submissionId}': TakeItDownSubmissionV1Schema,\n 'takeItDownRequests/{requestId}/validityDecisions/{decisionId}': TakeItDownValidityDecisionV1Schema,\n 'takeItDownRequests/{requestId}/actions/{actionId}': TakeItDownRequestActionV1Schema,\n 'takeItDownRequests/{requestId}/evidence/{evidenceId}': TakeItDownEvidenceV1Schema,\n 'nciiCases/{caseId}': NciiCaseV1Schema,\n 'nciiCases/{caseId}/allegationLinks/{allegationId}': NciiCaseAllegationLinkV1Schema,\n 'nciiCases/{caseId}/requestLinks/{requestId}': NciiCaseRequestLinkV1Schema,\n 'nciiCases/{caseId}/removalActions/{actionId}': NciiCaseRemovalActionV1Schema,\n 'nciiCases/{caseId}/blockedHashes/{hashId}': NciiBlockedHashV1Schema,\n 'nciiRetainedEvidenceInventory/{inventoryId}': NciiRetainedEvidenceInventoryV1Schema,\n // [H-01] dead-letter sink for inventory rows that could not be written to the primary\n // nciiRetainedEvidenceInventory collection. Stores the same document shape.\n 'nciiInventoryDeadLetter/{inventoryId}': NciiRetainedEvidenceInventoryV1Schema,\n 'nciiTemporaryHolds/{holdId}': NciiTemporaryHoldV1Schema,\n 'nciiRemovalJobs/{jobId}': NciiRemovalJobV1Schema,\n 'nciiRemovalJobs/{jobId}/targets/{targetKeyHash}': NciiRemovalTargetV1Schema,\n\n // ===== _config singletons (public) =====\n '_config/app': AppConfigSchema,\n '_config/futurePlans': FuturePlansDocumentSchema,\n '_config/rulesAndAgreements': RulesAndAgreementsSchema,\n // Content-pages migration (DJ ruling 2026-07-06): /terms, /privacy, and the\n // /take-it-down page copy render exclusively from these (all public pages —\n // take-it-down is a NO-LOGIN page, so its copy doc must be publicly readable).\n '_config/termsOfService': LegalPageDocumentSchema,\n '_config/privacyPolicy': LegalPageDocumentSchema,\n '_config/takeItDownPageCopy': TakeItDownPageCopySchema,\n\n // ===== _serverData singletons (server-only — Cloud-Functions-only readers, BACKEND-108) =====\n '_serverData/agePolicy': AgePolicyConfigV1Schema,\n '_serverData/nciiPolicy': NciiPolicyConfigV1Schema,\n '_serverData/privilegedReviewerSecurity': PrivilegedReviewerSecurityProfileV1Schema,\n\n // ===== _systemData singletons =====\n '_systemData/adminList': AdminListSchema,\n '_systemData/profanityList': ProfanityListSchema,\n '_systemData/reservedUsernames': ReservedUsernamesSchema,\n '_systemData/blockedFranchiseNames': BlockedFranchiseNamesSchema,\n '_systemData/appMode': AppModeMarkerSchema,\n} as const satisfies Record<string, z.ZodTypeAny>;\n\nexport type RegisteredCollectionPath = keyof typeof COLLECTION_SCHEMAS;\n\n/**\n * Doc-id field annotation: for the listed bindings, the named body field equals the\n * Firestore document id and is injected at READ time (`{ ...doc.data(), <field>: doc.id }`),\n * never persisted — the write callables store the body via `Omit<…, '<field>'>`. The bound\n * schema models the (correct) consumer/read shape, where the field is required, so a raw\n * stored doc is \"missing\" it. The drift-check injects `{ [field]: doc.id, ...data }` before\n * validating, generalizing the one-off `AdminTaskDocSchema` stored-shape workaround into a\n * single mechanism so real-callable drift-checks don't false-flag every doc-id collection.\n * The schema-doc generator ignores this map. Keys are compiler-checked against the registry.\n */\nexport const COLLECTION_DOC_ID_FIELDS = {\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTales/{taleId}/taleChapters/{chapterId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTunes/{tuneId}/tuneTracks/{trackId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}': 'uid',\n 'allWorkProjects/{workProjectId}/workProjectTelevision/{televisionId}/televisionEpisodes/{episodeId}': 'uid',\n 'allWorkProjects/{workProjectId}/guildChatChannels/{guildChatChannelId}': 'guildChatChannelId',\n // Published hall sub-items: the doc id IS the live sub-item's id; `uid` is injected at\n // read (the publish writer spreads the live doc's stored body, which has no `uid`).\n 'hallItems/{hallItemId}/tales/{itemId}': 'uid',\n 'hallItems/{hallItemId}/tunes/{itemId}': 'uid',\n 'hallItems/{hallItemId}/television/{itemId}': 'uid',\n 'activeUserNotifications/{notificationId}': 'id',\n 'activeAdminNotifications/{notificationId}': 'id',\n 'adminNotificationHistory/{notificationId}': 'archiveOccurrenceId',\n 'userProfiles/{userId}/notificationHistory/{notificationId}': 'archiveOccurrenceId',\n 'pendingNotifications/{notificationId}': 'id',\n 'statusReconcileQueue/{uid}': 'uid',\n} as const satisfies Partial<Record<RegisteredCollectionPath, string>>;\n\n/**\n * Collections that exist (in COLLECTIONS / *_SUBCOLLECTIONS or firestore.rules) but are\n * intentionally NOT bound to a schema, each with a reason. Listed EXPLICITLY so completeness is\n * enforced and nothing is silently uncovered; the registry test fails if a NEW unlisted collection\n * appears. These three are the only remaining gaps after the schema-registry binding pass:\n *\n * - userMetadata: `userProfiles/{uid}/userMetadata/notificationSettings` — a firestore.rules\n * match and `PATH_BUILDERS.userMetadata` exist, but there is no live reader/writer and no\n * notification-settings type anywhere yet. Bind once that shape is implemented.\n * - checkedOutItems: a `userProfiles/{uid}/checkedOutItems` subcollection constant with no writer,\n * reader, rule, or path-builder (the admin \"checked out items\" UI reads adminTasks by\n * `checkoutDetails.userId`, not this subcollection). Vestigial — remove once confirmed safe.\n * - feedbackDenylist: `feedbackDenylist/{deniedWord}` — Console-managed (firestore.rules §3F: no\n * callable writes it) and submitFeedback reads it via `.exists` only, so there is no field\n * contract to author a schema from. The doc id is the denied word; the body is unused.\n */\nexport const PENDING_COLLECTIONS: readonly string[] = [\n 'userMetadata',\n 'checkedOutItems',\n 'feedbackDenylist',\n // Append-only NCII case closure/reopen event rows — the doc shape is owned app-side\n // (NciiCaseV1 closure events), not modeled in ttt-core doc-schemas.\n 'closureEvents',\n] as const;\n"]}
|
|
@@ -3688,6 +3688,809 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
3688
3688
|
processingAttemptCount: z.ZodOptional<z.ZodNumber>;
|
|
3689
3689
|
processingLeaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
3690
3690
|
}, z.core.$strict>], "status">;
|
|
3691
|
+
export declare const ArchivedPendingMediaQuarantinedSchema: z.ZodObject<{
|
|
3692
|
+
parseFailed: z.ZodLiteral<true>;
|
|
3693
|
+
archivedAt: z.ZodNumber;
|
|
3694
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3695
|
+
}, z.core.$strict>;
|
|
3696
|
+
export declare const ArchivedPendingMediaDocSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3697
|
+
status: z.ZodLiteral<"completed">;
|
|
3698
|
+
completedAt: z.ZodNumber;
|
|
3699
|
+
terminalAt: z.ZodNumber;
|
|
3700
|
+
uploadTrayClearedAt: z.ZodOptional<z.ZodNumber>;
|
|
3701
|
+
uploadTrayClearedBy: z.ZodOptional<z.ZodString>;
|
|
3702
|
+
uploadTraySeenAt: z.ZodOptional<z.ZodNumber>;
|
|
3703
|
+
uploadTraySeenBy: z.ZodOptional<z.ZodString>;
|
|
3704
|
+
result: z.ZodObject<{
|
|
3705
|
+
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3706
|
+
type: z.ZodLiteral<"profile.pictureUpdated">;
|
|
3707
|
+
ids: z.ZodObject<{
|
|
3708
|
+
userId: z.ZodString;
|
|
3709
|
+
}, z.core.$strict>;
|
|
3710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3711
|
+
type: z.ZodLiteral<"craftSkill.created">;
|
|
3712
|
+
ids: z.ZodObject<{
|
|
3713
|
+
userId: z.ZodString;
|
|
3714
|
+
craftSkillId: z.ZodString;
|
|
3715
|
+
}, z.core.$strict>;
|
|
3716
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3717
|
+
type: z.ZodLiteral<"squareStreetz.postCreated">;
|
|
3718
|
+
ids: z.ZodObject<{
|
|
3719
|
+
userId: z.ZodString;
|
|
3720
|
+
postId: z.ZodString;
|
|
3721
|
+
}, z.core.$strict>;
|
|
3722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3723
|
+
type: z.ZodLiteral<"audition.promptCreated">;
|
|
3724
|
+
ids: z.ZodObject<{
|
|
3725
|
+
userId: z.ZodString;
|
|
3726
|
+
auditionId: z.ZodString;
|
|
3727
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
3728
|
+
}, z.core.$strict>;
|
|
3729
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3730
|
+
type: z.ZodLiteral<"audition.entryCreated">;
|
|
3731
|
+
ids: z.ZodObject<{
|
|
3732
|
+
userId: z.ZodString;
|
|
3733
|
+
auditionId: z.ZodString;
|
|
3734
|
+
auditionEntryId: z.ZodString;
|
|
3735
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
3736
|
+
}, z.core.$strict>;
|
|
3737
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3738
|
+
type: z.ZodLiteral<"commission.created">;
|
|
3739
|
+
ids: z.ZodObject<{
|
|
3740
|
+
userId: z.ZodString;
|
|
3741
|
+
commissionListingId: z.ZodString;
|
|
3742
|
+
workProjectId: z.ZodString;
|
|
3743
|
+
}, z.core.$strict>;
|
|
3744
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3745
|
+
type: z.ZodLiteral<"commission.commissionProposalSubmitted">;
|
|
3746
|
+
ids: z.ZodObject<{
|
|
3747
|
+
userId: z.ZodString;
|
|
3748
|
+
commissionListingId: z.ZodString;
|
|
3749
|
+
workProjectId: z.ZodString;
|
|
3750
|
+
commissionProposalId: z.ZodString;
|
|
3751
|
+
}, z.core.$strict>;
|
|
3752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3753
|
+
type: z.ZodLiteral<"workProject.updated">;
|
|
3754
|
+
ids: z.ZodObject<{
|
|
3755
|
+
workProjectId: z.ZodString;
|
|
3756
|
+
}, z.core.$strict>;
|
|
3757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3758
|
+
type: z.ZodLiteral<"hallLibrary.coverUpdated">;
|
|
3759
|
+
ids: z.ZodObject<{
|
|
3760
|
+
workProjectId: z.ZodString;
|
|
3761
|
+
itemType: z.ZodEnum<{
|
|
3762
|
+
tale: "tale";
|
|
3763
|
+
tune: "tune";
|
|
3764
|
+
television: "television";
|
|
3765
|
+
}>;
|
|
3766
|
+
itemId: z.ZodString;
|
|
3767
|
+
}, z.core.$strict>;
|
|
3768
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3769
|
+
type: z.ZodLiteral<"workRealm.coverUpdated">;
|
|
3770
|
+
ids: z.ZodObject<{
|
|
3771
|
+
workRealmId: z.ZodString;
|
|
3772
|
+
}, z.core.$strict>;
|
|
3773
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3774
|
+
type: z.ZodLiteral<"hallLibrary.subItemUpdated">;
|
|
3775
|
+
ids: z.ZodObject<{
|
|
3776
|
+
workProjectId: z.ZodString;
|
|
3777
|
+
itemType: z.ZodEnum<{
|
|
3778
|
+
chapter: "chapter";
|
|
3779
|
+
tuneTrack: "tuneTrack";
|
|
3780
|
+
televisionEpisode: "televisionEpisode";
|
|
3781
|
+
}>;
|
|
3782
|
+
parentId: z.ZodString;
|
|
3783
|
+
itemId: z.ZodString;
|
|
3784
|
+
}, z.core.$strict>;
|
|
3785
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3786
|
+
type: z.ZodLiteral<"moderation.violationCreated">;
|
|
3787
|
+
ids: z.ZodObject<{
|
|
3788
|
+
userId: z.ZodString;
|
|
3789
|
+
violationId: z.ZodString;
|
|
3790
|
+
fileOrigin: z.ZodEnum<{
|
|
3791
|
+
"commission-proposal": "commission-proposal";
|
|
3792
|
+
"profile-picture": "profile-picture";
|
|
3793
|
+
"conversation-file": "conversation-file";
|
|
3794
|
+
"audition-entry": "audition-entry";
|
|
3795
|
+
"work-asset": "work-asset";
|
|
3796
|
+
"craft-skill-media": "craft-skill-media";
|
|
3797
|
+
squareStreetz: "squareStreetz";
|
|
3798
|
+
"commission-posting": "commission-posting";
|
|
3799
|
+
"audition-prompt": "audition-prompt";
|
|
3800
|
+
"admin-audition-prompt": "admin-audition-prompt";
|
|
3801
|
+
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
3802
|
+
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
3803
|
+
"hallLibrary-cover-cinematic": "hallLibrary-cover-cinematic";
|
|
3804
|
+
"realm-cover": "realm-cover";
|
|
3805
|
+
"chapter-photo": "chapter-photo";
|
|
3806
|
+
"tune-track-photo": "tune-track-photo";
|
|
3807
|
+
"tune-track-audio": "tune-track-audio";
|
|
3808
|
+
"television-episode-photo": "television-episode-photo";
|
|
3809
|
+
"television-episode-video": "television-episode-video";
|
|
3810
|
+
"ncii-evidence": "ncii-evidence";
|
|
3811
|
+
}>;
|
|
3812
|
+
pendingMediaId: z.ZodString;
|
|
3813
|
+
}, z.core.$strict>;
|
|
3814
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3815
|
+
type: z.ZodLiteral<"follow.created">;
|
|
3816
|
+
ids: z.ZodObject<{
|
|
3817
|
+
followerUid: z.ZodString;
|
|
3818
|
+
targetType: z.ZodEnum<{
|
|
3819
|
+
workRealm: "workRealm";
|
|
3820
|
+
workProject: "workProject";
|
|
3821
|
+
user: "user";
|
|
3822
|
+
}>;
|
|
3823
|
+
targetId: z.ZodString;
|
|
3824
|
+
}, z.core.$strict>;
|
|
3825
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3826
|
+
type: z.ZodLiteral<"follow.removed">;
|
|
3827
|
+
ids: z.ZodObject<{
|
|
3828
|
+
followerUid: z.ZodString;
|
|
3829
|
+
targetType: z.ZodEnum<{
|
|
3830
|
+
workRealm: "workRealm";
|
|
3831
|
+
workProject: "workProject";
|
|
3832
|
+
user: "user";
|
|
3833
|
+
}>;
|
|
3834
|
+
targetId: z.ZodString;
|
|
3835
|
+
}, z.core.$strict>;
|
|
3836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3837
|
+
type: z.ZodLiteral<"squareStreetz.postLiked">;
|
|
3838
|
+
ids: z.ZodObject<{
|
|
3839
|
+
userId: z.ZodString;
|
|
3840
|
+
postId: z.ZodString;
|
|
3841
|
+
authorId: z.ZodString;
|
|
3842
|
+
}, z.core.$strict>;
|
|
3843
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3844
|
+
type: z.ZodLiteral<"squareStreetz.postUnliked">;
|
|
3845
|
+
ids: z.ZodObject<{
|
|
3846
|
+
userId: z.ZodString;
|
|
3847
|
+
postId: z.ZodString;
|
|
3848
|
+
authorId: z.ZodString;
|
|
3849
|
+
}, z.core.$strict>;
|
|
3850
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3851
|
+
type: z.ZodLiteral<"profile.preferencesUpdated">;
|
|
3852
|
+
ids: z.ZodObject<{
|
|
3853
|
+
userId: z.ZodString;
|
|
3854
|
+
}, z.core.$strict>;
|
|
3855
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3856
|
+
type: z.ZodLiteral<"craftSkill.deleted">;
|
|
3857
|
+
ids: z.ZodObject<{
|
|
3858
|
+
userId: z.ZodString;
|
|
3859
|
+
craftSkillId: z.ZodString;
|
|
3860
|
+
}, z.core.$strict>;
|
|
3861
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3862
|
+
type: z.ZodLiteral<"craftSkill.updated">;
|
|
3863
|
+
ids: z.ZodObject<{
|
|
3864
|
+
userId: z.ZodString;
|
|
3865
|
+
craftSkillId: z.ZodString;
|
|
3866
|
+
}, z.core.$strict>;
|
|
3867
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3868
|
+
type: z.ZodLiteral<"workProject.created">;
|
|
3869
|
+
ids: z.ZodObject<{
|
|
3870
|
+
userId: z.ZodString;
|
|
3871
|
+
workProjectId: z.ZodString;
|
|
3872
|
+
}, z.core.$strict>;
|
|
3873
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3874
|
+
type: z.ZodLiteral<"workProject.published">;
|
|
3875
|
+
ids: z.ZodObject<{
|
|
3876
|
+
workProjectId: z.ZodString;
|
|
3877
|
+
userId: z.ZodString;
|
|
3878
|
+
}, z.core.$strict>;
|
|
3879
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3880
|
+
type: z.ZodLiteral<"workProject.stakeSharesUpdated">;
|
|
3881
|
+
ids: z.ZodObject<{
|
|
3882
|
+
workProjectId: z.ZodString;
|
|
3883
|
+
}, z.core.$strict>;
|
|
3884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3885
|
+
type: z.ZodLiteral<"workProject.guildInviteSent">;
|
|
3886
|
+
ids: z.ZodObject<{
|
|
3887
|
+
workProjectId: z.ZodString;
|
|
3888
|
+
guildInviteId: z.ZodString;
|
|
3889
|
+
inviterId: z.ZodString;
|
|
3890
|
+
inviteeId: z.ZodString;
|
|
3891
|
+
}, z.core.$strict>;
|
|
3892
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3893
|
+
type: z.ZodLiteral<"workProject.guildInviteAccepted">;
|
|
3894
|
+
ids: z.ZodObject<{
|
|
3895
|
+
workProjectId: z.ZodString;
|
|
3896
|
+
guildInviteId: z.ZodString;
|
|
3897
|
+
userId: z.ZodString;
|
|
3898
|
+
}, z.core.$strict>;
|
|
3899
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3900
|
+
type: z.ZodLiteral<"workProject.guildInviteDeclined">;
|
|
3901
|
+
ids: z.ZodObject<{
|
|
3902
|
+
workProjectId: z.ZodString;
|
|
3903
|
+
guildInviteId: z.ZodString;
|
|
3904
|
+
userId: z.ZodString;
|
|
3905
|
+
}, z.core.$strict>;
|
|
3906
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3907
|
+
type: z.ZodLiteral<"workProject.guildInviteCancelled">;
|
|
3908
|
+
ids: z.ZodObject<{
|
|
3909
|
+
workProjectId: z.ZodString;
|
|
3910
|
+
guildInviteId: z.ZodString;
|
|
3911
|
+
}, z.core.$strict>;
|
|
3912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3913
|
+
type: z.ZodLiteral<"audition.entryVoted">;
|
|
3914
|
+
ids: z.ZodObject<{
|
|
3915
|
+
userId: z.ZodString;
|
|
3916
|
+
auditionId: z.ZodString;
|
|
3917
|
+
auditionEntryId: z.ZodString;
|
|
3918
|
+
workProjectId: z.ZodString;
|
|
3919
|
+
}, z.core.$strict>;
|
|
3920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3921
|
+
type: z.ZodLiteral<"audition.closed">;
|
|
3922
|
+
ids: z.ZodObject<{
|
|
3923
|
+
auditionId: z.ZodString;
|
|
3924
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
3925
|
+
}, z.core.$strict>;
|
|
3926
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3927
|
+
type: z.ZodLiteral<"commission.deleted">;
|
|
3928
|
+
ids: z.ZodObject<{
|
|
3929
|
+
commissionListingId: z.ZodString;
|
|
3930
|
+
workProjectId: z.ZodString;
|
|
3931
|
+
}, z.core.$strict>;
|
|
3932
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3933
|
+
type: z.ZodLiteral<"commission.commissionProposalSaved">;
|
|
3934
|
+
ids: z.ZodObject<{
|
|
3935
|
+
commissionListingId: z.ZodString;
|
|
3936
|
+
commissionProposalId: z.ZodString;
|
|
3937
|
+
userId: z.ZodString;
|
|
3938
|
+
}, z.core.$strict>;
|
|
3939
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3940
|
+
type: z.ZodLiteral<"commission.commissionProposalRemoved">;
|
|
3941
|
+
ids: z.ZodObject<{
|
|
3942
|
+
commissionListingId: z.ZodString;
|
|
3943
|
+
commissionProposalId: z.ZodString;
|
|
3944
|
+
userId: z.ZodString;
|
|
3945
|
+
}, z.core.$strict>;
|
|
3946
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3947
|
+
type: z.ZodLiteral<"thresholdLibrary.submitted">;
|
|
3948
|
+
ids: z.ZodObject<{
|
|
3949
|
+
workProjectId: z.ZodString;
|
|
3950
|
+
}, z.core.$strict>;
|
|
3951
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3952
|
+
type: z.ZodLiteral<"thresholdLibrary.approved">;
|
|
3953
|
+
ids: z.ZodObject<{
|
|
3954
|
+
thresholdItemId: z.ZodString;
|
|
3955
|
+
hallItemId: z.ZodString;
|
|
3956
|
+
}, z.core.$strict>;
|
|
3957
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3958
|
+
type: z.ZodLiteral<"thresholdLibrary.needsRevision">;
|
|
3959
|
+
ids: z.ZodObject<{
|
|
3960
|
+
thresholdItemId: z.ZodString;
|
|
3961
|
+
hallItemId: z.ZodString;
|
|
3962
|
+
}, z.core.$strict>;
|
|
3963
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3964
|
+
type: z.ZodLiteral<"adminDispatch.systemMarked">;
|
|
3965
|
+
ids: z.ZodObject<{
|
|
3966
|
+
userId: z.ZodString;
|
|
3967
|
+
}, z.core.$strict>;
|
|
3968
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3969
|
+
type: z.ZodLiteral<"adminDispatch.threadUpdated">;
|
|
3970
|
+
ids: z.ZodObject<{
|
|
3971
|
+
adminDispatchId: z.ZodNullable<z.ZodString>;
|
|
3972
|
+
}, z.core.$strict>;
|
|
3973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3974
|
+
type: z.ZodLiteral<"admin.appealReviewed">;
|
|
3975
|
+
ids: z.ZodObject<{
|
|
3976
|
+
violationId: z.ZodString;
|
|
3977
|
+
userId: z.ZodString;
|
|
3978
|
+
}, z.core.$strict>;
|
|
3979
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3980
|
+
type: z.ZodLiteral<"admin.adminDispatchReviewed">;
|
|
3981
|
+
ids: z.ZodObject<{}, z.core.$strict>;
|
|
3982
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3983
|
+
type: z.ZodLiteral<"mention.read">;
|
|
3984
|
+
ids: z.ZodObject<{
|
|
3985
|
+
userId: z.ZodString;
|
|
3986
|
+
mentionId: z.ZodString;
|
|
3987
|
+
}, z.core.$strict>;
|
|
3988
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3989
|
+
type: z.ZodLiteral<"auth.statusChanged">;
|
|
3990
|
+
ids: z.ZodObject<{
|
|
3991
|
+
userId: z.ZodString;
|
|
3992
|
+
}, z.core.$strict>;
|
|
3993
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3994
|
+
type: z.ZodLiteral<"violation.appealSubmitted">;
|
|
3995
|
+
ids: z.ZodObject<{
|
|
3996
|
+
userId: z.ZodString;
|
|
3997
|
+
violationId: z.ZodString;
|
|
3998
|
+
}, z.core.$strict>;
|
|
3999
|
+
}, z.core.$strict>], "type">>;
|
|
4000
|
+
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4001
|
+
collection: z.ZodString;
|
|
4002
|
+
docId: z.ZodString;
|
|
4003
|
+
operation: z.ZodEnum<{
|
|
4004
|
+
create: "create";
|
|
4005
|
+
update: "update";
|
|
4006
|
+
}>;
|
|
4007
|
+
}, z.core.$strict>>>;
|
|
4008
|
+
}, z.core.$strict>;
|
|
4009
|
+
archivedAt: z.ZodNumber;
|
|
4010
|
+
id: z.ZodString;
|
|
4011
|
+
userId: z.ZodString;
|
|
4012
|
+
fileOrigin: z.ZodEnum<{
|
|
4013
|
+
"commission-proposal": "commission-proposal";
|
|
4014
|
+
"profile-picture": "profile-picture";
|
|
4015
|
+
"conversation-file": "conversation-file";
|
|
4016
|
+
"audition-entry": "audition-entry";
|
|
4017
|
+
"work-asset": "work-asset";
|
|
4018
|
+
"craft-skill-media": "craft-skill-media";
|
|
4019
|
+
squareStreetz: "squareStreetz";
|
|
4020
|
+
"commission-posting": "commission-posting";
|
|
4021
|
+
"audition-prompt": "audition-prompt";
|
|
4022
|
+
"admin-audition-prompt": "admin-audition-prompt";
|
|
4023
|
+
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4024
|
+
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
4025
|
+
"hallLibrary-cover-cinematic": "hallLibrary-cover-cinematic";
|
|
4026
|
+
"realm-cover": "realm-cover";
|
|
4027
|
+
"chapter-photo": "chapter-photo";
|
|
4028
|
+
"tune-track-photo": "tune-track-photo";
|
|
4029
|
+
"tune-track-audio": "tune-track-audio";
|
|
4030
|
+
"television-episode-photo": "television-episode-photo";
|
|
4031
|
+
"television-episode-video": "television-episode-video";
|
|
4032
|
+
"ncii-evidence": "ncii-evidence";
|
|
4033
|
+
}>;
|
|
4034
|
+
originalFileName: z.ZodString;
|
|
4035
|
+
originalContentType: z.ZodOptional<z.ZodString>;
|
|
4036
|
+
originalSize: z.ZodOptional<z.ZodNumber>;
|
|
4037
|
+
pendingStoragePath: z.ZodString;
|
|
4038
|
+
targetInfo: z.ZodOptional<z.ZodUnknown>;
|
|
4039
|
+
textContent: z.ZodOptional<z.ZodString>;
|
|
4040
|
+
clientContext: z.ZodObject<{
|
|
4041
|
+
surface: z.ZodString;
|
|
4042
|
+
targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4043
|
+
}, z.core.$strict>;
|
|
4044
|
+
publicationState: z.ZodOptional<z.ZodEnum<{
|
|
4045
|
+
notStarted: "notStarted";
|
|
4046
|
+
activating: "activating";
|
|
4047
|
+
publishing: "publishing";
|
|
4048
|
+
live: "live";
|
|
4049
|
+
publicationFailed: "publicationFailed";
|
|
4050
|
+
}>>;
|
|
4051
|
+
moderationOverride: z.ZodOptional<z.ZodString>;
|
|
4052
|
+
createdAt: z.ZodNumber;
|
|
4053
|
+
updatedAt: z.ZodNumber;
|
|
4054
|
+
processingStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
4055
|
+
processingAttemptCount: z.ZodOptional<z.ZodNumber>;
|
|
4056
|
+
processingLeaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
4057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4058
|
+
status: z.ZodLiteral<"failed">;
|
|
4059
|
+
failedAt: z.ZodNumber;
|
|
4060
|
+
terminalAt: z.ZodNumber;
|
|
4061
|
+
uploadTrayClearedAt: z.ZodOptional<z.ZodNumber>;
|
|
4062
|
+
uploadTrayClearedBy: z.ZodOptional<z.ZodString>;
|
|
4063
|
+
uploadTraySeenAt: z.ZodOptional<z.ZodNumber>;
|
|
4064
|
+
uploadTraySeenBy: z.ZodOptional<z.ZodString>;
|
|
4065
|
+
errorCategory: z.ZodEnum<{
|
|
4066
|
+
moderation: "moderation";
|
|
4067
|
+
system: "system";
|
|
4068
|
+
rate_limit: "rate_limit";
|
|
4069
|
+
validation: "validation";
|
|
4070
|
+
kind_mismatch: "kind_mismatch";
|
|
4071
|
+
storage: "storage";
|
|
4072
|
+
}>;
|
|
4073
|
+
errorMessage: z.ZodString;
|
|
4074
|
+
archivedAt: z.ZodNumber;
|
|
4075
|
+
id: z.ZodString;
|
|
4076
|
+
userId: z.ZodString;
|
|
4077
|
+
fileOrigin: z.ZodEnum<{
|
|
4078
|
+
"commission-proposal": "commission-proposal";
|
|
4079
|
+
"profile-picture": "profile-picture";
|
|
4080
|
+
"conversation-file": "conversation-file";
|
|
4081
|
+
"audition-entry": "audition-entry";
|
|
4082
|
+
"work-asset": "work-asset";
|
|
4083
|
+
"craft-skill-media": "craft-skill-media";
|
|
4084
|
+
squareStreetz: "squareStreetz";
|
|
4085
|
+
"commission-posting": "commission-posting";
|
|
4086
|
+
"audition-prompt": "audition-prompt";
|
|
4087
|
+
"admin-audition-prompt": "admin-audition-prompt";
|
|
4088
|
+
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4089
|
+
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
4090
|
+
"hallLibrary-cover-cinematic": "hallLibrary-cover-cinematic";
|
|
4091
|
+
"realm-cover": "realm-cover";
|
|
4092
|
+
"chapter-photo": "chapter-photo";
|
|
4093
|
+
"tune-track-photo": "tune-track-photo";
|
|
4094
|
+
"tune-track-audio": "tune-track-audio";
|
|
4095
|
+
"television-episode-photo": "television-episode-photo";
|
|
4096
|
+
"television-episode-video": "television-episode-video";
|
|
4097
|
+
"ncii-evidence": "ncii-evidence";
|
|
4098
|
+
}>;
|
|
4099
|
+
originalFileName: z.ZodString;
|
|
4100
|
+
originalContentType: z.ZodOptional<z.ZodString>;
|
|
4101
|
+
originalSize: z.ZodOptional<z.ZodNumber>;
|
|
4102
|
+
pendingStoragePath: z.ZodString;
|
|
4103
|
+
targetInfo: z.ZodOptional<z.ZodUnknown>;
|
|
4104
|
+
textContent: z.ZodOptional<z.ZodString>;
|
|
4105
|
+
clientContext: z.ZodObject<{
|
|
4106
|
+
surface: z.ZodString;
|
|
4107
|
+
targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4108
|
+
}, z.core.$strict>;
|
|
4109
|
+
publicationState: z.ZodOptional<z.ZodEnum<{
|
|
4110
|
+
notStarted: "notStarted";
|
|
4111
|
+
activating: "activating";
|
|
4112
|
+
publishing: "publishing";
|
|
4113
|
+
live: "live";
|
|
4114
|
+
publicationFailed: "publicationFailed";
|
|
4115
|
+
}>>;
|
|
4116
|
+
moderationOverride: z.ZodOptional<z.ZodString>;
|
|
4117
|
+
createdAt: z.ZodNumber;
|
|
4118
|
+
updatedAt: z.ZodNumber;
|
|
4119
|
+
processingStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
4120
|
+
processingAttemptCount: z.ZodOptional<z.ZodNumber>;
|
|
4121
|
+
processingLeaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
4122
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4123
|
+
status: z.ZodLiteral<"rejected">;
|
|
4124
|
+
rejectedAt: z.ZodNumber;
|
|
4125
|
+
terminalAt: z.ZodNumber;
|
|
4126
|
+
uploadTrayClearedAt: z.ZodOptional<z.ZodNumber>;
|
|
4127
|
+
uploadTrayClearedBy: z.ZodOptional<z.ZodString>;
|
|
4128
|
+
uploadTraySeenAt: z.ZodOptional<z.ZodNumber>;
|
|
4129
|
+
uploadTraySeenBy: z.ZodOptional<z.ZodString>;
|
|
4130
|
+
rejectionType: z.ZodEnum<{
|
|
4131
|
+
text: "text";
|
|
4132
|
+
media: "media";
|
|
4133
|
+
}>;
|
|
4134
|
+
errorMessage: z.ZodString;
|
|
4135
|
+
violationId: z.ZodOptional<z.ZodString>;
|
|
4136
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
4137
|
+
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4138
|
+
type: z.ZodLiteral<"profile.pictureUpdated">;
|
|
4139
|
+
ids: z.ZodObject<{
|
|
4140
|
+
userId: z.ZodString;
|
|
4141
|
+
}, z.core.$strict>;
|
|
4142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4143
|
+
type: z.ZodLiteral<"craftSkill.created">;
|
|
4144
|
+
ids: z.ZodObject<{
|
|
4145
|
+
userId: z.ZodString;
|
|
4146
|
+
craftSkillId: z.ZodString;
|
|
4147
|
+
}, z.core.$strict>;
|
|
4148
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4149
|
+
type: z.ZodLiteral<"squareStreetz.postCreated">;
|
|
4150
|
+
ids: z.ZodObject<{
|
|
4151
|
+
userId: z.ZodString;
|
|
4152
|
+
postId: z.ZodString;
|
|
4153
|
+
}, z.core.$strict>;
|
|
4154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4155
|
+
type: z.ZodLiteral<"audition.promptCreated">;
|
|
4156
|
+
ids: z.ZodObject<{
|
|
4157
|
+
userId: z.ZodString;
|
|
4158
|
+
auditionId: z.ZodString;
|
|
4159
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
4160
|
+
}, z.core.$strict>;
|
|
4161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4162
|
+
type: z.ZodLiteral<"audition.entryCreated">;
|
|
4163
|
+
ids: z.ZodObject<{
|
|
4164
|
+
userId: z.ZodString;
|
|
4165
|
+
auditionId: z.ZodString;
|
|
4166
|
+
auditionEntryId: z.ZodString;
|
|
4167
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
4168
|
+
}, z.core.$strict>;
|
|
4169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4170
|
+
type: z.ZodLiteral<"commission.created">;
|
|
4171
|
+
ids: z.ZodObject<{
|
|
4172
|
+
userId: z.ZodString;
|
|
4173
|
+
commissionListingId: z.ZodString;
|
|
4174
|
+
workProjectId: z.ZodString;
|
|
4175
|
+
}, z.core.$strict>;
|
|
4176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4177
|
+
type: z.ZodLiteral<"commission.commissionProposalSubmitted">;
|
|
4178
|
+
ids: z.ZodObject<{
|
|
4179
|
+
userId: z.ZodString;
|
|
4180
|
+
commissionListingId: z.ZodString;
|
|
4181
|
+
workProjectId: z.ZodString;
|
|
4182
|
+
commissionProposalId: z.ZodString;
|
|
4183
|
+
}, z.core.$strict>;
|
|
4184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4185
|
+
type: z.ZodLiteral<"workProject.updated">;
|
|
4186
|
+
ids: z.ZodObject<{
|
|
4187
|
+
workProjectId: z.ZodString;
|
|
4188
|
+
}, z.core.$strict>;
|
|
4189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4190
|
+
type: z.ZodLiteral<"hallLibrary.coverUpdated">;
|
|
4191
|
+
ids: z.ZodObject<{
|
|
4192
|
+
workProjectId: z.ZodString;
|
|
4193
|
+
itemType: z.ZodEnum<{
|
|
4194
|
+
tale: "tale";
|
|
4195
|
+
tune: "tune";
|
|
4196
|
+
television: "television";
|
|
4197
|
+
}>;
|
|
4198
|
+
itemId: z.ZodString;
|
|
4199
|
+
}, z.core.$strict>;
|
|
4200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4201
|
+
type: z.ZodLiteral<"workRealm.coverUpdated">;
|
|
4202
|
+
ids: z.ZodObject<{
|
|
4203
|
+
workRealmId: z.ZodString;
|
|
4204
|
+
}, z.core.$strict>;
|
|
4205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4206
|
+
type: z.ZodLiteral<"hallLibrary.subItemUpdated">;
|
|
4207
|
+
ids: z.ZodObject<{
|
|
4208
|
+
workProjectId: z.ZodString;
|
|
4209
|
+
itemType: z.ZodEnum<{
|
|
4210
|
+
chapter: "chapter";
|
|
4211
|
+
tuneTrack: "tuneTrack";
|
|
4212
|
+
televisionEpisode: "televisionEpisode";
|
|
4213
|
+
}>;
|
|
4214
|
+
parentId: z.ZodString;
|
|
4215
|
+
itemId: z.ZodString;
|
|
4216
|
+
}, z.core.$strict>;
|
|
4217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4218
|
+
type: z.ZodLiteral<"moderation.violationCreated">;
|
|
4219
|
+
ids: z.ZodObject<{
|
|
4220
|
+
userId: z.ZodString;
|
|
4221
|
+
violationId: z.ZodString;
|
|
4222
|
+
fileOrigin: z.ZodEnum<{
|
|
4223
|
+
"commission-proposal": "commission-proposal";
|
|
4224
|
+
"profile-picture": "profile-picture";
|
|
4225
|
+
"conversation-file": "conversation-file";
|
|
4226
|
+
"audition-entry": "audition-entry";
|
|
4227
|
+
"work-asset": "work-asset";
|
|
4228
|
+
"craft-skill-media": "craft-skill-media";
|
|
4229
|
+
squareStreetz: "squareStreetz";
|
|
4230
|
+
"commission-posting": "commission-posting";
|
|
4231
|
+
"audition-prompt": "audition-prompt";
|
|
4232
|
+
"admin-audition-prompt": "admin-audition-prompt";
|
|
4233
|
+
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4234
|
+
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
4235
|
+
"hallLibrary-cover-cinematic": "hallLibrary-cover-cinematic";
|
|
4236
|
+
"realm-cover": "realm-cover";
|
|
4237
|
+
"chapter-photo": "chapter-photo";
|
|
4238
|
+
"tune-track-photo": "tune-track-photo";
|
|
4239
|
+
"tune-track-audio": "tune-track-audio";
|
|
4240
|
+
"television-episode-photo": "television-episode-photo";
|
|
4241
|
+
"television-episode-video": "television-episode-video";
|
|
4242
|
+
"ncii-evidence": "ncii-evidence";
|
|
4243
|
+
}>;
|
|
4244
|
+
pendingMediaId: z.ZodString;
|
|
4245
|
+
}, z.core.$strict>;
|
|
4246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4247
|
+
type: z.ZodLiteral<"follow.created">;
|
|
4248
|
+
ids: z.ZodObject<{
|
|
4249
|
+
followerUid: z.ZodString;
|
|
4250
|
+
targetType: z.ZodEnum<{
|
|
4251
|
+
workRealm: "workRealm";
|
|
4252
|
+
workProject: "workProject";
|
|
4253
|
+
user: "user";
|
|
4254
|
+
}>;
|
|
4255
|
+
targetId: z.ZodString;
|
|
4256
|
+
}, z.core.$strict>;
|
|
4257
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4258
|
+
type: z.ZodLiteral<"follow.removed">;
|
|
4259
|
+
ids: z.ZodObject<{
|
|
4260
|
+
followerUid: z.ZodString;
|
|
4261
|
+
targetType: z.ZodEnum<{
|
|
4262
|
+
workRealm: "workRealm";
|
|
4263
|
+
workProject: "workProject";
|
|
4264
|
+
user: "user";
|
|
4265
|
+
}>;
|
|
4266
|
+
targetId: z.ZodString;
|
|
4267
|
+
}, z.core.$strict>;
|
|
4268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4269
|
+
type: z.ZodLiteral<"squareStreetz.postLiked">;
|
|
4270
|
+
ids: z.ZodObject<{
|
|
4271
|
+
userId: z.ZodString;
|
|
4272
|
+
postId: z.ZodString;
|
|
4273
|
+
authorId: z.ZodString;
|
|
4274
|
+
}, z.core.$strict>;
|
|
4275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4276
|
+
type: z.ZodLiteral<"squareStreetz.postUnliked">;
|
|
4277
|
+
ids: z.ZodObject<{
|
|
4278
|
+
userId: z.ZodString;
|
|
4279
|
+
postId: z.ZodString;
|
|
4280
|
+
authorId: z.ZodString;
|
|
4281
|
+
}, z.core.$strict>;
|
|
4282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4283
|
+
type: z.ZodLiteral<"profile.preferencesUpdated">;
|
|
4284
|
+
ids: z.ZodObject<{
|
|
4285
|
+
userId: z.ZodString;
|
|
4286
|
+
}, z.core.$strict>;
|
|
4287
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4288
|
+
type: z.ZodLiteral<"craftSkill.deleted">;
|
|
4289
|
+
ids: z.ZodObject<{
|
|
4290
|
+
userId: z.ZodString;
|
|
4291
|
+
craftSkillId: z.ZodString;
|
|
4292
|
+
}, z.core.$strict>;
|
|
4293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4294
|
+
type: z.ZodLiteral<"craftSkill.updated">;
|
|
4295
|
+
ids: z.ZodObject<{
|
|
4296
|
+
userId: z.ZodString;
|
|
4297
|
+
craftSkillId: z.ZodString;
|
|
4298
|
+
}, z.core.$strict>;
|
|
4299
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4300
|
+
type: z.ZodLiteral<"workProject.created">;
|
|
4301
|
+
ids: z.ZodObject<{
|
|
4302
|
+
userId: z.ZodString;
|
|
4303
|
+
workProjectId: z.ZodString;
|
|
4304
|
+
}, z.core.$strict>;
|
|
4305
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4306
|
+
type: z.ZodLiteral<"workProject.published">;
|
|
4307
|
+
ids: z.ZodObject<{
|
|
4308
|
+
workProjectId: z.ZodString;
|
|
4309
|
+
userId: z.ZodString;
|
|
4310
|
+
}, z.core.$strict>;
|
|
4311
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4312
|
+
type: z.ZodLiteral<"workProject.stakeSharesUpdated">;
|
|
4313
|
+
ids: z.ZodObject<{
|
|
4314
|
+
workProjectId: z.ZodString;
|
|
4315
|
+
}, z.core.$strict>;
|
|
4316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4317
|
+
type: z.ZodLiteral<"workProject.guildInviteSent">;
|
|
4318
|
+
ids: z.ZodObject<{
|
|
4319
|
+
workProjectId: z.ZodString;
|
|
4320
|
+
guildInviteId: z.ZodString;
|
|
4321
|
+
inviterId: z.ZodString;
|
|
4322
|
+
inviteeId: z.ZodString;
|
|
4323
|
+
}, z.core.$strict>;
|
|
4324
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4325
|
+
type: z.ZodLiteral<"workProject.guildInviteAccepted">;
|
|
4326
|
+
ids: z.ZodObject<{
|
|
4327
|
+
workProjectId: z.ZodString;
|
|
4328
|
+
guildInviteId: z.ZodString;
|
|
4329
|
+
userId: z.ZodString;
|
|
4330
|
+
}, z.core.$strict>;
|
|
4331
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4332
|
+
type: z.ZodLiteral<"workProject.guildInviteDeclined">;
|
|
4333
|
+
ids: z.ZodObject<{
|
|
4334
|
+
workProjectId: z.ZodString;
|
|
4335
|
+
guildInviteId: z.ZodString;
|
|
4336
|
+
userId: z.ZodString;
|
|
4337
|
+
}, z.core.$strict>;
|
|
4338
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4339
|
+
type: z.ZodLiteral<"workProject.guildInviteCancelled">;
|
|
4340
|
+
ids: z.ZodObject<{
|
|
4341
|
+
workProjectId: z.ZodString;
|
|
4342
|
+
guildInviteId: z.ZodString;
|
|
4343
|
+
}, z.core.$strict>;
|
|
4344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4345
|
+
type: z.ZodLiteral<"audition.entryVoted">;
|
|
4346
|
+
ids: z.ZodObject<{
|
|
4347
|
+
userId: z.ZodString;
|
|
4348
|
+
auditionId: z.ZodString;
|
|
4349
|
+
auditionEntryId: z.ZodString;
|
|
4350
|
+
workProjectId: z.ZodString;
|
|
4351
|
+
}, z.core.$strict>;
|
|
4352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4353
|
+
type: z.ZodLiteral<"audition.closed">;
|
|
4354
|
+
ids: z.ZodObject<{
|
|
4355
|
+
auditionId: z.ZodString;
|
|
4356
|
+
workProjectId: z.ZodOptional<z.ZodString>;
|
|
4357
|
+
}, z.core.$strict>;
|
|
4358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4359
|
+
type: z.ZodLiteral<"commission.deleted">;
|
|
4360
|
+
ids: z.ZodObject<{
|
|
4361
|
+
commissionListingId: z.ZodString;
|
|
4362
|
+
workProjectId: z.ZodString;
|
|
4363
|
+
}, z.core.$strict>;
|
|
4364
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4365
|
+
type: z.ZodLiteral<"commission.commissionProposalSaved">;
|
|
4366
|
+
ids: z.ZodObject<{
|
|
4367
|
+
commissionListingId: z.ZodString;
|
|
4368
|
+
commissionProposalId: z.ZodString;
|
|
4369
|
+
userId: z.ZodString;
|
|
4370
|
+
}, z.core.$strict>;
|
|
4371
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4372
|
+
type: z.ZodLiteral<"commission.commissionProposalRemoved">;
|
|
4373
|
+
ids: z.ZodObject<{
|
|
4374
|
+
commissionListingId: z.ZodString;
|
|
4375
|
+
commissionProposalId: z.ZodString;
|
|
4376
|
+
userId: z.ZodString;
|
|
4377
|
+
}, z.core.$strict>;
|
|
4378
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4379
|
+
type: z.ZodLiteral<"thresholdLibrary.submitted">;
|
|
4380
|
+
ids: z.ZodObject<{
|
|
4381
|
+
workProjectId: z.ZodString;
|
|
4382
|
+
}, z.core.$strict>;
|
|
4383
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4384
|
+
type: z.ZodLiteral<"thresholdLibrary.approved">;
|
|
4385
|
+
ids: z.ZodObject<{
|
|
4386
|
+
thresholdItemId: z.ZodString;
|
|
4387
|
+
hallItemId: z.ZodString;
|
|
4388
|
+
}, z.core.$strict>;
|
|
4389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4390
|
+
type: z.ZodLiteral<"thresholdLibrary.needsRevision">;
|
|
4391
|
+
ids: z.ZodObject<{
|
|
4392
|
+
thresholdItemId: z.ZodString;
|
|
4393
|
+
hallItemId: z.ZodString;
|
|
4394
|
+
}, z.core.$strict>;
|
|
4395
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4396
|
+
type: z.ZodLiteral<"adminDispatch.systemMarked">;
|
|
4397
|
+
ids: z.ZodObject<{
|
|
4398
|
+
userId: z.ZodString;
|
|
4399
|
+
}, z.core.$strict>;
|
|
4400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4401
|
+
type: z.ZodLiteral<"adminDispatch.threadUpdated">;
|
|
4402
|
+
ids: z.ZodObject<{
|
|
4403
|
+
adminDispatchId: z.ZodNullable<z.ZodString>;
|
|
4404
|
+
}, z.core.$strict>;
|
|
4405
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4406
|
+
type: z.ZodLiteral<"admin.appealReviewed">;
|
|
4407
|
+
ids: z.ZodObject<{
|
|
4408
|
+
violationId: z.ZodString;
|
|
4409
|
+
userId: z.ZodString;
|
|
4410
|
+
}, z.core.$strict>;
|
|
4411
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4412
|
+
type: z.ZodLiteral<"admin.adminDispatchReviewed">;
|
|
4413
|
+
ids: z.ZodObject<{}, z.core.$strict>;
|
|
4414
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4415
|
+
type: z.ZodLiteral<"mention.read">;
|
|
4416
|
+
ids: z.ZodObject<{
|
|
4417
|
+
userId: z.ZodString;
|
|
4418
|
+
mentionId: z.ZodString;
|
|
4419
|
+
}, z.core.$strict>;
|
|
4420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4421
|
+
type: z.ZodLiteral<"auth.statusChanged">;
|
|
4422
|
+
ids: z.ZodObject<{
|
|
4423
|
+
userId: z.ZodString;
|
|
4424
|
+
}, z.core.$strict>;
|
|
4425
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4426
|
+
type: z.ZodLiteral<"violation.appealSubmitted">;
|
|
4427
|
+
ids: z.ZodObject<{
|
|
4428
|
+
userId: z.ZodString;
|
|
4429
|
+
violationId: z.ZodString;
|
|
4430
|
+
}, z.core.$strict>;
|
|
4431
|
+
}, z.core.$strict>], "type">>;
|
|
4432
|
+
affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4433
|
+
collection: z.ZodString;
|
|
4434
|
+
docId: z.ZodString;
|
|
4435
|
+
operation: z.ZodEnum<{
|
|
4436
|
+
create: "create";
|
|
4437
|
+
update: "update";
|
|
4438
|
+
}>;
|
|
4439
|
+
}, z.core.$strict>>>;
|
|
4440
|
+
}, z.core.$strict>>;
|
|
4441
|
+
archivedAt: z.ZodNumber;
|
|
4442
|
+
id: z.ZodString;
|
|
4443
|
+
userId: z.ZodString;
|
|
4444
|
+
fileOrigin: z.ZodEnum<{
|
|
4445
|
+
"commission-proposal": "commission-proposal";
|
|
4446
|
+
"profile-picture": "profile-picture";
|
|
4447
|
+
"conversation-file": "conversation-file";
|
|
4448
|
+
"audition-entry": "audition-entry";
|
|
4449
|
+
"work-asset": "work-asset";
|
|
4450
|
+
"craft-skill-media": "craft-skill-media";
|
|
4451
|
+
squareStreetz: "squareStreetz";
|
|
4452
|
+
"commission-posting": "commission-posting";
|
|
4453
|
+
"audition-prompt": "audition-prompt";
|
|
4454
|
+
"admin-audition-prompt": "admin-audition-prompt";
|
|
4455
|
+
"hallLibrary-cover-square": "hallLibrary-cover-square";
|
|
4456
|
+
"hallLibrary-cover-poster": "hallLibrary-cover-poster";
|
|
4457
|
+
"hallLibrary-cover-cinematic": "hallLibrary-cover-cinematic";
|
|
4458
|
+
"realm-cover": "realm-cover";
|
|
4459
|
+
"chapter-photo": "chapter-photo";
|
|
4460
|
+
"tune-track-photo": "tune-track-photo";
|
|
4461
|
+
"tune-track-audio": "tune-track-audio";
|
|
4462
|
+
"television-episode-photo": "television-episode-photo";
|
|
4463
|
+
"television-episode-video": "television-episode-video";
|
|
4464
|
+
"ncii-evidence": "ncii-evidence";
|
|
4465
|
+
}>;
|
|
4466
|
+
originalFileName: z.ZodString;
|
|
4467
|
+
originalContentType: z.ZodOptional<z.ZodString>;
|
|
4468
|
+
originalSize: z.ZodOptional<z.ZodNumber>;
|
|
4469
|
+
pendingStoragePath: z.ZodString;
|
|
4470
|
+
targetInfo: z.ZodOptional<z.ZodUnknown>;
|
|
4471
|
+
textContent: z.ZodOptional<z.ZodString>;
|
|
4472
|
+
clientContext: z.ZodObject<{
|
|
4473
|
+
surface: z.ZodString;
|
|
4474
|
+
targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4475
|
+
}, z.core.$strict>;
|
|
4476
|
+
publicationState: z.ZodOptional<z.ZodEnum<{
|
|
4477
|
+
notStarted: "notStarted";
|
|
4478
|
+
activating: "activating";
|
|
4479
|
+
publishing: "publishing";
|
|
4480
|
+
live: "live";
|
|
4481
|
+
publicationFailed: "publicationFailed";
|
|
4482
|
+
}>>;
|
|
4483
|
+
moderationOverride: z.ZodOptional<z.ZodString>;
|
|
4484
|
+
createdAt: z.ZodNumber;
|
|
4485
|
+
updatedAt: z.ZodNumber;
|
|
4486
|
+
processingStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
4487
|
+
processingAttemptCount: z.ZodOptional<z.ZodNumber>;
|
|
4488
|
+
processingLeaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
4489
|
+
}, z.core.$strict>], "status">, z.ZodObject<{
|
|
4490
|
+
parseFailed: z.ZodLiteral<true>;
|
|
4491
|
+
archivedAt: z.ZodNumber;
|
|
4492
|
+
raw: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4493
|
+
}, z.core.$strict>]>;
|
|
3691
4494
|
export type PendingMediaErrorCategory = z.infer<typeof PendingMediaErrorCategorySchema>;
|
|
3692
4495
|
export type PendingMediaResult = z.infer<typeof PendingMediaResultSchema>;
|
|
3693
4496
|
export type PendingMediaPending = z.infer<typeof PendingMediaPendingSchema>;
|
|
@@ -3697,6 +4500,8 @@ export type PendingMediaFailed = z.infer<typeof PendingMediaFailedSchema>;
|
|
|
3697
4500
|
export type PendingMediaRejected = z.infer<typeof PendingMediaRejectedSchema>;
|
|
3698
4501
|
export type PendingMedia = z.infer<typeof PendingMediaSchema>;
|
|
3699
4502
|
export type ArchivedPendingMedia = z.infer<typeof ArchivedPendingMediaSchema>;
|
|
4503
|
+
export type ArchivedPendingMediaQuarantined = z.infer<typeof ArchivedPendingMediaQuarantinedSchema>;
|
|
4504
|
+
export type ArchivedPendingMediaDoc = z.infer<typeof ArchivedPendingMediaDocSchema>;
|
|
3700
4505
|
export declare function parsePendingMedia(input: unknown): PendingMedia;
|
|
3701
4506
|
export declare function parseArchivedPendingMedia(input: unknown): ArchivedPendingMedia;
|
|
3702
4507
|
//# sourceMappingURL=pending-media.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pending-media.d.ts","sourceRoot":"","sources":["../../src/media/pending-media.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAS7B,eAAO,MAAM,+BAA+B;;;;;;;EAA0C,CAAC;AACvF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAmC,CAAC;AACzE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAoC,CAAC;AAC3E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAuC,CAAC;AACjF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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oB,CAE9E"}
|
|
@@ -17,6 +17,8 @@ export const ArchivedPendingMediaCompletedSchema = schemas.ArchivedPendingMediaC
|
|
|
17
17
|
export const ArchivedPendingMediaFailedSchema = schemas.ArchivedPendingMediaFailedSchema;
|
|
18
18
|
export const ArchivedPendingMediaRejectedSchema = schemas.ArchivedPendingMediaRejectedSchema;
|
|
19
19
|
export const ArchivedPendingMediaSchema = schemas.ArchivedPendingMediaSchema;
|
|
20
|
+
export const ArchivedPendingMediaQuarantinedSchema = schemas.ArchivedPendingMediaQuarantinedSchema;
|
|
21
|
+
export const ArchivedPendingMediaDocSchema = schemas.ArchivedPendingMediaDocSchema;
|
|
20
22
|
export function parsePendingMedia(input) {
|
|
21
23
|
return PendingMediaSchema.parse(input);
|
|
22
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pending-media.js","sourceRoot":"","sources":["../../src/media/pending-media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,OAAO,GAAG,yBAAyB,CAAC;IACxC,gBAAgB,EAAE,gBAAgB;IAClC,iBAAiB,EAAE,iBAAiB;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAC;AACvF,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC;AACzE,MAAM,CAAC,MAAM,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC;AAC3E,MAAM,CAAC,MAAM,4BAA4B,GAAG,OAAO,CAAC,4BAA4B,CAAC;AACjF,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC,2BAA2B,CAAC;AAC/E,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAO,CA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,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;AAE7D,MAAM,CAAC,MAAM,mCAAmC,GAAG,OAAO,CAAC,mCAAmC,CAAC;AAC/F,MAAM,CAAC,MAAM,gCAAgC,GAAG,OAAO,CAAC,gCAAgC,CAAC;AACzF,MAAM,CAAC,MAAM,kCAAkC,GAAG,OAAO,CAAC,kCAAkC,CAAC;AAC7F,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAC;AAC7E,MAAM,CAAC,MAAM,qCAAqC,GAAG,OAAO,CAAC,qCAAqC,CAAC;AACnG,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAC;AAcnF,MAAM,UAAU,iBAAiB,CAAC,KAAc;IAC9C,OAAO,kBAAkB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,KAAc;IACtD,OAAO,0BAA0B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC","sourcesContent":["import { createPendingMediaSchemas } from \"@ttt-productions/media-schemas\";\nimport type { z } from \"zod\";\nimport { FileOriginSchema } from \"./file-origin.js\";\nimport { DomainEventSchema } from \"./domain-events.js\";\n\nconst schemas = createPendingMediaSchemas({\n fileOriginSchema: FileOriginSchema,\n domainEventSchema: DomainEventSchema,\n});\n\nexport const PendingMediaErrorCategorySchema = schemas.PendingMediaErrorCategorySchema;\nexport const PendingMediaResultSchema = schemas.PendingMediaResultSchema;\nexport const PendingMediaPendingSchema = schemas.PendingMediaPendingSchema;\nexport const PendingMediaProcessingSchema = schemas.PendingMediaProcessingSchema;\nexport const PendingMediaCompletedSchema = schemas.PendingMediaCompletedSchema;\nexport const PendingMediaFailedSchema = schemas.PendingMediaFailedSchema;\nexport const PendingMediaRejectedSchema = schemas.PendingMediaRejectedSchema;\nexport const PendingMediaSchema = schemas.PendingMediaSchema;\n\nexport const ArchivedPendingMediaCompletedSchema = schemas.ArchivedPendingMediaCompletedSchema;\nexport const ArchivedPendingMediaFailedSchema = schemas.ArchivedPendingMediaFailedSchema;\nexport const ArchivedPendingMediaRejectedSchema = schemas.ArchivedPendingMediaRejectedSchema;\nexport const ArchivedPendingMediaSchema = schemas.ArchivedPendingMediaSchema;\nexport const ArchivedPendingMediaQuarantinedSchema = schemas.ArchivedPendingMediaQuarantinedSchema;\nexport const ArchivedPendingMediaDocSchema = schemas.ArchivedPendingMediaDocSchema;\n\nexport type PendingMediaErrorCategory = z.infer<typeof PendingMediaErrorCategorySchema>;\nexport type PendingMediaResult = z.infer<typeof PendingMediaResultSchema>;\nexport type PendingMediaPending = z.infer<typeof PendingMediaPendingSchema>;\nexport type PendingMediaProcessing = z.infer<typeof PendingMediaProcessingSchema>;\nexport type PendingMediaCompleted = z.infer<typeof PendingMediaCompletedSchema>;\nexport type PendingMediaFailed = z.infer<typeof PendingMediaFailedSchema>;\nexport type PendingMediaRejected = z.infer<typeof PendingMediaRejectedSchema>;\nexport type PendingMedia = z.infer<typeof PendingMediaSchema>;\nexport type ArchivedPendingMedia = z.infer<typeof ArchivedPendingMediaSchema>;\nexport type ArchivedPendingMediaQuarantined = z.infer<typeof ArchivedPendingMediaQuarantinedSchema>;\nexport type ArchivedPendingMediaDoc = z.infer<typeof ArchivedPendingMediaDocSchema>;\n\nexport function parsePendingMedia(input: unknown): PendingMedia {\n return PendingMediaSchema.parse(input);\n}\n\nexport function parseArchivedPendingMedia(input: unknown): ArchivedPendingMedia {\n return ArchivedPendingMediaSchema.parse(input);\n}\n"]}
|
|
@@ -14,15 +14,18 @@ export declare const UpdateAdminDispatchStatusInputSchema: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
}, z.core.$strict>;
|
|
16
16
|
export type UpdateAdminDispatchStatusInput = z.infer<typeof UpdateAdminDispatchStatusInputSchema>;
|
|
17
|
-
export declare const UpdateInviteConfirmationInputSchema: z.ZodObject<{
|
|
17
|
+
export declare const UpdateInviteConfirmationInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18
|
+
guildInviteId: z.ZodString;
|
|
19
|
+
action: z.ZodLiteral<"agree">;
|
|
20
|
+
expectedStakeShares: z.ZodNumber;
|
|
21
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18
22
|
guildInviteId: z.ZodString;
|
|
19
23
|
action: z.ZodEnum<{
|
|
20
|
-
agree: "agree";
|
|
21
24
|
decline: "decline";
|
|
22
25
|
cancel: "cancel";
|
|
23
26
|
retract: "retract";
|
|
24
27
|
}>;
|
|
25
|
-
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>], "action">;
|
|
26
29
|
export type UpdateInviteConfirmationInput = z.infer<typeof UpdateInviteConfirmationInputSchema>;
|
|
27
30
|
export declare const UpdateGuildInviteStakeSharesInputSchema: z.ZodObject<{
|
|
28
31
|
guildInviteId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-dispatch-actions.d.ts","sourceRoot":"","sources":["../../src/schemas/admin-dispatch-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;8DAC8D;AAC9D,eAAO,MAAM,8BAA8B;;;EAAmD,CAAC;AAC/F,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAItF,eAAO,MAAM,oCAAoC;;;;;;kBAGtC,CAAC;AACZ,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"admin-dispatch-actions.d.ts","sourceRoot":"","sources":["../../src/schemas/admin-dispatch-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;8DAC8D;AAC9D,eAAO,MAAM,8BAA8B;;;EAAmD,CAAC;AAC/F,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAItF,eAAO,MAAM,oCAAoC;;;;;;kBAGtC,CAAC;AACZ,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAMlG,eAAO,MAAM,mCAAmC;;;;;;;;;;;8BAU9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,uCAAuC;;;kBAGzC,CAAC;AACZ,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAIxG,eAAO,MAAM,8BAA8B;;iBAEzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAItF,eAAO,MAAM,qCAAqC;;;;;;;;;iBAUhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,+BAA+B;;;;;iBAQ1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -9,10 +9,21 @@ export const UpdateAdminDispatchStatusInputSchema = z.object({
|
|
|
9
9
|
adminDispatchId: adminDispatchIdSchema,
|
|
10
10
|
newStatus: AdminDispatchCloseStatusSchema,
|
|
11
11
|
}).strict();
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
// The invite conversation is the binding agreement, so consent is pinned to specific terms:
|
|
13
|
+
// an `agree` must carry the stake-share offer the member was shown, and the backend rejects
|
|
14
|
+
// the action inside its transaction when the doc's current offer differs (the member re-agrees
|
|
15
|
+
// against the fresh value). The other actions don't assert terms and carry no pin.
|
|
16
|
+
export const UpdateInviteConfirmationInputSchema = z.discriminatedUnion('action', [
|
|
17
|
+
z.object({
|
|
18
|
+
guildInviteId: guildInviteIdSchema,
|
|
19
|
+
action: z.literal('agree'),
|
|
20
|
+
expectedStakeShares: z.number().int().min(1),
|
|
21
|
+
}).strict(),
|
|
22
|
+
z.object({
|
|
23
|
+
guildInviteId: guildInviteIdSchema,
|
|
24
|
+
action: z.enum(['decline', 'cancel', 'retract']),
|
|
25
|
+
}).strict(),
|
|
26
|
+
]);
|
|
16
27
|
export const UpdateGuildInviteStakeSharesInputSchema = z.object({
|
|
17
28
|
guildInviteId: guildInviteIdSchema,
|
|
18
29
|
newStakeShares: z.number().int().min(1),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-dispatch-actions.js","sourceRoot":"","sources":["../../src/schemas/admin-dispatch-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAExE;8DAC8D;AAC9D,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC,CAAC;AAG/F,0FAA0F;AAC1F,6FAA6F;AAC7F,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,eAAe,EAAE,qBAAqB;IACtC,SAAS,EAAE,8BAA8B;CAC1C,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"admin-dispatch-actions.js","sourceRoot":"","sources":["../../src/schemas/admin-dispatch-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,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AAe,EAAE,qBAAqB;CACvC,CAAC,CAAC;AAGH,8EAA8E;AAE9E,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACxB,eAAe,EAAE,qBAAqB;IACtC,wCAAwC;IACxC,SAAS,EAAE,8BAA8B;IACzC,uFAAuF;IACvF,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B;qGACiG;IACjG,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACxB,eAAe,EAAE,qBAAqB;IACtC,wFAAwF;IACxF,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACnD;qGACiG;IACjG,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { adminDispatchIdSchema, guildInviteIdSchema } from './atoms.js';\n\n/** The two terminal dispatch-thread statuses a close can set (ONE canonical declaration —\n * shared by the close input and its authoritative result). */\nexport const AdminDispatchCloseStatusSchema = z.enum(['closed_resolved', 'closed_unresolved']);\nexport type AdminDispatchCloseStatus = z.infer<typeof AdminDispatchCloseStatusSchema>;\n\n// The close message is composed SERVER-SIDE from the authoritative actor role; the client\n// supplies no message text (a client-supplied value would be a system-message spoof vector).\nexport const UpdateAdminDispatchStatusInputSchema = z.object({\n adminDispatchId: adminDispatchIdSchema,\n newStatus: AdminDispatchCloseStatusSchema,\n}).strict();\nexport type UpdateAdminDispatchStatusInput = z.infer<typeof UpdateAdminDispatchStatusInputSchema>;\n\n// The invite conversation is the binding agreement, so consent is pinned to specific terms:\n// an `agree` must carry the stake-share offer the member was shown, and the backend rejects\n// the action inside its transaction when the doc's current offer differs (the member re-agrees\n// against the fresh value). The other actions don't assert terms and carry no pin.\nexport const UpdateInviteConfirmationInputSchema = z.discriminatedUnion('action', [\n z.object({\n guildInviteId: guildInviteIdSchema,\n action: z.literal('agree'),\n expectedStakeShares: z.number().int().min(1),\n }).strict(),\n z.object({\n guildInviteId: guildInviteIdSchema,\n action: z.enum(['decline', 'cancel', 'retract']),\n }).strict(),\n]);\nexport type UpdateInviteConfirmationInput = z.infer<typeof UpdateInviteConfirmationInputSchema>;\n\nexport const UpdateGuildInviteStakeSharesInputSchema = z.object({\n guildInviteId: guildInviteIdSchema,\n newStakeShares: z.number().int().min(1),\n}).strict();\nexport type UpdateGuildInviteStakeSharesInput = z.infer<typeof UpdateGuildInviteStakeSharesInputSchema>;\n\n// Admin/jr-admin deletes a user's support dispatch thread (`deleteAdminDispatch`). Non-strict\n// posture is carried faithfully from the source callable.\nexport const DeleteAdminDispatchInputSchema = z.object({\n adminDispatchId: adminDispatchIdSchema,\n});\nexport type DeleteAdminDispatchInput = z.infer<typeof DeleteAdminDispatchInputSchema>;\n\n// --- Authoritative mutation RESULTS (non-strict server → client posture) ---\n\nexport const UpdateAdminDispatchStatusResultSchema = z.object({\n success: z.literal(true),\n adminDispatchId: adminDispatchIdSchema,\n /** The thread's status after commit. */\n newStatus: AdminDispatchCloseStatusSchema,\n /** Uid of the closer (the caller) — attribution for the server-composed close line. */\n closedBy: z.string().min(1),\n /** Operation-receipt audit id — the `chat.adminThreadStatusChanged` event written in the same\n * transaction. Optional/additive; the domain id (`adminDispatchId`) is already carried above. */\n auditEventId: z.string().min(1).optional(),\n});\nexport type UpdateAdminDispatchStatusResult = z.infer<typeof UpdateAdminDispatchStatusResultSchema>;\n\nexport const DeleteAdminDispatchResultSchema = z.object({\n success: z.literal(true),\n adminDispatchId: adminDispatchIdSchema,\n /** Conversation messages removed with the thread (counted during the delete itself). */\n deletedMessageCount: z.number().int().nonnegative(),\n /** Operation-receipt audit id — the `admin.dispatchDeleted` event written in the same\n * transaction. Optional/additive; the domain id (`adminDispatchId`) is already carried above. */\n auditEventId: z.string().min(1).optional(),\n});\nexport type DeleteAdminDispatchResult = z.infer<typeof DeleteAdminDispatchResultSchema>;\n\n\n"]}
|
package/dist/types/content.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export type { ThresholdItem, PublishedHallItem, PublishedTuneTrack, PublishedCha
|
|
|
12
12
|
export type { HallLibraryPreferences, HallLibraryInProgressEntry, HallLibraryRecentlyViewedEntry, HallLibrarySettings, } from '../doc-schemas/content.js';
|
|
13
13
|
export type HallLibrarySortOption = 'newest' | 'oldest' | 'most_followed';
|
|
14
14
|
export type HallLibraryFilters = {
|
|
15
|
-
workGenre?: string;
|
|
16
15
|
hallWingType: HallWingTypeFilter;
|
|
17
16
|
workProjectType: WorkProjectTypeFilter;
|
|
18
17
|
sortBy: HallLibrarySortOption;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/types/content.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,aAAa,EACb,cAAc,EACd,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AAInC,eAAO,MAAM,mBAAmB,4DAA6D,CAAC;AAC9F,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,6FAA6F;AAC7F,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,KAAK,CAAC;AAEtD,eAAO,MAAM,sBAAsB,2CAA4C,CAAC;AAChF,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,gGAAgG;AAChG,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,EAC9B,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,qBAAqB,GAC7B,QAAQ,GACR,QAAQ,GACR,eAAe,CAAC;AAMpB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,kBAAkB,CAAC;IACjC,eAAe,EAAE,qBAAqB,CAAC;IACvC,MAAM,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAGF,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,IAAI,EACJ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/types/content.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAYvD,4BAA4B;AAE5B,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,eAAe,EAAE,aAAa,EAAE,eAAe,CAAU,CAAC;AAM9F,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,CAAU,CAAC","sourcesContent":["// Content types: Tales, Tunes, Television, HallLibrary\n\n// --- WorkProject content sub-docs (shapes in ../doc-schemas/content.ts) ---\nexport type {\n FullTale,\n FullChapter,\n FullTune,\n FullTuneTrack,\n FullTelevision,\n FullTelevisionEpisode,\n} from '../doc-schemas/content.js';\n\n// --- HallLibrary Types ---\n\nexport const HALL_WING_TYPE_KEYS = ['entertainment', 'educational', 'newsPolitical'] as const;\nexport type HallWingType = (typeof HALL_WING_TYPE_KEYS)[number];\n\n/** HallWingType with 'All' filter option — for UI filtering only, not stored in Firestore */\nexport type HallWingTypeFilter = HallWingType | 'All';\n\nexport const WORK_PROJECT_TYPE_KEYS = ['Tales', 'Tunes', 'Television'] as const;\nexport type WorkProjectType = (typeof WORK_PROJECT_TYPE_KEYS)[number];\n\n/** WorkProjectType with 'All' filter option — for UI filtering only, not stored in Firestore */\nexport type WorkProjectTypeFilter = WorkProjectType | 'All';\n\nexport type { ItemsKey } from '../doc-schemas/content.js';\n\n// --- Threshold + Hall library items (shapes in ../doc-schemas/content.ts) ---\nexport type {\n ThresholdItem,\n PublishedHallItem,\n PublishedTuneTrack,\n PublishedChapter,\n PublishedTelevisionEpisode,\n HallContentChangeRequest,\n HallContentTextSurface,\n} from '../doc-schemas/content.js';\n\nexport type {\n HallLibraryPreferences,\n HallLibraryInProgressEntry,\n HallLibraryRecentlyViewedEntry,\n HallLibrarySettings,\n} from '../doc-schemas/content.js';\n\nexport type HallLibrarySortOption =\n | 'newest'\n | 'oldest'\n | 'most_followed';\n\nexport type HallLibraryFilters = {\n
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/types/content.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAYvD,4BAA4B;AAE5B,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,eAAe,EAAE,aAAa,EAAE,eAAe,CAAU,CAAC;AAM9F,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,CAAU,CAAC","sourcesContent":["// Content types: Tales, Tunes, Television, HallLibrary\n\n// --- WorkProject content sub-docs (shapes in ../doc-schemas/content.ts) ---\nexport type {\n FullTale,\n FullChapter,\n FullTune,\n FullTuneTrack,\n FullTelevision,\n FullTelevisionEpisode,\n} from '../doc-schemas/content.js';\n\n// --- HallLibrary Types ---\n\nexport const HALL_WING_TYPE_KEYS = ['entertainment', 'educational', 'newsPolitical'] as const;\nexport type HallWingType = (typeof HALL_WING_TYPE_KEYS)[number];\n\n/** HallWingType with 'All' filter option — for UI filtering only, not stored in Firestore */\nexport type HallWingTypeFilter = HallWingType | 'All';\n\nexport const WORK_PROJECT_TYPE_KEYS = ['Tales', 'Tunes', 'Television'] as const;\nexport type WorkProjectType = (typeof WORK_PROJECT_TYPE_KEYS)[number];\n\n/** WorkProjectType with 'All' filter option — for UI filtering only, not stored in Firestore */\nexport type WorkProjectTypeFilter = WorkProjectType | 'All';\n\nexport type { ItemsKey } from '../doc-schemas/content.js';\n\n// --- Threshold + Hall library items (shapes in ../doc-schemas/content.ts) ---\nexport type {\n ThresholdItem,\n PublishedHallItem,\n PublishedTuneTrack,\n PublishedChapter,\n PublishedTelevisionEpisode,\n HallContentChangeRequest,\n HallContentTextSurface,\n} from '../doc-schemas/content.js';\n\nexport type {\n HallLibraryPreferences,\n HallLibraryInProgressEntry,\n HallLibraryRecentlyViewedEntry,\n HallLibrarySettings,\n} from '../doc-schemas/content.js';\n\nexport type HallLibrarySortOption =\n | 'newest'\n | 'oldest'\n | 'most_followed';\n\n// V1 Hall browse filters on the big categories only (medium coins × wing coins). The genre\n// FILTER was removed for launch (DJ, 2026-07-27) — works still TAG per-medium genres at\n// creation and display them, so a browse genre filter can return post-launch once real\n// content data exists (options recorded in ttt-prod docs/post-launch).\nexport type HallLibraryFilters = {\n hallWingType: HallWingTypeFilter;\n workProjectType: WorkProjectTypeFilter;\n sortBy: HallLibrarySortOption;\n};\n\n// --- _config singleton docs (shapes in ../doc-schemas/content.ts) ---\nexport type {\n FuturePlanItem,\n FuturePlansDocument,\n RuleGroup,\n RuleSubgroup,\n Rule,\n AgreementCategory,\n RulesAndAgreements,\n} from '../doc-schemas/content.js';\n\n\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttt-productions/ttt-core",
|
|
3
|
-
"version": "0.79.
|
|
3
|
+
"version": "0.79.5",
|
|
4
4
|
"description": "Core types, Firestore path constants, and shared constants for TTT Productions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@ttt-productions/audit-core": "^0.7.1",
|
|
117
117
|
"@ttt-productions/chat-schemas": "^0.10.0",
|
|
118
118
|
"@ttt-productions/edge-protocol-core": "^0.1.5",
|
|
119
|
-
"@ttt-productions/media-schemas": "^0.14.
|
|
119
|
+
"@ttt-productions/media-schemas": "^0.14.4",
|
|
120
120
|
"@ttt-productions/notification-core": "^0.15.5",
|
|
121
121
|
"@ttt-productions/report-core": "^0.16.6",
|
|
122
122
|
"zod": "^4.4.3"
|