@ttt-productions/ttt-core 0.7.17 → 0.7.18

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 (54) hide show
  1. package/dist/constants/scheduled-jobs.d.ts +0 -2
  2. package/dist/constants/scheduled-jobs.d.ts.map +1 -1
  3. package/dist/constants/scheduled-jobs.js +0 -6
  4. package/dist/constants/scheduled-jobs.js.map +1 -1
  5. package/dist/media/domain-events.d.ts +84 -64
  6. package/dist/media/domain-events.d.ts.map +1 -1
  7. package/dist/media/domain-events.js +6 -4
  8. package/dist/media/domain-events.js.map +1 -1
  9. package/dist/media/pending-media.d.ts +716 -558
  10. package/dist/media/pending-media.d.ts.map +1 -1
  11. package/dist/media/start-upload.d.ts +2 -2
  12. package/dist/media/ttt-media-specs.d.ts.map +1 -1
  13. package/dist/media/ttt-media-specs.js +13 -4
  14. package/dist/media/ttt-media-specs.js.map +1 -1
  15. package/dist/paths/collection-refs.d.ts +2 -1
  16. package/dist/paths/collection-refs.d.ts.map +1 -1
  17. package/dist/paths/collection-refs.js +2 -1
  18. package/dist/paths/collection-refs.js.map +1 -1
  19. package/dist/paths/collections.d.ts +2 -3
  20. package/dist/paths/collections.d.ts.map +1 -1
  21. package/dist/paths/collections.js +2 -3
  22. package/dist/paths/collections.js.map +1 -1
  23. package/dist/paths/path-builders.d.ts +3 -2
  24. package/dist/paths/path-builders.d.ts.map +1 -1
  25. package/dist/paths/path-builders.js +5 -2
  26. package/dist/paths/path-builders.js.map +1 -1
  27. package/dist/schemas/chat.d.ts +45 -15
  28. package/dist/schemas/chat.d.ts.map +1 -1
  29. package/dist/schemas/chat.js +4 -4
  30. package/dist/schemas/chat.js.map +1 -1
  31. package/dist/schemas/notification.d.ts +23 -2
  32. package/dist/schemas/notification.d.ts.map +1 -1
  33. package/dist/schemas/notification.js +10 -0
  34. package/dist/schemas/notification.js.map +1 -1
  35. package/dist/schemas/social.d.ts +19 -10
  36. package/dist/schemas/social.d.ts.map +1 -1
  37. package/dist/schemas/social.js +9 -6
  38. package/dist/schemas/social.js.map +1 -1
  39. package/dist/schemas/utility.d.ts +18 -0
  40. package/dist/schemas/utility.d.ts.map +1 -1
  41. package/dist/schemas/utility.js +10 -0
  42. package/dist/schemas/utility.js.map +1 -1
  43. package/dist/types/audit.d.ts +1 -1
  44. package/dist/types/audit.d.ts.map +1 -1
  45. package/dist/types/social.d.ts +17 -1
  46. package/dist/types/social.d.ts.map +1 -1
  47. package/dist/types/user.d.ts +21 -1
  48. package/dist/types/user.d.ts.map +1 -1
  49. package/dist/types/work-project.d.ts +19 -1
  50. package/dist/types/work-project.d.ts.map +1 -1
  51. package/dist/types/work-project.js +10 -1
  52. package/dist/types/work-project.js.map +1 -1
  53. package/dist/upload-variables/square-streetz-post-variables.d.ts +2 -2
  54. package/package.json +3 -3
@@ -50,23 +50,23 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
50
50
  userId: z.ZodString;
51
51
  postId: z.ZodString;
52
52
  }, "strict", z.ZodTypeAny, {
53
- userId: string;
54
53
  postId: string;
55
- }, {
56
54
  userId: string;
55
+ }, {
57
56
  postId: string;
57
+ userId: string;
58
58
  }>;
59
59
  }, "strict", z.ZodTypeAny, {
60
60
  type: "squareStreetz.postCreated";
61
61
  ids: {
62
- userId: string;
63
62
  postId: string;
63
+ userId: string;
64
64
  };
65
65
  }, {
66
66
  type: "squareStreetz.postCreated";
67
67
  ids: {
68
- userId: string;
69
68
  postId: string;
69
+ userId: string;
70
70
  };
71
71
  }>, z.ZodObject<{
72
72
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -337,50 +337,60 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
337
337
  }>, z.ZodObject<{
338
338
  type: z.ZodLiteral<"follow.created">;
339
339
  ids: z.ZodObject<{
340
- followerId: z.ZodString;
341
- followedId: z.ZodString;
340
+ followerUid: z.ZodString;
341
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
342
+ targetId: z.ZodString;
342
343
  }, "strict", z.ZodTypeAny, {
343
- followerId: string;
344
- followedId: string;
344
+ targetType: "workRealm" | "user" | "workProject";
345
+ targetId: string;
346
+ followerUid: string;
345
347
  }, {
346
- followerId: string;
347
- followedId: string;
348
+ targetType: "workRealm" | "user" | "workProject";
349
+ targetId: string;
350
+ followerUid: string;
348
351
  }>;
349
352
  }, "strict", z.ZodTypeAny, {
350
353
  type: "follow.created";
351
354
  ids: {
352
- followerId: string;
353
- followedId: string;
355
+ targetType: "workRealm" | "user" | "workProject";
356
+ targetId: string;
357
+ followerUid: string;
354
358
  };
355
359
  }, {
356
360
  type: "follow.created";
357
361
  ids: {
358
- followerId: string;
359
- followedId: string;
362
+ targetType: "workRealm" | "user" | "workProject";
363
+ targetId: string;
364
+ followerUid: string;
360
365
  };
361
366
  }>, z.ZodObject<{
362
367
  type: z.ZodLiteral<"follow.removed">;
363
368
  ids: z.ZodObject<{
364
- followerId: z.ZodString;
365
- followedId: z.ZodString;
369
+ followerUid: z.ZodString;
370
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
371
+ targetId: z.ZodString;
366
372
  }, "strict", z.ZodTypeAny, {
367
- followerId: string;
368
- followedId: string;
373
+ targetType: "workRealm" | "user" | "workProject";
374
+ targetId: string;
375
+ followerUid: string;
369
376
  }, {
370
- followerId: string;
371
- followedId: string;
377
+ targetType: "workRealm" | "user" | "workProject";
378
+ targetId: string;
379
+ followerUid: string;
372
380
  }>;
373
381
  }, "strict", z.ZodTypeAny, {
374
382
  type: "follow.removed";
375
383
  ids: {
376
- followerId: string;
377
- followedId: string;
384
+ targetType: "workRealm" | "user" | "workProject";
385
+ targetId: string;
386
+ followerUid: string;
378
387
  };
379
388
  }, {
380
389
  type: "follow.removed";
381
390
  ids: {
382
- followerId: string;
383
- followedId: string;
391
+ targetType: "workRealm" | "user" | "workProject";
392
+ targetId: string;
393
+ followerUid: string;
384
394
  };
385
395
  }>, z.ZodObject<{
386
396
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -389,26 +399,26 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
389
399
  postId: z.ZodString;
390
400
  authorId: z.ZodString;
391
401
  }, "strict", z.ZodTypeAny, {
392
- userId: string;
393
402
  postId: string;
403
+ userId: string;
394
404
  authorId: string;
395
405
  }, {
396
- userId: string;
397
406
  postId: string;
407
+ userId: string;
398
408
  authorId: string;
399
409
  }>;
400
410
  }, "strict", z.ZodTypeAny, {
401
411
  type: "squareStreetz.postLiked";
402
412
  ids: {
403
- userId: string;
404
413
  postId: string;
414
+ userId: string;
405
415
  authorId: string;
406
416
  };
407
417
  }, {
408
418
  type: "squareStreetz.postLiked";
409
419
  ids: {
410
- userId: string;
411
420
  postId: string;
421
+ userId: string;
412
422
  authorId: string;
413
423
  };
414
424
  }>, z.ZodObject<{
@@ -418,26 +428,26 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
418
428
  postId: z.ZodString;
419
429
  authorId: z.ZodString;
420
430
  }, "strict", z.ZodTypeAny, {
421
- userId: string;
422
431
  postId: string;
432
+ userId: string;
423
433
  authorId: string;
424
434
  }, {
425
- userId: string;
426
435
  postId: string;
436
+ userId: string;
427
437
  authorId: string;
428
438
  }>;
429
439
  }, "strict", z.ZodTypeAny, {
430
440
  type: "squareStreetz.postUnliked";
431
441
  ids: {
432
- userId: string;
433
442
  postId: string;
443
+ userId: string;
434
444
  authorId: string;
435
445
  };
436
446
  }, {
437
447
  type: "squareStreetz.postUnliked";
438
448
  ids: {
439
- userId: string;
440
449
  postId: string;
450
+ userId: string;
441
451
  authorId: string;
442
452
  };
443
453
  }>, z.ZodObject<{
@@ -1112,8 +1122,8 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
1112
1122
  } | {
1113
1123
  type: "squareStreetz.postCreated";
1114
1124
  ids: {
1115
- userId: string;
1116
1125
  postId: string;
1126
+ userId: string;
1117
1127
  };
1118
1128
  } | {
1119
1129
  type: "audition.promptCreated";
@@ -1182,27 +1192,29 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
1182
1192
  } | {
1183
1193
  type: "follow.created";
1184
1194
  ids: {
1185
- followerId: string;
1186
- followedId: string;
1195
+ targetType: "workRealm" | "user" | "workProject";
1196
+ targetId: string;
1197
+ followerUid: string;
1187
1198
  };
1188
1199
  } | {
1189
1200
  type: "follow.removed";
1190
1201
  ids: {
1191
- followerId: string;
1192
- followedId: string;
1202
+ targetType: "workRealm" | "user" | "workProject";
1203
+ targetId: string;
1204
+ followerUid: string;
1193
1205
  };
1194
1206
  } | {
1195
1207
  type: "squareStreetz.postLiked";
1196
1208
  ids: {
1197
- userId: string;
1198
1209
  postId: string;
1210
+ userId: string;
1199
1211
  authorId: string;
1200
1212
  };
1201
1213
  } | {
1202
1214
  type: "squareStreetz.postUnliked";
1203
1215
  ids: {
1204
- userId: string;
1205
1216
  postId: string;
1217
+ userId: string;
1206
1218
  authorId: string;
1207
1219
  };
1208
1220
  } | {
@@ -1387,8 +1399,8 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
1387
1399
  } | {
1388
1400
  type: "squareStreetz.postCreated";
1389
1401
  ids: {
1390
- userId: string;
1391
1402
  postId: string;
1403
+ userId: string;
1392
1404
  };
1393
1405
  } | {
1394
1406
  type: "audition.promptCreated";
@@ -1457,27 +1469,29 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
1457
1469
  } | {
1458
1470
  type: "follow.created";
1459
1471
  ids: {
1460
- followerId: string;
1461
- followedId: string;
1472
+ targetType: "workRealm" | "user" | "workProject";
1473
+ targetId: string;
1474
+ followerUid: string;
1462
1475
  };
1463
1476
  } | {
1464
1477
  type: "follow.removed";
1465
1478
  ids: {
1466
- followerId: string;
1467
- followedId: string;
1479
+ targetType: "workRealm" | "user" | "workProject";
1480
+ targetId: string;
1481
+ followerUid: string;
1468
1482
  };
1469
1483
  } | {
1470
1484
  type: "squareStreetz.postLiked";
1471
1485
  ids: {
1472
- userId: string;
1473
1486
  postId: string;
1487
+ userId: string;
1474
1488
  authorId: string;
1475
1489
  };
1476
1490
  } | {
1477
1491
  type: "squareStreetz.postUnliked";
1478
1492
  ids: {
1479
- userId: string;
1480
1493
  postId: string;
1494
+ userId: string;
1481
1495
  authorId: string;
1482
1496
  };
1483
1497
  } | {
@@ -1686,10 +1700,10 @@ export declare const PendingMediaPendingSchema: z.ZodObject<{
1686
1700
  };
1687
1701
  createdAt: number;
1688
1702
  updatedAt: number;
1703
+ textContent?: string | undefined;
1689
1704
  originalContentType?: string | undefined;
1690
1705
  originalSize?: number | undefined;
1691
1706
  targetInfo?: unknown;
1692
- textContent?: string | undefined;
1693
1707
  processingStartedAt?: number | undefined;
1694
1708
  terminalAt?: number | undefined;
1695
1709
  }, {
@@ -1705,10 +1719,10 @@ export declare const PendingMediaPendingSchema: z.ZodObject<{
1705
1719
  };
1706
1720
  createdAt: number;
1707
1721
  updatedAt: number;
1722
+ textContent?: string | undefined;
1708
1723
  originalContentType?: string | undefined;
1709
1724
  originalSize?: number | undefined;
1710
1725
  targetInfo?: unknown;
1711
- textContent?: string | undefined;
1712
1726
  processingStartedAt?: number | undefined;
1713
1727
  terminalAt?: number | undefined;
1714
1728
  }>;
@@ -1750,10 +1764,10 @@ export declare const PendingMediaProcessingSchema: z.ZodObject<{
1750
1764
  };
1751
1765
  createdAt: number;
1752
1766
  updatedAt: number;
1767
+ textContent?: string | undefined;
1753
1768
  originalContentType?: string | undefined;
1754
1769
  originalSize?: number | undefined;
1755
1770
  targetInfo?: unknown;
1756
- textContent?: string | undefined;
1757
1771
  processingStartedAt?: number | undefined;
1758
1772
  terminalAt?: number | undefined;
1759
1773
  }, {
@@ -1769,10 +1783,10 @@ export declare const PendingMediaProcessingSchema: z.ZodObject<{
1769
1783
  };
1770
1784
  createdAt: number;
1771
1785
  updatedAt: number;
1786
+ textContent?: string | undefined;
1772
1787
  originalContentType?: string | undefined;
1773
1788
  originalSize?: number | undefined;
1774
1789
  targetInfo?: unknown;
1775
- textContent?: string | undefined;
1776
1790
  processingStartedAt?: number | undefined;
1777
1791
  terminalAt?: number | undefined;
1778
1792
  }>;
@@ -1832,23 +1846,23 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
1832
1846
  userId: z.ZodString;
1833
1847
  postId: z.ZodString;
1834
1848
  }, "strict", z.ZodTypeAny, {
1835
- userId: string;
1836
1849
  postId: string;
1837
- }, {
1838
1850
  userId: string;
1851
+ }, {
1839
1852
  postId: string;
1853
+ userId: string;
1840
1854
  }>;
