@domino-sdk/relay 0.17.0 → 0.17.1
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/browser.d.ts +132 -132
- package/dist/index.d.ts +226 -226
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -200,9 +200,9 @@ type ProgressObserver = {
|
|
|
200
200
|
|
|
201
201
|
declare const interactionSchema: z.ZodEnum<{
|
|
202
202
|
staff: "staff";
|
|
203
|
-
quiz: "quiz";
|
|
204
|
-
text: "text";
|
|
205
203
|
url: "url";
|
|
204
|
+
text: "text";
|
|
205
|
+
quiz: "quiz";
|
|
206
206
|
photo: "photo";
|
|
207
207
|
automatic: "automatic";
|
|
208
208
|
claim: "claim";
|
|
@@ -444,7 +444,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
444
444
|
title: string;
|
|
445
445
|
key?: string | undefined;
|
|
446
446
|
id?: string | undefined;
|
|
447
|
-
}, "
|
|
447
|
+
}, "id" | "key"> & {
|
|
448
448
|
key: string;
|
|
449
449
|
}, {
|
|
450
450
|
title: string;
|
|
@@ -472,8 +472,8 @@ declare const questInstanceSchema: z.ZodObject<{
|
|
|
472
472
|
}, z.core.$strict>>]>>;
|
|
473
473
|
requires: z.ZodArray<z.ZodString>;
|
|
474
474
|
status: z.ZodEnum<{
|
|
475
|
-
active: "active";
|
|
476
475
|
paused: "paused";
|
|
476
|
+
active: "active";
|
|
477
477
|
archived: "archived";
|
|
478
478
|
}>;
|
|
479
479
|
}, z.core.$strict>;
|
|
@@ -493,8 +493,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
493
493
|
}, z.core.$strict>>]>>;
|
|
494
494
|
requires: z.ZodArray<z.ZodString>;
|
|
495
495
|
status: z.ZodEnum<{
|
|
496
|
-
active: "active";
|
|
497
496
|
paused: "paused";
|
|
497
|
+
active: "active";
|
|
498
498
|
archived: "archived";
|
|
499
499
|
}>;
|
|
500
500
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -526,8 +526,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
526
526
|
}, z.core.$strict>>]>>;
|
|
527
527
|
requires: z.ZodArray<z.ZodString>;
|
|
528
528
|
status: z.ZodEnum<{
|
|
529
|
-
active: "active";
|
|
530
529
|
paused: "paused";
|
|
530
|
+
active: "active";
|
|
531
531
|
archived: "archived";
|
|
532
532
|
}>;
|
|
533
533
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -560,8 +560,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
560
560
|
}, z.core.$strict>>]>>;
|
|
561
561
|
requires: z.ZodArray<z.ZodString>;
|
|
562
562
|
status: z.ZodEnum<{
|
|
563
|
-
active: "active";
|
|
564
563
|
paused: "paused";
|
|
564
|
+
active: "active";
|
|
565
565
|
archived: "archived";
|
|
566
566
|
}>;
|
|
567
567
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -821,8 +821,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
821
821
|
}, z.core.$strict>>]>>;
|
|
822
822
|
requires: z.ZodArray<z.ZodString>;
|
|
823
823
|
status: z.ZodEnum<{
|
|
824
|
-
active: "active";
|
|
825
824
|
paused: "paused";
|
|
825
|
+
active: "active";
|
|
826
826
|
archived: "archived";
|
|
827
827
|
}>;
|
|
828
828
|
}, z.core.$strict>>;
|
|
@@ -846,8 +846,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
846
846
|
}, z.core.$strict>>]>>;
|
|
847
847
|
requires: z.ZodArray<z.ZodString>;
|
|
848
848
|
status: z.ZodEnum<{
|
|
849
|
-
active: "active";
|
|
850
849
|
paused: "paused";
|
|
850
|
+
active: "active";
|
|
851
851
|
archived: "archived";
|
|
852
852
|
}>;
|
|
853
853
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -880,8 +880,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
880
880
|
}, z.core.$strict>>]>>;
|
|
881
881
|
requires: z.ZodArray<z.ZodString>;
|
|
882
882
|
status: z.ZodEnum<{
|
|
883
|
-
active: "active";
|
|
884
883
|
paused: "paused";
|
|
884
|
+
active: "active";
|
|
885
885
|
archived: "archived";
|
|
886
886
|
}>;
|
|
887
887
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -1119,8 +1119,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1119
1119
|
typeVersion: z.ZodString;
|
|
1120
1120
|
}, z.core.$strict>>;
|
|
1121
1121
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1122
|
-
active: "active";
|
|
1123
1122
|
paused: "paused";
|
|
1123
|
+
active: "active";
|
|
1124
1124
|
archived: "archived";
|
|
1125
1125
|
}>>;
|
|
1126
1126
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -1225,12 +1225,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1225
1225
|
kind: "resource";
|
|
1226
1226
|
default: string;
|
|
1227
1227
|
source: {
|
|
1228
|
-
provider: "domino";
|
|
1229
|
-
resource: "point-ledger";
|
|
1230
|
-
} | {
|
|
1231
1228
|
provider: "discord";
|
|
1232
1229
|
resource: "channel";
|
|
1233
1230
|
types: ("text" | "announcement")[];
|
|
1231
|
+
} | {
|
|
1232
|
+
provider: "domino";
|
|
1233
|
+
resource: "point-ledger";
|
|
1234
1234
|
} | {
|
|
1235
1235
|
provider: "discord";
|
|
1236
1236
|
resource: "role";
|
|
@@ -1371,7 +1371,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1371
1371
|
id: string;
|
|
1372
1372
|
createdAt: number;
|
|
1373
1373
|
legacy: boolean;
|
|
1374
|
-
lifecycle: "
|
|
1374
|
+
lifecycle: "paused" | "active" | "archived";
|
|
1375
1375
|
key?: string | undefined;
|
|
1376
1376
|
origin?: {
|
|
1377
1377
|
typeVersion: string;
|
|
@@ -1436,9 +1436,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1436
1436
|
}>>]>>>;
|
|
1437
1437
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1438
1438
|
staff: "staff";
|
|
1439
|
-
quiz: "quiz";
|
|
1440
|
-
text: "text";
|
|
1441
1439
|
url: "url";
|
|
1440
|
+
text: "text";
|
|
1441
|
+
quiz: "quiz";
|
|
1442
1442
|
photo: "photo";
|
|
1443
1443
|
automatic: "automatic";
|
|
1444
1444
|
claim: "claim";
|
|
@@ -1460,7 +1460,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1460
1460
|
title: string;
|
|
1461
1461
|
key?: string | undefined;
|
|
1462
1462
|
id?: string | undefined;
|
|
1463
|
-
}, "
|
|
1463
|
+
}, "id" | "key"> & {
|
|
1464
1464
|
key: string;
|
|
1465
1465
|
}, {
|
|
1466
1466
|
title: string;
|
|
@@ -1469,9 +1469,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1469
1469
|
}>>>>;
|
|
1470
1470
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1471
1471
|
staff: "staff";
|
|
1472
|
-
quiz: "quiz";
|
|
1473
|
-
text: "text";
|
|
1474
1472
|
url: "url";
|
|
1473
|
+
text: "text";
|
|
1474
|
+
quiz: "quiz";
|
|
1475
1475
|
photo: "photo";
|
|
1476
1476
|
automatic: "automatic";
|
|
1477
1477
|
claim: "claim";
|
|
@@ -1708,9 +1708,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1708
1708
|
}, z.core.$strict>>;
|
|
1709
1709
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1710
1710
|
staff: "staff";
|
|
1711
|
-
quiz: "quiz";
|
|
1712
|
-
text: "text";
|
|
1713
1711
|
url: "url";
|
|
1712
|
+
text: "text";
|
|
1713
|
+
quiz: "quiz";
|
|
1714
1714
|
photo: "photo";
|
|
1715
1715
|
automatic: "automatic";
|
|
1716
1716
|
claim: "claim";
|
|
@@ -1737,8 +1737,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
1737
1737
|
}, z.core.$strict>>]>>;
|
|
1738
1738
|
requires: z.ZodArray<z.ZodString>;
|
|
1739
1739
|
status: z.ZodEnum<{
|
|
1740
|
-
active: "active";
|
|
1741
1740
|
paused: "paused";
|
|
1741
|
+
active: "active";
|
|
1742
1742
|
archived: "archived";
|
|
1743
1743
|
}>;
|
|
1744
1744
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -1829,9 +1829,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1829
1829
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1830
1830
|
kind: z.ZodLiteral<"available">;
|
|
1831
1831
|
input: z.ZodEnum<{
|
|
1832
|
-
quiz: "quiz";
|
|
1833
|
-
text: "text";
|
|
1834
1832
|
url: "url";
|
|
1833
|
+
text: "text";
|
|
1834
|
+
quiz: "quiz";
|
|
1835
1835
|
photo: "photo";
|
|
1836
1836
|
none: "none";
|
|
1837
1837
|
}>;
|
|
@@ -1930,13 +1930,13 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1930
1930
|
value: z.ZodString;
|
|
1931
1931
|
}, z.core.$strict>]>>;
|
|
1932
1932
|
status: z.ZodEnum<{
|
|
1933
|
+
failed: "failed";
|
|
1933
1934
|
queued: "queued";
|
|
1934
1935
|
evaluating: "evaluating";
|
|
1935
1936
|
accepted: "accepted";
|
|
1936
1937
|
progressed: "progressed";
|
|
1937
1938
|
rejected: "rejected";
|
|
1938
1939
|
"needs-review": "needs-review";
|
|
1939
|
-
failed: "failed";
|
|
1940
1940
|
}>;
|
|
1941
1941
|
reason: z.ZodNullable<z.ZodString>;
|
|
1942
1942
|
retries: z.ZodNumber;
|
|
@@ -1974,16 +1974,16 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1974
1974
|
release: z.ZodString;
|
|
1975
1975
|
interaction: z.ZodEnum<{
|
|
1976
1976
|
staff: "staff";
|
|
1977
|
-
quiz: "quiz";
|
|
1978
|
-
text: "text";
|
|
1979
1977
|
url: "url";
|
|
1978
|
+
text: "text";
|
|
1979
|
+
quiz: "quiz";
|
|
1980
1980
|
photo: "photo";
|
|
1981
1981
|
automatic: "automatic";
|
|
1982
1982
|
claim: "claim";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
lifecycle: z.ZodEnum<{
|
|
1985
|
-
active: "active";
|
|
1986
1985
|
paused: "paused";
|
|
1986
|
+
active: "active";
|
|
1987
1987
|
archived: "archived";
|
|
1988
1988
|
}>;
|
|
1989
1989
|
rewards: z.ZodArray<z.ZodObject<{
|
|
@@ -2068,9 +2068,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2068
2068
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2069
2069
|
kind: z.ZodLiteral<"available">;
|
|
2070
2070
|
input: z.ZodEnum<{
|
|
2071
|
-
quiz: "quiz";
|
|
2072
|
-
text: "text";
|
|
2073
2071
|
url: "url";
|
|
2072
|
+
text: "text";
|
|
2073
|
+
quiz: "quiz";
|
|
2074
2074
|
photo: "photo";
|
|
2075
2075
|
none: "none";
|
|
2076
2076
|
}>;
|
|
@@ -2169,13 +2169,13 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2169
2169
|
value: z.ZodString;
|
|
2170
2170
|
}, z.core.$strict>]>>;
|
|
2171
2171
|
status: z.ZodEnum<{
|
|
2172
|
+
failed: "failed";
|
|
2172
2173
|
queued: "queued";
|
|
2173
2174
|
evaluating: "evaluating";
|
|
2174
2175
|
accepted: "accepted";
|
|
2175
2176
|
progressed: "progressed";
|
|
2176
2177
|
rejected: "rejected";
|
|
2177
2178
|
"needs-review": "needs-review";
|
|
2178
|
-
failed: "failed";
|
|
2179
2179
|
}>;
|
|
2180
2180
|
reason: z.ZodNullable<z.ZodString>;
|
|
2181
2181
|
retries: z.ZodNumber;
|
|
@@ -2213,16 +2213,16 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2213
2213
|
release: z.ZodString;
|
|
2214
2214
|
interaction: z.ZodEnum<{
|
|
2215
2215
|
staff: "staff";
|
|
2216
|
-
quiz: "quiz";
|
|
2217
|
-
text: "text";
|
|
2218
2216
|
url: "url";
|
|
2217
|
+
text: "text";
|
|
2218
|
+
quiz: "quiz";
|
|
2219
2219
|
photo: "photo";
|
|
2220
2220
|
automatic: "automatic";
|
|
2221
2221
|
claim: "claim";
|
|
2222
2222
|
}>;
|
|
2223
2223
|
lifecycle: z.ZodEnum<{
|
|
2224
|
-
active: "active";
|
|
2225
2224
|
paused: "paused";
|
|
2225
|
+
active: "active";
|
|
2226
2226
|
archived: "archived";
|
|
2227
2227
|
}>;
|
|
2228
2228
|
rewards: z.ZodArray<z.ZodObject<{
|
|
@@ -2306,9 +2306,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2306
2306
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2307
2307
|
kind: z.ZodLiteral<"available">;
|
|
2308
2308
|
input: z.ZodEnum<{
|
|
2309
|
-
quiz: "quiz";
|
|
2310
|
-
text: "text";
|
|
2311
2309
|
url: "url";
|
|
2310
|
+
text: "text";
|
|
2311
|
+
quiz: "quiz";
|
|
2312
2312
|
photo: "photo";
|
|
2313
2313
|
none: "none";
|
|
2314
2314
|
}>;
|
|
@@ -2407,13 +2407,13 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2407
2407
|
value: z.ZodString;
|
|
2408
2408
|
}, z.core.$strict>]>>;
|
|
2409
2409
|
status: z.ZodEnum<{
|
|
2410
|
+
failed: "failed";
|
|
2410
2411
|
queued: "queued";
|
|
2411
2412
|
evaluating: "evaluating";
|
|
2412
2413
|
accepted: "accepted";
|
|
2413
2414
|
progressed: "progressed";
|
|
2414
2415
|
rejected: "rejected";
|
|
2415
2416
|
"needs-review": "needs-review";
|
|
2416
|
-
failed: "failed";
|
|
2417
2417
|
}>;
|
|
2418
2418
|
reason: z.ZodNullable<z.ZodString>;
|
|
2419
2419
|
retries: z.ZodNumber;
|
|
@@ -2451,16 +2451,16 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2451
2451
|
release: z.ZodString;
|
|
2452
2452
|
interaction: z.ZodEnum<{
|
|
2453
2453
|
staff: "staff";
|
|
2454
|
-
quiz: "quiz";
|
|
2455
|
-
text: "text";
|
|
2456
2454
|
url: "url";
|
|
2455
|
+
text: "text";
|
|
2456
|
+
quiz: "quiz";
|
|
2457
2457
|
photo: "photo";
|
|
2458
2458
|
automatic: "automatic";
|
|
2459
2459
|
claim: "claim";
|
|
2460
2460
|
}>;
|
|
2461
2461
|
lifecycle: z.ZodEnum<{
|
|
2462
|
-
active: "active";
|
|
2463
2462
|
paused: "paused";
|
|
2463
|
+
active: "active";
|
|
2464
2464
|
archived: "archived";
|
|
2465
2465
|
}>;
|
|
2466
2466
|
rewards: z.ZodArray<z.ZodObject<{
|
|
@@ -2545,9 +2545,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2545
2545
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2546
2546
|
kind: z.ZodLiteral<"available">;
|
|
2547
2547
|
input: z.ZodEnum<{
|
|
2548
|
-
quiz: "quiz";
|
|
2549
|
-
text: "text";
|
|
2550
2548
|
url: "url";
|
|
2549
|
+
text: "text";
|
|
2550
|
+
quiz: "quiz";
|
|
2551
2551
|
photo: "photo";
|
|
2552
2552
|
none: "none";
|
|
2553
2553
|
}>;
|
|
@@ -2646,13 +2646,13 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2646
2646
|
value: z.ZodString;
|
|
2647
2647
|
}, z.core.$strict>]>>;
|
|
2648
2648
|
status: z.ZodEnum<{
|
|
2649
|
+
failed: "failed";
|
|
2649
2650
|
queued: "queued";
|
|
2650
2651
|
evaluating: "evaluating";
|
|
2651
2652
|
accepted: "accepted";
|
|
2652
2653
|
progressed: "progressed";
|
|
2653
2654
|
rejected: "rejected";
|
|
2654
2655
|
"needs-review": "needs-review";
|
|
2655
|
-
failed: "failed";
|
|
2656
2656
|
}>;
|
|
2657
2657
|
reason: z.ZodNullable<z.ZodString>;
|
|
2658
2658
|
retries: z.ZodNumber;
|
|
@@ -2690,16 +2690,16 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2690
2690
|
release: z.ZodString;
|
|
2691
2691
|
interaction: z.ZodEnum<{
|
|
2692
2692
|
staff: "staff";
|
|
2693
|
-
quiz: "quiz";
|
|
2694
|
-
text: "text";
|
|
2695
2693
|
url: "url";
|
|
2694
|
+
text: "text";
|
|
2695
|
+
quiz: "quiz";
|
|
2696
2696
|
photo: "photo";
|
|
2697
2697
|
automatic: "automatic";
|
|
2698
2698
|
claim: "claim";
|
|
2699
2699
|
}>;
|
|
2700
2700
|
lifecycle: z.ZodEnum<{
|
|
2701
|
-
active: "active";
|
|
2702
2701
|
paused: "paused";
|
|
2702
|
+
active: "active";
|
|
2703
2703
|
archived: "archived";
|
|
2704
2704
|
}>;
|
|
2705
2705
|
rewards: z.ZodArray<z.ZodObject<{
|
|
@@ -2733,8 +2733,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2733
2733
|
}, z.core.$strict>>]>>;
|
|
2734
2734
|
requires: z.ZodArray<z.ZodString>;
|
|
2735
2735
|
status: z.ZodEnum<{
|
|
2736
|
-
active: "active";
|
|
2737
2736
|
paused: "paused";
|
|
2737
|
+
active: "active";
|
|
2738
2738
|
archived: "archived";
|
|
2739
2739
|
}>;
|
|
2740
2740
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -2767,8 +2767,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2767
2767
|
}, z.core.$strict>>]>>;
|
|
2768
2768
|
requires: z.ZodArray<z.ZodString>;
|
|
2769
2769
|
status: z.ZodEnum<{
|
|
2770
|
-
active: "active";
|
|
2771
2770
|
paused: "paused";
|
|
2771
|
+
active: "active";
|
|
2772
2772
|
archived: "archived";
|
|
2773
2773
|
}>;
|
|
2774
2774
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3006,8 +3006,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3006
3006
|
typeVersion: z.ZodString;
|
|
3007
3007
|
}, z.core.$strict>>;
|
|
3008
3008
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
3009
|
-
active: "active";
|
|
3010
3009
|
paused: "paused";
|
|
3010
|
+
active: "active";
|
|
3011
3011
|
archived: "archived";
|
|
3012
3012
|
}>>;
|
|
3013
3013
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -3112,12 +3112,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3112
3112
|
kind: "resource";
|
|
3113
3113
|
default: string;
|
|
3114
3114
|
source: {
|
|
3115
|
-
provider: "domino";
|
|
3116
|
-
resource: "point-ledger";
|
|
3117
|
-
} | {
|
|
3118
3115
|
provider: "discord";
|
|
3119
3116
|
resource: "channel";
|
|
3120
3117
|
types: ("text" | "announcement")[];
|
|
3118
|
+
} | {
|
|
3119
|
+
provider: "domino";
|
|
3120
|
+
resource: "point-ledger";
|
|
3121
3121
|
} | {
|
|
3122
3122
|
provider: "discord";
|
|
3123
3123
|
resource: "role";
|
|
@@ -3258,7 +3258,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3258
3258
|
id: string;
|
|
3259
3259
|
createdAt: number;
|
|
3260
3260
|
legacy: boolean;
|
|
3261
|
-
lifecycle: "
|
|
3261
|
+
lifecycle: "paused" | "active" | "archived";
|
|
3262
3262
|
key?: string | undefined;
|
|
3263
3263
|
origin?: {
|
|
3264
3264
|
typeVersion: string;
|
|
@@ -3400,9 +3400,9 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3400
3400
|
action: z.ZodLiteral<"grant-role">;
|
|
3401
3401
|
roleId: z.ZodString;
|
|
3402
3402
|
status: z.ZodEnum<{
|
|
3403
|
-
failed: "failed";
|
|
3404
3403
|
pending: "pending";
|
|
3405
3404
|
delivered: "delivered";
|
|
3405
|
+
failed: "failed";
|
|
3406
3406
|
}>;
|
|
3407
3407
|
attempts: z.ZodNumber;
|
|
3408
3408
|
nextAt: z.ZodNumber;
|
|
@@ -3420,9 +3420,9 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3420
3420
|
action: z.ZodLiteral<"grant-role">;
|
|
3421
3421
|
roleId: z.ZodString;
|
|
3422
3422
|
status: z.ZodEnum<{
|
|
3423
|
-
failed: "failed";
|
|
3424
3423
|
pending: "pending";
|
|
3425
3424
|
delivered: "delivered";
|
|
3425
|
+
failed: "failed";
|
|
3426
3426
|
}>;
|
|
3427
3427
|
attempts: z.ZodNumber;
|
|
3428
3428
|
nextAt: z.ZodNumber;
|
|
@@ -3568,6 +3568,12 @@ declare function questConfiguration(release: PublishedRelease): {
|
|
|
3568
3568
|
|
|
3569
3569
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
3570
3570
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
3571
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3572
|
+
code: z.ZodString;
|
|
3573
|
+
provider: z.ZodEnum<{
|
|
3574
|
+
"workers-ai": "workers-ai";
|
|
3575
|
+
}>;
|
|
3576
|
+
}, z.core.$strip>>>;
|
|
3571
3577
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3572
3578
|
title: z.ZodString;
|
|
3573
3579
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -3576,24 +3582,18 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3576
3582
|
title: string;
|
|
3577
3583
|
key?: string | undefined;
|
|
3578
3584
|
id?: string | undefined;
|
|
3579
|
-
}, "
|
|
3585
|
+
}, "id" | "key"> & {
|
|
3580
3586
|
key: string;
|
|
3581
3587
|
}, {
|
|
3582
3588
|
title: string;
|
|
3583
3589
|
key?: string | undefined;
|
|
3584
3590
|
id?: string | undefined;
|
|
3585
3591
|
}>>>>;
|
|
3586
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3587
|
-
code: z.ZodString;
|
|
3588
|
-
provider: z.ZodEnum<{
|
|
3589
|
-
"workers-ai": "workers-ai";
|
|
3590
|
-
}>;
|
|
3591
|
-
}, z.core.$strip>>>;
|
|
3592
3592
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3593
3593
|
staff: "staff";
|
|
3594
|
-
quiz: "quiz";
|
|
3595
|
-
text: "text";
|
|
3596
3594
|
url: "url";
|
|
3595
|
+
text: "text";
|
|
3596
|
+
quiz: "quiz";
|
|
3597
3597
|
photo: "photo";
|
|
3598
3598
|
automatic: "automatic";
|
|
3599
3599
|
claim: "claim";
|
|
@@ -3812,7 +3812,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3812
3812
|
inviterGroup?: string | undefined;
|
|
3813
3813
|
key?: string | undefined;
|
|
3814
3814
|
id?: string | undefined;
|
|
3815
|
-
}, "
|
|
3815
|
+
}, "id" | "key"> & {
|
|
3816
3816
|
key: string;
|
|
3817
3817
|
}, {
|
|
3818
3818
|
title: string;
|
|
@@ -3915,6 +3915,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3915
3915
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3916
3916
|
title: z.ZodString;
|
|
3917
3917
|
balance: z.ZodString;
|
|
3918
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3918
3919
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3919
3920
|
kind: z.ZodLiteral<"balance">;
|
|
3920
3921
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3963,7 +3964,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3963
3964
|
participants: "participants";
|
|
3964
3965
|
public: "public";
|
|
3965
3966
|
}>>;
|
|
3966
|
-
group: z.ZodOptional<z.ZodString>;
|
|
3967
3967
|
key: z.ZodOptional<z.ZodString>;
|
|
3968
3968
|
id: z.ZodOptional<z.ZodString>;
|
|
3969
3969
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4009,7 +4009,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4009
4009
|
group?: string | undefined;
|
|
4010
4010
|
key?: string | undefined;
|
|
4011
4011
|
id?: string | undefined;
|
|
4012
|
-
}, "
|
|
4012
|
+
}, "id" | "key"> & {
|
|
4013
4013
|
key: string;
|
|
4014
4014
|
}, {
|
|
4015
4015
|
title: string;
|
|
@@ -4060,6 +4060,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4060
4060
|
}, z.core.$strict>;
|
|
4061
4061
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
4062
4062
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
4063
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4064
|
+
code: z.ZodString;
|
|
4065
|
+
provider: z.ZodEnum<{
|
|
4066
|
+
"workers-ai": "workers-ai";
|
|
4067
|
+
}>;
|
|
4068
|
+
}, z.core.$strip>>>;
|
|
4063
4069
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4064
4070
|
title: z.ZodString;
|
|
4065
4071
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -4068,24 +4074,18 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4068
4074
|
title: string;
|
|
4069
4075
|
key?: string | undefined;
|
|
4070
4076
|
id?: string | undefined;
|
|
4071
|
-
}, "
|
|
4077
|
+
}, "id" | "key"> & {
|
|
4072
4078
|
key: string;
|
|
4073
4079
|
}, {
|
|
4074
4080
|
title: string;
|
|
4075
4081
|
key?: string | undefined;
|
|
4076
4082
|
id?: string | undefined;
|
|
4077
4083
|
}>>>>;
|
|
4078
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4079
|
-
code: z.ZodString;
|
|
4080
|
-
provider: z.ZodEnum<{
|
|
4081
|
-
"workers-ai": "workers-ai";
|
|
4082
|
-
}>;
|
|
4083
|
-
}, z.core.$strip>>>;
|
|
4084
4084
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4085
4085
|
staff: "staff";
|
|
4086
|
-
quiz: "quiz";
|
|
4087
|
-
text: "text";
|
|
4088
4086
|
url: "url";
|
|
4087
|
+
text: "text";
|
|
4088
|
+
quiz: "quiz";
|
|
4089
4089
|
photo: "photo";
|
|
4090
4090
|
automatic: "automatic";
|
|
4091
4091
|
claim: "claim";
|
|
@@ -4304,7 +4304,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4304
4304
|
inviterGroup?: string | undefined;
|
|
4305
4305
|
key?: string | undefined;
|
|
4306
4306
|
id?: string | undefined;
|
|
4307
|
-
}, "
|
|
4307
|
+
}, "id" | "key"> & {
|
|
4308
4308
|
key: string;
|
|
4309
4309
|
}, {
|
|
4310
4310
|
title: string;
|
|
@@ -4407,6 +4407,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4407
4407
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4408
4408
|
title: z.ZodString;
|
|
4409
4409
|
balance: z.ZodString;
|
|
4410
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4410
4411
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4411
4412
|
kind: z.ZodLiteral<"balance">;
|
|
4412
4413
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4455,7 +4456,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4455
4456
|
participants: "participants";
|
|
4456
4457
|
public: "public";
|
|
4457
4458
|
}>>;
|
|
4458
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4459
4459
|
key: z.ZodOptional<z.ZodString>;
|
|
4460
4460
|
id: z.ZodOptional<z.ZodString>;
|
|
4461
4461
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4501,7 +4501,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4501
4501
|
group?: string | undefined;
|
|
4502
4502
|
key?: string | undefined;
|
|
4503
4503
|
id?: string | undefined;
|
|
4504
|
-
}, "
|
|
4504
|
+
}, "id" | "key"> & {
|
|
4505
4505
|
key: string;
|
|
4506
4506
|
}, {
|
|
4507
4507
|
title: string;
|
|
@@ -4821,8 +4821,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4821
4821
|
typeVersion: z.ZodString;
|
|
4822
4822
|
}, z.core.$strict>>;
|
|
4823
4823
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
4824
|
-
active: "active";
|
|
4825
4824
|
paused: "paused";
|
|
4825
|
+
active: "active";
|
|
4826
4826
|
archived: "archived";
|
|
4827
4827
|
}>>;
|
|
4828
4828
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -4927,12 +4927,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4927
4927
|
kind: "resource";
|
|
4928
4928
|
default: string;
|
|
4929
4929
|
source: {
|
|
4930
|
-
provider: "domino";
|
|
4931
|
-
resource: "point-ledger";
|
|
4932
|
-
} | {
|
|
4933
4930
|
provider: "discord";
|
|
4934
4931
|
resource: "channel";
|
|
4935
4932
|
types: ("text" | "announcement")[];
|
|
4933
|
+
} | {
|
|
4934
|
+
provider: "domino";
|
|
4935
|
+
resource: "point-ledger";
|
|
4936
4936
|
} | {
|
|
4937
4937
|
provider: "discord";
|
|
4938
4938
|
resource: "role";
|
|
@@ -5073,7 +5073,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5073
5073
|
id: string;
|
|
5074
5074
|
createdAt: number;
|
|
5075
5075
|
legacy: boolean;
|
|
5076
|
-
lifecycle: "
|
|
5076
|
+
lifecycle: "paused" | "active" | "archived";
|
|
5077
5077
|
key?: string | undefined;
|
|
5078
5078
|
origin?: {
|
|
5079
5079
|
typeVersion: string;
|
|
@@ -5366,9 +5366,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5366
5366
|
}, z.core.$strict>>;
|
|
5367
5367
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5368
5368
|
staff: "staff";
|
|
5369
|
-
quiz: "quiz";
|
|
5370
|
-
text: "text";
|
|
5371
5369
|
url: "url";
|
|
5370
|
+
text: "text";
|
|
5371
|
+
quiz: "quiz";
|
|
5372
5372
|
photo: "photo";
|
|
5373
5373
|
automatic: "automatic";
|
|
5374
5374
|
claim: "claim";
|
|
@@ -5872,8 +5872,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5872
5872
|
typeVersion: z.ZodString;
|
|
5873
5873
|
}, z.core.$strict>>;
|
|
5874
5874
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
5875
|
-
active: "active";
|
|
5876
5875
|
paused: "paused";
|
|
5876
|
+
active: "active";
|
|
5877
5877
|
archived: "archived";
|
|
5878
5878
|
}>>;
|
|
5879
5879
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -5978,12 +5978,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5978
5978
|
kind: "resource";
|
|
5979
5979
|
default: string;
|
|
5980
5980
|
source: {
|
|
5981
|
-
provider: "domino";
|
|
5982
|
-
resource: "point-ledger";
|
|
5983
|
-
} | {
|
|
5984
5981
|
provider: "discord";
|
|
5985
5982
|
resource: "channel";
|
|
5986
5983
|
types: ("text" | "announcement")[];
|
|
5984
|
+
} | {
|
|
5985
|
+
provider: "domino";
|
|
5986
|
+
resource: "point-ledger";
|
|
5987
5987
|
} | {
|
|
5988
5988
|
provider: "discord";
|
|
5989
5989
|
resource: "role";
|
|
@@ -6124,7 +6124,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6124
6124
|
id: string;
|
|
6125
6125
|
createdAt: number;
|
|
6126
6126
|
legacy: boolean;
|
|
6127
|
-
lifecycle: "
|
|
6127
|
+
lifecycle: "paused" | "active" | "archived";
|
|
6128
6128
|
key?: string | undefined;
|
|
6129
6129
|
origin?: {
|
|
6130
6130
|
typeVersion: string;
|
|
@@ -6417,9 +6417,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6417
6417
|
}, z.core.$strict>>;
|
|
6418
6418
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6419
6419
|
staff: "staff";
|
|
6420
|
-
quiz: "quiz";
|
|
6421
|
-
text: "text";
|
|
6422
6420
|
url: "url";
|
|
6421
|
+
text: "text";
|
|
6422
|
+
quiz: "quiz";
|
|
6423
6423
|
photo: "photo";
|
|
6424
6424
|
automatic: "automatic";
|
|
6425
6425
|
claim: "claim";
|
|
@@ -6918,7 +6918,7 @@ declare function createRelayClient(options: {
|
|
|
6918
6918
|
accounts: {
|
|
6919
6919
|
id: string;
|
|
6920
6920
|
program: string;
|
|
6921
|
-
kind: "
|
|
6921
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
6922
6922
|
balance: string;
|
|
6923
6923
|
earned: number;
|
|
6924
6924
|
settled: number;
|
|
@@ -7076,7 +7076,7 @@ declare function createRelayClient(options: {
|
|
|
7076
7076
|
};
|
|
7077
7077
|
availability: {
|
|
7078
7078
|
kind: "available";
|
|
7079
|
-
input: "
|
|
7079
|
+
input: "url" | "text" | "quiz" | "photo" | "none";
|
|
7080
7080
|
} | {
|
|
7081
7081
|
kind: "completed";
|
|
7082
7082
|
} | {
|
|
@@ -7125,7 +7125,7 @@ declare function createRelayClient(options: {
|
|
|
7125
7125
|
quest: string;
|
|
7126
7126
|
member: string;
|
|
7127
7127
|
evidence: string | null;
|
|
7128
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
7128
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
7129
7129
|
reason: string | null;
|
|
7130
7130
|
retries: number;
|
|
7131
7131
|
generation: number;
|
|
@@ -7159,22 +7159,22 @@ declare function createRelayClient(options: {
|
|
|
7159
7159
|
})[] | null;
|
|
7160
7160
|
createdAt: number;
|
|
7161
7161
|
input?: {
|
|
7162
|
-
kind: "quiz";
|
|
7163
|
-
answers: {
|
|
7164
|
-
[k: string]: string;
|
|
7165
|
-
};
|
|
7166
|
-
release?: string | undefined;
|
|
7167
|
-
} | {
|
|
7168
7162
|
kind: "text";
|
|
7169
7163
|
value: string;
|
|
7170
7164
|
} | {
|
|
7171
7165
|
kind: "url";
|
|
7172
7166
|
value: string;
|
|
7167
|
+
} | {
|
|
7168
|
+
kind: "quiz";
|
|
7169
|
+
answers: {
|
|
7170
|
+
[k: string]: string;
|
|
7171
|
+
};
|
|
7172
|
+
release?: string | undefined;
|
|
7173
7173
|
} | undefined;
|
|
7174
7174
|
} | null;
|
|
7175
7175
|
release: string;
|
|
7176
|
-
interaction: "staff" | "
|
|
7177
|
-
lifecycle: "
|
|
7176
|
+
interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
|
|
7177
|
+
lifecycle: "paused" | "active" | "archived";
|
|
7178
7178
|
rewards: {
|
|
7179
7179
|
label: string;
|
|
7180
7180
|
}[];
|
|
@@ -7216,7 +7216,7 @@ declare function createRelayClient(options: {
|
|
|
7216
7216
|
quest: string;
|
|
7217
7217
|
member: string;
|
|
7218
7218
|
evidence: string | null;
|
|
7219
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
7219
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
7220
7220
|
reason: string | null;
|
|
7221
7221
|
retries: number;
|
|
7222
7222
|
generation: number;
|
|
@@ -7250,17 +7250,17 @@ declare function createRelayClient(options: {
|
|
|
7250
7250
|
})[] | null;
|
|
7251
7251
|
createdAt: number;
|
|
7252
7252
|
input?: {
|
|
7253
|
-
kind: "quiz";
|
|
7254
|
-
answers: {
|
|
7255
|
-
[k: string]: string;
|
|
7256
|
-
};
|
|
7257
|
-
release?: string | undefined;
|
|
7258
|
-
} | {
|
|
7259
7253
|
kind: "text";
|
|
7260
7254
|
value: string;
|
|
7261
7255
|
} | {
|
|
7262
7256
|
kind: "url";
|
|
7263
7257
|
value: string;
|
|
7258
|
+
} | {
|
|
7259
|
+
kind: "quiz";
|
|
7260
|
+
answers: {
|
|
7261
|
+
[k: string]: string;
|
|
7262
|
+
};
|
|
7263
|
+
release?: string | undefined;
|
|
7264
7264
|
} | undefined;
|
|
7265
7265
|
}>;
|
|
7266
7266
|
experience: () => Promise<{
|
|
@@ -7319,7 +7319,7 @@ declare function createRelayClient(options: {
|
|
|
7319
7319
|
};
|
|
7320
7320
|
availability: {
|
|
7321
7321
|
kind: "available";
|
|
7322
|
-
input: "
|
|
7322
|
+
input: "url" | "text" | "quiz" | "photo" | "none";
|
|
7323
7323
|
} | {
|
|
7324
7324
|
kind: "completed";
|
|
7325
7325
|
} | {
|
|
@@ -7368,7 +7368,7 @@ declare function createRelayClient(options: {
|
|
|
7368
7368
|
quest: string;
|
|
7369
7369
|
member: string;
|
|
7370
7370
|
evidence: string | null;
|
|
7371
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
7371
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
7372
7372
|
reason: string | null;
|
|
7373
7373
|
retries: number;
|
|
7374
7374
|
generation: number;
|
|
@@ -7402,22 +7402,22 @@ declare function createRelayClient(options: {
|
|
|
7402
7402
|
})[] | null;
|
|
7403
7403
|
createdAt: number;
|
|
7404
7404
|
input?: {
|
|
7405
|
-
kind: "quiz";
|
|
7406
|
-
answers: {
|
|
7407
|
-
[k: string]: string;
|
|
7408
|
-
};
|
|
7409
|
-
release?: string | undefined;
|
|
7410
|
-
} | {
|
|
7411
7405
|
kind: "text";
|
|
7412
7406
|
value: string;
|
|
7413
7407
|
} | {
|
|
7414
7408
|
kind: "url";
|
|
7415
7409
|
value: string;
|
|
7410
|
+
} | {
|
|
7411
|
+
kind: "quiz";
|
|
7412
|
+
answers: {
|
|
7413
|
+
[k: string]: string;
|
|
7414
|
+
};
|
|
7415
|
+
release?: string | undefined;
|
|
7416
7416
|
} | undefined;
|
|
7417
7417
|
} | null;
|
|
7418
7418
|
release: string;
|
|
7419
|
-
interaction: "staff" | "
|
|
7420
|
-
lifecycle: "
|
|
7419
|
+
interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
|
|
7420
|
+
lifecycle: "paused" | "active" | "archived";
|
|
7421
7421
|
rewards: {
|
|
7422
7422
|
label: string;
|
|
7423
7423
|
}[];
|
|
@@ -7510,7 +7510,7 @@ declare function createRelayClient(options: {
|
|
|
7510
7510
|
};
|
|
7511
7511
|
availability: {
|
|
7512
7512
|
kind: "available";
|
|
7513
|
-
input: "
|
|
7513
|
+
input: "url" | "text" | "quiz" | "photo" | "none";
|
|
7514
7514
|
} | {
|
|
7515
7515
|
kind: "completed";
|
|
7516
7516
|
} | {
|
|
@@ -7559,7 +7559,7 @@ declare function createRelayClient(options: {
|
|
|
7559
7559
|
quest: string;
|
|
7560
7560
|
member: string;
|
|
7561
7561
|
evidence: string | null;
|
|
7562
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
7562
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
7563
7563
|
reason: string | null;
|
|
7564
7564
|
retries: number;
|
|
7565
7565
|
generation: number;
|
|
@@ -7593,22 +7593,22 @@ declare function createRelayClient(options: {
|
|
|
7593
7593
|
})[] | null;
|
|
7594
7594
|
createdAt: number;
|
|
7595
7595
|
input?: {
|
|
7596
|
-
kind: "quiz";
|
|
7597
|
-
answers: {
|
|
7598
|
-
[k: string]: string;
|
|
7599
|
-
};
|
|
7600
|
-
release?: string | undefined;
|
|
7601
|
-
} | {
|
|
7602
7596
|
kind: "text";
|
|
7603
7597
|
value: string;
|
|
7604
7598
|
} | {
|
|
7605
7599
|
kind: "url";
|
|
7606
7600
|
value: string;
|
|
7601
|
+
} | {
|
|
7602
|
+
kind: "quiz";
|
|
7603
|
+
answers: {
|
|
7604
|
+
[k: string]: string;
|
|
7605
|
+
};
|
|
7606
|
+
release?: string | undefined;
|
|
7607
7607
|
} | undefined;
|
|
7608
7608
|
} | null;
|
|
7609
7609
|
release: string;
|
|
7610
|
-
interaction: "staff" | "
|
|
7611
|
-
lifecycle: "
|
|
7610
|
+
interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
|
|
7611
|
+
lifecycle: "paused" | "active" | "archived";
|
|
7612
7612
|
rewards: {
|
|
7613
7613
|
label: string;
|
|
7614
7614
|
}[];
|
|
@@ -7704,7 +7704,7 @@ declare function createRelayClient(options: {
|
|
|
7704
7704
|
};
|
|
7705
7705
|
availability: {
|
|
7706
7706
|
kind: "available";
|
|
7707
|
-
input: "
|
|
7707
|
+
input: "url" | "text" | "quiz" | "photo" | "none";
|
|
7708
7708
|
} | {
|
|
7709
7709
|
kind: "completed";
|
|
7710
7710
|
} | {
|
|
@@ -7753,7 +7753,7 @@ declare function createRelayClient(options: {
|
|
|
7753
7753
|
quest: string;
|
|
7754
7754
|
member: string;
|
|
7755
7755
|
evidence: string | null;
|
|
7756
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
7756
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
7757
7757
|
reason: string | null;
|
|
7758
7758
|
retries: number;
|
|
7759
7759
|
generation: number;
|
|
@@ -7787,22 +7787,22 @@ declare function createRelayClient(options: {
|
|
|
7787
7787
|
})[] | null;
|
|
7788
7788
|
createdAt: number;
|
|
7789
7789
|
input?: {
|
|
7790
|
-
kind: "quiz";
|
|
7791
|
-
answers: {
|
|
7792
|
-
[k: string]: string;
|
|
7793
|
-
};
|
|
7794
|
-
release?: string | undefined;
|
|
7795
|
-
} | {
|
|
7796
7790
|
kind: "text";
|
|
7797
7791
|
value: string;
|
|
7798
7792
|
} | {
|
|
7799
7793
|
kind: "url";
|
|
7800
7794
|
value: string;
|
|
7795
|
+
} | {
|
|
7796
|
+
kind: "quiz";
|
|
7797
|
+
answers: {
|
|
7798
|
+
[k: string]: string;
|
|
7799
|
+
};
|
|
7800
|
+
release?: string | undefined;
|
|
7801
7801
|
} | undefined;
|
|
7802
7802
|
} | null;
|
|
7803
7803
|
release: string;
|
|
7804
|
-
interaction: "staff" | "
|
|
7805
|
-
lifecycle: "
|
|
7804
|
+
interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
|
|
7805
|
+
lifecycle: "paused" | "active" | "archived";
|
|
7806
7806
|
rewards: {
|
|
7807
7807
|
label: string;
|
|
7808
7808
|
}[];
|
|
@@ -7999,7 +7999,7 @@ declare function createRelayClient(options: {
|
|
|
7999
7999
|
quest: string;
|
|
8000
8000
|
member: string;
|
|
8001
8001
|
evidence: string | null;
|
|
8002
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
8002
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
8003
8003
|
reason: string | null;
|
|
8004
8004
|
retries: number;
|
|
8005
8005
|
generation: number;
|
|
@@ -8033,17 +8033,17 @@ declare function createRelayClient(options: {
|
|
|
8033
8033
|
})[] | null;
|
|
8034
8034
|
createdAt: number;
|
|
8035
8035
|
input?: {
|
|
8036
|
-
kind: "quiz";
|
|
8037
|
-
answers: {
|
|
8038
|
-
[k: string]: string;
|
|
8039
|
-
};
|
|
8040
|
-
release?: string | undefined;
|
|
8041
|
-
} | {
|
|
8042
8036
|
kind: "text";
|
|
8043
8037
|
value: string;
|
|
8044
8038
|
} | {
|
|
8045
8039
|
kind: "url";
|
|
8046
8040
|
value: string;
|
|
8041
|
+
} | {
|
|
8042
|
+
kind: "quiz";
|
|
8043
|
+
answers: {
|
|
8044
|
+
[k: string]: string;
|
|
8045
|
+
};
|
|
8046
|
+
release?: string | undefined;
|
|
8047
8047
|
} | undefined;
|
|
8048
8048
|
}>;
|
|
8049
8049
|
progress: () => Promise<{
|
|
@@ -8102,7 +8102,7 @@ declare function createRelayClient(options: {
|
|
|
8102
8102
|
};
|
|
8103
8103
|
availability: {
|
|
8104
8104
|
kind: "available";
|
|
8105
|
-
input: "
|
|
8105
|
+
input: "url" | "text" | "quiz" | "photo" | "none";
|
|
8106
8106
|
} | {
|
|
8107
8107
|
kind: "completed";
|
|
8108
8108
|
} | {
|
|
@@ -8151,7 +8151,7 @@ declare function createRelayClient(options: {
|
|
|
8151
8151
|
quest: string;
|
|
8152
8152
|
member: string;
|
|
8153
8153
|
evidence: string | null;
|
|
8154
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
8154
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
8155
8155
|
reason: string | null;
|
|
8156
8156
|
retries: number;
|
|
8157
8157
|
generation: number;
|
|
@@ -8185,17 +8185,17 @@ declare function createRelayClient(options: {
|
|
|
8185
8185
|
})[] | null;
|
|
8186
8186
|
createdAt: number;
|
|
8187
8187
|
input?: {
|
|
8188
|
-
kind: "quiz";
|
|
8189
|
-
answers: {
|
|
8190
|
-
[k: string]: string;
|
|
8191
|
-
};
|
|
8192
|
-
release?: string | undefined;
|
|
8193
|
-
} | {
|
|
8194
8188
|
kind: "text";
|
|
8195
8189
|
value: string;
|
|
8196
8190
|
} | {
|
|
8197
8191
|
kind: "url";
|
|
8198
8192
|
value: string;
|
|
8193
|
+
} | {
|
|
8194
|
+
kind: "quiz";
|
|
8195
|
+
answers: {
|
|
8196
|
+
[k: string]: string;
|
|
8197
|
+
};
|
|
8198
|
+
release?: string | undefined;
|
|
8199
8199
|
} | undefined;
|
|
8200
8200
|
} | null;
|
|
8201
8201
|
key?: string | undefined;
|
|
@@ -8318,7 +8318,7 @@ declare function createRelayClient(options: {
|
|
|
8318
8318
|
provider: "discord";
|
|
8319
8319
|
action: "grant-role";
|
|
8320
8320
|
roleId: string;
|
|
8321
|
-
status: "
|
|
8321
|
+
status: "pending" | "delivered" | "failed";
|
|
8322
8322
|
attempts: number;
|
|
8323
8323
|
nextAt: number;
|
|
8324
8324
|
lastError: string | null;
|
|
@@ -8334,7 +8334,7 @@ declare function createRelayClient(options: {
|
|
|
8334
8334
|
quest: string;
|
|
8335
8335
|
member: string;
|
|
8336
8336
|
evidence: string | null;
|
|
8337
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
8337
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
8338
8338
|
reason: string | null;
|
|
8339
8339
|
retries: number;
|
|
8340
8340
|
generation: number;
|
|
@@ -8368,17 +8368,17 @@ declare function createRelayClient(options: {
|
|
|
8368
8368
|
})[] | null;
|
|
8369
8369
|
createdAt: number;
|
|
8370
8370
|
input?: {
|
|
8371
|
-
kind: "quiz";
|
|
8372
|
-
answers: {
|
|
8373
|
-
[k: string]: string;
|
|
8374
|
-
};
|
|
8375
|
-
release?: string | undefined;
|
|
8376
|
-
} | {
|
|
8377
8371
|
kind: "text";
|
|
8378
8372
|
value: string;
|
|
8379
8373
|
} | {
|
|
8380
8374
|
kind: "url";
|
|
8381
8375
|
value: string;
|
|
8376
|
+
} | {
|
|
8377
|
+
kind: "quiz";
|
|
8378
|
+
answers: {
|
|
8379
|
+
[k: string]: string;
|
|
8380
|
+
};
|
|
8381
|
+
release?: string | undefined;
|
|
8382
8382
|
} | undefined;
|
|
8383
8383
|
}>;
|
|
8384
8384
|
upload: (file: File) => Promise<{
|
|
@@ -8400,7 +8400,7 @@ declare function createRelayClient(options: {
|
|
|
8400
8400
|
quest: string;
|
|
8401
8401
|
member: string;
|
|
8402
8402
|
evidence: string | null;
|
|
8403
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
8403
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
8404
8404
|
reason: string | null;
|
|
8405
8405
|
retries: number;
|
|
8406
8406
|
generation: number;
|
|
@@ -8434,17 +8434,17 @@ declare function createRelayClient(options: {
|
|
|
8434
8434
|
})[] | null;
|
|
8435
8435
|
createdAt: number;
|
|
8436
8436
|
input?: {
|
|
8437
|
-
kind: "quiz";
|
|
8438
|
-
answers: {
|
|
8439
|
-
[k: string]: string;
|
|
8440
|
-
};
|
|
8441
|
-
release?: string | undefined;
|
|
8442
|
-
} | {
|
|
8443
8437
|
kind: "text";
|
|
8444
8438
|
value: string;
|
|
8445
8439
|
} | {
|
|
8446
8440
|
kind: "url";
|
|
8447
8441
|
value: string;
|
|
8442
|
+
} | {
|
|
8443
|
+
kind: "quiz";
|
|
8444
|
+
answers: {
|
|
8445
|
+
[k: string]: string;
|
|
8446
|
+
};
|
|
8447
|
+
release?: string | undefined;
|
|
8448
8448
|
} | undefined;
|
|
8449
8449
|
};
|
|
8450
8450
|
title: string;
|
|
@@ -8521,12 +8521,12 @@ declare function createRelayClient(options: {
|
|
|
8521
8521
|
kind: "resource";
|
|
8522
8522
|
default: string;
|
|
8523
8523
|
source: {
|
|
8524
|
-
provider: "domino";
|
|
8525
|
-
resource: "point-ledger";
|
|
8526
|
-
} | {
|
|
8527
8524
|
provider: "discord";
|
|
8528
8525
|
resource: "channel";
|
|
8529
8526
|
types: ("text" | "announcement")[];
|
|
8527
|
+
} | {
|
|
8528
|
+
provider: "domino";
|
|
8529
|
+
resource: "point-ledger";
|
|
8530
8530
|
} | {
|
|
8531
8531
|
provider: "discord";
|
|
8532
8532
|
resource: "role";
|
|
@@ -8706,12 +8706,12 @@ declare function createRelayClient(options: {
|
|
|
8706
8706
|
kind: "resource";
|
|
8707
8707
|
default: string;
|
|
8708
8708
|
source: {
|
|
8709
|
-
provider: "domino";
|
|
8710
|
-
resource: "point-ledger";
|
|
8711
|
-
} | {
|
|
8712
8709
|
provider: "discord";
|
|
8713
8710
|
resource: "channel";
|
|
8714
8711
|
types: ("text" | "announcement")[];
|
|
8712
|
+
} | {
|
|
8713
|
+
provider: "domino";
|
|
8714
|
+
resource: "point-ledger";
|
|
8715
8715
|
} | {
|
|
8716
8716
|
provider: "discord";
|
|
8717
8717
|
resource: "role";
|
|
@@ -8890,12 +8890,12 @@ declare function createRelayClient(options: {
|
|
|
8890
8890
|
kind: "resource";
|
|
8891
8891
|
default: string;
|
|
8892
8892
|
source: {
|
|
8893
|
-
provider: "domino";
|
|
8894
|
-
resource: "point-ledger";
|
|
8895
|
-
} | {
|
|
8896
8893
|
provider: "discord";
|
|
8897
8894
|
resource: "channel";
|
|
8898
8895
|
types: ("text" | "announcement")[];
|
|
8896
|
+
} | {
|
|
8897
|
+
provider: "domino";
|
|
8898
|
+
resource: "point-ledger";
|
|
8899
8899
|
} | {
|
|
8900
8900
|
provider: "discord";
|
|
8901
8901
|
resource: "role";
|
|
@@ -9036,7 +9036,7 @@ declare function createRelayClient(options: {
|
|
|
9036
9036
|
id: string;
|
|
9037
9037
|
createdAt: number;
|
|
9038
9038
|
legacy: boolean;
|
|
9039
|
-
lifecycle: "
|
|
9039
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9040
9040
|
key?: string | undefined;
|
|
9041
9041
|
origin?: {
|
|
9042
9042
|
typeVersion: string;
|
|
@@ -9152,7 +9152,7 @@ declare function createRelayClient(options: {
|
|
|
9152
9152
|
quest: string;
|
|
9153
9153
|
member: string;
|
|
9154
9154
|
evidence: string | null;
|
|
9155
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
9155
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
9156
9156
|
reason: string | null;
|
|
9157
9157
|
retries: number;
|
|
9158
9158
|
generation: number;
|
|
@@ -9186,17 +9186,17 @@ declare function createRelayClient(options: {
|
|
|
9186
9186
|
})[] | null;
|
|
9187
9187
|
createdAt: number;
|
|
9188
9188
|
input?: {
|
|
9189
|
-
kind: "quiz";
|
|
9190
|
-
answers: {
|
|
9191
|
-
[k: string]: string;
|
|
9192
|
-
};
|
|
9193
|
-
release?: string | undefined;
|
|
9194
|
-
} | {
|
|
9195
9189
|
kind: "text";
|
|
9196
9190
|
value: string;
|
|
9197
9191
|
} | {
|
|
9198
9192
|
kind: "url";
|
|
9199
9193
|
value: string;
|
|
9194
|
+
} | {
|
|
9195
|
+
kind: "quiz";
|
|
9196
|
+
answers: {
|
|
9197
|
+
[k: string]: string;
|
|
9198
|
+
};
|
|
9199
|
+
release?: string | undefined;
|
|
9200
9200
|
} | undefined;
|
|
9201
9201
|
}[];
|
|
9202
9202
|
balances: {
|
|
@@ -9255,12 +9255,12 @@ declare function createRelayClient(options: {
|
|
|
9255
9255
|
kind: "resource";
|
|
9256
9256
|
default: string;
|
|
9257
9257
|
source: {
|
|
9258
|
-
provider: "domino";
|
|
9259
|
-
resource: "point-ledger";
|
|
9260
|
-
} | {
|
|
9261
9258
|
provider: "discord";
|
|
9262
9259
|
resource: "channel";
|
|
9263
9260
|
types: ("text" | "announcement")[];
|
|
9261
|
+
} | {
|
|
9262
|
+
provider: "domino";
|
|
9263
|
+
resource: "point-ledger";
|
|
9264
9264
|
} | {
|
|
9265
9265
|
provider: "discord";
|
|
9266
9266
|
resource: "role";
|
|
@@ -9401,7 +9401,7 @@ declare function createRelayClient(options: {
|
|
|
9401
9401
|
id: string;
|
|
9402
9402
|
createdAt: number;
|
|
9403
9403
|
legacy: boolean;
|
|
9404
|
-
lifecycle: "
|
|
9404
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9405
9405
|
key?: string | undefined;
|
|
9406
9406
|
origin?: {
|
|
9407
9407
|
typeVersion: string;
|
|
@@ -9468,12 +9468,12 @@ declare function createRelayClient(options: {
|
|
|
9468
9468
|
kind: "resource";
|
|
9469
9469
|
default: string;
|
|
9470
9470
|
source: {
|
|
9471
|
-
provider: "domino";
|
|
9472
|
-
resource: "point-ledger";
|
|
9473
|
-
} | {
|
|
9474
9471
|
provider: "discord";
|
|
9475
9472
|
resource: "channel";
|
|
9476
9473
|
types: ("text" | "announcement")[];
|
|
9474
|
+
} | {
|
|
9475
|
+
provider: "domino";
|
|
9476
|
+
resource: "point-ledger";
|
|
9477
9477
|
} | {
|
|
9478
9478
|
provider: "discord";
|
|
9479
9479
|
resource: "role";
|
|
@@ -9614,7 +9614,7 @@ declare function createRelayClient(options: {
|
|
|
9614
9614
|
id: string;
|
|
9615
9615
|
createdAt: number;
|
|
9616
9616
|
legacy: boolean;
|
|
9617
|
-
lifecycle: "
|
|
9617
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9618
9618
|
key?: string | undefined;
|
|
9619
9619
|
origin?: {
|
|
9620
9620
|
typeVersion: string;
|
|
@@ -9697,7 +9697,7 @@ declare function createRelayClient(options: {
|
|
|
9697
9697
|
};
|
|
9698
9698
|
availability: {
|
|
9699
9699
|
kind: "available";
|
|
9700
|
-
input: "
|
|
9700
|
+
input: "url" | "text" | "quiz" | "photo" | "none";
|
|
9701
9701
|
} | {
|
|
9702
9702
|
kind: "completed";
|
|
9703
9703
|
} | {
|
|
@@ -9746,7 +9746,7 @@ declare function createRelayClient(options: {
|
|
|
9746
9746
|
quest: string;
|
|
9747
9747
|
member: string;
|
|
9748
9748
|
evidence: string | null;
|
|
9749
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
9749
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
9750
9750
|
reason: string | null;
|
|
9751
9751
|
retries: number;
|
|
9752
9752
|
generation: number;
|
|
@@ -9780,17 +9780,17 @@ declare function createRelayClient(options: {
|
|
|
9780
9780
|
})[] | null;
|
|
9781
9781
|
createdAt: number;
|
|
9782
9782
|
input?: {
|
|
9783
|
-
kind: "quiz";
|
|
9784
|
-
answers: {
|
|
9785
|
-
[k: string]: string;
|
|
9786
|
-
};
|
|
9787
|
-
release?: string | undefined;
|
|
9788
|
-
} | {
|
|
9789
9783
|
kind: "text";
|
|
9790
9784
|
value: string;
|
|
9791
9785
|
} | {
|
|
9792
9786
|
kind: "url";
|
|
9793
9787
|
value: string;
|
|
9788
|
+
} | {
|
|
9789
|
+
kind: "quiz";
|
|
9790
|
+
answers: {
|
|
9791
|
+
[k: string]: string;
|
|
9792
|
+
};
|
|
9793
|
+
release?: string | undefined;
|
|
9794
9794
|
} | undefined;
|
|
9795
9795
|
} | null;
|
|
9796
9796
|
key?: string | undefined;
|
|
@@ -10075,7 +10075,7 @@ declare function createRelayClient(options: {
|
|
|
10075
10075
|
quest: string;
|
|
10076
10076
|
member: string;
|
|
10077
10077
|
evidence: string | null;
|
|
10078
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
10078
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
10079
10079
|
reason: string | null;
|
|
10080
10080
|
retries: number;
|
|
10081
10081
|
generation: number;
|
|
@@ -10109,17 +10109,17 @@ declare function createRelayClient(options: {
|
|
|
10109
10109
|
})[] | null;
|
|
10110
10110
|
createdAt: number;
|
|
10111
10111
|
input?: {
|
|
10112
|
-
kind: "quiz";
|
|
10113
|
-
answers: {
|
|
10114
|
-
[k: string]: string;
|
|
10115
|
-
};
|
|
10116
|
-
release?: string | undefined;
|
|
10117
|
-
} | {
|
|
10118
10112
|
kind: "text";
|
|
10119
10113
|
value: string;
|
|
10120
10114
|
} | {
|
|
10121
10115
|
kind: "url";
|
|
10122
10116
|
value: string;
|
|
10117
|
+
} | {
|
|
10118
|
+
kind: "quiz";
|
|
10119
|
+
answers: {
|
|
10120
|
+
[k: string]: string;
|
|
10121
|
+
};
|
|
10122
|
+
release?: string | undefined;
|
|
10123
10123
|
} | undefined;
|
|
10124
10124
|
}>;
|
|
10125
10125
|
retry: (id: string) => Promise<{
|
|
@@ -10128,7 +10128,7 @@ declare function createRelayClient(options: {
|
|
|
10128
10128
|
quest: string;
|
|
10129
10129
|
member: string;
|
|
10130
10130
|
evidence: string | null;
|
|
10131
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
10131
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
10132
10132
|
reason: string | null;
|
|
10133
10133
|
retries: number;
|
|
10134
10134
|
generation: number;
|
|
@@ -10162,17 +10162,17 @@ declare function createRelayClient(options: {
|
|
|
10162
10162
|
})[] | null;
|
|
10163
10163
|
createdAt: number;
|
|
10164
10164
|
input?: {
|
|
10165
|
-
kind: "quiz";
|
|
10166
|
-
answers: {
|
|
10167
|
-
[k: string]: string;
|
|
10168
|
-
};
|
|
10169
|
-
release?: string | undefined;
|
|
10170
|
-
} | {
|
|
10171
10165
|
kind: "text";
|
|
10172
10166
|
value: string;
|
|
10173
10167
|
} | {
|
|
10174
10168
|
kind: "url";
|
|
10175
10169
|
value: string;
|
|
10170
|
+
} | {
|
|
10171
|
+
kind: "quiz";
|
|
10172
|
+
answers: {
|
|
10173
|
+
[k: string]: string;
|
|
10174
|
+
};
|
|
10175
|
+
release?: string | undefined;
|
|
10176
10176
|
} | undefined;
|
|
10177
10177
|
}>;
|
|
10178
10178
|
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
@@ -10187,7 +10187,7 @@ declare function createRelayClient(options: {
|
|
|
10187
10187
|
quest: string;
|
|
10188
10188
|
member: string;
|
|
10189
10189
|
evidence: string | null;
|
|
10190
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review"
|
|
10190
|
+
status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
|
|
10191
10191
|
reason: string | null;
|
|
10192
10192
|
retries: number;
|
|
10193
10193
|
generation: number;
|
|
@@ -10221,17 +10221,17 @@ declare function createRelayClient(options: {
|
|
|
10221
10221
|
})[] | null;
|
|
10222
10222
|
createdAt: number;
|
|
10223
10223
|
input?: {
|
|
10224
|
-
kind: "quiz";
|
|
10225
|
-
answers: {
|
|
10226
|
-
[k: string]: string;
|
|
10227
|
-
};
|
|
10228
|
-
release?: string | undefined;
|
|
10229
|
-
} | {
|
|
10230
10224
|
kind: "text";
|
|
10231
10225
|
value: string;
|
|
10232
10226
|
} | {
|
|
10233
10227
|
kind: "url";
|
|
10234
10228
|
value: string;
|
|
10229
|
+
} | {
|
|
10230
|
+
kind: "quiz";
|
|
10231
|
+
answers: {
|
|
10232
|
+
[k: string]: string;
|
|
10233
|
+
};
|
|
10234
|
+
release?: string | undefined;
|
|
10235
10235
|
} | undefined;
|
|
10236
10236
|
}>;
|
|
10237
10237
|
};
|