@ttt-productions/ttt-core 0.79.39 → 0.79.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/doc-schemas/chat-sync.d.ts +81 -9
  2. package/dist/doc-schemas/chat-sync.d.ts.map +1 -1
  3. package/dist/doc-schemas/chat-sync.js +39 -8
  4. package/dist/doc-schemas/chat-sync.js.map +1 -1
  5. package/dist/doc-schemas/content.d.ts +12 -6
  6. package/dist/doc-schemas/content.d.ts.map +1 -1
  7. package/dist/doc-schemas/content.js +65 -4
  8. package/dist/doc-schemas/content.js.map +1 -1
  9. package/dist/doc-schemas/media-activation-jobs.d.ts +1 -1
  10. package/dist/doc-schemas/media-assets.d.ts +6 -6
  11. package/dist/doc-schemas/registry.d.ts +93 -21
  12. package/dist/doc-schemas/registry.d.ts.map +1 -1
  13. package/dist/doc-schemas/safety/evidence.d.ts +4 -4
  14. package/dist/doc-schemas/work-project.d.ts +1 -1
  15. package/dist/paths/collection-refs.d.ts +3 -0
  16. package/dist/paths/collection-refs.d.ts.map +1 -1
  17. package/dist/paths/collection-refs.js +9 -0
  18. package/dist/paths/collection-refs.js.map +1 -1
  19. package/dist/paths/path-builders.d.ts +2 -0
  20. package/dist/paths/path-builders.d.ts.map +1 -1
  21. package/dist/paths/path-builders.js +4 -0
  22. package/dist/paths/path-builders.js.map +1 -1
  23. package/dist/schemas/admin.d.ts +8 -9
  24. package/dist/schemas/admin.d.ts.map +1 -1
  25. package/dist/schemas/admin.js +2 -2
  26. package/dist/schemas/admin.js.map +1 -1
  27. package/dist/schemas/hall-library.d.ts +14 -1
  28. package/dist/schemas/hall-library.d.ts.map +1 -1
  29. package/dist/schemas/hall-library.js +37 -12
  30. package/dist/schemas/hall-library.js.map +1 -1
  31. package/dist/schemas/notification.d.ts +1 -1
  32. package/dist/types/admin-ops.d.ts +4 -3
  33. package/dist/types/admin-ops.d.ts.map +1 -1
  34. package/dist/types/admin-ops.js.map +1 -1
  35. package/dist/upload-variables/update-episode-media-variables.d.ts +1 -1
  36. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/doc-schemas/content.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,+EAA+E;AAC/E,qFAAqF;AACrF,sFAAsF;AACtF,2DAA2D;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAE5F,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,kBAAkB,EAAE,WAAW,CAAC,CAAC,CAAC;AAErF,8FAA8F;AAC9F,mGAAmG;AACnG,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;AACpG,uGAAuG;AACvG,MAAM,4BAA4B,GAAG;IACnC,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,UAAU,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAGvF,uCAAuC;AAEvC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;I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CAAC,KAAK,CAAC,wBAAwB,CAAC;CAC5C,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAC","sourcesContent":["// Content Firestore document SCHEMAS — Tales/Tunes/Television sub-documents, the\n// Threshold + Hall library item shapes, Hall library user preferences, and the\n// `_config` singleton docs (futurePlans, rulesAndAgreements). Types are inferred via\n// z.infer. The enum-key consts (HALL_WING_TYPE_KEYS / WORK_PROJECT_TYPE_KEYS) and the\n// UI-only filter/view types remain in ../types/content.ts.\n\nimport { z } from 'zod';\nimport { HALL_WING_TYPE_KEYS, WORK_PROJECT_TYPE_KEYS } from '../types/content.js';\nimport { ModerationEdgeSyncOpSchema, ModerationEdgeSyncStateSchema } from './moderation.js';\n\nconst contentStatusSchema = z.enum(['unpublished', 'pending_approval', 'published']);\n\n// Per-field moderation text-clear remedy (shared shape across the content family — Tale/Tune/\n// Television details, their chapter/track/episode sub-items, and the published Hall projections of\n// both). `moderationClearedFields` lists which text fields (e.g. 'title', 'description', 'content')\n// an admin cleared to a neutral placeholder and which now await steward re-entry; empty/absent when\n// nothing was cleared. `moderationClearedReason` is the operator's reason, surfaced on the member's\n// edit surface. Extends the workProject/workRealm placeholder remedy per-field. Backend-only-writable.\nconst moderationClearedFieldsShape = {\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n};\n\nexport const ItemsKeySchema = z.enum(['tuneTracks', 'chapters', 'televisionEpisodes']);\nexport type ItemsKey = z.infer<typeof ItemsKeySchema>;\n\n// --- WorkProject content sub-docs ---\n\nexport const FullTaleSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string(),\n createdOn: z.number(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()).optional(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTale = z.infer<typeof FullTaleSchema>;\n\nexport const FullChapterSchema = z.object({\n uid: z.string(),\n title: z.string(),\n content: z.string(),\n description: z.string(),\n order: z.number(),\n photoAssetId: z.string().optional(),\n status: contentStatusSchema,\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullChapter = z.infer<typeof FullChapterSchema>;\n\nexport const FullTuneSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()),\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTune = z.infer<typeof FullTuneSchema>;\n\nexport const FullTuneTrackSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string().optional(),\n audioAssetId: z.string().optional(),\n mediaType: z.string().optional(),\n order: z.number(),\n photoAssetId: z.string().optional(),\n status: contentStatusSchema,\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTuneTrack = z.infer<typeof FullTuneTrackSchema>;\n\nexport const FullTelevisionSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string(),\n createdOn: z.number(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTelevision = z.infer<typeof FullTelevisionSchema>;\n\nexport const FullTelevisionEpisodeSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string().optional(),\n videoAssetId: z.string(),\n mediaType: z.string().optional(),\n order: z.number(),\n photoAssetId: z.string().optional(),\n status: contentStatusSchema,\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTelevisionEpisode = z.infer<typeof FullTelevisionEpisodeSchema>;\n\n// --- Threshold + Hall library items ---\n\n/** `allWorkProjects/{workProjectId}/hallSubmissionReservation/reservation` — the Work's ONE\n * hall-entry reservation, created (never updated) inside the first threshold submit's\n * transaction; every later submit converges on its `hallItemId`. Backend-only. */\nexport const HallSubmissionReservationSchema = z.object({\n hallItemId: z.string().min(1),\n createdAt: z.number(),\n}).strict();\nexport type HallSubmissionReservation = z.infer<typeof HallSubmissionReservationSchema>;\n\nexport const ThresholdItemSchema = z.object({\n thresholdItemId: z.string(),\n hallItemId: z.string(),\n workProjectId: z.string(),\n workProjectType: z.enum(WORK_PROJECT_TYPE_KEYS),\n itemId: z.string(),\n itemsKey: ItemsKeySchema,\n order: z.number(),\n hallWingType: z.enum(HALL_WING_TYPE_KEYS),\n submittedAt: z.number(),\n reviewStatus: z.enum(['pending', 'needs_revision', 'approved']),\n adminNotes: z.string().optional(),\n reviewedAt: z.number().optional(),\n reviewedBy: z.string().optional(),\n // Parody / real-people AUTHOR ATTESTATION (R3, 2026-07-12). The submitting artisan\n // attests at threshold SUBMIT time that this work depicts real people (parody /\n // satire / commentary); stored with the submission and displayed READ-ONLY to the\n // reviewer. Admins never set or edit it — a reviewer who believes the flag is\n // needed and missing sends the item back needs-revision. The disclaimer shown on\n // published items is the ONE standard platform message\n // (REAL_PEOPLE_DISCLAIMER_MESSAGE) — there is no free-text disclaimer anywhere.\n hasRealPeople: z.boolean(),\n // Submission attestations — REQUIRED. The submit core refuses a submission unless the artisan\n // ticks all four, then stores each as the literal `true` with the moment they were given. A\n // threshold item without them is not a valid submission.\n attestConsistentFormat: z.literal(true),\n attestNoCredits: z.literal(true),\n attestNoBegging: z.literal(true),\n attestHumanMadeOriginal: z.literal(true),\n attestedAt: z.number(),\n // Reviewer confirmations — stamped `true` together by the APPROVAL write and never otherwise,\n // so their presence means the item was approved with all four checks confirmed.\n confirmedNoBegging: z.literal(true).optional(),\n confirmedNoCredits: z.literal(true).optional(),\n confirmedConsistentFormat: z.literal(true).optional(),\n confirmedRealPeopleAttestation: z.literal(true).optional(),\n});\nexport type ThresholdItem = z.infer<typeof ThresholdItemSchema>;\n\n// --- Published change requests (launch: text-only) ---\n\n/** The published hall-content surfaces whose TEXT fields a change request (and the\n * moderation text-clear remedy) can target. Detail surfaces live on the hall parent;\n * sub-item surfaces on the published chapter/track/episode doc; the `workRealm`\n * surface targets the single `workRealms/{id}` doc (the realm grain of the one\n * text-change pipeline — R1, 2026-07-12). */\nexport const HallContentTextSurfaceSchema = z.enum([\n 'tale',\n 'tune',\n 'television',\n 'chapter',\n 'tuneTrack',\n 'televisionEpisode',\n 'workRealm',\n]);\nexport type HallContentTextSurface = z.infer<typeof HallContentTextSurfaceSchema>;\n\n/** The ONE canonical hall sub-item kind (a Tale chapter / Tune track / Television\n * episode) as carried on notification metadata and Streetz post payloads. Distinct\n * from `HallContentTextSurfaceSchema` (which keys text-change surfaces and uses the\n * compound `tuneTrack`/`televisionEpisode` identifiers). Never re-declare inline. */\nexport const HallSubItemTypeSchema = z.enum(['chapter', 'track', 'episode']);\nexport type HallSubItemType = z.infer<typeof HallSubItemTypeSchema>;\n\n/** The ONE canonical published-hall-item lifecycle status. */\nexport const PublishedHallItemStatusSchema = z.enum(['published', 'paused', 'banned']);\nexport type PublishedHallItemStatus = z.infer<typeof PublishedHallItemStatusSchema>;\n\n// A member's proposal to change TEXT fields on a PUBLISHED hall item (Ruling 2 of the\n// admin-work-correspondence order). The live published item is NEVER unlocked and never\n// edited by the member — this doc carries the PROPOSED values only; OLD values render\n// live from the published docs. Approve = server writes the values onto the published\n// item + its live in-Work source doc; deny = nothing changes, `resolutionReason` shown\n// to the member. Writes are callable-only; reads are the owning work's active guildmates\n// + admins. `requestKind` future-proofs a media variant (new kind, no schema break).\nexport const HallContentChangeRequestSchema = z.object({\n changeRequestId: z.string(),\n requestKind: z.literal('text'),\n // One-open-per-target enforcement/query key. Hall grains:\n // `${hallItemId}_${subItemId ?? 'detail'}`; realm grain: `realm_${workRealmId}`.\n targetKey: z.string(),\n // null ⇒ the workRealm grain (no hall item involved).\n hallItemId: z.string().nullable(),\n // Always set. On the workRealm grain this is the realm's foundingWorkProjectId\n // (server-derived) so the owner list read, rules, and admin-task fields keep\n // one uniform key across all grains.\n workProjectId: z.string(),\n // null ⇒ the workRealm grain (a realm has no work-project type).\n workProjectType: z.enum(WORK_PROJECT_TYPE_KEYS).nullable(),\n surface: HallContentTextSurfaceSchema,\n // Set ⇒ the workRealm grain; null on the hall grains.\n workRealmId: z.string().nullable(),\n // null ⇒ the hall parent DETAIL (or the workRealm grain); set ⇒ a\n // chapter/track/episode sub-item.\n subItemId: z.string().nullable(),\n proposerUid: z.string(),\n // Raw doc field name → proposed new text. Allowlist + per-field caps enforced by the\n // submit runner against HALL_CONTENT_TEXT_FIELDS / HALL_CONTENT_TEXT_FIELD_MAX.\n proposedFields: z.record(z.string(), z.string()),\n status: z.enum(['requested', 'approved', 'denied']),\n createdAt: z.number(),\n lastUpdatedAt: z.number(),\n resolvedAt: z.number().optional(),\n resolvedBy: z.string().optional(),\n // Admin's reason, surfaced to the member (required on a deny).\n resolutionReason: z.string().optional(),\n});\nexport type HallContentChangeRequest = z.infer<typeof HallContentChangeRequestSchema>;\n\nexport const PublishedHallItemSchema = z.object({\n hallItemId: z.string(),\n workProjectId: z.string(),\n workProjectType: z.enum(WORK_PROJECT_TYPE_KEYS),\n status: PublishedHallItemStatusSchema,\n createdOn: z.number(),\n publishedAt: z.number().optional(),\n hallWingType: z.enum(HALL_WING_TYPE_KEYS),\n title: z.string().optional(),\n description: z.string().optional(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()).optional(),\n followerCount: z.number().optional(),\n hidden: z.boolean(),\n // Whether the current hide was applied DIRECTly to this item or propagated by a moderation\n // CASCADE from a parent (realm/work). Absent when not hidden. Backend-only-writable.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Moderation text-clear remedy (extends the workProject/workRealm placeholder family, per-field):\n // which text fields an admin cleared to a neutral placeholder and now await steward re-entry\n // (e.g. ['title', 'description']). Empty/absent when nothing was cleared. `moderationClearedReason`\n // is the operator's reason (shown on the steward's edit surface). Backend-only-writable.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n // Parody / real-people flag (carried from the approved ThresholdItem's AUTHOR\n // attestation — R3, 2026-07-12). When true, display surfaces render the ONE\n // standard platform message (REAL_PEOPLE_DISCLAIMER_MESSAGE) prominently on the\n // published Work — never a stored free-text disclaimer. Backend-written at publish.\n hasRealPeople: z.boolean().optional(),\n});\nexport type PublishedHallItem = z.infer<typeof PublishedHallItemSchema>;\n\nexport const PublishedTuneTrackSchema = z.object({\n uid: z.string(),\n title: z.string(),\n order: z.number(),\n description: z.string().optional(),\n audioAssetId: z.string(),\n photoAssetId: z.string().optional(),\n hidden: z.boolean(),\n // Direct hide vs cascade-from-parent (see PublishedHallItemSchema). Absent when not hidden.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Per-field moderation text-clear remedy (see PublishedHallItemSchema): which text fields were\n // cleared to a neutral placeholder and await steward re-entry, plus the operator's reason.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n edgeSyncState: ModerationEdgeSyncStateSchema.nullable().optional(),\n edgeSyncProcessingAt: z.number().optional(),\n edgeSyncOp: ModerationEdgeSyncOpSchema.optional(),\n edgeSyncAssetIds: z.array(z.string().min(1)).optional(),\n edgeSyncError: z.string().optional(),\n edgeSyncFailedAt: z.number().optional(),\n});\nexport type PublishedTuneTrack = z.infer<typeof PublishedTuneTrackSchema>;\n\nexport const PublishedChapterSchema = z.object({\n uid: z.string(),\n title: z.string(),\n order: z.number(),\n description: z.string().optional(),\n content: z.string(),\n photoAssetId: z.string().optional(),\n hidden: z.boolean(),\n // Direct hide vs cascade-from-parent (see PublishedHallItemSchema). Absent when not hidden.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Per-field moderation text-clear remedy (see PublishedHallItemSchema): which text fields were\n // cleared to a neutral placeholder and await steward re-entry, plus the operator's reason.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n edgeSyncState: ModerationEdgeSyncStateSchema.nullable().optional(),\n edgeSyncProcessingAt: z.number().optional(),\n edgeSyncOp: ModerationEdgeSyncOpSchema.optional(),\n edgeSyncAssetIds: z.array(z.string().min(1)).optional(),\n edgeSyncError: z.string().optional(),\n edgeSyncFailedAt: z.number().optional(),\n});\nexport type PublishedChapter = z.infer<typeof PublishedChapterSchema>;\n\nexport const PublishedTelevisionEpisodeSchema = z.object({\n uid: z.string(),\n title: z.string(),\n order: z.number(),\n description: z.string().optional(),\n videoAssetId: z.string(),\n photoAssetId: z.string().optional(),\n hidden: z.boolean(),\n // Direct hide vs cascade-from-parent (see PublishedHallItemSchema). Absent when not hidden.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Per-field moderation text-clear remedy (see PublishedHallItemSchema): which text fields were\n // cleared to a neutral placeholder and await steward re-entry, plus the operator's reason.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n edgeSyncState: ModerationEdgeSyncStateSchema.nullable().optional(),\n edgeSyncProcessingAt: z.number().optional(),\n edgeSyncOp: ModerationEdgeSyncOpSchema.optional(),\n edgeSyncAssetIds: z.array(z.string().min(1)).optional(),\n edgeSyncError: z.string().optional(),\n edgeSyncFailedAt: z.number().optional(),\n});\nexport type PublishedTelevisionEpisode = z.infer<typeof PublishedTelevisionEpisodeSchema>;\n\n// --- Hall library user preferences (per-user Hall viewing-state doc) ---\n\n// One per-user home, server-synced from day 1 (hall-viewing-experience Area 2, ruled\n// 2026-07-04): `userProfiles/{uid}/privateData/hallLibraryPreferences` (see\n// PATH_BUILDERS.hallLibraryPreferences). Writes are CALLABLE-ONLY — one core owns this\n// doc; heartbeat throttling for playback progress is client-side before the callable\n// fires. Every list on this doc is capped for launch (see HALL_LIBRARY_PREFS_CAPS) —\n// no unbounded per-user lists.\nexport const HallLibraryInProgressEntrySchema = z.object({\n itemId: z.string(),\n positionSeconds: z.number(),\n durationSeconds: z.number().optional(),\n updatedAt: z.number(),\n});\nexport type HallLibraryInProgressEntry = z.infer<typeof HallLibraryInProgressEntrySchema>;\n\nexport const HallLibraryRecentlyViewedEntrySchema = z.object({\n hallItemId: z.string(),\n itemId: z.string().optional(),\n viewedAt: z.number(),\n});\nexport type HallLibraryRecentlyViewedEntry = z.infer<typeof HallLibraryRecentlyViewedEntrySchema>;\n\nexport const HallLibrarySettingsSchema = z.object({\n tunesAutoplay: z.boolean(),\n});\nexport type HallLibrarySettings = z.infer<typeof HallLibrarySettingsSchema>;\n\nexport const HallLibraryPreferencesSchema = z.object({\n userId: z.string(),\n // Hall items the user personally hid (view filter only — see Area 6 ruling 5). Capped\n // ~200: oldest-pruned, or the hide is rejected with a friendly message once full.\n hiddenWorkIds: z.array(z.string()),\n // The \"Inked\" save-for-later watchlist (My Playbill Area 7). Capped ~200.\n inkedWorkIds: z.array(z.string()),\n // Resume position per hallItemId, LRU-capped ~50 (see HALL_LIBRARY_PREFS_CAPS.inProgress).\n // Cap enforcement is the backend core's job on write; this schema only models the shape.\n inProgress: z.record(z.string(), HallLibraryInProgressEntrySchema),\n // Server-side Keep-going/History rail source, capped ~20.\n recentlyViewed: z.array(HallLibraryRecentlyViewedEntrySchema),\n settings: HallLibrarySettingsSchema,\n lastUpdated: z.number(),\n});\nexport type HallLibraryPreferences = z.infer<typeof HallLibraryPreferencesSchema>;\n\n// --- _config singleton docs ---\n\nexport const FuturePlanItemSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n order: z.number(),\n videoUrl: z.string().optional(),\n mediaType: z.enum(['video', 'image', 'audio', 'other']).optional(),\n});\nexport type FuturePlanItem = z.infer<typeof FuturePlanItemSchema>;\n\nexport const FuturePlansDocumentSchema = z.object({\n lastUpdated: z.number(),\n plans: z.array(FuturePlanItemSchema),\n // Content version — bumped by the update callable on EVERY save (content-pages\n // migration, DJ ruling 2026-07-06). Optional because pre-migration docs lack\n // it; readers treat absence as version 1.\n version: z.number().optional(),\n});\nexport type FuturePlansDocument = z.infer<typeof FuturePlansDocumentSchema>;\n\nexport const RuleGroupSchema = z.enum(['generic', 'workProjectType', 'hallWingType', 'workRealm', 'merchandising']);\nexport type RuleGroup = z.infer<typeof RuleGroupSchema>;\n\nexport const RuleSubgroupSchema = z.enum(['Tales', 'Tunes', 'Television', 'entertainment', 'educational', 'newsPolitical']);\nexport type RuleSubgroup = z.infer<typeof RuleSubgroupSchema>;\n\nexport const RuleSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n videoUrl: z.string().optional(),\n group: RuleGroupSchema.optional(),\n subgroup: RuleSubgroupSchema.optional(),\n order: z.number(),\n});\nexport type Rule = z.infer<typeof RuleSchema>;\n\nexport const AgreementCategorySchema = z.object({\n points: z.array(z.string()),\n videoUrl: z.string().optional(),\n});\nexport type AgreementCategory = z.infer<typeof AgreementCategorySchema>;\n\nexport const RulesAndAgreementsSchema = z.object({\n rules: z.array(RuleSchema),\n agreements: z.object({\n tales: AgreementCategorySchema.optional(),\n tunes: AgreementCategorySchema.optional(),\n television: AgreementCategorySchema.optional(),\n }),\n // Content version — bumped by the update callable on EVERY save (content-pages\n // migration, DJ ruling 2026-07-06). Optional because pre-migration docs lack\n // it; readers treat absence as version 1.\n version: z.number().optional(),\n});\nexport type RulesAndAgreements = z.infer<typeof RulesAndAgreementsSchema>;\n\n// --- Editable content-page docs (content-pages Firestore migration, DJ ruling 2026-07-06) ---\n//\n// /terms, /privacy, and the /take-it-down page copy render EXCLUSIVELY from\n// these `_config` singletons — no hardcoded fallbacks anywhere (banned design).\n// Seed callables create them (strict seed-if-empty: doc exists ⇒ no-op); admin\n// editors are the only writers after that, and every save bumps `version`.\n// Acceptance records (e.g. privateData.agreements.termsVersion) read `version`\n// from the DOC server-side at acceptance time — never from a constant.\n// There is NO draft flag on any content doc (DJ ruling 2026-07-06).\n\n/** One section of a long-form content page. `level` 1 = section (h2), 2 = subsection (h3). */\nexport const ContentPageSectionSchema = z.object({\n id: z.string(),\n heading: z.string(),\n level: z.union([z.literal(1), z.literal(2)]),\n /** Plain text; blank-line-separated paragraphs. */\n body: z.string(),\n order: z.number(),\n});\nexport type ContentPageSection = z.infer<typeof ContentPageSectionSchema>;\n\n/** Long-form legal page doc — the shape of BOTH `_appConfig/termsOfService` and `_appConfig/privacyPolicy`. */\nexport const LegalPageDocumentSchema = z.object({\n version: z.number(),\n lastUpdated: z.number(),\n sections: z.array(ContentPageSectionSchema),\n});\nexport type LegalPageDocument = z.infer<typeof LegalPageDocumentSchema>;\n\n/**\n * `_appConfig/takeItDownPageCopy` — the /take-it-down page's user-facing language as\n * a keyed strings map (the page is a functional form, so its copy is discrete\n * labeled strings, not long-form sections). Keys are stable identifiers defined\n * by the page (e.g. `pageTitle`, `introBody`); the admin editor renders one\n * labeled text field per key.\n */\nexport const TakeItDownPageCopySchema = z.object({\n version: z.number(),\n lastUpdated: z.number(),\n strings: z.record(z.string(), z.string()),\n});\nexport type TakeItDownPageCopy = z.infer<typeof TakeItDownPageCopySchema>;\n"]}