1841
1855
  }, "strict", z.ZodTypeAny, {
1842
1856
  type: "squareStreetz.postCreated";
1843
1857
  ids: {
1844
- userId: string;
1845
1858
  postId: string;
1859
+ userId: string;
1846
1860
  };
1847
1861
  }, {
1848
1862
  type: "squareStreetz.postCreated";
1849
1863
  ids: {
1850
- userId: string;
1851
1864
  postId: string;
1865
+ userId: string;
1852
1866
  };
1853
1867
  }>, z.ZodObject<{
1854
1868
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -2119,50 +2133,60 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
2119
2133
  }>, z.ZodObject<{
2120
2134
  type: z.ZodLiteral<"follow.created">;
2121
2135
  ids: z.ZodObject<{
2122
- followerId: z.ZodString;
2123
- followedId: z.ZodString;
2136
+ followerUid: z.ZodString;
2137
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
2138
+ targetId: z.ZodString;
2124
2139
  }, "strict", z.ZodTypeAny, {
2125
- followerId: string;
2126
- followedId: string;
2140
+ targetType: "workRealm" | "user" | "workProject";
2141
+ targetId: string;
2142
+ followerUid: string;
2127
2143
  }, {
2128
- followerId: string;
2129
- followedId: string;
2144
+ targetType: "workRealm" | "user" | "workProject";
2145
+ targetId: string;
2146
+ followerUid: string;
2130
2147
  }>;
2131
2148
  }, "strict", z.ZodTypeAny, {
2132
2149
  type: "follow.created";
2133
2150
  ids: {
2134
- followerId: string;
2135
- followedId: string;
2151
+ targetType: "workRealm" | "user" | "workProject";
2152
+ targetId: string;
2153
+ followerUid: string;
2136
2154
  };
2137
2155
  }, {
2138
2156
  type: "follow.created";
2139
2157
  ids: {
2140
- followerId: string;
2141
- followedId: string;
2158
+ targetType: "workRealm" | "user" | "workProject";
2159
+ targetId: string;
2160
+ followerUid: string;
2142
2161
  };
2143
2162
  }>, z.ZodObject<{
2144
2163
  type: z.ZodLiteral<"follow.removed">;
2145
2164
  ids: z.ZodObject<{
2146
- followerId: z.ZodString;
2147
- followedId: z.ZodString;
2165
+ followerUid: z.ZodString;
2166
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
2167
+ targetId: z.ZodString;
2148
2168
  }, "strict", z.ZodTypeAny, {
2149
- followerId: string;
2150
- followedId: string;
2169
+ targetType: "workRealm" | "user" | "workProject";
2170
+ targetId: string;
2171
+ followerUid: string;
2151
2172
  }, {
2152
- followerId: string;
2153
- followedId: string;
2173
+ targetType: "workRealm" | "user" | "workProject";
2174
+ targetId: string;
2175
+ followerUid: string;
2154
2176
  }>;
2155
2177
  }, "strict", z.ZodTypeAny, {
2156
2178
  type: "follow.removed";
2157
2179
  ids: {
2158
- followerId: string;
2159
- followedId: string;
2180
+ targetType: "workRealm" | "user" | "workProject";
2181
+ targetId: string;
2182
+ followerUid: string;
2160
2183
  };
2161
2184
  }, {
2162
2185
  type: "follow.removed";
2163
2186
  ids: {
2164
- followerId: string;
2165
- followedId: string;
2187
+ targetType: "workRealm" | "user" | "workProject";
2188
+ targetId: string;
2189
+ followerUid: string;
2166
2190
  };
2167
2191
  }>, z.ZodObject<{
2168
2192
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -2171,26 +2195,26 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
2171
2195
  postId: z.ZodString;
2172
2196
  authorId: z.ZodString;
2173
2197
  }, "strict", z.ZodTypeAny, {
2174
- userId: string;
2175
2198
  postId: string;
2199
+ userId: string;
2176
2200
  authorId: string;
2177
2201
  }, {
2178
- userId: string;
2179
2202
  postId: string;
2203
+ userId: string;
2180
2204
  authorId: string;
2181
2205
  }>;
2182
2206
  }, "strict", z.ZodTypeAny, {
2183
2207
  type: "squareStreetz.postLiked";
2184
2208
  ids: {
2185
- userId: string;
2186
2209
  postId: string;
2210
+ userId: string;
2187
2211
  authorId: string;
2188
2212
  };
2189
2213
  }, {
2190
2214
  type: "squareStreetz.postLiked";
2191
2215
  ids: {
2192
- userId: string;
2193
2216
  postId: string;
2217
+ userId: string;
2194
2218
  authorId: string;
2195
2219
  };
2196
2220
  }>, z.ZodObject<{
@@ -2200,26 +2224,26 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
2200
2224
  postId: z.ZodString;
2201
2225
  authorId: z.ZodString;
2202
2226
  }, "strict", z.ZodTypeAny, {
2203
- userId: string;
2204
2227
  postId: string;
2228
+ userId: string;
2205
2229
  authorId: string;
2206
2230
  }, {
2207
- userId: string;
2208
2231
  postId: string;
2232
+ userId: string;
2209
2233
  authorId: string;
2210
2234
  }>;
2211
2235
  }, "strict", z.ZodTypeAny, {
2212
2236
  type: "squareStreetz.postUnliked";
2213
2237
  ids: {
2214
- userId: string;
2215
2238
  postId: string;
2239
+ userId: string;
2216
2240
  authorId: string;
2217
2241
  };
2218
2242
  }, {
2219
2243
  type: "squareStreetz.postUnliked";
2220
2244
  ids: {
2221
- userId: string;
2222
2245
  postId: string;
2246
+ userId: string;
2223
2247
  authorId: string;
2224
2248
  };
2225
2249
  }>, z.ZodObject<{
@@ -2894,8 +2918,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
2894
2918
  } | {
2895
2919
  type: "squareStreetz.postCreated";
2896
2920
  ids: {
2897
- userId: string;
2898
2921
  postId: string;
2922
+ userId: string;
2899
2923
  };
2900
2924
  } | {
2901
2925
  type: "audition.promptCreated";
@@ -2964,27 +2988,29 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
2964
2988
  } | {
2965
2989
  type: "follow.created";
2966
2990
  ids: {
2967
- followerId: string;
2968
- followedId: string;
2991
+ targetType: "workRealm" | "user" | "workProject";
2992
+ targetId: string;
2993
+ followerUid: string;
2969
2994
  };
2970
2995
  } | {
2971
2996
  type: "follow.removed";
2972
2997
  ids: {
2973
- followerId: string;
2974
- followedId: string;
2998
+ targetType: "workRealm" | "user" | "workProject";
2999
+ targetId: string;
3000
+ followerUid: string;
2975
3001
  };
2976
3002
  } | {
2977
3003
  type: "squareStreetz.postLiked";
2978
3004
  ids: {
2979
- userId: string;
2980
3005
  postId: string;
3006
+ userId: string;
2981
3007
  authorId: string;
2982
3008
  };
2983
3009
  } | {
2984
3010
  type: "squareStreetz.postUnliked";
2985
3011
  ids: {
2986
- userId: string;
2987
3012
  postId: string;
3013
+ userId: string;
2988
3014
  authorId: string;
2989
3015
  };
2990
3016
  } | {
@@ -3169,8 +3195,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3169
3195
  } | {
3170
3196
  type: "squareStreetz.postCreated";
3171
3197
  ids: {
3172
- userId: string;
3173
3198
  postId: string;
3199
+ userId: string;
3174
3200
  };
3175
3201
  } | {
3176
3202
  type: "audition.promptCreated";
@@ -3239,27 +3265,29 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3239
3265
  } | {
3240
3266
  type: "follow.created";
3241
3267
  ids: {
3242
- followerId: string;
3243
- followedId: string;
3268
+ targetType: "workRealm" | "user" | "workProject";
3269
+ targetId: string;
3270
+ followerUid: string;
3244
3271
  };
3245
3272
  } | {
3246
3273
  type: "follow.removed";
3247
3274
  ids: {
3248
- followerId: string;
3249
- followedId: string;
3275
+ targetType: "workRealm" | "user" | "workProject";
3276
+ targetId: string;
3277
+ followerUid: string;
3250
3278
  };
3251
3279
  } | {
3252
3280
  type: "squareStreetz.postLiked";
3253
3281
  ids: {
3254
- userId: string;
3255
3282
  postId: string;
3283
+ userId: string;
3256
3284
  authorId: string;
3257
3285
  };
3258
3286
  } | {
3259
3287
  type: "squareStreetz.postUnliked";
3260
3288
  ids: {
3261
- userId: string;
3262
3289
  postId: string;
3290
+ userId: string;
3263
3291
  authorId: string;
3264
3292
  };
3265
3293
  } | {
@@ -3482,8 +3510,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3482
3510
  } | {
3483
3511
  type: "squareStreetz.postCreated";
3484
3512
  ids: {
3485
- userId: string;
3486
3513
  postId: string;
3514
+ userId: string;
3487
3515
  };
3488
3516
  } | {
3489
3517
  type: "audition.promptCreated";
@@ -3552,27 +3580,29 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3552
3580
  } | {
3553
3581
  type: "follow.created";
3554
3582
  ids: {
3555
- followerId: string;
3556
- followedId: string;
3583
+ targetType: "workRealm" | "user" | "workProject";
3584
+ targetId: string;
3585
+ followerUid: string;
3557
3586
  };
3558
3587
  } | {
3559
3588
  type: "follow.removed";
3560
3589
  ids: {
3561
- followerId: string;
3562
- followedId: string;
3590
+ targetType: "workRealm" | "user" | "workProject";
3591
+ targetId: string;
3592
+ followerUid: string;
3563
3593
  };
3564
3594
  } | {
3565
3595
  type: "squareStreetz.postLiked";
3566
3596
  ids: {
3567
- userId: string;
3568
3597
  postId: string;
3598
+ userId: string;
3569
3599
  authorId: string;
3570
3600
  };
3571
3601
  } | {
3572
3602
  type: "squareStreetz.postUnliked";
3573
3603
  ids: {
3574
- userId: string;
3575
3604
  postId: string;
3605
+ userId: string;
3576
3606
  authorId: string;
3577
3607
  };
3578
3608
  } | {
@@ -3743,10 +3773,10 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3743
3773
  operation: "create" | "update";
3744
3774
  }[] | undefined;
3745
3775
  };
3776
+ textContent?: string | undefined;
3746
3777
  originalContentType?: string | undefined;
3747
3778
  originalSize?: number | undefined;
3748
3779
  targetInfo?: unknown;
3749
- textContent?: string | undefined;
3750
3780
  processingStartedAt?: number | undefined;
3751
3781
  uploadTrayClearedAt?: number | undefined;
3752
3782
  uploadTrayClearedBy?: string | undefined;
@@ -3780,8 +3810,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3780
3810
  } | {
3781
3811
  type: "squareStreetz.postCreated";
3782
3812
  ids: {
3783
- userId: string;
3784
3813
  postId: string;
3814
+ userId: string;
3785
3815
  };
3786
3816
  } | {
3787
3817
  type: "audition.promptCreated";
@@ -3850,27 +3880,29 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
3850
3880
  } | {
3851
3881
  type: "follow.created";
3852
3882
  ids: {
3853
- followerId: string;
3854
- followedId: string;
3883
+ targetType: "workRealm" | "user" | "workProject";
3884
+ targetId: string;
3885
+ followerUid: string;
3855
3886
  };
3856
3887
  } | {
3857
3888
  type: "follow.removed";
3858
3889
  ids: {
3859
- followerId: string;
3860
- followedId: string;
3890
+ targetType: "workRealm" | "user" | "workProject";
3891
+ targetId: string;
3892
+ followerUid: string;
3861
3893
  };
3862
3894
  } | {
3863
3895
  type: "squareStreetz.postLiked";
3864
3896
  ids: {
3865
- userId: string;
3866
3897
  postId: string;
3898
+ userId: string;
3867
3899
  authorId: string;
3868
3900
  };
3869
3901
  } | {
3870
3902
  type: "squareStreetz.postUnliked";
3871
3903
  ids: {
3872
- userId: string;
3873
3904
  postId: string;
3905
+ userId: string;
3874
3906
  authorId: string;
3875
3907
  };
3876
3908
  } | {
@@ -4041,10 +4073,10 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
4041
4073
  operation: "create" | "update";
4042
4074
  }[] | undefined;
4043
4075
  };
4076
+ textContent?: string | undefined;
4044
4077
  originalContentType?: string | undefined;
4045
4078
  originalSize?: number | undefined;
4046
4079
  targetInfo?: unknown;
4047
- textContent?: string | undefined;
4048
4080
  processingStartedAt?: number | undefined;
4049
4081
  uploadTrayClearedAt?: number | undefined;
4050
4082
  uploadTrayClearedBy?: string | undefined;
@@ -4096,10 +4128,10 @@ export declare const PendingMediaFailedSchema: z.ZodObject<{
4096
4128
  failedAt: number;
4097
4129
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
4098
4130
  errorMessage: string;
4131
+ textContent?: string | undefined;
4099
4132
  originalContentType?: string | undefined;
4100
4133
  originalSize?: number | undefined;
4101
4134
  targetInfo?: unknown;
4102
- textContent?: string | undefined;
4103
4135
  processingStartedAt?: number | undefined;
4104
4136
  uploadTrayClearedAt?: number | undefined;
4105
4137
  uploadTrayClearedBy?: string | undefined;
@@ -4120,10 +4152,10 @@ export declare const PendingMediaFailedSchema: z.ZodObject<{
4120
4152
  failedAt: number;
4121
4153
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
4122
4154
  errorMessage: string;
4155
+ textContent?: string | undefined;
4123
4156
  originalContentType?: string | undefined;
4124
4157
  originalSize?: number | undefined;
4125
4158
  targetInfo?: unknown;
4126
- textContent?: string | undefined;
4127
4159
  processingStartedAt?: number | undefined;
4128
4160
  uploadTrayClearedAt?: number | undefined;
4129
4161
  uploadTrayClearedBy?: string | undefined;
@@ -4187,23 +4219,23 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
4187
4219
  userId: z.ZodString;
4188
4220
  postId: z.ZodString;
4189
4221
  }, "strict", z.ZodTypeAny, {
4190
- userId: string;
4191
4222
  postId: string;
4192
- }, {
4193
4223
  userId: string;
4224
+ }, {
4194
4225
  postId: string;
4226
+ userId: string;
4195
4227
  }>;
4196
4228
  }, "strict", z.ZodTypeAny, {
4197
4229
  type: "squareStreetz.postCreated";
4198
4230
  ids: {
4199
- userId: string;
4200
4231
  postId: string;
4232
+ userId: string;
4201
4233
  };
4202
4234
  }, {
4203
4235
  type: "squareStreetz.postCreated";
4204
4236
  ids: {
4205
- userId: string;
4206
4237
  postId: string;
4238
+ userId: string;
4207
4239
  };
4208
4240
  }>, z.ZodObject<{
4209
4241
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -4474,50 +4506,60 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
4474
4506
  }>, z.ZodObject<{
4475
4507
  type: z.ZodLiteral<"follow.created">;
4476
4508
  ids: z.ZodObject<{
4477
- followerId: z.ZodString;
4478
- followedId: z.ZodString;
4509
+ followerUid: z.ZodString;
4510
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
4511
+ targetId: z.ZodString;
4479
4512
  }, "strict", z.ZodTypeAny, {
4480
- followerId: string;
4481
- followedId: string;
4513
+ targetType: "workRealm" | "user" | "workProject";
4514
+ targetId: string;
4515
+ followerUid: string;
4482
4516
  }, {
4483
- followerId: string;
4484
- followedId: string;
4517
+ targetType: "workRealm" | "user" | "workProject";
4518
+ targetId: string;
4519
+ followerUid: string;
4485
4520
  }>;
4486
4521
  }, "strict", z.ZodTypeAny, {
4487
4522
  type: "follow.created";
4488
4523
  ids: {
4489
- followerId: string;
4490
- followedId: string;
4524
+ targetType: "workRealm" | "user" | "workProject";
4525
+ targetId: string;
4526
+ followerUid: string;
4491
4527
  };
4492
4528
  }, {
4493
4529
  type: "follow.created";
4494
4530
  ids: {
4495
- followerId: string;
4496
- followedId: string;
4531
+ targetType: "workRealm" | "user" | "workProject";
4532
+ targetId: string;
4533
+ followerUid: string;
4497
4534
  };
4498
4535
  }>, z.ZodObject<{
4499
4536
  type: z.ZodLiteral<"follow.removed">;
4500
4537
  ids: z.ZodObject<{
4501
- followerId: z.ZodString;
4502
- followedId: z.ZodString;
4538
+ followerUid: z.ZodString;
4539
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
4540
+ targetId: z.ZodString;
4503
4541
  }, "strict", z.ZodTypeAny, {
4504
- followerId: string;
4505
- followedId: string;
4542
+ targetType: "workRealm" | "user" | "workProject";
4543
+ targetId: string;
4544
+ followerUid: string;
4506
4545
  }, {
4507
- followerId: string;
4508
- followedId: string;
4546
+ targetType: "workRealm" | "user" | "workProject";
4547
+ targetId: string;
4548
+ followerUid: string;
4509
4549
  }>;
4510
4550
  }, "strict", z.ZodTypeAny, {
4511
4551
  type: "follow.removed";
4512
4552
  ids: {
4513
- followerId: string;
4514
- followedId: string;
4553
+ targetType: "workRealm" | "user" | "workProject";
4554
+ targetId: string;
4555
+ followerUid: string;
4515
4556
  };
4516
4557
  }, {
4517
4558
  type: "follow.removed";
4518
4559
  ids: {
4519
- followerId: string;
4520
- followedId: string;
4560
+ targetType: "workRealm" | "user" | "workProject";
4561
+ targetId: string;
4562
+ followerUid: string;
4521
4563
  };
4522
4564
  }>, z.ZodObject<{
4523
4565
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -4526,26 +4568,26 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
4526
4568
  postId: z.ZodString;
4527
4569
  authorId: z.ZodString;
4528
4570
  }, "strict", z.ZodTypeAny, {
4529
- userId: string;
4530
4571
  postId: string;
4572
+ userId: string;
4531
4573
  authorId: string;
4532
4574
  }, {
4533
- userId: string;
4534
4575
  postId: string;
4576
+ userId: string;
4535
4577
  authorId: string;
4536
4578
  }>;
