@domino-sdk/relay 1.0.0-next.1 → 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 +95 -100
- 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 +229 -247
- package/dist/index.js +5 -5
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +0 -5
- package/dist/react/index.js +6 -6
- package/dist/schema.d.ts +5 -12
- package/dist/schema.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -209,10 +209,10 @@ type ProgressObserver = {
|
|
|
209
209
|
};
|
|
210
210
|
|
|
211
211
|
declare const interactionSchema: z.ZodEnum<{
|
|
212
|
-
staff: "staff";
|
|
213
212
|
quiz: "quiz";
|
|
214
|
-
text: "text";
|
|
215
213
|
url: "url";
|
|
214
|
+
text: "text";
|
|
215
|
+
staff: "staff";
|
|
216
216
|
photo: "photo";
|
|
217
217
|
automatic: "automatic";
|
|
218
218
|
claim: "claim";
|
|
@@ -463,8 +463,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
463
463
|
}, z.core.$strict>>;
|
|
464
464
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
465
465
|
quest: z.ZodString;
|
|
466
|
-
|
|
467
|
-
}, z.core.$strict>>>;
|
|
466
|
+
}, z.core.$strip>>>;
|
|
468
467
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
469
468
|
kind: z.ZodLiteral<"streak">;
|
|
470
469
|
days: z.ZodNumber;
|
|
@@ -475,8 +474,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
475
474
|
kind: z.ZodLiteral<"keyed">;
|
|
476
475
|
}, z.core.$strict>], "kind">;
|
|
477
476
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
478
|
-
visible: "visible";
|
|
479
477
|
hidden: "hidden";
|
|
478
|
+
visible: "visible";
|
|
480
479
|
}>>;
|
|
481
480
|
profile: z.ZodOptional<z.ZodObject<{
|
|
482
481
|
visible: z.ZodBoolean;
|
|
@@ -484,13 +483,13 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
484
483
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
485
484
|
id: z.ZodString;
|
|
486
485
|
scope: z.ZodEnum<{
|
|
487
|
-
project: "project";
|
|
488
486
|
member: "member";
|
|
487
|
+
project: "project";
|
|
489
488
|
}>;
|
|
490
489
|
period: z.ZodEnum<{
|
|
491
490
|
day: "day";
|
|
492
|
-
week: "week";
|
|
493
491
|
lifetime: "lifetime";
|
|
492
|
+
week: "week";
|
|
494
493
|
}>;
|
|
495
494
|
limit: z.ZodNumber;
|
|
496
495
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -898,8 +897,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
898
897
|
}, z.core.$strict>>;
|
|
899
898
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
900
899
|
quest: z.ZodString;
|
|
901
|
-
|
|
902
|
-
}, z.core.$strict>>>;
|
|
900
|
+
}, z.core.$strip>>>;
|
|
903
901
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
904
902
|
kind: z.ZodLiteral<"streak">;
|
|
905
903
|
days: z.ZodNumber;
|
|
@@ -910,8 +908,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
910
908
|
kind: z.ZodLiteral<"keyed">;
|
|
911
909
|
}, z.core.$strict>], "kind">;
|
|
912
910
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
913
|
-
visible: "visible";
|
|
914
911
|
hidden: "hidden";
|
|
912
|
+
visible: "visible";
|
|
915
913
|
}>>;
|
|
916
914
|
profile: z.ZodOptional<z.ZodObject<{
|
|
917
915
|
visible: z.ZodBoolean;
|
|
@@ -919,13 +917,13 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
919
917
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
920
918
|
id: z.ZodString;
|
|
921
919
|
scope: z.ZodEnum<{
|
|
922
|
-
project: "project";
|
|
923
920
|
member: "member";
|
|
921
|
+
project: "project";
|
|
924
922
|
}>;
|
|
925
923
|
period: z.ZodEnum<{
|
|
926
924
|
day: "day";
|
|
927
|
-
week: "week";
|
|
928
925
|
lifetime: "lifetime";
|
|
926
|
+
week: "week";
|
|
929
927
|
}>;
|
|
930
928
|
limit: z.ZodNumber;
|
|
931
929
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1277,8 +1275,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1277
1275
|
}, z.core.$strict>>;
|
|
1278
1276
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1279
1277
|
quest: z.ZodString;
|
|
1280
|
-
|
|
1281
|
-
}, z.core.$strict>>>;
|
|
1278
|
+
}, z.core.$strip>>>;
|
|
1282
1279
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1283
1280
|
kind: z.ZodLiteral<"streak">;
|
|
1284
1281
|
days: z.ZodNumber;
|
|
@@ -1289,8 +1286,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1289
1286
|
kind: z.ZodLiteral<"keyed">;
|
|
1290
1287
|
}, z.core.$strict>], "kind">;
|
|
1291
1288
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1292
|
-
visible: "visible";
|
|
1293
1289
|
hidden: "hidden";
|
|
1290
|
+
visible: "visible";
|
|
1294
1291
|
}>>;
|
|
1295
1292
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1296
1293
|
visible: z.ZodBoolean;
|
|
@@ -1298,13 +1295,13 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1298
1295
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1299
1296
|
id: z.ZodString;
|
|
1300
1297
|
scope: z.ZodEnum<{
|
|
1301
|
-
project: "project";
|
|
1302
1298
|
member: "member";
|
|
1299
|
+
project: "project";
|
|
1303
1300
|
}>;
|
|
1304
1301
|
period: z.ZodEnum<{
|
|
1305
1302
|
day: "day";
|
|
1306
|
-
week: "week";
|
|
1307
1303
|
lifetime: "lifetime";
|
|
1304
|
+
week: "week";
|
|
1308
1305
|
}>;
|
|
1309
1306
|
limit: z.ZodNumber;
|
|
1310
1307
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1396,7 +1393,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1396
1393
|
createdAt: z.ZodNumber;
|
|
1397
1394
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1398
1395
|
quest: string;
|
|
1399
|
-
runtimeVersion:
|
|
1396
|
+
runtimeVersion: 1 | 2;
|
|
1400
1397
|
title: string;
|
|
1401
1398
|
presentation: {
|
|
1402
1399
|
quiz?: {
|
|
@@ -1433,12 +1430,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1433
1430
|
kind: "resource";
|
|
1434
1431
|
default: string;
|
|
1435
1432
|
source: {
|
|
1436
|
-
provider: "domino";
|
|
1437
|
-
resource: "point-ledger";
|
|
1438
|
-
} | {
|
|
1439
1433
|
provider: "discord";
|
|
1440
1434
|
resource: "channel";
|
|
1441
1435
|
types: ("text" | "announcement")[];
|
|
1436
|
+
} | {
|
|
1437
|
+
provider: "domino";
|
|
1438
|
+
resource: "point-ledger";
|
|
1442
1439
|
} | {
|
|
1443
1440
|
provider: "discord";
|
|
1444
1441
|
resource: "role";
|
|
@@ -1587,7 +1584,6 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1587
1584
|
};
|
|
1588
1585
|
requires: {
|
|
1589
1586
|
quest: string;
|
|
1590
|
-
scope: "ever";
|
|
1591
1587
|
}[];
|
|
1592
1588
|
completion: {
|
|
1593
1589
|
kind: "streak";
|
|
@@ -1598,11 +1594,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1598
1594
|
} | {
|
|
1599
1595
|
kind: "keyed";
|
|
1600
1596
|
};
|
|
1601
|
-
visibility: "
|
|
1597
|
+
visibility: "hidden" | "visible";
|
|
1602
1598
|
budgets: {
|
|
1603
1599
|
id: string;
|
|
1604
|
-
scope: "
|
|
1605
|
-
period: "day" | "
|
|
1600
|
+
scope: "member" | "project";
|
|
1601
|
+
period: "day" | "lifetime" | "week";
|
|
1606
1602
|
limit: number;
|
|
1607
1603
|
cost: number | {
|
|
1608
1604
|
balance: string;
|
|
@@ -1684,10 +1680,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1684
1680
|
createdAt: number;
|
|
1685
1681
|
}>>]>>>;
|
|
1686
1682
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1687
|
-
staff: "staff";
|
|
1688
1683
|
quiz: "quiz";
|
|
1689
|
-
text: "text";
|
|
1690
1684
|
url: "url";
|
|
1685
|
+
text: "text";
|
|
1686
|
+
staff: "staff";
|
|
1691
1687
|
photo: "photo";
|
|
1692
1688
|
automatic: "automatic";
|
|
1693
1689
|
claim: "claim";
|
|
@@ -1717,10 +1713,10 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1717
1713
|
id?: string | undefined;
|
|
1718
1714
|
}>>>>;
|
|
1719
1715
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1720
|
-
staff: "staff";
|
|
1721
1716
|
quiz: "quiz";
|
|
1722
|
-
text: "text";
|
|
1723
1717
|
url: "url";
|
|
1718
|
+
text: "text";
|
|
1719
|
+
staff: "staff";
|
|
1724
1720
|
photo: "photo";
|
|
1725
1721
|
automatic: "automatic";
|
|
1726
1722
|
claim: "claim";
|
|
@@ -1972,8 +1968,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1972
1968
|
}, z.core.$strict>>;
|
|
1973
1969
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1974
1970
|
quest: z.ZodString;
|
|
1975
|
-
|
|
1976
|
-
}, z.core.$strict>>>;
|
|
1971
|
+
}, z.core.$strip>>>;
|
|
1977
1972
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1978
1973
|
kind: z.ZodLiteral<"streak">;
|
|
1979
1974
|
days: z.ZodNumber;
|
|
@@ -1984,8 +1979,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1984
1979
|
kind: z.ZodLiteral<"keyed">;
|
|
1985
1980
|
}, z.core.$strict>], "kind">;
|
|
1986
1981
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1987
|
-
visible: "visible";
|
|
1988
1982
|
hidden: "hidden";
|
|
1983
|
+
visible: "visible";
|
|
1989
1984
|
}>>;
|
|
1990
1985
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1991
1986
|
visible: z.ZodBoolean;
|
|
@@ -1993,13 +1988,13 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1993
1988
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1994
1989
|
id: z.ZodString;
|
|
1995
1990
|
scope: z.ZodEnum<{
|
|
1996
|
-
project: "project";
|
|
1997
1991
|
member: "member";
|
|
1992
|
+
project: "project";
|
|
1998
1993
|
}>;
|
|
1999
1994
|
period: z.ZodEnum<{
|
|
2000
1995
|
day: "day";
|
|
2001
|
-
week: "week";
|
|
2002
1996
|
lifetime: "lifetime";
|
|
1997
|
+
week: "week";
|
|
2003
1998
|
}>;
|
|
2004
1999
|
limit: z.ZodNumber;
|
|
2005
2000
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -2022,10 +2017,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2022
2017
|
title: z.ZodString;
|
|
2023
2018
|
}, z.core.$strict>>;
|
|
2024
2019
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
2025
|
-
staff: "staff";
|
|
2026
2020
|
quiz: "quiz";
|
|
2027
|
-
text: "text";
|
|
2028
2021
|
url: "url";
|
|
2022
|
+
text: "text";
|
|
2023
|
+
staff: "staff";
|
|
2029
2024
|
photo: "photo";
|
|
2030
2025
|
automatic: "automatic";
|
|
2031
2026
|
claim: "claim";
|
|
@@ -2121,10 +2116,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2121
2116
|
}, z.core.$strict>>;
|
|
2122
2117
|
}, z.core.$strict>>;
|
|
2123
2118
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2119
|
+
x: "x";
|
|
2124
2120
|
discord: "discord";
|
|
2125
2121
|
google: "google";
|
|
2126
2122
|
apple: "apple";
|
|
2127
|
-
x: "x";
|
|
2128
2123
|
}>>>;
|
|
2129
2124
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2130
2125
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2222,8 +2217,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2222
2217
|
kind: z.ZodLiteral<"available">;
|
|
2223
2218
|
input: z.ZodEnum<{
|
|
2224
2219
|
quiz: "quiz";
|
|
2225
|
-
text: "text";
|
|
2226
2220
|
url: "url";
|
|
2221
|
+
text: "text";
|
|
2227
2222
|
photo: "photo";
|
|
2228
2223
|
none: "none";
|
|
2229
2224
|
}>;
|
|
@@ -2295,8 +2290,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2295
2290
|
}, z.core.$strip>>>;
|
|
2296
2291
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2297
2292
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2298
|
-
visible: "visible";
|
|
2299
2293
|
hidden: "hidden";
|
|
2294
|
+
visible: "visible";
|
|
2300
2295
|
}>>;
|
|
2301
2296
|
missing: z.ZodArray<z.ZodObject<{
|
|
2302
2297
|
quest: z.ZodString;
|
|
@@ -2322,12 +2317,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2322
2317
|
value: z.ZodString;
|
|
2323
2318
|
}, z.core.$strict>]>>;
|
|
2324
2319
|
status: z.ZodEnum<{
|
|
2320
|
+
"needs-review": "needs-review";
|
|
2325
2321
|
queued: "queued";
|
|
2326
2322
|
evaluating: "evaluating";
|
|
2327
2323
|
accepted: "accepted";
|
|
2328
2324
|
progressed: "progressed";
|
|
2329
2325
|
rejected: "rejected";
|
|
2330
|
-
"needs-review": "needs-review";
|
|
2331
2326
|
failed: "failed";
|
|
2332
2327
|
}>;
|
|
2333
2328
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2365,10 +2360,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2365
2360
|
}, z.core.$strip>>;
|
|
2366
2361
|
release: z.ZodString;
|
|
2367
2362
|
interaction: z.ZodEnum<{
|
|
2368
|
-
staff: "staff";
|
|
2369
2363
|
quiz: "quiz";
|
|
2370
|
-
text: "text";
|
|
2371
2364
|
url: "url";
|
|
2365
|
+
text: "text";
|
|
2366
|
+
staff: "staff";
|
|
2372
2367
|
photo: "photo";
|
|
2373
2368
|
automatic: "automatic";
|
|
2374
2369
|
claim: "claim";
|
|
@@ -2430,10 +2425,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2430
2425
|
}, z.core.$strict>>;
|
|
2431
2426
|
}, z.core.$strict>>;
|
|
2432
2427
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2428
|
+
x: "x";
|
|
2433
2429
|
discord: "discord";
|
|
2434
2430
|
google: "google";
|
|
2435
2431
|
apple: "apple";
|
|
2436
|
-
x: "x";
|
|
2437
2432
|
}>>>;
|
|
2438
2433
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2439
2434
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2531,8 +2526,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2531
2526
|
kind: z.ZodLiteral<"available">;
|
|
2532
2527
|
input: z.ZodEnum<{
|
|
2533
2528
|
quiz: "quiz";
|
|
2534
|
-
text: "text";
|
|
2535
2529
|
url: "url";
|
|
2530
|
+
text: "text";
|
|
2536
2531
|
photo: "photo";
|
|
2537
2532
|
none: "none";
|
|
2538
2533
|
}>;
|
|
@@ -2604,8 +2599,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2604
2599
|
}, z.core.$strip>>>;
|
|
2605
2600
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2606
2601
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2607
|
-
visible: "visible";
|
|
2608
2602
|
hidden: "hidden";
|
|
2603
|
+
visible: "visible";
|
|
2609
2604
|
}>>;
|
|
2610
2605
|
missing: z.ZodArray<z.ZodObject<{
|
|
2611
2606
|
quest: z.ZodString;
|
|
@@ -2631,12 +2626,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2631
2626
|
value: z.ZodString;
|
|
2632
2627
|
}, z.core.$strict>]>>;
|
|
2633
2628
|
status: z.ZodEnum<{
|
|
2629
|
+
"needs-review": "needs-review";
|
|
2634
2630
|
queued: "queued";
|
|
2635
2631
|
evaluating: "evaluating";
|
|
2636
2632
|
accepted: "accepted";
|
|
2637
2633
|
progressed: "progressed";
|
|
2638
2634
|
rejected: "rejected";
|
|
2639
|
-
"needs-review": "needs-review";
|
|
2640
2635
|
failed: "failed";
|
|
2641
2636
|
}>;
|
|
2642
2637
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2674,10 +2669,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2674
2669
|
}, z.core.$strip>>;
|
|
2675
2670
|
release: z.ZodString;
|
|
2676
2671
|
interaction: z.ZodEnum<{
|
|
2677
|
-
staff: "staff";
|
|
2678
2672
|
quiz: "quiz";
|
|
2679
|
-
text: "text";
|
|
2680
2673
|
url: "url";
|
|
2674
|
+
text: "text";
|
|
2675
|
+
staff: "staff";
|
|
2681
2676
|
photo: "photo";
|
|
2682
2677
|
automatic: "automatic";
|
|
2683
2678
|
claim: "claim";
|
|
@@ -2738,10 +2733,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2738
2733
|
}, z.core.$strict>>;
|
|
2739
2734
|
}, z.core.$strict>>;
|
|
2740
2735
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2736
|
+
x: "x";
|
|
2741
2737
|
discord: "discord";
|
|
2742
2738
|
google: "google";
|
|
2743
2739
|
apple: "apple";
|
|
2744
|
-
x: "x";
|
|
2745
2740
|
}>>>;
|
|
2746
2741
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2747
2742
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2839,8 +2834,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2839
2834
|
kind: z.ZodLiteral<"available">;
|
|
2840
2835
|
input: z.ZodEnum<{
|
|
2841
2836
|
quiz: "quiz";
|
|
2842
|
-
text: "text";
|
|
2843
2837
|
url: "url";
|
|
2838
|
+
text: "text";
|
|
2844
2839
|
photo: "photo";
|
|
2845
2840
|
none: "none";
|
|
2846
2841
|
}>;
|
|
@@ -2912,8 +2907,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2912
2907
|
}, z.core.$strip>>>;
|
|
2913
2908
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2914
2909
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2915
|
-
visible: "visible";
|
|
2916
2910
|
hidden: "hidden";
|
|
2911
|
+
visible: "visible";
|
|
2917
2912
|
}>>;
|
|
2918
2913
|
missing: z.ZodArray<z.ZodObject<{
|
|
2919
2914
|
quest: z.ZodString;
|
|
@@ -2939,12 +2934,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2939
2934
|
value: z.ZodString;
|
|
2940
2935
|
}, z.core.$strict>]>>;
|
|
2941
2936
|
status: z.ZodEnum<{
|
|
2937
|
+
"needs-review": "needs-review";
|
|
2942
2938
|
queued: "queued";
|
|
2943
2939
|
evaluating: "evaluating";
|
|
2944
2940
|
accepted: "accepted";
|
|
2945
2941
|
progressed: "progressed";
|
|
2946
2942
|
rejected: "rejected";
|
|
2947
|
-
"needs-review": "needs-review";
|
|
2948
2943
|
failed: "failed";
|
|
2949
2944
|
}>;
|
|
2950
2945
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2982,10 +2977,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2982
2977
|
}, z.core.$strip>>;
|
|
2983
2978
|
release: z.ZodString;
|
|
2984
2979
|
interaction: z.ZodEnum<{
|
|
2985
|
-
staff: "staff";
|
|
2986
2980
|
quiz: "quiz";
|
|
2987
|
-
text: "text";
|
|
2988
2981
|
url: "url";
|
|
2982
|
+
text: "text";
|
|
2983
|
+
staff: "staff";
|
|
2989
2984
|
photo: "photo";
|
|
2990
2985
|
automatic: "automatic";
|
|
2991
2986
|
claim: "claim";
|
|
@@ -3047,10 +3042,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3047
3042
|
}, z.core.$strict>>;
|
|
3048
3043
|
}, z.core.$strict>>;
|
|
3049
3044
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3045
|
+
x: "x";
|
|
3050
3046
|
discord: "discord";
|
|
3051
3047
|
google: "google";
|
|
3052
3048
|
apple: "apple";
|
|
3053
|
-
x: "x";
|
|
3054
3049
|
}>>>;
|
|
3055
3050
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
3056
3051
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3148,8 +3143,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3148
3143
|
kind: z.ZodLiteral<"available">;
|
|
3149
3144
|
input: z.ZodEnum<{
|
|
3150
3145
|
quiz: "quiz";
|
|
3151
|
-
text: "text";
|
|
3152
3146
|
url: "url";
|
|
3147
|
+
text: "text";
|
|
3153
3148
|
photo: "photo";
|
|
3154
3149
|
none: "none";
|
|
3155
3150
|
}>;
|
|
@@ -3221,8 +3216,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3221
3216
|
}, z.core.$strip>>>;
|
|
3222
3217
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
3223
3218
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3224
|
-
visible: "visible";
|
|
3225
3219
|
hidden: "hidden";
|
|
3220
|
+
visible: "visible";
|
|
3226
3221
|
}>>;
|
|
3227
3222
|
missing: z.ZodArray<z.ZodObject<{
|
|
3228
3223
|
quest: z.ZodString;
|
|
@@ -3248,12 +3243,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3248
3243
|
value: z.ZodString;
|
|
3249
3244
|
}, z.core.$strict>]>>;
|
|
3250
3245
|
status: z.ZodEnum<{
|
|
3246
|
+
"needs-review": "needs-review";
|
|
3251
3247
|
queued: "queued";
|
|
3252
3248
|
evaluating: "evaluating";
|
|
3253
3249
|
accepted: "accepted";
|
|
3254
3250
|
progressed: "progressed";
|
|
3255
3251
|
rejected: "rejected";
|
|
3256
|
-
"needs-review": "needs-review";
|
|
3257
3252
|
failed: "failed";
|
|
3258
3253
|
}>;
|
|
3259
3254
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -3291,10 +3286,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3291
3286
|
}, z.core.$strip>>;
|
|
3292
3287
|
release: z.ZodString;
|
|
3293
3288
|
interaction: z.ZodEnum<{
|
|
3294
|
-
staff: "staff";
|
|
3295
3289
|
quiz: "quiz";
|
|
3296
|
-
text: "text";
|
|
3297
3290
|
url: "url";
|
|
3291
|
+
text: "text";
|
|
3292
|
+
staff: "staff";
|
|
3298
3293
|
photo: "photo";
|
|
3299
3294
|
automatic: "automatic";
|
|
3300
3295
|
claim: "claim";
|
|
@@ -3644,8 +3639,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3644
3639
|
}, z.core.$strict>>;
|
|
3645
3640
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3646
3641
|
quest: z.ZodString;
|
|
3647
|
-
|
|
3648
|
-
}, z.core.$strict>>>;
|
|
3642
|
+
}, z.core.$strip>>>;
|
|
3649
3643
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3650
3644
|
kind: z.ZodLiteral<"streak">;
|
|
3651
3645
|
days: z.ZodNumber;
|
|
@@ -3656,8 +3650,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3656
3650
|
kind: z.ZodLiteral<"keyed">;
|
|
3657
3651
|
}, z.core.$strict>], "kind">;
|
|
3658
3652
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3659
|
-
visible: "visible";
|
|
3660
3653
|
hidden: "hidden";
|
|
3654
|
+
visible: "visible";
|
|
3661
3655
|
}>>;
|
|
3662
3656
|
profile: z.ZodOptional<z.ZodObject<{
|
|
3663
3657
|
visible: z.ZodBoolean;
|
|
@@ -3665,13 +3659,13 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3665
3659
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3666
3660
|
id: z.ZodString;
|
|
3667
3661
|
scope: z.ZodEnum<{
|
|
3668
|
-
project: "project";
|
|
3669
3662
|
member: "member";
|
|
3663
|
+
project: "project";
|
|
3670
3664
|
}>;
|
|
3671
3665
|
period: z.ZodEnum<{
|
|
3672
3666
|
day: "day";
|
|
3673
|
-
week: "week";
|
|
3674
3667
|
lifetime: "lifetime";
|
|
3668
|
+
week: "week";
|
|
3675
3669
|
}>;
|
|
3676
3670
|
limit: z.ZodNumber;
|
|
3677
3671
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -3763,7 +3757,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3763
3757
|
createdAt: z.ZodNumber;
|
|
3764
3758
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3765
3759
|
quest: string;
|
|
3766
|
-
runtimeVersion:
|
|
3760
|
+
runtimeVersion: 1 | 2;
|
|
3767
3761
|
title: string;
|
|
3768
3762
|
presentation: {
|
|
3769
3763
|
quiz?: {
|
|
@@ -3800,12 +3794,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3800
3794
|
kind: "resource";
|
|
3801
3795
|
default: string;
|
|
3802
3796
|
source: {
|
|
3803
|
-
provider: "domino";
|
|
3804
|
-
resource: "point-ledger";
|
|
3805
|
-
} | {
|
|
3806
3797
|
provider: "discord";
|
|
3807
3798
|
resource: "channel";
|
|
3808
3799
|
types: ("text" | "announcement")[];
|
|
3800
|
+
} | {
|
|
3801
|
+
provider: "domino";
|
|
3802
|
+
resource: "point-ledger";
|
|
3809
3803
|
} | {
|
|
3810
3804
|
provider: "discord";
|
|
3811
3805
|
resource: "role";
|
|
@@ -3954,7 +3948,6 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3954
3948
|
};
|
|
3955
3949
|
requires: {
|
|
3956
3950
|
quest: string;
|
|
3957
|
-
scope: "ever";
|
|
3958
3951
|
}[];
|
|
3959
3952
|
completion: {
|
|
3960
3953
|
kind: "streak";
|
|
@@ -3965,11 +3958,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3965
3958
|
} | {
|
|
3966
3959
|
kind: "keyed";
|
|
3967
3960
|
};
|
|
3968
|
-
visibility: "
|
|
3961
|
+
visibility: "hidden" | "visible";
|
|
3969
3962
|
budgets: {
|
|
3970
3963
|
id: string;
|
|
3971
|
-
scope: "
|
|
3972
|
-
period: "day" | "
|
|
3964
|
+
scope: "member" | "project";
|
|
3965
|
+
period: "day" | "lifetime" | "week";
|
|
3973
3966
|
limit: number;
|
|
3974
3967
|
cost: number | {
|
|
3975
3968
|
balance: string;
|
|
@@ -4440,8 +4433,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
4440
4433
|
action: z.ZodLiteral<"grant-role">;
|
|
4441
4434
|
roleId: z.ZodString;
|
|
4442
4435
|
status: z.ZodEnum<{
|
|
4443
|
-
failed: "failed";
|
|
4444
4436
|
pending: "pending";
|
|
4437
|
+
failed: "failed";
|
|
4445
4438
|
delivered: "delivered";
|
|
4446
4439
|
}>;
|
|
4447
4440
|
attempts: z.ZodNumber;
|
|
@@ -4460,8 +4453,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
4460
4453
|
action: z.ZodLiteral<"grant-role">;
|
|
4461
4454
|
roleId: z.ZodString;
|
|
4462
4455
|
status: z.ZodEnum<{
|
|
4463
|
-
failed: "failed";
|
|
4464
4456
|
pending: "pending";
|
|
4457
|
+
failed: "failed";
|
|
4465
4458
|
delivered: "delivered";
|
|
4466
4459
|
}>;
|
|
4467
4460
|
attempts: z.ZodNumber;
|
|
@@ -4654,10 +4647,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4654
4647
|
}>;
|
|
4655
4648
|
}, z.core.$strip>>>;
|
|
4656
4649
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4657
|
-
staff: "staff";
|
|
4658
4650
|
quiz: "quiz";
|
|
4659
|
-
text: "text";
|
|
4660
4651
|
url: "url";
|
|
4652
|
+
text: "text";
|
|
4653
|
+
staff: "staff";
|
|
4661
4654
|
photo: "photo";
|
|
4662
4655
|
automatic: "automatic";
|
|
4663
4656
|
claim: "claim";
|
|
@@ -4675,9 +4668,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4675
4668
|
kind: z.ZodLiteral<"custom">;
|
|
4676
4669
|
namespace: z.ZodString;
|
|
4677
4670
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4678
|
-
member: "member";
|
|
4679
|
-
discord: "discord";
|
|
4680
4671
|
x: "x";
|
|
4672
|
+
discord: "discord";
|
|
4673
|
+
member: "member";
|
|
4681
4674
|
wallet: "wallet";
|
|
4682
4675
|
}>>>;
|
|
4683
4676
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4745,7 +4738,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4745
4738
|
tier: z.ZodString;
|
|
4746
4739
|
}, z.core.$strict>]>>>;
|
|
4747
4740
|
}, z.core.$strict>>;
|
|
4748
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4749
4741
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4750
4742
|
kind: z.ZodLiteral<"signup">;
|
|
4751
4743
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4754,6 +4746,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4754
4746
|
}, z.core.$strict>, z.ZodObject<{
|
|
4755
4747
|
kind: z.ZodLiteral<"external">;
|
|
4756
4748
|
}, z.core.$strict>], "kind">;
|
|
4749
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4757
4750
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4758
4751
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4759
4752
|
id: z.ZodString;
|
|
@@ -4840,7 +4833,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4840
4833
|
amount: number;
|
|
4841
4834
|
})[];
|
|
4842
4835
|
};
|
|
4843
|
-
enabled: boolean;
|
|
4844
4836
|
qualification: {
|
|
4845
4837
|
kind: "signup";
|
|
4846
4838
|
} | {
|
|
@@ -4849,6 +4841,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4849
4841
|
} | {
|
|
4850
4842
|
kind: "external";
|
|
4851
4843
|
};
|
|
4844
|
+
enabled: boolean;
|
|
4852
4845
|
milestones: {
|
|
4853
4846
|
id: string;
|
|
4854
4847
|
count: number;
|
|
@@ -4937,7 +4930,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4937
4930
|
amount: number;
|
|
4938
4931
|
})[];
|
|
4939
4932
|
};
|
|
4940
|
-
enabled: boolean;
|
|
4941
4933
|
qualification: {
|
|
4942
4934
|
kind: "signup";
|
|
4943
4935
|
} | {
|
|
@@ -4946,6 +4938,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4946
4938
|
} | {
|
|
4947
4939
|
kind: "external";
|
|
4948
4940
|
};
|
|
4941
|
+
enabled: boolean;
|
|
4949
4942
|
milestones: {
|
|
4950
4943
|
id: string;
|
|
4951
4944
|
count: number;
|
|
@@ -4990,6 +4983,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4990
4983
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4991
4984
|
title: z.ZodString;
|
|
4992
4985
|
balance: z.ZodString;
|
|
4986
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4993
4987
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4994
4988
|
kind: z.ZodLiteral<"balance">;
|
|
4995
4989
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5038,7 +5032,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
5038
5032
|
participants: "participants";
|
|
5039
5033
|
public: "public";
|
|
5040
5034
|
}>>;
|
|
5041
|
-
group: z.ZodOptional<z.ZodString>;
|
|
5042
5035
|
key: z.ZodOptional<z.ZodString>;
|
|
5043
5036
|
id: z.ZodOptional<z.ZodString>;
|
|
5044
5037
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5163,10 +5156,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5163
5156
|
}>;
|
|
5164
5157
|
}, z.core.$strip>>>;
|
|
5165
5158
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5166
|
-
staff: "staff";
|
|
5167
5159
|
quiz: "quiz";
|
|
5168
|
-
text: "text";
|
|
5169
5160
|
url: "url";
|
|
5161
|
+
text: "text";
|
|
5162
|
+
staff: "staff";
|
|
5170
5163
|
photo: "photo";
|
|
5171
5164
|
automatic: "automatic";
|
|
5172
5165
|
claim: "claim";
|
|
@@ -5184,9 +5177,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5184
5177
|
kind: z.ZodLiteral<"custom">;
|
|
5185
5178
|
namespace: z.ZodString;
|
|
5186
5179
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5187
|
-
member: "member";
|
|
5188
|
-
discord: "discord";
|
|
5189
5180
|
x: "x";
|
|
5181
|
+
discord: "discord";
|
|
5182
|
+
member: "member";
|
|
5190
5183
|
wallet: "wallet";
|
|
5191
5184
|
}>>>;
|
|
5192
5185
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -5254,7 +5247,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5254
5247
|
tier: z.ZodString;
|
|
5255
5248
|
}, z.core.$strict>]>>>;
|
|
5256
5249
|
}, z.core.$strict>>;
|
|
5257
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5258
5250
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5259
5251
|
kind: z.ZodLiteral<"signup">;
|
|
5260
5252
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5263,6 +5255,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5263
5255
|
}, z.core.$strict>, z.ZodObject<{
|
|
5264
5256
|
kind: z.ZodLiteral<"external">;
|
|
5265
5257
|
}, z.core.$strict>], "kind">;
|
|
5258
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5266
5259
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
5267
5260
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5268
5261
|
id: z.ZodString;
|
|
@@ -5349,7 +5342,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5349
5342
|
amount: number;
|
|
5350
5343
|
})[];
|
|
5351
5344
|
};
|
|
5352
|
-
enabled: boolean;
|
|
5353
5345
|
qualification: {
|
|
5354
5346
|
kind: "signup";
|
|
5355
5347
|
} | {
|
|
@@ -5358,6 +5350,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5358
5350
|
} | {
|
|
5359
5351
|
kind: "external";
|
|
5360
5352
|
};
|
|
5353
|
+
enabled: boolean;
|
|
5361
5354
|
milestones: {
|
|
5362
5355
|
id: string;
|
|
5363
5356
|
count: number;
|
|
@@ -5446,7 +5439,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5446
5439
|
amount: number;
|
|
5447
5440
|
})[];
|
|
5448
5441
|
};
|
|
5449
|
-
enabled: boolean;
|
|
5450
5442
|
qualification: {
|
|
5451
5443
|
kind: "signup";
|
|
5452
5444
|
} | {
|
|
@@ -5455,6 +5447,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5455
5447
|
} | {
|
|
5456
5448
|
kind: "external";
|
|
5457
5449
|
};
|
|
5450
|
+
enabled: boolean;
|
|
5458
5451
|
milestones: {
|
|
5459
5452
|
id: string;
|
|
5460
5453
|
count: number;
|
|
@@ -5499,6 +5492,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5499
5492
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
5500
5493
|
title: z.ZodString;
|
|
5501
5494
|
balance: z.ZodString;
|
|
5495
|
+
group: z.ZodOptional<z.ZodString>;
|
|
5502
5496
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5503
5497
|
kind: z.ZodLiteral<"balance">;
|
|
5504
5498
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5547,7 +5541,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5547
5541
|
participants: "participants";
|
|
5548
5542
|
public: "public";
|
|
5549
5543
|
}>>;
|
|
5550
|
-
group: z.ZodOptional<z.ZodString>;
|
|
5551
5544
|
key: z.ZodOptional<z.ZodString>;
|
|
5552
5545
|
id: z.ZodOptional<z.ZodString>;
|
|
5553
5546
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5800,9 +5793,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5800
5793
|
kind: z.ZodLiteral<"custom">;
|
|
5801
5794
|
namespace: z.ZodString;
|
|
5802
5795
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5803
|
-
member: "member";
|
|
5804
|
-
discord: "discord";
|
|
5805
5796
|
x: "x";
|
|
5797
|
+
discord: "discord";
|
|
5798
|
+
member: "member";
|
|
5806
5799
|
wallet: "wallet";
|
|
5807
5800
|
}>>>;
|
|
5808
5801
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -6063,8 +6056,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6063
6056
|
}, z.core.$strict>>;
|
|
6064
6057
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6065
6058
|
quest: z.ZodString;
|
|
6066
|
-
|
|
6067
|
-
}, z.core.$strict>>>;
|
|
6059
|
+
}, z.core.$strip>>>;
|
|
6068
6060
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6069
6061
|
kind: z.ZodLiteral<"streak">;
|
|
6070
6062
|
days: z.ZodNumber;
|
|
@@ -6075,8 +6067,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6075
6067
|
kind: z.ZodLiteral<"keyed">;
|
|
6076
6068
|
}, z.core.$strict>], "kind">;
|
|
6077
6069
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
6078
|
-
visible: "visible";
|
|
6079
6070
|
hidden: "hidden";
|
|
6071
|
+
visible: "visible";
|
|
6080
6072
|
}>>;
|
|
6081
6073
|
profile: z.ZodOptional<z.ZodObject<{
|
|
6082
6074
|
visible: z.ZodBoolean;
|
|
@@ -6084,13 +6076,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6084
6076
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6085
6077
|
id: z.ZodString;
|
|
6086
6078
|
scope: z.ZodEnum<{
|
|
6087
|
-
project: "project";
|
|
6088
6079
|
member: "member";
|
|
6080
|
+
project: "project";
|
|
6089
6081
|
}>;
|
|
6090
6082
|
period: z.ZodEnum<{
|
|
6091
6083
|
day: "day";
|
|
6092
|
-
week: "week";
|
|
6093
6084
|
lifetime: "lifetime";
|
|
6085
|
+
week: "week";
|
|
6094
6086
|
}>;
|
|
6095
6087
|
limit: z.ZodNumber;
|
|
6096
6088
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -6182,7 +6174,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6182
6174
|
createdAt: z.ZodNumber;
|
|
6183
6175
|
}, z.core.$strip>, z.ZodTransform<{
|
|
6184
6176
|
quest: string;
|
|
6185
|
-
runtimeVersion:
|
|
6177
|
+
runtimeVersion: 1 | 2;
|
|
6186
6178
|
title: string;
|
|
6187
6179
|
presentation: {
|
|
6188
6180
|
quiz?: {
|
|
@@ -6219,12 +6211,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6219
6211
|
kind: "resource";
|
|
6220
6212
|
default: string;
|
|
6221
6213
|
source: {
|
|
6222
|
-
provider: "domino";
|
|
6223
|
-
resource: "point-ledger";
|
|
6224
|
-
} | {
|
|
6225
6214
|
provider: "discord";
|
|
6226
6215
|
resource: "channel";
|
|
6227
6216
|
types: ("text" | "announcement")[];
|
|
6217
|
+
} | {
|
|
6218
|
+
provider: "domino";
|
|
6219
|
+
resource: "point-ledger";
|
|
6228
6220
|
} | {
|
|
6229
6221
|
provider: "discord";
|
|
6230
6222
|
resource: "role";
|
|
@@ -6373,7 +6365,6 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6373
6365
|
};
|
|
6374
6366
|
requires: {
|
|
6375
6367
|
quest: string;
|
|
6376
|
-
scope: "ever";
|
|
6377
6368
|
}[];
|
|
6378
6369
|
completion: {
|
|
6379
6370
|
kind: "streak";
|
|
@@ -6384,11 +6375,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6384
6375
|
} | {
|
|
6385
6376
|
kind: "keyed";
|
|
6386
6377
|
};
|
|
6387
|
-
visibility: "
|
|
6378
|
+
visibility: "hidden" | "visible";
|
|
6388
6379
|
budgets: {
|
|
6389
6380
|
id: string;
|
|
6390
|
-
scope: "
|
|
6391
|
-
period: "day" | "
|
|
6381
|
+
scope: "member" | "project";
|
|
6382
|
+
period: "day" | "lifetime" | "week";
|
|
6392
6383
|
limit: number;
|
|
6393
6384
|
cost: number | {
|
|
6394
6385
|
balance: string;
|
|
@@ -6713,8 +6704,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6713
6704
|
}, z.core.$strict>>;
|
|
6714
6705
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6715
6706
|
quest: z.ZodString;
|
|
6716
|
-
|
|
6717
|
-
}, z.core.$strict>>>;
|
|
6707
|
+
}, z.core.$strip>>>;
|
|
6718
6708
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6719
6709
|
kind: z.ZodLiteral<"streak">;
|
|
6720
6710
|
days: z.ZodNumber;
|
|
@@ -6725,8 +6715,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6725
6715
|
kind: z.ZodLiteral<"keyed">;
|
|
6726
6716
|
}, z.core.$strict>], "kind">;
|
|
6727
6717
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
6728
|
-
visible: "visible";
|
|
6729
6718
|
hidden: "hidden";
|
|
6719
|
+
visible: "visible";
|
|
6730
6720
|
}>>;
|
|
6731
6721
|
profile: z.ZodOptional<z.ZodObject<{
|
|
6732
6722
|
visible: z.ZodBoolean;
|
|
@@ -6734,13 +6724,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6734
6724
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6735
6725
|
id: z.ZodString;
|
|
6736
6726
|
scope: z.ZodEnum<{
|
|
6737
|
-
project: "project";
|
|
6738
6727
|
member: "member";
|
|
6728
|
+
project: "project";
|
|
6739
6729
|
}>;
|
|
6740
6730
|
period: z.ZodEnum<{
|
|
6741
6731
|
day: "day";
|
|
6742
|
-
week: "week";
|
|
6743
6732
|
lifetime: "lifetime";
|
|
6733
|
+
week: "week";
|
|
6744
6734
|
}>;
|
|
6745
6735
|
limit: z.ZodNumber;
|
|
6746
6736
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -6764,10 +6754,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6764
6754
|
quests: z.ZodArray<z.ZodString>;
|
|
6765
6755
|
}, z.core.$strict>>;
|
|
6766
6756
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6767
|
-
staff: "staff";
|
|
6768
6757
|
quiz: "quiz";
|
|
6769
|
-
text: "text";
|
|
6770
6758
|
url: "url";
|
|
6759
|
+
text: "text";
|
|
6760
|
+
staff: "staff";
|
|
6771
6761
|
photo: "photo";
|
|
6772
6762
|
automatic: "automatic";
|
|
6773
6763
|
claim: "claim";
|
|
@@ -6966,9 +6956,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6966
6956
|
}, z.core.$strip>, z.ZodObject<{
|
|
6967
6957
|
source: z.ZodLiteral<"account">;
|
|
6968
6958
|
provider: z.ZodEnum<{
|
|
6959
|
+
x: "x";
|
|
6969
6960
|
discord: "discord";
|
|
6970
6961
|
google: "google";
|
|
6971
|
-
x: "x";
|
|
6972
6962
|
}>;
|
|
6973
6963
|
url: z.ZodString;
|
|
6974
6964
|
seed: z.ZodString;
|
|
@@ -6994,9 +6984,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6994
6984
|
}, z.core.$strip>, z.ZodObject<{
|
|
6995
6985
|
source: z.ZodLiteral<"account">;
|
|
6996
6986
|
provider: z.ZodEnum<{
|
|
6987
|
+
x: "x";
|
|
6997
6988
|
discord: "discord";
|
|
6998
6989
|
google: "google";
|
|
6999
|
-
x: "x";
|
|
7000
6990
|
}>;
|
|
7001
6991
|
url: z.ZodString;
|
|
7002
6992
|
seed: z.ZodString;
|
|
@@ -7022,9 +7012,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
7022
7012
|
}, z.core.$strip>, z.ZodObject<{
|
|
7023
7013
|
source: z.ZodLiteral<"account">;
|
|
7024
7014
|
provider: z.ZodEnum<{
|
|
7015
|
+
x: "x";
|
|
7025
7016
|
discord: "discord";
|
|
7026
7017
|
google: "google";
|
|
7027
|
-
x: "x";
|
|
7028
7018
|
}>;
|
|
7029
7019
|
url: z.ZodString;
|
|
7030
7020
|
seed: z.ZodString;
|
|
@@ -7068,9 +7058,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
7068
7058
|
}, z.core.$strip>, z.ZodObject<{
|
|
7069
7059
|
source: z.ZodLiteral<"account">;
|
|
7070
7060
|
provider: z.ZodEnum<{
|
|
7061
|
+
x: "x";
|
|
7071
7062
|
discord: "discord";
|
|
7072
7063
|
google: "google";
|
|
7073
|
-
x: "x";
|
|
7074
7064
|
}>;
|
|
7075
7065
|
url: z.ZodString;
|
|
7076
7066
|
seed: z.ZodString;
|
|
@@ -7096,9 +7086,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
7096
7086
|
}, z.core.$strip>, z.ZodObject<{
|
|
7097
7087
|
source: z.ZodLiteral<"account">;
|
|
7098
7088
|
provider: z.ZodEnum<{
|
|
7089
|
+
x: "x";
|
|
7099
7090
|
discord: "discord";
|
|
7100
7091
|
google: "google";
|
|
7101
|
-
x: "x";
|
|
7102
7092
|
}>;
|
|
7103
7093
|
url: z.ZodString;
|
|
7104
7094
|
seed: z.ZodString;
|
|
@@ -7124,9 +7114,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
7124
7114
|
}, z.core.$strip>, z.ZodObject<{
|
|
7125
7115
|
source: z.ZodLiteral<"account">;
|
|
7126
7116
|
provider: z.ZodEnum<{
|
|
7117
|
+
x: "x";
|
|
7127
7118
|
discord: "discord";
|
|
7128
7119
|
google: "google";
|
|
7129
|
-
x: "x";
|
|
7130
7120
|
}>;
|
|
7131
7121
|
url: z.ZodString;
|
|
7132
7122
|
seed: z.ZodString;
|
|
@@ -7290,9 +7280,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7290
7280
|
kind: z.ZodLiteral<"custom">;
|
|
7291
7281
|
namespace: z.ZodString;
|
|
7292
7282
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7293
|
-
member: "member";
|
|
7294
|
-
discord: "discord";
|
|
7295
7283
|
x: "x";
|
|
7284
|
+
discord: "discord";
|
|
7285
|
+
member: "member";
|
|
7296
7286
|
wallet: "wallet";
|
|
7297
7287
|
}>>>;
|
|
7298
7288
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -7553,8 +7543,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7553
7543
|
}, z.core.$strict>>;
|
|
7554
7544
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7555
7545
|
quest: z.ZodString;
|
|
7556
|
-
|
|
7557
|
-
}, z.core.$strict>>>;
|
|
7546
|
+
}, z.core.$strip>>>;
|
|
7558
7547
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7559
7548
|
kind: z.ZodLiteral<"streak">;
|
|
7560
7549
|
days: z.ZodNumber;
|
|
@@ -7565,8 +7554,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7565
7554
|
kind: z.ZodLiteral<"keyed">;
|
|
7566
7555
|
}, z.core.$strict>], "kind">;
|
|
7567
7556
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
7568
|
-
visible: "visible";
|
|
7569
7557
|
hidden: "hidden";
|
|
7558
|
+
visible: "visible";
|
|
7570
7559
|
}>>;
|
|
7571
7560
|
profile: z.ZodOptional<z.ZodObject<{
|
|
7572
7561
|
visible: z.ZodBoolean;
|
|
@@ -7574,13 +7563,13 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7574
7563
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7575
7564
|
id: z.ZodString;
|
|
7576
7565
|
scope: z.ZodEnum<{
|
|
7577
|
-
project: "project";
|
|
7578
7566
|
member: "member";
|
|
7567
|
+
project: "project";
|
|
7579
7568
|
}>;
|
|
7580
7569
|
period: z.ZodEnum<{
|
|
7581
7570
|
day: "day";
|
|
7582
|
-
week: "week";
|
|
7583
7571
|
lifetime: "lifetime";
|
|
7572
|
+
week: "week";
|
|
7584
7573
|
}>;
|
|
7585
7574
|
limit: z.ZodNumber;
|
|
7586
7575
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7672,7 +7661,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7672
7661
|
createdAt: z.ZodNumber;
|
|
7673
7662
|
}, z.core.$strip>, z.ZodTransform<{
|
|
7674
7663
|
quest: string;
|
|
7675
|
-
runtimeVersion:
|
|
7664
|
+
runtimeVersion: 1 | 2;
|
|
7676
7665
|
title: string;
|
|
7677
7666
|
presentation: {
|
|
7678
7667
|
quiz?: {
|
|
@@ -7709,12 +7698,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7709
7698
|
kind: "resource";
|
|
7710
7699
|
default: string;
|
|
7711
7700
|
source: {
|
|
7712
|
-
provider: "domino";
|
|
7713
|
-
resource: "point-ledger";
|
|
7714
|
-
} | {
|
|
7715
7701
|
provider: "discord";
|
|
7716
7702
|
resource: "channel";
|
|
7717
7703
|
types: ("text" | "announcement")[];
|
|
7704
|
+
} | {
|
|
7705
|
+
provider: "domino";
|
|
7706
|
+
resource: "point-ledger";
|
|
7718
7707
|
} | {
|
|
7719
7708
|
provider: "discord";
|
|
7720
7709
|
resource: "role";
|
|
@@ -7863,7 +7852,6 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7863
7852
|
};
|
|
7864
7853
|
requires: {
|
|
7865
7854
|
quest: string;
|
|
7866
|
-
scope: "ever";
|
|
7867
7855
|
}[];
|
|
7868
7856
|
completion: {
|
|
7869
7857
|
kind: "streak";
|
|
@@ -7874,11 +7862,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7874
7862
|
} | {
|
|
7875
7863
|
kind: "keyed";
|
|
7876
7864
|
};
|
|
7877
|
-
visibility: "
|
|
7865
|
+
visibility: "hidden" | "visible";
|
|
7878
7866
|
budgets: {
|
|
7879
7867
|
id: string;
|
|
7880
|
-
scope: "
|
|
7881
|
-
period: "day" | "
|
|
7868
|
+
scope: "member" | "project";
|
|
7869
|
+
period: "day" | "lifetime" | "week";
|
|
7882
7870
|
limit: number;
|
|
7883
7871
|
cost: number | {
|
|
7884
7872
|
balance: string;
|
|
@@ -8203,8 +8191,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8203
8191
|
}, z.core.$strict>>;
|
|
8204
8192
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8205
8193
|
quest: z.ZodString;
|
|
8206
|
-
|
|
8207
|
-
}, z.core.$strict>>>;
|
|
8194
|
+
}, z.core.$strip>>>;
|
|
8208
8195
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8209
8196
|
kind: z.ZodLiteral<"streak">;
|
|
8210
8197
|
days: z.ZodNumber;
|
|
@@ -8215,8 +8202,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8215
8202
|
kind: z.ZodLiteral<"keyed">;
|
|
8216
8203
|
}, z.core.$strict>], "kind">;
|
|
8217
8204
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
8218
|
-
visible: "visible";
|
|
8219
8205
|
hidden: "hidden";
|
|
8206
|
+
visible: "visible";
|
|
8220
8207
|
}>>;
|
|
8221
8208
|
profile: z.ZodOptional<z.ZodObject<{
|
|
8222
8209
|
visible: z.ZodBoolean;
|
|
@@ -8224,13 +8211,13 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8224
8211
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8225
8212
|
id: z.ZodString;
|
|
8226
8213
|
scope: z.ZodEnum<{
|
|
8227
|
-
project: "project";
|
|
8228
8214
|
member: "member";
|
|
8215
|
+
project: "project";
|
|
8229
8216
|
}>;
|
|
8230
8217
|
period: z.ZodEnum<{
|
|
8231
8218
|
day: "day";
|
|
8232
|
-
week: "week";
|
|
8233
8219
|
lifetime: "lifetime";
|
|
8220
|
+
week: "week";
|
|
8234
8221
|
}>;
|
|
8235
8222
|
limit: z.ZodNumber;
|
|
8236
8223
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -8254,10 +8241,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8254
8241
|
quests: z.ZodArray<z.ZodString>;
|
|
8255
8242
|
}, z.core.$strict>>;
|
|
8256
8243
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
8257
|
-
staff: "staff";
|
|
8258
8244
|
quiz: "quiz";
|
|
8259
|
-
text: "text";
|
|
8260
8245
|
url: "url";
|
|
8246
|
+
text: "text";
|
|
8247
|
+
staff: "staff";
|
|
8261
8248
|
photo: "photo";
|
|
8262
8249
|
automatic: "automatic";
|
|
8263
8250
|
claim: "claim";
|
|
@@ -8456,9 +8443,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8456
8443
|
}, z.core.$strip>, z.ZodObject<{
|
|
8457
8444
|
source: z.ZodLiteral<"account">;
|
|
8458
8445
|
provider: z.ZodEnum<{
|
|
8446
|
+
x: "x";
|
|
8459
8447
|
discord: "discord";
|
|
8460
8448
|
google: "google";
|
|
8461
|
-
x: "x";
|
|
8462
8449
|
}>;
|
|
8463
8450
|
url: z.ZodString;
|
|
8464
8451
|
seed: z.ZodString;
|
|
@@ -8484,9 +8471,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8484
8471
|
}, z.core.$strip>, z.ZodObject<{
|
|
8485
8472
|
source: z.ZodLiteral<"account">;
|
|
8486
8473
|
provider: z.ZodEnum<{
|
|
8474
|
+
x: "x";
|
|
8487
8475
|
discord: "discord";
|
|
8488
8476
|
google: "google";
|
|
8489
|
-
x: "x";
|
|
8490
8477
|
}>;
|
|
8491
8478
|
url: z.ZodString;
|
|
8492
8479
|
seed: z.ZodString;
|
|
@@ -8512,9 +8499,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8512
8499
|
}, z.core.$strip>, z.ZodObject<{
|
|
8513
8500
|
source: z.ZodLiteral<"account">;
|
|
8514
8501
|
provider: z.ZodEnum<{
|
|
8502
|
+
x: "x";
|
|
8515
8503
|
discord: "discord";
|
|
8516
8504
|
google: "google";
|
|
8517
|
-
x: "x";
|
|
8518
8505
|
}>;
|
|
8519
8506
|
url: z.ZodString;
|
|
8520
8507
|
seed: z.ZodString;
|
|
@@ -8558,9 +8545,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8558
8545
|
}, z.core.$strip>, z.ZodObject<{
|
|
8559
8546
|
source: z.ZodLiteral<"account">;
|
|
8560
8547
|
provider: z.ZodEnum<{
|
|
8548
|
+
x: "x";
|
|
8561
8549
|
discord: "discord";
|
|
8562
8550
|
google: "google";
|
|
8563
|
-
x: "x";
|
|
8564
8551
|
}>;
|
|
8565
8552
|
url: z.ZodString;
|
|
8566
8553
|
seed: z.ZodString;
|
|
@@ -8586,9 +8573,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8586
8573
|
}, z.core.$strip>, z.ZodObject<{
|
|
8587
8574
|
source: z.ZodLiteral<"account">;
|
|
8588
8575
|
provider: z.ZodEnum<{
|
|
8576
|
+
x: "x";
|
|
8589
8577
|
discord: "discord";
|
|
8590
8578
|
google: "google";
|
|
8591
|
-
x: "x";
|
|
8592
8579
|
}>;
|
|
8593
8580
|
url: z.ZodString;
|
|
8594
8581
|
seed: z.ZodString;
|
|
@@ -8614,9 +8601,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8614
8601
|
}, z.core.$strip>, z.ZodObject<{
|
|
8615
8602
|
source: z.ZodLiteral<"account">;
|
|
8616
8603
|
provider: z.ZodEnum<{
|
|
8604
|
+
x: "x";
|
|
8617
8605
|
discord: "discord";
|
|
8618
8606
|
google: "google";
|
|
8619
|
-
x: "x";
|
|
8620
8607
|
}>;
|
|
8621
8608
|
url: z.ZodString;
|
|
8622
8609
|
seed: z.ZodString;
|
|
@@ -8894,7 +8881,7 @@ declare function createRelayClient(options: {
|
|
|
8894
8881
|
accounts: {
|
|
8895
8882
|
id: string;
|
|
8896
8883
|
program: string;
|
|
8897
|
-
kind: "
|
|
8884
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
8898
8885
|
balance: string;
|
|
8899
8886
|
earned: number;
|
|
8900
8887
|
settled: number;
|
|
@@ -9008,7 +8995,7 @@ declare function createRelayClient(options: {
|
|
|
9008
8995
|
seed: string;
|
|
9009
8996
|
} | {
|
|
9010
8997
|
source: "account";
|
|
9011
|
-
provider: "
|
|
8998
|
+
provider: "x" | "discord" | "google";
|
|
9012
8999
|
url: string;
|
|
9013
9000
|
seed: string;
|
|
9014
9001
|
} | {
|
|
@@ -9032,7 +9019,7 @@ declare function createRelayClient(options: {
|
|
|
9032
9019
|
seed: string;
|
|
9033
9020
|
} | {
|
|
9034
9021
|
source: "account";
|
|
9035
|
-
provider: "
|
|
9022
|
+
provider: "x" | "discord" | "google";
|
|
9036
9023
|
url: string;
|
|
9037
9024
|
seed: string;
|
|
9038
9025
|
} | {
|
|
@@ -9056,7 +9043,7 @@ declare function createRelayClient(options: {
|
|
|
9056
9043
|
seed: string;
|
|
9057
9044
|
} | {
|
|
9058
9045
|
source: "account";
|
|
9059
|
-
provider: "
|
|
9046
|
+
provider: "x" | "discord" | "google";
|
|
9060
9047
|
url: string;
|
|
9061
9048
|
seed: string;
|
|
9062
9049
|
} | {
|
|
@@ -9098,7 +9085,7 @@ declare function createRelayClient(options: {
|
|
|
9098
9085
|
seed: string;
|
|
9099
9086
|
} | {
|
|
9100
9087
|
source: "account";
|
|
9101
|
-
provider: "
|
|
9088
|
+
provider: "x" | "discord" | "google";
|
|
9102
9089
|
url: string;
|
|
9103
9090
|
seed: string;
|
|
9104
9091
|
} | {
|
|
@@ -9107,12 +9094,12 @@ declare function createRelayClient(options: {
|
|
|
9107
9094
|
};
|
|
9108
9095
|
displayName: string | null;
|
|
9109
9096
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
9110
|
-
avatarProvider: "
|
|
9097
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
9111
9098
|
hidden: boolean;
|
|
9112
9099
|
locked: boolean;
|
|
9113
|
-
visibility: "
|
|
9100
|
+
visibility: "private" | "participants" | "public";
|
|
9114
9101
|
options: {
|
|
9115
|
-
provider: "
|
|
9102
|
+
provider: "x" | "discord" | "google";
|
|
9116
9103
|
name: string | null;
|
|
9117
9104
|
imageUrl: string | null;
|
|
9118
9105
|
}[];
|
|
@@ -9132,7 +9119,7 @@ declare function createRelayClient(options: {
|
|
|
9132
9119
|
seed: string;
|
|
9133
9120
|
} | {
|
|
9134
9121
|
source: "account";
|
|
9135
|
-
provider: "
|
|
9122
|
+
provider: "x" | "discord" | "google";
|
|
9136
9123
|
url: string;
|
|
9137
9124
|
seed: string;
|
|
9138
9125
|
} | {
|
|
@@ -9141,12 +9128,12 @@ declare function createRelayClient(options: {
|
|
|
9141
9128
|
};
|
|
9142
9129
|
displayName: string | null;
|
|
9143
9130
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
9144
|
-
avatarProvider: "
|
|
9131
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
9145
9132
|
hidden: boolean;
|
|
9146
9133
|
locked: boolean;
|
|
9147
|
-
visibility: "
|
|
9134
|
+
visibility: "private" | "participants" | "public";
|
|
9148
9135
|
options: {
|
|
9149
|
-
provider: "
|
|
9136
|
+
provider: "x" | "discord" | "google";
|
|
9150
9137
|
name: string | null;
|
|
9151
9138
|
imageUrl: string | null;
|
|
9152
9139
|
}[];
|
|
@@ -9167,7 +9154,7 @@ declare function createRelayClient(options: {
|
|
|
9167
9154
|
seed: string;
|
|
9168
9155
|
} | {
|
|
9169
9156
|
source: "account";
|
|
9170
|
-
provider: "
|
|
9157
|
+
provider: "x" | "discord" | "google";
|
|
9171
9158
|
url: string;
|
|
9172
9159
|
seed: string;
|
|
9173
9160
|
} | {
|
|
@@ -9176,12 +9163,12 @@ declare function createRelayClient(options: {
|
|
|
9176
9163
|
};
|
|
9177
9164
|
displayName: string | null;
|
|
9178
9165
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
9179
|
-
avatarProvider: "
|
|
9166
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
9180
9167
|
hidden: boolean;
|
|
9181
9168
|
locked: boolean;
|
|
9182
|
-
visibility: "
|
|
9169
|
+
visibility: "private" | "participants" | "public";
|
|
9183
9170
|
options: {
|
|
9184
|
-
provider: "
|
|
9171
|
+
provider: "x" | "discord" | "google";
|
|
9185
9172
|
name: string | null;
|
|
9186
9173
|
imageUrl: string | null;
|
|
9187
9174
|
}[];
|
|
@@ -9199,7 +9186,7 @@ declare function createRelayClient(options: {
|
|
|
9199
9186
|
seed: string;
|
|
9200
9187
|
} | {
|
|
9201
9188
|
source: "account";
|
|
9202
|
-
provider: "
|
|
9189
|
+
provider: "x" | "discord" | "google";
|
|
9203
9190
|
url: string;
|
|
9204
9191
|
seed: string;
|
|
9205
9192
|
} | {
|
|
@@ -9262,7 +9249,7 @@ declare function createRelayClient(options: {
|
|
|
9262
9249
|
} | undefined;
|
|
9263
9250
|
} | undefined;
|
|
9264
9251
|
};
|
|
9265
|
-
connections: ("
|
|
9252
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9266
9253
|
trigger: {
|
|
9267
9254
|
kind: "automatic";
|
|
9268
9255
|
observation?: {
|
|
@@ -9327,7 +9314,7 @@ declare function createRelayClient(options: {
|
|
|
9327
9314
|
};
|
|
9328
9315
|
availability: {
|
|
9329
9316
|
kind: "available";
|
|
9330
|
-
input: "quiz" | "
|
|
9317
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9331
9318
|
} | {
|
|
9332
9319
|
kind: "completed";
|
|
9333
9320
|
} | {
|
|
@@ -9365,7 +9352,7 @@ declare function createRelayClient(options: {
|
|
|
9365
9352
|
kind: "keyed";
|
|
9366
9353
|
};
|
|
9367
9354
|
completionCount: number;
|
|
9368
|
-
visibility: "
|
|
9355
|
+
visibility: "hidden" | "visible";
|
|
9369
9356
|
missing: {
|
|
9370
9357
|
quest: string;
|
|
9371
9358
|
title: string;
|
|
@@ -9376,7 +9363,7 @@ declare function createRelayClient(options: {
|
|
|
9376
9363
|
quest: string;
|
|
9377
9364
|
member: string;
|
|
9378
9365
|
evidence: string | null;
|
|
9379
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9366
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9380
9367
|
reason: string | null;
|
|
9381
9368
|
retries: number;
|
|
9382
9369
|
generation: number;
|
|
@@ -9424,7 +9411,7 @@ declare function createRelayClient(options: {
|
|
|
9424
9411
|
} | undefined;
|
|
9425
9412
|
} | null;
|
|
9426
9413
|
release: string;
|
|
9427
|
-
interaction: "
|
|
9414
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9428
9415
|
lifecycle: "active" | "paused" | "archived";
|
|
9429
9416
|
rewards: ({
|
|
9430
9417
|
kind: "points";
|
|
@@ -9486,7 +9473,7 @@ declare function createRelayClient(options: {
|
|
|
9486
9473
|
quest: string;
|
|
9487
9474
|
member: string;
|
|
9488
9475
|
evidence: string | null;
|
|
9489
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9476
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9490
9477
|
reason: string | null;
|
|
9491
9478
|
retries: number;
|
|
9492
9479
|
generation: number;
|
|
@@ -9558,7 +9545,7 @@ declare function createRelayClient(options: {
|
|
|
9558
9545
|
} | undefined;
|
|
9559
9546
|
} | undefined;
|
|
9560
9547
|
};
|
|
9561
|
-
connections: ("
|
|
9548
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9562
9549
|
trigger: {
|
|
9563
9550
|
kind: "automatic";
|
|
9564
9551
|
observation?: {
|
|
@@ -9623,7 +9610,7 @@ declare function createRelayClient(options: {
|
|
|
9623
9610
|
};
|
|
9624
9611
|
availability: {
|
|
9625
9612
|
kind: "available";
|
|
9626
|
-
input: "quiz" | "
|
|
9613
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9627
9614
|
} | {
|
|
9628
9615
|
kind: "completed";
|
|
9629
9616
|
} | {
|
|
@@ -9661,7 +9648,7 @@ declare function createRelayClient(options: {
|
|
|
9661
9648
|
kind: "keyed";
|
|
9662
9649
|
};
|
|
9663
9650
|
completionCount: number;
|
|
9664
|
-
visibility: "
|
|
9651
|
+
visibility: "hidden" | "visible";
|
|
9665
9652
|
missing: {
|
|
9666
9653
|
quest: string;
|
|
9667
9654
|
title: string;
|
|
@@ -9672,7 +9659,7 @@ declare function createRelayClient(options: {
|
|
|
9672
9659
|
quest: string;
|
|
9673
9660
|
member: string;
|
|
9674
9661
|
evidence: string | null;
|
|
9675
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9662
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9676
9663
|
reason: string | null;
|
|
9677
9664
|
retries: number;
|
|
9678
9665
|
generation: number;
|
|
@@ -9720,7 +9707,7 @@ declare function createRelayClient(options: {
|
|
|
9720
9707
|
} | undefined;
|
|
9721
9708
|
} | null;
|
|
9722
9709
|
release: string;
|
|
9723
|
-
interaction: "
|
|
9710
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9724
9711
|
lifecycle: "active" | "paused" | "archived";
|
|
9725
9712
|
rewards: ({
|
|
9726
9713
|
kind: "points";
|
|
@@ -9802,7 +9789,7 @@ declare function createRelayClient(options: {
|
|
|
9802
9789
|
} | undefined;
|
|
9803
9790
|
} | undefined;
|
|
9804
9791
|
};
|
|
9805
|
-
connections: ("
|
|
9792
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9806
9793
|
trigger: {
|
|
9807
9794
|
kind: "automatic";
|
|
9808
9795
|
observation?: {
|
|
@@ -9867,7 +9854,7 @@ declare function createRelayClient(options: {
|
|
|
9867
9854
|
};
|
|
9868
9855
|
availability: {
|
|
9869
9856
|
kind: "available";
|
|
9870
|
-
input: "quiz" | "
|
|
9857
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9871
9858
|
} | {
|
|
9872
9859
|
kind: "completed";
|
|
9873
9860
|
} | {
|
|
@@ -9905,7 +9892,7 @@ declare function createRelayClient(options: {
|
|
|
9905
9892
|
kind: "keyed";
|
|
9906
9893
|
};
|
|
9907
9894
|
completionCount: number;
|
|
9908
|
-
visibility: "
|
|
9895
|
+
visibility: "hidden" | "visible";
|
|
9909
9896
|
missing: {
|
|
9910
9897
|
quest: string;
|
|
9911
9898
|
title: string;
|
|
@@ -9916,7 +9903,7 @@ declare function createRelayClient(options: {
|
|
|
9916
9903
|
quest: string;
|
|
9917
9904
|
member: string;
|
|
9918
9905
|
evidence: string | null;
|
|
9919
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9906
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9920
9907
|
reason: string | null;
|
|
9921
9908
|
retries: number;
|
|
9922
9909
|
generation: number;
|
|
@@ -9964,7 +9951,7 @@ declare function createRelayClient(options: {
|
|
|
9964
9951
|
} | undefined;
|
|
9965
9952
|
} | null;
|
|
9966
9953
|
release: string;
|
|
9967
|
-
interaction: "
|
|
9954
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9968
9955
|
lifecycle: "active" | "paused" | "archived";
|
|
9969
9956
|
rewards: ({
|
|
9970
9957
|
kind: "points";
|
|
@@ -10049,7 +10036,7 @@ declare function createRelayClient(options: {
|
|
|
10049
10036
|
} | undefined;
|
|
10050
10037
|
} | undefined;
|
|
10051
10038
|
};
|
|
10052
|
-
connections: ("
|
|
10039
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
10053
10040
|
trigger: {
|
|
10054
10041
|
kind: "automatic";
|
|
10055
10042
|
observation?: {
|
|
@@ -10114,7 +10101,7 @@ declare function createRelayClient(options: {
|
|
|
10114
10101
|
};
|
|
10115
10102
|
availability: {
|
|
10116
10103
|
kind: "available";
|
|
10117
|
-
input: "quiz" | "
|
|
10104
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10118
10105
|
} | {
|
|
10119
10106
|
kind: "completed";
|
|
10120
10107
|
} | {
|
|
@@ -10152,7 +10139,7 @@ declare function createRelayClient(options: {
|
|
|
10152
10139
|
kind: "keyed";
|
|
10153
10140
|
};
|
|
10154
10141
|
completionCount: number;
|
|
10155
|
-
visibility: "
|
|
10142
|
+
visibility: "hidden" | "visible";
|
|
10156
10143
|
missing: {
|
|
10157
10144
|
quest: string;
|
|
10158
10145
|
title: string;
|
|
@@ -10163,7 +10150,7 @@ declare function createRelayClient(options: {
|
|
|
10163
10150
|
quest: string;
|
|
10164
10151
|
member: string;
|
|
10165
10152
|
evidence: string | null;
|
|
10166
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10153
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10167
10154
|
reason: string | null;
|
|
10168
10155
|
retries: number;
|
|
10169
10156
|
generation: number;
|
|
@@ -10211,7 +10198,7 @@ declare function createRelayClient(options: {
|
|
|
10211
10198
|
} | undefined;
|
|
10212
10199
|
} | null;
|
|
10213
10200
|
release: string;
|
|
10214
|
-
interaction: "
|
|
10201
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
10215
10202
|
lifecycle: "active" | "paused" | "archived";
|
|
10216
10203
|
rewards: ({
|
|
10217
10204
|
kind: "points";
|
|
@@ -10341,7 +10328,7 @@ declare function createRelayClient(options: {
|
|
|
10341
10328
|
auth: {
|
|
10342
10329
|
providers: () => Promise<{
|
|
10343
10330
|
providers: {
|
|
10344
|
-
provider: "
|
|
10331
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
10345
10332
|
configured: boolean;
|
|
10346
10333
|
}[];
|
|
10347
10334
|
email: boolean;
|
|
@@ -10427,7 +10414,7 @@ declare function createRelayClient(options: {
|
|
|
10427
10414
|
}>;
|
|
10428
10415
|
};
|
|
10429
10416
|
accounts: () => Promise<{
|
|
10430
|
-
provider: "
|
|
10417
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
10431
10418
|
configured: boolean;
|
|
10432
10419
|
status: "disconnected" | "connected" | "reconnect";
|
|
10433
10420
|
subject: string | null;
|
|
@@ -10531,7 +10518,7 @@ declare function createRelayClient(options: {
|
|
|
10531
10518
|
quest: string;
|
|
10532
10519
|
member: string;
|
|
10533
10520
|
evidence: string | null;
|
|
10534
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10521
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10535
10522
|
reason: string | null;
|
|
10536
10523
|
retries: number;
|
|
10537
10524
|
generation: number;
|
|
@@ -10603,7 +10590,7 @@ declare function createRelayClient(options: {
|
|
|
10603
10590
|
} | undefined;
|
|
10604
10591
|
} | undefined;
|
|
10605
10592
|
};
|
|
10606
|
-
connections: ("
|
|
10593
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
10607
10594
|
trigger: {
|
|
10608
10595
|
kind: "automatic";
|
|
10609
10596
|
observation?: {
|
|
@@ -10668,7 +10655,7 @@ declare function createRelayClient(options: {
|
|
|
10668
10655
|
};
|
|
10669
10656
|
availability: {
|
|
10670
10657
|
kind: "available";
|
|
10671
|
-
input: "quiz" | "
|
|
10658
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10672
10659
|
} | {
|
|
10673
10660
|
kind: "completed";
|
|
10674
10661
|
} | {
|
|
@@ -10706,7 +10693,7 @@ declare function createRelayClient(options: {
|
|
|
10706
10693
|
kind: "keyed";
|
|
10707
10694
|
};
|
|
10708
10695
|
completionCount: number;
|
|
10709
|
-
visibility: "
|
|
10696
|
+
visibility: "hidden" | "visible";
|
|
10710
10697
|
missing: {
|
|
10711
10698
|
quest: string;
|
|
10712
10699
|
title: string;
|
|
@@ -10717,7 +10704,7 @@ declare function createRelayClient(options: {
|
|
|
10717
10704
|
quest: string;
|
|
10718
10705
|
member: string;
|
|
10719
10706
|
evidence: string | null;
|
|
10720
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10707
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10721
10708
|
reason: string | null;
|
|
10722
10709
|
retries: number;
|
|
10723
10710
|
generation: number;
|
|
@@ -10884,7 +10871,7 @@ declare function createRelayClient(options: {
|
|
|
10884
10871
|
provider: "discord";
|
|
10885
10872
|
action: "grant-role";
|
|
10886
10873
|
roleId: string;
|
|
10887
|
-
status: "
|
|
10874
|
+
status: "pending" | "failed" | "delivered";
|
|
10888
10875
|
attempts: number;
|
|
10889
10876
|
nextAt: number;
|
|
10890
10877
|
lastError: string | null;
|
|
@@ -10900,7 +10887,7 @@ declare function createRelayClient(options: {
|
|
|
10900
10887
|
quest: string;
|
|
10901
10888
|
member: string;
|
|
10902
10889
|
evidence: string | null;
|
|
10903
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10890
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10904
10891
|
reason: string | null;
|
|
10905
10892
|
retries: number;
|
|
10906
10893
|
generation: number;
|
|
@@ -10968,7 +10955,7 @@ declare function createRelayClient(options: {
|
|
|
10968
10955
|
code: string;
|
|
10969
10956
|
definition: {
|
|
10970
10957
|
quest: string;
|
|
10971
|
-
runtimeVersion:
|
|
10958
|
+
runtimeVersion: 1 | 2;
|
|
10972
10959
|
title: string;
|
|
10973
10960
|
presentation: {
|
|
10974
10961
|
quiz?: {
|
|
@@ -11005,12 +10992,12 @@ declare function createRelayClient(options: {
|
|
|
11005
10992
|
kind: "resource";
|
|
11006
10993
|
default: string;
|
|
11007
10994
|
source: {
|
|
11008
|
-
provider: "domino";
|
|
11009
|
-
resource: "point-ledger";
|
|
11010
|
-
} | {
|
|
11011
10995
|
provider: "discord";
|
|
11012
10996
|
resource: "channel";
|
|
11013
10997
|
types: ("text" | "announcement")[];
|
|
10998
|
+
} | {
|
|
10999
|
+
provider: "domino";
|
|
11000
|
+
resource: "point-ledger";
|
|
11014
11001
|
} | {
|
|
11015
11002
|
provider: "discord";
|
|
11016
11003
|
resource: "role";
|
|
@@ -11159,7 +11146,6 @@ declare function createRelayClient(options: {
|
|
|
11159
11146
|
};
|
|
11160
11147
|
requires: {
|
|
11161
11148
|
quest: string;
|
|
11162
|
-
scope: "ever";
|
|
11163
11149
|
}[];
|
|
11164
11150
|
completion: {
|
|
11165
11151
|
kind: "streak";
|
|
@@ -11170,11 +11156,11 @@ declare function createRelayClient(options: {
|
|
|
11170
11156
|
} | {
|
|
11171
11157
|
kind: "keyed";
|
|
11172
11158
|
};
|
|
11173
|
-
visibility: "
|
|
11159
|
+
visibility: "hidden" | "visible";
|
|
11174
11160
|
budgets: {
|
|
11175
11161
|
id: string;
|
|
11176
|
-
scope: "
|
|
11177
|
-
period: "day" | "
|
|
11162
|
+
scope: "member" | "project";
|
|
11163
|
+
period: "day" | "lifetime" | "week";
|
|
11178
11164
|
limit: number;
|
|
11179
11165
|
cost: number | {
|
|
11180
11166
|
balance: string;
|
|
@@ -11194,7 +11180,7 @@ declare function createRelayClient(options: {
|
|
|
11194
11180
|
code: string;
|
|
11195
11181
|
definition: {
|
|
11196
11182
|
quest: string;
|
|
11197
|
-
runtimeVersion:
|
|
11183
|
+
runtimeVersion: 1 | 2;
|
|
11198
11184
|
title: string;
|
|
11199
11185
|
presentation: {
|
|
11200
11186
|
quiz?: {
|
|
@@ -11231,12 +11217,12 @@ declare function createRelayClient(options: {
|
|
|
11231
11217
|
kind: "resource";
|
|
11232
11218
|
default: string;
|
|
11233
11219
|
source: {
|
|
11234
|
-
provider: "domino";
|
|
11235
|
-
resource: "point-ledger";
|
|
11236
|
-
} | {
|
|
11237
11220
|
provider: "discord";
|
|
11238
11221
|
resource: "channel";
|
|
11239
11222
|
types: ("text" | "announcement")[];
|
|
11223
|
+
} | {
|
|
11224
|
+
provider: "domino";
|
|
11225
|
+
resource: "point-ledger";
|
|
11240
11226
|
} | {
|
|
11241
11227
|
provider: "discord";
|
|
11242
11228
|
resource: "role";
|
|
@@ -11385,7 +11371,6 @@ declare function createRelayClient(options: {
|
|
|
11385
11371
|
};
|
|
11386
11372
|
requires: {
|
|
11387
11373
|
quest: string;
|
|
11388
|
-
scope: "ever";
|
|
11389
11374
|
}[];
|
|
11390
11375
|
completion: {
|
|
11391
11376
|
kind: "streak";
|
|
@@ -11396,11 +11381,11 @@ declare function createRelayClient(options: {
|
|
|
11396
11381
|
} | {
|
|
11397
11382
|
kind: "keyed";
|
|
11398
11383
|
};
|
|
11399
|
-
visibility: "
|
|
11384
|
+
visibility: "hidden" | "visible";
|
|
11400
11385
|
budgets: {
|
|
11401
11386
|
id: string;
|
|
11402
|
-
scope: "
|
|
11403
|
-
period: "day" | "
|
|
11387
|
+
scope: "member" | "project";
|
|
11388
|
+
period: "day" | "lifetime" | "week";
|
|
11404
11389
|
limit: number;
|
|
11405
11390
|
cost: number | {
|
|
11406
11391
|
balance: string;
|
|
@@ -11419,7 +11404,7 @@ declare function createRelayClient(options: {
|
|
|
11419
11404
|
snapshot: () => Promise<{
|
|
11420
11405
|
releases: {
|
|
11421
11406
|
quest: string;
|
|
11422
|
-
runtimeVersion:
|
|
11407
|
+
runtimeVersion: 1 | 2;
|
|
11423
11408
|
title: string;
|
|
11424
11409
|
presentation: {
|
|
11425
11410
|
quiz?: {
|
|
@@ -11456,12 +11441,12 @@ declare function createRelayClient(options: {
|
|
|
11456
11441
|
kind: "resource";
|
|
11457
11442
|
default: string;
|
|
11458
11443
|
source: {
|
|
11459
|
-
provider: "domino";
|
|
11460
|
-
resource: "point-ledger";
|
|
11461
|
-
} | {
|
|
11462
11444
|
provider: "discord";
|
|
11463
11445
|
resource: "channel";
|
|
11464
11446
|
types: ("text" | "announcement")[];
|
|
11447
|
+
} | {
|
|
11448
|
+
provider: "domino";
|
|
11449
|
+
resource: "point-ledger";
|
|
11465
11450
|
} | {
|
|
11466
11451
|
provider: "discord";
|
|
11467
11452
|
resource: "role";
|
|
@@ -11610,7 +11595,6 @@ declare function createRelayClient(options: {
|
|
|
11610
11595
|
};
|
|
11611
11596
|
requires: {
|
|
11612
11597
|
quest: string;
|
|
11613
|
-
scope: "ever";
|
|
11614
11598
|
}[];
|
|
11615
11599
|
completion: {
|
|
11616
11600
|
kind: "streak";
|
|
@@ -11621,11 +11605,11 @@ declare function createRelayClient(options: {
|
|
|
11621
11605
|
} | {
|
|
11622
11606
|
kind: "keyed";
|
|
11623
11607
|
};
|
|
11624
|
-
visibility: "
|
|
11608
|
+
visibility: "hidden" | "visible";
|
|
11625
11609
|
budgets: {
|
|
11626
11610
|
id: string;
|
|
11627
|
-
scope: "
|
|
11628
|
-
period: "day" | "
|
|
11611
|
+
scope: "member" | "project";
|
|
11612
|
+
period: "day" | "lifetime" | "week";
|
|
11629
11613
|
limit: number;
|
|
11630
11614
|
cost: number | {
|
|
11631
11615
|
balance: string;
|
|
@@ -11759,7 +11743,7 @@ declare function createRelayClient(options: {
|
|
|
11759
11743
|
quest: string;
|
|
11760
11744
|
member: string;
|
|
11761
11745
|
evidence: string | null;
|
|
11762
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11746
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11763
11747
|
reason: string | null;
|
|
11764
11748
|
retries: number;
|
|
11765
11749
|
generation: number;
|
|
@@ -11825,7 +11809,7 @@ declare function createRelayClient(options: {
|
|
|
11825
11809
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
11826
11810
|
publish: (release: ReleaseInput) => Promise<{
|
|
11827
11811
|
quest: string;
|
|
11828
|
-
runtimeVersion:
|
|
11812
|
+
runtimeVersion: 1 | 2;
|
|
11829
11813
|
title: string;
|
|
11830
11814
|
presentation: {
|
|
11831
11815
|
quiz?: {
|
|
@@ -11862,12 +11846,12 @@ declare function createRelayClient(options: {
|
|
|
11862
11846
|
kind: "resource";
|
|
11863
11847
|
default: string;
|
|
11864
11848
|
source: {
|
|
11865
|
-
provider: "domino";
|
|
11866
|
-
resource: "point-ledger";
|
|
11867
|
-
} | {
|
|
11868
11849
|
provider: "discord";
|
|
11869
11850
|
resource: "channel";
|
|
11870
11851
|
types: ("text" | "announcement")[];
|
|
11852
|
+
} | {
|
|
11853
|
+
provider: "domino";
|
|
11854
|
+
resource: "point-ledger";
|
|
11871
11855
|
} | {
|
|
11872
11856
|
provider: "discord";
|
|
11873
11857
|
resource: "role";
|
|
@@ -12016,7 +12000,6 @@ declare function createRelayClient(options: {
|
|
|
12016
12000
|
};
|
|
12017
12001
|
requires: {
|
|
12018
12002
|
quest: string;
|
|
12019
|
-
scope: "ever";
|
|
12020
12003
|
}[];
|
|
12021
12004
|
completion: {
|
|
12022
12005
|
kind: "streak";
|
|
@@ -12027,11 +12010,11 @@ declare function createRelayClient(options: {
|
|
|
12027
12010
|
} | {
|
|
12028
12011
|
kind: "keyed";
|
|
12029
12012
|
};
|
|
12030
|
-
visibility: "
|
|
12013
|
+
visibility: "hidden" | "visible";
|
|
12031
12014
|
budgets: {
|
|
12032
12015
|
id: string;
|
|
12033
|
-
scope: "
|
|
12034
|
-
period: "day" | "
|
|
12016
|
+
scope: "member" | "project";
|
|
12017
|
+
period: "day" | "lifetime" | "week";
|
|
12035
12018
|
limit: number;
|
|
12036
12019
|
cost: number | {
|
|
12037
12020
|
balance: string;
|
|
@@ -12079,7 +12062,7 @@ declare function createRelayClient(options: {
|
|
|
12079
12062
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
12080
12063
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
12081
12064
|
quest: string;
|
|
12082
|
-
runtimeVersion:
|
|
12065
|
+
runtimeVersion: 1 | 2;
|
|
12083
12066
|
title: string;
|
|
12084
12067
|
presentation: {
|
|
12085
12068
|
quiz?: {
|
|
@@ -12116,12 +12099,12 @@ declare function createRelayClient(options: {
|
|
|
12116
12099
|
kind: "resource";
|
|
12117
12100
|
default: string;
|
|
12118
12101
|
source: {
|
|
12119
|
-
provider: "domino";
|
|
12120
|
-
resource: "point-ledger";
|
|
12121
|
-
} | {
|
|
12122
12102
|
provider: "discord";
|
|
12123
12103
|
resource: "channel";
|
|
12124
12104
|
types: ("text" | "announcement")[];
|
|
12105
|
+
} | {
|
|
12106
|
+
provider: "domino";
|
|
12107
|
+
resource: "point-ledger";
|
|
12125
12108
|
} | {
|
|
12126
12109
|
provider: "discord";
|
|
12127
12110
|
resource: "role";
|
|
@@ -12270,7 +12253,6 @@ declare function createRelayClient(options: {
|
|
|
12270
12253
|
};
|
|
12271
12254
|
requires: {
|
|
12272
12255
|
quest: string;
|
|
12273
|
-
scope: "ever";
|
|
12274
12256
|
}[];
|
|
12275
12257
|
completion: {
|
|
12276
12258
|
kind: "streak";
|
|
@@ -12281,11 +12263,11 @@ declare function createRelayClient(options: {
|
|
|
12281
12263
|
} | {
|
|
12282
12264
|
kind: "keyed";
|
|
12283
12265
|
};
|
|
12284
|
-
visibility: "
|
|
12266
|
+
visibility: "hidden" | "visible";
|
|
12285
12267
|
budgets: {
|
|
12286
12268
|
id: string;
|
|
12287
|
-
scope: "
|
|
12288
|
-
period: "day" | "
|
|
12269
|
+
scope: "member" | "project";
|
|
12270
|
+
period: "day" | "lifetime" | "week";
|
|
12289
12271
|
limit: number;
|
|
12290
12272
|
cost: number | {
|
|
12291
12273
|
balance: string;
|
|
@@ -12355,7 +12337,7 @@ declare function createRelayClient(options: {
|
|
|
12355
12337
|
} | undefined;
|
|
12356
12338
|
} | undefined;
|
|
12357
12339
|
};
|
|
12358
|
-
connections: ("
|
|
12340
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
12359
12341
|
trigger: {
|
|
12360
12342
|
kind: "automatic";
|
|
12361
12343
|
observation?: {
|
|
@@ -12420,7 +12402,7 @@ declare function createRelayClient(options: {
|
|
|
12420
12402
|
};
|
|
12421
12403
|
availability: {
|
|
12422
12404
|
kind: "available";
|
|
12423
|
-
input: "quiz" | "
|
|
12405
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
12424
12406
|
} | {
|
|
12425
12407
|
kind: "completed";
|
|
12426
12408
|
} | {
|
|
@@ -12458,7 +12440,7 @@ declare function createRelayClient(options: {
|
|
|
12458
12440
|
kind: "keyed";
|
|
12459
12441
|
};
|
|
12460
12442
|
completionCount: number;
|
|
12461
|
-
visibility: "
|
|
12443
|
+
visibility: "hidden" | "visible";
|
|
12462
12444
|
missing: {
|
|
12463
12445
|
quest: string;
|
|
12464
12446
|
title: string;
|
|
@@ -12469,7 +12451,7 @@ declare function createRelayClient(options: {
|
|
|
12469
12451
|
quest: string;
|
|
12470
12452
|
member: string;
|
|
12471
12453
|
evidence: string | null;
|
|
12472
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
12454
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12473
12455
|
reason: string | null;
|
|
12474
12456
|
retries: number;
|
|
12475
12457
|
generation: number;
|
|
@@ -12897,7 +12879,7 @@ declare function createRelayClient(options: {
|
|
|
12897
12879
|
content: {
|
|
12898
12880
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
12899
12881
|
current: {
|
|
12900
|
-
state: "needs-review" | "
|
|
12882
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
12901
12883
|
reason: string | null;
|
|
12902
12884
|
contentAttempt: string;
|
|
12903
12885
|
attempt: string | null;
|
|
@@ -12913,7 +12895,7 @@ declare function createRelayClient(options: {
|
|
|
12913
12895
|
observation: string;
|
|
12914
12896
|
observedAt: number;
|
|
12915
12897
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
12916
|
-
state: "needs-review" | "
|
|
12898
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
12917
12899
|
reason: string | null;
|
|
12918
12900
|
}[];
|
|
12919
12901
|
next: number | null;
|
|
@@ -12928,7 +12910,7 @@ declare function createRelayClient(options: {
|
|
|
12928
12910
|
revision: string;
|
|
12929
12911
|
observation: string;
|
|
12930
12912
|
current: boolean;
|
|
12931
|
-
state: "needs-review" | "
|
|
12913
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
12932
12914
|
reason: string | null;
|
|
12933
12915
|
reward: {
|
|
12934
12916
|
attempt: string | null;
|
|
@@ -12943,7 +12925,7 @@ declare function createRelayClient(options: {
|
|
|
12943
12925
|
quest: string;
|
|
12944
12926
|
content: string;
|
|
12945
12927
|
release: string;
|
|
12946
|
-
state: "pending" | "
|
|
12928
|
+
state: "pending" | "admitted" | "excluded";
|
|
12947
12929
|
reason: string | null;
|
|
12948
12930
|
attempt: string | null;
|
|
12949
12931
|
}[];
|
|
@@ -12958,7 +12940,7 @@ declare function createRelayClient(options: {
|
|
|
12958
12940
|
quest: string;
|
|
12959
12941
|
content: string;
|
|
12960
12942
|
release: string;
|
|
12961
|
-
state: "pending" | "
|
|
12943
|
+
state: "pending" | "admitted" | "excluded";
|
|
12962
12944
|
reason: string | null;
|
|
12963
12945
|
attempt: string | null;
|
|
12964
12946
|
}>;
|
|
@@ -12969,7 +12951,7 @@ declare function createRelayClient(options: {
|
|
|
12969
12951
|
quest: string;
|
|
12970
12952
|
member: string;
|
|
12971
12953
|
evidence: string | null;
|
|
12972
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
12954
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12973
12955
|
reason: string | null;
|
|
12974
12956
|
retries: number;
|
|
12975
12957
|
generation: number;
|
|
@@ -13022,7 +13004,7 @@ declare function createRelayClient(options: {
|
|
|
13022
13004
|
quest: string;
|
|
13023
13005
|
member: string;
|
|
13024
13006
|
evidence: string | null;
|
|
13025
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
13007
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
13026
13008
|
reason: string | null;
|
|
13027
13009
|
retries: number;
|
|
13028
13010
|
generation: number;
|
|
@@ -13081,7 +13063,7 @@ declare function createRelayClient(options: {
|
|
|
13081
13063
|
quest: string;
|
|
13082
13064
|
member: string;
|
|
13083
13065
|
evidence: string | null;
|
|
13084
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
13066
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
13085
13067
|
reason: string | null;
|
|
13086
13068
|
retries: number;
|
|
13087
13069
|
generation: number;
|