1
+ {"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/doc-schemas/content.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,+EAA+E;AAC/E,qFAAqF;AACrF,sFAAsF;AACtF,2DAA2D;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB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AE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAGH,+FAA+F;AAC/F,EAAE;AACF,4EAA4E;AAC5E,gFAAgF;AAChF,+EAA+E;AAC/E,2EAA2E;AAC3E,+EAA+E;AAC/E,uEAAuE;AACvE,oEAAoE;AAEpE,8FAA8F;AAC9F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,mDAAmD;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAGH,+GAA+G;AAC/G,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;CAC5C,CAAC,CAAC;AAGH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAC","sourcesContent":["// Content Firestore document SCHEMAS — Tales/Tunes/Television sub-documents, the\n// Threshold + Hall library item shapes, Hall library user preferences, and the\n// `_config` singleton docs (futurePlans, rulesAndAgreements). Types are inferred via\n// z.infer. The enum-key consts (HALL_WING_TYPE_KEYS / WORK_PROJECT_TYPE_KEYS) and the\n// UI-only filter/view types remain in ../types/content.ts.\n\nimport { z } from 'zod';\nimport { HALL_WING_TYPE_KEYS, WORK_PROJECT_TYPE_KEYS } from '../types/content.js';\nimport { ModerationEdgeSyncOpSchema, ModerationEdgeSyncStateSchema } from './moderation.js';\nimport { HallContentTextPatchSchema } from '../schemas/hall-library.js';\nimport { HALL_CONTENT_SURFACES_BY_WORK_TYPE } from '../constants/business-content.js';\n\nconst contentStatusSchema = z.enum(['unpublished', 'pending_approval', 'published']);\n\n// Per-field moderation text-clear remedy (shared shape across the content family — Tale/Tune/\n// Television details, their chapter/track/episode sub-items, and the published Hall projections of\n// both). `moderationClearedFields` lists which text fields (e.g. 'title', 'description', 'content')\n// an admin cleared to a neutral placeholder and which now await steward re-entry; empty/absent when\n// nothing was cleared. `moderationClearedReason` is the operator's reason, surfaced on the member's\n// edit surface. Extends the workProject/workRealm placeholder remedy per-field. Backend-only-writable.\nconst moderationClearedFieldsShape = {\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n};\n\nexport const ItemsKeySchema = z.enum(['tuneTracks', 'chapters', 'televisionEpisodes']);\nexport type ItemsKey = z.infer<typeof ItemsKeySchema>;\n\n// --- WorkProject content sub-docs ---\n\nexport const FullTaleSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string(),\n createdOn: z.number(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()).optional(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTale = z.infer<typeof FullTaleSchema>;\n\nexport const FullChapterSchema = z.object({\n uid: z.string(),\n title: z.string(),\n content: z.string(),\n description: z.string(),\n order: z.number(),\n photoAssetId: z.string().optional(),\n status: contentStatusSchema,\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullChapter = z.infer<typeof FullChapterSchema>;\n\nexport const FullTuneSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()),\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTune = z.infer<typeof FullTuneSchema>;\n\nexport const FullTuneTrackSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string().optional(),\n audioAssetId: z.string().optional(),\n mediaType: z.string().optional(),\n order: z.number(),\n photoAssetId: z.string().optional(),\n status: contentStatusSchema,\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTuneTrack = z.infer<typeof FullTuneTrackSchema>;\n\nexport const FullTelevisionSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string(),\n createdOn: z.number(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTelevision = z.infer<typeof FullTelevisionSchema>;\n\nexport const FullTelevisionEpisodeSchema = z.object({\n uid: z.string(),\n title: z.string(),\n description: z.string().optional(),\n videoAssetId: z.string(),\n mediaType: z.string().optional(),\n order: z.number(),\n photoAssetId: z.string().optional(),\n status: contentStatusSchema,\n createdOn: z.number(),\n ...moderationClearedFieldsShape,\n moderatedAt: z.number().optional(),\n});\nexport type FullTelevisionEpisode = z.infer<typeof FullTelevisionEpisodeSchema>;\n\n// --- Threshold + Hall library items ---\n\n/** `allWorkProjects/{workProjectId}/hallSubmissionReservation/reservation` — the Work's ONE\n * hall-entry reservation, created (never updated) inside the first threshold submit's\n * transaction; every later submit converges on its `hallItemId`. Backend-only. */\nexport const HallSubmissionReservationSchema = z.object({\n hallItemId: z.string().min(1),\n createdAt: z.number(),\n}).strict();\nexport type HallSubmissionReservation = z.infer<typeof HallSubmissionReservationSchema>;\n\nexport const ThresholdItemSchema = z.object({\n thresholdItemId: z.string(),\n hallItemId: z.string(),\n workProjectId: z.string(),\n workProjectType: z.enum(WORK_PROJECT_TYPE_KEYS),\n itemId: z.string(),\n itemsKey: ItemsKeySchema,\n order: z.number(),\n hallWingType: z.enum(HALL_WING_TYPE_KEYS),\n submittedAt: z.number(),\n reviewStatus: z.enum(['pending', 'needs_revision', 'approved']),\n adminNotes: z.string().optional(),\n reviewedAt: z.number().optional(),\n reviewedBy: z.string().optional(),\n // Parody / real-people AUTHOR ATTESTATION (R3, 2026-07-12). The submitting artisan\n // attests at threshold SUBMIT time that this work depicts real people (parody /\n // satire / commentary); stored with the submission and displayed READ-ONLY to the\n // reviewer. Admins never set or edit it — a reviewer who believes the flag is\n // needed and missing sends the item back needs-revision. The disclaimer shown on\n // published items is the ONE standard platform message\n // (REAL_PEOPLE_DISCLAIMER_MESSAGE) — there is no free-text disclaimer anywhere.\n hasRealPeople: z.boolean(),\n // Submission attestations — REQUIRED. The submit core refuses a submission unless the artisan\n // ticks all four, then stores each as the literal `true` with the moment they were given. A\n // threshold item without them is not a valid submission.\n attestConsistentFormat: z.literal(true),\n attestNoCredits: z.literal(true),\n attestNoBegging: z.literal(true),\n attestHumanMadeOriginal: z.literal(true),\n attestedAt: z.number(),\n // Reviewer confirmations — stamped `true` together by the APPROVAL write and never otherwise,\n // so their presence means the item was approved with all four checks confirmed.\n confirmedNoBegging: z.literal(true).optional(),\n confirmedNoCredits: z.literal(true).optional(),\n confirmedConsistentFormat: z.literal(true).optional(),\n confirmedRealPeopleAttestation: z.literal(true).optional(),\n});\nexport type ThresholdItem = z.infer<typeof ThresholdItemSchema>;\n\n// --- Published change requests (launch: text-only) ---\n\n/** The published hall-content surfaces whose TEXT fields a change request (and the\n * moderation text-clear remedy) can target. Detail surfaces live on the hall parent;\n * sub-item surfaces on the published chapter/track/episode doc; the `workRealm`\n * surface targets the single `workRealms/{id}` doc (the realm grain of the one\n * text-change pipeline — R1, 2026-07-12). */\nexport const HallContentTextSurfaceSchema = z.enum([\n 'tale',\n 'tune',\n 'television',\n 'chapter',\n 'tuneTrack',\n 'televisionEpisode',\n 'workRealm',\n]);\nexport type HallContentTextSurface = z.infer<typeof HallContentTextSurfaceSchema>;\n\n/** The ONE canonical hall sub-item kind (a Tale chapter / Tune track / Television\n * episode) as carried on notification metadata and Streetz post payloads. Distinct\n * from `HallContentTextSurfaceSchema` (which keys text-change surfaces and uses the\n * compound `tuneTrack`/`televisionEpisode` identifiers). Never re-declare inline. */\nexport const HallSubItemTypeSchema = z.enum(['chapter', 'track', 'episode']);\nexport type HallSubItemType = z.infer<typeof HallSubItemTypeSchema>;\n\n/** The ONE canonical published-hall-item lifecycle status. */\nexport const PublishedHallItemStatusSchema = z.enum(['published', 'paused', 'banned']);\nexport type PublishedHallItemStatus = z.infer<typeof PublishedHallItemStatusSchema>;\n\n// A member's proposal to change TEXT fields on a PUBLISHED hall item (Ruling 2 of the\n// admin-work-correspondence order). The live published item is NEVER unlocked and never\n// edited by the member — this doc carries the PROPOSED values only; OLD values render\n// live from the published docs. Approve = server writes the values onto the published\n// item + its live in-Work source doc; deny = nothing changes, `resolutionReason` shown\n// to the member. Writes are callable-only; reads are the owning work's active guildmates\n// + admins. `requestKind` future-proofs a media variant (new kind, no schema break).\nconst HallContentChangeRequestCanonicalSchema = z.object({\n changeRequestId: z.string(),\n requestKind: z.literal('text'),\n // One-open-per-target enforcement/query key. Hall grains:\n // `${hallItemId}_${subItemId ?? 'detail'}`; realm grain: `realm_${workRealmId}`.\n targetKey: z.string(),\n // null ⇒ the workRealm grain (no hall item involved).\n hallItemId: z.string().nullable(),\n // Always set. On the workRealm grain this is the realm's foundingWorkProjectId\n // (server-derived) so the owner list read, rules, and admin-task fields keep\n // one uniform key across all grains.\n workProjectId: z.string(),\n // null ⇒ the workRealm grain (a realm has no work-project type).\n workProjectType: z.enum(WORK_PROJECT_TYPE_KEYS).nullable(),\n surface: HallContentTextSurfaceSchema,\n // Set ⇒ the workRealm grain; null on the hall grains.\n workRealmId: z.string().nullable(),\n // null ⇒ the hall parent DETAIL (or the workRealm grain); set ⇒ a\n // chapter/track/episode sub-item.\n subItemId: z.string().nullable(),\n proposerUid: z.string(),\n // Closed, surface-discriminated text patch. The persisted surface and patch surface must\n // agree, and the patch contains only fields that surface owns.\n proposedFields: HallContentTextPatchSchema,\n status: z.enum(['requested', 'approved', 'denied']),\n createdAt: z.number(),\n lastUpdatedAt: z.number(),\n resolvedAt: z.number().optional(),\n resolvedBy: z.string().optional(),\n // Admin's reason, surfaced to the member (required on a deny).\n resolutionReason: z.string().optional(),\n}).superRefine((value, ctx) => {\n const patchSurface = value.proposedFields.surface;\n if (patchSurface !== value.surface) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: 'The proposed text patch surface must match the request surface.',\n path: ['proposedFields', 'surface'],\n });\n }\n\n if (value.surface === 'workRealm') {\n if (value.hallItemId !== null || value.workProjectType !== null || value.workRealmId === null || value.subItemId !== null) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: 'A workRealm request must carry only the realm target grain.',\n path: ['surface'],\n });\n }\n return;\n }\n\n if (value.hallItemId === null || value.workProjectType === null || value.workRealmId !== null) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: 'A Hall request must carry a hall item and work-project type, not a realm.',\n path: ['surface'],\n });\n return;\n }\n\n const routing = HALL_CONTENT_SURFACES_BY_WORK_TYPE[value.workProjectType];\n const expectedSurface = value.subItemId === null ? routing.detailSurface : routing.subItemSurface;\n if (value.surface !== expectedSurface) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: `The target grain requires the ${expectedSurface} surface.`,\n path: ['surface'],\n });\n }\n});\n\n/**\n * Older valid rows stored the same closed fields directly as a map and already carry\n * the authoritative request-level surface. Normalize that legacy representation while\n * reading so deployment does not strand outstanding requests; all new writers use the\n * closed discriminated patch above.\n */\nexport const HallContentChangeRequestSchema = z.preprocess((raw) => {\n if (typeof raw !== 'object' || raw === null || Array.isArray(raw)) return raw;\n const value = raw as Record<string, unknown>;\n const proposedFields = value.proposedFields;\n if (\n typeof proposedFields === 'object'\n && proposedFields !== null\n && !Array.isArray(proposedFields)\n && !Object.prototype.hasOwnProperty.call(proposedFields, 'surface')\n && typeof value.surface === 'string'\n ) {\n return {\n ...value,\n proposedFields: { surface: value.surface, fields: proposedFields },\n };\n }\n return raw;\n}, HallContentChangeRequestCanonicalSchema);\nexport type HallContentChangeRequest = z.infer<typeof HallContentChangeRequestSchema>;\n\nexport const PublishedHallItemSchema = z.object({\n hallItemId: z.string(),\n workProjectId: z.string(),\n workProjectType: z.enum(WORK_PROJECT_TYPE_KEYS),\n status: PublishedHallItemStatusSchema,\n createdOn: z.number(),\n publishedAt: z.number().optional(),\n hallWingType: z.enum(HALL_WING_TYPE_KEYS),\n title: z.string().optional(),\n description: z.string().optional(),\n coverSquareAssetId: z.string().optional(),\n coverPosterAssetId: z.string().optional(),\n coverCinematicAssetId: z.string().optional(),\n workGenres: z.array(z.string()).optional(),\n followerCount: z.number().optional(),\n hidden: z.boolean(),\n // Whether the current hide was applied DIRECTly to this item or propagated by a moderation\n // CASCADE from a parent (realm/work). Absent when not hidden. Backend-only-writable.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Moderation text-clear remedy (extends the workProject/workRealm placeholder family, per-field):\n // which text fields an admin cleared to a neutral placeholder and now await steward re-entry\n // (e.g. ['title', 'description']). Empty/absent when nothing was cleared. `moderationClearedReason`\n // is the operator's reason (shown on the steward's edit surface). Backend-only-writable.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n // Parody / real-people flag (carried from the approved ThresholdItem's AUTHOR\n // attestation — R3, 2026-07-12). When true, display surfaces render the ONE\n // standard platform message (REAL_PEOPLE_DISCLAIMER_MESSAGE) prominently on the\n // published Work — never a stored free-text disclaimer. Backend-written at publish.\n hasRealPeople: z.boolean().optional(),\n});\nexport type PublishedHallItem = z.infer<typeof PublishedHallItemSchema>;\n\nexport const PublishedTuneTrackSchema = z.object({\n uid: z.string(),\n title: z.string(),\n order: z.number(),\n description: z.string().optional(),\n audioAssetId: z.string(),\n photoAssetId: z.string().optional(),\n hidden: z.boolean(),\n // Direct hide vs cascade-from-parent (see PublishedHallItemSchema). Absent when not hidden.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Per-field moderation text-clear remedy (see PublishedHallItemSchema): which text fields were\n // cleared to a neutral placeholder and await steward re-entry, plus the operator's reason.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n edgeSyncState: ModerationEdgeSyncStateSchema.nullable().optional(),\n edgeSyncProcessingAt: z.number().optional(),\n edgeSyncOp: ModerationEdgeSyncOpSchema.optional(),\n edgeSyncAssetIds: z.array(z.string().min(1)).optional(),\n edgeSyncError: z.string().optional(),\n edgeSyncFailedAt: z.number().optional(),\n});\nexport type PublishedTuneTrack = z.infer<typeof PublishedTuneTrackSchema>;\n\nexport const PublishedChapterSchema = z.object({\n uid: z.string(),\n title: z.string(),\n order: z.number(),\n description: z.string().optional(),\n content: z.string(),\n photoAssetId: z.string().optional(),\n hidden: z.boolean(),\n // Direct hide vs cascade-from-parent (see PublishedHallItemSchema). Absent when not hidden.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Per-field moderation text-clear remedy (see PublishedHallItemSchema): which text fields were\n // cleared to a neutral placeholder and await steward re-entry, plus the operator's reason.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n edgeSyncState: ModerationEdgeSyncStateSchema.nullable().optional(),\n edgeSyncProcessingAt: z.number().optional(),\n edgeSyncOp: ModerationEdgeSyncOpSchema.optional(),\n edgeSyncAssetIds: z.array(z.string().min(1)).optional(),\n edgeSyncError: z.string().optional(),\n edgeSyncFailedAt: z.number().optional(),\n});\nexport type PublishedChapter = z.infer<typeof PublishedChapterSchema>;\n\nexport const PublishedTelevisionEpisodeSchema = z.object({\n uid: z.string(),\n title: z.string(),\n order: z.number(),\n description: z.string().optional(),\n videoAssetId: z.string(),\n photoAssetId: z.string().optional(),\n hidden: z.boolean(),\n // Direct hide vs cascade-from-parent (see PublishedHallItemSchema). Absent when not hidden.\n hiddenBy: z.enum(['direct', 'cascade']).optional(),\n // Per-field moderation text-clear remedy (see PublishedHallItemSchema): which text fields were\n // cleared to a neutral placeholder and await steward re-entry, plus the operator's reason.\n moderationClearedFields: z.array(z.string()).optional(),\n moderationClearedReason: z.string().optional(),\n moderatedAt: z.number().optional(),\n edgeSyncState: ModerationEdgeSyncStateSchema.nullable().optional(),\n edgeSyncProcessingAt: z.number().optional(),\n edgeSyncOp: ModerationEdgeSyncOpSchema.optional(),\n edgeSyncAssetIds: z.array(z.string().min(1)).optional(),\n edgeSyncError: z.string().optional(),\n edgeSyncFailedAt: z.number().optional(),\n});\nexport type PublishedTelevisionEpisode = z.infer<typeof PublishedTelevisionEpisodeSchema>;\n\n// --- Hall library user preferences (per-user Hall viewing-state doc) ---\n\n// One per-user home, server-synced from day 1 (hall-viewing-experience Area 2, ruled\n// 2026-07-04): `userProfiles/{uid}/privateData/hallLibraryPreferences` (see\n// PATH_BUILDERS.hallLibraryPreferences). Writes are CALLABLE-ONLY — one core owns this\n// doc; heartbeat throttling for playback progress is client-side before the callable\n// fires. Every list on this doc is capped for launch (see HALL_LIBRARY_PREFS_CAPS) —\n// no unbounded per-user lists.\nexport const HallLibraryInProgressEntrySchema = z.object({\n itemId: z.string(),\n positionSeconds: z.number(),\n durationSeconds: z.number().optional(),\n updatedAt: z.number(),\n});\nexport type HallLibraryInProgressEntry = z.infer<typeof HallLibraryInProgressEntrySchema>;\n\nexport const HallLibraryRecentlyViewedEntrySchema = z.object({\n hallItemId: z.string(),\n itemId: z.string().optional(),\n viewedAt: z.number(),\n});\nexport type HallLibraryRecentlyViewedEntry = z.infer<typeof HallLibraryRecentlyViewedEntrySchema>;\n\nexport const HallLibrarySettingsSchema = z.object({\n tunesAutoplay: z.boolean(),\n});\nexport type HallLibrarySettings = z.infer<typeof HallLibrarySettingsSchema>;\n\nexport const HallLibraryPreferencesSchema = z.object({\n userId: z.string(),\n // Hall items the user personally hid (view filter only — see Area 6 ruling 5). Capped\n // ~200: oldest-pruned, or the hide is rejected with a friendly message once full.\n hiddenWorkIds: z.array(z.string()),\n // The \"Inked\" save-for-later watchlist (My Playbill Area 7). Capped ~200.\n inkedWorkIds: z.array(z.string()),\n // Resume position per hallItemId, LRU-capped ~50 (see HALL_LIBRARY_PREFS_CAPS.inProgress).\n // Cap enforcement is the backend core's job on write; this schema only models the shape.\n inProgress: z.record(z.string(), HallLibraryInProgressEntrySchema),\n // Server-side Keep-going/History rail source, capped ~20.\n recentlyViewed: z.array(HallLibraryRecentlyViewedEntrySchema),\n settings: HallLibrarySettingsSchema,\n lastUpdated: z.number(),\n});\nexport type HallLibraryPreferences = z.infer<typeof HallLibraryPreferencesSchema>;\n\n// --- _config singleton docs ---\n\nexport const FuturePlanItemSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n order: z.number(),\n videoUrl: z.string().optional(),\n mediaType: z.enum(['video', 'image', 'audio', 'other']).optional(),\n});\nexport type FuturePlanItem = z.infer<typeof FuturePlanItemSchema>;\n\nexport const FuturePlansDocumentSchema = z.object({\n lastUpdated: z.number(),\n plans: z.array(FuturePlanItemSchema),\n // Content version — bumped by the update callable on EVERY save (content-pages\n // migration, DJ ruling 2026-07-06). Optional because pre-migration docs lack\n // it; readers treat absence as version 1.\n version: z.number().optional(),\n});\nexport type FuturePlansDocument = z.infer<typeof FuturePlansDocumentSchema>;\n\nexport const RuleGroupSchema = z.enum(['generic', 'workProjectType', 'hallWingType', 'workRealm', 'merchandising']);\nexport type RuleGroup = z.infer<typeof RuleGroupSchema>;\n\nexport const RuleSubgroupSchema = z.enum(['Tales', 'Tunes', 'Television', 'entertainment', 'educational', 'newsPolitical']);\nexport type RuleSubgroup = z.infer<typeof RuleSubgroupSchema>;\n\nexport const RuleSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n videoUrl: z.string().optional(),\n group: RuleGroupSchema.optional(),\n subgroup: RuleSubgroupSchema.optional(),\n order: z.number(),\n});\nexport type Rule = z.infer<typeof RuleSchema>;\n\nexport const AgreementCategorySchema = z.object({\n points: z.array(z.string()),\n videoUrl: z.string().optional(),\n});\nexport type AgreementCategory = z.infer<typeof AgreementCategorySchema>;\n\nexport const RulesAndAgreementsSchema = z.object({\n rules: z.array(RuleSchema),\n agreements: z.object({\n tales: AgreementCategorySchema.optional(),\n tunes: AgreementCategorySchema.optional(),\n television: AgreementCategorySchema.optional(),\n }),\n // Content version — bumped by the update callable on EVERY save (content-pages\n // migration, DJ ruling 2026-07-06). Optional because pre-migration docs lack\n // it; readers treat absence as version 1.\n version: z.number().optional(),\n});\nexport type RulesAndAgreements = z.infer<typeof RulesAndAgreementsSchema>;\n\n// --- Editable content-page docs (content-pages Firestore migration, DJ ruling 2026-07-06) ---\n//\n// /terms, /privacy, and the /take-it-down page copy render EXCLUSIVELY from\n// these `_config` singletons — no hardcoded fallbacks anywhere (banned design).\n// Seed callables create them (strict seed-if-empty: doc exists ⇒ no-op); admin\n// editors are the only writers after that, and every save bumps `version`.\n// Acceptance records (e.g. privateData.agreements.termsVersion) read `version`\n// from the DOC server-side at acceptance time — never from a constant.\n// There is NO draft flag on any content doc (DJ ruling 2026-07-06).\n\n/** One section of a long-form content page. `level` 1 = section (h2), 2 = subsection (h3). */\nexport const ContentPageSectionSchema = z.object({\n id: z.string(),\n heading: z.string(),\n level: z.union([z.literal(1), z.literal(2)]),\n /** Plain text; blank-line-separated paragraphs. */\n body: z.string(),\n order: z.number(),\n});\nexport type ContentPageSection = z.infer<typeof ContentPageSectionSchema>;\n\n/** Long-form legal page doc — the shape of BOTH `_appConfig/termsOfService` and `_appConfig/privacyPolicy`. */\nexport const LegalPageDocumentSchema = z.object({\n version: z.number(),\n lastUpdated: z.number(),\n sections: z.array(ContentPageSectionSchema),\n});\nexport type LegalPageDocument = z.infer<typeof LegalPageDocumentSchema>;\n\n/**\n * `_appConfig/takeItDownPageCopy` — the /take-it-down page's user-facing language as\n * a keyed strings map (the page is a functional form, so its copy is discrete\n * labeled strings, not long-form sections). Keys are stable identifiers defined\n * by the page (e.g. `pageTitle`, `introBody`); the admin editor renders one\n * labeled text field per key.\n */\nexport const TakeItDownPageCopySchema = z.object({\n version: z.number(),\n lastUpdated: z.number(),\n strings: z.record(z.string(), z.string()),\n});\nexport type TakeItDownPageCopy = z.infer<typeof TakeItDownPageCopySchema>;\n"]}
@@ -42,8 +42,8 @@ export declare const MediaActivationJobSchema: z.ZodObject<{
42
42
  operationId: z.ZodString;
43
43
  payloadHash: z.ZodString;
44
44
  servingStatus: z.ZodEnum<{
45
- hidden: "hidden";
46
45
  servable: "servable";
46
+ hidden: "hidden";
47
47
  quarantined: "quarantined";
48
48
  deleted: "deleted";
49
49
  }>;
@@ -10,8 +10,8 @@ export type MediaAccessTier = z.infer<typeof MediaAccessTierSchema>;
10
10
  /** Canonical serving state. The edge record derives from this; hide/restore/
11
11
  * quarantine flows write it together with the blocklist. */
12
12
  export declare const MediaServingStatusSchema: z.ZodEnum<{
13
- hidden: "hidden";
14
13
  servable: "servable";
14
+ hidden: "hidden";
15
15
  quarantined: "quarantined";
16
16
  deleted: "deleted";
17
17
  }>;
@@ -65,13 +65,13 @@ export type MediaVariantKey = z.infer<typeof MediaVariantKeySchema>;
65
65
  * Conversation File is an ORIGINAL (`original`), never a chat derivative; nothing
66
66
  * ever set the retired value. */
67
67
  export declare const MediaCopyReasonSchema: z.ZodEnum<{
68
- other: "other";
69
68
  original: "original";
70
69
  variant: "variant";
71
70
  hall_publish: "hall_publish";
72
71
  profile_derivative: "profile_derivative";
73
72
  moderation_copy: "moderation_copy";
74
73
  evidence_copy: "evidence_copy";
74
+ other: "other";
75
75
  }>;
76
76
  export type MediaCopyReason = z.infer<typeof MediaCopyReasonSchema>;
77
77
  /**
@@ -101,13 +101,13 @@ export declare const MediaOriginLineageV1Schema: z.ZodObject<{
101
101
  main: "main";
102
102
  }> & z.core.$partial, z.ZodString>;
103
103
  copyReason: z.ZodEnum<{
104
- other: "other";
105
104
  original: "original";
106
105
  variant: "variant";
107
106
  hall_publish: "hall_publish";
108
107
  profile_derivative: "profile_derivative";
109
108
  moderation_copy: "moderation_copy";
110
109
  evidence_copy: "evidence_copy";
110
+ other: "other";
111
111
  }>;
112
112
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
113
113
  workProject: "workProject";
@@ -289,8 +289,8 @@ export declare const MediaServingAuthorityRecordSchema: z.ZodObject<{
289
289
  operationId: z.ZodString;
290
290
  payloadHash: z.ZodString;
291
291
  servingStatus: z.ZodEnum<{
292
- hidden: "hidden";
293
292
  servable: "servable";
293
+ hidden: "hidden";
294
294
  quarantined: "quarantined";
295
295
  deleted: "deleted";
296
296
  }>;
@@ -396,8 +396,8 @@ export declare const MediaAssetSchema: z.ZodObject<{
396
396
  adminOnly: "adminOnly";
397
397
  }>;
398
398
  servingStatus: z.ZodEnum<{
399
- hidden: "hidden";
400
399
  servable: "servable";
400
+ hidden: "hidden";
401
401
  quarantined: "quarantined";
402
402
  deleted: "deleted";
403
403
  }>;
@@ -437,13 +437,13 @@ export declare const MediaAssetSchema: z.ZodObject<{
437
437
  main: "main";
438
438
  }> & z.core.$partial, z.ZodString>;
439
439
  copyReason: z.ZodEnum<{
440
- other: "other";
441
440
  original: "original";
442
441
  variant: "variant";
443
442
  hall_publish: "hall_publish";
444
443
  profile_derivative: "profile_derivative";
445
444
  moderation_copy: "moderation_copy";
446
445
  evidence_copy: "evidence_copy";
446
+ other: "other";
447
447
  }>;
448
448
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
449
449
  workProject: "workProject";
@@ -344,8 +344,8 @@ export declare const COLLECTION_SCHEMAS: {
344
344
  }, z.core.$strip>;
345
345
  status: z.ZodEnum<{
346
346
  rejected: "rejected";
347
- published: "published";
348
347
  open: "open";
348
+ published: "published";
349
349
  pendingVerification: "pendingVerification";
350
350
  }>;
351
351
  guildmateUserIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
@@ -454,8 +454,8 @@ export declare const COLLECTION_SCHEMAS: {
454
454
  photoAssetId: z.ZodOptional<z.ZodString>;
455
455
  status: z.ZodEnum<{
456
456
  unpublished: "unpublished";
457
- pending_approval: "pending_approval";
458
457
  published: "published";
458
+ pending_approval: "pending_approval";
459
459
  }>;
460
460
  createdOn: z.ZodNumber;
461
461
  }, z.core.$strip>;
@@ -485,8 +485,8 @@ export declare const COLLECTION_SCHEMAS: {
485
485
  photoAssetId: z.ZodOptional<z.ZodString>;
486
486
  status: z.ZodEnum<{
487
487
  unpublished: "unpublished";
488
- pending_approval: "pending_approval";
489
488
  published: "published";
489
+ pending_approval: "pending_approval";
490
490
  }>;
491
491
  createdOn: z.ZodNumber;
492
492
  }, z.core.$strip>;
@@ -516,8 +516,8 @@ export declare const COLLECTION_SCHEMAS: {
516
516
  photoAssetId: z.ZodOptional<z.ZodString>;
517
517
  status: z.ZodEnum<{
518
518
  unpublished: "unpublished";
519
- pending_approval: "pending_approval";
520
519
  published: "published";
520
+ pending_approval: "pending_approval";
521
521
  }>;
522
522
  createdOn: z.ZodNumber;
523
523
  }, z.core.$strip>;
@@ -1137,7 +1137,7 @@ export declare const COLLECTION_SCHEMAS: {
1137
1137
  edgeSyncError: z.ZodOptional<z.ZodString>;
1138
1138
  edgeSyncFailedAt: z.ZodOptional<z.ZodNumber>;
1139
1139
  }, z.core.$strip>;
1140
- readonly 'hallContentChangeRequests/{changeRequestId}': z.ZodObject<{
1140
+ readonly 'hallContentChangeRequests/{changeRequestId}': z.ZodPreprocess<z.ZodObject<{
1141
1141
  changeRequestId: z.ZodString;
1142
1142
  requestKind: z.ZodLiteral<"text">;
1143
1143
  targetKey: z.ZodString;
@@ -1160,7 +1160,7 @@ export declare const COLLECTION_SCHEMAS: {
1160
1160
  workRealmId: z.ZodNullable<z.ZodString>;
1161
1161
  subItemId: z.ZodNullable<z.ZodString>;
1162
1162
  proposerUid: z.ZodString;
1163
- proposedFields: z.ZodRecord<z.ZodString, z.ZodString>;
1163
+ proposedFields: z.ZodUnion<[z.ZodType<import("../schemas/hall-library.js").HallContentTextPatch, unknown, z.core.$ZodTypeInternals<import("../schemas/hall-library.js").HallContentTextPatch, unknown>>, z.ZodType<import("../schemas/hall-library.js").HallContentTextPatch, unknown, z.core.$ZodTypeInternals<import("../schemas/hall-library.js").HallContentTextPatch, unknown>>, ...z.ZodType<import("../schemas/hall-library.js").HallContentTextPatch, unknown, z.core.$ZodTypeInternals<import("../schemas/hall-library.js").HallContentTextPatch, unknown>>[]]>;
1164
1164
  status: z.ZodEnum<{
1165
1165
  approved: "approved";
1166
1166
  denied: "denied";
@@ -1171,7 +1171,7 @@ export declare const COLLECTION_SCHEMAS: {
1171
1171
  resolvedAt: z.ZodOptional<z.ZodNumber>;
1172
1172
  resolvedBy: z.ZodOptional<z.ZodString>;
1173
1173
  resolutionReason: z.ZodOptional<z.ZodString>;
1174
- }, z.core.$strip>;
1174
+ }, z.core.$strip>>;
1175
1175
  readonly 'commissionListings/{commissionListingId}': z.ZodObject<{
1176
1176
  commissionListingId: z.ZodString;
1177
1177
  title: z.ZodString;
@@ -3868,8 +3868,8 @@ export declare const COLLECTION_SCHEMAS: {
3868
3868
  adminOnly: "adminOnly";
3869
3869
  }>;
3870
3870
  servingStatus: z.ZodEnum<{
3871
- hidden: "hidden";
3872
3871
  servable: "servable";
3872
+ hidden: "hidden";
3873
3873
  quarantined: "quarantined";
3874
3874
  deleted: "deleted";
3875
3875
  }>;
@@ -3909,13 +3909,13 @@ export declare const COLLECTION_SCHEMAS: {
3909
3909
  main: "main";
3910
3910
  }> & z.core.$partial, z.ZodString>;
3911
3911
  copyReason: z.ZodEnum<{
3912
- other: "other";
3913
3912
  original: "original";
3914
3913
  variant: "variant";
3915
3914
  hall_publish: "hall_publish";
3916
3915
  profile_derivative: "profile_derivative";
3917
3916
  moderation_copy: "moderation_copy";
3918
3917
  evidence_copy: "evidence_copy";
3918
+ other: "other";
3919
3919
  }>;
3920
3920
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
3921
3921
  workProject: "workProject";
@@ -4037,8 +4037,8 @@ export declare const COLLECTION_SCHEMAS: {
4037
4037
  operationId: z.ZodString;
4038
4038
  payloadHash: z.ZodString;
4039
4039
  servingStatus: z.ZodEnum<{
4040
- hidden: "hidden";
4041
4040
  servable: "servable";
4041
+ hidden: "hidden";
4042
4042
  quarantined: "quarantined";
4043
4043
  deleted: "deleted";
4044
4044
  }>;
@@ -4364,18 +4364,65 @@ export declare const COLLECTION_SCHEMAS: {
4364
4364
  deadLetteredAt: z.ZodNullable<z.ZodNumber>;
4365
4365
  expireAt: z.ZodOptional<z.ZodUnknown>;
4366
4366
  }, z.core.$strip>;
4367
- readonly 'chatSyncFanoutJobs/{jobId}': z.ZodObject<{
4367
+ readonly 'chatSyncFanoutJobs/{jobId}': z.ZodDiscriminatedUnion<[z.ZodObject<{
4368
+ selectorKind: z.ZodLiteral<"channelMembers">;
4369
+ selectorArgs: z.ZodObject<{
4370
+ workProjectId: z.ZodString;
4371
+ guildChatChannelId: z.ZodString;
4372
+ channelKey: z.ZodString;
4373
+ }, z.core.$strict>;
4368
4374
  jobId: z.ZodString;
4369
- selectorKind: z.ZodEnum<{
4370
- channelMembers: "channelMembers";
4371
- workChannelsForUser: "workChannelsForUser";
4372
- policyEditAffectedUsers: "policyEditAffectedUsers";
4375
+ causeVersion: z.ZodNumber;
4376
+ cursor: z.ZodObject<{
4377
+ pageIndex: z.ZodNumber;
4378
+ lastDocId: z.ZodNullable<z.ZodString>;
4379
+ }, z.core.$strip>;
4380
+ revision: z.ZodNumber;
4381
+ status: z.ZodEnum<{
4382
+ pending: "pending";
4383
+ complete: "complete";
4384
+ deadLetter: "deadLetter";
4373
4385
  }>;
4386
+ attemptCount: z.ZodNumber;
4387
+ nextAttemptAt: z.ZodNumber;
4388
+ lastError: z.ZodNullable<z.ZodString>;
4389
+ createdAt: z.ZodNumber;
4390
+ completedAt: z.ZodNullable<z.ZodNumber>;
4391
+ deadLetteredAt: z.ZodNullable<z.ZodNumber>;
4392
+ expireAt: z.ZodOptional<z.ZodUnknown>;
4393
+ }, z.core.$strict>, z.ZodObject<{
4394
+ selectorKind: z.ZodLiteral<"policyEditAffectedUsers">;
4374
4395
  selectorArgs: z.ZodObject<{
4375
- workProjectId: z.ZodOptional<z.ZodString>;
4376
- channelKey: z.ZodOptional<z.ZodString>;
4377
- uid: z.ZodOptional<z.ZodString>;
4396
+ workProjectId: z.ZodString;
4397
+ guildChatChannelId: z.ZodString;
4398
+ channelKey: z.ZodString;
4399
+ }, z.core.$strict>;
4400
+ jobId: z.ZodString;
4401
+ causeVersion: z.ZodNumber;
4402
+ cursor: z.ZodObject<{
4403
+ pageIndex: z.ZodNumber;
4404
+ lastDocId: z.ZodNullable<z.ZodString>;
4378
4405
  }, z.core.$strip>;
4406
+ revision: z.ZodNumber;
4407
+ status: z.ZodEnum<{
4408
+ pending: "pending";
4409
+ complete: "complete";
4410
+ deadLetter: "deadLetter";
4411
+ }>;
4412
+ attemptCount: z.ZodNumber;
4413
+ nextAttemptAt: z.ZodNumber;
4414
+ lastError: z.ZodNullable<z.ZodString>;
4415
+ createdAt: z.ZodNumber;
4416
+ completedAt: z.ZodNullable<z.ZodNumber>;
4417
+ deadLetteredAt: z.ZodNullable<z.ZodNumber>;
4418
+ expireAt: z.ZodOptional<z.ZodUnknown>;
4419
+ }, z.core.$strict>, z.ZodObject<{
4420
+ selectorKind: z.ZodLiteral<"workChannelsForUser">;
4421
+ selectorArgs: z.ZodObject<{
4422
+ uid: z.ZodString;
4423
+ workProjectId: z.ZodString;
4424
+ }, z.core.$strict>;
4425
+ jobId: z.ZodString;
4379
4426
  causeVersion: z.ZodNumber;
4380
4427
  cursor: z.ZodObject<{
4381
4428
  pageIndex: z.ZodNumber;
@@ -4394,7 +4441,32 @@ export declare const COLLECTION_SCHEMAS: {
4394
4441
  completedAt: z.ZodNullable<z.ZodNumber>;
4395
4442
  deadLetteredAt: z.ZodNullable<z.ZodNumber>;
4396
4443
  expireAt: z.ZodOptional<z.ZodUnknown>;
4397
- }, z.core.$strip>;
4444
+ }, z.core.$strict>, z.ZodObject<{
4445
+ selectorKind: z.ZodLiteral<"inviteParticipants">;
4446
+ selectorArgs: z.ZodObject<{
4447
+ guildInviteId: z.ZodString;
4448
+ participantUids: z.ZodArray<z.ZodString>;
4449
+ }, z.core.$strict>;
4450
+ jobId: z.ZodString;
4451
+ causeVersion: z.ZodNumber;
4452
+ cursor: z.ZodObject<{
4453
+ pageIndex: z.ZodNumber;
4454
+ lastDocId: z.ZodNullable<z.ZodString>;
4455
+ }, z.core.$strip>;
4456
+ revision: z.ZodNumber;
4457
+ status: z.ZodEnum<{
4458
+ pending: "pending";
4459
+ complete: "complete";
4460
+ deadLetter: "deadLetter";
4461
+ }>;
4462
+ attemptCount: z.ZodNumber;
4463
+ nextAttemptAt: z.ZodNumber;
4464
+ lastError: z.ZodNullable<z.ZodString>;
4465
+ createdAt: z.ZodNumber;
4466
+ completedAt: z.ZodNullable<z.ZodNumber>;
4467
+ deadLetteredAt: z.ZodNullable<z.ZodNumber>;
4468
+ expireAt: z.ZodOptional<z.ZodUnknown>;
4469
+ }, z.core.$strict>], "selectorKind">;
4398
4470
  readonly 'chatMessageOutbox/{commandId}': z.ZodObject<{
4399
4471
  commandId: z.ZodString;
4400
4472
  kind: z.ZodEnum<{
@@ -5173,13 +5245,13 @@ export declare const COLLECTION_SCHEMAS: {
5173
5245
  main: "main";
5174
5246
  }> & z.core.$partial, z.ZodString>;
5175
5247
  copyReason: z.ZodEnum<{
5176
- other: "other";
5177
5248
  original: "original";
5178
5249
  variant: "variant";
5179
5250
  hall_publish: "hall_publish";
5180
5251
  profile_derivative: "profile_derivative";
5181
5252
  moderation_copy: "moderation_copy";
5182
5253
  evidence_copy: "evidence_copy";
5254
+ other: "other";
5183
5255
  }>;
5184
5256
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
5185
5257
  workProject: "workProject";
@@ -5325,13 +5397,13 @@ export declare const COLLECTION_SCHEMAS: {
5325
5397
  main: "main";
5326
5398
  }> & z.core.$partial, z.ZodString>;
5327
5399
  copyReason: z.ZodEnum<{
5328
- other: "other";
5329
5400
  original: "original";
5330
5401
  variant: "variant";
5331
5402
  hall_publish: "hall_publish";
5332
5403
  profile_derivative: "profile_derivative";
5333
5404
  moderation_copy: "moderation_copy";
5334
5405
  evidence_copy: "evidence_copy";
5406
+ other: "other";
5335
5407
  }>;
5336
5408
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
5337
5409
  workProject: "workProject";
@@ -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;AA6M7B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4PkB,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAEvE;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;CAmBiC,CAAC;AAEvE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAOvC,CAAC"}
@@ -156,13 +156,13 @@ export declare const SafetyEvidenceManifestV1Schema: z.ZodObject<{
156
156
  main: "main";
157
157
  }> & z.core.$partial, z.ZodString>;
158
158
  copyReason: z.ZodEnum<{
159
- other: "other";
160
159
  original: "original";
161
160
  variant: "variant";
162
161
  hall_publish: "hall_publish";
163
162
  profile_derivative: "profile_derivative";
164
163
  moderation_copy: "moderation_copy";
165
164
  evidence_copy: "evidence_copy";
165
+ other: "other";
166
166
  }>;
167
167
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
168
168
  workProject: "workProject";
@@ -345,13 +345,13 @@ export declare const SafetyEvidenceCaptureRequestV1Schema: z.ZodDiscriminatedUni
345
345
  main: "main";
346
346
  }> & z.core.$partial, z.ZodString>;
347
347
  copyReason: z.ZodEnum<{
348
- other: "other";
349
348
  original: "original";
350
349
  variant: "variant";
351
350
  hall_publish: "hall_publish";
352
351
  profile_derivative: "profile_derivative";
353
352
  moderation_copy: "moderation_copy";
354
353
  evidence_copy: "evidence_copy";
354
+ other: "other";
355
355
  }>;
356
356
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
357
357
  workProject: "workProject";
@@ -462,13 +462,13 @@ export declare const SafetyEvidenceJobCaptureControlV1Schema: z.ZodObject<{
462
462
  main: "main";
463
463
  }> & z.core.$partial, z.ZodString>;
464
464
  copyReason: z.ZodEnum<{
465
- other: "other";
466
465
  original: "original";
467
466
  variant: "variant";
468
467
  hall_publish: "hall_publish";
469
468
  profile_derivative: "profile_derivative";
470
469
  moderation_copy: "moderation_copy";
471
470
  evidence_copy: "evidence_copy";
471
+ other: "other";
472
472
  }>;
473
473
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
474
474
  workProject: "workProject";
@@ -603,13 +603,13 @@ export declare const SafetyEvidenceJobItemDocV1Schema: z.ZodUnion<readonly [z.Zo
603
603
  main: "main";
604
604
  }> & z.core.$partial, z.ZodString>;
605
605
  copyReason: z.ZodEnum<{
606
- other: "other";
607
606
  original: "original";
608
607
  variant: "variant";
609
608
  hall_publish: "hall_publish";
610
609
  profile_derivative: "profile_derivative";
611
610
  moderation_copy: "moderation_copy";
612
611
  evidence_copy: "evidence_copy";
612
+ other: "other";
613
613
  }>;
614
614
  createdFromOwnerType: z.ZodOptional<z.ZodEnum<{
615
615
  workProject: "workProject";
@@ -64,8 +64,8 @@ export declare const FullWorkProjectSchema: z.ZodObject<{
64
64
  }, z.core.$strip>;
65
65
  status: z.ZodEnum<{
66
66
  rejected: "rejected";
67
- published: "published";
68
67
  open: "open";
68
+ published: "published";
69
69
  pendingVerification: "pendingVerification";
70
70
  }>;
71
71
  guildmateUserIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
@@ -8,6 +8,8 @@ export declare const COLLECTION_REFS: {
8
8
  readonly auditionBoard: () => [string];
9
9
  readonly followEdges: () => [string];
10
10
  readonly followCounters: () => [string];
11
+ readonly activeUserNotifications: () => [string];
12
+ readonly activeAdminNotifications: () => [string];
11
13
  readonly userCraftSkills: (userId: string) => [string, string, string];
12
14
  readonly workProjectTales: (workProjectId: string) => [string, string, string];
13
15
  readonly workProjectTunes: (workProjectId: string) => [string, string, string];
@@ -25,5 +27,6 @@ export declare const COLLECTION_REFS: {
25
27
  readonly moderationCascadeChangedDocs: (cascadeId: string) => [string, string, string];
26
28
  readonly guildInviteConversationFiles: (guildInviteId: string) => [string, string, string];
27
29
  readonly adminDispatchConversationFiles: (adminDispatchId: string) => [string, string, string];
30
+ readonly adminDispatchConversationMessages: (adminDispatchId: string) => [string, string, string];
28
31
  };
29
32
  //# sourceMappingURL=collection-refs.d.ts.map