4537
4579
  }, "strict", z.ZodTypeAny, {
4538
4580
  type: "squareStreetz.postLiked";
4539
4581
  ids: {
4540
- userId: string;
4541
4582
  postId: string;
4583
+ userId: string;
4542
4584
  authorId: string;
4543
4585
  };
4544
4586
  }, {
4545
4587
  type: "squareStreetz.postLiked";
4546
4588
  ids: {
4547
- userId: string;
4548
4589
  postId: string;
4590
+ userId: string;
4549
4591
  authorId: string;
4550
4592
  };
4551
4593
  }>, z.ZodObject<{
@@ -4555,26 +4597,26 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
4555
4597
  postId: z.ZodString;
4556
4598
  authorId: z.ZodString;
4557
4599
  }, "strict", z.ZodTypeAny, {
4558
- userId: string;
4559
4600
  postId: string;
4601
+ userId: string;
4560
4602
  authorId: string;
4561
4603
  }, {
4562
- userId: string;
4563
4604
  postId: string;
4605
+ userId: string;
4564
4606
  authorId: string;
4565
4607
  }>;
4566
4608
  }, "strict", z.ZodTypeAny, {
4567
4609
  type: "squareStreetz.postUnliked";
4568
4610
  ids: {
4569
- userId: string;
4570
4611
  postId: string;
4612
+ userId: string;
4571
4613
  authorId: string;
4572
4614
  };
4573
4615
  }, {
4574
4616
  type: "squareStreetz.postUnliked";
4575
4617
  ids: {
4576
- userId: string;
4577
4618
  postId: string;
4619
+ userId: string;
4578
4620
  authorId: string;
4579
4621
  };
4580
4622
  }>, z.ZodObject<{
@@ -5249,8 +5291,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5249
5291
  } | {
5250
5292
  type: "squareStreetz.postCreated";
5251
5293
  ids: {
5252
- userId: string;
5253
5294
  postId: string;
5295
+ userId: string;
5254
5296
  };
5255
5297
  } | {
5256
5298
  type: "audition.promptCreated";
@@ -5319,27 +5361,29 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5319
5361
  } | {
5320
5362
  type: "follow.created";
5321
5363
  ids: {
5322
- followerId: string;
5323
- followedId: string;
5364
+ targetType: "workRealm" | "user" | "workProject";
5365
+ targetId: string;
5366
+ followerUid: string;
5324
5367
  };
5325
5368
  } | {
5326
5369
  type: "follow.removed";
5327
5370
  ids: {
5328
- followerId: string;
5329
- followedId: string;
5371
+ targetType: "workRealm" | "user" | "workProject";
5372
+ targetId: string;
5373
+ followerUid: string;
5330
5374
  };
5331
5375
  } | {
5332
5376
  type: "squareStreetz.postLiked";
5333
5377
  ids: {
5334
- userId: string;
5335
5378
  postId: string;
5379
+ userId: string;
5336
5380
  authorId: string;
5337
5381
  };
5338
5382
  } | {
5339
5383
  type: "squareStreetz.postUnliked";
5340
5384
  ids: {
5341
- userId: string;
5342
5385
  postId: string;
5386
+ userId: string;
5343
5387
  authorId: string;
5344
5388
  };
5345
5389
  } | {
@@ -5524,8 +5568,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5524
5568
  } | {
5525
5569
  type: "squareStreetz.postCreated";
5526
5570
  ids: {
5527
- userId: string;
5528
5571
  postId: string;
5572
+ userId: string;
5529
5573
  };
5530
5574
  } | {
5531
5575
  type: "audition.promptCreated";
@@ -5594,27 +5638,29 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5594
5638
  } | {
5595
5639
  type: "follow.created";
5596
5640
  ids: {
5597
- followerId: string;
5598
- followedId: string;
5641
+ targetType: "workRealm" | "user" | "workProject";
5642
+ targetId: string;
5643
+ followerUid: string;
5599
5644
  };
5600
5645
  } | {
5601
5646
  type: "follow.removed";
5602
5647
  ids: {
5603
- followerId: string;
5604
- followedId: string;
5648
+ targetType: "workRealm" | "user" | "workProject";
5649
+ targetId: string;
5650
+ followerUid: string;
5605
5651
  };
5606
5652
  } | {
5607
5653
  type: "squareStreetz.postLiked";
5608
5654
  ids: {
5609
- userId: string;
5610
5655
  postId: string;
5656
+ userId: string;
5611
5657
  authorId: string;
5612
5658
  };
5613
5659
  } | {
5614
5660
  type: "squareStreetz.postUnliked";
5615
5661
  ids: {
5616
- userId: string;
5617
5662
  postId: string;
5663
+ userId: string;
5618
5664
  authorId: string;
5619
5665
  };
5620
5666
  } | {
@@ -5824,11 +5870,11 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5824
5870
  errorMessage: string;
5825
5871
  rejectedAt: number;
5826
5872
  rejectionType: "text" | "media";
5873
+ textContent?: string | undefined;
5827
5874
  violationId?: string | undefined;
5828
5875
  originalContentType?: string | undefined;
5829
5876
  originalSize?: number | undefined;
5830
5877
  targetInfo?: unknown;
5831
- textContent?: string | undefined;
5832
5878
  processingStartedAt?: number | undefined;
5833
5879
  uploadTrayClearedAt?: number | undefined;
5834
5880
  uploadTrayClearedBy?: string | undefined;
@@ -5847,8 +5893,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5847
5893
  } | {
5848
5894
  type: "squareStreetz.postCreated";
5849
5895
  ids: {
5850
- userId: string;
5851
5896
  postId: string;
5897
+ userId: string;
5852
5898
  };
5853
5899
  } | {
5854
5900
  type: "audition.promptCreated";
@@ -5917,27 +5963,29 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
5917
5963
  } | {
5918
5964
  type: "follow.created";
5919
5965
  ids: {
5920
- followerId: string;
5921
- followedId: string;
5966
+ targetType: "workRealm" | "user" | "workProject";
5967
+ targetId: string;
5968
+ followerUid: string;
5922
5969
  };
5923
5970
  } | {
5924
5971
  type: "follow.removed";
5925
5972
  ids: {
5926
- followerId: string;
5927
- followedId: string;
5973
+ targetType: "workRealm" | "user" | "workProject";
5974
+ targetId: string;
5975
+ followerUid: string;
5928
5976
  };
5929
5977
  } | {
5930
5978
  type: "squareStreetz.postLiked";
5931
5979
  ids: {
5932
- userId: string;
5933
5980
  postId: string;
5981
+ userId: string;
5934
5982
  authorId: string;
5935
5983
  };
5936
5984
  } | {
5937
5985
  type: "squareStreetz.postUnliked";
5938
5986
  ids: {
5939
- userId: string;
5940
5987
  postId: string;
5988
+ userId: string;
5941
5989
  authorId: string;
5942
5990
  };
5943
5991
  } | {
@@ -6125,11 +6173,11 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
6125
6173
  errorMessage: string;
6126
6174
  rejectedAt: number;
6127
6175
  rejectionType: "text" | "media";
6176
+ textContent?: string | undefined;
6128
6177
  violationId?: string | undefined;
6129
6178
  originalContentType?: string | undefined;
6130
6179
  originalSize?: number | undefined;
6131
6180
  targetInfo?: unknown;
6132
- textContent?: string | undefined;
6133
6181
  processingStartedAt?: number | undefined;
6134
6182
  uploadTrayClearedAt?: number | undefined;
6135
6183
  uploadTrayClearedBy?: string | undefined;
@@ -6148,8 +6196,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
6148
6196
  } | {
6149
6197
  type: "squareStreetz.postCreated";
6150
6198
  ids: {
6151
- userId: string;
6152
6199
  postId: string;
6200
+ userId: string;
6153
6201
  };
6154
6202
  } | {
6155
6203
  type: "audition.promptCreated";
@@ -6218,27 +6266,29 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
6218
6266
  } | {
6219
6267
  type: "follow.created";
6220
6268
  ids: {
6221
- followerId: string;
6222
- followedId: string;
6269
+ targetType: "workRealm" | "user" | "workProject";
6270
+ targetId: string;
6271
+ followerUid: string;
6223
6272
  };
6224
6273
  } | {
6225
6274
  type: "follow.removed";
6226
6275
  ids: {
6227
- followerId: string;
6228
- followedId: string;
6276
+ targetType: "workRealm" | "user" | "workProject";
6277
+ targetId: string;
6278
+ followerUid: string;
6229
6279
  };
6230
6280
  } | {
6231
6281
  type: "squareStreetz.postLiked";
6232
6282
  ids: {
6233
- userId: string;
6234
6283
  postId: string;
6284
+ userId: string;
6235
6285
  authorId: string;
6236
6286
  };
6237
6287
  } | {
6238
6288
  type: "squareStreetz.postUnliked";
6239
6289
  ids: {
6240
- userId: string;
6241
6290
  postId: string;
6291
+ userId: string;
6242
6292
  authorId: string;
6243
6293
  };
6244
6294
  } | {
@@ -6448,10 +6498,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6448
6498
  };
6449
6499
  createdAt: number;
6450
6500
  updatedAt: number;
6501
+ textContent?: string | undefined;
6451
6502
  originalContentType?: string | undefined;
6452
6503
  originalSize?: number | undefined;
6453
6504
  targetInfo?: unknown;
6454
- textContent?: string | undefined;
6455
6505
  processingStartedAt?: number | undefined;
6456
6506
  terminalAt?: number | undefined;
6457
6507
  }, {
@@ -6467,10 +6517,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6467
6517
  };
6468
6518
  createdAt: number;
6469
6519
  updatedAt: number;
6520
+ textContent?: string | undefined;
6470
6521
  originalContentType?: string | undefined;
6471
6522
  originalSize?: number | undefined;
6472
6523
  targetInfo?: unknown;
6473
- textContent?: string | undefined;
6474
6524
  processingStartedAt?: number | undefined;
6475
6525
  terminalAt?: number | undefined;
6476
6526
  }>, z.ZodObject<{
@@ -6511,10 +6561,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6511
6561
  };
6512
6562
  createdAt: number;
6513
6563
  updatedAt: number;
6564
+ textContent?: string | undefined;
6514
6565
  originalContentType?: string | undefined;
6515
6566
  originalSize?: number | undefined;
6516
6567
  targetInfo?: unknown;
6517
- textContent?: string | undefined;
6518
6568
  processingStartedAt?: number | undefined;
6519
6569
  terminalAt?: number | undefined;
6520
6570
  }, {
@@ -6530,10 +6580,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6530
6580
  };
6531
6581
  createdAt: number;
6532
6582
  updatedAt: number;
6583
+ textContent?: string | undefined;
6533
6584
  originalContentType?: string | undefined;
6534
6585
  originalSize?: number | undefined;
6535
6586
  targetInfo?: unknown;
6536
- textContent?: string | undefined;
6537
6587
  processingStartedAt?: number | undefined;
6538
6588
  terminalAt?: number | undefined;
6539
6589
  }>, z.ZodObject<{
@@ -6592,23 +6642,23 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6592
6642
  userId: z.ZodString;
6593
6643
  postId: z.ZodString;
6594
6644
  }, "strict", z.ZodTypeAny, {
6595
- userId: string;
6596
6645
  postId: string;
6597
- }, {
6598
6646
  userId: string;
6647
+ }, {
6599
6648
  postId: string;
6649
+ userId: string;
6600
6650
  }>;
6601
6651
  }, "strict", z.ZodTypeAny, {
6602
6652
  type: "squareStreetz.postCreated";
6603
6653
  ids: {
6604
- userId: string;
6605
6654
  postId: string;
6655
+ userId: string;
6606
6656
  };
6607
6657
  }, {
6608
6658
  type: "squareStreetz.postCreated";
6609
6659
  ids: {
6610
- userId: string;
6611
6660
  postId: string;
6661
+ userId: string;
6612
6662
  };
6613
6663
  }>, z.ZodObject<{
6614
6664
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -6879,50 +6929,60 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6879
6929
  }>, z.ZodObject<{
6880
6930
  type: z.ZodLiteral<"follow.created">;
6881
6931
  ids: z.ZodObject<{
6882
- followerId: z.ZodString;
6883
- followedId: z.ZodString;
6932
+ followerUid: z.ZodString;
6933
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
6934
+ targetId: z.ZodString;
6884
6935
  }, "strict", z.ZodTypeAny, {
6885
- followerId: string;
6886
- followedId: string;
6936
+ targetType: "workRealm" | "user" | "workProject";
6937
+ targetId: string;
6938
+ followerUid: string;
6887
6939
  }, {
6888
- followerId: string;
6889
- followedId: string;
6940
+ targetType: "workRealm" | "user" | "workProject";
6941
+ targetId: string;
6942
+ followerUid: string;
6890
6943
  }>;
6891
6944
  }, "strict", z.ZodTypeAny, {
6892
6945
  type: "follow.created";
6893
6946
  ids: {
6894
- followerId: string;
6895
- followedId: string;
6947
+ targetType: "workRealm" | "user" | "workProject";
6948
+ targetId: string;
6949
+ followerUid: string;
6896
6950
  };
6897
6951
  }, {
6898
6952
  type: "follow.created";
6899
6953
  ids: {
6900
- followerId: string;
6901
- followedId: string;
6954
+ targetType: "workRealm" | "user" | "workProject";
6955
+ targetId: string;
6956
+ followerUid: string;
6902
6957
  };
6903
6958
  }>, z.ZodObject<{
6904
6959
  type: z.ZodLiteral<"follow.removed">;
6905
6960
  ids: z.ZodObject<{
6906
- followerId: z.ZodString;
6907
- followedId: z.ZodString;
6961
+ followerUid: z.ZodString;
6962
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
6963
+ targetId: z.ZodString;
6908
6964
  }, "strict", z.ZodTypeAny, {
6909
- followerId: string;
6910
- followedId: string;
6965
+ targetType: "workRealm" | "user" | "workProject";
6966
+ targetId: string;
6967
+ followerUid: string;
6911
6968
  }, {
6912
- followerId: string;
6913
- followedId: string;
6969
+ targetType: "workRealm" | "user" | "workProject";
6970
+ targetId: string;
6971
+ followerUid: string;
6914
6972
  }>;
6915
6973
  }, "strict", z.ZodTypeAny, {
6916
6974
  type: "follow.removed";
6917
6975
  ids: {
6918
- followerId: string;
6919
- followedId: string;
6976
+ targetType: "workRealm" | "user" | "workProject";
6977
+ targetId: string;
6978
+ followerUid: string;
6920
6979
  };
6921
6980
  }, {
6922
6981
  type: "follow.removed";
6923
6982
  ids: {
6924
- followerId: string;
6925
- followedId: string;
6983
+ targetType: "workRealm" | "user" | "workProject";
6984
+ targetId: string;
6985
+ followerUid: string;
6926
6986
  };
6927
6987
  }>, z.ZodObject<{
6928
6988
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -6931,26 +6991,26 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6931
6991
  postId: z.ZodString;
6932
6992
  authorId: z.ZodString;
6933
6993
  }, "strict", z.ZodTypeAny, {
6934
- userId: string;
6935
6994
  postId: string;
6995
+ userId: string;
6936
6996
  authorId: string;
6937
6997
  }, {
6938
- userId: string;
6939
6998
  postId: string;
6999
+ userId: string;
6940
7000
  authorId: string;
6941
7001
  }>;
