@domino-sdk/relay 1.0.0-next.0 → 1.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring.d.ts +39 -11
- package/dist/authoring.js +33 -13
- package/dist/browser.d.ts +163 -168
- package/dist/browser.js +6 -6
- package/dist/{chunk-IZYXEXUO.js → chunk-4KNTMNXA.js} +4 -4
- package/dist/{chunk-QEN4GHL7.js → chunk-B76BAJ25.js} +2 -2
- package/dist/{chunk-BGN3CQC6.js → chunk-FDWRBMB3.js} +2 -2
- package/dist/{chunk-UPWID5KS.js → chunk-NKGJEYZM.js} +1 -1
- package/dist/{chunk-UI4N4XRZ.js → chunk-ONDBQSMU.js} +1 -1
- package/dist/{chunk-OQ4ZNOC7.js → chunk-VH4OQ5VX.js} +1 -1
- package/dist/index.d.ts +402 -420
- package/dist/index.js +5 -5
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +0 -5
- package/dist/react/index.js +6 -6
- package/dist/schema.d.ts +5 -12
- package/dist/schema.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -209,13 +209,13 @@ type ProgressObserver = {
|
|
|
209
209
|
};
|
|
210
210
|
|
|
211
211
|
declare const interactionSchema: z.ZodEnum<{
|
|
212
|
-
|
|
212
|
+
quiz: "quiz";
|
|
213
213
|
url: "url";
|
|
214
|
-
|
|
215
|
-
claim: "claim";
|
|
214
|
+
text: "text";
|
|
216
215
|
staff: "staff";
|
|
217
|
-
quiz: "quiz";
|
|
218
216
|
photo: "photo";
|
|
217
|
+
automatic: "automatic";
|
|
218
|
+
claim: "claim";
|
|
219
219
|
}>;
|
|
220
220
|
type QuestInteraction = z.infer<typeof interactionSchema>;
|
|
221
221
|
declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
|
|
@@ -384,9 +384,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
384
384
|
}, z.core.$strict>, z.ZodObject<{
|
|
385
385
|
kind: z.ZodLiteral<"manual">;
|
|
386
386
|
input: z.ZodEnum<{
|
|
387
|
-
none: "none";
|
|
388
387
|
quiz: "quiz";
|
|
389
388
|
photo: "photo";
|
|
389
|
+
none: "none";
|
|
390
390
|
}>;
|
|
391
391
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
392
392
|
member: "member";
|
|
@@ -405,17 +405,17 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
405
405
|
end: z.ZodOptional<z.ZodNumber>;
|
|
406
406
|
}, z.core.$strict>;
|
|
407
407
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
408
|
-
none: "none";
|
|
409
408
|
required: "required";
|
|
409
|
+
none: "none";
|
|
410
410
|
}>>;
|
|
411
411
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
412
412
|
"after-enrollment": "after-enrollment";
|
|
413
413
|
"since-start": "since-start";
|
|
414
414
|
}>>;
|
|
415
415
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
416
|
+
staff: "staff";
|
|
416
417
|
automatic: "automatic";
|
|
417
418
|
claim: "claim";
|
|
418
|
-
staff: "staff";
|
|
419
419
|
}>>;
|
|
420
420
|
}, z.core.$strict>>;
|
|
421
421
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -463,8 +463,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
463
463
|
}, z.core.$strict>>;
|
|
464
464
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
465
465
|
quest: z.ZodString;
|
|
466
|
-
|
|
467
|
-
}, z.core.$strict>>>;
|
|
466
|
+
}, z.core.$strip>>>;
|
|
468
467
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
469
468
|
kind: z.ZodLiteral<"streak">;
|
|
470
469
|
days: z.ZodNumber;
|
|
@@ -475,8 +474,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
475
474
|
kind: z.ZodLiteral<"keyed">;
|
|
476
475
|
}, z.core.$strict>], "kind">;
|
|
477
476
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
478
|
-
visible: "visible";
|
|
479
477
|
hidden: "hidden";
|
|
478
|
+
visible: "visible";
|
|
480
479
|
}>>;
|
|
481
480
|
profile: z.ZodOptional<z.ZodObject<{
|
|
482
481
|
visible: z.ZodBoolean;
|
|
@@ -520,7 +519,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
520
519
|
title: string;
|
|
521
520
|
key?: string | undefined;
|
|
522
521
|
id?: string | undefined;
|
|
523
|
-
}, "
|
|
522
|
+
}, "key" | "id"> & {
|
|
524
523
|
key: string;
|
|
525
524
|
}, {
|
|
526
525
|
title: string;
|
|
@@ -548,8 +547,8 @@ declare const questInstanceSchema: z.ZodObject<{
|
|
|
548
547
|
}, z.core.$strict>>]>>;
|
|
549
548
|
requires: z.ZodArray<z.ZodString>;
|
|
550
549
|
status: z.ZodEnum<{
|
|
551
|
-
paused: "paused";
|
|
552
550
|
active: "active";
|
|
551
|
+
paused: "paused";
|
|
553
552
|
archived: "archived";
|
|
554
553
|
}>;
|
|
555
554
|
}, z.core.$strict>;
|
|
@@ -569,8 +568,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
569
568
|
}, z.core.$strict>>]>>;
|
|
570
569
|
requires: z.ZodArray<z.ZodString>;
|
|
571
570
|
status: z.ZodEnum<{
|
|
572
|
-
paused: "paused";
|
|
573
571
|
active: "active";
|
|
572
|
+
paused: "paused";
|
|
574
573
|
archived: "archived";
|
|
575
574
|
}>;
|
|
576
575
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -602,8 +601,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
602
601
|
}, z.core.$strict>>]>>;
|
|
603
602
|
requires: z.ZodArray<z.ZodString>;
|
|
604
603
|
status: z.ZodEnum<{
|
|
605
|
-
paused: "paused";
|
|
606
604
|
active: "active";
|
|
605
|
+
paused: "paused";
|
|
607
606
|
archived: "archived";
|
|
608
607
|
}>;
|
|
609
608
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -636,8 +635,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
636
635
|
}, z.core.$strict>>]>>;
|
|
637
636
|
requires: z.ZodArray<z.ZodString>;
|
|
638
637
|
status: z.ZodEnum<{
|
|
639
|
-
paused: "paused";
|
|
640
638
|
active: "active";
|
|
639
|
+
paused: "paused";
|
|
641
640
|
archived: "archived";
|
|
642
641
|
}>;
|
|
643
642
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -819,9 +818,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
819
818
|
}, z.core.$strict>, z.ZodObject<{
|
|
820
819
|
kind: z.ZodLiteral<"manual">;
|
|
821
820
|
input: z.ZodEnum<{
|
|
822
|
-
none: "none";
|
|
823
821
|
quiz: "quiz";
|
|
824
822
|
photo: "photo";
|
|
823
|
+
none: "none";
|
|
825
824
|
}>;
|
|
826
825
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
827
826
|
member: "member";
|
|
@@ -840,17 +839,17 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
840
839
|
end: z.ZodOptional<z.ZodNumber>;
|
|
841
840
|
}, z.core.$strict>;
|
|
842
841
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
843
|
-
none: "none";
|
|
844
842
|
required: "required";
|
|
843
|
+
none: "none";
|
|
845
844
|
}>>;
|
|
846
845
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
847
846
|
"after-enrollment": "after-enrollment";
|
|
848
847
|
"since-start": "since-start";
|
|
849
848
|
}>>;
|
|
850
849
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
850
|
+
staff: "staff";
|
|
851
851
|
automatic: "automatic";
|
|
852
852
|
claim: "claim";
|
|
853
|
-
staff: "staff";
|
|
854
853
|
}>>;
|
|
855
854
|
}, z.core.$strict>>;
|
|
856
855
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -898,8 +897,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
898
897
|
}, z.core.$strict>>;
|
|
899
898
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
900
899
|
quest: z.ZodString;
|
|
901
|
-
|
|
902
|
-
}, z.core.$strict>>>;
|
|
900
|
+
}, z.core.$strip>>>;
|
|
903
901
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
904
902
|
kind: z.ZodLiteral<"streak">;
|
|
905
903
|
days: z.ZodNumber;
|
|
@@ -910,8 +908,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
910
908
|
kind: z.ZodLiteral<"keyed">;
|
|
911
909
|
}, z.core.$strict>], "kind">;
|
|
912
910
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
913
|
-
visible: "visible";
|
|
914
911
|
hidden: "hidden";
|
|
912
|
+
visible: "visible";
|
|
915
913
|
}>>;
|
|
916
914
|
profile: z.ZodOptional<z.ZodObject<{
|
|
917
915
|
visible: z.ZodBoolean;
|
|
@@ -963,8 +961,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
963
961
|
}, z.core.$strict>>]>>;
|
|
964
962
|
requires: z.ZodArray<z.ZodString>;
|
|
965
963
|
status: z.ZodEnum<{
|
|
966
|
-
paused: "paused";
|
|
967
964
|
active: "active";
|
|
965
|
+
paused: "paused";
|
|
968
966
|
archived: "archived";
|
|
969
967
|
}>;
|
|
970
968
|
}, z.core.$strict>>;
|
|
@@ -988,8 +986,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
988
986
|
}, z.core.$strict>>]>>;
|
|
989
987
|
requires: z.ZodArray<z.ZodString>;
|
|
990
988
|
status: z.ZodEnum<{
|
|
991
|
-
paused: "paused";
|
|
992
989
|
active: "active";
|
|
990
|
+
paused: "paused";
|
|
993
991
|
archived: "archived";
|
|
994
992
|
}>;
|
|
995
993
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -1022,8 +1020,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1022
1020
|
}, z.core.$strict>>]>>;
|
|
1023
1021
|
requires: z.ZodArray<z.ZodString>;
|
|
1024
1022
|
status: z.ZodEnum<{
|
|
1025
|
-
paused: "paused";
|
|
1026
1023
|
active: "active";
|
|
1024
|
+
paused: "paused";
|
|
1027
1025
|
archived: "archived";
|
|
1028
1026
|
}>;
|
|
1029
1027
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -1198,9 +1196,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1198
1196
|
}, z.core.$strict>, z.ZodObject<{
|
|
1199
1197
|
kind: z.ZodLiteral<"manual">;
|
|
1200
1198
|
input: z.ZodEnum<{
|
|
1201
|
-
none: "none";
|
|
1202
1199
|
quiz: "quiz";
|
|
1203
1200
|
photo: "photo";
|
|
1201
|
+
none: "none";
|
|
1204
1202
|
}>;
|
|
1205
1203
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1206
1204
|
member: "member";
|
|
@@ -1219,17 +1217,17 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1219
1217
|
end: z.ZodOptional<z.ZodNumber>;
|
|
1220
1218
|
}, z.core.$strict>;
|
|
1221
1219
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1222
|
-
none: "none";
|
|
1223
1220
|
required: "required";
|
|
1221
|
+
none: "none";
|
|
1224
1222
|
}>>;
|
|
1225
1223
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
1226
1224
|
"after-enrollment": "after-enrollment";
|
|
1227
1225
|
"since-start": "since-start";
|
|
1228
1226
|
}>>;
|
|
1229
1227
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
1228
|
+
staff: "staff";
|
|
1230
1229
|
automatic: "automatic";
|
|
1231
1230
|
claim: "claim";
|
|
1232
|
-
staff: "staff";
|
|
1233
1231
|
}>>;
|
|
1234
1232
|
}, z.core.$strict>>;
|
|
1235
1233
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -1277,8 +1275,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1277
1275
|
}, z.core.$strict>>;
|
|
1278
1276
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1279
1277
|
quest: z.ZodString;
|
|
1280
|
-
|
|
1281
|
-
}, z.core.$strict>>>;
|
|
1278
|
+
}, z.core.$strip>>>;
|
|
1282
1279
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1283
1280
|
kind: z.ZodLiteral<"streak">;
|
|
1284
1281
|
days: z.ZodNumber;
|
|
@@ -1289,8 +1286,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1289
1286
|
kind: z.ZodLiteral<"keyed">;
|
|
1290
1287
|
}, z.core.$strict>], "kind">;
|
|
1291
1288
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1292
|
-
visible: "visible";
|
|
1293
1289
|
hidden: "hidden";
|
|
1290
|
+
visible: "visible";
|
|
1294
1291
|
}>>;
|
|
1295
1292
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1296
1293
|
visible: z.ZodBoolean;
|
|
@@ -1327,8 +1324,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1327
1324
|
typeVersion: z.ZodString;
|
|
1328
1325
|
}, z.core.$strict>>;
|
|
1329
1326
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1330
|
-
paused: "paused";
|
|
1331
1327
|
active: "active";
|
|
1328
|
+
paused: "paused";
|
|
1332
1329
|
archived: "archived";
|
|
1333
1330
|
}>>;
|
|
1334
1331
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -1535,9 +1532,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1535
1532
|
start: number;
|
|
1536
1533
|
end?: number | undefined;
|
|
1537
1534
|
};
|
|
1538
|
-
enrollment: "
|
|
1535
|
+
enrollment: "required" | "none";
|
|
1539
1536
|
posts: "after-enrollment" | "since-start";
|
|
1540
|
-
historical: "
|
|
1537
|
+
historical: "staff" | "automatic" | "claim";
|
|
1541
1538
|
} | undefined;
|
|
1542
1539
|
tracker?: {
|
|
1543
1540
|
tracker: string;
|
|
@@ -1582,12 +1579,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1582
1579
|
actor?: "member" | "staff" | undefined;
|
|
1583
1580
|
} | {
|
|
1584
1581
|
kind: "manual";
|
|
1585
|
-
input: "
|
|
1582
|
+
input: "quiz" | "photo" | "none";
|
|
1586
1583
|
actor?: "member" | "staff" | undefined;
|
|
1587
1584
|
};
|
|
1588
1585
|
requires: {
|
|
1589
1586
|
quest: string;
|
|
1590
|
-
scope: "ever";
|
|
1591
1587
|
}[];
|
|
1592
1588
|
completion: {
|
|
1593
1589
|
kind: "streak";
|
|
@@ -1598,7 +1594,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1598
1594
|
} | {
|
|
1599
1595
|
kind: "keyed";
|
|
1600
1596
|
};
|
|
1601
|
-
visibility: "
|
|
1597
|
+
visibility: "hidden" | "visible";
|
|
1602
1598
|
budgets: {
|
|
1603
1599
|
id: string;
|
|
1604
1600
|
scope: "member" | "project";
|
|
@@ -1613,7 +1609,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1613
1609
|
id: string;
|
|
1614
1610
|
createdAt: number;
|
|
1615
1611
|
legacy: boolean;
|
|
1616
|
-
lifecycle: "
|
|
1612
|
+
lifecycle: "active" | "paused" | "archived";
|
|
1617
1613
|
performance?: {
|
|
1618
1614
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
1619
1615
|
maxAgeMs: number;
|
|
@@ -1684,13 +1680,13 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1684
1680
|
createdAt: number;
|
|
1685
1681
|
}>>]>>>;
|
|
1686
1682
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1687
|
-
|
|
1683
|
+
quiz: "quiz";
|
|
1688
1684
|
url: "url";
|
|
1689
|
-
|
|
1690
|
-
claim: "claim";
|
|
1685
|
+
text: "text";
|
|
1691
1686
|
staff: "staff";
|
|
1692
|
-
quiz: "quiz";
|
|
1693
1687
|
photo: "photo";
|
|
1688
|
+
automatic: "automatic";
|
|
1689
|
+
claim: "claim";
|
|
1694
1690
|
}>>;
|
|
1695
1691
|
}, z.core.$strip>;
|
|
1696
1692
|
declare const catalogDeploymentSchema: z.ZodObject<{
|
|
@@ -1709,7 +1705,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1709
1705
|
title: string;
|
|
1710
1706
|
key?: string | undefined;
|
|
1711
1707
|
id?: string | undefined;
|
|
1712
|
-
}, "
|
|
1708
|
+
}, "key" | "id"> & {
|
|
1713
1709
|
key: string;
|
|
1714
1710
|
}, {
|
|
1715
1711
|
title: string;
|
|
@@ -1717,13 +1713,13 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1717
1713
|
id?: string | undefined;
|
|
1718
1714
|
}>>>>;
|
|
1719
1715
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1720
|
-
|
|
1716
|
+
quiz: "quiz";
|
|
1721
1717
|
url: "url";
|
|
1722
|
-
|
|
1723
|
-
claim: "claim";
|
|
1718
|
+
text: "text";
|
|
1724
1719
|
staff: "staff";
|
|
1725
|
-
quiz: "quiz";
|
|
1726
1720
|
photo: "photo";
|
|
1721
|
+
automatic: "automatic";
|
|
1722
|
+
claim: "claim";
|
|
1727
1723
|
}>>>;
|
|
1728
1724
|
}, z.core.$strict>;
|
|
1729
1725
|
declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
@@ -1893,9 +1889,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1893
1889
|
}, z.core.$strict>, z.ZodObject<{
|
|
1894
1890
|
kind: z.ZodLiteral<"manual">;
|
|
1895
1891
|
input: z.ZodEnum<{
|
|
1896
|
-
none: "none";
|
|
1897
1892
|
quiz: "quiz";
|
|
1898
1893
|
photo: "photo";
|
|
1894
|
+
none: "none";
|
|
1899
1895
|
}>;
|
|
1900
1896
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1901
1897
|
member: "member";
|
|
@@ -1914,17 +1910,17 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1914
1910
|
end: z.ZodOptional<z.ZodNumber>;
|
|
1915
1911
|
}, z.core.$strict>;
|
|
1916
1912
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1917
|
-
none: "none";
|
|
1918
1913
|
required: "required";
|
|
1914
|
+
none: "none";
|
|
1919
1915
|
}>>;
|
|
1920
1916
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
1921
1917
|
"after-enrollment": "after-enrollment";
|
|
1922
1918
|
"since-start": "since-start";
|
|
1923
1919
|
}>>;
|
|
1924
1920
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
1921
|
+
staff: "staff";
|
|
1925
1922
|
automatic: "automatic";
|
|
1926
1923
|
claim: "claim";
|
|
1927
|
-
staff: "staff";
|
|
1928
1924
|
}>>;
|
|
1929
1925
|
}, z.core.$strict>>;
|
|
1930
1926
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -1972,8 +1968,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1972
1968
|
}, z.core.$strict>>;
|
|
1973
1969
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1974
1970
|
quest: z.ZodString;
|
|
1975
|
-
|
|
1976
|
-
}, z.core.$strict>>>;
|
|
1971
|
+
}, z.core.$strip>>>;
|
|
1977
1972
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1978
1973
|
kind: z.ZodLiteral<"streak">;
|
|
1979
1974
|
days: z.ZodNumber;
|
|
@@ -1984,8 +1979,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1984
1979
|
kind: z.ZodLiteral<"keyed">;
|
|
1985
1980
|
}, z.core.$strict>], "kind">;
|
|
1986
1981
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1987
|
-
visible: "visible";
|
|
1988
1982
|
hidden: "hidden";
|
|
1983
|
+
visible: "visible";
|
|
1989
1984
|
}>>;
|
|
1990
1985
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1991
1986
|
visible: z.ZodBoolean;
|
|
@@ -2022,13 +2017,13 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2022
2017
|
title: z.ZodString;
|
|
2023
2018
|
}, z.core.$strict>>;
|
|
2024
2019
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
2025
|
-
|
|
2020
|
+
quiz: "quiz";
|
|
2026
2021
|
url: "url";
|
|
2027
|
-
|
|
2028
|
-
claim: "claim";
|
|
2022
|
+
text: "text";
|
|
2029
2023
|
staff: "staff";
|
|
2030
|
-
quiz: "quiz";
|
|
2031
2024
|
photo: "photo";
|
|
2025
|
+
automatic: "automatic";
|
|
2026
|
+
claim: "claim";
|
|
2032
2027
|
}>>;
|
|
2033
2028
|
}, z.core.$strip>;
|
|
2034
2029
|
declare const saveQuestDraftSchema: z.ZodObject<{
|
|
@@ -2052,8 +2047,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
2052
2047
|
}, z.core.$strict>>]>>;
|
|
2053
2048
|
requires: z.ZodArray<z.ZodString>;
|
|
2054
2049
|
status: z.ZodEnum<{
|
|
2055
|
-
paused: "paused";
|
|
2056
2050
|
active: "active";
|
|
2051
|
+
paused: "paused";
|
|
2057
2052
|
archived: "archived";
|
|
2058
2053
|
}>;
|
|
2059
2054
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -2152,9 +2147,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2152
2147
|
}, z.core.$strict>, z.ZodObject<{
|
|
2153
2148
|
kind: z.ZodLiteral<"manual">;
|
|
2154
2149
|
input: z.ZodEnum<{
|
|
2155
|
-
none: "none";
|
|
2156
2150
|
quiz: "quiz";
|
|
2157
2151
|
photo: "photo";
|
|
2152
|
+
none: "none";
|
|
2158
2153
|
}>;
|
|
2159
2154
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2160
2155
|
member: "member";
|
|
@@ -2173,17 +2168,17 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2173
2168
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2174
2169
|
}, z.core.$strict>;
|
|
2175
2170
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2176
|
-
none: "none";
|
|
2177
2171
|
required: "required";
|
|
2172
|
+
none: "none";
|
|
2178
2173
|
}>>;
|
|
2179
2174
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2180
2175
|
"after-enrollment": "after-enrollment";
|
|
2181
2176
|
"since-start": "since-start";
|
|
2182
2177
|
}>>;
|
|
2183
2178
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
2179
|
+
staff: "staff";
|
|
2184
2180
|
automatic: "automatic";
|
|
2185
2181
|
claim: "claim";
|
|
2186
|
-
staff: "staff";
|
|
2187
2182
|
}>>;
|
|
2188
2183
|
}, z.core.$strict>>;
|
|
2189
2184
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -2221,11 +2216,11 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2221
2216
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2222
2217
|
kind: z.ZodLiteral<"available">;
|
|
2223
2218
|
input: z.ZodEnum<{
|
|
2224
|
-
text: "text";
|
|
2225
|
-
url: "url";
|
|
2226
|
-
none: "none";
|
|
2227
2219
|
quiz: "quiz";
|
|
2220
|
+
url: "url";
|
|
2221
|
+
text: "text";
|
|
2228
2222
|
photo: "photo";
|
|
2223
|
+
none: "none";
|
|
2229
2224
|
}>;
|
|
2230
2225
|
}, z.core.$strict>, z.ZodObject<{
|
|
2231
2226
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2295,8 +2290,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2295
2290
|
}, z.core.$strip>>>;
|
|
2296
2291
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2297
2292
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2298
|
-
visible: "visible";
|
|
2299
2293
|
hidden: "hidden";
|
|
2294
|
+
visible: "visible";
|
|
2300
2295
|
}>>;
|
|
2301
2296
|
missing: z.ZodArray<z.ZodObject<{
|
|
2302
2297
|
quest: z.ZodString;
|
|
@@ -2323,12 +2318,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2323
2318
|
}, z.core.$strict>]>>;
|
|
2324
2319
|
status: z.ZodEnum<{
|
|
2325
2320
|
"needs-review": "needs-review";
|
|
2326
|
-
failed: "failed";
|
|
2327
2321
|
queued: "queued";
|
|
2328
2322
|
evaluating: "evaluating";
|
|
2329
2323
|
accepted: "accepted";
|
|
2330
2324
|
progressed: "progressed";
|
|
2331
2325
|
rejected: "rejected";
|
|
2326
|
+
failed: "failed";
|
|
2332
2327
|
}>;
|
|
2333
2328
|
reason: z.ZodNullable<z.ZodString>;
|
|
2334
2329
|
retries: z.ZodNumber;
|
|
@@ -2365,17 +2360,17 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2365
2360
|
}, z.core.$strip>>;
|
|
2366
2361
|
release: z.ZodString;
|
|
2367
2362
|
interaction: z.ZodEnum<{
|
|
2368
|
-
|
|
2363
|
+
quiz: "quiz";
|
|
2369
2364
|
url: "url";
|
|
2370
|
-
|
|
2371
|
-
claim: "claim";
|
|
2365
|
+
text: "text";
|
|
2372
2366
|
staff: "staff";
|
|
2373
|
-
quiz: "quiz";
|
|
2374
2367
|
photo: "photo";
|
|
2368
|
+
automatic: "automatic";
|
|
2369
|
+
claim: "claim";
|
|
2375
2370
|
}>;
|
|
2376
2371
|
lifecycle: z.ZodEnum<{
|
|
2377
|
-
paused: "paused";
|
|
2378
2372
|
active: "active";
|
|
2373
|
+
paused: "paused";
|
|
2379
2374
|
archived: "archived";
|
|
2380
2375
|
}>;
|
|
2381
2376
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2461,9 +2456,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2461
2456
|
}, z.core.$strict>, z.ZodObject<{
|
|
2462
2457
|
kind: z.ZodLiteral<"manual">;
|
|
2463
2458
|
input: z.ZodEnum<{
|
|
2464
|
-
none: "none";
|
|
2465
2459
|
quiz: "quiz";
|
|
2466
2460
|
photo: "photo";
|
|
2461
|
+
none: "none";
|
|
2467
2462
|
}>;
|
|
2468
2463
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2469
2464
|
member: "member";
|
|
@@ -2482,17 +2477,17 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2482
2477
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2483
2478
|
}, z.core.$strict>;
|
|
2484
2479
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2485
|
-
none: "none";
|
|
2486
2480
|
required: "required";
|
|
2481
|
+
none: "none";
|
|
2487
2482
|
}>>;
|
|
2488
2483
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2489
2484
|
"after-enrollment": "after-enrollment";
|
|
2490
2485
|
"since-start": "since-start";
|
|
2491
2486
|
}>>;
|
|
2492
2487
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
2488
|
+
staff: "staff";
|
|
2493
2489
|
automatic: "automatic";
|
|
2494
2490
|
claim: "claim";
|
|
2495
|
-
staff: "staff";
|
|
2496
2491
|
}>>;
|
|
2497
2492
|
}, z.core.$strict>>;
|
|
2498
2493
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -2530,11 +2525,11 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2530
2525
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2531
2526
|
kind: z.ZodLiteral<"available">;
|
|
2532
2527
|
input: z.ZodEnum<{
|
|
2533
|
-
text: "text";
|
|
2534
|
-
url: "url";
|
|
2535
|
-
none: "none";
|
|
2536
2528
|
quiz: "quiz";
|
|
2529
|
+
url: "url";
|
|
2530
|
+
text: "text";
|
|
2537
2531
|
photo: "photo";
|
|
2532
|
+
none: "none";
|
|
2538
2533
|
}>;
|
|
2539
2534
|
}, z.core.$strict>, z.ZodObject<{
|
|
2540
2535
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2604,8 +2599,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2604
2599
|
}, z.core.$strip>>>;
|
|
2605
2600
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2606
2601
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2607
|
-
visible: "visible";
|
|
2608
2602
|
hidden: "hidden";
|
|
2603
|
+
visible: "visible";
|
|
2609
2604
|
}>>;
|
|
2610
2605
|
missing: z.ZodArray<z.ZodObject<{
|
|
2611
2606
|
quest: z.ZodString;
|
|
@@ -2632,12 +2627,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2632
2627
|
}, z.core.$strict>]>>;
|
|
2633
2628
|
status: z.ZodEnum<{
|
|
2634
2629
|
"needs-review": "needs-review";
|
|
2635
|
-
failed: "failed";
|
|
2636
2630
|
queued: "queued";
|
|
2637
2631
|
evaluating: "evaluating";
|
|
2638
2632
|
accepted: "accepted";
|
|
2639
2633
|
progressed: "progressed";
|
|
2640
2634
|
rejected: "rejected";
|
|
2635
|
+
failed: "failed";
|
|
2641
2636
|
}>;
|
|
2642
2637
|
reason: z.ZodNullable<z.ZodString>;
|
|
2643
2638
|
retries: z.ZodNumber;
|
|
@@ -2674,17 +2669,17 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2674
2669
|
}, z.core.$strip>>;
|
|
2675
2670
|
release: z.ZodString;
|
|
2676
2671
|
interaction: z.ZodEnum<{
|
|
2677
|
-
|
|
2672
|
+
quiz: "quiz";
|
|
2678
2673
|
url: "url";
|
|
2679
|
-
|
|
2680
|
-
claim: "claim";
|
|
2674
|
+
text: "text";
|
|
2681
2675
|
staff: "staff";
|
|
2682
|
-
quiz: "quiz";
|
|
2683
2676
|
photo: "photo";
|
|
2677
|
+
automatic: "automatic";
|
|
2678
|
+
claim: "claim";
|
|
2684
2679
|
}>;
|
|
2685
2680
|
lifecycle: z.ZodEnum<{
|
|
2686
|
-
paused: "paused";
|
|
2687
2681
|
active: "active";
|
|
2682
|
+
paused: "paused";
|
|
2688
2683
|
archived: "archived";
|
|
2689
2684
|
}>;
|
|
2690
2685
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2769,9 +2764,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2769
2764
|
}, z.core.$strict>, z.ZodObject<{
|
|
2770
2765
|
kind: z.ZodLiteral<"manual">;
|
|
2771
2766
|
input: z.ZodEnum<{
|
|
2772
|
-
none: "none";
|
|
2773
2767
|
quiz: "quiz";
|
|
2774
2768
|
photo: "photo";
|
|
2769
|
+
none: "none";
|
|
2775
2770
|
}>;
|
|
2776
2771
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2777
2772
|
member: "member";
|
|
@@ -2790,17 +2785,17 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2790
2785
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2791
2786
|
}, z.core.$strict>;
|
|
2792
2787
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2793
|
-
none: "none";
|
|
2794
2788
|
required: "required";
|
|
2789
|
+
none: "none";
|
|
2795
2790
|
}>>;
|
|
2796
2791
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2797
2792
|
"after-enrollment": "after-enrollment";
|
|
2798
2793
|
"since-start": "since-start";
|
|
2799
2794
|
}>>;
|
|
2800
2795
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
2796
|
+
staff: "staff";
|
|
2801
2797
|
automatic: "automatic";
|
|
2802
2798
|
claim: "claim";
|
|
2803
|
-
staff: "staff";
|
|
2804
2799
|
}>>;
|
|
2805
2800
|
}, z.core.$strict>>;
|
|
2806
2801
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -2838,11 +2833,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2838
2833
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2839
2834
|
kind: z.ZodLiteral<"available">;
|
|
2840
2835
|
input: z.ZodEnum<{
|
|
2841
|
-
text: "text";
|
|
2842
|
-
url: "url";
|
|
2843
|
-
none: "none";
|
|
2844
2836
|
quiz: "quiz";
|
|
2837
|
+
url: "url";
|
|
2838
|
+
text: "text";
|
|
2845
2839
|
photo: "photo";
|
|
2840
|
+
none: "none";
|
|
2846
2841
|
}>;
|
|
2847
2842
|
}, z.core.$strict>, z.ZodObject<{
|
|
2848
2843
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2912,8 +2907,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2912
2907
|
}, z.core.$strip>>>;
|
|
2913
2908
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2914
2909
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2915
|
-
visible: "visible";
|
|
2916
2910
|
hidden: "hidden";
|
|
2911
|
+
visible: "visible";
|
|
2917
2912
|
}>>;
|
|
2918
2913
|
missing: z.ZodArray<z.ZodObject<{
|
|
2919
2914
|
quest: z.ZodString;
|
|
@@ -2940,12 +2935,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2940
2935
|
}, z.core.$strict>]>>;
|
|
2941
2936
|
status: z.ZodEnum<{
|
|
2942
2937
|
"needs-review": "needs-review";
|
|
2943
|
-
failed: "failed";
|
|
2944
2938
|
queued: "queued";
|
|
2945
2939
|
evaluating: "evaluating";
|
|
2946
2940
|
accepted: "accepted";
|
|
2947
2941
|
progressed: "progressed";
|
|
2948
2942
|
rejected: "rejected";
|
|
2943
|
+
failed: "failed";
|
|
2949
2944
|
}>;
|
|
2950
2945
|
reason: z.ZodNullable<z.ZodString>;
|
|
2951
2946
|
retries: z.ZodNumber;
|
|
@@ -2982,17 +2977,17 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2982
2977
|
}, z.core.$strip>>;
|
|
2983
2978
|
release: z.ZodString;
|
|
2984
2979
|
interaction: z.ZodEnum<{
|
|
2985
|
-
|
|
2980
|
+
quiz: "quiz";
|
|
2986
2981
|
url: "url";
|
|
2987
|
-
|
|
2988
|
-
claim: "claim";
|
|
2982
|
+
text: "text";
|
|
2989
2983
|
staff: "staff";
|
|
2990
|
-
quiz: "quiz";
|
|
2991
2984
|
photo: "photo";
|
|
2985
|
+
automatic: "automatic";
|
|
2986
|
+
claim: "claim";
|
|
2992
2987
|
}>;
|
|
2993
2988
|
lifecycle: z.ZodEnum<{
|
|
2994
|
-
paused: "paused";
|
|
2995
2989
|
active: "active";
|
|
2990
|
+
paused: "paused";
|
|
2996
2991
|
archived: "archived";
|
|
2997
2992
|
}>;
|
|
2998
2993
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3078,9 +3073,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3078
3073
|
}, z.core.$strict>, z.ZodObject<{
|
|
3079
3074
|
kind: z.ZodLiteral<"manual">;
|
|
3080
3075
|
input: z.ZodEnum<{
|
|
3081
|
-
none: "none";
|
|
3082
3076
|
quiz: "quiz";
|
|
3083
3077
|
photo: "photo";
|
|
3078
|
+
none: "none";
|
|
3084
3079
|
}>;
|
|
3085
3080
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3086
3081
|
member: "member";
|
|
@@ -3099,17 +3094,17 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3099
3094
|
end: z.ZodOptional<z.ZodNumber>;
|
|
3100
3095
|
}, z.core.$strict>;
|
|
3101
3096
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
3102
|
-
none: "none";
|
|
3103
3097
|
required: "required";
|
|
3098
|
+
none: "none";
|
|
3104
3099
|
}>>;
|
|
3105
3100
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
3106
3101
|
"after-enrollment": "after-enrollment";
|
|
3107
3102
|
"since-start": "since-start";
|
|
3108
3103
|
}>>;
|
|
3109
3104
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
3105
|
+
staff: "staff";
|
|
3110
3106
|
automatic: "automatic";
|
|
3111
3107
|
claim: "claim";
|
|
3112
|
-
staff: "staff";
|
|
3113
3108
|
}>>;
|
|
3114
3109
|
}, z.core.$strict>>;
|
|
3115
3110
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -3147,11 +3142,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3147
3142
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3148
3143
|
kind: z.ZodLiteral<"available">;
|
|
3149
3144
|
input: z.ZodEnum<{
|
|
3150
|
-
text: "text";
|
|
3151
|
-
url: "url";
|
|
3152
|
-
none: "none";
|
|
3153
3145
|
quiz: "quiz";
|
|
3146
|
+
url: "url";
|
|
3147
|
+
text: "text";
|
|
3154
3148
|
photo: "photo";
|
|
3149
|
+
none: "none";
|
|
3155
3150
|
}>;
|
|
3156
3151
|
}, z.core.$strict>, z.ZodObject<{
|
|
3157
3152
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -3221,8 +3216,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3221
3216
|
}, z.core.$strip>>>;
|
|
3222
3217
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
3223
3218
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3224
|
-
visible: "visible";
|
|
3225
3219
|
hidden: "hidden";
|
|
3220
|
+
visible: "visible";
|
|
3226
3221
|
}>>;
|
|
3227
3222
|
missing: z.ZodArray<z.ZodObject<{
|
|
3228
3223
|
quest: z.ZodString;
|
|
@@ -3249,12 +3244,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3249
3244
|
}, z.core.$strict>]>>;
|
|
3250
3245
|
status: z.ZodEnum<{
|
|
3251
3246
|
"needs-review": "needs-review";
|
|
3252
|
-
failed: "failed";
|
|
3253
3247
|
queued: "queued";
|
|
3254
3248
|
evaluating: "evaluating";
|
|
3255
3249
|
accepted: "accepted";
|
|
3256
3250
|
progressed: "progressed";
|
|
3257
3251
|
rejected: "rejected";
|
|
3252
|
+
failed: "failed";
|
|
3258
3253
|
}>;
|
|
3259
3254
|
reason: z.ZodNullable<z.ZodString>;
|
|
3260
3255
|
retries: z.ZodNumber;
|
|
@@ -3291,17 +3286,17 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3291
3286
|
}, z.core.$strip>>;
|
|
3292
3287
|
release: z.ZodString;
|
|
3293
3288
|
interaction: z.ZodEnum<{
|
|
3294
|
-
|
|
3289
|
+
quiz: "quiz";
|
|
3295
3290
|
url: "url";
|
|
3296
|
-
|
|
3297
|
-
claim: "claim";
|
|
3291
|
+
text: "text";
|
|
3298
3292
|
staff: "staff";
|
|
3299
|
-
quiz: "quiz";
|
|
3300
3293
|
photo: "photo";
|
|
3294
|
+
automatic: "automatic";
|
|
3295
|
+
claim: "claim";
|
|
3301
3296
|
}>;
|
|
3302
3297
|
lifecycle: z.ZodEnum<{
|
|
3303
|
-
paused: "paused";
|
|
3304
3298
|
active: "active";
|
|
3299
|
+
paused: "paused";
|
|
3305
3300
|
archived: "archived";
|
|
3306
3301
|
}>;
|
|
3307
3302
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3355,8 +3350,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3355
3350
|
}, z.core.$strict>>]>>;
|
|
3356
3351
|
requires: z.ZodArray<z.ZodString>;
|
|
3357
3352
|
status: z.ZodEnum<{
|
|
3358
|
-
paused: "paused";
|
|
3359
3353
|
active: "active";
|
|
3354
|
+
paused: "paused";
|
|
3360
3355
|
archived: "archived";
|
|
3361
3356
|
}>;
|
|
3362
3357
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3389,8 +3384,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3389
3384
|
}, z.core.$strict>>]>>;
|
|
3390
3385
|
requires: z.ZodArray<z.ZodString>;
|
|
3391
3386
|
status: z.ZodEnum<{
|
|
3392
|
-
paused: "paused";
|
|
3393
3387
|
active: "active";
|
|
3388
|
+
paused: "paused";
|
|
3394
3389
|
archived: "archived";
|
|
3395
3390
|
}>;
|
|
3396
3391
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3565,9 +3560,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3565
3560
|
}, z.core.$strict>, z.ZodObject<{
|
|
3566
3561
|
kind: z.ZodLiteral<"manual">;
|
|
3567
3562
|
input: z.ZodEnum<{
|
|
3568
|
-
none: "none";
|
|
3569
3563
|
quiz: "quiz";
|
|
3570
3564
|
photo: "photo";
|
|
3565
|
+
none: "none";
|
|
3571
3566
|
}>;
|
|
3572
3567
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3573
3568
|
member: "member";
|
|
@@ -3586,17 +3581,17 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3586
3581
|
end: z.ZodOptional<z.ZodNumber>;
|
|
3587
3582
|
}, z.core.$strict>;
|
|
3588
3583
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
3589
|
-
none: "none";
|
|
3590
3584
|
required: "required";
|
|
3585
|
+
none: "none";
|
|
3591
3586
|
}>>;
|
|
3592
3587
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
3593
3588
|
"after-enrollment": "after-enrollment";
|
|
3594
3589
|
"since-start": "since-start";
|
|
3595
3590
|
}>>;
|
|
3596
3591
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
3592
|
+
staff: "staff";
|
|
3597
3593
|
automatic: "automatic";
|
|
3598
3594
|
claim: "claim";
|
|
3599
|
-
staff: "staff";
|
|
3600
3595
|
}>>;
|
|
3601
3596
|
}, z.core.$strict>>;
|
|
3602
3597
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -3644,8 +3639,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3644
3639
|
}, z.core.$strict>>;
|
|
3645
3640
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3646
3641
|
quest: z.ZodString;
|
|
3647
|
-
|
|
3648
|
-
}, z.core.$strict>>>;
|
|
3642
|
+
}, z.core.$strip>>>;
|
|
3649
3643
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3650
3644
|
kind: z.ZodLiteral<"streak">;
|
|
3651
3645
|
days: z.ZodNumber;
|
|
@@ -3656,8 +3650,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3656
3650
|
kind: z.ZodLiteral<"keyed">;
|
|
3657
3651
|
}, z.core.$strict>], "kind">;
|
|
3658
3652
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3659
|
-
visible: "visible";
|
|
3660
3653
|
hidden: "hidden";
|
|
3654
|
+
visible: "visible";
|
|
3661
3655
|
}>>;
|
|
3662
3656
|
profile: z.ZodOptional<z.ZodObject<{
|
|
3663
3657
|
visible: z.ZodBoolean;
|
|
@@ -3694,8 +3688,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3694
3688
|
typeVersion: z.ZodString;
|
|
3695
3689
|
}, z.core.$strict>>;
|
|
3696
3690
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
3697
|
-
paused: "paused";
|
|
3698
3691
|
active: "active";
|
|
3692
|
+
paused: "paused";
|
|
3699
3693
|
archived: "archived";
|
|
3700
3694
|
}>>;
|
|
3701
3695
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -3902,9 +3896,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3902
3896
|
start: number;
|
|
3903
3897
|
end?: number | undefined;
|
|
3904
3898
|
};
|
|
3905
|
-
enrollment: "
|
|
3899
|
+
enrollment: "required" | "none";
|
|
3906
3900
|
posts: "after-enrollment" | "since-start";
|
|
3907
|
-
historical: "
|
|
3901
|
+
historical: "staff" | "automatic" | "claim";
|
|
3908
3902
|
} | undefined;
|
|
3909
3903
|
tracker?: {
|
|
3910
3904
|
tracker: string;
|
|
@@ -3949,12 +3943,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3949
3943
|
actor?: "member" | "staff" | undefined;
|
|
3950
3944
|
} | {
|
|
3951
3945
|
kind: "manual";
|
|
3952
|
-
input: "
|
|
3946
|
+
input: "quiz" | "photo" | "none";
|
|
3953
3947
|
actor?: "member" | "staff" | undefined;
|
|
3954
3948
|
};
|
|
3955
3949
|
requires: {
|
|
3956
3950
|
quest: string;
|
|
3957
|
-
scope: "ever";
|
|
3958
3951
|
}[];
|
|
3959
3952
|
completion: {
|
|
3960
3953
|
kind: "streak";
|
|
@@ -3965,7 +3958,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3965
3958
|
} | {
|
|
3966
3959
|
kind: "keyed";
|
|
3967
3960
|
};
|
|
3968
|
-
visibility: "
|
|
3961
|
+
visibility: "hidden" | "visible";
|
|
3969
3962
|
budgets: {
|
|
3970
3963
|
id: string;
|
|
3971
3964
|
scope: "member" | "project";
|
|
@@ -3980,7 +3973,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3980
3973
|
id: string;
|
|
3981
3974
|
createdAt: number;
|
|
3982
3975
|
legacy: boolean;
|
|
3983
|
-
lifecycle: "
|
|
3976
|
+
lifecycle: "active" | "paused" | "archived";
|
|
3984
3977
|
performance?: {
|
|
3985
3978
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3986
3979
|
maxAgeMs: number;
|
|
@@ -4632,12 +4625,6 @@ declare function questConfiguration(release: PublishedRelease): {
|
|
|
4632
4625
|
|
|
4633
4626
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
4634
4627
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
4635
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4636
|
-
code: z.ZodString;
|
|
4637
|
-
provider: z.ZodEnum<{
|
|
4638
|
-
"workers-ai": "workers-ai";
|
|
4639
|
-
}>;
|
|
4640
|
-
}, z.core.$strip>>>;
|
|
4641
4628
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4642
4629
|
title: z.ZodString;
|
|
4643
4630
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -4646,21 +4633,27 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4646
4633
|
title: string;
|
|
4647
4634
|
key?: string | undefined;
|
|
4648
4635
|
id?: string | undefined;
|
|
4649
|
-
}, "
|
|
4636
|
+
}, "key" | "id"> & {
|
|
4650
4637
|
key: string;
|
|
4651
4638
|
}, {
|
|
4652
4639
|
title: string;
|
|
4653
4640
|
key?: string | undefined;
|
|
4654
4641
|
id?: string | undefined;
|
|
4655
4642
|
}>>>>;
|
|
4643
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4644
|
+
code: z.ZodString;
|
|
4645
|
+
provider: z.ZodEnum<{
|
|
4646
|
+
"workers-ai": "workers-ai";
|
|
4647
|
+
}>;
|
|
4648
|
+
}, z.core.$strip>>>;
|
|
4656
4649
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4657
|
-
|
|
4650
|
+
quiz: "quiz";
|
|
4658
4651
|
url: "url";
|
|
4659
|
-
|
|
4660
|
-
claim: "claim";
|
|
4652
|
+
text: "text";
|
|
4661
4653
|
staff: "staff";
|
|
4662
|
-
quiz: "quiz";
|
|
4663
4654
|
photo: "photo";
|
|
4655
|
+
automatic: "automatic";
|
|
4656
|
+
claim: "claim";
|
|
4664
4657
|
}>>>;
|
|
4665
4658
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4666
4659
|
code: z.ZodString;
|
|
@@ -4675,10 +4668,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4675
4668
|
kind: z.ZodLiteral<"custom">;
|
|
4676
4669
|
namespace: z.ZodString;
|
|
4677
4670
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4678
|
-
member: "member";
|
|
4679
4671
|
x: "x";
|
|
4680
|
-
wallet: "wallet";
|
|
4681
4672
|
discord: "discord";
|
|
4673
|
+
member: "member";
|
|
4674
|
+
wallet: "wallet";
|
|
4682
4675
|
}>>>;
|
|
4683
4676
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4684
4677
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -4699,14 +4692,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4699
4692
|
}, z.core.$strict>>>;
|
|
4700
4693
|
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4701
4694
|
title: z.ZodString;
|
|
4702
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4703
|
-
kind: z.ZodLiteral<"signup">;
|
|
4704
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4705
|
-
kind: z.ZodLiteral<"quest">;
|
|
4706
|
-
quest: z.ZodString;
|
|
4707
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4708
|
-
kind: z.ZodLiteral<"external">;
|
|
4709
|
-
}, z.core.$strict>], "kind">;
|
|
4710
4695
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
4711
4696
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4712
4697
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -4753,6 +4738,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4753
4738
|
tier: z.ZodString;
|
|
4754
4739
|
}, z.core.$strict>]>>>;
|
|
4755
4740
|
}, z.core.$strict>>;
|
|
4741
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4742
|
+
kind: z.ZodLiteral<"signup">;
|
|
4743
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4744
|
+
kind: z.ZodLiteral<"quest">;
|
|
4745
|
+
quest: z.ZodString;
|
|
4746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4747
|
+
kind: z.ZodLiteral<"external">;
|
|
4748
|
+
}, z.core.$strict>], "kind">;
|
|
4756
4749
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4757
4750
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4758
4751
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -4794,14 +4787,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4794
4787
|
id: z.ZodOptional<z.ZodString>;
|
|
4795
4788
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
4796
4789
|
title: string;
|
|
4797
|
-
qualification: {
|
|
4798
|
-
kind: "signup";
|
|
4799
|
-
} | {
|
|
4800
|
-
kind: "quest";
|
|
4801
|
-
quest: string;
|
|
4802
|
-
} | {
|
|
4803
|
-
kind: "external";
|
|
4804
|
-
};
|
|
4805
4790
|
rewards: {
|
|
4806
4791
|
inviter: ({
|
|
4807
4792
|
kind: "tier";
|
|
@@ -4848,6 +4833,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4848
4833
|
amount: number;
|
|
4849
4834
|
})[];
|
|
4850
4835
|
};
|
|
4836
|
+
qualification: {
|
|
4837
|
+
kind: "signup";
|
|
4838
|
+
} | {
|
|
4839
|
+
kind: "quest";
|
|
4840
|
+
quest: string;
|
|
4841
|
+
} | {
|
|
4842
|
+
kind: "external";
|
|
4843
|
+
};
|
|
4851
4844
|
enabled: boolean;
|
|
4852
4845
|
milestones: {
|
|
4853
4846
|
id: string;
|
|
@@ -4887,18 +4880,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4887
4880
|
inviterGroup?: string | undefined;
|
|
4888
4881
|
key?: string | undefined;
|
|
4889
4882
|
id?: string | undefined;
|
|
4890
|
-
}, "
|
|
4883
|
+
}, "key" | "id"> & {
|
|
4891
4884
|
key: string;
|
|
4892
4885
|
}, {
|
|
4893
4886
|
title: string;
|
|
4894
|
-
qualification: {
|
|
4895
|
-
kind: "signup";
|
|
4896
|
-
} | {
|
|
4897
|
-
kind: "quest";
|
|
4898
|
-
quest: string;
|
|
4899
|
-
} | {
|
|
4900
|
-
kind: "external";
|
|
4901
|
-
};
|
|
4902
4887
|
rewards: {
|
|
4903
4888
|
inviter: ({
|
|
4904
4889
|
kind: "tier";
|
|
@@ -4945,6 +4930,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4945
4930
|
amount: number;
|
|
4946
4931
|
})[];
|
|
4947
4932
|
};
|
|
4933
|
+
qualification: {
|
|
4934
|
+
kind: "signup";
|
|
4935
|
+
} | {
|
|
4936
|
+
kind: "quest";
|
|
4937
|
+
quest: string;
|
|
4938
|
+
} | {
|
|
4939
|
+
kind: "external";
|
|
4940
|
+
};
|
|
4948
4941
|
enabled: boolean;
|
|
4949
4942
|
milestones: {
|
|
4950
4943
|
id: string;
|
|
@@ -5084,7 +5077,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
5084
5077
|
group?: string | undefined;
|
|
5085
5078
|
key?: string | undefined;
|
|
5086
5079
|
id?: string | undefined;
|
|
5087
|
-
}, "
|
|
5080
|
+
}, "key" | "id"> & {
|
|
5088
5081
|
key: string;
|
|
5089
5082
|
}, {
|
|
5090
5083
|
title: string;
|
|
@@ -5141,12 +5134,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
5141
5134
|
}, z.core.$strict>;
|
|
5142
5135
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
5143
5136
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
5144
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5145
|
-
code: z.ZodString;
|
|
5146
|
-
provider: z.ZodEnum<{
|
|
5147
|
-
"workers-ai": "workers-ai";
|
|
5148
|
-
}>;
|
|
5149
|
-
}, z.core.$strip>>>;
|
|
5150
5137
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
5151
5138
|
title: z.ZodString;
|
|
5152
5139
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -5155,21 +5142,27 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5155
5142
|
title: string;
|
|
5156
5143
|
key?: string | undefined;
|
|
5157
5144
|
id?: string | undefined;
|
|
5158
|
-
}, "
|
|
5145
|
+
}, "key" | "id"> & {
|
|
5159
5146
|
key: string;
|
|
5160
5147
|
}, {
|
|
5161
5148
|
title: string;
|
|
5162
5149
|
key?: string | undefined;
|
|
5163
5150
|
id?: string | undefined;
|
|
5164
5151
|
}>>>>;
|
|
5152
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5153
|
+
code: z.ZodString;
|
|
5154
|
+
provider: z.ZodEnum<{
|
|
5155
|
+
"workers-ai": "workers-ai";
|
|
5156
|
+
}>;
|
|
5157
|
+
}, z.core.$strip>>>;
|
|
5165
5158
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5166
|
-
|
|
5159
|
+
quiz: "quiz";
|
|
5167
5160
|
url: "url";
|
|
5168
|
-
|
|
5169
|
-
claim: "claim";
|
|
5161
|
+
text: "text";
|
|
5170
5162
|
staff: "staff";
|
|
5171
|
-
quiz: "quiz";
|
|
5172
5163
|
photo: "photo";
|
|
5164
|
+
automatic: "automatic";
|
|
5165
|
+
claim: "claim";
|
|
5173
5166
|
}>>>;
|
|
5174
5167
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5175
5168
|
code: z.ZodString;
|
|
@@ -5184,10 +5177,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5184
5177
|
kind: z.ZodLiteral<"custom">;
|
|
5185
5178
|
namespace: z.ZodString;
|
|
5186
5179
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5187
|
-
member: "member";
|
|
5188
5180
|
x: "x";
|
|
5189
|
-
wallet: "wallet";
|
|
5190
5181
|
discord: "discord";
|
|
5182
|
+
member: "member";
|
|
5183
|
+
wallet: "wallet";
|
|
5191
5184
|
}>>>;
|
|
5192
5185
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5193
5186
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -5208,14 +5201,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5208
5201
|
}, z.core.$strict>>>;
|
|
5209
5202
|
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
5210
5203
|
title: z.ZodString;
|
|
5211
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5212
|
-
kind: z.ZodLiteral<"signup">;
|
|
5213
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5214
|
-
kind: z.ZodLiteral<"quest">;
|
|
5215
|
-
quest: z.ZodString;
|
|
5216
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5217
|
-
kind: z.ZodLiteral<"external">;
|
|
5218
|
-
}, z.core.$strict>], "kind">;
|
|
5219
5204
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
5220
5205
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5221
5206
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -5262,6 +5247,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5262
5247
|
tier: z.ZodString;
|
|
5263
5248
|
}, z.core.$strict>]>>>;
|
|
5264
5249
|
}, z.core.$strict>>;
|
|
5250
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5251
|
+
kind: z.ZodLiteral<"signup">;
|
|
5252
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5253
|
+
kind: z.ZodLiteral<"quest">;
|
|
5254
|
+
quest: z.ZodString;
|
|
5255
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5256
|
+
kind: z.ZodLiteral<"external">;
|
|
5257
|
+
}, z.core.$strict>], "kind">;
|
|
5265
5258
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5266
5259
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
5267
5260
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -5303,14 +5296,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5303
5296
|
id: z.ZodOptional<z.ZodString>;
|
|
5304
5297
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
5305
5298
|
title: string;
|
|
5306
|
-
qualification: {
|
|
5307
|
-
kind: "signup";
|
|
5308
|
-
} | {
|
|
5309
|
-
kind: "quest";
|
|
5310
|
-
quest: string;
|
|
5311
|
-
} | {
|
|
5312
|
-
kind: "external";
|
|
5313
|
-
};
|
|
5314
5299
|
rewards: {
|
|
5315
5300
|
inviter: ({
|
|
5316
5301
|
kind: "tier";
|
|
@@ -5357,6 +5342,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5357
5342
|
amount: number;
|
|
5358
5343
|
})[];
|
|
5359
5344
|
};
|
|
5345
|
+
qualification: {
|
|
5346
|
+
kind: "signup";
|
|
5347
|
+
} | {
|
|
5348
|
+
kind: "quest";
|
|
5349
|
+
quest: string;
|
|
5350
|
+
} | {
|
|
5351
|
+
kind: "external";
|
|
5352
|
+
};
|
|
5360
5353
|
enabled: boolean;
|
|
5361
5354
|
milestones: {
|
|
5362
5355
|
id: string;
|
|
@@ -5396,18 +5389,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5396
5389
|
inviterGroup?: string | undefined;
|
|
5397
5390
|
key?: string | undefined;
|
|
5398
5391
|
id?: string | undefined;
|
|
5399
|
-
}, "
|
|
5392
|
+
}, "key" | "id"> & {
|
|
5400
5393
|
key: string;
|
|
5401
5394
|
}, {
|
|
5402
5395
|
title: string;
|
|
5403
|
-
qualification: {
|
|
5404
|
-
kind: "signup";
|
|
5405
|
-
} | {
|
|
5406
|
-
kind: "quest";
|
|
5407
|
-
quest: string;
|
|
5408
|
-
} | {
|
|
5409
|
-
kind: "external";
|
|
5410
|
-
};
|
|
5411
5396
|
rewards: {
|
|
5412
5397
|
inviter: ({
|
|
5413
5398
|
kind: "tier";
|
|
@@ -5454,6 +5439,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5454
5439
|
amount: number;
|
|
5455
5440
|
})[];
|
|
5456
5441
|
};
|
|
5442
|
+
qualification: {
|
|
5443
|
+
kind: "signup";
|
|
5444
|
+
} | {
|
|
5445
|
+
kind: "quest";
|
|
5446
|
+
quest: string;
|
|
5447
|
+
} | {
|
|
5448
|
+
kind: "external";
|
|
5449
|
+
};
|
|
5457
5450
|
enabled: boolean;
|
|
5458
5451
|
milestones: {
|
|
5459
5452
|
id: string;
|
|
@@ -5593,7 +5586,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5593
5586
|
group?: string | undefined;
|
|
5594
5587
|
key?: string | undefined;
|
|
5595
5588
|
id?: string | undefined;
|
|
5596
|
-
}, "
|
|
5589
|
+
}, "key" | "id"> & {
|
|
5597
5590
|
key: string;
|
|
5598
5591
|
}, {
|
|
5599
5592
|
title: string;
|
|
@@ -5800,10 +5793,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5800
5793
|
kind: z.ZodLiteral<"custom">;
|
|
5801
5794
|
namespace: z.ZodString;
|
|
5802
5795
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5803
|
-
member: "member";
|
|
5804
5796
|
x: "x";
|
|
5805
|
-
wallet: "wallet";
|
|
5806
5797
|
discord: "discord";
|
|
5798
|
+
member: "member";
|
|
5799
|
+
wallet: "wallet";
|
|
5807
5800
|
}>>>;
|
|
5808
5801
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5809
5802
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -5984,9 +5977,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5984
5977
|
}, z.core.$strict>, z.ZodObject<{
|
|
5985
5978
|
kind: z.ZodLiteral<"manual">;
|
|
5986
5979
|
input: z.ZodEnum<{
|
|
5987
|
-
none: "none";
|
|
5988
5980
|
quiz: "quiz";
|
|
5989
5981
|
photo: "photo";
|
|
5982
|
+
none: "none";
|
|
5990
5983
|
}>;
|
|
5991
5984
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
5992
5985
|
member: "member";
|
|
@@ -6005,17 +5998,17 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6005
5998
|
end: z.ZodOptional<z.ZodNumber>;
|
|
6006
5999
|
}, z.core.$strict>;
|
|
6007
6000
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
6008
|
-
none: "none";
|
|
6009
6001
|
required: "required";
|
|
6002
|
+
none: "none";
|
|
6010
6003
|
}>>;
|
|
6011
6004
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
6012
6005
|
"after-enrollment": "after-enrollment";
|
|
6013
6006
|
"since-start": "since-start";
|
|
6014
6007
|
}>>;
|
|
6015
6008
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
6009
|
+
staff: "staff";
|
|
6016
6010
|
automatic: "automatic";
|
|
6017
6011
|
claim: "claim";
|
|
6018
|
-
staff: "staff";
|
|
6019
6012
|
}>>;
|
|
6020
6013
|
}, z.core.$strict>>;
|
|
6021
6014
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -6063,8 +6056,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6063
6056
|
}, z.core.$strict>>;
|
|
6064
6057
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6065
6058
|
quest: z.ZodString;
|
|
6066
|
-
|
|
6067
|
-
}, z.core.$strict>>>;
|
|
6059
|
+
}, z.core.$strip>>>;
|
|
6068
6060
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6069
6061
|
kind: z.ZodLiteral<"streak">;
|
|
6070
6062
|
days: z.ZodNumber;
|
|
@@ -6075,8 +6067,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6075
6067
|
kind: z.ZodLiteral<"keyed">;
|
|
6076
6068
|
}, z.core.$strict>], "kind">;
|
|
6077
6069
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
6078
|
-
visible: "visible";
|
|
6079
6070
|
hidden: "hidden";
|
|
6071
|
+
visible: "visible";
|
|
6080
6072
|
}>>;
|
|
6081
6073
|
profile: z.ZodOptional<z.ZodObject<{
|
|
6082
6074
|
visible: z.ZodBoolean;
|
|
@@ -6113,8 +6105,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6113
6105
|
typeVersion: z.ZodString;
|
|
6114
6106
|
}, z.core.$strict>>;
|
|
6115
6107
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
6116
|
-
paused: "paused";
|
|
6117
6108
|
active: "active";
|
|
6109
|
+
paused: "paused";
|
|
6118
6110
|
archived: "archived";
|
|
6119
6111
|
}>>;
|
|
6120
6112
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -6321,9 +6313,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6321
6313
|
start: number;
|
|
6322
6314
|
end?: number | undefined;
|
|
6323
6315
|
};
|
|
6324
|
-
enrollment: "
|
|
6316
|
+
enrollment: "required" | "none";
|
|
6325
6317
|
posts: "after-enrollment" | "since-start";
|
|
6326
|
-
historical: "
|
|
6318
|
+
historical: "staff" | "automatic" | "claim";
|
|
6327
6319
|
} | undefined;
|
|
6328
6320
|
tracker?: {
|
|
6329
6321
|
tracker: string;
|
|
@@ -6368,12 +6360,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6368
6360
|
actor?: "member" | "staff" | undefined;
|
|
6369
6361
|
} | {
|
|
6370
6362
|
kind: "manual";
|
|
6371
|
-
input: "
|
|
6363
|
+
input: "quiz" | "photo" | "none";
|
|
6372
6364
|
actor?: "member" | "staff" | undefined;
|
|
6373
6365
|
};
|
|
6374
6366
|
requires: {
|
|
6375
6367
|
quest: string;
|
|
6376
|
-
scope: "ever";
|
|
6377
6368
|
}[];
|
|
6378
6369
|
completion: {
|
|
6379
6370
|
kind: "streak";
|
|
@@ -6384,7 +6375,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6384
6375
|
} | {
|
|
6385
6376
|
kind: "keyed";
|
|
6386
6377
|
};
|
|
6387
|
-
visibility: "
|
|
6378
|
+
visibility: "hidden" | "visible";
|
|
6388
6379
|
budgets: {
|
|
6389
6380
|
id: string;
|
|
6390
6381
|
scope: "member" | "project";
|
|
@@ -6399,7 +6390,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6399
6390
|
id: string;
|
|
6400
6391
|
createdAt: number;
|
|
6401
6392
|
legacy: boolean;
|
|
6402
|
-
lifecycle: "
|
|
6393
|
+
lifecycle: "active" | "paused" | "archived";
|
|
6403
6394
|
performance?: {
|
|
6404
6395
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
6405
6396
|
maxAgeMs: number;
|
|
@@ -6634,9 +6625,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6634
6625
|
}, z.core.$strict>, z.ZodObject<{
|
|
6635
6626
|
kind: z.ZodLiteral<"manual">;
|
|
6636
6627
|
input: z.ZodEnum<{
|
|
6637
|
-
none: "none";
|
|
6638
6628
|
quiz: "quiz";
|
|
6639
6629
|
photo: "photo";
|
|
6630
|
+
none: "none";
|
|
6640
6631
|
}>;
|
|
6641
6632
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
6642
6633
|
member: "member";
|
|
@@ -6655,17 +6646,17 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6655
6646
|
end: z.ZodOptional<z.ZodNumber>;
|
|
6656
6647
|
}, z.core.$strict>;
|
|
6657
6648
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
6658
|
-
none: "none";
|
|
6659
6649
|
required: "required";
|
|
6650
|
+
none: "none";
|
|
6660
6651
|
}>>;
|
|
6661
6652
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
6662
6653
|
"after-enrollment": "after-enrollment";
|
|
6663
6654
|
"since-start": "since-start";
|
|
6664
6655
|
}>>;
|
|
6665
6656
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
6657
|
+
staff: "staff";
|
|
6666
6658
|
automatic: "automatic";
|
|
6667
6659
|
claim: "claim";
|
|
6668
|
-
staff: "staff";
|
|
6669
6660
|
}>>;
|
|
6670
6661
|
}, z.core.$strict>>;
|
|
6671
6662
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -6713,8 +6704,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6713
6704
|
}, z.core.$strict>>;
|
|
6714
6705
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6715
6706
|
quest: z.ZodString;
|
|
6716
|
-
|
|
6717
|
-
}, z.core.$strict>>>;
|
|
6707
|
+
}, z.core.$strip>>>;
|
|
6718
6708
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6719
6709
|
kind: z.ZodLiteral<"streak">;
|
|
6720
6710
|
days: z.ZodNumber;
|
|
@@ -6725,8 +6715,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6725
6715
|
kind: z.ZodLiteral<"keyed">;
|
|
6726
6716
|
}, z.core.$strict>], "kind">;
|
|
6727
6717
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
6728
|
-
visible: "visible";
|
|
6729
6718
|
hidden: "hidden";
|
|
6719
|
+
visible: "visible";
|
|
6730
6720
|
}>>;
|
|
6731
6721
|
profile: z.ZodOptional<z.ZodObject<{
|
|
6732
6722
|
visible: z.ZodBoolean;
|
|
@@ -6764,13 +6754,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6764
6754
|
quests: z.ZodArray<z.ZodString>;
|
|
6765
6755
|
}, z.core.$strict>>;
|
|
6766
6756
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6767
|
-
|
|
6757
|
+
quiz: "quiz";
|
|
6768
6758
|
url: "url";
|
|
6769
|
-
|
|
6770
|
-
claim: "claim";
|
|
6759
|
+
text: "text";
|
|
6771
6760
|
staff: "staff";
|
|
6772
|
-
quiz: "quiz";
|
|
6773
6761
|
photo: "photo";
|
|
6762
|
+
automatic: "automatic";
|
|
6763
|
+
claim: "claim";
|
|
6774
6764
|
}>>;
|
|
6775
6765
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6776
6766
|
version: z.ZodString;
|
|
@@ -7290,10 +7280,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7290
7280
|
kind: z.ZodLiteral<"custom">;
|
|
7291
7281
|
namespace: z.ZodString;
|
|
7292
7282
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7293
|
-
member: "member";
|
|
7294
7283
|
x: "x";
|
|
7295
|
-
wallet: "wallet";
|
|
7296
7284
|
discord: "discord";
|
|
7285
|
+
member: "member";
|
|
7286
|
+
wallet: "wallet";
|
|
7297
7287
|
}>>>;
|
|
7298
7288
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7299
7289
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -7474,9 +7464,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7474
7464
|
}, z.core.$strict>, z.ZodObject<{
|
|
7475
7465
|
kind: z.ZodLiteral<"manual">;
|
|
7476
7466
|
input: z.ZodEnum<{
|
|
7477
|
-
none: "none";
|
|
7478
7467
|
quiz: "quiz";
|
|
7479
7468
|
photo: "photo";
|
|
7469
|
+
none: "none";
|
|
7480
7470
|
}>;
|
|
7481
7471
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
7482
7472
|
member: "member";
|
|
@@ -7495,17 +7485,17 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7495
7485
|
end: z.ZodOptional<z.ZodNumber>;
|
|
7496
7486
|
}, z.core.$strict>;
|
|
7497
7487
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
7498
|
-
none: "none";
|
|
7499
7488
|
required: "required";
|
|
7489
|
+
none: "none";
|
|
7500
7490
|
}>>;
|
|
7501
7491
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
7502
7492
|
"after-enrollment": "after-enrollment";
|
|
7503
7493
|
"since-start": "since-start";
|
|
7504
7494
|
}>>;
|
|
7505
7495
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
7496
|
+
staff: "staff";
|
|
7506
7497
|
automatic: "automatic";
|
|
7507
7498
|
claim: "claim";
|
|
7508
|
-
staff: "staff";
|
|
7509
7499
|
}>>;
|
|
7510
7500
|
}, z.core.$strict>>;
|
|
7511
7501
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -7553,8 +7543,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7553
7543
|
}, z.core.$strict>>;
|
|
7554
7544
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7555
7545
|
quest: z.ZodString;
|
|
7556
|
-
|
|
7557
|
-
}, z.core.$strict>>>;
|
|
7546
|
+
}, z.core.$strip>>>;
|
|
7558
7547
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7559
7548
|
kind: z.ZodLiteral<"streak">;
|
|
7560
7549
|
days: z.ZodNumber;
|
|
@@ -7565,8 +7554,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7565
7554
|
kind: z.ZodLiteral<"keyed">;
|
|
7566
7555
|
}, z.core.$strict>], "kind">;
|
|
7567
7556
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
7568
|
-
visible: "visible";
|
|
7569
7557
|
hidden: "hidden";
|
|
7558
|
+
visible: "visible";
|
|
7570
7559
|
}>>;
|
|
7571
7560
|
profile: z.ZodOptional<z.ZodObject<{
|
|
7572
7561
|
visible: z.ZodBoolean;
|
|
@@ -7603,8 +7592,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7603
7592
|
typeVersion: z.ZodString;
|
|
7604
7593
|
}, z.core.$strict>>;
|
|
7605
7594
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
7606
|
-
paused: "paused";
|
|
7607
7595
|
active: "active";
|
|
7596
|
+
paused: "paused";
|
|
7608
7597
|
archived: "archived";
|
|
7609
7598
|
}>>;
|
|
7610
7599
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -7811,9 +7800,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7811
7800
|
start: number;
|
|
7812
7801
|
end?: number | undefined;
|
|
7813
7802
|
};
|
|
7814
|
-
enrollment: "
|
|
7803
|
+
enrollment: "required" | "none";
|
|
7815
7804
|
posts: "after-enrollment" | "since-start";
|
|
7816
|
-
historical: "
|
|
7805
|
+
historical: "staff" | "automatic" | "claim";
|
|
7817
7806
|
} | undefined;
|
|
7818
7807
|
tracker?: {
|
|
7819
7808
|
tracker: string;
|
|
@@ -7858,12 +7847,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7858
7847
|
actor?: "member" | "staff" | undefined;
|
|
7859
7848
|
} | {
|
|
7860
7849
|
kind: "manual";
|
|
7861
|
-
input: "
|
|
7850
|
+
input: "quiz" | "photo" | "none";
|
|
7862
7851
|
actor?: "member" | "staff" | undefined;
|
|
7863
7852
|
};
|
|
7864
7853
|
requires: {
|
|
7865
7854
|
quest: string;
|
|
7866
|
-
scope: "ever";
|
|
7867
7855
|
}[];
|
|
7868
7856
|
completion: {
|
|
7869
7857
|
kind: "streak";
|
|
@@ -7874,7 +7862,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7874
7862
|
} | {
|
|
7875
7863
|
kind: "keyed";
|
|
7876
7864
|
};
|
|
7877
|
-
visibility: "
|
|
7865
|
+
visibility: "hidden" | "visible";
|
|
7878
7866
|
budgets: {
|
|
7879
7867
|
id: string;
|
|
7880
7868
|
scope: "member" | "project";
|
|
@@ -7889,7 +7877,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7889
7877
|
id: string;
|
|
7890
7878
|
createdAt: number;
|
|
7891
7879
|
legacy: boolean;
|
|
7892
|
-
lifecycle: "
|
|
7880
|
+
lifecycle: "active" | "paused" | "archived";
|
|
7893
7881
|
performance?: {
|
|
7894
7882
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
7895
7883
|
maxAgeMs: number;
|
|
@@ -8124,9 +8112,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8124
8112
|
}, z.core.$strict>, z.ZodObject<{
|
|
8125
8113
|
kind: z.ZodLiteral<"manual">;
|
|
8126
8114
|
input: z.ZodEnum<{
|
|
8127
|
-
none: "none";
|
|
8128
8115
|
quiz: "quiz";
|
|
8129
8116
|
photo: "photo";
|
|
8117
|
+
none: "none";
|
|
8130
8118
|
}>;
|
|
8131
8119
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
8132
8120
|
member: "member";
|
|
@@ -8145,17 +8133,17 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8145
8133
|
end: z.ZodOptional<z.ZodNumber>;
|
|
8146
8134
|
}, z.core.$strict>;
|
|
8147
8135
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
8148
|
-
none: "none";
|
|
8149
8136
|
required: "required";
|
|
8137
|
+
none: "none";
|
|
8150
8138
|
}>>;
|
|
8151
8139
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
8152
8140
|
"after-enrollment": "after-enrollment";
|
|
8153
8141
|
"since-start": "since-start";
|
|
8154
8142
|
}>>;
|
|
8155
8143
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
8144
|
+
staff: "staff";
|
|
8156
8145
|
automatic: "automatic";
|
|
8157
8146
|
claim: "claim";
|
|
8158
|
-
staff: "staff";
|
|
8159
8147
|
}>>;
|
|
8160
8148
|
}, z.core.$strict>>;
|
|
8161
8149
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
@@ -8203,8 +8191,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8203
8191
|
}, z.core.$strict>>;
|
|
8204
8192
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8205
8193
|
quest: z.ZodString;
|
|
8206
|
-
|
|
8207
|
-
}, z.core.$strict>>>;
|
|
8194
|
+
}, z.core.$strip>>>;
|
|
8208
8195
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8209
8196
|
kind: z.ZodLiteral<"streak">;
|
|
8210
8197
|
days: z.ZodNumber;
|
|
@@ -8215,8 +8202,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8215
8202
|
kind: z.ZodLiteral<"keyed">;
|
|
8216
8203
|
}, z.core.$strict>], "kind">;
|
|
8217
8204
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
8218
|
-
visible: "visible";
|
|
8219
8205
|
hidden: "hidden";
|
|
8206
|
+
visible: "visible";
|
|
8220
8207
|
}>>;
|
|
8221
8208
|
profile: z.ZodOptional<z.ZodObject<{
|
|
8222
8209
|
visible: z.ZodBoolean;
|
|
@@ -8254,13 +8241,13 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8254
8241
|
quests: z.ZodArray<z.ZodString>;
|
|
8255
8242
|
}, z.core.$strict>>;
|
|
8256
8243
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
8257
|
-
|
|
8244
|
+
quiz: "quiz";
|
|
8258
8245
|
url: "url";
|
|
8259
|
-
|
|
8260
|
-
claim: "claim";
|
|
8246
|
+
text: "text";
|
|
8261
8247
|
staff: "staff";
|
|
8262
|
-
quiz: "quiz";
|
|
8263
8248
|
photo: "photo";
|
|
8249
|
+
automatic: "automatic";
|
|
8250
|
+
claim: "claim";
|
|
8264
8251
|
}>>;
|
|
8265
8252
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8266
8253
|
version: z.ZodString;
|
|
@@ -8894,7 +8881,7 @@ declare function createRelayClient(options: {
|
|
|
8894
8881
|
accounts: {
|
|
8895
8882
|
id: string;
|
|
8896
8883
|
program: string;
|
|
8897
|
-
kind: "
|
|
8884
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
8898
8885
|
balance: string;
|
|
8899
8886
|
earned: number;
|
|
8900
8887
|
settled: number;
|
|
@@ -9106,7 +9093,7 @@ declare function createRelayClient(options: {
|
|
|
9106
9093
|
seed: string;
|
|
9107
9094
|
};
|
|
9108
9095
|
displayName: string | null;
|
|
9109
|
-
avatarChoice: "default" | "account" | "
|
|
9096
|
+
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
9110
9097
|
avatarProvider: "x" | "discord" | "google" | null;
|
|
9111
9098
|
hidden: boolean;
|
|
9112
9099
|
locked: boolean;
|
|
@@ -9140,7 +9127,7 @@ declare function createRelayClient(options: {
|
|
|
9140
9127
|
seed: string;
|
|
9141
9128
|
};
|
|
9142
9129
|
displayName: string | null;
|
|
9143
|
-
avatarChoice: "default" | "account" | "
|
|
9130
|
+
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
9144
9131
|
avatarProvider: "x" | "discord" | "google" | null;
|
|
9145
9132
|
hidden: boolean;
|
|
9146
9133
|
locked: boolean;
|
|
@@ -9175,7 +9162,7 @@ declare function createRelayClient(options: {
|
|
|
9175
9162
|
seed: string;
|
|
9176
9163
|
};
|
|
9177
9164
|
displayName: string | null;
|
|
9178
|
-
avatarChoice: "default" | "account" | "
|
|
9165
|
+
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
9179
9166
|
avatarProvider: "x" | "discord" | "google" | null;
|
|
9180
9167
|
hidden: boolean;
|
|
9181
9168
|
locked: boolean;
|
|
@@ -9275,9 +9262,9 @@ declare function createRelayClient(options: {
|
|
|
9275
9262
|
start: number;
|
|
9276
9263
|
end?: number | undefined;
|
|
9277
9264
|
};
|
|
9278
|
-
enrollment: "
|
|
9265
|
+
enrollment: "required" | "none";
|
|
9279
9266
|
posts: "after-enrollment" | "since-start";
|
|
9280
|
-
historical: "
|
|
9267
|
+
historical: "staff" | "automatic" | "claim";
|
|
9281
9268
|
} | undefined;
|
|
9282
9269
|
tracker?: {
|
|
9283
9270
|
tracker: string;
|
|
@@ -9322,12 +9309,12 @@ declare function createRelayClient(options: {
|
|
|
9322
9309
|
actor?: "member" | "staff" | undefined;
|
|
9323
9310
|
} | {
|
|
9324
9311
|
kind: "manual";
|
|
9325
|
-
input: "
|
|
9312
|
+
input: "quiz" | "photo" | "none";
|
|
9326
9313
|
actor?: "member" | "staff" | undefined;
|
|
9327
9314
|
};
|
|
9328
9315
|
availability: {
|
|
9329
9316
|
kind: "available";
|
|
9330
|
-
input: "
|
|
9317
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9331
9318
|
} | {
|
|
9332
9319
|
kind: "completed";
|
|
9333
9320
|
} | {
|
|
@@ -9365,7 +9352,7 @@ declare function createRelayClient(options: {
|
|
|
9365
9352
|
kind: "keyed";
|
|
9366
9353
|
};
|
|
9367
9354
|
completionCount: number;
|
|
9368
|
-
visibility: "
|
|
9355
|
+
visibility: "hidden" | "visible";
|
|
9369
9356
|
missing: {
|
|
9370
9357
|
quest: string;
|
|
9371
9358
|
title: string;
|
|
@@ -9376,7 +9363,7 @@ declare function createRelayClient(options: {
|
|
|
9376
9363
|
quest: string;
|
|
9377
9364
|
member: string;
|
|
9378
9365
|
evidence: string | null;
|
|
9379
|
-
status: "needs-review" | "
|
|
9366
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9380
9367
|
reason: string | null;
|
|
9381
9368
|
retries: number;
|
|
9382
9369
|
generation: number;
|
|
@@ -9410,22 +9397,22 @@ declare function createRelayClient(options: {
|
|
|
9410
9397
|
})[] | null;
|
|
9411
9398
|
createdAt: number;
|
|
9412
9399
|
input?: {
|
|
9413
|
-
kind: "text";
|
|
9414
|
-
value: string;
|
|
9415
|
-
} | {
|
|
9416
|
-
kind: "url";
|
|
9417
|
-
value: string;
|
|
9418
|
-
} | {
|
|
9419
9400
|
kind: "quiz";
|
|
9420
9401
|
answers: {
|
|
9421
9402
|
[k: string]: string;
|
|
9422
9403
|
};
|
|
9423
9404
|
release?: string | undefined;
|
|
9405
|
+
} | {
|
|
9406
|
+
kind: "text";
|
|
9407
|
+
value: string;
|
|
9408
|
+
} | {
|
|
9409
|
+
kind: "url";
|
|
9410
|
+
value: string;
|
|
9424
9411
|
} | undefined;
|
|
9425
9412
|
} | null;
|
|
9426
9413
|
release: string;
|
|
9427
|
-
interaction: "
|
|
9428
|
-
lifecycle: "
|
|
9414
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9415
|
+
lifecycle: "active" | "paused" | "archived";
|
|
9429
9416
|
rewards: ({
|
|
9430
9417
|
kind: "points";
|
|
9431
9418
|
label: string;
|
|
@@ -9486,7 +9473,7 @@ declare function createRelayClient(options: {
|
|
|
9486
9473
|
quest: string;
|
|
9487
9474
|
member: string;
|
|
9488
9475
|
evidence: string | null;
|
|
9489
|
-
status: "needs-review" | "
|
|
9476
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9490
9477
|
reason: string | null;
|
|
9491
9478
|
retries: number;
|
|
9492
9479
|
generation: number;
|
|
@@ -9520,17 +9507,17 @@ declare function createRelayClient(options: {
|
|
|
9520
9507
|
})[] | null;
|
|
9521
9508
|
createdAt: number;
|
|
9522
9509
|
input?: {
|
|
9523
|
-
kind: "text";
|
|
9524
|
-
value: string;
|
|
9525
|
-
} | {
|
|
9526
|
-
kind: "url";
|
|
9527
|
-
value: string;
|
|
9528
|
-
} | {
|
|
9529
9510
|
kind: "quiz";
|
|
9530
9511
|
answers: {
|
|
9531
9512
|
[k: string]: string;
|
|
9532
9513
|
};
|
|
9533
9514
|
release?: string | undefined;
|
|
9515
|
+
} | {
|
|
9516
|
+
kind: "text";
|
|
9517
|
+
value: string;
|
|
9518
|
+
} | {
|
|
9519
|
+
kind: "url";
|
|
9520
|
+
value: string;
|
|
9534
9521
|
} | undefined;
|
|
9535
9522
|
}>;
|
|
9536
9523
|
experience: () => Promise<{
|
|
@@ -9571,9 +9558,9 @@ declare function createRelayClient(options: {
|
|
|
9571
9558
|
start: number;
|
|
9572
9559
|
end?: number | undefined;
|
|
9573
9560
|
};
|
|
9574
|
-
enrollment: "
|
|
9561
|
+
enrollment: "required" | "none";
|
|
9575
9562
|
posts: "after-enrollment" | "since-start";
|
|
9576
|
-
historical: "
|
|
9563
|
+
historical: "staff" | "automatic" | "claim";
|
|
9577
9564
|
} | undefined;
|
|
9578
9565
|
tracker?: {
|
|
9579
9566
|
tracker: string;
|
|
@@ -9618,12 +9605,12 @@ declare function createRelayClient(options: {
|
|
|
9618
9605
|
actor?: "member" | "staff" | undefined;
|
|
9619
9606
|
} | {
|
|
9620
9607
|
kind: "manual";
|
|
9621
|
-
input: "
|
|
9608
|
+
input: "quiz" | "photo" | "none";
|
|
9622
9609
|
actor?: "member" | "staff" | undefined;
|
|
9623
9610
|
};
|
|
9624
9611
|
availability: {
|
|
9625
9612
|
kind: "available";
|
|
9626
|
-
input: "
|
|
9613
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9627
9614
|
} | {
|
|
9628
9615
|
kind: "completed";
|
|
9629
9616
|
} | {
|
|
@@ -9661,7 +9648,7 @@ declare function createRelayClient(options: {
|
|
|
9661
9648
|
kind: "keyed";
|
|
9662
9649
|
};
|
|
9663
9650
|
completionCount: number;
|
|
9664
|
-
visibility: "
|
|
9651
|
+
visibility: "hidden" | "visible";
|
|
9665
9652
|
missing: {
|
|
9666
9653
|
quest: string;
|
|
9667
9654
|
title: string;
|
|
@@ -9672,7 +9659,7 @@ declare function createRelayClient(options: {
|
|
|
9672
9659
|
quest: string;
|
|
9673
9660
|
member: string;
|
|
9674
9661
|
evidence: string | null;
|
|
9675
|
-
status: "needs-review" | "
|
|
9662
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9676
9663
|
reason: string | null;
|
|
9677
9664
|
retries: number;
|
|
9678
9665
|
generation: number;
|
|
@@ -9706,22 +9693,22 @@ declare function createRelayClient(options: {
|
|
|
9706
9693
|
})[] | null;
|
|
9707
9694
|
createdAt: number;
|
|
9708
9695
|
input?: {
|
|
9709
|
-
kind: "text";
|
|
9710
|
-
value: string;
|
|
9711
|
-
} | {
|
|
9712
|
-
kind: "url";
|
|
9713
|
-
value: string;
|
|
9714
|
-
} | {
|
|
9715
9696
|
kind: "quiz";
|
|
9716
9697
|
answers: {
|
|
9717
9698
|
[k: string]: string;
|
|
9718
9699
|
};
|
|
9719
9700
|
release?: string | undefined;
|
|
9701
|
+
} | {
|
|
9702
|
+
kind: "text";
|
|
9703
|
+
value: string;
|
|
9704
|
+
} | {
|
|
9705
|
+
kind: "url";
|
|
9706
|
+
value: string;
|
|
9720
9707
|
} | undefined;
|
|
9721
9708
|
} | null;
|
|
9722
9709
|
release: string;
|
|
9723
|
-
interaction: "
|
|
9724
|
-
lifecycle: "
|
|
9710
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9711
|
+
lifecycle: "active" | "paused" | "archived";
|
|
9725
9712
|
rewards: ({
|
|
9726
9713
|
kind: "points";
|
|
9727
9714
|
label: string;
|
|
@@ -9815,9 +9802,9 @@ declare function createRelayClient(options: {
|
|
|
9815
9802
|
start: number;
|
|
9816
9803
|
end?: number | undefined;
|
|
9817
9804
|
};
|
|
9818
|
-
enrollment: "
|
|
9805
|
+
enrollment: "required" | "none";
|
|
9819
9806
|
posts: "after-enrollment" | "since-start";
|
|
9820
|
-
historical: "
|
|
9807
|
+
historical: "staff" | "automatic" | "claim";
|
|
9821
9808
|
} | undefined;
|
|
9822
9809
|
tracker?: {
|
|
9823
9810
|
tracker: string;
|
|
@@ -9862,12 +9849,12 @@ declare function createRelayClient(options: {
|
|
|
9862
9849
|
actor?: "member" | "staff" | undefined;
|
|
9863
9850
|
} | {
|
|
9864
9851
|
kind: "manual";
|
|
9865
|
-
input: "
|
|
9852
|
+
input: "quiz" | "photo" | "none";
|
|
9866
9853
|
actor?: "member" | "staff" | undefined;
|
|
9867
9854
|
};
|
|
9868
9855
|
availability: {
|
|
9869
9856
|
kind: "available";
|
|
9870
|
-
input: "
|
|
9857
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9871
9858
|
} | {
|
|
9872
9859
|
kind: "completed";
|
|
9873
9860
|
} | {
|
|
@@ -9905,7 +9892,7 @@ declare function createRelayClient(options: {
|
|
|
9905
9892
|
kind: "keyed";
|
|
9906
9893
|
};
|
|
9907
9894
|
completionCount: number;
|
|
9908
|
-
visibility: "
|
|
9895
|
+
visibility: "hidden" | "visible";
|
|
9909
9896
|
missing: {
|
|
9910
9897
|
quest: string;
|
|
9911
9898
|
title: string;
|
|
@@ -9916,7 +9903,7 @@ declare function createRelayClient(options: {
|
|
|
9916
9903
|
quest: string;
|
|
9917
9904
|
member: string;
|
|
9918
9905
|
evidence: string | null;
|
|
9919
|
-
status: "needs-review" | "
|
|
9906
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9920
9907
|
reason: string | null;
|
|
9921
9908
|
retries: number;
|
|
9922
9909
|
generation: number;
|
|
@@ -9950,22 +9937,22 @@ declare function createRelayClient(options: {
|
|
|
9950
9937
|
})[] | null;
|
|
9951
9938
|
createdAt: number;
|
|
9952
9939
|
input?: {
|
|
9953
|
-
kind: "text";
|
|
9954
|
-
value: string;
|
|
9955
|
-
} | {
|
|
9956
|
-
kind: "url";
|
|
9957
|
-
value: string;
|
|
9958
|
-
} | {
|
|
9959
9940
|
kind: "quiz";
|
|
9960
9941
|
answers: {
|
|
9961
9942
|
[k: string]: string;
|
|
9962
9943
|
};
|
|
9963
9944
|
release?: string | undefined;
|
|
9945
|
+
} | {
|
|
9946
|
+
kind: "text";
|
|
9947
|
+
value: string;
|
|
9948
|
+
} | {
|
|
9949
|
+
kind: "url";
|
|
9950
|
+
value: string;
|
|
9964
9951
|
} | undefined;
|
|
9965
9952
|
} | null;
|
|
9966
9953
|
release: string;
|
|
9967
|
-
interaction: "
|
|
9968
|
-
lifecycle: "
|
|
9954
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9955
|
+
lifecycle: "active" | "paused" | "archived";
|
|
9969
9956
|
rewards: ({
|
|
9970
9957
|
kind: "points";
|
|
9971
9958
|
label: string;
|
|
@@ -10062,9 +10049,9 @@ declare function createRelayClient(options: {
|
|
|
10062
10049
|
start: number;
|
|
10063
10050
|
end?: number | undefined;
|
|
10064
10051
|
};
|
|
10065
|
-
enrollment: "
|
|
10052
|
+
enrollment: "required" | "none";
|
|
10066
10053
|
posts: "after-enrollment" | "since-start";
|
|
10067
|
-
historical: "
|
|
10054
|
+
historical: "staff" | "automatic" | "claim";
|
|
10068
10055
|
} | undefined;
|
|
10069
10056
|
tracker?: {
|
|
10070
10057
|
tracker: string;
|
|
@@ -10109,12 +10096,12 @@ declare function createRelayClient(options: {
|
|
|
10109
10096
|
actor?: "member" | "staff" | undefined;
|
|
10110
10097
|
} | {
|
|
10111
10098
|
kind: "manual";
|
|
10112
|
-
input: "
|
|
10099
|
+
input: "quiz" | "photo" | "none";
|
|
10113
10100
|
actor?: "member" | "staff" | undefined;
|
|
10114
10101
|
};
|
|
10115
10102
|
availability: {
|
|
10116
10103
|
kind: "available";
|
|
10117
|
-
input: "
|
|
10104
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10118
10105
|
} | {
|
|
10119
10106
|
kind: "completed";
|
|
10120
10107
|
} | {
|
|
@@ -10152,7 +10139,7 @@ declare function createRelayClient(options: {
|
|
|
10152
10139
|
kind: "keyed";
|
|
10153
10140
|
};
|
|
10154
10141
|
completionCount: number;
|
|
10155
|
-
visibility: "
|
|
10142
|
+
visibility: "hidden" | "visible";
|
|
10156
10143
|
missing: {
|
|
10157
10144
|
quest: string;
|
|
10158
10145
|
title: string;
|
|
@@ -10163,7 +10150,7 @@ declare function createRelayClient(options: {
|
|
|
10163
10150
|
quest: string;
|
|
10164
10151
|
member: string;
|
|
10165
10152
|
evidence: string | null;
|
|
10166
|
-
status: "needs-review" | "
|
|
10153
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10167
10154
|
reason: string | null;
|
|
10168
10155
|
retries: number;
|
|
10169
10156
|
generation: number;
|
|
@@ -10197,22 +10184,22 @@ declare function createRelayClient(options: {
|
|
|
10197
10184
|
})[] | null;
|
|
10198
10185
|
createdAt: number;
|
|
10199
10186
|
input?: {
|
|
10200
|
-
kind: "text";
|
|
10201
|
-
value: string;
|
|
10202
|
-
} | {
|
|
10203
|
-
kind: "url";
|
|
10204
|
-
value: string;
|
|
10205
|
-
} | {
|
|
10206
10187
|
kind: "quiz";
|
|
10207
10188
|
answers: {
|
|
10208
10189
|
[k: string]: string;
|
|
10209
10190
|
};
|
|
10210
10191
|
release?: string | undefined;
|
|
10192
|
+
} | {
|
|
10193
|
+
kind: "text";
|
|
10194
|
+
value: string;
|
|
10195
|
+
} | {
|
|
10196
|
+
kind: "url";
|
|
10197
|
+
value: string;
|
|
10211
10198
|
} | undefined;
|
|
10212
10199
|
} | null;
|
|
10213
10200
|
release: string;
|
|
10214
|
-
interaction: "
|
|
10215
|
-
lifecycle: "
|
|
10201
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
10202
|
+
lifecycle: "active" | "paused" | "archived";
|
|
10216
10203
|
rewards: ({
|
|
10217
10204
|
kind: "points";
|
|
10218
10205
|
label: string;
|
|
@@ -10531,7 +10518,7 @@ declare function createRelayClient(options: {
|
|
|
10531
10518
|
quest: string;
|
|
10532
10519
|
member: string;
|
|
10533
10520
|
evidence: string | null;
|
|
10534
|
-
status: "needs-review" | "
|
|
10521
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10535
10522
|
reason: string | null;
|
|
10536
10523
|
retries: number;
|
|
10537
10524
|
generation: number;
|
|
@@ -10565,17 +10552,17 @@ declare function createRelayClient(options: {
|
|
|
10565
10552
|
})[] | null;
|
|
10566
10553
|
createdAt: number;
|
|
10567
10554
|
input?: {
|
|
10568
|
-
kind: "text";
|
|
10569
|
-
value: string;
|
|
10570
|
-
} | {
|
|
10571
|
-
kind: "url";
|
|
10572
|
-
value: string;
|
|
10573
|
-
} | {
|
|
10574
10555
|
kind: "quiz";
|
|
10575
10556
|
answers: {
|
|
10576
10557
|
[k: string]: string;
|
|
10577
10558
|
};
|
|
10578
10559
|
release?: string | undefined;
|
|
10560
|
+
} | {
|
|
10561
|
+
kind: "text";
|
|
10562
|
+
value: string;
|
|
10563
|
+
} | {
|
|
10564
|
+
kind: "url";
|
|
10565
|
+
value: string;
|
|
10579
10566
|
} | undefined;
|
|
10580
10567
|
}>;
|
|
10581
10568
|
progress: () => Promise<{
|
|
@@ -10616,9 +10603,9 @@ declare function createRelayClient(options: {
|
|
|
10616
10603
|
start: number;
|
|
10617
10604
|
end?: number | undefined;
|
|
10618
10605
|
};
|
|
10619
|
-
enrollment: "
|
|
10606
|
+
enrollment: "required" | "none";
|
|
10620
10607
|
posts: "after-enrollment" | "since-start";
|
|
10621
|
-
historical: "
|
|
10608
|
+
historical: "staff" | "automatic" | "claim";
|
|
10622
10609
|
} | undefined;
|
|
10623
10610
|
tracker?: {
|
|
10624
10611
|
tracker: string;
|
|
@@ -10663,12 +10650,12 @@ declare function createRelayClient(options: {
|
|
|
10663
10650
|
actor?: "member" | "staff" | undefined;
|
|
10664
10651
|
} | {
|
|
10665
10652
|
kind: "manual";
|
|
10666
|
-
input: "
|
|
10653
|
+
input: "quiz" | "photo" | "none";
|
|
10667
10654
|
actor?: "member" | "staff" | undefined;
|
|
10668
10655
|
};
|
|
10669
10656
|
availability: {
|
|
10670
10657
|
kind: "available";
|
|
10671
|
-
input: "
|
|
10658
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10672
10659
|
} | {
|
|
10673
10660
|
kind: "completed";
|
|
10674
10661
|
} | {
|
|
@@ -10706,7 +10693,7 @@ declare function createRelayClient(options: {
|
|
|
10706
10693
|
kind: "keyed";
|
|
10707
10694
|
};
|
|
10708
10695
|
completionCount: number;
|
|
10709
|
-
visibility: "
|
|
10696
|
+
visibility: "hidden" | "visible";
|
|
10710
10697
|
missing: {
|
|
10711
10698
|
quest: string;
|
|
10712
10699
|
title: string;
|
|
@@ -10717,7 +10704,7 @@ declare function createRelayClient(options: {
|
|
|
10717
10704
|
quest: string;
|
|
10718
10705
|
member: string;
|
|
10719
10706
|
evidence: string | null;
|
|
10720
|
-
status: "needs-review" | "
|
|
10707
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10721
10708
|
reason: string | null;
|
|
10722
10709
|
retries: number;
|
|
10723
10710
|
generation: number;
|
|
@@ -10751,17 +10738,17 @@ declare function createRelayClient(options: {
|
|
|
10751
10738
|
})[] | null;
|
|
10752
10739
|
createdAt: number;
|
|
10753
10740
|
input?: {
|
|
10754
|
-
kind: "text";
|
|
10755
|
-
value: string;
|
|
10756
|
-
} | {
|
|
10757
|
-
kind: "url";
|
|
10758
|
-
value: string;
|
|
10759
|
-
} | {
|
|
10760
10741
|
kind: "quiz";
|
|
10761
10742
|
answers: {
|
|
10762
10743
|
[k: string]: string;
|
|
10763
10744
|
};
|
|
10764
10745
|
release?: string | undefined;
|
|
10746
|
+
} | {
|
|
10747
|
+
kind: "text";
|
|
10748
|
+
value: string;
|
|
10749
|
+
} | {
|
|
10750
|
+
kind: "url";
|
|
10751
|
+
value: string;
|
|
10765
10752
|
} | undefined;
|
|
10766
10753
|
} | null;
|
|
10767
10754
|
key?: string | undefined;
|
|
@@ -10900,7 +10887,7 @@ declare function createRelayClient(options: {
|
|
|
10900
10887
|
quest: string;
|
|
10901
10888
|
member: string;
|
|
10902
10889
|
evidence: string | null;
|
|
10903
|
-
status: "needs-review" | "
|
|
10890
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10904
10891
|
reason: string | null;
|
|
10905
10892
|
retries: number;
|
|
10906
10893
|
generation: number;
|
|
@@ -10934,17 +10921,17 @@ declare function createRelayClient(options: {
|
|
|
10934
10921
|
})[] | null;
|
|
10935
10922
|
createdAt: number;
|
|
10936
10923
|
input?: {
|
|
10937
|
-
kind: "text";
|
|
10938
|
-
value: string;
|
|
10939
|
-
} | {
|
|
10940
|
-
kind: "url";
|
|
10941
|
-
value: string;
|
|
10942
|
-
} | {
|
|
10943
10924
|
kind: "quiz";
|
|
10944
10925
|
answers: {
|
|
10945
10926
|
[k: string]: string;
|
|
10946
10927
|
};
|
|
10947
10928
|
release?: string | undefined;
|
|
10929
|
+
} | {
|
|
10930
|
+
kind: "text";
|
|
10931
|
+
value: string;
|
|
10932
|
+
} | {
|
|
10933
|
+
kind: "url";
|
|
10934
|
+
value: string;
|
|
10948
10935
|
} | undefined;
|
|
10949
10936
|
}>;
|
|
10950
10937
|
upload: (file: File) => Promise<{
|
|
@@ -11107,9 +11094,9 @@ declare function createRelayClient(options: {
|
|
|
11107
11094
|
start: number;
|
|
11108
11095
|
end?: number | undefined;
|
|
11109
11096
|
};
|
|
11110
|
-
enrollment: "
|
|
11097
|
+
enrollment: "required" | "none";
|
|
11111
11098
|
posts: "after-enrollment" | "since-start";
|
|
11112
|
-
historical: "
|
|
11099
|
+
historical: "staff" | "automatic" | "claim";
|
|
11113
11100
|
} | undefined;
|
|
11114
11101
|
tracker?: {
|
|
11115
11102
|
tracker: string;
|
|
@@ -11154,12 +11141,11 @@ declare function createRelayClient(options: {
|
|
|
11154
11141
|
actor?: "member" | "staff" | undefined;
|
|
11155
11142
|
} | {
|
|
11156
11143
|
kind: "manual";
|
|
11157
|
-
input: "
|
|
11144
|
+
input: "quiz" | "photo" | "none";
|
|
11158
11145
|
actor?: "member" | "staff" | undefined;
|
|
11159
11146
|
};
|
|
11160
11147
|
requires: {
|
|
11161
11148
|
quest: string;
|
|
11162
|
-
scope: "ever";
|
|
11163
11149
|
}[];
|
|
11164
11150
|
completion: {
|
|
11165
11151
|
kind: "streak";
|
|
@@ -11170,7 +11156,7 @@ declare function createRelayClient(options: {
|
|
|
11170
11156
|
} | {
|
|
11171
11157
|
kind: "keyed";
|
|
11172
11158
|
};
|
|
11173
|
-
visibility: "
|
|
11159
|
+
visibility: "hidden" | "visible";
|
|
11174
11160
|
budgets: {
|
|
11175
11161
|
id: string;
|
|
11176
11162
|
scope: "member" | "project";
|
|
@@ -11333,9 +11319,9 @@ declare function createRelayClient(options: {
|
|
|
11333
11319
|
start: number;
|
|
11334
11320
|
end?: number | undefined;
|
|
11335
11321
|
};
|
|
11336
|
-
enrollment: "
|
|
11322
|
+
enrollment: "required" | "none";
|
|
11337
11323
|
posts: "after-enrollment" | "since-start";
|
|
11338
|
-
historical: "
|
|
11324
|
+
historical: "staff" | "automatic" | "claim";
|
|
11339
11325
|
} | undefined;
|
|
11340
11326
|
tracker?: {
|
|
11341
11327
|
tracker: string;
|
|
@@ -11380,12 +11366,11 @@ declare function createRelayClient(options: {
|
|
|
11380
11366
|
actor?: "member" | "staff" | undefined;
|
|
11381
11367
|
} | {
|
|
11382
11368
|
kind: "manual";
|
|
11383
|
-
input: "
|
|
11369
|
+
input: "quiz" | "photo" | "none";
|
|
11384
11370
|
actor?: "member" | "staff" | undefined;
|
|
11385
11371
|
};
|
|
11386
11372
|
requires: {
|
|
11387
11373
|
quest: string;
|
|
11388
|
-
scope: "ever";
|
|
11389
11374
|
}[];
|
|
11390
11375
|
completion: {
|
|
11391
11376
|
kind: "streak";
|
|
@@ -11396,7 +11381,7 @@ declare function createRelayClient(options: {
|
|
|
11396
11381
|
} | {
|
|
11397
11382
|
kind: "keyed";
|
|
11398
11383
|
};
|
|
11399
|
-
visibility: "
|
|
11384
|
+
visibility: "hidden" | "visible";
|
|
11400
11385
|
budgets: {
|
|
11401
11386
|
id: string;
|
|
11402
11387
|
scope: "member" | "project";
|
|
@@ -11558,9 +11543,9 @@ declare function createRelayClient(options: {
|
|
|
11558
11543
|
start: number;
|
|
11559
11544
|
end?: number | undefined;
|
|
11560
11545
|
};
|
|
11561
|
-
enrollment: "
|
|
11546
|
+
enrollment: "required" | "none";
|
|
11562
11547
|
posts: "after-enrollment" | "since-start";
|
|
11563
|
-
historical: "
|
|
11548
|
+
historical: "staff" | "automatic" | "claim";
|
|
11564
11549
|
} | undefined;
|
|
11565
11550
|
tracker?: {
|
|
11566
11551
|
tracker: string;
|
|
@@ -11605,12 +11590,11 @@ declare function createRelayClient(options: {
|
|
|
11605
11590
|
actor?: "member" | "staff" | undefined;
|
|
11606
11591
|
} | {
|
|
11607
11592
|
kind: "manual";
|
|
11608
|
-
input: "
|
|
11593
|
+
input: "quiz" | "photo" | "none";
|
|
11609
11594
|
actor?: "member" | "staff" | undefined;
|
|
11610
11595
|
};
|
|
11611
11596
|
requires: {
|
|
11612
11597
|
quest: string;
|
|
11613
|
-
scope: "ever";
|
|
11614
11598
|
}[];
|
|
11615
11599
|
completion: {
|
|
11616
11600
|
kind: "streak";
|
|
@@ -11621,7 +11605,7 @@ declare function createRelayClient(options: {
|
|
|
11621
11605
|
} | {
|
|
11622
11606
|
kind: "keyed";
|
|
11623
11607
|
};
|
|
11624
|
-
visibility: "
|
|
11608
|
+
visibility: "hidden" | "visible";
|
|
11625
11609
|
budgets: {
|
|
11626
11610
|
id: string;
|
|
11627
11611
|
scope: "member" | "project";
|
|
@@ -11636,7 +11620,7 @@ declare function createRelayClient(options: {
|
|
|
11636
11620
|
id: string;
|
|
11637
11621
|
createdAt: number;
|
|
11638
11622
|
legacy: boolean;
|
|
11639
|
-
lifecycle: "
|
|
11623
|
+
lifecycle: "active" | "paused" | "archived";
|
|
11640
11624
|
performance?: {
|
|
11641
11625
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11642
11626
|
maxAgeMs: number;
|
|
@@ -11759,7 +11743,7 @@ declare function createRelayClient(options: {
|
|
|
11759
11743
|
quest: string;
|
|
11760
11744
|
member: string;
|
|
11761
11745
|
evidence: string | null;
|
|
11762
|
-
status: "needs-review" | "
|
|
11746
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11763
11747
|
reason: string | null;
|
|
11764
11748
|
retries: number;
|
|
11765
11749
|
generation: number;
|
|
@@ -11793,17 +11777,17 @@ declare function createRelayClient(options: {
|
|
|
11793
11777
|
})[] | null;
|
|
11794
11778
|
createdAt: number;
|
|
11795
11779
|
input?: {
|
|
11796
|
-
kind: "text";
|
|
11797
|
-
value: string;
|
|
11798
|
-
} | {
|
|
11799
|
-
kind: "url";
|
|
11800
|
-
value: string;
|
|
11801
|
-
} | {
|
|
11802
11780
|
kind: "quiz";
|
|
11803
11781
|
answers: {
|
|
11804
11782
|
[k: string]: string;
|
|
11805
11783
|
};
|
|
11806
11784
|
release?: string | undefined;
|
|
11785
|
+
} | {
|
|
11786
|
+
kind: "text";
|
|
11787
|
+
value: string;
|
|
11788
|
+
} | {
|
|
11789
|
+
kind: "url";
|
|
11790
|
+
value: string;
|
|
11807
11791
|
} | undefined;
|
|
11808
11792
|
}[];
|
|
11809
11793
|
balances: {
|
|
@@ -11964,9 +11948,9 @@ declare function createRelayClient(options: {
|
|
|
11964
11948
|
start: number;
|
|
11965
11949
|
end?: number | undefined;
|
|
11966
11950
|
};
|
|
11967
|
-
enrollment: "
|
|
11951
|
+
enrollment: "required" | "none";
|
|
11968
11952
|
posts: "after-enrollment" | "since-start";
|
|
11969
|
-
historical: "
|
|
11953
|
+
historical: "staff" | "automatic" | "claim";
|
|
11970
11954
|
} | undefined;
|
|
11971
11955
|
tracker?: {
|
|
11972
11956
|
tracker: string;
|
|
@@ -12011,12 +11995,11 @@ declare function createRelayClient(options: {
|
|
|
12011
11995
|
actor?: "member" | "staff" | undefined;
|
|
12012
11996
|
} | {
|
|
12013
11997
|
kind: "manual";
|
|
12014
|
-
input: "
|
|
11998
|
+
input: "quiz" | "photo" | "none";
|
|
12015
11999
|
actor?: "member" | "staff" | undefined;
|
|
12016
12000
|
};
|
|
12017
12001
|
requires: {
|
|
12018
12002
|
quest: string;
|
|
12019
|
-
scope: "ever";
|
|
12020
12003
|
}[];
|
|
12021
12004
|
completion: {
|
|
12022
12005
|
kind: "streak";
|
|
@@ -12027,7 +12010,7 @@ declare function createRelayClient(options: {
|
|
|
12027
12010
|
} | {
|
|
12028
12011
|
kind: "keyed";
|
|
12029
12012
|
};
|
|
12030
|
-
visibility: "
|
|
12013
|
+
visibility: "hidden" | "visible";
|
|
12031
12014
|
budgets: {
|
|
12032
12015
|
id: string;
|
|
12033
12016
|
scope: "member" | "project";
|
|
@@ -12042,7 +12025,7 @@ declare function createRelayClient(options: {
|
|
|
12042
12025
|
id: string;
|
|
12043
12026
|
createdAt: number;
|
|
12044
12027
|
legacy: boolean;
|
|
12045
|
-
lifecycle: "
|
|
12028
|
+
lifecycle: "active" | "paused" | "archived";
|
|
12046
12029
|
performance?: {
|
|
12047
12030
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
12048
12031
|
maxAgeMs: number;
|
|
@@ -12218,9 +12201,9 @@ declare function createRelayClient(options: {
|
|
|
12218
12201
|
start: number;
|
|
12219
12202
|
end?: number | undefined;
|
|
12220
12203
|
};
|
|
12221
|
-
enrollment: "
|
|
12204
|
+
enrollment: "required" | "none";
|
|
12222
12205
|
posts: "after-enrollment" | "since-start";
|
|
12223
|
-
historical: "
|
|
12206
|
+
historical: "staff" | "automatic" | "claim";
|
|
12224
12207
|
} | undefined;
|
|
12225
12208
|
tracker?: {
|
|
12226
12209
|
tracker: string;
|
|
@@ -12265,12 +12248,11 @@ declare function createRelayClient(options: {
|
|
|
12265
12248
|
actor?: "member" | "staff" | undefined;
|
|
12266
12249
|
} | {
|
|
12267
12250
|
kind: "manual";
|
|
12268
|
-
input: "
|
|
12251
|
+
input: "quiz" | "photo" | "none";
|
|
12269
12252
|
actor?: "member" | "staff" | undefined;
|
|
12270
12253
|
};
|
|
12271
12254
|
requires: {
|
|
12272
12255
|
quest: string;
|
|
12273
|
-
scope: "ever";
|
|
12274
12256
|
}[];
|
|
12275
12257
|
completion: {
|
|
12276
12258
|
kind: "streak";
|
|
@@ -12281,7 +12263,7 @@ declare function createRelayClient(options: {
|
|
|
12281
12263
|
} | {
|
|
12282
12264
|
kind: "keyed";
|
|
12283
12265
|
};
|
|
12284
|
-
visibility: "
|
|
12266
|
+
visibility: "hidden" | "visible";
|
|
12285
12267
|
budgets: {
|
|
12286
12268
|
id: string;
|
|
12287
12269
|
scope: "member" | "project";
|
|
@@ -12296,7 +12278,7 @@ declare function createRelayClient(options: {
|
|
|
12296
12278
|
id: string;
|
|
12297
12279
|
createdAt: number;
|
|
12298
12280
|
legacy: boolean;
|
|
12299
|
-
lifecycle: "
|
|
12281
|
+
lifecycle: "active" | "paused" | "archived";
|
|
12300
12282
|
performance?: {
|
|
12301
12283
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
12302
12284
|
maxAgeMs: number;
|
|
@@ -12368,9 +12350,9 @@ declare function createRelayClient(options: {
|
|
|
12368
12350
|
start: number;
|
|
12369
12351
|
end?: number | undefined;
|
|
12370
12352
|
};
|
|
12371
|
-
enrollment: "
|
|
12353
|
+
enrollment: "required" | "none";
|
|
12372
12354
|
posts: "after-enrollment" | "since-start";
|
|
12373
|
-
historical: "
|
|
12355
|
+
historical: "staff" | "automatic" | "claim";
|
|
12374
12356
|
} | undefined;
|
|
12375
12357
|
tracker?: {
|
|
12376
12358
|
tracker: string;
|
|
@@ -12415,12 +12397,12 @@ declare function createRelayClient(options: {
|
|
|
12415
12397
|
actor?: "member" | "staff" | undefined;
|
|
12416
12398
|
} | {
|
|
12417
12399
|
kind: "manual";
|
|
12418
|
-
input: "
|
|
12400
|
+
input: "quiz" | "photo" | "none";
|
|
12419
12401
|
actor?: "member" | "staff" | undefined;
|
|
12420
12402
|
};
|
|
12421
12403
|
availability: {
|
|
12422
12404
|
kind: "available";
|
|
12423
|
-
input: "
|
|
12405
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
12424
12406
|
} | {
|
|
12425
12407
|
kind: "completed";
|
|
12426
12408
|
} | {
|
|
@@ -12458,7 +12440,7 @@ declare function createRelayClient(options: {
|
|
|
12458
12440
|
kind: "keyed";
|
|
12459
12441
|
};
|
|
12460
12442
|
completionCount: number;
|
|
12461
|
-
visibility: "
|
|
12443
|
+
visibility: "hidden" | "visible";
|
|
12462
12444
|
missing: {
|
|
12463
12445
|
quest: string;
|
|
12464
12446
|
title: string;
|
|
@@ -12469,7 +12451,7 @@ declare function createRelayClient(options: {
|
|
|
12469
12451
|
quest: string;
|
|
12470
12452
|
member: string;
|
|
12471
12453
|
evidence: string | null;
|
|
12472
|
-
status: "needs-review" | "
|
|
12454
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12473
12455
|
reason: string | null;
|
|
12474
12456
|
retries: number;
|
|
12475
12457
|
generation: number;
|
|
@@ -12503,17 +12485,17 @@ declare function createRelayClient(options: {
|
|
|
12503
12485
|
})[] | null;
|
|
12504
12486
|
createdAt: number;
|
|
12505
12487
|
input?: {
|
|
12506
|
-
kind: "text";
|
|
12507
|
-
value: string;
|
|
12508
|
-
} | {
|
|
12509
|
-
kind: "url";
|
|
12510
|
-
value: string;
|
|
12511
|
-
} | {
|
|
12512
12488
|
kind: "quiz";
|
|
12513
12489
|
answers: {
|
|
12514
12490
|
[k: string]: string;
|
|
12515
12491
|
};
|
|
12516
12492
|
release?: string | undefined;
|
|
12493
|
+
} | {
|
|
12494
|
+
kind: "text";
|
|
12495
|
+
value: string;
|
|
12496
|
+
} | {
|
|
12497
|
+
kind: "url";
|
|
12498
|
+
value: string;
|
|
12517
12499
|
} | undefined;
|
|
12518
12500
|
} | null;
|
|
12519
12501
|
key?: string | undefined;
|
|
@@ -12897,14 +12879,14 @@ declare function createRelayClient(options: {
|
|
|
12897
12879
|
content: {
|
|
12898
12880
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
12899
12881
|
current: {
|
|
12900
|
-
state: "
|
|
12882
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
12901
12883
|
reason: string | null;
|
|
12902
12884
|
contentAttempt: string;
|
|
12903
12885
|
attempt: string | null;
|
|
12904
12886
|
reward: {
|
|
12905
12887
|
attempt: string | null;
|
|
12906
12888
|
completion: string | null;
|
|
12907
|
-
state: "
|
|
12889
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
12908
12890
|
};
|
|
12909
12891
|
};
|
|
12910
12892
|
items: {
|
|
@@ -12913,7 +12895,7 @@ declare function createRelayClient(options: {
|
|
|
12913
12895
|
observation: string;
|
|
12914
12896
|
observedAt: number;
|
|
12915
12897
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
12916
|
-
state: "
|
|
12898
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
12917
12899
|
reason: string | null;
|
|
12918
12900
|
}[];
|
|
12919
12901
|
next: number | null;
|
|
@@ -12928,12 +12910,12 @@ declare function createRelayClient(options: {
|
|
|
12928
12910
|
revision: string;
|
|
12929
12911
|
observation: string;
|
|
12930
12912
|
current: boolean;
|
|
12931
|
-
state: "
|
|
12913
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
12932
12914
|
reason: string | null;
|
|
12933
12915
|
reward: {
|
|
12934
12916
|
attempt: string | null;
|
|
12935
12917
|
completion: string | null;
|
|
12936
|
-
state: "
|
|
12918
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
12937
12919
|
};
|
|
12938
12920
|
}[];
|
|
12939
12921
|
next: number | null;
|
|
@@ -12943,7 +12925,7 @@ declare function createRelayClient(options: {
|
|
|
12943
12925
|
quest: string;
|
|
12944
12926
|
content: string;
|
|
12945
12927
|
release: string;
|
|
12946
|
-
state: "
|
|
12928
|
+
state: "pending" | "admitted" | "excluded";
|
|
12947
12929
|
reason: string | null;
|
|
12948
12930
|
attempt: string | null;
|
|
12949
12931
|
}[];
|
|
@@ -12958,7 +12940,7 @@ declare function createRelayClient(options: {
|
|
|
12958
12940
|
quest: string;
|
|
12959
12941
|
content: string;
|
|
12960
12942
|
release: string;
|
|
12961
|
-
state: "
|
|
12943
|
+
state: "pending" | "admitted" | "excluded";
|
|
12962
12944
|
reason: string | null;
|
|
12963
12945
|
attempt: string | null;
|
|
12964
12946
|
}>;
|
|
@@ -12969,7 +12951,7 @@ declare function createRelayClient(options: {
|
|
|
12969
12951
|
quest: string;
|
|
12970
12952
|
member: string;
|
|
12971
12953
|
evidence: string | null;
|
|
12972
|
-
status: "needs-review" | "
|
|
12954
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12973
12955
|
reason: string | null;
|
|
12974
12956
|
retries: number;
|
|
12975
12957
|
generation: number;
|
|
@@ -13003,17 +12985,17 @@ declare function createRelayClient(options: {
|
|
|
13003
12985
|
})[] | null;
|
|
13004
12986
|
createdAt: number;
|
|
13005
12987
|
input?: {
|
|
13006
|
-
kind: "text";
|
|
13007
|
-
value: string;
|
|
13008
|
-
} | {
|
|
13009
|
-
kind: "url";
|
|
13010
|
-
value: string;
|
|
13011
|
-
} | {
|
|
13012
12988
|
kind: "quiz";
|
|
13013
12989
|
answers: {
|
|
13014
12990
|
[k: string]: string;
|
|
13015
12991
|
};
|
|
13016
12992
|
release?: string | undefined;
|
|
12993
|
+
} | {
|
|
12994
|
+
kind: "text";
|
|
12995
|
+
value: string;
|
|
12996
|
+
} | {
|
|
12997
|
+
kind: "url";
|
|
12998
|
+
value: string;
|
|
13017
12999
|
} | undefined;
|
|
13018
13000
|
}>;
|
|
13019
13001
|
retry: (id: string) => Promise<{
|
|
@@ -13022,7 +13004,7 @@ declare function createRelayClient(options: {
|
|
|
13022
13004
|
quest: string;
|
|
13023
13005
|
member: string;
|
|
13024
13006
|
evidence: string | null;
|
|
13025
|
-
status: "needs-review" | "
|
|
13007
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
13026
13008
|
reason: string | null;
|
|
13027
13009
|
retries: number;
|
|
13028
13010
|
generation: number;
|
|
@@ -13056,17 +13038,17 @@ declare function createRelayClient(options: {
|
|
|
13056
13038
|
})[] | null;
|
|
13057
13039
|
createdAt: number;
|
|
13058
13040
|
input?: {
|
|
13059
|
-
kind: "text";
|
|
13060
|
-
value: string;
|
|
13061
|
-
} | {
|
|
13062
|
-
kind: "url";
|
|
13063
|
-
value: string;
|
|
13064
|
-
} | {
|
|
13065
13041
|
kind: "quiz";
|
|
13066
13042
|
answers: {
|
|
13067
13043
|
[k: string]: string;
|
|
13068
13044
|
};
|
|
13069
13045
|
release?: string | undefined;
|
|
13046
|
+
} | {
|
|
13047
|
+
kind: "text";
|
|
13048
|
+
value: string;
|
|
13049
|
+
} | {
|
|
13050
|
+
kind: "url";
|
|
13051
|
+
value: string;
|
|
13070
13052
|
} | undefined;
|
|
13071
13053
|
}>;
|
|
13072
13054
|
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
@@ -13081,7 +13063,7 @@ declare function createRelayClient(options: {
|
|
|
13081
13063
|
quest: string;
|
|
13082
13064
|
member: string;
|
|
13083
13065
|
evidence: string | null;
|
|
13084
|
-
status: "needs-review" | "
|
|
13066
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
13085
13067
|
reason: string | null;
|
|
13086
13068
|
retries: number;
|
|
13087
13069
|
generation: number;
|
|
@@ -13115,17 +13097,17 @@ declare function createRelayClient(options: {
|
|
|
13115
13097
|
})[] | null;
|
|
13116
13098
|
createdAt: number;
|
|
13117
13099
|
input?: {
|
|
13118
|
-
kind: "text";
|
|
13119
|
-
value: string;
|
|
13120
|
-
} | {
|
|
13121
|
-
kind: "url";
|
|
13122
|
-
value: string;
|
|
13123
|
-
} | {
|
|
13124
13100
|
kind: "quiz";
|
|
13125
13101
|
answers: {
|
|
13126
13102
|
[k: string]: string;
|
|
13127
13103
|
};
|
|
13128
13104
|
release?: string | undefined;
|
|
13105
|
+
} | {
|
|
13106
|
+
kind: "text";
|
|
13107
|
+
value: string;
|
|
13108
|
+
} | {
|
|
13109
|
+
kind: "url";
|
|
13110
|
+
value: string;
|
|
13129
13111
|
} | undefined;
|
|
13130
13112
|
}>;
|
|
13131
13113
|
};
|