@ttt-productions/ttt-core 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/doc-schemas/audit.d.ts +2 -2
- package/dist/doc-schemas/messaging.d.ts +100 -0
- package/dist/doc-schemas/messaging.d.ts.map +1 -1
- package/dist/doc-schemas/messaging.js +19 -0
- package/dist/doc-schemas/messaging.js.map +1 -1
- package/dist/doc-schemas/moderation.d.ts +50 -44
- package/dist/doc-schemas/moderation.d.ts.map +1 -1
- package/dist/doc-schemas/moderation.js +13 -6
- package/dist/doc-schemas/moderation.js.map +1 -1
- package/dist/doc-schemas/notifications.d.ts +154 -4
- package/dist/doc-schemas/notifications.d.ts.map +1 -1
- package/dist/doc-schemas/notifications.js +37 -0
- package/dist/doc-schemas/notifications.js.map +1 -1
- package/dist/doc-schemas/operational.d.ts +82 -0
- package/dist/doc-schemas/operational.d.ts.map +1 -1
- package/dist/doc-schemas/operational.js +30 -0
- package/dist/doc-schemas/operational.js.map +1 -1
- package/dist/doc-schemas/registry.d.ts +697 -66
- package/dist/doc-schemas/registry.d.ts.map +1 -1
- package/dist/doc-schemas/registry.js +35 -36
- package/dist/doc-schemas/registry.js.map +1 -1
- package/dist/doc-schemas/report-docs.d.ts +91 -0
- package/dist/doc-schemas/report-docs.d.ts.map +1 -1
- package/dist/doc-schemas/report-docs.js +22 -0
- package/dist/doc-schemas/report-docs.js.map +1 -1
- package/dist/doc-schemas/social.d.ts +56 -0
- package/dist/doc-schemas/social.d.ts.map +1 -1
- package/dist/doc-schemas/social.js +24 -0
- package/dist/doc-schemas/social.js.map +1 -1
- package/dist/doc-schemas/system.d.ts +25 -0
- package/dist/doc-schemas/system.d.ts.map +1 -1
- package/dist/doc-schemas/system.js +13 -0
- package/dist/doc-schemas/system.js.map +1 -1
- package/dist/media/target-info.d.ts +12 -12
- package/dist/paths/collections.d.ts +1 -1
- package/dist/paths/collections.d.ts.map +1 -1
- package/dist/paths/collections.js +2 -1
- package/dist/paths/collections.js.map +1 -1
- package/dist/paths/path-builders.d.ts +0 -1
- package/dist/paths/path-builders.d.ts.map +1 -1
- package/dist/paths/path-builders.js +0 -1
- package/dist/paths/path-builders.js.map +1 -1
- package/dist/schemas/chat.d.ts +29 -29
- package/package.json +1 -1
|
@@ -303,8 +303,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
303
303
|
createdAt: number;
|
|
304
304
|
updatedAt: number;
|
|
305
305
|
metadata: Record<string, unknown>;
|
|
306
|
-
dedupKey: string;
|
|
307
306
|
category: string;
|
|
307
|
+
dedupKey: string;
|
|
308
308
|
targetUserId: string | null;
|
|
309
309
|
count: number;
|
|
310
310
|
latestActorIds: string[];
|
|
@@ -324,8 +324,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
324
324
|
createdAt: number;
|
|
325
325
|
updatedAt: number;
|
|
326
326
|
metadata: Record<string, unknown>;
|
|
327
|
-
dedupKey: string;
|
|
328
327
|
category: string;
|
|
328
|
+
dedupKey: string;
|
|
329
329
|
targetUserId: string | null;
|
|
330
330
|
count: number;
|
|
331
331
|
latestActorIds: string[];
|
|
@@ -338,6 +338,13 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
338
338
|
expireAt: number;
|
|
339
339
|
handledBy?: string | undefined;
|
|
340
340
|
}>;
|
|
341
|
+
readonly 'userProfiles/{userId}/userLikes/likeHistory/squareStreetzLikes/{postId}': z.ZodObject<{
|
|
342
|
+
likedOn: z.ZodNumber;
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
|
+
likedOn: number;
|
|
345
|
+
}, {
|
|
346
|
+
likedOn: number;
|
|
347
|
+
}>;
|
|
341
348
|
readonly 'publicUsers/{uid}': z.ZodObject<{
|
|
342
349
|
uid: z.ZodString;
|
|
343
350
|
displayName: z.ZodString;
|
|
@@ -724,6 +731,105 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
724
731
|
lastMessageAt?: string | undefined;
|
|
725
732
|
lastMessage?: string | undefined;
|
|
726
733
|
}>;
|
|
734
|
+
readonly 'allWorkProjects/{workProjectId}/guildChatChannels/{guildChatChannelId}/guildChatMessages/{guildChatMessageId}': z.ZodObject<{
|
|
735
|
+
senderId: z.ZodString;
|
|
736
|
+
text: z.ZodString;
|
|
737
|
+
createdAt: z.ZodNumber;
|
|
738
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
739
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
740
|
+
type: z.ZodOptional<z.ZodString>;
|
|
741
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
id: z.ZodString;
|
|
743
|
+
name: z.ZodString;
|
|
744
|
+
type: z.ZodEnum<["image", "video", "audio", "text"]>;
|
|
745
|
+
size: z.ZodNumber;
|
|
746
|
+
url: z.ZodOptional<z.ZodString>;
|
|
747
|
+
storagePath: z.ZodString;
|
|
748
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "ready", "failed"]>>;
|
|
749
|
+
failureReason: z.ZodOptional<z.ZodString>;
|
|
750
|
+
}, "strict", z.ZodTypeAny, {
|
|
751
|
+
type: "image" | "video" | "audio" | "text";
|
|
752
|
+
id: string;
|
|
753
|
+
name: string;
|
|
754
|
+
size: number;
|
|
755
|
+
storagePath: string;
|
|
756
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
757
|
+
url?: string | undefined;
|
|
758
|
+
failureReason?: string | undefined;
|
|
759
|
+
}, {
|
|
760
|
+
type: "image" | "video" | "audio" | "text";
|
|
761
|
+
id: string;
|
|
762
|
+
name: string;
|
|
763
|
+
size: number;
|
|
764
|
+
storagePath: string;
|
|
765
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
766
|
+
url?: string | undefined;
|
|
767
|
+
failureReason?: string | undefined;
|
|
768
|
+
}>>;
|
|
769
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
770
|
+
messageId: z.ZodString;
|
|
771
|
+
senderId: z.ZodString;
|
|
772
|
+
messagePreview: z.ZodString;
|
|
773
|
+
}, "strict", z.ZodTypeAny, {
|
|
774
|
+
messageId: string;
|
|
775
|
+
senderId: string;
|
|
776
|
+
messagePreview: string;
|
|
777
|
+
}, {
|
|
778
|
+
messageId: string;
|
|
779
|
+
senderId: string;
|
|
780
|
+
messagePreview: string;
|
|
781
|
+
}>>;
|
|
782
|
+
isSystemMessage: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
784
|
+
}, "strip", z.ZodTypeAny, {
|
|
785
|
+
createdAt: number;
|
|
786
|
+
text: string;
|
|
787
|
+
senderId: string;
|
|
788
|
+
type?: string | undefined;
|
|
789
|
+
messageId?: string | undefined;
|
|
790
|
+
threadId?: string | undefined;
|
|
791
|
+
attachment?: {
|
|
792
|
+
type: "image" | "video" | "audio" | "text";
|
|
793
|
+
id: string;
|
|
794
|
+
name: string;
|
|
795
|
+
size: number;
|
|
796
|
+
storagePath: string;
|
|
797
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
798
|
+
url?: string | undefined;
|
|
799
|
+
failureReason?: string | undefined;
|
|
800
|
+
} | undefined;
|
|
801
|
+
replyTo?: {
|
|
802
|
+
messageId: string;
|
|
803
|
+
senderId: string;
|
|
804
|
+
messagePreview: string;
|
|
805
|
+
} | undefined;
|
|
806
|
+
isSystemMessage?: boolean | undefined;
|
|
807
|
+
meta?: Record<string, unknown> | undefined;
|
|
808
|
+
}, {
|
|
809
|
+
createdAt: number;
|
|
810
|
+
text: string;
|
|
811
|
+
senderId: string;
|
|
812
|
+
type?: string | undefined;
|
|
813
|
+
messageId?: string | undefined;
|
|
814
|
+
threadId?: string | undefined;
|
|
815
|
+
attachment?: {
|
|
816
|
+
type: "image" | "video" | "audio" | "text";
|
|
817
|
+
id: string;
|
|
818
|
+
name: string;
|
|
819
|
+
size: number;
|
|
820
|
+
storagePath: string;
|
|
821
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
822
|
+
url?: string | undefined;
|
|
823
|
+
failureReason?: string | undefined;
|
|
824
|
+
} | undefined;
|
|
825
|
+
replyTo?: {
|
|
826
|
+
messageId: string;
|
|
827
|
+
senderId: string;
|
|
828
|
+
messagePreview: string;
|
|
829
|
+
} | undefined;
|
|
830
|
+
isSystemMessage?: boolean | undefined;
|
|
831
|
+
meta?: Record<string, unknown> | undefined;
|
|
832
|
+
}>;
|
|
727
833
|
readonly 'publicWorkProjects/{workProjectId}': z.ZodObject<{
|
|
728
834
|
workProjectId: z.ZodString;
|
|
729
835
|
publicWorkStatus: z.ZodEnum<["draft", "released"]>;
|
|
@@ -1093,6 +1199,105 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1093
1199
|
lastMessage?: string | undefined;
|
|
1094
1200
|
finalizedAt?: number | undefined;
|
|
1095
1201
|
}>;
|
|
1202
|
+
readonly 'guildInviteConversations/{guildInviteId}/inviteMessages/{guildInviteMessageId}': z.ZodObject<{
|
|
1203
|
+
senderId: z.ZodString;
|
|
1204
|
+
text: z.ZodString;
|
|
1205
|
+
createdAt: z.ZodNumber;
|
|
1206
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1208
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
1210
|
+
id: z.ZodString;
|
|
1211
|
+
name: z.ZodString;
|
|
1212
|
+
type: z.ZodEnum<["image", "video", "audio", "text"]>;
|
|
1213
|
+
size: z.ZodNumber;
|
|
1214
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
storagePath: z.ZodString;
|
|
1216
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "ready", "failed"]>>;
|
|
1217
|
+
failureReason: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
}, "strict", z.ZodTypeAny, {
|
|
1219
|
+
type: "image" | "video" | "audio" | "text";
|
|
1220
|
+
id: string;
|
|
1221
|
+
name: string;
|
|
1222
|
+
size: number;
|
|
1223
|
+
storagePath: string;
|
|
1224
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
1225
|
+
url?: string | undefined;
|
|
1226
|
+
failureReason?: string | undefined;
|
|
1227
|
+
}, {
|
|
1228
|
+
type: "image" | "video" | "audio" | "text";
|
|
1229
|
+
id: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
size: number;
|
|
1232
|
+
storagePath: string;
|
|
1233
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
1234
|
+
url?: string | undefined;
|
|
1235
|
+
failureReason?: string | undefined;
|
|
1236
|
+
}>>;
|
|
1237
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
1238
|
+
messageId: z.ZodString;
|
|
1239
|
+
senderId: z.ZodString;
|
|
1240
|
+
messagePreview: z.ZodString;
|
|
1241
|
+
}, "strict", z.ZodTypeAny, {
|
|
1242
|
+
messageId: string;
|
|
1243
|
+
senderId: string;
|
|
1244
|
+
messagePreview: string;
|
|
1245
|
+
}, {
|
|
1246
|
+
messageId: string;
|
|
1247
|
+
senderId: string;
|
|
1248
|
+
messagePreview: string;
|
|
1249
|
+
}>>;
|
|
1250
|
+
isSystemMessage: z.ZodOptional<z.ZodBoolean>;
|
|
1251
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1252
|
+
}, "strip", z.ZodTypeAny, {
|
|
1253
|
+
createdAt: number;
|
|
1254
|
+
text: string;
|
|
1255
|
+
senderId: string;
|
|
1256
|
+
type?: string | undefined;
|
|
1257
|
+
messageId?: string | undefined;
|
|
1258
|
+
threadId?: string | undefined;
|
|
1259
|
+
attachment?: {
|
|
1260
|
+
type: "image" | "video" | "audio" | "text";
|
|
1261
|
+
id: string;
|
|
1262
|
+
name: string;
|
|
1263
|
+
size: number;
|
|
1264
|
+
storagePath: string;
|
|
1265
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
1266
|
+
url?: string | undefined;
|
|
1267
|
+
failureReason?: string | undefined;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
replyTo?: {
|
|
1270
|
+
messageId: string;
|
|
1271
|
+
senderId: string;
|
|
1272
|
+
messagePreview: string;
|
|
1273
|
+
} | undefined;
|
|
1274
|
+
isSystemMessage?: boolean | undefined;
|
|
1275
|
+
meta?: Record<string, unknown> | undefined;
|
|
1276
|
+
}, {
|
|
1277
|
+
createdAt: number;
|
|
1278
|
+
text: string;
|
|
1279
|
+
senderId: string;
|
|
1280
|
+
type?: string | undefined;
|
|
1281
|
+
messageId?: string | undefined;
|
|
1282
|
+
threadId?: string | undefined;
|
|
1283
|
+
attachment?: {
|
|
1284
|
+
type: "image" | "video" | "audio" | "text";
|
|
1285
|
+
id: string;
|
|
1286
|
+
name: string;
|
|
1287
|
+
size: number;
|
|
1288
|
+
storagePath: string;
|
|
1289
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
1290
|
+
url?: string | undefined;
|
|
1291
|
+
failureReason?: string | undefined;
|
|
1292
|
+
} | undefined;
|
|
1293
|
+
replyTo?: {
|
|
1294
|
+
messageId: string;
|
|
1295
|
+
senderId: string;
|
|
1296
|
+
messagePreview: string;
|
|
1297
|
+
} | undefined;
|
|
1298
|
+
isSystemMessage?: boolean | undefined;
|
|
1299
|
+
meta?: Record<string, unknown> | undefined;
|
|
1300
|
+
}>;
|
|
1096
1301
|
readonly 'squareStreetzFeed/activePosts/socialPosts/{postId}': z.ZodObject<{
|
|
1097
1302
|
postId: z.ZodString;
|
|
1098
1303
|
createdBy: z.ZodObject<{
|
|
@@ -1180,6 +1385,16 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1180
1385
|
moderationLayer?: "word_filter" | "perspective" | undefined;
|
|
1181
1386
|
visible?: boolean | undefined;
|
|
1182
1387
|
}>;
|
|
1388
|
+
readonly 'squareStreetzFeed/trendingPosts': z.ZodObject<{
|
|
1389
|
+
postIds: z.ZodArray<z.ZodString, "many">;
|
|
1390
|
+
lastUpdated: z.ZodNumber;
|
|
1391
|
+
}, "strip", z.ZodTypeAny, {
|
|
1392
|
+
lastUpdated: number;
|
|
1393
|
+
postIds: string[];
|
|
1394
|
+
}, {
|
|
1395
|
+
lastUpdated: number;
|
|
1396
|
+
postIds: string[];
|
|
1397
|
+
}>;
|
|
1183
1398
|
readonly 'followEdges/{followEdgeId}': z.ZodObject<{
|
|
1184
1399
|
followerUid: z.ZodString;
|
|
1185
1400
|
targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
|
|
@@ -1252,6 +1467,42 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1252
1467
|
stripeSessionId: string;
|
|
1253
1468
|
currency: string;
|
|
1254
1469
|
}>;
|
|
1470
|
+
readonly 'pledgePaymentsSummary/summary': z.ZodObject<{
|
|
1471
|
+
totalPledgePayments: z.ZodNumber;
|
|
1472
|
+
totalPledgePaymentsByType: z.ZodObject<{
|
|
1473
|
+
card: z.ZodNumber;
|
|
1474
|
+
paypal: z.ZodNumber;
|
|
1475
|
+
crypto: z.ZodNumber;
|
|
1476
|
+
}, "strip", z.ZodTypeAny, {
|
|
1477
|
+
card: number;
|
|
1478
|
+
paypal: number;
|
|
1479
|
+
crypto: number;
|
|
1480
|
+
}, {
|
|
1481
|
+
card: number;
|
|
1482
|
+
paypal: number;
|
|
1483
|
+
crypto: number;
|
|
1484
|
+
}>;
|
|
1485
|
+
pledgePaymentCount: z.ZodNumber;
|
|
1486
|
+
lastUpdatedAt: z.ZodNumber;
|
|
1487
|
+
}, "strip", z.ZodTypeAny, {
|
|
1488
|
+
totalPledgePayments: number;
|
|
1489
|
+
pledgePaymentCount: number;
|
|
1490
|
+
lastUpdatedAt: number;
|
|
1491
|
+
totalPledgePaymentsByType: {
|
|
1492
|
+
card: number;
|
|
1493
|
+
paypal: number;
|
|
1494
|
+
crypto: number;
|
|
1495
|
+
};
|
|
1496
|
+
}, {
|
|
1497
|
+
totalPledgePayments: number;
|
|
1498
|
+
pledgePaymentCount: number;
|
|
1499
|
+
lastUpdatedAt: number;
|
|
1500
|
+
totalPledgePaymentsByType: {
|
|
1501
|
+
card: number;
|
|
1502
|
+
paypal: number;
|
|
1503
|
+
crypto: number;
|
|
1504
|
+
};
|
|
1505
|
+
}>;
|
|
1255
1506
|
readonly 'thresholdItems/{thresholdItemId}': z.ZodObject<{
|
|
1256
1507
|
thresholdItemId: z.ZodString;
|
|
1257
1508
|
hallItemId: z.ZodString;
|
|
@@ -1756,7 +2007,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1756
2007
|
}[] | undefined;
|
|
1757
2008
|
}>;
|
|
1758
2009
|
readonly 'adminTasks/{taskId}': z.ZodObject<{
|
|
1759
|
-
id: z.ZodString;
|
|
1760
2010
|
taskType: z.ZodEnum<["adminDispatch", "thresholdLibraryReview", "userReport", "content-appeal", "stakeShareAnomaly"]>;
|
|
1761
2011
|
taskId: z.ZodString;
|
|
1762
2012
|
originalPath: z.ZodString;
|
|
@@ -1783,9 +2033,18 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1783
2033
|
lastUpdatedAt: z.ZodNumber;
|
|
1784
2034
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
1785
2035
|
itemData: z.ZodOptional<z.ZodUnknown>;
|
|
2036
|
+
} & {
|
|
2037
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2038
|
+
violationId: z.ZodOptional<z.ZodString>;
|
|
2039
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2040
|
+
fileType: z.ZodOptional<z.ZodString>;
|
|
2041
|
+
rejectionReason: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
appealMessage: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
rejectedFilePath: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
foundingArtisanUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2045
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1786
2046
|
}, "strip", z.ZodTypeAny, {
|
|
1787
2047
|
status: "pending" | "checkedOut" | "workLater" | "completed";
|
|
1788
|
-
id: string;
|
|
1789
2048
|
createdAt: number;
|
|
1790
2049
|
lastUpdatedAt: number;
|
|
1791
2050
|
taskType: "adminDispatch" | "thresholdLibraryReview" | "userReport" | "content-appeal" | "stakeShareAnomaly";
|
|
@@ -1799,11 +2058,19 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1799
2058
|
} | null;
|
|
1800
2059
|
summary: string;
|
|
1801
2060
|
priority: number;
|
|
2061
|
+
userId?: string | undefined;
|
|
2062
|
+
id?: string | undefined;
|
|
2063
|
+
foundingArtisanUid?: string | null | undefined;
|
|
2064
|
+
violationId?: string | undefined;
|
|
1802
2065
|
completedAt?: number | undefined;
|
|
1803
2066
|
itemData?: unknown;
|
|
2067
|
+
fileType?: string | undefined;
|
|
2068
|
+
rejectionReason?: string | undefined;
|
|
2069
|
+
appealMessage?: string | undefined;
|
|
2070
|
+
rejectedFilePath?: string | undefined;
|
|
2071
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1804
2072
|
}, {
|
|
1805
2073
|
status: "pending" | "checkedOut" | "workLater" | "completed";
|
|
1806
|
-
id: string;
|
|
1807
2074
|
createdAt: number;
|
|
1808
2075
|
lastUpdatedAt: number;
|
|
1809
2076
|
taskType: "adminDispatch" | "thresholdLibraryReview" | "userReport" | "content-appeal" | "stakeShareAnomaly";
|
|
@@ -1817,8 +2084,17 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1817
2084
|
} | null;
|
|
1818
2085
|
summary: string;
|
|
1819
2086
|
priority: number;
|
|
2087
|
+
userId?: string | undefined;
|
|
2088
|
+
id?: string | undefined;
|
|
2089
|
+
foundingArtisanUid?: string | null | undefined;
|
|
2090
|
+
violationId?: string | undefined;
|
|
1820
2091
|
completedAt?: number | undefined;
|
|
1821
2092
|
itemData?: unknown;
|
|
2093
|
+
fileType?: string | undefined;
|
|
2094
|
+
rejectionReason?: string | undefined;
|
|
2095
|
+
appealMessage?: string | undefined;
|
|
2096
|
+
rejectedFilePath?: string | undefined;
|
|
2097
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1822
2098
|
}>;
|
|
1823
2099
|
readonly 'adminActivityLog/{logId}': z.ZodObject<{
|
|
1824
2100
|
id: z.ZodString;
|
|
@@ -1859,9 +2135,13 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1859
2135
|
userId: z.ZodString;
|
|
1860
2136
|
fileType: z.ZodString;
|
|
1861
2137
|
violationType: z.ZodOptional<z.ZodEnum<["text", "media"]>>;
|
|
1862
|
-
originalFileName: z.ZodString;
|
|
1863
2138
|
reason: z.ZodString;
|
|
1864
|
-
|
|
2139
|
+
timestamp: z.ZodNumber;
|
|
2140
|
+
appealStatus: z.ZodEnum<["none", "pending", "approved", "denied"]>;
|
|
2141
|
+
flaggedWords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2142
|
+
originalText: z.ZodOptional<z.ZodString>;
|
|
2143
|
+
originalFileName: z.ZodOptional<z.ZodString>;
|
|
2144
|
+
scores: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1865
2145
|
adult: z.ZodString;
|
|
1866
2146
|
violence: z.ZodString;
|
|
1867
2147
|
racy: z.ZodString;
|
|
@@ -1873,18 +2153,10 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1873
2153
|
adult: string;
|
|
1874
2154
|
violence: string;
|
|
1875
2155
|
racy: string;
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
rejectedFilePath: z.ZodString;
|
|
2156
|
+
}>>>;
|
|
2157
|
+
rejectedFilePath: z.ZodOptional<z.ZodString>;
|
|
1879
2158
|
rejectedFileUrl: z.ZodOptional<z.ZodString>;
|
|
1880
|
-
|
|
1881
|
-
appealMessage: z.ZodOptional<z.ZodString>;
|
|
1882
|
-
appealedAt: z.ZodOptional<z.ZodNumber>;
|
|
1883
|
-
reviewedBy: z.ZodOptional<z.ZodString>;
|
|
1884
|
-
reviewedAt: z.ZodOptional<z.ZodNumber>;
|
|
1885
|
-
reviewDecision: z.ZodOptional<z.ZodEnum<["approved", "denied"]>>;
|
|
1886
|
-
reviewNotes: z.ZodOptional<z.ZodString>;
|
|
1887
|
-
pendingFile: z.ZodObject<{
|
|
2159
|
+
pendingFile: z.ZodOptional<z.ZodObject<{
|
|
1888
2160
|
status: z.ZodOptional<z.ZodLiteral<"pending">>;
|
|
1889
2161
|
id: z.ZodOptional<z.ZodString>;
|
|
1890
2162
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -1947,22 +2219,35 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1947
2219
|
} | undefined;
|
|
1948
2220
|
processingStartedAt?: number | undefined;
|
|
1949
2221
|
terminalAt?: number | undefined;
|
|
1950
|
-
}
|
|
2222
|
+
}>>;
|
|
2223
|
+
appealMessage: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
appealedAt: z.ZodOptional<z.ZodNumber>;
|
|
2225
|
+
reviewedBy: z.ZodOptional<z.ZodString>;
|
|
2226
|
+
reviewedAt: z.ZodOptional<z.ZodNumber>;
|
|
2227
|
+
reviewDecision: z.ZodOptional<z.ZodEnum<["approved", "denied"]>>;
|
|
2228
|
+
reviewNotes: z.ZodOptional<z.ZodString>;
|
|
1951
2229
|
}, "strip", z.ZodTypeAny, {
|
|
1952
2230
|
userId: string;
|
|
1953
2231
|
id: string;
|
|
1954
|
-
|
|
2232
|
+
fileType: string;
|
|
1955
2233
|
reason: string;
|
|
1956
2234
|
timestamp: number;
|
|
1957
|
-
|
|
1958
|
-
|
|
2235
|
+
appealStatus: "pending" | "approved" | "none" | "denied";
|
|
2236
|
+
reviewedAt?: number | undefined;
|
|
2237
|
+
reviewedBy?: string | undefined;
|
|
2238
|
+
originalFileName?: string | undefined;
|
|
2239
|
+
appealMessage?: string | undefined;
|
|
2240
|
+
rejectedFilePath?: string | undefined;
|
|
2241
|
+
violationType?: "text" | "media" | undefined;
|
|
2242
|
+
flaggedWords?: string[] | undefined;
|
|
2243
|
+
originalText?: string | undefined;
|
|
2244
|
+
scores?: {
|
|
1959
2245
|
adult: string;
|
|
1960
2246
|
violence: string;
|
|
1961
2247
|
racy: string;
|
|
1962
|
-
};
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
pendingFile: {
|
|
2248
|
+
} | null | undefined;
|
|
2249
|
+
rejectedFileUrl?: string | undefined;
|
|
2250
|
+
pendingFile?: {
|
|
1966
2251
|
status?: "pending" | undefined;
|
|
1967
2252
|
userId?: string | undefined;
|
|
1968
2253
|
id?: string | undefined;
|
|
@@ -1981,30 +2266,32 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
1981
2266
|
} | undefined;
|
|
1982
2267
|
processingStartedAt?: number | undefined;
|
|
1983
2268
|
terminalAt?: number | undefined;
|
|
1984
|
-
};
|
|
1985
|
-
reviewedAt?: number | undefined;
|
|
1986
|
-
reviewedBy?: string | undefined;
|
|
1987
|
-
violationType?: "text" | "media" | undefined;
|
|
1988
|
-
rejectedFileUrl?: string | undefined;
|
|
1989
|
-
appealMessage?: string | undefined;
|
|
2269
|
+
} | undefined;
|
|
1990
2270
|
appealedAt?: number | undefined;
|
|
1991
2271
|
reviewDecision?: "approved" | "denied" | undefined;
|
|
1992
2272
|
reviewNotes?: string | undefined;
|
|
1993
2273
|
}, {
|
|
1994
2274
|
userId: string;
|
|
1995
2275
|
id: string;
|
|
1996
|
-
|
|
2276
|
+
fileType: string;
|
|
1997
2277
|
reason: string;
|
|
1998
2278
|
timestamp: number;
|
|
1999
|
-
|
|
2000
|
-
|
|
2279
|
+
appealStatus: "pending" | "approved" | "none" | "denied";
|
|
2280
|
+
reviewedAt?: number | undefined;
|
|
2281
|
+
reviewedBy?: string | undefined;
|
|
2282
|
+
originalFileName?: string | undefined;
|
|
2283
|
+
appealMessage?: string | undefined;
|
|
2284
|
+
rejectedFilePath?: string | undefined;
|
|
2285
|
+
violationType?: "text" | "media" | undefined;
|
|
2286
|
+
flaggedWords?: string[] | undefined;
|
|
2287
|
+
originalText?: string | undefined;
|
|
2288
|
+
scores?: {
|
|
2001
2289
|
adult: string;
|
|
2002
2290
|
violence: string;
|
|
2003
2291
|
racy: string;
|
|
2004
|
-
};
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
pendingFile: {
|
|
2292
|
+
} | null | undefined;
|
|
2293
|
+
rejectedFileUrl?: string | undefined;
|
|
2294
|
+
pendingFile?: {
|
|
2008
2295
|
status?: "pending" | undefined;
|
|
2009
2296
|
userId?: string | undefined;
|
|
2010
2297
|
id?: string | undefined;
|
|
@@ -2023,12 +2310,7 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2023
2310
|
} | undefined;
|
|
2024
2311
|
processingStartedAt?: number | undefined;
|
|
2025
2312
|
terminalAt?: number | undefined;
|
|
2026
|
-
};
|
|
2027
|
-
reviewedAt?: number | undefined;
|
|
2028
|
-
reviewedBy?: string | undefined;
|
|
2029
|
-
violationType?: "text" | "media" | undefined;
|
|
2030
|
-
rejectedFileUrl?: string | undefined;
|
|
2031
|
-
appealMessage?: string | undefined;
|
|
2313
|
+
} | undefined;
|
|
2032
2314
|
appealedAt?: number | undefined;
|
|
2033
2315
|
reviewDecision?: "approved" | "denied" | undefined;
|
|
2034
2316
|
reviewNotes?: string | undefined;
|
|
@@ -2143,6 +2425,7 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2143
2425
|
type: string;
|
|
2144
2426
|
id: string;
|
|
2145
2427
|
result: "success" | "failure";
|
|
2428
|
+
metadata: Record<string, unknown>;
|
|
2146
2429
|
timestamp: number;
|
|
2147
2430
|
schemaVersion: number;
|
|
2148
2431
|
actor: {
|
|
@@ -2162,13 +2445,13 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2162
2445
|
ip: string | null;
|
|
2163
2446
|
userAgent: string | null;
|
|
2164
2447
|
region: string | null;
|
|
2165
|
-
metadata: Record<string, unknown>;
|
|
2166
2448
|
failureReason: string | null;
|
|
2167
2449
|
correlationId: string | null;
|
|
2168
2450
|
}, {
|
|
2169
2451
|
type: string;
|
|
2170
2452
|
id: string;
|
|
2171
2453
|
result: "success" | "failure";
|
|
2454
|
+
metadata: Record<string, unknown>;
|
|
2172
2455
|
timestamp: number;
|
|
2173
2456
|
schemaVersion: number;
|
|
2174
2457
|
actor: {
|
|
@@ -2188,7 +2471,6 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2188
2471
|
ip: string | null;
|
|
2189
2472
|
userAgent: string | null;
|
|
2190
2473
|
region: string | null;
|
|
2191
|
-
metadata: Record<string, unknown>;
|
|
2192
2474
|
failureReason: string | null;
|
|
2193
2475
|
correlationId: string | null;
|
|
2194
2476
|
}>;
|
|
@@ -2263,6 +2545,105 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
2263
2545
|
readByUser: boolean;
|
|
2264
2546
|
closedBy?: string | undefined;
|
|
2265
2547
|
}>;
|
|
2548
|
+
readonly 'pendingAdminDispatches/{adminDispatchId}/conversationMessages/{adminDispatchMessageId}': z.ZodObject<{
|
|
2549
|
+
senderId: z.ZodString;
|
|
2550
|
+
text: z.ZodString;
|
|
2551
|
+
createdAt: z.ZodNumber;
|
|
2552
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
attachment: z.ZodOptional<z.ZodObject<{
|
|
2556
|
+
id: z.ZodString;
|
|
2557
|
+
name: z.ZodString;
|
|
2558
|
+
type: z.ZodEnum<["image", "video", "audio", "text"]>;
|
|
2559
|
+
size: z.ZodNumber;
|
|
2560
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2561
|
+
storagePath: z.ZodString;
|
|
2562
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "ready", "failed"]>>;
|
|
2563
|
+
failureReason: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
}, "strict", z.ZodTypeAny, {
|
|
2565
|
+
type: "image" | "video" | "audio" | "text";
|
|
2566
|
+
id: string;
|
|
2567
|
+
name: string;
|
|
2568
|
+
size: number;
|
|
2569
|
+
storagePath: string;
|
|
2570
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
2571
|
+
url?: string | undefined;
|
|
2572
|
+
failureReason?: string | undefined;
|
|
2573
|
+
}, {
|
|
2574
|
+
type: "image" | "video" | "audio" | "text";
|
|
2575
|
+
id: string;
|
|
2576
|
+
name: string;
|
|
2577
|
+
size: number;
|
|
2578
|
+
storagePath: string;
|
|
2579
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
2580
|
+
url?: string | undefined;
|
|
2581
|
+
failureReason?: string | undefined;
|
|
2582
|
+
}>>;
|
|
2583
|
+
replyTo: z.ZodOptional<z.ZodObject<{
|
|
2584
|
+
messageId: z.ZodString;
|
|
2585
|
+
senderId: z.ZodString;
|
|
2586
|
+
messagePreview: z.ZodString;
|
|
2587
|
+
}, "strict", z.ZodTypeAny, {
|
|
2588
|
+
messageId: string;
|
|
2589
|
+
senderId: string;
|
|
2590
|
+
messagePreview: string;
|
|
2591
|
+
}, {
|
|
2592
|
+
messageId: string;
|
|
2593
|
+
senderId: string;
|
|
2594
|
+
messagePreview: string;
|
|
2595
|
+
}>>;
|
|
2596
|
+
isSystemMessage: z.ZodOptional<z.ZodBoolean>;
|
|
2597
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2598
|
+
}, "strip", z.ZodTypeAny, {
|
|
2599
|
+
createdAt: number;
|
|
2600
|
+
text: string;
|
|
2601
|
+
senderId: string;
|
|
2602
|
+
type?: string | undefined;
|
|
2603
|
+
messageId?: string | undefined;
|
|
2604
|
+
threadId?: string | undefined;
|
|
2605
|
+
attachment?: {
|
|
2606
|
+
type: "image" | "video" | "audio" | "text";
|
|
2607
|
+
id: string;
|
|
2608
|
+
name: string;
|
|
2609
|
+
size: number;
|
|
2610
|
+
storagePath: string;
|
|
2611
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
2612
|
+
url?: string | undefined;
|
|
2613
|
+
failureReason?: string | undefined;
|
|
2614
|
+
} | undefined;
|
|
2615
|
+
replyTo?: {
|
|
2616
|
+
messageId: string;
|
|
2617
|
+
senderId: string;
|
|
2618
|
+
messagePreview: string;
|
|
2619
|
+
} | undefined;
|
|
2620
|
+
isSystemMessage?: boolean | undefined;
|
|
2621
|
+
meta?: Record<string, unknown> | undefined;
|
|
2622
|
+
}, {
|
|
2623
|
+
createdAt: number;
|
|
2624
|
+
text: string;
|
|
2625
|
+
senderId: string;
|
|
2626
|
+
type?: string | undefined;
|
|
2627
|
+
messageId?: string | undefined;
|
|
2628
|
+
threadId?: string | undefined;
|
|
2629
|
+
attachment?: {
|
|
2630
|
+
type: "image" | "video" | "audio" | "text";
|
|
2631
|
+
id: string;
|
|
2632
|
+
name: string;
|
|
2633
|
+
size: number;
|
|
2634
|
+
storagePath: string;
|
|
2635
|
+
status?: "pending" | "ready" | "failed" | undefined;
|
|
2636
|
+
url?: string | undefined;
|
|
2637
|
+
failureReason?: string | undefined;
|
|
2638
|
+
} | undefined;
|
|
2639
|
+
replyTo?: {
|
|
2640
|
+
messageId: string;
|
|
2641
|
+
senderId: string;
|
|
2642
|
+
messagePreview: string;
|
|
2643
|
+
} | undefined;
|
|
2644
|
+
isSystemMessage?: boolean | undefined;
|
|
2645
|
+
meta?: Record<string, unknown> | undefined;
|
|
2646
|
+
}>;
|
|
2266
2647
|
readonly 'pendingMedia/{pendingMediaId}': z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
2267
2648
|
status: z.ZodLiteral<"pending">;
|
|
2268
2649
|
id: z.ZodString;
|
|
@@ -11757,8 +12138,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11757
12138
|
createdAt: number;
|
|
11758
12139
|
updatedAt: number;
|
|
11759
12140
|
metadata: Record<string, unknown>;
|
|
11760
|
-
dedupKey: string;
|
|
11761
12141
|
category: string;
|
|
12142
|
+
dedupKey: string;
|
|
11762
12143
|
targetUserId: string | null;
|
|
11763
12144
|
count: number;
|
|
11764
12145
|
latestActorIds: string[];
|
|
@@ -11772,8 +12153,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11772
12153
|
createdAt: number;
|
|
11773
12154
|
updatedAt: number;
|
|
11774
12155
|
metadata: Record<string, unknown>;
|
|
11775
|
-
dedupKey: string;
|
|
11776
12156
|
category: string;
|
|
12157
|
+
dedupKey: string;
|
|
11777
12158
|
targetUserId: string | null;
|
|
11778
12159
|
count: number;
|
|
11779
12160
|
latestActorIds: string[];
|
|
@@ -11803,8 +12184,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11803
12184
|
createdAt: number;
|
|
11804
12185
|
updatedAt: number;
|
|
11805
12186
|
metadata: Record<string, unknown>;
|
|
11806
|
-
dedupKey: string;
|
|
11807
12187
|
category: string;
|
|
12188
|
+
dedupKey: string;
|
|
11808
12189
|
targetUserId: string | null;
|
|
11809
12190
|
count: number;
|
|
11810
12191
|
latestActorIds: string[];
|
|
@@ -11818,8 +12199,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11818
12199
|
createdAt: number;
|
|
11819
12200
|
updatedAt: number;
|
|
11820
12201
|
metadata: Record<string, unknown>;
|
|
11821
|
-
dedupKey: string;
|
|
11822
12202
|
category: string;
|
|
12203
|
+
dedupKey: string;
|
|
11823
12204
|
targetUserId: string | null;
|
|
11824
12205
|
count: number;
|
|
11825
12206
|
latestActorIds: string[];
|
|
@@ -11862,8 +12243,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11862
12243
|
createdAt: number;
|
|
11863
12244
|
updatedAt: number;
|
|
11864
12245
|
metadata: Record<string, unknown>;
|
|
11865
|
-
dedupKey: string;
|
|
11866
12246
|
category: string;
|
|
12247
|
+
dedupKey: string;
|
|
11867
12248
|
targetUserId: string | null;
|
|
11868
12249
|
count: number;
|
|
11869
12250
|
latestActorIds: string[];
|
|
@@ -11883,8 +12264,8 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11883
12264
|
createdAt: number;
|
|
11884
12265
|
updatedAt: number;
|
|
11885
12266
|
metadata: Record<string, unknown>;
|
|
11886
|
-
dedupKey: string;
|
|
11887
12267
|
category: string;
|
|
12268
|
+
dedupKey: string;
|
|
11888
12269
|
targetUserId: string | null;
|
|
11889
12270
|
count: number;
|
|
11890
12271
|
latestActorIds: string[];
|
|
@@ -11922,6 +12303,154 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11922
12303
|
targetUserId: string | null;
|
|
11923
12304
|
actorId: string;
|
|
11924
12305
|
}>;
|
|
12306
|
+
readonly 'followerReleaseJobs/{jobId}': z.ZodObject<{
|
|
12307
|
+
jobId: z.ZodString;
|
|
12308
|
+
workProjectId: z.ZodString;
|
|
12309
|
+
workTitle: z.ZodString;
|
|
12310
|
+
hallItemId: z.ZodString;
|
|
12311
|
+
hallItemTitle: z.ZodString;
|
|
12312
|
+
hallSubItemType: z.ZodEnum<["chapter", "track", "episode"]>;
|
|
12313
|
+
stewardUid: z.ZodString;
|
|
12314
|
+
canonRealmId: z.ZodNullable<z.ZodString>;
|
|
12315
|
+
status: z.ZodEnum<["pending", "complete", "failed"]>;
|
|
12316
|
+
phase: z.ZodEnum<["work", "realm"]>;
|
|
12317
|
+
cursor: z.ZodNullable<z.ZodString>;
|
|
12318
|
+
totalSent: z.ZodNumber;
|
|
12319
|
+
createdAt: z.ZodNumber;
|
|
12320
|
+
updatedAt: z.ZodNumber;
|
|
12321
|
+
}, "strip", z.ZodTypeAny, {
|
|
12322
|
+
status: "pending" | "failed" | "complete";
|
|
12323
|
+
hallItemId: string;
|
|
12324
|
+
workProjectId: string;
|
|
12325
|
+
createdAt: number;
|
|
12326
|
+
updatedAt: number;
|
|
12327
|
+
workTitle: string;
|
|
12328
|
+
hallItemTitle: string;
|
|
12329
|
+
hallSubItemType: "chapter" | "track" | "episode";
|
|
12330
|
+
jobId: string;
|
|
12331
|
+
stewardUid: string;
|
|
12332
|
+
canonRealmId: string | null;
|
|
12333
|
+
phase: "work" | "realm";
|
|
12334
|
+
cursor: string | null;
|
|
12335
|
+
totalSent: number;
|
|
12336
|
+
}, {
|
|
12337
|
+
status: "pending" | "failed" | "complete";
|
|
12338
|
+
hallItemId: string;
|
|
12339
|
+
workProjectId: string;
|
|
12340
|
+
createdAt: number;
|
|
12341
|
+
updatedAt: number;
|
|
12342
|
+
workTitle: string;
|
|
12343
|
+
hallItemTitle: string;
|
|
12344
|
+
hallSubItemType: "chapter" | "track" | "episode";
|
|
12345
|
+
jobId: string;
|
|
12346
|
+
stewardUid: string;
|
|
12347
|
+
canonRealmId: string | null;
|
|
12348
|
+
phase: "work" | "realm";
|
|
12349
|
+
cursor: string | null;
|
|
12350
|
+
totalSent: number;
|
|
12351
|
+
}>;
|
|
12352
|
+
readonly 'notificationBroadcastJobs/{jobId}': z.ZodObject<{
|
|
12353
|
+
jobId: z.ZodString;
|
|
12354
|
+
selector: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
12355
|
+
kind: z.ZodLiteral<"allActiveUsers">;
|
|
12356
|
+
}, "strict", z.ZodTypeAny, {
|
|
12357
|
+
kind: "allActiveUsers";
|
|
12358
|
+
}, {
|
|
12359
|
+
kind: "allActiveUsers";
|
|
12360
|
+
}>, z.ZodObject<{
|
|
12361
|
+
kind: z.ZodLiteral<"explicitUids">;
|
|
12362
|
+
uids: z.ZodArray<z.ZodString, "many">;
|
|
12363
|
+
}, "strict", z.ZodTypeAny, {
|
|
12364
|
+
kind: "explicitUids";
|
|
12365
|
+
uids: string[];
|
|
12366
|
+
}, {
|
|
12367
|
+
kind: "explicitUids";
|
|
12368
|
+
uids: string[];
|
|
12369
|
+
}>, z.ZodObject<{
|
|
12370
|
+
kind: z.ZodLiteral<"workMembers">;
|
|
12371
|
+
workProjectId: z.ZodString;
|
|
12372
|
+
}, "strict", z.ZodTypeAny, {
|
|
12373
|
+
workProjectId: string;
|
|
12374
|
+
kind: "workMembers";
|
|
12375
|
+
}, {
|
|
12376
|
+
workProjectId: string;
|
|
12377
|
+
kind: "workMembers";
|
|
12378
|
+
}>, z.ZodObject<{
|
|
12379
|
+
kind: z.ZodLiteral<"realmMembers">;
|
|
12380
|
+
workRealmId: z.ZodString;
|
|
12381
|
+
}, "strict", z.ZodTypeAny, {
|
|
12382
|
+
workRealmId: string;
|
|
12383
|
+
kind: "realmMembers";
|
|
12384
|
+
}, {
|
|
12385
|
+
workRealmId: string;
|
|
12386
|
+
kind: "realmMembers";
|
|
12387
|
+
}>, z.ZodObject<{
|
|
12388
|
+
kind: z.ZodLiteral<"allArtisans">;
|
|
12389
|
+
}, "strict", z.ZodTypeAny, {
|
|
12390
|
+
kind: "allArtisans";
|
|
12391
|
+
}, {
|
|
12392
|
+
kind: "allArtisans";
|
|
12393
|
+
}>]>;
|
|
12394
|
+
title: z.ZodString;
|
|
12395
|
+
message: z.ZodString;
|
|
12396
|
+
actorUid: z.ZodString;
|
|
12397
|
+
actorSystemRole: z.ZodOptional<z.ZodString>;
|
|
12398
|
+
status: z.ZodEnum<["pending", "complete", "failed"]>;
|
|
12399
|
+
cursor: z.ZodNullable<z.ZodString>;
|
|
12400
|
+
totalSent: z.ZodNumber;
|
|
12401
|
+
createdAt: z.ZodNumber;
|
|
12402
|
+
updatedAt: z.ZodNumber;
|
|
12403
|
+
}, "strip", z.ZodTypeAny, {
|
|
12404
|
+
message: string;
|
|
12405
|
+
status: "pending" | "failed" | "complete";
|
|
12406
|
+
title: string;
|
|
12407
|
+
createdAt: number;
|
|
12408
|
+
actorUid: string;
|
|
12409
|
+
updatedAt: number;
|
|
12410
|
+
selector: {
|
|
12411
|
+
kind: "allActiveUsers";
|
|
12412
|
+
} | {
|
|
12413
|
+
kind: "explicitUids";
|
|
12414
|
+
uids: string[];
|
|
12415
|
+
} | {
|
|
12416
|
+
workProjectId: string;
|
|
12417
|
+
kind: "workMembers";
|
|
12418
|
+
} | {
|
|
12419
|
+
workRealmId: string;
|
|
12420
|
+
kind: "realmMembers";
|
|
12421
|
+
} | {
|
|
12422
|
+
kind: "allArtisans";
|
|
12423
|
+
};
|
|
12424
|
+
jobId: string;
|
|
12425
|
+
cursor: string | null;
|
|
12426
|
+
totalSent: number;
|
|
12427
|
+
actorSystemRole?: string | undefined;
|
|
12428
|
+
}, {
|
|
12429
|
+
message: string;
|
|
12430
|
+
status: "pending" | "failed" | "complete";
|
|
12431
|
+
title: string;
|
|
12432
|
+
createdAt: number;
|
|
12433
|
+
actorUid: string;
|
|
12434
|
+
updatedAt: number;
|
|
12435
|
+
selector: {
|
|
12436
|
+
kind: "allActiveUsers";
|
|
12437
|
+
} | {
|
|
12438
|
+
kind: "explicitUids";
|
|
12439
|
+
uids: string[];
|
|
12440
|
+
} | {
|
|
12441
|
+
workProjectId: string;
|
|
12442
|
+
kind: "workMembers";
|
|
12443
|
+
} | {
|
|
12444
|
+
workRealmId: string;
|
|
12445
|
+
kind: "realmMembers";
|
|
12446
|
+
} | {
|
|
12447
|
+
kind: "allArtisans";
|
|
12448
|
+
};
|
|
12449
|
+
jobId: string;
|
|
12450
|
+
cursor: string | null;
|
|
12451
|
+
totalSent: number;
|
|
12452
|
+
actorSystemRole?: string | undefined;
|
|
12453
|
+
}>;
|
|
11925
12454
|
readonly 'craftSkillsByTag/{tag}/taggedCraftSkills/{compositeId}': z.ZodObject<{
|
|
11926
12455
|
craftSkillId: z.ZodString;
|
|
11927
12456
|
compositeId: z.ZodString;
|
|
@@ -11960,6 +12489,85 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
11960
12489
|
userId: string;
|
|
11961
12490
|
displayName: string;
|
|
11962
12491
|
}>;
|
|
12492
|
+
readonly 'shortLinks/{shortId}': z.ZodObject<{
|
|
12493
|
+
shortId: z.ZodString;
|
|
12494
|
+
shortUrl: z.ZodString;
|
|
12495
|
+
destinationUrl: z.ZodString;
|
|
12496
|
+
type: z.ZodEnum<["audition", "audition-entry"]>;
|
|
12497
|
+
metadata: z.ZodObject<{
|
|
12498
|
+
auditionId: z.ZodString;
|
|
12499
|
+
auditionEntryId: z.ZodNullable<z.ZodString>;
|
|
12500
|
+
}, "strip", z.ZodTypeAny, {
|
|
12501
|
+
auditionId: string;
|
|
12502
|
+
auditionEntryId: string | null;
|
|
12503
|
+
}, {
|
|
12504
|
+
auditionId: string;
|
|
12505
|
+
auditionEntryId: string | null;
|
|
12506
|
+
}>;
|
|
12507
|
+
createdAt: z.ZodNumber;
|
|
12508
|
+
createdBy: z.ZodString;
|
|
12509
|
+
clicks: z.ZodNumber;
|
|
12510
|
+
}, "strip", z.ZodTypeAny, {
|
|
12511
|
+
type: "audition" | "audition-entry";
|
|
12512
|
+
createdAt: number;
|
|
12513
|
+
createdBy: string;
|
|
12514
|
+
shortId: string;
|
|
12515
|
+
shortUrl: string;
|
|
12516
|
+
metadata: {
|
|
12517
|
+
auditionId: string;
|
|
12518
|
+
auditionEntryId: string | null;
|
|
12519
|
+
};
|
|
12520
|
+
destinationUrl: string;
|
|
12521
|
+
clicks: number;
|
|
12522
|
+
}, {
|
|
12523
|
+
type: "audition" | "audition-entry";
|
|
12524
|
+
createdAt: number;
|
|
12525
|
+
createdBy: string;
|
|
12526
|
+
shortId: string;
|
|
12527
|
+
shortUrl: string;
|
|
12528
|
+
metadata: {
|
|
12529
|
+
auditionId: string;
|
|
12530
|
+
auditionEntryId: string | null;
|
|
12531
|
+
};
|
|
12532
|
+
destinationUrl: string;
|
|
12533
|
+
clicks: number;
|
|
12534
|
+
}>;
|
|
12535
|
+
readonly 'feedbackAliases/{aliasId}': z.ZodObject<{
|
|
12536
|
+
canonicalId: z.ZodString;
|
|
12537
|
+
originalType: z.ZodString;
|
|
12538
|
+
}, "strip", z.ZodTypeAny, {
|
|
12539
|
+
canonicalId: string;
|
|
12540
|
+
originalType: string;
|
|
12541
|
+
}, {
|
|
12542
|
+
canonicalId: string;
|
|
12543
|
+
originalType: string;
|
|
12544
|
+
}>;
|
|
12545
|
+
readonly 'feedbackSubmissions/{feedbackType}/userSuggestions/{suggestionId}': z.ZodObject<{
|
|
12546
|
+
suggestionText: z.ZodString;
|
|
12547
|
+
count: z.ZodNumber;
|
|
12548
|
+
submittedBy: z.ZodArray<z.ZodObject<{
|
|
12549
|
+
userId: z.ZodString;
|
|
12550
|
+
}, "strip", z.ZodTypeAny, {
|
|
12551
|
+
userId: string;
|
|
12552
|
+
}, {
|
|
12553
|
+
userId: string;
|
|
12554
|
+
}>, "many">;
|
|
12555
|
+
lastSubmitted: z.ZodNumber;
|
|
12556
|
+
}, "strip", z.ZodTypeAny, {
|
|
12557
|
+
count: number;
|
|
12558
|
+
suggestionText: string;
|
|
12559
|
+
submittedBy: {
|
|
12560
|
+
userId: string;
|
|
12561
|
+
}[];
|
|
12562
|
+
lastSubmitted: number;
|
|
12563
|
+
}, {
|
|
12564
|
+
count: number;
|
|
12565
|
+
suggestionText: string;
|
|
12566
|
+
submittedBy: {
|
|
12567
|
+
userId: string;
|
|
12568
|
+
}[];
|
|
12569
|
+
lastSubmitted: number;
|
|
12570
|
+
}>;
|
|
11963
12571
|
readonly '_config/app': z.ZodObject<{
|
|
11964
12572
|
appVersion: z.ZodString;
|
|
11965
12573
|
maintenanceMode: z.ZodBoolean;
|
|
@@ -12154,23 +12762,46 @@ export declare const COLLECTION_SCHEMAS: {
|
|
|
12154
12762
|
} | undefined;
|
|
12155
12763
|
};
|
|
12156
12764
|
}>;
|
|
12765
|
+
readonly '_systemData/adminList': z.ZodObject<{
|
|
12766
|
+
admins: z.ZodArray<z.ZodString, "many">;
|
|
12767
|
+
jrAdmins: z.ZodArray<z.ZodString, "many">;
|
|
12768
|
+
}, "strip", z.ZodTypeAny, {
|
|
12769
|
+
admins: string[];
|
|
12770
|
+
jrAdmins: string[];
|
|
12771
|
+
}, {
|
|
12772
|
+
admins: string[];
|
|
12773
|
+
jrAdmins: string[];
|
|
12774
|
+
}>;
|
|
12775
|
+
readonly '_systemData/profanityList': z.ZodObject<{
|
|
12776
|
+
words: z.ZodArray<z.ZodString, "many">;
|
|
12777
|
+
updatedAt: z.ZodNumber;
|
|
12778
|
+
wordCount: z.ZodNumber;
|
|
12779
|
+
}, "strip", z.ZodTypeAny, {
|
|
12780
|
+
updatedAt: number;
|
|
12781
|
+
words: string[];
|
|
12782
|
+
wordCount: number;
|
|
12783
|
+
}, {
|
|
12784
|
+
updatedAt: number;
|
|
12785
|
+
words: string[];
|
|
12786
|
+
wordCount: number;
|
|
12787
|
+
}>;
|
|
12157
12788
|
};
|
|
12158
12789
|
export type RegisteredCollectionPath = keyof typeof COLLECTION_SCHEMAS;
|
|
12159
12790
|
/**
|
|
12160
|
-
* Collections that exist (in COLLECTIONS / *_SUBCOLLECTIONS or firestore.rules) but are
|
|
12161
|
-
*
|
|
12162
|
-
*
|
|
12163
|
-
*
|
|
12164
|
-
* uncovered. Each is a tracked follow-up; the registry test fails if a NEW unlisted
|
|
12165
|
-
* collection appears.
|
|
12791
|
+
* Collections that exist (in COLLECTIONS / *_SUBCOLLECTIONS or firestore.rules) but are
|
|
12792
|
+
* intentionally NOT bound to a schema, each with a reason. Listed EXPLICITLY so completeness is
|
|
12793
|
+
* enforced and nothing is silently uncovered; the registry test fails if a NEW unlisted collection
|
|
12794
|
+
* appears. These three are the only remaining gaps after the schema-registry binding pass:
|
|
12166
12795
|
*
|
|
12167
|
-
* -
|
|
12168
|
-
*
|
|
12169
|
-
*
|
|
12170
|
-
*
|
|
12171
|
-
*
|
|
12172
|
-
*
|
|
12173
|
-
* -
|
|
12796
|
+
* - userMetadata: `userProfiles/{uid}/userMetadata/notificationSettings` — a firestore.rules
|
|
12797
|
+
* match and `PATH_BUILDERS.userMetadata` exist, but there is no live reader/writer and no
|
|
12798
|
+
* notification-settings type anywhere yet. Bind once that shape is implemented.
|
|
12799
|
+
* - checkedOutItems: a `userProfiles/{uid}/checkedOutItems` subcollection constant with no writer,
|
|
12800
|
+
* reader, rule, or path-builder (the admin "checked out items" UI reads adminTasks by
|
|
12801
|
+
* `checkoutDetails.userId`, not this subcollection). Vestigial — remove once confirmed safe.
|
|
12802
|
+
* - feedbackDenylist: `feedbackDenylist/{deniedWord}` — Console-managed (firestore.rules §3F: no
|
|
12803
|
+
* callable writes it) and submitFeedback reads it via `.exists` only, so there is no field
|
|
12804
|
+
* contract to author a schema from. The doc id is the denied word; the body is unused.
|
|
12174
12805
|
*/
|
|
12175
12806
|
export declare const PENDING_COLLECTIONS: readonly string[];
|
|
12176
12807
|
//# sourceMappingURL=registry.d.ts.map
|