6942
7002
  }, "strict", z.ZodTypeAny, {
6943
7003
  type: "squareStreetz.postLiked";
6944
7004
  ids: {
6945
- userId: string;
6946
7005
  postId: string;
7006
+ userId: string;
6947
7007
  authorId: string;
6948
7008
  };
6949
7009
  }, {
6950
7010
  type: "squareStreetz.postLiked";
6951
7011
  ids: {
6952
- userId: string;
6953
7012
  postId: string;
7013
+ userId: string;
6954
7014
  authorId: string;
6955
7015
  };
6956
7016
  }>, z.ZodObject<{
@@ -6960,26 +7020,26 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
6960
7020
  postId: z.ZodString;
6961
7021
  authorId: z.ZodString;
6962
7022
  }, "strict", z.ZodTypeAny, {
6963
- userId: string;
6964
7023
  postId: string;
7024
+ userId: string;
6965
7025
  authorId: string;
6966
7026
  }, {
6967
- userId: string;
6968
7027
  postId: string;
7028
+ userId: string;
6969
7029
  authorId: string;
6970
7030
  }>;
6971
7031
  }, "strict", z.ZodTypeAny, {
6972
7032
  type: "squareStreetz.postUnliked";
6973
7033
  ids: {
6974
- userId: string;
6975
7034
  postId: string;
7035
+ userId: string;
6976
7036
  authorId: string;
6977
7037
  };
6978
7038
  }, {
6979
7039
  type: "squareStreetz.postUnliked";
6980
7040
  ids: {
6981
- userId: string;
6982
7041
  postId: string;
7042
+ userId: string;
6983
7043
  authorId: string;
6984
7044
  };
6985
7045
  }>, z.ZodObject<{
@@ -7654,8 +7714,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
7654
7714
  } | {
7655
7715
  type: "squareStreetz.postCreated";
7656
7716
  ids: {
7657
- userId: string;
7658
7717
  postId: string;
7718
+ userId: string;
7659
7719
  };
7660
7720
  } | {
7661
7721
  type: "audition.promptCreated";
@@ -7724,27 +7784,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
7724
7784
  } | {
7725
7785
  type: "follow.created";
7726
7786
  ids: {
7727
- followerId: string;
7728
- followedId: string;
7787
+ targetType: "workRealm" | "user" | "workProject";
7788
+ targetId: string;
7789
+ followerUid: string;
7729
7790
  };
7730
7791
  } | {
7731
7792
  type: "follow.removed";
7732
7793
  ids: {
7733
- followerId: string;
7734
- followedId: string;
7794
+ targetType: "workRealm" | "user" | "workProject";
7795
+ targetId: string;
7796
+ followerUid: string;
7735
7797
  };
7736
7798
  } | {
7737
7799
  type: "squareStreetz.postLiked";
7738
7800
  ids: {
7739
- userId: string;
7740
7801
  postId: string;
7802
+ userId: string;
7741
7803
  authorId: string;
7742
7804
  };
7743
7805
  } | {
7744
7806
  type: "squareStreetz.postUnliked";
7745
7807
  ids: {
7746
- userId: string;
7747
7808
  postId: string;
7809
+ userId: string;
7748
7810
  authorId: string;
7749
7811
  };
7750
7812
  } | {
@@ -7929,8 +7991,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
7929
7991
  } | {
7930
7992
  type: "squareStreetz.postCreated";
7931
7993
  ids: {
7932
- userId: string;
7933
7994
  postId: string;
7995
+ userId: string;
7934
7996
  };
7935
7997
  } | {
7936
7998
  type: "audition.promptCreated";
@@ -7999,27 +8061,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
7999
8061
  } | {
8000
8062
  type: "follow.created";
8001
8063
  ids: {
8002
- followerId: string;
8003
- followedId: string;
8064
+ targetType: "workRealm" | "user" | "workProject";
8065
+ targetId: string;
8066
+ followerUid: string;
8004
8067
  };
8005
8068
  } | {
8006
8069
  type: "follow.removed";
8007
8070
  ids: {
8008
- followerId: string;
8009
- followedId: string;
8071
+ targetType: "workRealm" | "user" | "workProject";
8072
+ targetId: string;
8073
+ followerUid: string;
8010
8074
  };
8011
8075
  } | {
8012
8076
  type: "squareStreetz.postLiked";
8013
8077
  ids: {
8014
- userId: string;
8015
8078
  postId: string;
8079
+ userId: string;
8016
8080
  authorId: string;
8017
8081
  };
8018
8082
  } | {
8019
8083
  type: "squareStreetz.postUnliked";
8020
8084
  ids: {
8021
- userId: string;
8022
8085
  postId: string;
8086
+ userId: string;
8023
8087
  authorId: string;
8024
8088
  };
8025
8089
  } | {
@@ -8242,8 +8306,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8242
8306
  } | {
8243
8307
  type: "squareStreetz.postCreated";
8244
8308
  ids: {
8245
- userId: string;
8246
8309
  postId: string;
8310
+ userId: string;
8247
8311
  };
8248
8312
  } | {
8249
8313
  type: "audition.promptCreated";
@@ -8312,27 +8376,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8312
8376
  } | {
8313
8377
  type: "follow.created";
8314
8378
  ids: {
8315
- followerId: string;
8316
- followedId: string;
8379
+ targetType: "workRealm" | "user" | "workProject";
8380
+ targetId: string;
8381
+ followerUid: string;
8317
8382
  };
8318
8383
  } | {
8319
8384
  type: "follow.removed";
8320
8385
  ids: {
8321
- followerId: string;
8322
- followedId: string;
8386
+ targetType: "workRealm" | "user" | "workProject";
8387
+ targetId: string;
8388
+ followerUid: string;
8323
8389
  };
8324
8390
  } | {
8325
8391
  type: "squareStreetz.postLiked";
8326
8392
  ids: {
8327
- userId: string;
8328
8393
  postId: string;
8394
+ userId: string;
8329
8395
  authorId: string;
8330
8396
  };
8331
8397
  } | {
8332
8398
  type: "squareStreetz.postUnliked";
8333
8399
  ids: {
8334
- userId: string;
8335
8400
  postId: string;
8401
+ userId: string;
8336
8402
  authorId: string;
8337
8403
  };
8338
8404
  } | {
@@ -8503,10 +8569,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8503
8569
  operation: "create" | "update";
8504
8570
  }[] | undefined;
8505
8571
  };
8572
+ textContent?: string | undefined;
8506
8573
  originalContentType?: string | undefined;
8507
8574
  originalSize?: number | undefined;
8508
8575
  targetInfo?: unknown;
8509
- textContent?: string | undefined;
8510
8576
  processingStartedAt?: number | undefined;
8511
8577
  uploadTrayClearedAt?: number | undefined;
8512
8578
  uploadTrayClearedBy?: string | undefined;
@@ -8540,8 +8606,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8540
8606
  } | {
8541
8607
  type: "squareStreetz.postCreated";
8542
8608
  ids: {
8543
- userId: string;
8544
8609
  postId: string;
8610
+ userId: string;
8545
8611
  };
8546
8612
  } | {
8547
8613
  type: "audition.promptCreated";
@@ -8610,27 +8676,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8610
8676
  } | {
8611
8677
  type: "follow.created";
8612
8678
  ids: {
8613
- followerId: string;
8614
- followedId: string;
8679
+ targetType: "workRealm" | "user" | "workProject";
8680
+ targetId: string;
8681
+ followerUid: string;
8615
8682
  };
8616
8683
  } | {
8617
8684
  type: "follow.removed";
8618
8685
  ids: {
8619
- followerId: string;
8620
- followedId: string;
8686
+ targetType: "workRealm" | "user" | "workProject";
8687
+ targetId: string;
8688
+ followerUid: string;
8621
8689
  };
8622
8690
  } | {
8623
8691
  type: "squareStreetz.postLiked";
8624
8692
  ids: {
8625
- userId: string;
8626
8693
  postId: string;
8694
+ userId: string;
8627
8695
  authorId: string;
8628
8696
  };
8629
8697
  } | {
8630
8698
  type: "squareStreetz.postUnliked";
8631
8699
  ids: {
8632
- userId: string;
8633
8700
  postId: string;
8701
+ userId: string;
8634
8702
  authorId: string;
8635
8703
  };
8636
8704
  } | {
@@ -8801,10 +8869,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8801
8869
  operation: "create" | "update";
8802
8870
  }[] | undefined;
8803
8871
  };
8872
+ textContent?: string | undefined;
8804
8873
  originalContentType?: string | undefined;
8805
8874
  originalSize?: number | undefined;
8806
8875
  targetInfo?: unknown;
8807
- textContent?: string | undefined;
8808
8876
  processingStartedAt?: number | undefined;
8809
8877
  uploadTrayClearedAt?: number | undefined;
8810
8878
  uploadTrayClearedBy?: string | undefined;
@@ -8855,10 +8923,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8855
8923
  failedAt: number;
8856
8924
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
8857
8925
  errorMessage: string;
8926
+ textContent?: string | undefined;
8858
8927
  originalContentType?: string | undefined;
8859
8928
  originalSize?: number | undefined;
8860
8929
  targetInfo?: unknown;
8861
- textContent?: string | undefined;
8862
8930
  processingStartedAt?: number | undefined;
8863
8931
  uploadTrayClearedAt?: number | undefined;
8864
8932
  uploadTrayClearedBy?: string | undefined;
@@ -8879,10 +8947,10 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8879
8947
  failedAt: number;
8880
8948
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
8881
8949
  errorMessage: string;
8950
+ textContent?: string | undefined;
8882
8951
  originalContentType?: string | undefined;
8883
8952
  originalSize?: number | undefined;
8884
8953
  targetInfo?: unknown;
8885
- textContent?: string | undefined;
8886
8954
  processingStartedAt?: number | undefined;
8887
8955
  uploadTrayClearedAt?: number | undefined;
8888
8956
  uploadTrayClearedBy?: string | undefined;
@@ -8945,23 +9013,23 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
8945
9013
  userId: z.ZodString;
8946
9014
  postId: z.ZodString;
8947
9015
  }, "strict", z.ZodTypeAny, {
8948
- userId: string;
8949
9016
  postId: string;
8950
- }, {
8951
9017
  userId: string;
9018
+ }, {
8952
9019
  postId: string;
9020
+ userId: string;
8953
9021
  }>;
8954
9022
  }, "strict", z.ZodTypeAny, {
8955
9023
  type: "squareStreetz.postCreated";
8956
9024
  ids: {
8957
- userId: string;
8958
9025
  postId: string;
9026
+ userId: string;
8959
9027
  };
8960
9028
  }, {
8961
9029
  type: "squareStreetz.postCreated";
8962
9030
  ids: {
8963
- userId: string;
8964
9031
  postId: string;
9032
+ userId: string;
8965
9033
  };
8966
9034
  }>, z.ZodObject<{
8967
9035
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -9232,50 +9300,60 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
9232
9300
  }>, z.ZodObject<{
9233
9301
  type: z.ZodLiteral<"follow.created">;
9234
9302
  ids: z.ZodObject<{
9235
- followerId: z.ZodString;
9236
- followedId: z.ZodString;
9303
+ followerUid: z.ZodString;
9304
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
9305
+ targetId: z.ZodString;
9237
9306
  }, "strict", z.ZodTypeAny, {
9238
- followerId: string;
9239
- followedId: string;
9307
+ targetType: "workRealm" | "user" | "workProject";
9308
+ targetId: string;
9309
+ followerUid: string;
9240
9310
  }, {
9241
- followerId: string;
9242
- followedId: string;
9311
+ targetType: "workRealm" | "user" | "workProject";
9312
+ targetId: string;
9313
+ followerUid: string;
9243
9314
  }>;
9244
9315
  }, "strict", z.ZodTypeAny, {
9245
9316
  type: "follow.created";
9246
9317
  ids: {
9247
- followerId: string;
9248
- followedId: string;
9318
+ targetType: "workRealm" | "user" | "workProject";
9319
+ targetId: string;
9320
+ followerUid: string;
9249
9321
  };
9250
9322
  }, {
9251
9323
  type: "follow.created";
9252
9324
  ids: {
9253
- followerId: string;
9254
- followedId: string;
9325
+ targetType: "workRealm" | "user" | "workProject";
9326
+ targetId: string;
9327
+ followerUid: string;
9255
9328
  };
9256
9329
  }>, z.ZodObject<{
9257
9330
  type: z.ZodLiteral<"follow.removed">;
9258
9331
  ids: z.ZodObject<{
9259
- followerId: z.ZodString;
9260
- followedId: z.ZodString;
9332
+ followerUid: z.ZodString;
9333
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
9334
+ targetId: z.ZodString;
9261
9335
  }, "strict", z.ZodTypeAny, {
9262
- followerId: string;
9263
- followedId: string;
9336
+ targetType: "workRealm" | "user" | "workProject";
9337
+ targetId: string;
9338
+ followerUid: string;
9264
9339
  }, {
9265
- followerId: string;
9266
- followedId: string;
9340
+ targetType: "workRealm" | "user" | "workProject";
9341
+ targetId: string;
9342
+ followerUid: string;
9267
9343
  }>;
9268
9344
  }, "strict", z.ZodTypeAny, {
9269
9345
  type: "follow.removed";
9270
9346
  ids: {
9271
- followerId: string;
9272
- followedId: string;
9347
+ targetType: "workRealm" | "user" | "workProject";
9348
+ targetId: string;
9349
+ followerUid: string;
9273
9350
  };
9274
9351
  }, {
9275
9352
  type: "follow.removed";
9276
9353
  ids: {
9277
- followerId: string;
9278
- followedId: string;
9354
+ targetType: "workRealm" | "user" | "workProject";
9355
+ targetId: string;
9356
+ followerUid: string;
9279
9357
  };
9280
9358
  }>, z.ZodObject<{
9281
9359
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -9284,26 +9362,26 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
9284
9362
  postId: z.ZodString;
9285
9363
  authorId: z.ZodString;
9286
9364
  }, "strict", z.ZodTypeAny, {
9287
- userId: string;
9288
9365
  postId: string;
9366
+ userId: string;
9289
9367
  authorId: string;
9290
9368
  }, {
9291
- userId: string;
9292
9369
  postId: string;
9370
+ userId: string;
9293
9371
  authorId: string;
9294
9372
  }>;
9295
9373
  }, "strict", z.ZodTypeAny, {
9296
9374
  type: "squareStreetz.postLiked";
9297
9375
  ids: {
9298
- userId: string;
9299
9376
  postId: string;
9377
+ userId: string;
9300
9378
  authorId: string;
9301
9379
  };
9302
9380
  }, {
9303
9381
  type: "squareStreetz.postLiked";
9304
9382
  ids: {
9305
- userId: string;
9306
9383
  postId: string;
9384
+ userId: string;
9307
9385
  authorId: string;
9308
9386
  };
9309
9387
  }>, z.ZodObject<{
@@ -9313,26 +9391,26 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
9313
9391
  postId: z.ZodString;
9314
9392
  authorId: z.ZodString;
9315
9393
  }, "strict", z.ZodTypeAny, {
9316
- userId: string;
9317
9394
  postId: string;
9395
+ userId: string;
9318
9396
  authorId: string;
9319
9397
  }, {
9320
- userId: string;
9321
9398
  postId: string;
9399
+ userId: string;
9322
9400
  authorId: string;
9323
9401
  }>;
