@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/browser.d.ts
CHANGED
|
@@ -409,7 +409,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
409
409
|
accounts: {
|
|
410
410
|
id: string;
|
|
411
411
|
program: string;
|
|
412
|
-
kind: "
|
|
412
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
413
413
|
balance: string;
|
|
414
414
|
earned: number;
|
|
415
415
|
settled: number;
|
|
@@ -603,7 +603,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
603
603
|
seed: string;
|
|
604
604
|
};
|
|
605
605
|
displayName: string | null;
|
|
606
|
-
avatarChoice: "default" | "account" | "
|
|
606
|
+
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
607
607
|
avatarProvider: "x" | "discord" | "google" | null;
|
|
608
608
|
hidden: boolean;
|
|
609
609
|
locked: boolean;
|
|
@@ -633,7 +633,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
633
633
|
seed: string;
|
|
634
634
|
};
|
|
635
635
|
displayName: string | null;
|
|
636
|
-
avatarChoice: "default" | "account" | "
|
|
636
|
+
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
637
637
|
avatarProvider: "x" | "discord" | "google" | null;
|
|
638
638
|
hidden: boolean;
|
|
639
639
|
locked: boolean;
|
|
@@ -664,7 +664,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
664
664
|
seed: string;
|
|
665
665
|
};
|
|
666
666
|
displayName: string | null;
|
|
667
|
-
avatarChoice: "default" | "account" | "
|
|
667
|
+
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
668
668
|
avatarProvider: "x" | "discord" | "google" | null;
|
|
669
669
|
hidden: boolean;
|
|
670
670
|
locked: boolean;
|
|
@@ -752,9 +752,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
752
752
|
start: number;
|
|
753
753
|
end?: number | undefined;
|
|
754
754
|
};
|
|
755
|
-
enrollment: "
|
|
755
|
+
enrollment: "required" | "none";
|
|
756
756
|
posts: "after-enrollment" | "since-start";
|
|
757
|
-
historical: "
|
|
757
|
+
historical: "staff" | "automatic" | "claim";
|
|
758
758
|
} | undefined;
|
|
759
759
|
tracker?: {
|
|
760
760
|
tracker: string;
|
|
@@ -799,12 +799,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
799
799
|
actor?: "member" | "staff" | undefined;
|
|
800
800
|
} | {
|
|
801
801
|
kind: "manual";
|
|
802
|
-
input: "
|
|
802
|
+
input: "quiz" | "photo" | "none";
|
|
803
803
|
actor?: "member" | "staff" | undefined;
|
|
804
804
|
};
|
|
805
805
|
availability: {
|
|
806
806
|
kind: "available";
|
|
807
|
-
input: "
|
|
807
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
808
808
|
} | {
|
|
809
809
|
kind: "completed";
|
|
810
810
|
} | {
|
|
@@ -842,7 +842,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
842
842
|
kind: "keyed";
|
|
843
843
|
};
|
|
844
844
|
completionCount: number;
|
|
845
|
-
visibility: "
|
|
845
|
+
visibility: "hidden" | "visible";
|
|
846
846
|
missing: {
|
|
847
847
|
quest: string;
|
|
848
848
|
title: string;
|
|
@@ -853,7 +853,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
853
853
|
quest: string;
|
|
854
854
|
member: string;
|
|
855
855
|
evidence: string | null;
|
|
856
|
-
status: "needs-review" | "
|
|
856
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
857
857
|
reason: string | null;
|
|
858
858
|
retries: number;
|
|
859
859
|
generation: number;
|
|
@@ -887,22 +887,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
887
887
|
})[] | null;
|
|
888
888
|
createdAt: number;
|
|
889
889
|
input?: {
|
|
890
|
-
kind: "text";
|
|
891
|
-
value: string;
|
|
892
|
-
} | {
|
|
893
|
-
kind: "url";
|
|
894
|
-
value: string;
|
|
895
|
-
} | {
|
|
896
890
|
kind: "quiz";
|
|
897
891
|
answers: {
|
|
898
892
|
[k: string]: string;
|
|
899
893
|
};
|
|
900
894
|
release?: string | undefined;
|
|
895
|
+
} | {
|
|
896
|
+
kind: "text";
|
|
897
|
+
value: string;
|
|
898
|
+
} | {
|
|
899
|
+
kind: "url";
|
|
900
|
+
value: string;
|
|
901
901
|
} | undefined;
|
|
902
902
|
} | null;
|
|
903
903
|
release: string;
|
|
904
|
-
interaction: "
|
|
905
|
-
lifecycle: "
|
|
904
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
905
|
+
lifecycle: "active" | "paused" | "archived";
|
|
906
906
|
rewards: ({
|
|
907
907
|
kind: "points";
|
|
908
908
|
label: string;
|
|
@@ -963,7 +963,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
963
963
|
quest: string;
|
|
964
964
|
member: string;
|
|
965
965
|
evidence: string | null;
|
|
966
|
-
status: "needs-review" | "
|
|
966
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
967
967
|
reason: string | null;
|
|
968
968
|
retries: number;
|
|
969
969
|
generation: number;
|
|
@@ -997,17 +997,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
997
997
|
})[] | null;
|
|
998
998
|
createdAt: number;
|
|
999
999
|
input?: {
|
|
1000
|
-
kind: "text";
|
|
1001
|
-
value: string;
|
|
1002
|
-
} | {
|
|
1003
|
-
kind: "url";
|
|
1004
|
-
value: string;
|
|
1005
|
-
} | {
|
|
1006
1000
|
kind: "quiz";
|
|
1007
1001
|
answers: {
|
|
1008
1002
|
[k: string]: string;
|
|
1009
1003
|
};
|
|
1010
1004
|
release?: string | undefined;
|
|
1005
|
+
} | {
|
|
1006
|
+
kind: "text";
|
|
1007
|
+
value: string;
|
|
1008
|
+
} | {
|
|
1009
|
+
kind: "url";
|
|
1010
|
+
value: string;
|
|
1011
1011
|
} | undefined;
|
|
1012
1012
|
}>;
|
|
1013
1013
|
experience: () => Promise<{
|
|
@@ -1048,9 +1048,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1048
1048
|
start: number;
|
|
1049
1049
|
end?: number | undefined;
|
|
1050
1050
|
};
|
|
1051
|
-
enrollment: "
|
|
1051
|
+
enrollment: "required" | "none";
|
|
1052
1052
|
posts: "after-enrollment" | "since-start";
|
|
1053
|
-
historical: "
|
|
1053
|
+
historical: "staff" | "automatic" | "claim";
|
|
1054
1054
|
} | undefined;
|
|
1055
1055
|
tracker?: {
|
|
1056
1056
|
tracker: string;
|
|
@@ -1095,12 +1095,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1095
1095
|
actor?: "member" | "staff" | undefined;
|
|
1096
1096
|
} | {
|
|
1097
1097
|
kind: "manual";
|
|
1098
|
-
input: "
|
|
1098
|
+
input: "quiz" | "photo" | "none";
|
|
1099
1099
|
actor?: "member" | "staff" | undefined;
|
|
1100
1100
|
};
|
|
1101
1101
|
availability: {
|
|
1102
1102
|
kind: "available";
|
|
1103
|
-
input: "
|
|
1103
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
1104
1104
|
} | {
|
|
1105
1105
|
kind: "completed";
|
|
1106
1106
|
} | {
|
|
@@ -1138,7 +1138,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1138
1138
|
kind: "keyed";
|
|
1139
1139
|
};
|
|
1140
1140
|
completionCount: number;
|
|
1141
|
-
visibility: "
|
|
1141
|
+
visibility: "hidden" | "visible";
|
|
1142
1142
|
missing: {
|
|
1143
1143
|
quest: string;
|
|
1144
1144
|
title: string;
|
|
@@ -1149,7 +1149,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1149
1149
|
quest: string;
|
|
1150
1150
|
member: string;
|
|
1151
1151
|
evidence: string | null;
|
|
1152
|
-
status: "needs-review" | "
|
|
1152
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
1153
1153
|
reason: string | null;
|
|
1154
1154
|
retries: number;
|
|
1155
1155
|
generation: number;
|
|
@@ -1183,22 +1183,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1183
1183
|
})[] | null;
|
|
1184
1184
|
createdAt: number;
|
|
1185
1185
|
input?: {
|
|
1186
|
-
kind: "text";
|
|
1187
|
-
value: string;
|
|
1188
|
-
} | {
|
|
1189
|
-
kind: "url";
|
|
1190
|
-
value: string;
|
|
1191
|
-
} | {
|
|
1192
1186
|
kind: "quiz";
|
|
1193
1187
|
answers: {
|
|
1194
1188
|
[k: string]: string;
|
|
1195
1189
|
};
|
|
1196
1190
|
release?: string | undefined;
|
|
1191
|
+
} | {
|
|
1192
|
+
kind: "text";
|
|
1193
|
+
value: string;
|
|
1194
|
+
} | {
|
|
1195
|
+
kind: "url";
|
|
1196
|
+
value: string;
|
|
1197
1197
|
} | undefined;
|
|
1198
1198
|
} | null;
|
|
1199
1199
|
release: string;
|
|
1200
|
-
interaction: "
|
|
1201
|
-
lifecycle: "
|
|
1200
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
1201
|
+
lifecycle: "active" | "paused" | "archived";
|
|
1202
1202
|
rewards: ({
|
|
1203
1203
|
kind: "points";
|
|
1204
1204
|
label: string;
|
|
@@ -1292,9 +1292,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1292
1292
|
start: number;
|
|
1293
1293
|
end?: number | undefined;
|
|
1294
1294
|
};
|
|
1295
|
-
enrollment: "
|
|
1295
|
+
enrollment: "required" | "none";
|
|
1296
1296
|
posts: "after-enrollment" | "since-start";
|
|
1297
|
-
historical: "
|
|
1297
|
+
historical: "staff" | "automatic" | "claim";
|
|
1298
1298
|
} | undefined;
|
|
1299
1299
|
tracker?: {
|
|
1300
1300
|
tracker: string;
|
|
@@ -1339,12 +1339,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1339
1339
|
actor?: "member" | "staff" | undefined;
|
|
1340
1340
|
} | {
|
|
1341
1341
|
kind: "manual";
|
|
1342
|
-
input: "
|
|
1342
|
+
input: "quiz" | "photo" | "none";
|
|
1343
1343
|
actor?: "member" | "staff" | undefined;
|
|
1344
1344
|
};
|
|
1345
1345
|
availability: {
|
|
1346
1346
|
kind: "available";
|
|
1347
|
-
input: "
|
|
1347
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
1348
1348
|
} | {
|
|
1349
1349
|
kind: "completed";
|
|
1350
1350
|
} | {
|
|
@@ -1382,7 +1382,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1382
1382
|
kind: "keyed";
|
|
1383
1383
|
};
|
|
1384
1384
|
completionCount: number;
|
|
1385
|
-
visibility: "
|
|
1385
|
+
visibility: "hidden" | "visible";
|
|
1386
1386
|
missing: {
|
|
1387
1387
|
quest: string;
|
|
1388
1388
|
title: string;
|
|
@@ -1393,7 +1393,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1393
1393
|
quest: string;
|
|
1394
1394
|
member: string;
|
|
1395
1395
|
evidence: string | null;
|
|
1396
|
-
status: "needs-review" | "
|
|
1396
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
1397
1397
|
reason: string | null;
|
|
1398
1398
|
retries: number;
|
|
1399
1399
|
generation: number;
|
|
@@ -1427,22 +1427,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1427
1427
|
})[] | null;
|
|
1428
1428
|
createdAt: number;
|
|
1429
1429
|
input?: {
|
|
1430
|
-
kind: "text";
|
|
1431
|
-
value: string;
|
|
1432
|
-
} | {
|
|
1433
|
-
kind: "url";
|
|
1434
|
-
value: string;
|
|
1435
|
-
} | {
|
|
1436
1430
|
kind: "quiz";
|
|
1437
1431
|
answers: {
|
|
1438
1432
|
[k: string]: string;
|
|
1439
1433
|
};
|
|
1440
1434
|
release?: string | undefined;
|
|
1435
|
+
} | {
|
|
1436
|
+
kind: "text";
|
|
1437
|
+
value: string;
|
|
1438
|
+
} | {
|
|
1439
|
+
kind: "url";
|
|
1440
|
+
value: string;
|
|
1441
1441
|
} | undefined;
|
|
1442
1442
|
} | null;
|
|
1443
1443
|
release: string;
|
|
1444
|
-
interaction: "
|
|
1445
|
-
lifecycle: "
|
|
1444
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
1445
|
+
lifecycle: "active" | "paused" | "archived";
|
|
1446
1446
|
rewards: ({
|
|
1447
1447
|
kind: "points";
|
|
1448
1448
|
label: string;
|
|
@@ -1539,9 +1539,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1539
1539
|
start: number;
|
|
1540
1540
|
end?: number | undefined;
|
|
1541
1541
|
};
|
|
1542
|
-
enrollment: "
|
|
1542
|
+
enrollment: "required" | "none";
|
|
1543
1543
|
posts: "after-enrollment" | "since-start";
|
|
1544
|
-
historical: "
|
|
1544
|
+
historical: "staff" | "automatic" | "claim";
|
|
1545
1545
|
} | undefined;
|
|
1546
1546
|
tracker?: {
|
|
1547
1547
|
tracker: string;
|
|
@@ -1586,12 +1586,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1586
1586
|
actor?: "member" | "staff" | undefined;
|
|
1587
1587
|
} | {
|
|
1588
1588
|
kind: "manual";
|
|
1589
|
-
input: "
|
|
1589
|
+
input: "quiz" | "photo" | "none";
|
|
1590
1590
|
actor?: "member" | "staff" | undefined;
|
|
1591
1591
|
};
|
|
1592
1592
|
availability: {
|
|
1593
1593
|
kind: "available";
|
|
1594
|
-
input: "
|
|
1594
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
1595
1595
|
} | {
|
|
1596
1596
|
kind: "completed";
|
|
1597
1597
|
} | {
|
|
@@ -1629,7 +1629,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1629
1629
|
kind: "keyed";
|
|
1630
1630
|
};
|
|
1631
1631
|
completionCount: number;
|
|
1632
|
-
visibility: "
|
|
1632
|
+
visibility: "hidden" | "visible";
|
|
1633
1633
|
missing: {
|
|
1634
1634
|
quest: string;
|
|
1635
1635
|
title: string;
|
|
@@ -1640,7 +1640,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1640
1640
|
quest: string;
|
|
1641
1641
|
member: string;
|
|
1642
1642
|
evidence: string | null;
|
|
1643
|
-
status: "needs-review" | "
|
|
1643
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
1644
1644
|
reason: string | null;
|
|
1645
1645
|
retries: number;
|
|
1646
1646
|
generation: number;
|
|
@@ -1674,22 +1674,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1674
1674
|
})[] | null;
|
|
1675
1675
|
createdAt: number;
|
|
1676
1676
|
input?: {
|
|
1677
|
-
kind: "text";
|
|
1678
|
-
value: string;
|
|
1679
|
-
} | {
|
|
1680
|
-
kind: "url";
|
|
1681
|
-
value: string;
|
|
1682
|
-
} | {
|
|
1683
1677
|
kind: "quiz";
|
|
1684
1678
|
answers: {
|
|
1685
1679
|
[k: string]: string;
|
|
1686
1680
|
};
|
|
1687
1681
|
release?: string | undefined;
|
|
1682
|
+
} | {
|
|
1683
|
+
kind: "text";
|
|
1684
|
+
value: string;
|
|
1685
|
+
} | {
|
|
1686
|
+
kind: "url";
|
|
1687
|
+
value: string;
|
|
1688
1688
|
} | undefined;
|
|
1689
1689
|
} | null;
|
|
1690
1690
|
release: string;
|
|
1691
|
-
interaction: "
|
|
1692
|
-
lifecycle: "
|
|
1691
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
1692
|
+
lifecycle: "active" | "paused" | "archived";
|
|
1693
1693
|
rewards: ({
|
|
1694
1694
|
kind: "points";
|
|
1695
1695
|
label: string;
|
|
@@ -1991,7 +1991,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1991
1991
|
quest: string;
|
|
1992
1992
|
member: string;
|
|
1993
1993
|
evidence: string | null;
|
|
1994
|
-
status: "needs-review" | "
|
|
1994
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
1995
1995
|
reason: string | null;
|
|
1996
1996
|
retries: number;
|
|
1997
1997
|
generation: number;
|
|
@@ -2025,17 +2025,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2025
2025
|
})[] | null;
|
|
2026
2026
|
createdAt: number;
|
|
2027
2027
|
input?: {
|
|
2028
|
-
kind: "text";
|
|
2029
|
-
value: string;
|
|
2030
|
-
} | {
|
|
2031
|
-
kind: "url";
|
|
2032
|
-
value: string;
|
|
2033
|
-
} | {
|
|
2034
2028
|
kind: "quiz";
|
|
2035
2029
|
answers: {
|
|
2036
2030
|
[k: string]: string;
|
|
2037
2031
|
};
|
|
2038
2032
|
release?: string | undefined;
|
|
2033
|
+
} | {
|
|
2034
|
+
kind: "text";
|
|
2035
|
+
value: string;
|
|
2036
|
+
} | {
|
|
2037
|
+
kind: "url";
|
|
2038
|
+
value: string;
|
|
2039
2039
|
} | undefined;
|
|
2040
2040
|
}>;
|
|
2041
2041
|
progress: () => Promise<{
|
|
@@ -2076,9 +2076,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2076
2076
|
start: number;
|
|
2077
2077
|
end?: number | undefined;
|
|
2078
2078
|
};
|
|
2079
|
-
enrollment: "
|
|
2079
|
+
enrollment: "required" | "none";
|
|
2080
2080
|
posts: "after-enrollment" | "since-start";
|
|
2081
|
-
historical: "
|
|
2081
|
+
historical: "staff" | "automatic" | "claim";
|
|
2082
2082
|
} | undefined;
|
|
2083
2083
|
tracker?: {
|
|
2084
2084
|
tracker: string;
|
|
@@ -2123,12 +2123,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2123
2123
|
actor?: "member" | "staff" | undefined;
|
|
2124
2124
|
} | {
|
|
2125
2125
|
kind: "manual";
|
|
2126
|
-
input: "
|
|
2126
|
+
input: "quiz" | "photo" | "none";
|
|
2127
2127
|
actor?: "member" | "staff" | undefined;
|
|
2128
2128
|
};
|
|
2129
2129
|
availability: {
|
|
2130
2130
|
kind: "available";
|
|
2131
|
-
input: "
|
|
2131
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
2132
2132
|
} | {
|
|
2133
2133
|
kind: "completed";
|
|
2134
2134
|
} | {
|
|
@@ -2166,7 +2166,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2166
2166
|
kind: "keyed";
|
|
2167
2167
|
};
|
|
2168
2168
|
completionCount: number;
|
|
2169
|
-
visibility: "
|
|
2169
|
+
visibility: "hidden" | "visible";
|
|
2170
2170
|
missing: {
|
|
2171
2171
|
quest: string;
|
|
2172
2172
|
title: string;
|
|
@@ -2177,7 +2177,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2177
2177
|
quest: string;
|
|
2178
2178
|
member: string;
|
|
2179
2179
|
evidence: string | null;
|
|
2180
|
-
status: "needs-review" | "
|
|
2180
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
2181
2181
|
reason: string | null;
|
|
2182
2182
|
retries: number;
|
|
2183
2183
|
generation: number;
|
|
@@ -2211,17 +2211,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2211
2211
|
})[] | null;
|
|
2212
2212
|
createdAt: number;
|
|
2213
2213
|
input?: {
|
|
2214
|
-
kind: "text";
|
|
2215
|
-
value: string;
|
|
2216
|
-
} | {
|
|
2217
|
-
kind: "url";
|
|
2218
|
-
value: string;
|
|
2219
|
-
} | {
|
|
2220
2214
|
kind: "quiz";
|
|
2221
2215
|
answers: {
|
|
2222
2216
|
[k: string]: string;
|
|
2223
2217
|
};
|
|
2224
2218
|
release?: string | undefined;
|
|
2219
|
+
} | {
|
|
2220
|
+
kind: "text";
|
|
2221
|
+
value: string;
|
|
2222
|
+
} | {
|
|
2223
|
+
kind: "url";
|
|
2224
|
+
value: string;
|
|
2225
2225
|
} | undefined;
|
|
2226
2226
|
} | null;
|
|
2227
2227
|
key?: string | undefined;
|
|
@@ -2360,7 +2360,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2360
2360
|
quest: string;
|
|
2361
2361
|
member: string;
|
|
2362
2362
|
evidence: string | null;
|
|
2363
|
-
status: "needs-review" | "
|
|
2363
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
2364
2364
|
reason: string | null;
|
|
2365
2365
|
retries: number;
|
|
2366
2366
|
generation: number;
|
|
@@ -2394,17 +2394,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2394
2394
|
})[] | null;
|
|
2395
2395
|
createdAt: number;
|
|
2396
2396
|
input?: {
|
|
2397
|
-
kind: "text";
|
|
2398
|
-
value: string;
|
|
2399
|
-
} | {
|
|
2400
|
-
kind: "url";
|
|
2401
|
-
value: string;
|
|
2402
|
-
} | {
|
|
2403
2397
|
kind: "quiz";
|
|
2404
2398
|
answers: {
|
|
2405
2399
|
[k: string]: string;
|
|
2406
2400
|
};
|
|
2407
2401
|
release?: string | undefined;
|
|
2402
|
+
} | {
|
|
2403
|
+
kind: "text";
|
|
2404
|
+
value: string;
|
|
2405
|
+
} | {
|
|
2406
|
+
kind: "url";
|
|
2407
|
+
value: string;
|
|
2408
2408
|
} | undefined;
|
|
2409
2409
|
}>;
|
|
2410
2410
|
upload: (file: File) => Promise<{
|
|
@@ -2565,9 +2565,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2565
2565
|
start: number;
|
|
2566
2566
|
end?: number | undefined;
|
|
2567
2567
|
};
|
|
2568
|
-
enrollment: "
|
|
2568
|
+
enrollment: "required" | "none";
|
|
2569
2569
|
posts: "after-enrollment" | "since-start";
|
|
2570
|
-
historical: "
|
|
2570
|
+
historical: "staff" | "automatic" | "claim";
|
|
2571
2571
|
} | undefined;
|
|
2572
2572
|
tracker?: {
|
|
2573
2573
|
tracker: string;
|
|
@@ -2612,12 +2612,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2612
2612
|
actor?: "member" | "staff" | undefined;
|
|
2613
2613
|
} | {
|
|
2614
2614
|
kind: "manual";
|
|
2615
|
-
input: "
|
|
2615
|
+
input: "quiz" | "photo" | "none";
|
|
2616
2616
|
actor?: "member" | "staff" | undefined;
|
|
2617
2617
|
};
|
|
2618
2618
|
requires: {
|
|
2619
2619
|
quest: string;
|
|
2620
|
-
scope: "ever";
|
|
2621
2620
|
}[];
|
|
2622
2621
|
completion: {
|
|
2623
2622
|
kind: "streak";
|
|
@@ -2628,7 +2627,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2628
2627
|
} | {
|
|
2629
2628
|
kind: "keyed";
|
|
2630
2629
|
};
|
|
2631
|
-
visibility: "
|
|
2630
|
+
visibility: "hidden" | "visible";
|
|
2632
2631
|
budgets: {
|
|
2633
2632
|
id: string;
|
|
2634
2633
|
scope: "member" | "project";
|
|
@@ -2790,9 +2789,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2790
2789
|
start: number;
|
|
2791
2790
|
end?: number | undefined;
|
|
2792
2791
|
};
|
|
2793
|
-
enrollment: "
|
|
2792
|
+
enrollment: "required" | "none";
|
|
2794
2793
|
posts: "after-enrollment" | "since-start";
|
|
2795
|
-
historical: "
|
|
2794
|
+
historical: "staff" | "automatic" | "claim";
|
|
2796
2795
|
} | undefined;
|
|
2797
2796
|
tracker?: {
|
|
2798
2797
|
tracker: string;
|
|
@@ -2837,12 +2836,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2837
2836
|
actor?: "member" | "staff" | undefined;
|
|
2838
2837
|
} | {
|
|
2839
2838
|
kind: "manual";
|
|
2840
|
-
input: "
|
|
2839
|
+
input: "quiz" | "photo" | "none";
|
|
2841
2840
|
actor?: "member" | "staff" | undefined;
|
|
2842
2841
|
};
|
|
2843
2842
|
requires: {
|
|
2844
2843
|
quest: string;
|
|
2845
|
-
scope: "ever";
|
|
2846
2844
|
}[];
|
|
2847
2845
|
completion: {
|
|
2848
2846
|
kind: "streak";
|
|
@@ -2853,7 +2851,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2853
2851
|
} | {
|
|
2854
2852
|
kind: "keyed";
|
|
2855
2853
|
};
|
|
2856
|
-
visibility: "
|
|
2854
|
+
visibility: "hidden" | "visible";
|
|
2857
2855
|
budgets: {
|
|
2858
2856
|
id: string;
|
|
2859
2857
|
scope: "member" | "project";
|
|
@@ -3014,9 +3012,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3014
3012
|
start: number;
|
|
3015
3013
|
end?: number | undefined;
|
|
3016
3014
|
};
|
|
3017
|
-
enrollment: "
|
|
3015
|
+
enrollment: "required" | "none";
|
|
3018
3016
|
posts: "after-enrollment" | "since-start";
|
|
3019
|
-
historical: "
|
|
3017
|
+
historical: "staff" | "automatic" | "claim";
|
|
3020
3018
|
} | undefined;
|
|
3021
3019
|
tracker?: {
|
|
3022
3020
|
tracker: string;
|
|
@@ -3061,12 +3059,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3061
3059
|
actor?: "member" | "staff" | undefined;
|
|
3062
3060
|
} | {
|
|
3063
3061
|
kind: "manual";
|
|
3064
|
-
input: "
|
|
3062
|
+
input: "quiz" | "photo" | "none";
|
|
3065
3063
|
actor?: "member" | "staff" | undefined;
|
|
3066
3064
|
};
|
|
3067
3065
|
requires: {
|
|
3068
3066
|
quest: string;
|
|
3069
|
-
scope: "ever";
|
|
3070
3067
|
}[];
|
|
3071
3068
|
completion: {
|
|
3072
3069
|
kind: "streak";
|
|
@@ -3077,7 +3074,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3077
3074
|
} | {
|
|
3078
3075
|
kind: "keyed";
|
|
3079
3076
|
};
|
|
3080
|
-
visibility: "
|
|
3077
|
+
visibility: "hidden" | "visible";
|
|
3081
3078
|
budgets: {
|
|
3082
3079
|
id: string;
|
|
3083
3080
|
scope: "member" | "project";
|
|
@@ -3092,7 +3089,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3092
3089
|
id: string;
|
|
3093
3090
|
createdAt: number;
|
|
3094
3091
|
legacy: boolean;
|
|
3095
|
-
lifecycle: "
|
|
3092
|
+
lifecycle: "active" | "paused" | "archived";
|
|
3096
3093
|
performance?: {
|
|
3097
3094
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3098
3095
|
maxAgeMs: number;
|
|
@@ -3215,7 +3212,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3215
3212
|
quest: string;
|
|
3216
3213
|
member: string;
|
|
3217
3214
|
evidence: string | null;
|
|
3218
|
-
status: "needs-review" | "
|
|
3215
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
3219
3216
|
reason: string | null;
|
|
3220
3217
|
retries: number;
|
|
3221
3218
|
generation: number;
|
|
@@ -3249,17 +3246,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3249
3246
|
})[] | null;
|
|
3250
3247
|
createdAt: number;
|
|
3251
3248
|
input?: {
|
|
3252
|
-
kind: "text";
|
|
3253
|
-
value: string;
|
|
3254
|
-
} | {
|
|
3255
|
-
kind: "url";
|
|
3256
|
-
value: string;
|
|
3257
|
-
} | {
|
|
3258
3249
|
kind: "quiz";
|
|
3259
3250
|
answers: {
|
|
3260
3251
|
[k: string]: string;
|
|
3261
3252
|
};
|
|
3262
3253
|
release?: string | undefined;
|
|
3254
|
+
} | {
|
|
3255
|
+
kind: "text";
|
|
3256
|
+
value: string;
|
|
3257
|
+
} | {
|
|
3258
|
+
kind: "url";
|
|
3259
|
+
value: string;
|
|
3263
3260
|
} | undefined;
|
|
3264
3261
|
}[];
|
|
3265
3262
|
balances: {
|
|
@@ -3419,9 +3416,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3419
3416
|
start: number;
|
|
3420
3417
|
end?: number | undefined;
|
|
3421
3418
|
};
|
|
3422
|
-
enrollment: "
|
|
3419
|
+
enrollment: "required" | "none";
|
|
3423
3420
|
posts: "after-enrollment" | "since-start";
|
|
3424
|
-
historical: "
|
|
3421
|
+
historical: "staff" | "automatic" | "claim";
|
|
3425
3422
|
} | undefined;
|
|
3426
3423
|
tracker?: {
|
|
3427
3424
|
tracker: string;
|
|
@@ -3466,12 +3463,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3466
3463
|
actor?: "member" | "staff" | undefined;
|
|
3467
3464
|
} | {
|
|
3468
3465
|
kind: "manual";
|
|
3469
|
-
input: "
|
|
3466
|
+
input: "quiz" | "photo" | "none";
|
|
3470
3467
|
actor?: "member" | "staff" | undefined;
|
|
3471
3468
|
};
|
|
3472
3469
|
requires: {
|
|
3473
3470
|
quest: string;
|
|
3474
|
-
scope: "ever";
|
|
3475
3471
|
}[];
|
|
3476
3472
|
completion: {
|
|
3477
3473
|
kind: "streak";
|
|
@@ -3482,7 +3478,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3482
3478
|
} | {
|
|
3483
3479
|
kind: "keyed";
|
|
3484
3480
|
};
|
|
3485
|
-
visibility: "
|
|
3481
|
+
visibility: "hidden" | "visible";
|
|
3486
3482
|
budgets: {
|
|
3487
3483
|
id: string;
|
|
3488
3484
|
scope: "member" | "project";
|
|
@@ -3497,7 +3493,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3497
3493
|
id: string;
|
|
3498
3494
|
createdAt: number;
|
|
3499
3495
|
legacy: boolean;
|
|
3500
|
-
lifecycle: "
|
|
3496
|
+
lifecycle: "active" | "paused" | "archived";
|
|
3501
3497
|
performance?: {
|
|
3502
3498
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3503
3499
|
maxAgeMs: number;
|
|
@@ -3672,9 +3668,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3672
3668
|
start: number;
|
|
3673
3669
|
end?: number | undefined;
|
|
3674
3670
|
};
|
|
3675
|
-
enrollment: "
|
|
3671
|
+
enrollment: "required" | "none";
|
|
3676
3672
|
posts: "after-enrollment" | "since-start";
|
|
3677
|
-
historical: "
|
|
3673
|
+
historical: "staff" | "automatic" | "claim";
|
|
3678
3674
|
} | undefined;
|
|
3679
3675
|
tracker?: {
|
|
3680
3676
|
tracker: string;
|
|
@@ -3719,12 +3715,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3719
3715
|
actor?: "member" | "staff" | undefined;
|
|
3720
3716
|
} | {
|
|
3721
3717
|
kind: "manual";
|
|
3722
|
-
input: "
|
|
3718
|
+
input: "quiz" | "photo" | "none";
|
|
3723
3719
|
actor?: "member" | "staff" | undefined;
|
|
3724
3720
|
};
|
|
3725
3721
|
requires: {
|
|
3726
3722
|
quest: string;
|
|
3727
|
-
scope: "ever";
|
|
3728
3723
|
}[];
|
|
3729
3724
|
completion: {
|
|
3730
3725
|
kind: "streak";
|
|
@@ -3735,7 +3730,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3735
3730
|
} | {
|
|
3736
3731
|
kind: "keyed";
|
|
3737
3732
|
};
|
|
3738
|
-
visibility: "
|
|
3733
|
+
visibility: "hidden" | "visible";
|
|
3739
3734
|
budgets: {
|
|
3740
3735
|
id: string;
|
|
3741
3736
|
scope: "member" | "project";
|
|
@@ -3750,7 +3745,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3750
3745
|
id: string;
|
|
3751
3746
|
createdAt: number;
|
|
3752
3747
|
legacy: boolean;
|
|
3753
|
-
lifecycle: "
|
|
3748
|
+
lifecycle: "active" | "paused" | "archived";
|
|
3754
3749
|
performance?: {
|
|
3755
3750
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3756
3751
|
maxAgeMs: number;
|
|
@@ -3822,9 +3817,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3822
3817
|
start: number;
|
|
3823
3818
|
end?: number | undefined;
|
|
3824
3819
|
};
|
|
3825
|
-
enrollment: "
|
|
3820
|
+
enrollment: "required" | "none";
|
|
3826
3821
|
posts: "after-enrollment" | "since-start";
|
|
3827
|
-
historical: "
|
|
3822
|
+
historical: "staff" | "automatic" | "claim";
|
|
3828
3823
|
} | undefined;
|
|
3829
3824
|
tracker?: {
|
|
3830
3825
|
tracker: string;
|
|
@@ -3869,12 +3864,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3869
3864
|
actor?: "member" | "staff" | undefined;
|
|
3870
3865
|
} | {
|
|
3871
3866
|
kind: "manual";
|
|
3872
|
-
input: "
|
|
3867
|
+
input: "quiz" | "photo" | "none";
|
|
3873
3868
|
actor?: "member" | "staff" | undefined;
|
|
3874
3869
|
};
|
|
3875
3870
|
availability: {
|
|
3876
3871
|
kind: "available";
|
|
3877
|
-
input: "
|
|
3872
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
3878
3873
|
} | {
|
|
3879
3874
|
kind: "completed";
|
|
3880
3875
|
} | {
|
|
@@ -3912,7 +3907,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3912
3907
|
kind: "keyed";
|
|
3913
3908
|
};
|
|
3914
3909
|
completionCount: number;
|
|
3915
|
-
visibility: "
|
|
3910
|
+
visibility: "hidden" | "visible";
|
|
3916
3911
|
missing: {
|
|
3917
3912
|
quest: string;
|
|
3918
3913
|
title: string;
|
|
@@ -3923,7 +3918,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3923
3918
|
quest: string;
|
|
3924
3919
|
member: string;
|
|
3925
3920
|
evidence: string | null;
|
|
3926
|
-
status: "needs-review" | "
|
|
3921
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
3927
3922
|
reason: string | null;
|
|
3928
3923
|
retries: number;
|
|
3929
3924
|
generation: number;
|
|
@@ -3957,17 +3952,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3957
3952
|
})[] | null;
|
|
3958
3953
|
createdAt: number;
|
|
3959
3954
|
input?: {
|
|
3960
|
-
kind: "text";
|
|
3961
|
-
value: string;
|
|
3962
|
-
} | {
|
|
3963
|
-
kind: "url";
|
|
3964
|
-
value: string;
|
|
3965
|
-
} | {
|
|
3966
3955
|
kind: "quiz";
|
|
3967
3956
|
answers: {
|
|
3968
3957
|
[k: string]: string;
|
|
3969
3958
|
};
|
|
3970
3959
|
release?: string | undefined;
|
|
3960
|
+
} | {
|
|
3961
|
+
kind: "text";
|
|
3962
|
+
value: string;
|
|
3963
|
+
} | {
|
|
3964
|
+
kind: "url";
|
|
3965
|
+
value: string;
|
|
3971
3966
|
} | undefined;
|
|
3972
3967
|
} | null;
|
|
3973
3968
|
key?: string | undefined;
|
|
@@ -4349,14 +4344,14 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4349
4344
|
content: {
|
|
4350
4345
|
performance: (input: zod.infer<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
4351
4346
|
current: {
|
|
4352
|
-
state: "
|
|
4347
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
4353
4348
|
reason: string | null;
|
|
4354
4349
|
contentAttempt: string;
|
|
4355
4350
|
attempt: string | null;
|
|
4356
4351
|
reward: {
|
|
4357
4352
|
attempt: string | null;
|
|
4358
4353
|
completion: string | null;
|
|
4359
|
-
state: "
|
|
4354
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
4360
4355
|
};
|
|
4361
4356
|
};
|
|
4362
4357
|
items: {
|
|
@@ -4365,7 +4360,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4365
4360
|
observation: string;
|
|
4366
4361
|
observedAt: number;
|
|
4367
4362
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
4368
|
-
state: "
|
|
4363
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
4369
4364
|
reason: string | null;
|
|
4370
4365
|
}[];
|
|
4371
4366
|
next: number | null;
|
|
@@ -4380,12 +4375,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4380
4375
|
revision: string;
|
|
4381
4376
|
observation: string;
|
|
4382
4377
|
current: boolean;
|
|
4383
|
-
state: "
|
|
4378
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
4384
4379
|
reason: string | null;
|
|
4385
4380
|
reward: {
|
|
4386
4381
|
attempt: string | null;
|
|
4387
4382
|
completion: string | null;
|
|
4388
|
-
state: "
|
|
4383
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
4389
4384
|
};
|
|
4390
4385
|
}[];
|
|
4391
4386
|
next: number | null;
|
|
@@ -4395,7 +4390,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4395
4390
|
quest: string;
|
|
4396
4391
|
content: string;
|
|
4397
4392
|
release: string;
|
|
4398
|
-
state: "
|
|
4393
|
+
state: "pending" | "admitted" | "excluded";
|
|
4399
4394
|
reason: string | null;
|
|
4400
4395
|
attempt: string | null;
|
|
4401
4396
|
}[];
|
|
@@ -4410,7 +4405,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4410
4405
|
quest: string;
|
|
4411
4406
|
content: string;
|
|
4412
4407
|
release: string;
|
|
4413
|
-
state: "
|
|
4408
|
+
state: "pending" | "admitted" | "excluded";
|
|
4414
4409
|
reason: string | null;
|
|
4415
4410
|
attempt: string | null;
|
|
4416
4411
|
}>;
|
|
@@ -4421,7 +4416,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4421
4416
|
quest: string;
|
|
4422
4417
|
member: string;
|
|
4423
4418
|
evidence: string | null;
|
|
4424
|
-
status: "needs-review" | "
|
|
4419
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
4425
4420
|
reason: string | null;
|
|
4426
4421
|
retries: number;
|
|
4427
4422
|
generation: number;
|
|
@@ -4455,17 +4450,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4455
4450
|
})[] | null;
|
|
4456
4451
|
createdAt: number;
|
|
4457
4452
|
input?: {
|
|
4458
|
-
kind: "text";
|
|
4459
|
-
value: string;
|
|
4460
|
-
} | {
|
|
4461
|
-
kind: "url";
|
|
4462
|
-
value: string;
|
|
4463
|
-
} | {
|
|
4464
4453
|
kind: "quiz";
|
|
4465
4454
|
answers: {
|
|
4466
4455
|
[k: string]: string;
|
|
4467
4456
|
};
|
|
4468
4457
|
release?: string | undefined;
|
|
4458
|
+
} | {
|
|
4459
|
+
kind: "text";
|
|
4460
|
+
value: string;
|
|
4461
|
+
} | {
|
|
4462
|
+
kind: "url";
|
|
4463
|
+
value: string;
|
|
4469
4464
|
} | undefined;
|
|
4470
4465
|
}>;
|
|
4471
4466
|
retry: (id: string) => Promise<{
|
|
@@ -4474,7 +4469,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4474
4469
|
quest: string;
|
|
4475
4470
|
member: string;
|
|
4476
4471
|
evidence: string | null;
|
|
4477
|
-
status: "needs-review" | "
|
|
4472
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
4478
4473
|
reason: string | null;
|
|
4479
4474
|
retries: number;
|
|
4480
4475
|
generation: number;
|
|
@@ -4508,17 +4503,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4508
4503
|
})[] | null;
|
|
4509
4504
|
createdAt: number;
|
|
4510
4505
|
input?: {
|
|
4511
|
-
kind: "text";
|
|
4512
|
-
value: string;
|
|
4513
|
-
} | {
|
|
4514
|
-
kind: "url";
|
|
4515
|
-
value: string;
|
|
4516
|
-
} | {
|
|
4517
4506
|
kind: "quiz";
|
|
4518
4507
|
answers: {
|
|
4519
4508
|
[k: string]: string;
|
|
4520
4509
|
};
|
|
4521
4510
|
release?: string | undefined;
|
|
4511
|
+
} | {
|
|
4512
|
+
kind: "text";
|
|
4513
|
+
value: string;
|
|
4514
|
+
} | {
|
|
4515
|
+
kind: "url";
|
|
4516
|
+
value: string;
|
|
4522
4517
|
} | undefined;
|
|
4523
4518
|
}>;
|
|
4524
4519
|
decide: (id: string, input: {
|
|
@@ -4532,7 +4527,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4532
4527
|
quest: string;
|
|
4533
4528
|
member: string;
|
|
4534
4529
|
evidence: string | null;
|
|
4535
|
-
status: "needs-review" | "
|
|
4530
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
4536
4531
|
reason: string | null;
|
|
4537
4532
|
retries: number;
|
|
4538
4533
|
generation: number;
|
|
@@ -4566,17 +4561,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4566
4561
|
})[] | null;
|
|
4567
4562
|
createdAt: number;
|
|
4568
4563
|
input?: {
|
|
4569
|
-
kind: "text";
|
|
4570
|
-
value: string;
|
|
4571
|
-
} | {
|
|
4572
|
-
kind: "url";
|
|
4573
|
-
value: string;
|
|
4574
|
-
} | {
|
|
4575
4564
|
kind: "quiz";
|
|
4576
4565
|
answers: {
|
|
4577
4566
|
[k: string]: string;
|
|
4578
4567
|
};
|
|
4579
4568
|
release?: string | undefined;
|
|
4569
|
+
} | {
|
|
4570
|
+
kind: "text";
|
|
4571
|
+
value: string;
|
|
4572
|
+
} | {
|
|
4573
|
+
kind: "url";
|
|
4574
|
+
value: string;
|
|
4580
4575
|
} | undefined;
|
|
4581
4576
|
}>;
|
|
4582
4577
|
};
|