@ttt-productions/ttt-core 0.79.47 → 0.79.49
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/constants/business-admin.d.ts +7 -0
- package/dist/constants/business-admin.d.ts.map +1 -1
- package/dist/constants/business-admin.js +7 -0
- package/dist/constants/business-admin.js.map +1 -1
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +3 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/legal-review-notice-state.d.ts +5 -0
- package/dist/constants/legal-review-notice-state.d.ts.map +1 -0
- package/dist/constants/legal-review-notice-state.js +19 -0
- package/dist/constants/legal-review-notice-state.js.map +1 -0
- package/dist/constants/legal-review-notice.d.ts +102 -0
- package/dist/constants/legal-review-notice.d.ts.map +1 -0
- package/dist/constants/legal-review-notice.js +171 -0
- package/dist/constants/legal-review-notice.js.map +1 -0
- package/dist/constants/public-documents.d.ts +20 -0
- package/dist/constants/public-documents.d.ts.map +1 -0
- package/dist/constants/public-documents.js +48 -0
- package/dist/constants/public-documents.js.map +1 -0
- package/dist/doc-schemas/content.d.ts +56 -0
- package/dist/doc-schemas/content.d.ts.map +1 -1
- package/dist/doc-schemas/content.js +34 -0
- package/dist/doc-schemas/content.js.map +1 -1
- package/dist/doc-schemas/index.d.ts +2 -0
- package/dist/doc-schemas/index.d.ts.map +1 -1
- package/dist/doc-schemas/index.js +2 -0
- package/dist/doc-schemas/index.js.map +1 -1
- package/dist/doc-schemas/legal-review-notice.d.ts +8 -0
- package/dist/doc-schemas/legal-review-notice.d.ts.map +1 -0
- package/dist/doc-schemas/legal-review-notice.js +14 -0
- package/dist/doc-schemas/legal-review-notice.js.map +1 -0
- package/dist/doc-schemas/notifications.d.ts +24 -8
- package/dist/doc-schemas/notifications.d.ts.map +1 -1
- package/dist/doc-schemas/notifications.js +10 -4
- package/dist/doc-schemas/notifications.js.map +1 -1
- package/dist/doc-schemas/payments.d.ts +4 -0
- package/dist/doc-schemas/payments.d.ts.map +1 -1
- package/dist/doc-schemas/payments.js +6 -0
- package/dist/doc-schemas/payments.js.map +1 -1
- package/dist/doc-schemas/public-documents.d.ts +677 -0
- package/dist/doc-schemas/public-documents.d.ts.map +1 -0
- package/dist/doc-schemas/public-documents.js +158 -0
- package/dist/doc-schemas/public-documents.js.map +1 -0
- package/dist/doc-schemas/registry.d.ts +352 -39
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/doc-schemas/registry.js +8 -1
- package/dist/doc-schemas/registry.js.map +1 -1
- package/dist/doc-schemas/safety/case.d.ts +3 -3
- package/dist/doc-schemas/system.d.ts +14 -0
- package/dist/doc-schemas/system.d.ts.map +1 -1
- package/dist/doc-schemas/system.js +7 -0
- package/dist/doc-schemas/system.js.map +1 -1
- package/dist/doc-schemas/user.d.ts +14 -1
- package/dist/doc-schemas/user.d.ts.map +1 -1
- package/dist/doc-schemas/user.js +13 -7
- package/dist/doc-schemas/user.js.map +1 -1
- package/dist/media/domain-events-admin.d.ts +0 -6
- package/dist/media/domain-events-admin.d.ts.map +1 -1
- package/dist/media/domain-events-admin.js +0 -10
- package/dist/media/domain-events-admin.js.map +1 -1
- package/dist/media/domain-events.d.ts +0 -5
- package/dist/media/domain-events.d.ts.map +1 -1
- package/dist/media/domain-events.js +1 -2
- package/dist/media/domain-events.js.map +1 -1
- package/dist/media/pending-media.d.ts +0 -55
- package/dist/media/pending-media.d.ts.map +1 -1
- package/dist/paths/collection-refs.d.ts +2 -0
- package/dist/paths/collection-refs.d.ts.map +1 -1
- package/dist/paths/collection-refs.js +3 -0
- package/dist/paths/collection-refs.js.map +1 -1
- package/dist/paths/collections.d.ts +5 -0
- package/dist/paths/collections.d.ts.map +1 -1
- package/dist/paths/collections.js +14 -0
- package/dist/paths/collections.js.map +1 -1
- package/dist/paths/path-builders.d.ts +8 -0
- package/dist/paths/path-builders.d.ts.map +1 -1
- package/dist/paths/path-builders.js +17 -0
- package/dist/paths/path-builders.js.map +1 -1
- package/dist/schemas/admin.d.ts +119 -42
- package/dist/schemas/admin.d.ts.map +1 -1
- package/dist/schemas/admin.js +49 -30
- package/dist/schemas/admin.js.map +1 -1
- package/dist/schemas/atoms.d.ts +8 -0
- package/dist/schemas/atoms.d.ts.map +1 -1
- package/dist/schemas/atoms.js +8 -0
- package/dist/schemas/atoms.js.map +1 -1
- package/dist/schemas/hall-library.d.ts +1 -0
- package/dist/schemas/hall-library.d.ts.map +1 -1
- package/dist/schemas/hall-library.js +6 -1
- package/dist/schemas/hall-library.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/notification.d.ts +1 -1
- package/dist/schemas/payments.d.ts +1 -0
- package/dist/schemas/payments.d.ts.map +1 -1
- package/dist/schemas/payments.js +5 -0
- package/dist/schemas/payments.js.map +1 -1
- package/dist/schemas/public-documents.d.ts +399 -0
- package/dist/schemas/public-documents.d.ts.map +1 -0
- package/dist/schemas/public-documents.js +147 -0
- package/dist/schemas/public-documents.js.map +1 -0
- package/dist/schemas/safety.d.ts +1 -1
- package/dist/types/audit.d.ts +1 -1
- package/dist/types/audit.d.ts.map +1 -1
- package/dist/types/audit.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/public-documents.d.ts +3 -0
- package/dist/types/public-documents.d.ts.map +1 -0
- package/dist/types/public-documents.js +2 -0
- package/dist/types/public-documents.js.map +1 -0
- package/dist/types/system.d.ts +3 -3
- package/dist/types/system.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/public-documents.d.ts +63 -0
- package/dist/utils/public-documents.d.ts.map +1 -0
- package/dist/utils/public-documents.js +143 -0
- package/dist/utils/public-documents.js.map +1 -0
- package/package.json +4 -4
|
@@ -7,7 +7,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
7
7
|
profilePictureAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
artisanCreator: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
hasPledged: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
charterSignupMember: z.ZodOptional<z.ZodBoolean>;
|
|
11
10
|
status: z.ZodOptional<z.ZodEnum<{
|
|
12
11
|
banned: "banned";
|
|
13
12
|
active: "active";
|
|
@@ -74,6 +73,7 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
74
73
|
}, z.core.$strip>>;
|
|
75
74
|
squareStreetzAgreementsDate: z.ZodOptional<z.ZodNumber>;
|
|
76
75
|
squareStreetzAgreementsVersion: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
artisanCreatorAgreementsVersion: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
hallDownloadAcknowledgedAt: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
agreements: z.ZodOptional<z.ZodObject<{
|
|
79
79
|
age: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -85,6 +85,19 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
85
85
|
termsVersion: z.ZodOptional<z.ZodNumber>;
|
|
86
86
|
privacyVersion: z.ZodOptional<z.ZodNumber>;
|
|
87
87
|
}, z.core.$strip>>;
|
|
88
|
+
publicDocumentAcceptance: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
documentVersions: z.ZodRecord<z.ZodEnum<{
|
|
90
|
+
futurePlans: "futurePlans";
|
|
91
|
+
rulesAndAgreements: "rulesAndAgreements";
|
|
92
|
+
termsOfService: "termsOfService";
|
|
93
|
+
privacyPolicy: "privacyPolicy";
|
|
94
|
+
takeItDownPageCopy: "takeItDownPageCopy";
|
|
95
|
+
dmcaPolicy: "dmcaPolicy";
|
|
96
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
97
|
+
acceptedLevel: z.ZodNumber;
|
|
98
|
+
legalReviewNoticeRevision: z.ZodOptional<z.ZodString>;
|
|
99
|
+
acceptedAt: z.ZodNumber;
|
|
100
|
+
}, z.core.$strict>>;
|
|
88
101
|
siteTour: z.ZodOptional<z.ZodObject<{
|
|
89
102
|
completedVersion: z.ZodOptional<z.ZodNumber>;
|
|
90
103
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -295,22 +308,21 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
295
308
|
category: z.ZodString;
|
|
296
309
|
audienceScope: z.ZodString;
|
|
297
310
|
archivedSnapshot: z.ZodObject<{
|
|
298
|
-
id: z.ZodString;
|
|
299
311
|
type: z.ZodString;
|
|
300
|
-
dedupKey: z.ZodString;
|
|
301
|
-
category: z.ZodString;
|
|
302
|
-
targetUserId: z.ZodNullable<z.ZodString>;
|
|
303
|
-
title: z.ZodString;
|
|
304
312
|
message: z.ZodString;
|
|
313
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
314
|
+
createdAt: z.ZodNumber;
|
|
315
|
+
updatedAt: z.ZodNumber;
|
|
316
|
+
title: z.ZodString;
|
|
305
317
|
count: z.ZodNumber;
|
|
318
|
+
category: z.ZodString;
|
|
319
|
+
dedupKey: z.ZodString;
|
|
320
|
+
targetUserId: z.ZodNullable<z.ZodString>;
|
|
306
321
|
latestActorIds: z.ZodArray<z.ZodString>;
|
|
307
322
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
308
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
309
323
|
seenAt: z.ZodNumber;
|
|
310
324
|
activityGeneration: z.ZodOptional<z.ZodString>;
|
|
311
325
|
seenAtGeneration: z.ZodOptional<z.ZodString>;
|
|
312
|
-
createdAt: z.ZodNumber;
|
|
313
|
-
updatedAt: z.ZodNumber;
|
|
314
326
|
}, z.core.$strip>;
|
|
315
327
|
archivedAt: z.ZodNumber;
|
|
316
328
|
expireAt: z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>;
|
|
@@ -905,6 +917,10 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
905
917
|
refundIds: z.ZodArray<z.ZodString>;
|
|
906
918
|
disputeId: z.ZodNullable<z.ZodString>;
|
|
907
919
|
ageAttestedAt: z.ZodNumber;
|
|
920
|
+
legalReviewNotice: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
revision: z.ZodString;
|
|
922
|
+
acknowledgedAt: z.ZodNumber;
|
|
923
|
+
}, z.core.$strict>>;
|
|
908
924
|
createdAt: z.ZodNumber;
|
|
909
925
|
updatedAt: z.ZodNumber;
|
|
910
926
|
}, z.core.$strip>;
|
|
@@ -1011,6 +1027,10 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1011
1027
|
attestNoBegging: z.ZodLiteral<true>;
|
|
1012
1028
|
attestHumanMadeOriginal: z.ZodLiteral<true>;
|
|
1013
1029
|
attestedAt: z.ZodNumber;
|
|
1030
|
+
legalReviewNotice: z.ZodOptional<z.ZodObject<{
|
|
1031
|
+
revision: z.ZodString;
|
|
1032
|
+
acknowledgedAt: z.ZodNumber;
|
|
1033
|
+
}, z.core.$strict>>;
|
|
1014
1034
|
confirmedNoBegging: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1015
1035
|
confirmedNoCredits: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1016
1036
|
confirmedConsistentFormat: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -2328,11 +2348,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2328
2348
|
thresholdItemId: z.ZodString;
|
|
2329
2349
|
hallItemId: z.ZodString;
|
|
2330
2350
|
}, z.core.$strict>;
|
|
2331
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2332
|
-
type: z.ZodLiteral<"adminDispatch.systemMarked">;
|
|
2333
|
-
ids: z.ZodObject<{
|
|
2334
|
-
userId: z.ZodString;
|
|
2335
|
-
}, z.core.$strict>;
|
|
2336
2351
|
}, z.core.$strict>, z.ZodObject<{
|
|
2337
2352
|
type: z.ZodLiteral<"adminDispatch.threadUpdated">;
|
|
2338
2353
|
ids: z.ZodObject<{
|
|
@@ -2806,11 +2821,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2806
2821
|
thresholdItemId: z.ZodString;
|
|
2807
2822
|
hallItemId: z.ZodString;
|
|
2808
2823
|
}, z.core.$strict>;
|
|
2809
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2810
|
-
type: z.ZodLiteral<"adminDispatch.systemMarked">;
|
|
2811
|
-
ids: z.ZodObject<{
|
|
2812
|
-
userId: z.ZodString;
|
|
2813
|
-
}, z.core.$strict>;
|
|
2814
2824
|
}, z.core.$strict>, z.ZodObject<{
|
|
2815
2825
|
type: z.ZodLiteral<"adminDispatch.threadUpdated">;
|
|
2816
2826
|
ids: z.ZodObject<{
|
|
@@ -3202,11 +3212,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3202
3212
|
thresholdItemId: z.ZodString;
|
|
3203
3213
|
hallItemId: z.ZodString;
|
|
3204
3214
|
}, z.core.$strict>;
|
|
3205
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3206
|
-
type: z.ZodLiteral<"adminDispatch.systemMarked">;
|
|
3207
|
-
ids: z.ZodObject<{
|
|
3208
|
-
userId: z.ZodString;
|
|
3209
|
-
}, z.core.$strict>;
|
|
3210
3215
|
}, z.core.$strict>, z.ZodObject<{
|
|
3211
3216
|
type: z.ZodLiteral<"adminDispatch.threadUpdated">;
|
|
3212
3217
|
ids: z.ZodObject<{
|
|
@@ -3682,11 +3687,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
3682
3687
|
thresholdItemId: z.ZodString;
|
|
3683
3688
|
hallItemId: z.ZodString;
|
|
3684
3689
|
}, z.core.$strict>;
|
|
3685
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3686
|
-
type: z.ZodLiteral<"adminDispatch.systemMarked">;
|
|
3687
|
-
ids: z.ZodObject<{
|
|
3688
|
-
userId: z.ZodString;
|
|
3689
|
-
}, z.core.$strict>;
|
|
3690
3690
|
}, z.core.$strict>, z.ZodObject<{
|
|
3691
3691
|
type: z.ZodLiteral<"adminDispatch.threadUpdated">;
|
|
3692
3692
|
ids: z.ZodObject<{
|
|
@@ -4172,22 +4172,21 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
4172
4172
|
category: z.ZodString;
|
|
4173
4173
|
audienceScope: z.ZodString;
|
|
4174
4174
|
archivedSnapshot: z.ZodObject<{
|
|
4175
|
-
id: z.ZodString;
|
|
4176
4175
|
type: z.ZodString;
|
|
4177
|
-
dedupKey: z.ZodString;
|
|
4178
|
-
category: z.ZodString;
|
|
4179
|
-
targetUserId: z.ZodNullable<z.ZodString>;
|
|
4180
|
-
title: z.ZodString;
|
|
4181
4176
|
message: z.ZodString;
|
|
4177
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4178
|
+
createdAt: z.ZodNumber;
|
|
4179
|
+
updatedAt: z.ZodNumber;
|
|
4180
|
+
title: z.ZodString;
|
|
4182
4181
|
count: z.ZodNumber;
|
|
4182
|
+
category: z.ZodString;
|
|
4183
|
+
dedupKey: z.ZodString;
|
|
4184
|
+
targetUserId: z.ZodNullable<z.ZodString>;
|
|
4183
4185
|
latestActorIds: z.ZodArray<z.ZodString>;
|
|
4184
4186
|
targetPath: z.ZodOptional<z.ZodString>;
|
|
4185
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4186
4187
|
seenAt: z.ZodNumber;
|
|
4187
4188
|
activityGeneration: z.ZodOptional<z.ZodString>;
|
|
4188
4189
|
seenAtGeneration: z.ZodOptional<z.ZodString>;
|
|
4189
|
-
createdAt: z.ZodNumber;
|
|
4190
|
-
updatedAt: z.ZodNumber;
|
|
4191
4190
|
}, z.core.$strip>;
|
|
4192
4191
|
archivedAt: z.ZodNumber;
|
|
4193
4192
|
expireAt: z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>;
|
|
@@ -4723,6 +4722,282 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
4723
4722
|
}>;
|
|
4724
4723
|
reason: z.ZodLiteral<"postCommitAuthEffectFailed">;
|
|
4725
4724
|
}, z.core.$strip>;
|
|
4725
|
+
readonly 'publicDocuments/{documentId}/publicDocumentVersions/{versionId}': z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4726
|
+
documentId: z.ZodLiteral<"termsOfService">;
|
|
4727
|
+
content: z.ZodObject<{
|
|
4728
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4729
|
+
id: z.ZodString;
|
|
4730
|
+
heading: z.ZodString;
|
|
4731
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4732
|
+
body: z.ZodString;
|
|
4733
|
+
order: z.ZodNumber;
|
|
4734
|
+
}, z.core.$strip>>;
|
|
4735
|
+
}, z.core.$strip>;
|
|
4736
|
+
version: z.ZodNumber;
|
|
4737
|
+
releaseId: z.ZodString;
|
|
4738
|
+
publishedBy: z.ZodString;
|
|
4739
|
+
publishedAt: z.ZodNumber;
|
|
4740
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4741
|
+
documentId: z.ZodLiteral<"privacyPolicy">;
|
|
4742
|
+
content: z.ZodObject<{
|
|
4743
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4744
|
+
id: z.ZodString;
|
|
4745
|
+
heading: z.ZodString;
|
|
4746
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4747
|
+
body: z.ZodString;
|
|
4748
|
+
order: z.ZodNumber;
|
|
4749
|
+
}, z.core.$strip>>;
|
|
4750
|
+
}, z.core.$strip>;
|
|
4751
|
+
version: z.ZodNumber;
|
|
4752
|
+
releaseId: z.ZodString;
|
|
4753
|
+
publishedBy: z.ZodString;
|
|
4754
|
+
publishedAt: z.ZodNumber;
|
|
4755
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4756
|
+
documentId: z.ZodLiteral<"rulesAndAgreements">;
|
|
4757
|
+
content: z.ZodObject<{
|
|
4758
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
4759
|
+
id: z.ZodString;
|
|
4760
|
+
title: z.ZodString;
|
|
4761
|
+
description: z.ZodString;
|
|
4762
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4763
|
+
group: z.ZodOptional<z.ZodEnum<{
|
|
4764
|
+
workRealm: "workRealm";
|
|
4765
|
+
workProjectType: "workProjectType";
|
|
4766
|
+
hallWingType: "hallWingType";
|
|
4767
|
+
generic: "generic";
|
|
4768
|
+
merchandising: "merchandising";
|
|
4769
|
+
}>>;
|
|
4770
|
+
subgroup: z.ZodOptional<z.ZodEnum<{
|
|
4771
|
+
Tales: "Tales";
|
|
4772
|
+
Tunes: "Tunes";
|
|
4773
|
+
Television: "Television";
|
|
4774
|
+
entertainment: "entertainment";
|
|
4775
|
+
educational: "educational";
|
|
4776
|
+
newsPolitical: "newsPolitical";
|
|
4777
|
+
}>>;
|
|
4778
|
+
order: z.ZodNumber;
|
|
4779
|
+
}, z.core.$strip>>;
|
|
4780
|
+
agreements: z.ZodObject<{
|
|
4781
|
+
tales: z.ZodOptional<z.ZodObject<{
|
|
4782
|
+
points: z.ZodArray<z.ZodString>;
|
|
4783
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4784
|
+
}, z.core.$strip>>;
|
|
4785
|
+
tunes: z.ZodOptional<z.ZodObject<{
|
|
4786
|
+
points: z.ZodArray<z.ZodString>;
|
|
4787
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4788
|
+
}, z.core.$strip>>;
|
|
4789
|
+
television: z.ZodOptional<z.ZodObject<{
|
|
4790
|
+
points: z.ZodArray<z.ZodString>;
|
|
4791
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4792
|
+
}, z.core.$strip>>;
|
|
4793
|
+
}, z.core.$strip>;
|
|
4794
|
+
}, z.core.$strip>;
|
|
4795
|
+
version: z.ZodNumber;
|
|
4796
|
+
releaseId: z.ZodString;
|
|
4797
|
+
publishedBy: z.ZodString;
|
|
4798
|
+
publishedAt: z.ZodNumber;
|
|
4799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4800
|
+
documentId: z.ZodLiteral<"futurePlans">;
|
|
4801
|
+
content: z.ZodObject<{
|
|
4802
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
4803
|
+
id: z.ZodString;
|
|
4804
|
+
title: z.ZodString;
|
|
4805
|
+
description: z.ZodString;
|
|
4806
|
+
order: z.ZodNumber;
|
|
4807
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4808
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
4809
|
+
image: "image";
|
|
4810
|
+
video: "video";
|
|
4811
|
+
audio: "audio";
|
|
4812
|
+
other: "other";
|
|
4813
|
+
}>>;
|
|
4814
|
+
}, z.core.$strip>>;
|
|
4815
|
+
}, z.core.$strip>;
|
|
4816
|
+
version: z.ZodNumber;
|
|
4817
|
+
releaseId: z.ZodString;
|
|
4818
|
+
publishedBy: z.ZodString;
|
|
4819
|
+
publishedAt: z.ZodNumber;
|
|
4820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4821
|
+
documentId: z.ZodLiteral<"dmcaPolicy">;
|
|
4822
|
+
content: z.ZodObject<{
|
|
4823
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4824
|
+
id: z.ZodString;
|
|
4825
|
+
heading: z.ZodString;
|
|
4826
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4827
|
+
body: z.ZodString;
|
|
4828
|
+
order: z.ZodNumber;
|
|
4829
|
+
}, z.core.$strip>>;
|
|
4830
|
+
intro: z.ZodString;
|
|
4831
|
+
contactBlocks: z.ZodArray<z.ZodObject<{
|
|
4832
|
+
id: z.ZodString;
|
|
4833
|
+
heading: z.ZodString;
|
|
4834
|
+
order: z.ZodNumber;
|
|
4835
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
4836
|
+
id: z.ZodString;
|
|
4837
|
+
label: z.ZodString;
|
|
4838
|
+
value: z.ZodString;
|
|
4839
|
+
order: z.ZodNumber;
|
|
4840
|
+
}, z.core.$strip>>;
|
|
4841
|
+
}, z.core.$strip>>;
|
|
4842
|
+
}, z.core.$strip>;
|
|
4843
|
+
version: z.ZodNumber;
|
|
4844
|
+
releaseId: z.ZodString;
|
|
4845
|
+
publishedBy: z.ZodString;
|
|
4846
|
+
publishedAt: z.ZodNumber;
|
|
4847
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4848
|
+
documentId: z.ZodLiteral<"takeItDownPageCopy">;
|
|
4849
|
+
content: z.ZodObject<{
|
|
4850
|
+
strings: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4851
|
+
}, z.core.$strip>;
|
|
4852
|
+
version: z.ZodNumber;
|
|
4853
|
+
releaseId: z.ZodString;
|
|
4854
|
+
publishedBy: z.ZodString;
|
|
4855
|
+
publishedAt: z.ZodNumber;
|
|
4856
|
+
}, z.core.$strip>], "documentId">;
|
|
4857
|
+
readonly 'publicDocumentDrafts/{documentId}': z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4858
|
+
documentId: z.ZodLiteral<"termsOfService">;
|
|
4859
|
+
content: z.ZodObject<{
|
|
4860
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4861
|
+
id: z.ZodString;
|
|
4862
|
+
heading: z.ZodString;
|
|
4863
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4864
|
+
body: z.ZodString;
|
|
4865
|
+
order: z.ZodNumber;
|
|
4866
|
+
}, z.core.$strip>>;
|
|
4867
|
+
}, z.core.$strip>;
|
|
4868
|
+
baseVersion: z.ZodNumber;
|
|
4869
|
+
savedBy: z.ZodString;
|
|
4870
|
+
savedAt: z.ZodNumber;
|
|
4871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4872
|
+
documentId: z.ZodLiteral<"privacyPolicy">;
|
|
4873
|
+
content: z.ZodObject<{
|
|
4874
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4875
|
+
id: z.ZodString;
|
|
4876
|
+
heading: z.ZodString;
|
|
4877
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4878
|
+
body: z.ZodString;
|
|
4879
|
+
order: z.ZodNumber;
|
|
4880
|
+
}, z.core.$strip>>;
|
|
4881
|
+
}, z.core.$strip>;
|
|
4882
|
+
baseVersion: z.ZodNumber;
|
|
4883
|
+
savedBy: z.ZodString;
|
|
4884
|
+
savedAt: z.ZodNumber;
|
|
4885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4886
|
+
documentId: z.ZodLiteral<"rulesAndAgreements">;
|
|
4887
|
+
content: z.ZodObject<{
|
|
4888
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
4889
|
+
id: z.ZodString;
|
|
4890
|
+
title: z.ZodString;
|
|
4891
|
+
description: z.ZodString;
|
|
4892
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4893
|
+
group: z.ZodOptional<z.ZodEnum<{
|
|
4894
|
+
workRealm: "workRealm";
|
|
4895
|
+
workProjectType: "workProjectType";
|
|
4896
|
+
hallWingType: "hallWingType";
|
|
4897
|
+
generic: "generic";
|
|
4898
|
+
merchandising: "merchandising";
|
|
4899
|
+
}>>;
|
|
4900
|
+
subgroup: z.ZodOptional<z.ZodEnum<{
|
|
4901
|
+
Tales: "Tales";
|
|
4902
|
+
Tunes: "Tunes";
|
|
4903
|
+
Television: "Television";
|
|
4904
|
+
entertainment: "entertainment";
|
|
4905
|
+
educational: "educational";
|
|
4906
|
+
newsPolitical: "newsPolitical";
|
|
4907
|
+
}>>;
|
|
4908
|
+
order: z.ZodNumber;
|
|
4909
|
+
}, z.core.$strip>>;
|
|
4910
|
+
agreements: z.ZodObject<{
|
|
4911
|
+
tales: z.ZodOptional<z.ZodObject<{
|
|
4912
|
+
points: z.ZodArray<z.ZodString>;
|
|
4913
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4914
|
+
}, z.core.$strip>>;
|
|
4915
|
+
tunes: z.ZodOptional<z.ZodObject<{
|
|
4916
|
+
points: z.ZodArray<z.ZodString>;
|
|
4917
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4918
|
+
}, z.core.$strip>>;
|
|
4919
|
+
television: z.ZodOptional<z.ZodObject<{
|
|
4920
|
+
points: z.ZodArray<z.ZodString>;
|
|
4921
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4922
|
+
}, z.core.$strip>>;
|
|
4923
|
+
}, z.core.$strip>;
|
|
4924
|
+
}, z.core.$strip>;
|
|
4925
|
+
baseVersion: z.ZodNumber;
|
|
4926
|
+
savedBy: z.ZodString;
|
|
4927
|
+
savedAt: z.ZodNumber;
|
|
4928
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4929
|
+
documentId: z.ZodLiteral<"futurePlans">;
|
|
4930
|
+
content: z.ZodObject<{
|
|
4931
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
4932
|
+
id: z.ZodString;
|
|
4933
|
+
title: z.ZodString;
|
|
4934
|
+
description: z.ZodString;
|
|
4935
|
+
order: z.ZodNumber;
|
|
4936
|
+
videoUrl: z.ZodOptional<z.ZodString>;
|
|
4937
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
4938
|
+
image: "image";
|
|
4939
|
+
video: "video";
|
|
4940
|
+
audio: "audio";
|
|
4941
|
+
other: "other";
|
|
4942
|
+
}>>;
|
|
4943
|
+
}, z.core.$strip>>;
|
|
4944
|
+
}, z.core.$strip>;
|
|
4945
|
+
baseVersion: z.ZodNumber;
|
|
4946
|
+
savedBy: z.ZodString;
|
|
4947
|
+
savedAt: z.ZodNumber;
|
|
4948
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4949
|
+
documentId: z.ZodLiteral<"dmcaPolicy">;
|
|
4950
|
+
content: z.ZodObject<{
|
|
4951
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4952
|
+
id: z.ZodString;
|
|
4953
|
+
heading: z.ZodString;
|
|
4954
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
4955
|
+
body: z.ZodString;
|
|
4956
|
+
order: z.ZodNumber;
|
|
4957
|
+
}, z.core.$strip>>;
|
|
4958
|
+
intro: z.ZodString;
|
|
4959
|
+
contactBlocks: z.ZodArray<z.ZodObject<{
|
|
4960
|
+
id: z.ZodString;
|
|
4961
|
+
heading: z.ZodString;
|
|
4962
|
+
order: z.ZodNumber;
|
|
4963
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
4964
|
+
id: z.ZodString;
|
|
4965
|
+
label: z.ZodString;
|
|
4966
|
+
value: z.ZodString;
|
|
4967
|
+
order: z.ZodNumber;
|
|
4968
|
+
}, z.core.$strip>>;
|
|
4969
|
+
}, z.core.$strip>>;
|
|
4970
|
+
}, z.core.$strip>;
|
|
4971
|
+
baseVersion: z.ZodNumber;
|
|
4972
|
+
savedBy: z.ZodString;
|
|
4973
|
+
savedAt: z.ZodNumber;
|
|
4974
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4975
|
+
documentId: z.ZodLiteral<"takeItDownPageCopy">;
|
|
4976
|
+
content: z.ZodObject<{
|
|
4977
|
+
strings: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4978
|
+
}, z.core.$strip>;
|
|
4979
|
+
baseVersion: z.ZodNumber;
|
|
4980
|
+
savedBy: z.ZodString;
|
|
4981
|
+
savedAt: z.ZodNumber;
|
|
4982
|
+
}, z.core.$strip>], "documentId">;
|
|
4983
|
+
readonly 'publicDocumentReleases/{releaseId}': z.ZodObject<{
|
|
4984
|
+
releaseId: z.ZodString;
|
|
4985
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
4986
|
+
documentId: z.ZodEnum<{
|
|
4987
|
+
futurePlans: "futurePlans";
|
|
4988
|
+
rulesAndAgreements: "rulesAndAgreements";
|
|
4989
|
+
termsOfService: "termsOfService";
|
|
4990
|
+
privacyPolicy: "privacyPolicy";
|
|
4991
|
+
takeItDownPageCopy: "takeItDownPageCopy";
|
|
4992
|
+
dmcaPolicy: "dmcaPolicy";
|
|
4993
|
+
}>;
|
|
4994
|
+
version: z.ZodNumber;
|
|
4995
|
+
}, z.core.$strict>>;
|
|
4996
|
+
requireAcceptance: z.ZodBoolean;
|
|
4997
|
+
requiredAcceptanceLevel: z.ZodNumber;
|
|
4998
|
+
publishedBy: z.ZodString;
|
|
4999
|
+
publishedAt: z.ZodNumber;
|
|
5000
|
+
}, z.core.$strip>;
|
|
4726
5001
|
readonly 'childSafetyCaseList/{caseId}': z.ZodObject<{
|
|
4727
5002
|
schemaVersion: z.ZodLiteral<1>;
|
|
4728
5003
|
caseId: z.ZodString;
|
|
@@ -4949,8 +5224,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
4949
5224
|
}, z.core.$strict>;
|
|
4950
5225
|
readonly 'childSafetyCases/{caseId}/childSafetyCaseAccounts/{uid}': z.ZodObject<{
|
|
4951
5226
|
role: z.ZodEnum<{
|
|
4952
|
-
uploader: "uploader";
|
|
4953
5227
|
requester: "requester";
|
|
5228
|
+
uploader: "uploader";
|
|
4954
5229
|
distributor: "distributor";
|
|
4955
5230
|
questionable: "questionable";
|
|
4956
5231
|
}>;
|
|
@@ -4972,8 +5247,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
4972
5247
|
}, z.core.$strict>;
|
|
4973
5248
|
readonly 'childSafetyCases/{caseId}/childSafetyCaseAccounts/{uid}/childSafetyCaseAccountHistory/{historyId}': z.ZodObject<{
|
|
4974
5249
|
role: z.ZodEnum<{
|
|
4975
|
-
uploader: "uploader";
|
|
4976
5250
|
requester: "requester";
|
|
5251
|
+
uploader: "uploader";
|
|
4977
5252
|
distributor: "distributor";
|
|
4978
5253
|
questionable: "questionable";
|
|
4979
5254
|
}>;
|
|
@@ -6726,6 +7001,20 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
6726
7001
|
registrationEnabled: z.ZodBoolean;
|
|
6727
7002
|
announcementMessage: z.ZodOptional<z.ZodString>;
|
|
6728
7003
|
rateLimitMultiplier: z.ZodOptional<z.ZodNumber>;
|
|
7004
|
+
publicDocumentVersions: z.ZodOptional<z.ZodObject<{
|
|
7005
|
+
documents: z.ZodRecord<z.ZodEnum<{
|
|
7006
|
+
futurePlans: "futurePlans";
|
|
7007
|
+
rulesAndAgreements: "rulesAndAgreements";
|
|
7008
|
+
termsOfService: "termsOfService";
|
|
7009
|
+
privacyPolicy: "privacyPolicy";
|
|
7010
|
+
takeItDownPageCopy: "takeItDownPageCopy";
|
|
7011
|
+
dmcaPolicy: "dmcaPolicy";
|
|
7012
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
7013
|
+
currentVersion: z.ZodNumber;
|
|
7014
|
+
requiredVersion: z.ZodNumber;
|
|
7015
|
+
}, z.core.$strict>>;
|
|
7016
|
+
requiredAcceptanceLevel: z.ZodNumber;
|
|
7017
|
+
}, z.core.$strict>>;
|
|
6729
7018
|
}, z.core.$strip>;
|
|
6730
7019
|
readonly '_appConfig/futurePlans': z.ZodObject<{
|
|
6731
7020
|
lastUpdated: z.ZodNumber;
|
|
@@ -6782,6 +7071,7 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
6782
7071
|
}, z.core.$strip>>;
|
|
6783
7072
|
}, z.core.$strip>;
|
|
6784
7073
|
version: z.ZodOptional<z.ZodNumber>;
|
|
7074
|
+
lastUpdated: z.ZodOptional<z.ZodNumber>;
|
|
6785
7075
|
}, z.core.$strip>;
|
|
6786
7076
|
readonly '_appConfig/termsOfService': z.ZodObject<{
|
|
6787
7077
|
version: z.ZodNumber;
|
|
@@ -6810,6 +7100,29 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
6810
7100
|
lastUpdated: z.ZodNumber;
|
|
6811
7101
|
strings: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6812
7102
|
}, z.core.$strip>;
|
|
7103
|
+
readonly '_appConfig/dmcaPolicy': z.ZodObject<{
|
|
7104
|
+
version: z.ZodNumber;
|
|
7105
|
+
lastUpdated: z.ZodNumber;
|
|
7106
|
+
intro: z.ZodString;
|
|
7107
|
+
contactBlocks: z.ZodArray<z.ZodObject<{
|
|
7108
|
+
id: z.ZodString;
|
|
7109
|
+
heading: z.ZodString;
|
|
7110
|
+
order: z.ZodNumber;
|
|
7111
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
7112
|
+
id: z.ZodString;
|
|
7113
|
+
label: z.ZodString;
|
|
7114
|
+
value: z.ZodString;
|
|
7115
|
+
order: z.ZodNumber;
|
|
7116
|
+
}, z.core.$strip>>;
|
|
7117
|
+
}, z.core.$strip>>;
|
|
7118
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
7119
|
+
id: z.ZodString;
|
|
7120
|
+
heading: z.ZodString;
|
|
7121
|
+
level: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
7122
|
+
body: z.ZodString;
|
|
7123
|
+
order: z.ZodNumber;
|
|
7124
|
+
}, z.core.$strip>>;
|
|
7125
|
+
}, z.core.$strip>;
|
|
6813
7126
|
readonly '_serverData/agePolicy': z.ZodObject<{
|
|
6814
7127
|
agePolicyVersion: z.ZodString;
|
|
6815
7128
|
registrationGracePeriodMinutes: z.ZodNumber;
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/registry.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmQkB,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"}
|
|
@@ -10,11 +10,12 @@ import { FullUserSchema, UserPrivateDataSchema, CraftSkillSchema, CraftSkillRefe
|
|
|
10
10
|
import { PublicUserSchema } from './publicUser.js';
|
|
11
11
|
import { AccountDeletionRequestV1Schema } from './account-deletion.js';
|
|
12
12
|
import { FullWorkProjectSchema, PublicWorkProjectSchema, WorkFileFolderSchema, WorkFileSchema, WorkRealmSchema, RealmFileFolderSchema, GuildmateUserSchema, PublicGuildmateUserSchema, } from './work-project.js';
|
|
13
|
-
import { FullTaleSchema, FullChapterSchema, FullTuneSchema, FullTuneTrackSchema, FullTelevisionSchema, FullTelevisionEpisodeSchema, ThresholdItemSchema, HallSubmissionReservationSchema, PublishedHallItemSchema, PublishedChapterSchema, PublishedTuneTrackSchema, PublishedTelevisionEpisodeSchema, HallContentChangeRequestSchema, FuturePlansDocumentSchema, RulesAndAgreementsSchema, LegalPageDocumentSchema, TakeItDownPageCopySchema, HallLibraryPreferencesSchema, } from './content.js';
|
|
13
|
+
import { FullTaleSchema, FullChapterSchema, FullTuneSchema, FullTuneTrackSchema, FullTelevisionSchema, FullTelevisionEpisodeSchema, ThresholdItemSchema, HallSubmissionReservationSchema, PublishedHallItemSchema, PublishedChapterSchema, PublishedTuneTrackSchema, PublishedTelevisionEpisodeSchema, HallContentChangeRequestSchema, FuturePlansDocumentSchema, RulesAndAgreementsSchema, LegalPageDocumentSchema, TakeItDownPageCopySchema, DmcaPolicyDocumentSchema, HallLibraryPreferencesSchema, } from './content.js';
|
|
14
14
|
import { SquareStreetzPostSchema, MentionHistoryDocumentSchema, FollowEdgeSchema, FollowCounterSchema, SquareStreetzLikeSchema, TrendingPostsSchema, } from './social.js';
|
|
15
15
|
import { PledgePaymentSchema, PledgePaymentProviderRefSchema, ProcessedStripeEventSchema, PledgePaymentLedgerEventSchema, PaymentWebhookQuarantineSchema, PledgePaymentTotalsDocSchema, PledgeRefundRequestSchema, } from './payments.js';
|
|
16
16
|
import { FullCommissionListingSchema, CommissionProposalSchema, AuditionSchema, AuditionEntrySchema, UserAuditionVoteSchema, } from './commissions.js';
|
|
17
17
|
import { GuildChatChannelSchema, GuildInviteConversationSchema, AdminDispatchSchema, ChatMessageV1Schema, ConversationFileSchema, } from './messaging.js';
|
|
18
|
+
import { PublicDocumentVersionSchema, PublicDocumentDraftSchema, PublicDocumentReleaseSchema, } from './public-documents.js';
|
|
18
19
|
import { AppConfigSchema, AdminListSchema, ProfanityListSchema, ReservedUsernamesSchema, BlockedFranchiseNamesSchema, AppModeMarkerSchema } from './system.js';
|
|
19
20
|
import { ContentViolationSchema, ModerationCascadeManifestSchema, ModerationCascadeChangedDocSchema, } from './moderation.js';
|
|
20
21
|
import { AdminTaskDocSchema, } from './report-docs.js';
|
|
@@ -173,6 +174,10 @@ export const COLLECTION_SCHEMAS = {
|
|
|
173
174
|
'shortLinks/{shortId}': ShortLinkSchema,
|
|
174
175
|
'feedbackSubmissions/{feedbackType}/userSuggestions/{suggestionId}': UserSuggestionSchema,
|
|
175
176
|
'statusReconcileQueue/{uid}': StatusReconcileQueueEntrySchema,
|
|
177
|
+
// ===== Versioned public documents (backend-written; never public — the public reads the _appConfig projections) =====
|
|
178
|
+
'publicDocuments/{documentId}/publicDocumentVersions/{versionId}': PublicDocumentVersionSchema,
|
|
179
|
+
'publicDocumentDrafts/{documentId}': PublicDocumentDraftSchema,
|
|
180
|
+
'publicDocumentReleases/{releaseId}': PublicDocumentReleaseSchema,
|
|
176
181
|
// ===== Trust & Safety — child-safety case spine (§A1b, §A2) =====
|
|
177
182
|
'childSafetyCaseList/{caseId}': ChildSafetyCaseListV1Schema,
|
|
178
183
|
'activeSafetyCaseAlerts/{caseId}': SafetyCaseAlertV1Schema,
|
|
@@ -259,6 +264,8 @@ export const COLLECTION_SCHEMAS = {
|
|
|
259
264
|
'_appConfig/termsOfService': LegalPageDocumentSchema,
|
|
260
265
|
'_appConfig/privacyPolicy': LegalPageDocumentSchema,
|
|
261
266
|
'_appConfig/takeItDownPageCopy': TakeItDownPageCopySchema,
|
|
267
|
+
// The /dmca page's current projection — a public document like the three above.
|
|
268
|
+
'_appConfig/dmcaPolicy': DmcaPolicyDocumentSchema,
|
|
262
269
|
// ===== _serverData singletons (server-only — Cloud-Functions-only readers, BACKEND-108) =====
|
|
263
270
|
'_serverData/agePolicy': AgePolicyConfigV1Schema,
|
|
264
271
|
'_serverData/nciiPolicy': NciiPolicyConfigV1Schema,
|