9324
9402
  }, "strict", z.ZodTypeAny, {
9325
9403
  type: "squareStreetz.postUnliked";
9326
9404
  ids: {
9327
- userId: string;
9328
9405
  postId: string;
9406
+ userId: string;
9329
9407
  authorId: string;
9330
9408
  };
9331
9409
  }, {
9332
9410
  type: "squareStreetz.postUnliked";
9333
9411
  ids: {
9334
- userId: string;
9335
9412
  postId: string;
9413
+ userId: string;
9336
9414
  authorId: string;
9337
9415
  };
9338
9416
  }>, z.ZodObject<{
@@ -10007,8 +10085,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10007
10085
  } | {
10008
10086
  type: "squareStreetz.postCreated";
10009
10087
  ids: {
10010
- userId: string;
10011
10088
  postId: string;
10089
+ userId: string;
10012
10090
  };
10013
10091
  } | {
10014
10092
  type: "audition.promptCreated";
@@ -10077,27 +10155,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10077
10155
  } | {
10078
10156
  type: "follow.created";
10079
10157
  ids: {
10080
- followerId: string;
10081
- followedId: string;
10158
+ targetType: "workRealm" | "user" | "workProject";
10159
+ targetId: string;
10160
+ followerUid: string;
10082
10161
  };
10083
10162
  } | {
10084
10163
  type: "follow.removed";
10085
10164
  ids: {
10086
- followerId: string;
10087
- followedId: string;
10165
+ targetType: "workRealm" | "user" | "workProject";
10166
+ targetId: string;
10167
+ followerUid: string;
10088
10168
  };
10089
10169
  } | {
10090
10170
  type: "squareStreetz.postLiked";
10091
10171
  ids: {
10092
- userId: string;
10093
10172
  postId: string;
10173
+ userId: string;
10094
10174
  authorId: string;
10095
10175
  };
10096
10176
  } | {
10097
10177
  type: "squareStreetz.postUnliked";
10098
10178
  ids: {
10099
- userId: string;
10100
10179
  postId: string;
10180
+ userId: string;
10101
10181
  authorId: string;
10102
10182
  };
10103
10183
  } | {
@@ -10282,8 +10362,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10282
10362
  } | {
10283
10363
  type: "squareStreetz.postCreated";
10284
10364
  ids: {
10285
- userId: string;
10286
10365
  postId: string;
10366
+ userId: string;
10287
10367
  };
10288
10368
  } | {
10289
10369
  type: "audition.promptCreated";
@@ -10352,27 +10432,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10352
10432
  } | {
10353
10433
  type: "follow.created";
10354
10434
  ids: {
10355
- followerId: string;
10356
- followedId: string;
10435
+ targetType: "workRealm" | "user" | "workProject";
10436
+ targetId: string;
10437
+ followerUid: string;
10357
10438
  };
10358
10439
  } | {
10359
10440
  type: "follow.removed";
10360
10441
  ids: {
10361
- followerId: string;
10362
- followedId: string;
10442
+ targetType: "workRealm" | "user" | "workProject";
10443
+ targetId: string;
10444
+ followerUid: string;
10363
10445
  };
10364
10446
  } | {
10365
10447
  type: "squareStreetz.postLiked";
10366
10448
  ids: {
10367
- userId: string;
10368
10449
  postId: string;
10450
+ userId: string;
10369
10451
  authorId: string;
10370
10452
  };
10371
10453
  } | {
10372
10454
  type: "squareStreetz.postUnliked";
10373
10455
  ids: {
10374
- userId: string;
10375
10456
  postId: string;
10457
+ userId: string;
10376
10458
  authorId: string;
10377
10459
  };
10378
10460
  } | {
@@ -10582,11 +10664,11 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10582
10664
  errorMessage: string;
10583
10665
  rejectedAt: number;
10584
10666
  rejectionType: "text" | "media";
10667
+ textContent?: string | undefined;
10585
10668
  violationId?: string | undefined;
10586
10669
  originalContentType?: string | undefined;
10587
10670
  originalSize?: number | undefined;
10588
10671
  targetInfo?: unknown;
10589
- textContent?: string | undefined;
10590
10672
  processingStartedAt?: number | undefined;
10591
10673
  uploadTrayClearedAt?: number | undefined;
10592
10674
  uploadTrayClearedBy?: string | undefined;
@@ -10605,8 +10687,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10605
10687
  } | {
10606
10688
  type: "squareStreetz.postCreated";
10607
10689
  ids: {
10608
- userId: string;
10609
10690
  postId: string;
10691
+ userId: string;
10610
10692
  };
10611
10693
  } | {
10612
10694
  type: "audition.promptCreated";
@@ -10675,27 +10757,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10675
10757
  } | {
10676
10758
  type: "follow.created";
10677
10759
  ids: {
10678
- followerId: string;
10679
- followedId: string;
10760
+ targetType: "workRealm" | "user" | "workProject";
10761
+ targetId: string;
10762
+ followerUid: string;
10680
10763
  };
10681
10764
  } | {
10682
10765
  type: "follow.removed";
10683
10766
  ids: {
10684
- followerId: string;
10685
- followedId: string;
10767
+ targetType: "workRealm" | "user" | "workProject";
10768
+ targetId: string;
10769
+ followerUid: string;
10686
10770
  };
10687
10771
  } | {
10688
10772
  type: "squareStreetz.postLiked";
10689
10773
  ids: {
10690
- userId: string;
10691
10774
  postId: string;
10775
+ userId: string;
10692
10776
  authorId: string;
10693
10777
  };
10694
10778
  } | {
10695
10779
  type: "squareStreetz.postUnliked";
10696
10780
  ids: {
10697
- userId: string;
10698
10781
  postId: string;
10782
+ userId: string;
10699
10783
  authorId: string;
10700
10784
  };
10701
10785
  } | {
@@ -10883,11 +10967,11 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10883
10967
  errorMessage: string;
10884
10968
  rejectedAt: number;
10885
10969
  rejectionType: "text" | "media";
10970
+ textContent?: string | undefined;
10886
10971
  violationId?: string | undefined;
10887
10972
  originalContentType?: string | undefined;
10888
10973
  originalSize?: number | undefined;
10889
10974
  targetInfo?: unknown;
10890
- textContent?: string | undefined;
10891
10975
  processingStartedAt?: number | undefined;
10892
10976
  uploadTrayClearedAt?: number | undefined;
10893
10977
  uploadTrayClearedBy?: string | undefined;
@@ -10906,8 +10990,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10906
10990
  } | {
10907
10991
  type: "squareStreetz.postCreated";
10908
10992
  ids: {
10909
- userId: string;
10910
10993
  postId: string;
10994
+ userId: string;
10911
10995
  };
10912
10996
  } | {
10913
10997
  type: "audition.promptCreated";
@@ -10976,27 +11060,29 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
10976
11060
  } | {
10977
11061
  type: "follow.created";
10978
11062
  ids: {
10979
- followerId: string;
10980
- followedId: string;
11063
+ targetType: "workRealm" | "user" | "workProject";
11064
+ targetId: string;
11065
+ followerUid: string;
10981
11066
  };
10982
11067
  } | {
10983
11068
  type: "follow.removed";
10984
11069
  ids: {
10985
- followerId: string;
10986
- followedId: string;
11070
+ targetType: "workRealm" | "user" | "workProject";
11071
+ targetId: string;
11072
+ followerUid: string;
10987
11073
  };
10988
11074
  } | {
10989
11075
  type: "squareStreetz.postLiked";
10990
11076
  ids: {
10991
- userId: string;
10992
11077
  postId: string;
11078
+ userId: string;
10993
11079
  authorId: string;
10994
11080
  };
10995
11081
  } | {
10996
11082
  type: "squareStreetz.postUnliked";
10997
11083
  ids: {
10998
- userId: string;
10999
11084
  postId: string;
11085
+ userId: string;
11000
11086
  authorId: string;
11001
11087
  };
11002
11088
  } | {
@@ -11224,23 +11310,23 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
11224
11310
  userId: z.ZodString;
11225
11311
  postId: z.ZodString;
11226
11312
  }, "strict", z.ZodTypeAny, {
11227
- userId: string;
11228
11313
  postId: string;
11229
- }, {
11230
11314
  userId: string;
11315
+ }, {
11231
11316
  postId: string;
11317
+ userId: string;
11232
11318
  }>;
11233
11319
  }, "strict", z.ZodTypeAny, {
11234
11320
  type: "squareStreetz.postCreated";
11235
11321
  ids: {
11236
- userId: string;
11237
11322
  postId: string;
11323
+ userId: string;
11238
11324
  };
11239
11325
  }, {
11240
11326
  type: "squareStreetz.postCreated";
11241
11327
  ids: {
11242
- userId: string;
11243
11328
  postId: string;
11329
+ userId: string;
11244
11330
  };
11245
11331
  }>, z.ZodObject<{
11246
11332
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -11511,50 +11597,60 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
11511
11597
  }>, z.ZodObject<{
11512
11598
  type: z.ZodLiteral<"follow.created">;
11513
11599
  ids: z.ZodObject<{
11514
- followerId: z.ZodString;
11515
- followedId: z.ZodString;
11600
+ followerUid: z.ZodString;
11601
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
11602
+ targetId: z.ZodString;
11516
11603
  }, "strict", z.ZodTypeAny, {
11517
- followerId: string;
11518
- followedId: string;
11604
+ targetType: "workRealm" | "user" | "workProject";
11605
+ targetId: string;
11606
+ followerUid: string;
11519
11607
  }, {
11520
- followerId: string;
11521
- followedId: string;
11608
+ targetType: "workRealm" | "user" | "workProject";
11609
+ targetId: string;
11610
+ followerUid: string;
11522
11611
  }>;
11523
11612
  }, "strict", z.ZodTypeAny, {
11524
11613
  type: "follow.created";
11525
11614
  ids: {
11526
- followerId: string;
11527
- followedId: string;
11615
+ targetType: "workRealm" | "user" | "workProject";
11616
+ targetId: string;
11617
+ followerUid: string;
11528
11618
  };
11529
11619
  }, {
11530
11620
  type: "follow.created";
11531
11621
  ids: {
11532
- followerId: string;
11533
- followedId: string;
11622
+ targetType: "workRealm" | "user" | "workProject";
11623
+ targetId: string;
11624
+ followerUid: string;
11534
11625
  };
11535
11626
  }>, z.ZodObject<{
11536
11627
  type: z.ZodLiteral<"follow.removed">;
11537
11628
  ids: z.ZodObject<{
11538
- followerId: z.ZodString;
11539
- followedId: z.ZodString;
11629
+ followerUid: z.ZodString;
11630
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
11631
+ targetId: z.ZodString;
11540
11632
  }, "strict", z.ZodTypeAny, {
11541
- followerId: string;
11542
- followedId: string;
11633
+ targetType: "workRealm" | "user" | "workProject";
11634
+ targetId: string;
11635
+ followerUid: string;
11543
11636
  }, {
11544
- followerId: string;
11545
- followedId: string;
11637
+ targetType: "workRealm" | "user" | "workProject";
11638
+ targetId: string;
11639
+ followerUid: string;
11546
11640
  }>;
11547
11641
  }, "strict", z.ZodTypeAny, {
11548
11642
  type: "follow.removed";
11549
11643
  ids: {
11550
- followerId: string;
11551
- followedId: string;
11644
+ targetType: "workRealm" | "user" | "workProject";
11645
+ targetId: string;
11646
+ followerUid: string;
11552
11647
  };
11553
11648
  }, {
11554
11649
  type: "follow.removed";
11555
11650
  ids: {
11556
- followerId: string;
11557
- followedId: string;
11651
+ targetType: "workRealm" | "user" | "workProject";
11652
+ targetId: string;
11653
+ followerUid: string;
11558
11654
  };
11559
11655
  }>, z.ZodObject<{
11560
11656
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -11563,26 +11659,26 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
11563
11659
  postId: z.ZodString;
11564
11660
  authorId: z.ZodString;
11565
11661
  }, "strict", z.ZodTypeAny, {
11566
- userId: string;
11567
11662
  postId: string;
11663
+ userId: string;
11568
11664
  authorId: string;
11569
11665
  }, {
11570
- userId: string;
11571
11666
  postId: string;
11667
+ userId: string;
11572
11668
  authorId: string;
11573
11669
  }>;
11574
11670
  }, "strict", z.ZodTypeAny, {
11575
11671
  type: "squareStreetz.postLiked";
11576
11672
  ids: {
11577
- userId: string;
11578
11673
  postId: string;
11674
+ userId: string;
11579
11675
  authorId: string;
11580
11676
  };
11581
11677
  }, {
11582
11678
  type: "squareStreetz.postLiked";
11583
11679
  ids: {
11584
- userId: string;
11585
11680
  postId: string;
11681
+ userId: string;
11586
11682
  authorId: string;
11587
11683
  };
11588
11684
  }>, z.ZodObject<{
@@ -11592,26 +11688,26 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
11592
11688
  postId: z.ZodString;
11593
11689
  authorId: z.ZodString;
11594
11690
  }, "strict", z.ZodTypeAny, {
11595
- userId: string;
11596
11691
  postId: string;
11692
+ userId: string;
11597
11693
  authorId: string;
11598
11694
  }, {
11599
- userId: string;
11600
11695
  postId: string;
11696
+ userId: string;
11601
11697
  authorId: string;
11602
11698
  }>;
11603
11699
  }, "strict", z.ZodTypeAny, {
11604
11700
  type: "squareStreetz.postUnliked";
11605
11701
  ids: {
11606
- userId: string;
11607
11702
  postId: string;
11703
+ userId: string;
11608
11704
  authorId: string;
11609
11705
  };
11610
11706
  }, {
11611
11707
  type: "squareStreetz.postUnliked";
11612
11708
  ids: {
11613
- userId: string;
11614
11709
  postId: string;
11710
+ userId: string;
11615
11711
  authorId: string;
11616
11712
  };
11617
11713
  }>, z.ZodObject<{
@@ -12286,8 +12382,8 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
12286
12382
  } | {
12287
12383
  type: "squareStreetz.postCreated";
12288
12384
  ids: {
12289
- userId: string;
12290
12385
  postId: string;
12386
+ userId: string;
12291
12387
  };
12292
12388
  } | {
12293
12389
  type: "audition.promptCreated";
@@ -12356,27 +12452,29 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
12356
12452
  } | {
12357
12453
  type: "follow.created";
12358
12454
  ids: {
12359
- followerId: string;
12360
- followedId: string;
12455
+ targetType: "workRealm" | "user" | "workProject";
12456
+ targetId: string;
12457
+ followerUid: string;
12361
12458
  };
12362
12459
  } | {
12363
12460
  type: "follow.removed";
12364
12461
  ids: {
12365
- followerId: string;
12366
- followedId: string;
12462
+ targetType: "workRealm" | "user" | "workProject";
12463
+ targetId: string;
12464
+ followerUid: string;
12367
12465
  };
12368
12466
  } | {
12369
12467
  type: "squareStreetz.postLiked";
12370
12468
  ids: {
12371
- userId: string;
12372
12469
  postId: string;
12470
+ userId: string;
12373
12471
  authorId: string;
12374
12472
  };
12375
12473
  } | {
12376
12474
  type: "squareStreetz.postUnliked";
12377
12475
  ids: {
12378
- userId: string;
12379
12476
  postId: string;
12477
+ userId: string;
12380
12478
  authorId: string;
12381
12479
  };
12382
12480
  } | {
@@ -12561,8 +12659,8 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
12561
12659
  } | {
12562
12660
  type: "squareStreetz.postCreated";
12563
12661
  ids: {
12564
- userId: string;
12565
12662
  postId: string;
12663
+ userId: string;
12566
12664
  };
12567
12665
  } | {
12568
12666
  type: "audition.promptCreated";
@@ -12631,27 +12729,29 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
12631
12729
  } | {
12632
12730
  type: "follow.created";
12633
12731
  ids: {
12634
- followerId: string;
12635
- followedId: string;
12732
+ targetType: "workRealm" | "user" | "workProject";
12733
+ targetId: string;
12734
+ followerUid: string;
12636
12735
  };
12637
12736
  } | {
12638
12737
  type: "follow.removed";
12639
12738
  ids: {
12640
- followerId: string;
12641
- followedId: string;
12739
+ targetType: "workRealm" | "user" | "workProject";
12740
+ targetId: string;
12741
+ followerUid: string;
12642
12742
  };
12643
12743
  } | {
12644
12744
  type: "squareStreetz.postLiked";
12645
12745
  ids: {
12646
- userId: string;
12647
12746
  postId: string;
12747
+ userId: string;
12648
12748
  authorId: string;
12649
12749
  };
12650
12750
  } | {
12651
12751
  type: "squareStreetz.postUnliked";
12652
12752
  ids: {
12653
- userId: string;
12654
12753
  postId: string;
12754
+ userId: string;
12655
12755
  authorId: string;
12656
12756
  };
12657
12757
  } | {
@@ -12875,8 +12975,8 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
12875
12975
  } | {
12876
12976
  type: "squareStreetz.postCreated";
12877
12977
  ids: {
12878
- userId: string;
12879
12978
  postId: string;
12979
+ userId: string;
12880
12980
  };
12881
12981
  } | {
12882
12982
  type: "audition.promptCreated";
@@ -12945,27 +13045,29 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
12945
13045
  } | {
12946
13046
  type: "follow.created";
12947
13047
  ids: {
12948
- followerId: string;
12949
- followedId: string;
13048
+ targetType: "workRealm" | "user" | "workProject";
13049
+ targetId: string;
13050
+ followerUid: string;
12950
13051
  };
12951
13052
  } | {
12952
13053
  type: "follow.removed";
12953
13054
  ids: {
12954
- followerId: string;
12955
- followedId: string;
13055
+ targetType: "workRealm" | "user" | "workProject";
13056
+ targetId: string;
13057
+ followerUid: string;
12956
13058
  };
12957
13059
  } | {
12958
13060
  type: "squareStreetz.postLiked";
12959
13061
  ids: {
12960
- userId: string;
12961
13062
  postId: string;
13063
+ userId: string;
12962
13064
  authorId: string;
12963
13065
  };
12964
13066
  } | {
12965
13067
  type: "squareStreetz.postUnliked";
12966
13068
  ids: {
12967
- userId: string;
12968
13069
  postId: string;
13070
+ userId: string;
12969
13071
  authorId: string;
12970
13072
  };
12971
13073
  } | {
@@ -13137,10 +13239,10 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
13137
13239
  }[] | undefined;
13138
13240
  };
13139
13241
  archivedAt: number;
13242
+ textContent?: string | undefined;
13140
13243
  originalContentType?: string | undefined;
13141
13244
  originalSize?: number | undefined;
13142
13245
  targetInfo?: unknown;
13143
- textContent?: string | undefined;
13144
13246
  processingStartedAt?: number | undefined;
13145
13247
  uploadTrayClearedAt?: number | undefined;
13146
13248
  uploadTrayClearedBy?: string | undefined;
@@ -13174,8 +13276,8 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
13174
13276
  } | {
13175
13277
  type: "squareStreetz.postCreated";
13176
13278
  ids: {
13177
- userId: string;
13178
13279
  postId: string;
13280
+ userId: string;
13179
13281
  };
13180
13282
  } | {
13181
13283
  type: "audition.promptCreated";
@@ -13244,27 +13346,29 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
13244
13346
  } | {
13245
13347
  type: "follow.created";
13246
13348
  ids: {
13247
- followerId: string;
13248
- followedId: string;
13349
+ targetType: "workRealm" | "user" | "workProject";
13350
+ targetId: string;
13351
+ followerUid: string;
13249
13352
  };
13250
13353
  } | {
13251
13354
  type: "follow.removed";
13252
13355
  ids: {
13253
- followerId: string;
13254
- followedId: string;
13356
+ targetType: "workRealm" | "user" | "workProject";
13357
+ targetId: string;
13358
+ followerUid: string;
13255
13359
  };
13256
13360
  } | {
13257
13361
  type: "squareStreetz.postLiked";
13258
13362
  ids: {
13259
- userId: string;
13260
13363
  postId: string;
13364
+ userId: string;
13261
13365
  authorId: string;
13262
13366
  };
13263
13367
  } | {
13264
13368
  type: "squareStreetz.postUnliked";
13265
13369
  ids: {
13266
- userId: string;
13267
13370
  postId: string;
13371
+ userId: string;
13268
13372
  authorId: string;
13269
13373
  };
13270
13374
  } | {
@@ -13436,10 +13540,10 @@ export declare const ArchivedPendingMediaCompletedSchema: z.ZodObject<{
13436
13540
  }[] | undefined;
13437
13541
  };
13438
13542
  archivedAt: number;
13543
+ textContent?: string | undefined;
13439
13544
  originalContentType?: string | undefined;
13440
13545
  originalSize?: number | undefined;
13441
13546
  targetInfo?: unknown;
13442
- textContent?: string | undefined;
13443
13547
  processingStartedAt?: number | undefined;
13444
13548
  uploadTrayClearedAt?: number | undefined;
13445
13549
  uploadTrayClearedBy?: string | undefined;
@@ -13493,10 +13597,10 @@ export declare const ArchivedPendingMediaFailedSchema: z.ZodObject<{
13493
13597
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
13494
13598
  errorMessage: string;
13495
13599
  archivedAt: number;
13600
+ textContent?: string | undefined;
13496
13601
  originalContentType?: string | undefined;
13497
13602
  originalSize?: number | undefined;
13498
13603
  targetInfo?: unknown;
13499
- textContent?: string | undefined;
13500
13604
  processingStartedAt?: number | undefined;
13501
13605
  uploadTrayClearedAt?: number | undefined;
13502
13606
  uploadTrayClearedBy?: string | undefined;
@@ -13518,10 +13622,10 @@ export declare const ArchivedPendingMediaFailedSchema: z.ZodObject<{
13518
13622
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
13519
13623
  errorMessage: string;
13520
13624
  archivedAt: number;
13625
+ textContent?: string | undefined;
13521
13626
  originalContentType?: string | undefined;
13522
13627
  originalSize?: number | undefined;
13523
13628
  targetInfo?: unknown;
13524
- textContent?: string | undefined;
13525
13629
  processingStartedAt?: number | undefined;
13526
13630
  uploadTrayClearedAt?: number | undefined;
13527
13631
  uploadTrayClearedBy?: string | undefined;
@@ -13585,23 +13689,23 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
13585
13689
  userId: z.ZodString;
13586
13690
  postId: z.ZodString;
13587
13691
  }, "strict", z.ZodTypeAny, {
13588
- userId: string;
13589
13692
  postId: string;
13590
- }, {
13591
13693
  userId: string;
13694
+ }, {
13592
13695
  postId: string;
13696
+ userId: string;
13593
13697
  }>;
13594
13698
  }, "strict", z.ZodTypeAny, {
13595
13699
  type: "squareStreetz.postCreated";
13596
13700
  ids: {
13597
- userId: string;
13598
13701
  postId: string;
13702
+ userId: string;
13599
13703
  };
13600
13704
  }, {
13601
13705
  type: "squareStreetz.postCreated";
13602
13706
  ids: {
13603
- userId: string;
13604
13707
  postId: string;
13708
+ userId: string;
13605
13709
  };
13606
13710
  }>, z.ZodObject<{
13607
13711
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -13872,50 +13976,60 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
13872
13976
  }>, z.ZodObject<{
13873
13977
  type: z.ZodLiteral<"follow.created">;
13874
13978
  ids: z.ZodObject<{
13875
- followerId: z.ZodString;
13876
- followedId: z.ZodString;
13979
+ followerUid: z.ZodString;
13980
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
13981
+ targetId: z.ZodString;
13877
13982
  }, "strict", z.ZodTypeAny, {
13878
- followerId: string;
13879
- followedId: string;
13983
+ targetType: "workRealm" | "user" | "workProject";
13984
+ targetId: string;
13985
+ followerUid: string;
13880
13986
  }, {
13881
- followerId: string;
13882
- followedId: string;
13987
+ targetType: "workRealm" | "user" | "workProject";
13988
+ targetId: string;
13989
+ followerUid: string;
13883
13990
  }>;
13884
13991
  }, "strict", z.ZodTypeAny, {
13885
13992
  type: "follow.created";
13886
13993
  ids: {
13887
- followerId: string;
13888
- followedId: string;
13994
+ targetType: "workRealm" | "user" | "workProject";
13995
+ targetId: string;
13996
+ followerUid: string;
13889
13997
  };
13890
13998
  }, {
13891
13999
  type: "follow.created";
13892
14000
  ids: {
13893
- followerId: string;
13894
- followedId: string;
14001
+ targetType: "workRealm" | "user" | "workProject";
14002
+ targetId: string;
14003
+ followerUid: string;
13895
14004
  };
13896
14005
  }>, z.ZodObject<{
13897
14006
  type: z.ZodLiteral<"follow.removed">;
13898
14007
  ids: z.ZodObject<{
13899
- followerId: z.ZodString;
13900
- followedId: z.ZodString;
14008
+ followerUid: z.ZodString;
14009
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
14010
+ targetId: z.ZodString;
13901
14011
  }, "strict", z.ZodTypeAny, {
13902
- followerId: string;
13903
- followedId: string;
14012
+ targetType: "workRealm" | "user" | "workProject";
14013
+ targetId: string;
14014
+ followerUid: string;
13904
14015
  }, {
13905
- followerId: string;
13906
- followedId: string;
14016
+ targetType: "workRealm" | "user" | "workProject";
14017
+ targetId: string;
14018
+ followerUid: string;
13907
14019
  }>;
13908
14020
  }, "strict", z.ZodTypeAny, {
13909
14021
  type: "follow.removed";
13910
14022
  ids: {
13911
- followerId: string;
13912
- followedId: string;
14023
+ targetType: "workRealm" | "user" | "workProject";
14024
+ targetId: string;
14025
+ followerUid: string;
13913
14026
  };
13914
14027
  }, {
13915
14028
  type: "follow.removed";
13916
14029
  ids: {
13917
- followerId: string;
13918
- followedId: string;
14030
+ targetType: "workRealm" | "user" | "workProject";
14031
+ targetId: string;
14032
+ followerUid: string;
13919
14033
  };
13920
14034
  }>, z.ZodObject<{
13921
14035
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -13924,26 +14038,26 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
13924
14038
  postId: z.ZodString;
13925
14039
  authorId: z.ZodString;
13926
14040
  }, "strict", z.ZodTypeAny, {
13927
- userId: string;
13928
14041
  postId: string;
14042
+ userId: string;
13929
14043
  authorId: string;
13930
14044
  }, {
13931
- userId: string;
13932
14045
  postId: string;
14046
+ userId: string;
13933
14047
  authorId: string;
13934
14048
  }>;
13935
14049
  }, "strict", z.ZodTypeAny, {
13936
14050
  type: "squareStreetz.postLiked";
13937
14051
  ids: {
13938
- userId: string;
13939
14052
  postId: string;
14053
+ userId: string;
13940
14054
  authorId: string;
13941
14055
  };
13942
14056
  }, {
13943
14057
  type: "squareStreetz.postLiked";
13944
14058
  ids: {
13945
- userId: string;
13946
14059
  postId: string;
14060
+ userId: string;
13947
14061
  authorId: string;
13948
14062
  };
13949
14063
  }>, z.ZodObject<{
@@ -13953,26 +14067,26 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
13953
14067
  postId: z.ZodString;
13954
14068
  authorId: z.ZodString;
13955
14069
  }, "strict", z.ZodTypeAny, {
13956
- userId: string;
13957
14070
  postId: string;
14071
+ userId: string;
13958
14072
  authorId: string;
13959
14073
  }, {
13960
- userId: string;
13961
14074
  postId: string;
14075
+ userId: string;
13962
14076
  authorId: string;
13963
14077
  }>;
13964
14078
  }, "strict", z.ZodTypeAny, {
13965
14079
  type: "squareStreetz.postUnliked";
13966
14080
  ids: {
13967
- userId: string;
13968
14081
  postId: string;
14082
+ userId: string;
13969
14083
  authorId: string;
13970
14084
  };
13971
14085
  }, {
13972
14086
  type: "squareStreetz.postUnliked";
13973
14087
  ids: {
13974
- userId: string;
13975
14088
  postId: string;
14089
+ userId: string;
13976
14090
  authorId: string;
13977
14091
  };
13978
14092
  }>, z.ZodObject<{
@@ -14647,8 +14761,8 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
14647
14761
  } | {
14648
14762
  type: "squareStreetz.postCreated";
14649
14763
  ids: {
14650
- userId: string;
14651
14764
  postId: string;
14765
+ userId: string;
14652
14766
  };
14653
14767
  } | {
14654
14768
  type: "audition.promptCreated";
@@ -14717,27 +14831,29 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
14717
14831
  } | {
14718
14832
  type: "follow.created";
14719
14833
  ids: {
14720
- followerId: string;
14721
- followedId: string;
14834
+ targetType: "workRealm" | "user" | "workProject";
14835
+ targetId: string;
14836
+ followerUid: string;
14722
14837
  };
14723
14838
  } | {
14724
14839
  type: "follow.removed";
14725
14840
  ids: {
14726
- followerId: string;
14727
- followedId: string;
14841
+ targetType: "workRealm" | "user" | "workProject";
14842
+ targetId: string;
14843
+ followerUid: string;
14728
14844
  };
14729
14845
  } | {
14730
14846
  type: "squareStreetz.postLiked";
14731
14847
  ids: {
14732
- userId: string;
14733
14848
  postId: string;
14849
+ userId: string;
14734
14850
  authorId: string;
14735
14851
  };
14736
14852
  } | {
14737
14853
  type: "squareStreetz.postUnliked";
14738
14854
  ids: {
14739
- userId: string;
14740
14855
  postId: string;
14856
+ userId: string;
14741
14857
  authorId: string;
14742
14858
  };
14743
14859
  } | {
@@ -14922,8 +15038,8 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
14922
15038
  } | {
14923
15039
  type: "squareStreetz.postCreated";
14924
15040
  ids: {
14925
- userId: string;
14926
15041
  postId: string;
15042
+ userId: string;
14927
15043
  };
14928
15044
  } | {
14929
15045
  type: "audition.promptCreated";
@@ -14992,27 +15108,29 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
14992
15108
  } | {
14993
15109
  type: "follow.created";
14994
15110
  ids: {
14995
- followerId: string;
14996
- followedId: string;
15111
+ targetType: "workRealm" | "user" | "workProject";
15112
+ targetId: string;
15113
+ followerUid: string;
14997
15114
  };
14998
15115
  } | {
14999
15116
  type: "follow.removed";
15000
15117
  ids: {
15001
- followerId: string;
15002
- followedId: string;
15118
+ targetType: "workRealm" | "user" | "workProject";
15119
+ targetId: string;
15120
+ followerUid: string;
15003
15121
  };
15004
15122
  } | {
15005
15123
  type: "squareStreetz.postLiked";
15006
15124
  ids: {
15007
- userId: string;
15008
15125
  postId: string;
15126
+ userId: string;
15009
15127
  authorId: string;
15010
15128
  };
15011
15129
  } | {
15012
15130
  type: "squareStreetz.postUnliked";
15013
15131
  ids: {
15014
- userId: string;
15015
15132
  postId: string;
15133
+ userId: string;
15016
15134
  authorId: string;
15017
15135
  };
15018
15136
  } | {
@@ -15224,11 +15342,11 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
15224
15342
  rejectedAt: number;
15225
15343
  rejectionType: "text" | "media";
15226
15344
  archivedAt: number;
15345
+ textContent?: string | undefined;
15227
15346
  violationId?: string | undefined;
15228
15347
  originalContentType?: string | undefined;
15229
15348
  originalSize?: number | undefined;
15230
15349
  targetInfo?: unknown;
15231
- textContent?: string | undefined;
15232
15350
  processingStartedAt?: number | undefined;
15233
15351
  uploadTrayClearedAt?: number | undefined;
15234
15352
  uploadTrayClearedBy?: string | undefined;
@@ -15247,8 +15365,8 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
15247
15365
  } | {
15248
15366
  type: "squareStreetz.postCreated";
15249
15367
  ids: {
15250
- userId: string;
15251
15368
  postId: string;
15369
+ userId: string;
15252
15370
  };
15253
15371
  } | {
15254
15372
  type: "audition.promptCreated";
@@ -15317,27 +15435,29 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
15317
15435
  } | {
15318
15436
  type: "follow.created";
15319
15437
  ids: {
15320
- followerId: string;
15321
- followedId: string;
15438
+ targetType: "workRealm" | "user" | "workProject";
15439
+ targetId: string;
15440
+ followerUid: string;
15322
15441
  };
15323
15442
  } | {
15324
15443
  type: "follow.removed";
15325
15444
  ids: {
15326
- followerId: string;
15327
- followedId: string;
15445
+ targetType: "workRealm" | "user" | "workProject";
15446
+ targetId: string;
15447
+ followerUid: string;
15328
15448
  };
15329
15449
  } | {
15330
15450
  type: "squareStreetz.postLiked";
15331
15451
  ids: {
15332
- userId: string;
15333
15452
  postId: string;
15453
+ userId: string;
15334
15454
  authorId: string;
15335
15455
  };
15336
15456
  } | {
15337
15457
  type: "squareStreetz.postUnliked";
15338
15458
  ids: {
15339
- userId: string;
15340
15459
  postId: string;
15460
+ userId: string;
15341
15461
  authorId: string;
15342
15462
  };
15343
15463
  } | {
@@ -15526,11 +15646,11 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
15526
15646
  rejectedAt: number;
15527
15647
  rejectionType: "text" | "media";
15528
15648
  archivedAt: number;
15649
+ textContent?: string | undefined;
15529
15650
  violationId?: string | undefined;
15530
15651
  originalContentType?: string | undefined;
15531
15652
  originalSize?: number | undefined;
15532
15653
  targetInfo?: unknown;
15533
- textContent?: string | undefined;
15534
15654
  processingStartedAt?: number | undefined;
15535
15655
  uploadTrayClearedAt?: number | undefined;
15536
15656
  uploadTrayClearedBy?: string | undefined;
@@ -15549,8 +15669,8 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
15549
15669
  } | {
15550
15670
  type: "squareStreetz.postCreated";
15551
15671
  ids: {
15552
- userId: string;
15553
15672
  postId: string;
15673
+ userId: string;
15554
15674
  };
15555
15675
  } | {
15556
15676
  type: "audition.promptCreated";
@@ -15619,27 +15739,29 @@ export declare const ArchivedPendingMediaRejectedSchema: z.ZodObject<{
15619
15739
  } | {
15620
15740
  type: "follow.created";
15621
15741
  ids: {
15622
- followerId: string;
15623
- followedId: string;
15742
+ targetType: "workRealm" | "user" | "workProject";
15743
+ targetId: string;
15744
+ followerUid: string;
15624
15745
  };
15625
15746
  } | {
15626
15747
  type: "follow.removed";
15627
15748
  ids: {
15628
- followerId: string;
15629
- followedId: string;
15749
+ targetType: "workRealm" | "user" | "workProject";
15750
+ targetId: string;
15751
+ followerUid: string;
15630
15752
  };
15631
15753
  } | {
15632
15754
  type: "squareStreetz.postLiked";
15633
15755
  ids: {
15634
- userId: string;
15635
15756
  postId: string;
15757
+ userId: string;
15636
15758
  authorId: string;
15637
15759
  };
15638
15760
  } | {
15639
15761
  type: "squareStreetz.postUnliked";
15640
15762
  ids: {
15641
- userId: string;
15642
15763
  postId: string;
15764
+ userId: string;
15643
15765
  authorId: string;
15644
15766
  };
15645
15767
  } | {
@@ -15867,23 +15989,23 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
15867
15989
  userId: z.ZodString;
15868
15990
  postId: z.ZodString;
15869
15991
  }, "strict", z.ZodTypeAny, {
15870
- userId: string;
15871
15992
  postId: string;
15872
- }, {
15873
15993
  userId: string;
15994
+ }, {
15874
15995
  postId: string;
15996
+ userId: string;
15875
15997
  }>;
15876
15998
  }, "strict", z.ZodTypeAny, {
15877
15999
  type: "squareStreetz.postCreated";
15878
16000
  ids: {
15879
- userId: string;
15880
16001
  postId: string;
16002
+ userId: string;
15881
16003
  };
15882
16004
  }, {
15883
16005
  type: "squareStreetz.postCreated";
15884
16006
  ids: {
15885
- userId: string;
15886
16007
  postId: string;
16008
+ userId: string;
15887
16009
  };
15888
16010
  }>, z.ZodObject<{
15889
16011
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -16154,50 +16276,60 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
16154
16276
  }>, z.ZodObject<{
16155
16277
  type: z.ZodLiteral<"follow.created">;
16156
16278
  ids: z.ZodObject<{
16157
- followerId: z.ZodString;
16158
- followedId: z.ZodString;
16279
+ followerUid: z.ZodString;
16280
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
16281
+ targetId: z.ZodString;
16159
16282
  }, "strict", z.ZodTypeAny, {
16160
- followerId: string;
16161
- followedId: string;
16283
+ targetType: "workRealm" | "user" | "workProject";
16284
+ targetId: string;
16285
+ followerUid: string;
16162
16286
  }, {
16163
- followerId: string;
16164
- followedId: string;
16287
+ targetType: "workRealm" | "user" | "workProject";
16288
+ targetId: string;
16289
+ followerUid: string;
16165
16290
  }>;
16166
16291
  }, "strict", z.ZodTypeAny, {
16167
16292
  type: "follow.created";
16168
16293
  ids: {
16169
- followerId: string;
16170
- followedId: string;
16294
+ targetType: "workRealm" | "user" | "workProject";
16295
+ targetId: string;
16296
+ followerUid: string;
16171
16297
  };
16172
16298
  }, {
16173
16299
  type: "follow.created";
16174
16300
  ids: {
16175
- followerId: string;
16176
- followedId: string;
16301
+ targetType: "workRealm" | "user" | "workProject";
16302
+ targetId: string;
16303
+ followerUid: string;
16177
16304
  };
16178
16305
  }>, z.ZodObject<{
16179
16306
  type: z.ZodLiteral<"follow.removed">;
16180
16307
  ids: z.ZodObject<{
16181
- followerId: z.ZodString;
16182
- followedId: z.ZodString;
16308
+ followerUid: z.ZodString;
16309
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
16310
+ targetId: z.ZodString;
16183
16311
  }, "strict", z.ZodTypeAny, {
16184
- followerId: string;
16185
- followedId: string;
16312
+ targetType: "workRealm" | "user" | "workProject";
16313
+ targetId: string;
16314
+ followerUid: string;
16186
16315
  }, {
16187
- followerId: string;
16188
- followedId: string;
16316
+ targetType: "workRealm" | "user" | "workProject";
16317
+ targetId: string;
16318
+ followerUid: string;
16189
16319
  }>;
16190
16320
  }, "strict", z.ZodTypeAny, {
16191
16321
  type: "follow.removed";
16192
16322
  ids: {
16193
- followerId: string;
16194
- followedId: string;
16323
+ targetType: "workRealm" | "user" | "workProject";
16324
+ targetId: string;
16325
+ followerUid: string;
16195
16326
  };
16196
16327
  }, {
16197
16328
  type: "follow.removed";
16198
16329
  ids: {
16199
- followerId: string;
16200
- followedId: string;
16330
+ targetType: "workRealm" | "user" | "workProject";
16331
+ targetId: string;
16332
+ followerUid: string;
16201
16333
  };
16202
16334
  }>, z.ZodObject<{
16203
16335
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -16206,26 +16338,26 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
16206
16338
  postId: z.ZodString;
16207
16339
  authorId: z.ZodString;
16208
16340
  }, "strict", z.ZodTypeAny, {
16209
- userId: string;
16210
16341
  postId: string;
16342
+ userId: string;
16211
16343
  authorId: string;
16212
16344
  }, {
16213
- userId: string;
16214
16345
  postId: string;
16346
+ userId: string;
16215
16347
  authorId: string;
16216
16348
  }>;
16217
16349
  }, "strict", z.ZodTypeAny, {
16218
16350
  type: "squareStreetz.postLiked";
16219
16351
  ids: {
16220
- userId: string;
16221
16352
  postId: string;
16353
+ userId: string;
16222
16354
  authorId: string;
16223
16355
  };
16224
16356
  }, {
16225
16357
  type: "squareStreetz.postLiked";
16226
16358
  ids: {
16227
- userId: string;
16228
16359
  postId: string;
16360
+ userId: string;
16229
16361
  authorId: string;
16230
16362
  };
16231
16363
  }>, z.ZodObject<{
@@ -16235,26 +16367,26 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
16235
16367
  postId: z.ZodString;
16236
16368
  authorId: z.ZodString;
16237
16369
  }, "strict", z.ZodTypeAny, {
16238
- userId: string;
16239
16370
  postId: string;
16371
+ userId: string;
16240
16372
  authorId: string;
16241
16373
  }, {
16242
- userId: string;
16243
16374
  postId: string;
16375
+ userId: string;
16244
16376
  authorId: string;
16245
16377
  }>;
16246
16378
  }, "strict", z.ZodTypeAny, {
16247
16379
  type: "squareStreetz.postUnliked";
16248
16380
  ids: {
16249
- userId: string;
16250
16381
  postId: string;
16382
+ userId: string;
16251
16383
  authorId: string;
16252
16384
  };
16253
16385
  }, {
16254
16386
  type: "squareStreetz.postUnliked";
16255
16387
  ids: {
16256
- userId: string;
16257
16388
  postId: string;
16389
+ userId: string;
16258
16390
  authorId: string;
16259
16391
  };
16260
16392
  }>, z.ZodObject<{
@@ -16929,8 +17061,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
16929
17061
  } | {
16930
17062
  type: "squareStreetz.postCreated";
16931
17063
  ids: {
16932
- userId: string;
16933
17064
  postId: string;
17065
+ userId: string;
16934
17066
  };
16935
17067
  } | {
16936
17068
  type: "audition.promptCreated";
@@ -16999,27 +17131,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
16999
17131
  } | {
17000
17132
  type: "follow.created";
17001
17133
  ids: {
17002
- followerId: string;
17003
- followedId: string;
17134
+ targetType: "workRealm" | "user" | "workProject";
17135
+ targetId: string;
17136
+ followerUid: string;
17004
17137
  };
17005
17138
  } | {
17006
17139
  type: "follow.removed";
17007
17140
  ids: {
17008
- followerId: string;
17009
- followedId: string;
17141
+ targetType: "workRealm" | "user" | "workProject";
17142
+ targetId: string;
17143
+ followerUid: string;
17010
17144
  };
17011
17145
  } | {
17012
17146
  type: "squareStreetz.postLiked";
17013
17147
  ids: {
17014
- userId: string;
17015
17148
  postId: string;
17149
+ userId: string;
17016
17150
  authorId: string;
17017
17151
  };
17018
17152
  } | {
17019
17153
  type: "squareStreetz.postUnliked";
17020
17154
  ids: {
17021
- userId: string;
17022
17155
  postId: string;
17156
+ userId: string;
17023
17157
  authorId: string;
17024
17158
  };
17025
17159
  } | {
@@ -17204,8 +17338,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17204
17338
  } | {
17205
17339
  type: "squareStreetz.postCreated";
17206
17340
  ids: {
17207
- userId: string;
17208
17341
  postId: string;
17342
+ userId: string;
17209
17343
  };
17210
17344
  } | {
17211
17345
  type: "audition.promptCreated";
@@ -17274,27 +17408,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17274
17408
  } | {
17275
17409
  type: "follow.created";
17276
17410
  ids: {
17277
- followerId: string;
17278
- followedId: string;
17411
+ targetType: "workRealm" | "user" | "workProject";
17412
+ targetId: string;
17413
+ followerUid: string;
17279
17414
  };
17280
17415
  } | {
17281
17416
  type: "follow.removed";
17282
17417
  ids: {
17283
- followerId: string;
17284
- followedId: string;
17418
+ targetType: "workRealm" | "user" | "workProject";
17419
+ targetId: string;
17420
+ followerUid: string;
17285
17421
  };
17286
17422
  } | {
17287
17423
  type: "squareStreetz.postLiked";
17288
17424
  ids: {
17289
- userId: string;
17290
17425
  postId: string;
17426
+ userId: string;
17291
17427
  authorId: string;
17292
17428
  };
17293
17429
  } | {
17294
17430
  type: "squareStreetz.postUnliked";
17295
17431
  ids: {
17296
- userId: string;
17297
17432
  postId: string;
17433
+ userId: string;
17298
17434
  authorId: string;
17299
17435
  };
17300
17436
  } | {
@@ -17518,8 +17654,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17518
17654
  } | {
17519
17655
  type: "squareStreetz.postCreated";
17520
17656
  ids: {
17521
- userId: string;
17522
17657
  postId: string;
17658
+ userId: string;
17523
17659
  };
17524
17660
  } | {
17525
17661
  type: "audition.promptCreated";
@@ -17588,27 +17724,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17588
17724
  } | {
17589
17725
  type: "follow.created";
17590
17726
  ids: {
17591
- followerId: string;
17592
- followedId: string;
17727
+ targetType: "workRealm" | "user" | "workProject";
17728
+ targetId: string;
17729
+ followerUid: string;
17593
17730
  };
17594
17731
  } | {
17595
17732
  type: "follow.removed";
17596
17733
  ids: {
17597
- followerId: string;
17598
- followedId: string;
17734
+ targetType: "workRealm" | "user" | "workProject";
17735
+ targetId: string;
17736
+ followerUid: string;
17599
17737
  };
17600
17738
  } | {
17601
17739
  type: "squareStreetz.postLiked";
17602
17740
  ids: {
17603
- userId: string;
17604
17741
  postId: string;
17742
+ userId: string;
17605
17743
  authorId: string;
17606
17744
  };
17607
17745
  } | {
17608
17746
  type: "squareStreetz.postUnliked";
17609
17747
  ids: {
17610
- userId: string;
17611
17748
  postId: string;
17749
+ userId: string;
17612
17750
  authorId: string;
17613
17751
  };
17614
17752
  } | {
@@ -17780,10 +17918,10 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17780
17918
  }[] | undefined;
17781
17919
  };
17782
17920
  archivedAt: number;
17921
+ textContent?: string | undefined;
17783
17922
  originalContentType?: string | undefined;
17784
17923
  originalSize?: number | undefined;
17785
17924
  targetInfo?: unknown;
17786
- textContent?: string | undefined;
17787
17925
  processingStartedAt?: number | undefined;
17788
17926
  uploadTrayClearedAt?: number | undefined;
17789
17927
  uploadTrayClearedBy?: string | undefined;
@@ -17817,8 +17955,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17817
17955
  } | {
17818
17956
  type: "squareStreetz.postCreated";
17819
17957
  ids: {
17820
- userId: string;
17821
17958
  postId: string;
17959
+ userId: string;
17822
17960
  };
17823
17961
  } | {
17824
17962
  type: "audition.promptCreated";
@@ -17887,27 +18025,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
17887
18025
  } | {
17888
18026
  type: "follow.created";
17889
18027
  ids: {
17890
- followerId: string;
17891
- followedId: string;
18028
+ targetType: "workRealm" | "user" | "workProject";
18029
+ targetId: string;
18030
+ followerUid: string;
17892
18031
  };
17893
18032
  } | {
17894
18033
  type: "follow.removed";
17895
18034
  ids: {
17896
- followerId: string;
17897
- followedId: string;
18035
+ targetType: "workRealm" | "user" | "workProject";
18036
+ targetId: string;
18037
+ followerUid: string;
17898
18038
  };
17899
18039
  } | {
17900
18040
  type: "squareStreetz.postLiked";
17901
18041
  ids: {
17902
- userId: string;
17903
18042
  postId: string;
18043
+ userId: string;
17904
18044
  authorId: string;
17905
18045
  };
17906
18046
  } | {
17907
18047
  type: "squareStreetz.postUnliked";
17908
18048
  ids: {
17909
- userId: string;
17910
18049
  postId: string;
18050
+ userId: string;
17911
18051
  authorId: string;
17912
18052
  };
17913
18053
  } | {
@@ -18079,10 +18219,10 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18079
18219
  }[] | undefined;
18080
18220
  };
18081
18221
  archivedAt: number;
18222
+ textContent?: string | undefined;
18082
18223
  originalContentType?: string | undefined;
18083
18224
  originalSize?: number | undefined;
18084
18225
  targetInfo?: unknown;
18085
- textContent?: string | undefined;
18086
18226
  processingStartedAt?: number | undefined;
18087
18227
  uploadTrayClearedAt?: number | undefined;
18088
18228
  uploadTrayClearedBy?: string | undefined;
@@ -18135,10 +18275,10 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18135
18275
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
18136
18276
  errorMessage: string;
18137
18277
  archivedAt: number;
18278
+ textContent?: string | undefined;
18138
18279
  originalContentType?: string | undefined;
18139
18280
  originalSize?: number | undefined;
18140
18281
  targetInfo?: unknown;
18141
- textContent?: string | undefined;
18142
18282
  processingStartedAt?: number | undefined;
18143
18283
  uploadTrayClearedAt?: number | undefined;
18144
18284
  uploadTrayClearedBy?: string | undefined;
@@ -18160,10 +18300,10 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18160
18300
  errorCategory: "validation" | "system" | "rate_limit" | "kind_mismatch" | "storage" | "moderation";
18161
18301
  errorMessage: string;
18162
18302
  archivedAt: number;
18303
+ textContent?: string | undefined;
18163
18304
  originalContentType?: string | undefined;
18164
18305
  originalSize?: number | undefined;
18165
18306
  targetInfo?: unknown;
18166
- textContent?: string | undefined;
18167
18307
  processingStartedAt?: number | undefined;
18168
18308
  uploadTrayClearedAt?: number | undefined;
18169
18309
  uploadTrayClearedBy?: string | undefined;
@@ -18226,23 +18366,23 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18226
18366
  userId: z.ZodString;
18227
18367
  postId: z.ZodString;
18228
18368
  }, "strict", z.ZodTypeAny, {
18229
- userId: string;
18230
18369
  postId: string;
18231
- }, {
18232
18370
  userId: string;
18371
+ }, {
18233
18372
  postId: string;
18373
+ userId: string;
18234
18374
  }>;
18235
18375
  }, "strict", z.ZodTypeAny, {
18236
18376
  type: "squareStreetz.postCreated";
18237
18377
  ids: {
18238
- userId: string;
18239
18378
  postId: string;
18379
+ userId: string;
18240
18380
  };
18241
18381
  }, {
18242
18382
  type: "squareStreetz.postCreated";
18243
18383
  ids: {
18244
- userId: string;
18245
18384
  postId: string;
18385
+ userId: string;
18246
18386
  };
18247
18387
  }>, z.ZodObject<{
18248
18388
  type: z.ZodLiteral<"audition.promptCreated">;
@@ -18513,50 +18653,60 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18513
18653
  }>, z.ZodObject<{
18514
18654
  type: z.ZodLiteral<"follow.created">;
18515
18655
  ids: z.ZodObject<{
18516
- followerId: z.ZodString;
18517
- followedId: z.ZodString;
18656
+ followerUid: z.ZodString;
18657
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
18658
+ targetId: z.ZodString;
18518
18659
  }, "strict", z.ZodTypeAny, {
18519
- followerId: string;
18520
- followedId: string;
18660
+ targetType: "workRealm" | "user" | "workProject";
18661
+ targetId: string;
18662
+ followerUid: string;
18521
18663
  }, {
18522
- followerId: string;
18523
- followedId: string;
18664
+ targetType: "workRealm" | "user" | "workProject";
18665
+ targetId: string;
18666
+ followerUid: string;
18524
18667
  }>;
18525
18668
  }, "strict", z.ZodTypeAny, {
18526
18669
  type: "follow.created";
18527
18670
  ids: {
18528
- followerId: string;
18529
- followedId: string;
18671
+ targetType: "workRealm" | "user" | "workProject";
18672
+ targetId: string;
18673
+ followerUid: string;
18530
18674
  };
18531
18675
  }, {
18532
18676
  type: "follow.created";
18533
18677
  ids: {
18534
- followerId: string;
18535
- followedId: string;
18678
+ targetType: "workRealm" | "user" | "workProject";
18679
+ targetId: string;
18680
+ followerUid: string;
18536
18681
  };
18537
18682
  }>, z.ZodObject<{
18538
18683
  type: z.ZodLiteral<"follow.removed">;
18539
18684
  ids: z.ZodObject<{
18540
- followerId: z.ZodString;
18541
- followedId: z.ZodString;
18685
+ followerUid: z.ZodString;
18686
+ targetType: z.ZodEnum<["user", "workProject", "workRealm"]>;
18687
+ targetId: z.ZodString;
18542
18688
  }, "strict", z.ZodTypeAny, {
18543
- followerId: string;
18544
- followedId: string;
18689
+ targetType: "workRealm" | "user" | "workProject";
18690
+ targetId: string;
18691
+ followerUid: string;
18545
18692
  }, {
18546
- followerId: string;
18547
- followedId: string;
18693
+ targetType: "workRealm" | "user" | "workProject";
18694
+ targetId: string;
18695
+ followerUid: string;
18548
18696
  }>;
18549
18697
  }, "strict", z.ZodTypeAny, {
18550
18698
  type: "follow.removed";
18551
18699
  ids: {
18552
- followerId: string;
18553
- followedId: string;
18700
+ targetType: "workRealm" | "user" | "workProject";
18701
+ targetId: string;
18702
+ followerUid: string;
18554
18703
  };
18555
18704
  }, {
18556
18705
  type: "follow.removed";
18557
18706
  ids: {
18558
- followerId: string;
18559
- followedId: string;
18707
+ targetType: "workRealm" | "user" | "workProject";
18708
+ targetId: string;
18709
+ followerUid: string;
18560
18710
  };
18561
18711
  }>, z.ZodObject<{
18562
18712
  type: z.ZodLiteral<"squareStreetz.postLiked">;
@@ -18565,26 +18715,26 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18565
18715
  postId: z.ZodString;
18566
18716
  authorId: z.ZodString;
18567
18717
  }, "strict", z.ZodTypeAny, {
18568
- userId: string;
18569
18718
  postId: string;
18719
+ userId: string;
18570
18720
  authorId: string;
18571
18721
  }, {
18572
- userId: string;
18573
18722
  postId: string;
18723
+ userId: string;
18574
18724
  authorId: string;
18575
18725
  }>;
18576
18726
  }, "strict", z.ZodTypeAny, {
18577
18727
  type: "squareStreetz.postLiked";
18578
18728
  ids: {
18579
- userId: string;
18580
18729
  postId: string;
18730
+ userId: string;
18581
18731
  authorId: string;
18582
18732
  };
18583
18733
  }, {
18584
18734
  type: "squareStreetz.postLiked";
18585
18735
  ids: {
18586
- userId: string;
18587
18736
  postId: string;
18737
+ userId: string;
18588
18738
  authorId: string;
18589
18739
  };
18590
18740
  }>, z.ZodObject<{
@@ -18594,26 +18744,26 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
18594
18744
  postId: z.ZodString;
18595
18745
  authorId: z.ZodString;
18596
18746
  }, "strict", z.ZodTypeAny, {
18597
- userId: string;
18598
18747
  postId: string;
18748
+ userId: string;
18599
18749
  authorId: string;
18600
18750
  }, {
18601
- userId: string;
18602
18751
  postId: string;
18752
+ userId: string;
18603
18753
  authorId: string;
18604
18754
  }>;
18605
18755
  }, "strict", z.ZodTypeAny, {
18606
18756
  type: "squareStreetz.postUnliked";
18607
18757
  ids: {
18608
- userId: string;
18609
18758
  postId: string;
18759
+ userId: string;
18610
18760
  authorId: string;
18611
18761
  };
18612
18762
  }, {
18613
18763
  type: "squareStreetz.postUnliked";
18614
18764
  ids: {
18615
- userId: string;
18616
18765
  postId: string;
18766
+ userId: string;
18617
18767
  authorId: string;
18618
18768
  };
18619
18769
  }>, z.ZodObject<{
@@ -19288,8 +19438,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19288
19438
  } | {
19289
19439
  type: "squareStreetz.postCreated";
19290
19440
  ids: {
19291
- userId: string;
19292
19441
  postId: string;
19442
+ userId: string;
19293
19443
  };
19294
19444
  } | {
19295
19445
  type: "audition.promptCreated";
@@ -19358,27 +19508,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19358
19508
  } | {
19359
19509
  type: "follow.created";
19360
19510
  ids: {
19361
- followerId: string;
19362
- followedId: string;
19511
+ targetType: "workRealm" | "user" | "workProject";
19512
+ targetId: string;
19513
+ followerUid: string;
19363
19514
  };
19364
19515
  } | {
19365
19516
  type: "follow.removed";
19366
19517
  ids: {
19367
- followerId: string;
19368
- followedId: string;
19518
+ targetType: "workRealm" | "user" | "workProject";
19519
+ targetId: string;
19520
+ followerUid: string;
19369
19521
  };
19370
19522
  } | {
19371
19523
  type: "squareStreetz.postLiked";
19372
19524
  ids: {
19373
- userId: string;
19374
19525
  postId: string;
19526
+ userId: string;
19375
19527
  authorId: string;
19376
19528
  };
19377
19529
  } | {
19378
19530
  type: "squareStreetz.postUnliked";
19379
19531
  ids: {
19380
- userId: string;
19381
19532
  postId: string;
19533
+ userId: string;
19382
19534
  authorId: string;
19383
19535
  };
19384
19536
  } | {
@@ -19563,8 +19715,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19563
19715
  } | {
19564
19716
  type: "squareStreetz.postCreated";
19565
19717
  ids: {
19566
- userId: string;
19567
19718
  postId: string;
19719
+ userId: string;
19568
19720
  };
19569
19721
  } | {
19570
19722
  type: "audition.promptCreated";
@@ -19633,27 +19785,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19633
19785
  } | {
19634
19786
  type: "follow.created";
19635
19787
  ids: {
19636
- followerId: string;
19637
- followedId: string;
19788
+ targetType: "workRealm" | "user" | "workProject";
19789
+ targetId: string;
19790
+ followerUid: string;
19638
19791
  };
19639
19792
  } | {
19640
19793
  type: "follow.removed";
19641
19794
  ids: {
19642
- followerId: string;
19643
- followedId: string;
19795
+ targetType: "workRealm" | "user" | "workProject";
19796
+ targetId: string;
19797
+ followerUid: string;
19644
19798
  };
19645
19799
  } | {
19646
19800
  type: "squareStreetz.postLiked";
19647
19801
  ids: {
19648
- userId: string;
19649
19802
  postId: string;
19803
+ userId: string;
19650
19804
  authorId: string;
19651
19805
  };
19652
19806
  } | {
19653
19807
  type: "squareStreetz.postUnliked";
19654
19808
  ids: {
19655
- userId: string;
19656
19809
  postId: string;
19810
+ userId: string;
19657
19811
  authorId: string;
19658
19812
  };
19659
19813
  } | {
@@ -19865,11 +20019,11 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19865
20019
  rejectedAt: number;
19866
20020
  rejectionType: "text" | "media";
19867
20021
  archivedAt: number;
20022
+ textContent?: string | undefined;
19868
20023
  violationId?: string | undefined;
19869
20024
  originalContentType?: string | undefined;
19870
20025
  originalSize?: number | undefined;
19871
20026
  targetInfo?: unknown;
19872
- textContent?: string | undefined;
19873
20027
  processingStartedAt?: number | undefined;
19874
20028
  uploadTrayClearedAt?: number | undefined;
19875
20029
  uploadTrayClearedBy?: string | undefined;
@@ -19888,8 +20042,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19888
20042
  } | {
19889
20043
  type: "squareStreetz.postCreated";
19890
20044
  ids: {
19891
- userId: string;
19892
20045
  postId: string;
20046
+ userId: string;
19893
20047
  };
19894
20048
  } | {
19895
20049
  type: "audition.promptCreated";
@@ -19958,27 +20112,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
19958
20112
  } | {
19959
20113
  type: "follow.created";
19960
20114
  ids: {
19961
- followerId: string;
19962
- followedId: string;
20115
+ targetType: "workRealm" | "user" | "workProject";
20116
+ targetId: string;
20117
+ followerUid: string;
19963
20118
  };
19964
20119
  } | {
19965
20120
  type: "follow.removed";
19966
20121
  ids: {
19967
- followerId: string;
19968
- followedId: string;
20122
+ targetType: "workRealm" | "user" | "workProject";
20123
+ targetId: string;
20124
+ followerUid: string;
19969
20125
  };
19970
20126
  } | {
19971
20127
  type: "squareStreetz.postLiked";
19972
20128
  ids: {
19973
- userId: string;
19974
20129
  postId: string;
20130
+ userId: string;
19975
20131
  authorId: string;
19976
20132
  };
19977
20133
  } | {
19978
20134
  type: "squareStreetz.postUnliked";
19979
20135
  ids: {
19980
- userId: string;
19981
20136
  postId: string;
20137
+ userId: string;
19982
20138
  authorId: string;
19983
20139
  };
19984
20140
  } | {
@@ -20167,11 +20323,11 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
20167
20323
  rejectedAt: number;
20168
20324
  rejectionType: "text" | "media";
20169
20325
  archivedAt: number;
20326
+ textContent?: string | undefined;
20170
20327
  violationId?: string | undefined;
20171
20328
  originalContentType?: string | undefined;
20172
20329
  originalSize?: number | undefined;
20173
20330
  targetInfo?: unknown;
20174
- textContent?: string | undefined;
20175
20331
  processingStartedAt?: number | undefined;
20176
20332
  uploadTrayClearedAt?: number | undefined;
20177
20333
  uploadTrayClearedBy?: string | undefined;
@@ -20190,8 +20346,8 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
20190
20346
  } | {
20191
20347
  type: "squareStreetz.postCreated";
20192
20348
  ids: {
20193
- userId: string;
20194
20349
  postId: string;
20350
+ userId: string;
20195
20351
  };
20196
20352
  } | {
20197
20353
  type: "audition.promptCreated";
@@ -20260,27 +20416,29 @@ export declare const ArchivedPendingMediaSchema: z.ZodDiscriminatedUnion<"status
20260
20416
  } | {
20261
20417
  type: "follow.created";
20262
20418
  ids: {
20263
- followerId: string;
20264
- followedId: string;
20419
+ targetType: "workRealm" | "user" | "workProject";
20420
+ targetId: string;
20421
+ followerUid: string;
20265
20422
  };
20266
20423
  } | {
20267
20424
  type: "follow.removed";
20268
20425
  ids: {
20269
- followerId: string;
20270
- followedId: string;
20426
+ targetType: "workRealm" | "user" | "workProject";
20427
+ targetId: string;
20428
+ followerUid: string;
20271
20429
  };
20272
20430
  } | {
20273
20431
  type: "squareStreetz.postLiked";
20274
20432
  ids: {
20275
- userId: string;
20276
20433
  postId: string;
20434
+ userId: string;
20277
20435
  authorId: string;
20278
20436
  };
20279
20437
  } | {
20280
20438
  type: "squareStreetz.postUnliked";
20281
20439
  ids: {
20282
- userId: string;
20283
20440
  postId: string;
20441
+ userId: string;
20284
20442
  authorId: string;
20285
20443
  };
20286
20444
  } | {