@domino-sdk/relay 0.25.0 → 0.25.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 +95 -95
- package/dist/index.d.ts +212 -212
- 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";
|
|
@@ -455,19 +455,19 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
455
455
|
kind: z.ZodLiteral<"keyed">;
|
|
456
456
|
}, z.core.$strict>], "kind">;
|
|
457
457
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
458
|
-
visible: "visible";
|
|
459
458
|
hidden: "hidden";
|
|
459
|
+
visible: "visible";
|
|
460
460
|
}>>;
|
|
461
461
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
462
462
|
id: z.ZodString;
|
|
463
463
|
scope: z.ZodEnum<{
|
|
464
|
-
project: "project";
|
|
465
464
|
member: "member";
|
|
465
|
+
project: "project";
|
|
466
466
|
}>;
|
|
467
467
|
period: z.ZodEnum<{
|
|
468
468
|
day: "day";
|
|
469
|
-
week: "week";
|
|
470
469
|
lifetime: "lifetime";
|
|
470
|
+
week: "week";
|
|
471
471
|
}>;
|
|
472
472
|
limit: z.ZodNumber;
|
|
473
473
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -867,19 +867,19 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
867
867
|
kind: z.ZodLiteral<"keyed">;
|
|
868
868
|
}, z.core.$strict>], "kind">;
|
|
869
869
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
870
|
-
visible: "visible";
|
|
871
870
|
hidden: "hidden";
|
|
871
|
+
visible: "visible";
|
|
872
872
|
}>>;
|
|
873
873
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
874
874
|
id: z.ZodString;
|
|
875
875
|
scope: z.ZodEnum<{
|
|
876
|
-
project: "project";
|
|
877
876
|
member: "member";
|
|
877
|
+
project: "project";
|
|
878
878
|
}>;
|
|
879
879
|
period: z.ZodEnum<{
|
|
880
880
|
day: "day";
|
|
881
|
-
week: "week";
|
|
882
881
|
lifetime: "lifetime";
|
|
882
|
+
week: "week";
|
|
883
883
|
}>;
|
|
884
884
|
limit: z.ZodNumber;
|
|
885
885
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1223,19 +1223,19 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1223
1223
|
kind: z.ZodLiteral<"keyed">;
|
|
1224
1224
|
}, z.core.$strict>], "kind">;
|
|
1225
1225
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1226
|
-
visible: "visible";
|
|
1227
1226
|
hidden: "hidden";
|
|
1227
|
+
visible: "visible";
|
|
1228
1228
|
}>>;
|
|
1229
1229
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1230
1230
|
id: z.ZodString;
|
|
1231
1231
|
scope: z.ZodEnum<{
|
|
1232
|
-
project: "project";
|
|
1233
1232
|
member: "member";
|
|
1233
|
+
project: "project";
|
|
1234
1234
|
}>;
|
|
1235
1235
|
period: z.ZodEnum<{
|
|
1236
1236
|
day: "day";
|
|
1237
|
-
week: "week";
|
|
1238
1237
|
lifetime: "lifetime";
|
|
1238
|
+
week: "week";
|
|
1239
1239
|
}>;
|
|
1240
1240
|
limit: z.ZodNumber;
|
|
1241
1241
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1327,7 +1327,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1327
1327
|
createdAt: z.ZodNumber;
|
|
1328
1328
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1329
1329
|
quest: string;
|
|
1330
|
-
runtimeVersion:
|
|
1330
|
+
runtimeVersion: 1 | 2;
|
|
1331
1331
|
title: string;
|
|
1332
1332
|
presentation: {
|
|
1333
1333
|
quiz?: {
|
|
@@ -1364,12 +1364,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1364
1364
|
kind: "resource";
|
|
1365
1365
|
default: string;
|
|
1366
1366
|
source: {
|
|
1367
|
-
provider: "domino";
|
|
1368
|
-
resource: "point-ledger";
|
|
1369
|
-
} | {
|
|
1370
1367
|
provider: "discord";
|
|
1371
1368
|
resource: "channel";
|
|
1372
1369
|
types: ("text" | "announcement")[];
|
|
1370
|
+
} | {
|
|
1371
|
+
provider: "domino";
|
|
1372
|
+
resource: "point-ledger";
|
|
1373
1373
|
} | {
|
|
1374
1374
|
provider: "discord";
|
|
1375
1375
|
resource: "role";
|
|
@@ -1510,11 +1510,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1510
1510
|
} | {
|
|
1511
1511
|
kind: "keyed";
|
|
1512
1512
|
};
|
|
1513
|
-
visibility: "
|
|
1513
|
+
visibility: "hidden" | "visible";
|
|
1514
1514
|
budgets: {
|
|
1515
1515
|
id: string;
|
|
1516
|
-
scope: "
|
|
1517
|
-
period: "day" | "
|
|
1516
|
+
scope: "member" | "project";
|
|
1517
|
+
period: "day" | "lifetime" | "week";
|
|
1518
1518
|
limit: number;
|
|
1519
1519
|
cost: number | {
|
|
1520
1520
|
balance: string;
|
|
@@ -1593,10 +1593,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1593
1593
|
createdAt: number;
|
|
1594
1594
|
}>>]>>>;
|
|
1595
1595
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1596
|
-
staff: "staff";
|
|
1597
1596
|
quiz: "quiz";
|
|
1598
|
-
text: "text";
|
|
1599
1597
|
url: "url";
|
|
1598
|
+
text: "text";
|
|
1599
|
+
staff: "staff";
|
|
1600
1600
|
photo: "photo";
|
|
1601
1601
|
automatic: "automatic";
|
|
1602
1602
|
claim: "claim";
|
|
@@ -1626,10 +1626,10 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1626
1626
|
id?: string | undefined;
|
|
1627
1627
|
}>>>>;
|
|
1628
1628
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1629
|
-
staff: "staff";
|
|
1630
1629
|
quiz: "quiz";
|
|
1631
|
-
text: "text";
|
|
1632
1630
|
url: "url";
|
|
1631
|
+
text: "text";
|
|
1632
|
+
staff: "staff";
|
|
1633
1633
|
photo: "photo";
|
|
1634
1634
|
automatic: "automatic";
|
|
1635
1635
|
claim: "claim";
|
|
@@ -1873,19 +1873,19 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1873
1873
|
kind: z.ZodLiteral<"keyed">;
|
|
1874
1874
|
}, z.core.$strict>], "kind">;
|
|
1875
1875
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1876
|
-
visible: "visible";
|
|
1877
1876
|
hidden: "hidden";
|
|
1877
|
+
visible: "visible";
|
|
1878
1878
|
}>>;
|
|
1879
1879
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1880
1880
|
id: z.ZodString;
|
|
1881
1881
|
scope: z.ZodEnum<{
|
|
1882
|
-
project: "project";
|
|
1883
1882
|
member: "member";
|
|
1883
|
+
project: "project";
|
|
1884
1884
|
}>;
|
|
1885
1885
|
period: z.ZodEnum<{
|
|
1886
1886
|
day: "day";
|
|
1887
|
-
week: "week";
|
|
1888
1887
|
lifetime: "lifetime";
|
|
1888
|
+
week: "week";
|
|
1889
1889
|
}>;
|
|
1890
1890
|
limit: z.ZodNumber;
|
|
1891
1891
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1908,10 +1908,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1908
1908
|
title: z.ZodString;
|
|
1909
1909
|
}, z.core.$strict>>;
|
|
1910
1910
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1911
|
-
staff: "staff";
|
|
1912
1911
|
quiz: "quiz";
|
|
1913
|
-
text: "text";
|
|
1914
1912
|
url: "url";
|
|
1913
|
+
text: "text";
|
|
1914
|
+
staff: "staff";
|
|
1915
1915
|
photo: "photo";
|
|
1916
1916
|
automatic: "automatic";
|
|
1917
1917
|
claim: "claim";
|
|
@@ -2007,10 +2007,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2007
2007
|
}, z.core.$strict>>;
|
|
2008
2008
|
}, z.core.$strict>>;
|
|
2009
2009
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2010
|
+
x: "x";
|
|
2010
2011
|
discord: "discord";
|
|
2011
2012
|
google: "google";
|
|
2012
2013
|
apple: "apple";
|
|
2013
|
-
x: "x";
|
|
2014
2014
|
}>>>;
|
|
2015
2015
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2016
2016
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2088,8 +2088,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2088
2088
|
kind: z.ZodLiteral<"available">;
|
|
2089
2089
|
input: z.ZodEnum<{
|
|
2090
2090
|
quiz: "quiz";
|
|
2091
|
-
text: "text";
|
|
2092
2091
|
url: "url";
|
|
2092
|
+
text: "text";
|
|
2093
2093
|
photo: "photo";
|
|
2094
2094
|
none: "none";
|
|
2095
2095
|
}>;
|
|
@@ -2161,8 +2161,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2161
2161
|
}, z.core.$strip>>>;
|
|
2162
2162
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2163
2163
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2164
|
-
visible: "visible";
|
|
2165
2164
|
hidden: "hidden";
|
|
2165
|
+
visible: "visible";
|
|
2166
2166
|
}>>;
|
|
2167
2167
|
missing: z.ZodArray<z.ZodObject<{
|
|
2168
2168
|
quest: z.ZodString;
|
|
@@ -2188,12 +2188,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2188
2188
|
value: z.ZodString;
|
|
2189
2189
|
}, z.core.$strict>]>>;
|
|
2190
2190
|
status: z.ZodEnum<{
|
|
2191
|
+
"needs-review": "needs-review";
|
|
2191
2192
|
queued: "queued";
|
|
2192
2193
|
evaluating: "evaluating";
|
|
2193
2194
|
accepted: "accepted";
|
|
2194
2195
|
progressed: "progressed";
|
|
2195
2196
|
rejected: "rejected";
|
|
2196
|
-
"needs-review": "needs-review";
|
|
2197
2197
|
failed: "failed";
|
|
2198
2198
|
}>;
|
|
2199
2199
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2231,10 +2231,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2231
2231
|
}, z.core.$strip>>;
|
|
2232
2232
|
release: z.ZodString;
|
|
2233
2233
|
interaction: z.ZodEnum<{
|
|
2234
|
-
staff: "staff";
|
|
2235
2234
|
quiz: "quiz";
|
|
2236
|
-
text: "text";
|
|
2237
2235
|
url: "url";
|
|
2236
|
+
text: "text";
|
|
2237
|
+
staff: "staff";
|
|
2238
2238
|
photo: "photo";
|
|
2239
2239
|
automatic: "automatic";
|
|
2240
2240
|
claim: "claim";
|
|
@@ -2296,10 +2296,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2296
2296
|
}, z.core.$strict>>;
|
|
2297
2297
|
}, z.core.$strict>>;
|
|
2298
2298
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2299
|
+
x: "x";
|
|
2299
2300
|
discord: "discord";
|
|
2300
2301
|
google: "google";
|
|
2301
2302
|
apple: "apple";
|
|
2302
|
-
x: "x";
|
|
2303
2303
|
}>>>;
|
|
2304
2304
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2305
2305
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2377,8 +2377,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2377
2377
|
kind: z.ZodLiteral<"available">;
|
|
2378
2378
|
input: z.ZodEnum<{
|
|
2379
2379
|
quiz: "quiz";
|
|
2380
|
-
text: "text";
|
|
2381
2380
|
url: "url";
|
|
2381
|
+
text: "text";
|
|
2382
2382
|
photo: "photo";
|
|
2383
2383
|
none: "none";
|
|
2384
2384
|
}>;
|
|
@@ -2450,8 +2450,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2450
2450
|
}, z.core.$strip>>>;
|
|
2451
2451
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2452
2452
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2453
|
-
visible: "visible";
|
|
2454
2453
|
hidden: "hidden";
|
|
2454
|
+
visible: "visible";
|
|
2455
2455
|
}>>;
|
|
2456
2456
|
missing: z.ZodArray<z.ZodObject<{
|
|
2457
2457
|
quest: z.ZodString;
|
|
@@ -2477,12 +2477,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2477
2477
|
value: z.ZodString;
|
|
2478
2478
|
}, z.core.$strict>]>>;
|
|
2479
2479
|
status: z.ZodEnum<{
|
|
2480
|
+
"needs-review": "needs-review";
|
|
2480
2481
|
queued: "queued";
|
|
2481
2482
|
evaluating: "evaluating";
|
|
2482
2483
|
accepted: "accepted";
|
|
2483
2484
|
progressed: "progressed";
|
|
2484
2485
|
rejected: "rejected";
|
|
2485
|
-
"needs-review": "needs-review";
|
|
2486
2486
|
failed: "failed";
|
|
2487
2487
|
}>;
|
|
2488
2488
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2520,10 +2520,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2520
2520
|
}, z.core.$strip>>;
|
|
2521
2521
|
release: z.ZodString;
|
|
2522
2522
|
interaction: z.ZodEnum<{
|
|
2523
|
-
staff: "staff";
|
|
2524
2523
|
quiz: "quiz";
|
|
2525
|
-
text: "text";
|
|
2526
2524
|
url: "url";
|
|
2525
|
+
text: "text";
|
|
2526
|
+
staff: "staff";
|
|
2527
2527
|
photo: "photo";
|
|
2528
2528
|
automatic: "automatic";
|
|
2529
2529
|
claim: "claim";
|
|
@@ -2584,10 +2584,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2584
2584
|
}, z.core.$strict>>;
|
|
2585
2585
|
}, z.core.$strict>>;
|
|
2586
2586
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2587
|
+
x: "x";
|
|
2587
2588
|
discord: "discord";
|
|
2588
2589
|
google: "google";
|
|
2589
2590
|
apple: "apple";
|
|
2590
|
-
x: "x";
|
|
2591
2591
|
}>>>;
|
|
2592
2592
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2593
2593
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2665,8 +2665,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2665
2665
|
kind: z.ZodLiteral<"available">;
|
|
2666
2666
|
input: z.ZodEnum<{
|
|
2667
2667
|
quiz: "quiz";
|
|
2668
|
-
text: "text";
|
|
2669
2668
|
url: "url";
|
|
2669
|
+
text: "text";
|
|
2670
2670
|
photo: "photo";
|
|
2671
2671
|
none: "none";
|
|
2672
2672
|
}>;
|
|
@@ -2738,8 +2738,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2738
2738
|
}, z.core.$strip>>>;
|
|
2739
2739
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2740
2740
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2741
|
-
visible: "visible";
|
|
2742
2741
|
hidden: "hidden";
|
|
2742
|
+
visible: "visible";
|
|
2743
2743
|
}>>;
|
|
2744
2744
|
missing: z.ZodArray<z.ZodObject<{
|
|
2745
2745
|
quest: z.ZodString;
|
|
@@ -2765,12 +2765,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2765
2765
|
value: z.ZodString;
|
|
2766
2766
|
}, z.core.$strict>]>>;
|
|
2767
2767
|
status: z.ZodEnum<{
|
|
2768
|
+
"needs-review": "needs-review";
|
|
2768
2769
|
queued: "queued";
|
|
2769
2770
|
evaluating: "evaluating";
|
|
2770
2771
|
accepted: "accepted";
|
|
2771
2772
|
progressed: "progressed";
|
|
2772
2773
|
rejected: "rejected";
|
|
2773
|
-
"needs-review": "needs-review";
|
|
2774
2774
|
failed: "failed";
|
|
2775
2775
|
}>;
|
|
2776
2776
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2808,10 +2808,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2808
2808
|
}, z.core.$strip>>;
|
|
2809
2809
|
release: z.ZodString;
|
|
2810
2810
|
interaction: z.ZodEnum<{
|
|
2811
|
-
staff: "staff";
|
|
2812
2811
|
quiz: "quiz";
|
|
2813
|
-
text: "text";
|
|
2814
2812
|
url: "url";
|
|
2813
|
+
text: "text";
|
|
2814
|
+
staff: "staff";
|
|
2815
2815
|
photo: "photo";
|
|
2816
2816
|
automatic: "automatic";
|
|
2817
2817
|
claim: "claim";
|
|
@@ -2873,10 +2873,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2873
2873
|
}, z.core.$strict>>;
|
|
2874
2874
|
}, z.core.$strict>>;
|
|
2875
2875
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2876
|
+
x: "x";
|
|
2876
2877
|
discord: "discord";
|
|
2877
2878
|
google: "google";
|
|
2878
2879
|
apple: "apple";
|
|
2879
|
-
x: "x";
|
|
2880
2880
|
}>>>;
|
|
2881
2881
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2882
2882
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2954,8 +2954,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2954
2954
|
kind: z.ZodLiteral<"available">;
|
|
2955
2955
|
input: z.ZodEnum<{
|
|
2956
2956
|
quiz: "quiz";
|
|
2957
|
-
text: "text";
|
|
2958
2957
|
url: "url";
|
|
2958
|
+
text: "text";
|
|
2959
2959
|
photo: "photo";
|
|
2960
2960
|
none: "none";
|
|
2961
2961
|
}>;
|
|
@@ -3027,8 +3027,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3027
3027
|
}, z.core.$strip>>>;
|
|
3028
3028
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
3029
3029
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3030
|
-
visible: "visible";
|
|
3031
3030
|
hidden: "hidden";
|
|
3031
|
+
visible: "visible";
|
|
3032
3032
|
}>>;
|
|
3033
3033
|
missing: z.ZodArray<z.ZodObject<{
|
|
3034
3034
|
quest: z.ZodString;
|
|
@@ -3054,12 +3054,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3054
3054
|
value: z.ZodString;
|
|
3055
3055
|
}, z.core.$strict>]>>;
|
|
3056
3056
|
status: z.ZodEnum<{
|
|
3057
|
+
"needs-review": "needs-review";
|
|
3057
3058
|
queued: "queued";
|
|
3058
3059
|
evaluating: "evaluating";
|
|
3059
3060
|
accepted: "accepted";
|
|
3060
3061
|
progressed: "progressed";
|
|
3061
3062
|
rejected: "rejected";
|
|
3062
|
-
"needs-review": "needs-review";
|
|
3063
3063
|
failed: "failed";
|
|
3064
3064
|
}>;
|
|
3065
3065
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -3097,10 +3097,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3097
3097
|
}, z.core.$strip>>;
|
|
3098
3098
|
release: z.ZodString;
|
|
3099
3099
|
interaction: z.ZodEnum<{
|
|
3100
|
-
staff: "staff";
|
|
3101
3100
|
quiz: "quiz";
|
|
3102
|
-
text: "text";
|
|
3103
3101
|
url: "url";
|
|
3102
|
+
text: "text";
|
|
3103
|
+
staff: "staff";
|
|
3104
3104
|
photo: "photo";
|
|
3105
3105
|
automatic: "automatic";
|
|
3106
3106
|
claim: "claim";
|
|
@@ -3442,19 +3442,19 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3442
3442
|
kind: z.ZodLiteral<"keyed">;
|
|
3443
3443
|
}, z.core.$strict>], "kind">;
|
|
3444
3444
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3445
|
-
visible: "visible";
|
|
3446
3445
|
hidden: "hidden";
|
|
3446
|
+
visible: "visible";
|
|
3447
3447
|
}>>;
|
|
3448
3448
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3449
3449
|
id: z.ZodString;
|
|
3450
3450
|
scope: z.ZodEnum<{
|
|
3451
|
-
project: "project";
|
|
3452
3451
|
member: "member";
|
|
3452
|
+
project: "project";
|
|
3453
3453
|
}>;
|
|
3454
3454
|
period: z.ZodEnum<{
|
|
3455
3455
|
day: "day";
|
|
3456
|
-
week: "week";
|
|
3457
3456
|
lifetime: "lifetime";
|
|
3457
|
+
week: "week";
|
|
3458
3458
|
}>;
|
|
3459
3459
|
limit: z.ZodNumber;
|
|
3460
3460
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -3546,7 +3546,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3546
3546
|
createdAt: z.ZodNumber;
|
|
3547
3547
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3548
3548
|
quest: string;
|
|
3549
|
-
runtimeVersion:
|
|
3549
|
+
runtimeVersion: 1 | 2;
|
|
3550
3550
|
title: string;
|
|
3551
3551
|
presentation: {
|
|
3552
3552
|
quiz?: {
|
|
@@ -3583,12 +3583,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3583
3583
|
kind: "resource";
|
|
3584
3584
|
default: string;
|
|
3585
3585
|
source: {
|
|
3586
|
-
provider: "domino";
|
|
3587
|
-
resource: "point-ledger";
|
|
3588
|
-
} | {
|
|
3589
3586
|
provider: "discord";
|
|
3590
3587
|
resource: "channel";
|
|
3591
3588
|
types: ("text" | "announcement")[];
|
|
3589
|
+
} | {
|
|
3590
|
+
provider: "domino";
|
|
3591
|
+
resource: "point-ledger";
|
|
3592
3592
|
} | {
|
|
3593
3593
|
provider: "discord";
|
|
3594
3594
|
resource: "role";
|
|
@@ -3729,11 +3729,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3729
3729
|
} | {
|
|
3730
3730
|
kind: "keyed";
|
|
3731
3731
|
};
|
|
3732
|
-
visibility: "
|
|
3732
|
+
visibility: "hidden" | "visible";
|
|
3733
3733
|
budgets: {
|
|
3734
3734
|
id: string;
|
|
3735
|
-
scope: "
|
|
3736
|
-
period: "day" | "
|
|
3735
|
+
scope: "member" | "project";
|
|
3736
|
+
period: "day" | "lifetime" | "week";
|
|
3737
3737
|
limit: number;
|
|
3738
3738
|
cost: number | {
|
|
3739
3739
|
balance: string;
|
|
@@ -4206,8 +4206,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
4206
4206
|
action: z.ZodLiteral<"grant-role">;
|
|
4207
4207
|
roleId: z.ZodString;
|
|
4208
4208
|
status: z.ZodEnum<{
|
|
4209
|
-
failed: "failed";
|
|
4210
4209
|
pending: "pending";
|
|
4210
|
+
failed: "failed";
|
|
4211
4211
|
delivered: "delivered";
|
|
4212
4212
|
}>;
|
|
4213
4213
|
attempts: z.ZodNumber;
|
|
@@ -4226,8 +4226,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
4226
4226
|
action: z.ZodLiteral<"grant-role">;
|
|
4227
4227
|
roleId: z.ZodString;
|
|
4228
4228
|
status: z.ZodEnum<{
|
|
4229
|
-
failed: "failed";
|
|
4230
4229
|
pending: "pending";
|
|
4230
|
+
failed: "failed";
|
|
4231
4231
|
delivered: "delivered";
|
|
4232
4232
|
}>;
|
|
4233
4233
|
attempts: z.ZodNumber;
|
|
@@ -4420,10 +4420,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4420
4420
|
}>;
|
|
4421
4421
|
}, z.core.$strip>>>;
|
|
4422
4422
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4423
|
-
staff: "staff";
|
|
4424
4423
|
quiz: "quiz";
|
|
4425
|
-
text: "text";
|
|
4426
4424
|
url: "url";
|
|
4425
|
+
text: "text";
|
|
4426
|
+
staff: "staff";
|
|
4427
4427
|
photo: "photo";
|
|
4428
4428
|
automatic: "automatic";
|
|
4429
4429
|
claim: "claim";
|
|
@@ -4504,7 +4504,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4504
4504
|
tier: z.ZodString;
|
|
4505
4505
|
}, z.core.$strict>]>>>;
|
|
4506
4506
|
}, z.core.$strict>>;
|
|
4507
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4508
4507
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4509
4508
|
kind: z.ZodLiteral<"signup">;
|
|
4510
4509
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4513,6 +4512,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4513
4512
|
}, z.core.$strict>, z.ZodObject<{
|
|
4514
4513
|
kind: z.ZodLiteral<"external">;
|
|
4515
4514
|
}, z.core.$strict>], "kind">;
|
|
4515
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4516
4516
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4517
4517
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4518
4518
|
id: z.ZodString;
|
|
@@ -4599,7 +4599,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4599
4599
|
amount: number;
|
|
4600
4600
|
})[];
|
|
4601
4601
|
};
|
|
4602
|
-
enabled: boolean;
|
|
4603
4602
|
qualification: {
|
|
4604
4603
|
kind: "signup";
|
|
4605
4604
|
} | {
|
|
@@ -4608,6 +4607,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4608
4607
|
} | {
|
|
4609
4608
|
kind: "external";
|
|
4610
4609
|
};
|
|
4610
|
+
enabled: boolean;
|
|
4611
4611
|
milestones: {
|
|
4612
4612
|
id: string;
|
|
4613
4613
|
count: number;
|
|
@@ -4696,7 +4696,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4696
4696
|
amount: number;
|
|
4697
4697
|
})[];
|
|
4698
4698
|
};
|
|
4699
|
-
enabled: boolean;
|
|
4700
4699
|
qualification: {
|
|
4701
4700
|
kind: "signup";
|
|
4702
4701
|
} | {
|
|
@@ -4705,6 +4704,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4705
4704
|
} | {
|
|
4706
4705
|
kind: "external";
|
|
4707
4706
|
};
|
|
4707
|
+
enabled: boolean;
|
|
4708
4708
|
milestones: {
|
|
4709
4709
|
id: string;
|
|
4710
4710
|
count: number;
|
|
@@ -4749,6 +4749,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4749
4749
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4750
4750
|
title: z.ZodString;
|
|
4751
4751
|
balance: z.ZodString;
|
|
4752
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4752
4753
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4753
4754
|
kind: z.ZodLiteral<"balance">;
|
|
4754
4755
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4797,7 +4798,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4797
4798
|
participants: "participants";
|
|
4798
4799
|
public: "public";
|
|
4799
4800
|
}>>;
|
|
4800
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4801
4801
|
key: z.ZodOptional<z.ZodString>;
|
|
4802
4802
|
id: z.ZodOptional<z.ZodString>;
|
|
4803
4803
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4922,10 +4922,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4922
4922
|
}>;
|
|
4923
4923
|
}, z.core.$strip>>>;
|
|
4924
4924
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4925
|
-
staff: "staff";
|
|
4926
4925
|
quiz: "quiz";
|
|
4927
|
-
text: "text";
|
|
4928
4926
|
url: "url";
|
|
4927
|
+
text: "text";
|
|
4928
|
+
staff: "staff";
|
|
4929
4929
|
photo: "photo";
|
|
4930
4930
|
automatic: "automatic";
|
|
4931
4931
|
claim: "claim";
|
|
@@ -5006,7 +5006,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5006
5006
|
tier: z.ZodString;
|
|
5007
5007
|
}, z.core.$strict>]>>>;
|
|
5008
5008
|
}, z.core.$strict>>;
|
|
5009
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5010
5009
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5011
5010
|
kind: z.ZodLiteral<"signup">;
|
|
5012
5011
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5015,6 +5014,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5015
5014
|
}, z.core.$strict>, z.ZodObject<{
|
|
5016
5015
|
kind: z.ZodLiteral<"external">;
|
|
5017
5016
|
}, z.core.$strict>], "kind">;
|
|
5017
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5018
5018
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
5019
5019
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5020
5020
|
id: z.ZodString;
|
|
@@ -5101,7 +5101,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5101
5101
|
amount: number;
|
|
5102
5102
|
})[];
|
|
5103
5103
|
};
|
|
5104
|
-
enabled: boolean;
|
|
5105
5104
|
qualification: {
|
|
5106
5105
|
kind: "signup";
|
|
5107
5106
|
} | {
|
|
@@ -5110,6 +5109,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5110
5109
|
} | {
|
|
5111
5110
|
kind: "external";
|
|
5112
5111
|
};
|
|
5112
|
+
enabled: boolean;
|
|
5113
5113
|
milestones: {
|
|
5114
5114
|
id: string;
|
|
5115
5115
|
count: number;
|
|
@@ -5198,7 +5198,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5198
5198
|
amount: number;
|
|
5199
5199
|
})[];
|
|
5200
5200
|
};
|
|
5201
|
-
enabled: boolean;
|
|
5202
5201
|
qualification: {
|
|
5203
5202
|
kind: "signup";
|
|
5204
5203
|
} | {
|
|
@@ -5207,6 +5206,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5207
5206
|
} | {
|
|
5208
5207
|
kind: "external";
|
|
5209
5208
|
};
|
|
5209
|
+
enabled: boolean;
|
|
5210
5210
|
milestones: {
|
|
5211
5211
|
id: string;
|
|
5212
5212
|
count: number;
|
|
@@ -5251,6 +5251,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5251
5251
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
5252
5252
|
title: z.ZodString;
|
|
5253
5253
|
balance: z.ZodString;
|
|
5254
|
+
group: z.ZodOptional<z.ZodString>;
|
|
5254
5255
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5255
5256
|
kind: z.ZodLiteral<"balance">;
|
|
5256
5257
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5299,7 +5300,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5299
5300
|
participants: "participants";
|
|
5300
5301
|
public: "public";
|
|
5301
5302
|
}>>;
|
|
5302
|
-
group: z.ZodOptional<z.ZodString>;
|
|
5303
5303
|
key: z.ZodOptional<z.ZodString>;
|
|
5304
5304
|
id: z.ZodOptional<z.ZodString>;
|
|
5305
5305
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5800,19 +5800,19 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5800
5800
|
kind: z.ZodLiteral<"keyed">;
|
|
5801
5801
|
}, z.core.$strict>], "kind">;
|
|
5802
5802
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
5803
|
-
visible: "visible";
|
|
5804
5803
|
hidden: "hidden";
|
|
5804
|
+
visible: "visible";
|
|
5805
5805
|
}>>;
|
|
5806
5806
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5807
5807
|
id: z.ZodString;
|
|
5808
5808
|
scope: z.ZodEnum<{
|
|
5809
|
-
project: "project";
|
|
5810
5809
|
member: "member";
|
|
5810
|
+
project: "project";
|
|
5811
5811
|
}>;
|
|
5812
5812
|
period: z.ZodEnum<{
|
|
5813
5813
|
day: "day";
|
|
5814
|
-
week: "week";
|
|
5815
5814
|
lifetime: "lifetime";
|
|
5815
|
+
week: "week";
|
|
5816
5816
|
}>;
|
|
5817
5817
|
limit: z.ZodNumber;
|
|
5818
5818
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -5904,7 +5904,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5904
5904
|
createdAt: z.ZodNumber;
|
|
5905
5905
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5906
5906
|
quest: string;
|
|
5907
|
-
runtimeVersion:
|
|
5907
|
+
runtimeVersion: 1 | 2;
|
|
5908
5908
|
title: string;
|
|
5909
5909
|
presentation: {
|
|
5910
5910
|
quiz?: {
|
|
@@ -5941,12 +5941,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5941
5941
|
kind: "resource";
|
|
5942
5942
|
default: string;
|
|
5943
5943
|
source: {
|
|
5944
|
-
provider: "domino";
|
|
5945
|
-
resource: "point-ledger";
|
|
5946
|
-
} | {
|
|
5947
5944
|
provider: "discord";
|
|
5948
5945
|
resource: "channel";
|
|
5949
5946
|
types: ("text" | "announcement")[];
|
|
5947
|
+
} | {
|
|
5948
|
+
provider: "domino";
|
|
5949
|
+
resource: "point-ledger";
|
|
5950
5950
|
} | {
|
|
5951
5951
|
provider: "discord";
|
|
5952
5952
|
resource: "role";
|
|
@@ -6087,11 +6087,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6087
6087
|
} | {
|
|
6088
6088
|
kind: "keyed";
|
|
6089
6089
|
};
|
|
6090
|
-
visibility: "
|
|
6090
|
+
visibility: "hidden" | "visible";
|
|
6091
6091
|
budgets: {
|
|
6092
6092
|
id: string;
|
|
6093
|
-
scope: "
|
|
6094
|
-
period: "day" | "
|
|
6093
|
+
scope: "member" | "project";
|
|
6094
|
+
period: "day" | "lifetime" | "week";
|
|
6095
6095
|
limit: number;
|
|
6096
6096
|
cost: number | {
|
|
6097
6097
|
balance: string;
|
|
@@ -6405,19 +6405,19 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6405
6405
|
kind: z.ZodLiteral<"keyed">;
|
|
6406
6406
|
}, z.core.$strict>], "kind">;
|
|
6407
6407
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
6408
|
-
visible: "visible";
|
|
6409
6408
|
hidden: "hidden";
|
|
6409
|
+
visible: "visible";
|
|
6410
6410
|
}>>;
|
|
6411
6411
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6412
6412
|
id: z.ZodString;
|
|
6413
6413
|
scope: z.ZodEnum<{
|
|
6414
|
-
project: "project";
|
|
6415
6414
|
member: "member";
|
|
6415
|
+
project: "project";
|
|
6416
6416
|
}>;
|
|
6417
6417
|
period: z.ZodEnum<{
|
|
6418
6418
|
day: "day";
|
|
6419
|
-
week: "week";
|
|
6420
6419
|
lifetime: "lifetime";
|
|
6420
|
+
week: "week";
|
|
6421
6421
|
}>;
|
|
6422
6422
|
limit: z.ZodNumber;
|
|
6423
6423
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -6441,10 +6441,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6441
6441
|
quests: z.ZodArray<z.ZodString>;
|
|
6442
6442
|
}, z.core.$strict>>;
|
|
6443
6443
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6444
|
-
staff: "staff";
|
|
6445
6444
|
quiz: "quiz";
|
|
6446
|
-
text: "text";
|
|
6447
6445
|
url: "url";
|
|
6446
|
+
text: "text";
|
|
6447
|
+
staff: "staff";
|
|
6448
6448
|
photo: "photo";
|
|
6449
6449
|
automatic: "automatic";
|
|
6450
6450
|
claim: "claim";
|
|
@@ -6643,9 +6643,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6643
6643
|
}, z.core.$strip>, z.ZodObject<{
|
|
6644
6644
|
source: z.ZodLiteral<"account">;
|
|
6645
6645
|
provider: z.ZodEnum<{
|
|
6646
|
+
x: "x";
|
|
6646
6647
|
discord: "discord";
|
|
6647
6648
|
google: "google";
|
|
6648
|
-
x: "x";
|
|
6649
6649
|
}>;
|
|
6650
6650
|
url: z.ZodString;
|
|
6651
6651
|
seed: z.ZodString;
|
|
@@ -6671,9 +6671,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6671
6671
|
}, z.core.$strip>, z.ZodObject<{
|
|
6672
6672
|
source: z.ZodLiteral<"account">;
|
|
6673
6673
|
provider: z.ZodEnum<{
|
|
6674
|
+
x: "x";
|
|
6674
6675
|
discord: "discord";
|
|
6675
6676
|
google: "google";
|
|
6676
|
-
x: "x";
|
|
6677
6677
|
}>;
|
|
6678
6678
|
url: z.ZodString;
|
|
6679
6679
|
seed: z.ZodString;
|
|
@@ -6699,9 +6699,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6699
6699
|
}, z.core.$strip>, z.ZodObject<{
|
|
6700
6700
|
source: z.ZodLiteral<"account">;
|
|
6701
6701
|
provider: z.ZodEnum<{
|
|
6702
|
+
x: "x";
|
|
6702
6703
|
discord: "discord";
|
|
6703
6704
|
google: "google";
|
|
6704
|
-
x: "x";
|
|
6705
6705
|
}>;
|
|
6706
6706
|
url: z.ZodString;
|
|
6707
6707
|
seed: z.ZodString;
|
|
@@ -6745,9 +6745,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6745
6745
|
}, z.core.$strip>, z.ZodObject<{
|
|
6746
6746
|
source: z.ZodLiteral<"account">;
|
|
6747
6747
|
provider: z.ZodEnum<{
|
|
6748
|
+
x: "x";
|
|
6748
6749
|
discord: "discord";
|
|
6749
6750
|
google: "google";
|
|
6750
|
-
x: "x";
|
|
6751
6751
|
}>;
|
|
6752
6752
|
url: z.ZodString;
|
|
6753
6753
|
seed: z.ZodString;
|
|
@@ -6773,9 +6773,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6773
6773
|
}, z.core.$strip>, z.ZodObject<{
|
|
6774
6774
|
source: z.ZodLiteral<"account">;
|
|
6775
6775
|
provider: z.ZodEnum<{
|
|
6776
|
+
x: "x";
|
|
6776
6777
|
discord: "discord";
|
|
6777
6778
|
google: "google";
|
|
6778
|
-
x: "x";
|
|
6779
6779
|
}>;
|
|
6780
6780
|
url: z.ZodString;
|
|
6781
6781
|
seed: z.ZodString;
|
|
@@ -6801,9 +6801,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6801
6801
|
}, z.core.$strip>, z.ZodObject<{
|
|
6802
6802
|
source: z.ZodLiteral<"account">;
|
|
6803
6803
|
provider: z.ZodEnum<{
|
|
6804
|
+
x: "x";
|
|
6804
6805
|
discord: "discord";
|
|
6805
6806
|
google: "google";
|
|
6806
|
-
x: "x";
|
|
6807
6807
|
}>;
|
|
6808
6808
|
url: z.ZodString;
|
|
6809
6809
|
seed: z.ZodString;
|
|
@@ -7215,19 +7215,19 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7215
7215
|
kind: z.ZodLiteral<"keyed">;
|
|
7216
7216
|
}, z.core.$strict>], "kind">;
|
|
7217
7217
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
7218
|
-
visible: "visible";
|
|
7219
7218
|
hidden: "hidden";
|
|
7219
|
+
visible: "visible";
|
|
7220
7220
|
}>>;
|
|
7221
7221
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7222
7222
|
id: z.ZodString;
|
|
7223
7223
|
scope: z.ZodEnum<{
|
|
7224
|
-
project: "project";
|
|
7225
7224
|
member: "member";
|
|
7225
|
+
project: "project";
|
|
7226
7226
|
}>;
|
|
7227
7227
|
period: z.ZodEnum<{
|
|
7228
7228
|
day: "day";
|
|
7229
|
-
week: "week";
|
|
7230
7229
|
lifetime: "lifetime";
|
|
7230
|
+
week: "week";
|
|
7231
7231
|
}>;
|
|
7232
7232
|
limit: z.ZodNumber;
|
|
7233
7233
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7319,7 +7319,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7319
7319
|
createdAt: z.ZodNumber;
|
|
7320
7320
|
}, z.core.$strip>, z.ZodTransform<{
|
|
7321
7321
|
quest: string;
|
|
7322
|
-
runtimeVersion:
|
|
7322
|
+
runtimeVersion: 1 | 2;
|
|
7323
7323
|
title: string;
|
|
7324
7324
|
presentation: {
|
|
7325
7325
|
quiz?: {
|
|
@@ -7356,12 +7356,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7356
7356
|
kind: "resource";
|
|
7357
7357
|
default: string;
|
|
7358
7358
|
source: {
|
|
7359
|
-
provider: "domino";
|
|
7360
|
-
resource: "point-ledger";
|
|
7361
|
-
} | {
|
|
7362
7359
|
provider: "discord";
|
|
7363
7360
|
resource: "channel";
|
|
7364
7361
|
types: ("text" | "announcement")[];
|
|
7362
|
+
} | {
|
|
7363
|
+
provider: "domino";
|
|
7364
|
+
resource: "point-ledger";
|
|
7365
7365
|
} | {
|
|
7366
7366
|
provider: "discord";
|
|
7367
7367
|
resource: "role";
|
|
@@ -7502,11 +7502,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7502
7502
|
} | {
|
|
7503
7503
|
kind: "keyed";
|
|
7504
7504
|
};
|
|
7505
|
-
visibility: "
|
|
7505
|
+
visibility: "hidden" | "visible";
|
|
7506
7506
|
budgets: {
|
|
7507
7507
|
id: string;
|
|
7508
|
-
scope: "
|
|
7509
|
-
period: "day" | "
|
|
7508
|
+
scope: "member" | "project";
|
|
7509
|
+
period: "day" | "lifetime" | "week";
|
|
7510
7510
|
limit: number;
|
|
7511
7511
|
cost: number | {
|
|
7512
7512
|
balance: string;
|
|
@@ -7820,19 +7820,19 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7820
7820
|
kind: z.ZodLiteral<"keyed">;
|
|
7821
7821
|
}, z.core.$strict>], "kind">;
|
|
7822
7822
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
7823
|
-
visible: "visible";
|
|
7824
7823
|
hidden: "hidden";
|
|
7824
|
+
visible: "visible";
|
|
7825
7825
|
}>>;
|
|
7826
7826
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7827
7827
|
id: z.ZodString;
|
|
7828
7828
|
scope: z.ZodEnum<{
|
|
7829
|
-
project: "project";
|
|
7830
7829
|
member: "member";
|
|
7830
|
+
project: "project";
|
|
7831
7831
|
}>;
|
|
7832
7832
|
period: z.ZodEnum<{
|
|
7833
7833
|
day: "day";
|
|
7834
|
-
week: "week";
|
|
7835
7834
|
lifetime: "lifetime";
|
|
7835
|
+
week: "week";
|
|
7836
7836
|
}>;
|
|
7837
7837
|
limit: z.ZodNumber;
|
|
7838
7838
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7856,10 +7856,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7856
7856
|
quests: z.ZodArray<z.ZodString>;
|
|
7857
7857
|
}, z.core.$strict>>;
|
|
7858
7858
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
7859
|
-
staff: "staff";
|
|
7860
7859
|
quiz: "quiz";
|
|
7861
|
-
text: "text";
|
|
7862
7860
|
url: "url";
|
|
7861
|
+
text: "text";
|
|
7862
|
+
staff: "staff";
|
|
7863
7863
|
photo: "photo";
|
|
7864
7864
|
automatic: "automatic";
|
|
7865
7865
|
claim: "claim";
|
|
@@ -8058,9 +8058,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8058
8058
|
}, z.core.$strip>, z.ZodObject<{
|
|
8059
8059
|
source: z.ZodLiteral<"account">;
|
|
8060
8060
|
provider: z.ZodEnum<{
|
|
8061
|
+
x: "x";
|
|
8061
8062
|
discord: "discord";
|
|
8062
8063
|
google: "google";
|
|
8063
|
-
x: "x";
|
|
8064
8064
|
}>;
|
|
8065
8065
|
url: z.ZodString;
|
|
8066
8066
|
seed: z.ZodString;
|
|
@@ -8086,9 +8086,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8086
8086
|
}, z.core.$strip>, z.ZodObject<{
|
|
8087
8087
|
source: z.ZodLiteral<"account">;
|
|
8088
8088
|
provider: z.ZodEnum<{
|
|
8089
|
+
x: "x";
|
|
8089
8090
|
discord: "discord";
|
|
8090
8091
|
google: "google";
|
|
8091
|
-
x: "x";
|
|
8092
8092
|
}>;
|
|
8093
8093
|
url: z.ZodString;
|
|
8094
8094
|
seed: z.ZodString;
|
|
@@ -8114,9 +8114,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8114
8114
|
}, z.core.$strip>, z.ZodObject<{
|
|
8115
8115
|
source: z.ZodLiteral<"account">;
|
|
8116
8116
|
provider: z.ZodEnum<{
|
|
8117
|
+
x: "x";
|
|
8117
8118
|
discord: "discord";
|
|
8118
8119
|
google: "google";
|
|
8119
|
-
x: "x";
|
|
8120
8120
|
}>;
|
|
8121
8121
|
url: z.ZodString;
|
|
8122
8122
|
seed: z.ZodString;
|
|
@@ -8160,9 +8160,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8160
8160
|
}, z.core.$strip>, z.ZodObject<{
|
|
8161
8161
|
source: z.ZodLiteral<"account">;
|
|
8162
8162
|
provider: z.ZodEnum<{
|
|
8163
|
+
x: "x";
|
|
8163
8164
|
discord: "discord";
|
|
8164
8165
|
google: "google";
|
|
8165
|
-
x: "x";
|
|
8166
8166
|
}>;
|
|
8167
8167
|
url: z.ZodString;
|
|
8168
8168
|
seed: z.ZodString;
|
|
@@ -8188,9 +8188,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8188
8188
|
}, z.core.$strip>, z.ZodObject<{
|
|
8189
8189
|
source: z.ZodLiteral<"account">;
|
|
8190
8190
|
provider: z.ZodEnum<{
|
|
8191
|
+
x: "x";
|
|
8191
8192
|
discord: "discord";
|
|
8192
8193
|
google: "google";
|
|
8193
|
-
x: "x";
|
|
8194
8194
|
}>;
|
|
8195
8195
|
url: z.ZodString;
|
|
8196
8196
|
seed: z.ZodString;
|
|
@@ -8216,9 +8216,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8216
8216
|
}, z.core.$strip>, z.ZodObject<{
|
|
8217
8217
|
source: z.ZodLiteral<"account">;
|
|
8218
8218
|
provider: z.ZodEnum<{
|
|
8219
|
+
x: "x";
|
|
8219
8220
|
discord: "discord";
|
|
8220
8221
|
google: "google";
|
|
8221
|
-
x: "x";
|
|
8222
8222
|
}>;
|
|
8223
8223
|
url: z.ZodString;
|
|
8224
8224
|
seed: z.ZodString;
|
|
@@ -8496,7 +8496,7 @@ declare function createRelayClient(options: {
|
|
|
8496
8496
|
accounts: {
|
|
8497
8497
|
id: string;
|
|
8498
8498
|
program: string;
|
|
8499
|
-
kind: "
|
|
8499
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
8500
8500
|
balance: string;
|
|
8501
8501
|
earned: number;
|
|
8502
8502
|
settled: number;
|
|
@@ -8610,7 +8610,7 @@ declare function createRelayClient(options: {
|
|
|
8610
8610
|
seed: string;
|
|
8611
8611
|
} | {
|
|
8612
8612
|
source: "account";
|
|
8613
|
-
provider: "
|
|
8613
|
+
provider: "x" | "discord" | "google";
|
|
8614
8614
|
url: string;
|
|
8615
8615
|
seed: string;
|
|
8616
8616
|
} | {
|
|
@@ -8634,7 +8634,7 @@ declare function createRelayClient(options: {
|
|
|
8634
8634
|
seed: string;
|
|
8635
8635
|
} | {
|
|
8636
8636
|
source: "account";
|
|
8637
|
-
provider: "
|
|
8637
|
+
provider: "x" | "discord" | "google";
|
|
8638
8638
|
url: string;
|
|
8639
8639
|
seed: string;
|
|
8640
8640
|
} | {
|
|
@@ -8658,7 +8658,7 @@ declare function createRelayClient(options: {
|
|
|
8658
8658
|
seed: string;
|
|
8659
8659
|
} | {
|
|
8660
8660
|
source: "account";
|
|
8661
|
-
provider: "
|
|
8661
|
+
provider: "x" | "discord" | "google";
|
|
8662
8662
|
url: string;
|
|
8663
8663
|
seed: string;
|
|
8664
8664
|
} | {
|
|
@@ -8686,7 +8686,7 @@ declare function createRelayClient(options: {
|
|
|
8686
8686
|
seed: string;
|
|
8687
8687
|
} | {
|
|
8688
8688
|
source: "account";
|
|
8689
|
-
provider: "
|
|
8689
|
+
provider: "x" | "discord" | "google";
|
|
8690
8690
|
url: string;
|
|
8691
8691
|
seed: string;
|
|
8692
8692
|
} | {
|
|
@@ -8695,12 +8695,12 @@ declare function createRelayClient(options: {
|
|
|
8695
8695
|
};
|
|
8696
8696
|
displayName: string | null;
|
|
8697
8697
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
8698
|
-
avatarProvider: "
|
|
8698
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8699
8699
|
hidden: boolean;
|
|
8700
8700
|
locked: boolean;
|
|
8701
|
-
visibility: "
|
|
8701
|
+
visibility: "private" | "participants" | "public";
|
|
8702
8702
|
options: {
|
|
8703
|
-
provider: "
|
|
8703
|
+
provider: "x" | "discord" | "google";
|
|
8704
8704
|
name: string | null;
|
|
8705
8705
|
imageUrl: string | null;
|
|
8706
8706
|
}[];
|
|
@@ -8720,7 +8720,7 @@ declare function createRelayClient(options: {
|
|
|
8720
8720
|
seed: string;
|
|
8721
8721
|
} | {
|
|
8722
8722
|
source: "account";
|
|
8723
|
-
provider: "
|
|
8723
|
+
provider: "x" | "discord" | "google";
|
|
8724
8724
|
url: string;
|
|
8725
8725
|
seed: string;
|
|
8726
8726
|
} | {
|
|
@@ -8729,12 +8729,12 @@ declare function createRelayClient(options: {
|
|
|
8729
8729
|
};
|
|
8730
8730
|
displayName: string | null;
|
|
8731
8731
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
8732
|
-
avatarProvider: "
|
|
8732
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8733
8733
|
hidden: boolean;
|
|
8734
8734
|
locked: boolean;
|
|
8735
|
-
visibility: "
|
|
8735
|
+
visibility: "private" | "participants" | "public";
|
|
8736
8736
|
options: {
|
|
8737
|
-
provider: "
|
|
8737
|
+
provider: "x" | "discord" | "google";
|
|
8738
8738
|
name: string | null;
|
|
8739
8739
|
imageUrl: string | null;
|
|
8740
8740
|
}[];
|
|
@@ -8755,7 +8755,7 @@ declare function createRelayClient(options: {
|
|
|
8755
8755
|
seed: string;
|
|
8756
8756
|
} | {
|
|
8757
8757
|
source: "account";
|
|
8758
|
-
provider: "
|
|
8758
|
+
provider: "x" | "discord" | "google";
|
|
8759
8759
|
url: string;
|
|
8760
8760
|
seed: string;
|
|
8761
8761
|
} | {
|
|
@@ -8764,12 +8764,12 @@ declare function createRelayClient(options: {
|
|
|
8764
8764
|
};
|
|
8765
8765
|
displayName: string | null;
|
|
8766
8766
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
8767
|
-
avatarProvider: "
|
|
8767
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8768
8768
|
hidden: boolean;
|
|
8769
8769
|
locked: boolean;
|
|
8770
|
-
visibility: "
|
|
8770
|
+
visibility: "private" | "participants" | "public";
|
|
8771
8771
|
options: {
|
|
8772
|
-
provider: "
|
|
8772
|
+
provider: "x" | "discord" | "google";
|
|
8773
8773
|
name: string | null;
|
|
8774
8774
|
imageUrl: string | null;
|
|
8775
8775
|
}[];
|
|
@@ -8787,7 +8787,7 @@ declare function createRelayClient(options: {
|
|
|
8787
8787
|
seed: string;
|
|
8788
8788
|
} | {
|
|
8789
8789
|
source: "account";
|
|
8790
|
-
provider: "
|
|
8790
|
+
provider: "x" | "discord" | "google";
|
|
8791
8791
|
url: string;
|
|
8792
8792
|
seed: string;
|
|
8793
8793
|
} | {
|
|
@@ -8850,7 +8850,7 @@ declare function createRelayClient(options: {
|
|
|
8850
8850
|
} | undefined;
|
|
8851
8851
|
} | undefined;
|
|
8852
8852
|
};
|
|
8853
|
-
connections: ("
|
|
8853
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
8854
8854
|
trigger: {
|
|
8855
8855
|
kind: "automatic";
|
|
8856
8856
|
observation?: {
|
|
@@ -8896,7 +8896,7 @@ declare function createRelayClient(options: {
|
|
|
8896
8896
|
};
|
|
8897
8897
|
availability: {
|
|
8898
8898
|
kind: "available";
|
|
8899
|
-
input: "quiz" | "
|
|
8899
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8900
8900
|
} | {
|
|
8901
8901
|
kind: "completed";
|
|
8902
8902
|
} | {
|
|
@@ -8934,7 +8934,7 @@ declare function createRelayClient(options: {
|
|
|
8934
8934
|
kind: "keyed";
|
|
8935
8935
|
};
|
|
8936
8936
|
completionCount: number;
|
|
8937
|
-
visibility: "
|
|
8937
|
+
visibility: "hidden" | "visible";
|
|
8938
8938
|
missing: {
|
|
8939
8939
|
quest: string;
|
|
8940
8940
|
title: string;
|
|
@@ -8945,7 +8945,7 @@ declare function createRelayClient(options: {
|
|
|
8945
8945
|
quest: string;
|
|
8946
8946
|
member: string;
|
|
8947
8947
|
evidence: string | null;
|
|
8948
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8948
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8949
8949
|
reason: string | null;
|
|
8950
8950
|
retries: number;
|
|
8951
8951
|
generation: number;
|
|
@@ -8993,7 +8993,7 @@ declare function createRelayClient(options: {
|
|
|
8993
8993
|
} | undefined;
|
|
8994
8994
|
} | null;
|
|
8995
8995
|
release: string;
|
|
8996
|
-
interaction: "
|
|
8996
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8997
8997
|
lifecycle: "active" | "paused" | "archived";
|
|
8998
8998
|
rewards: ({
|
|
8999
8999
|
kind: "points";
|
|
@@ -9055,7 +9055,7 @@ declare function createRelayClient(options: {
|
|
|
9055
9055
|
quest: string;
|
|
9056
9056
|
member: string;
|
|
9057
9057
|
evidence: string | null;
|
|
9058
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9058
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9059
9059
|
reason: string | null;
|
|
9060
9060
|
retries: number;
|
|
9061
9061
|
generation: number;
|
|
@@ -9127,7 +9127,7 @@ declare function createRelayClient(options: {
|
|
|
9127
9127
|
} | undefined;
|
|
9128
9128
|
} | undefined;
|
|
9129
9129
|
};
|
|
9130
|
-
connections: ("
|
|
9130
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9131
9131
|
trigger: {
|
|
9132
9132
|
kind: "automatic";
|
|
9133
9133
|
observation?: {
|
|
@@ -9173,7 +9173,7 @@ declare function createRelayClient(options: {
|
|
|
9173
9173
|
};
|
|
9174
9174
|
availability: {
|
|
9175
9175
|
kind: "available";
|
|
9176
|
-
input: "quiz" | "
|
|
9176
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9177
9177
|
} | {
|
|
9178
9178
|
kind: "completed";
|
|
9179
9179
|
} | {
|
|
@@ -9211,7 +9211,7 @@ declare function createRelayClient(options: {
|
|
|
9211
9211
|
kind: "keyed";
|
|
9212
9212
|
};
|
|
9213
9213
|
completionCount: number;
|
|
9214
|
-
visibility: "
|
|
9214
|
+
visibility: "hidden" | "visible";
|
|
9215
9215
|
missing: {
|
|
9216
9216
|
quest: string;
|
|
9217
9217
|
title: string;
|
|
@@ -9222,7 +9222,7 @@ declare function createRelayClient(options: {
|
|
|
9222
9222
|
quest: string;
|
|
9223
9223
|
member: string;
|
|
9224
9224
|
evidence: string | null;
|
|
9225
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9225
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9226
9226
|
reason: string | null;
|
|
9227
9227
|
retries: number;
|
|
9228
9228
|
generation: number;
|
|
@@ -9270,7 +9270,7 @@ declare function createRelayClient(options: {
|
|
|
9270
9270
|
} | undefined;
|
|
9271
9271
|
} | null;
|
|
9272
9272
|
release: string;
|
|
9273
|
-
interaction: "
|
|
9273
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9274
9274
|
lifecycle: "active" | "paused" | "archived";
|
|
9275
9275
|
rewards: ({
|
|
9276
9276
|
kind: "points";
|
|
@@ -9352,7 +9352,7 @@ declare function createRelayClient(options: {
|
|
|
9352
9352
|
} | undefined;
|
|
9353
9353
|
} | undefined;
|
|
9354
9354
|
};
|
|
9355
|
-
connections: ("
|
|
9355
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9356
9356
|
trigger: {
|
|
9357
9357
|
kind: "automatic";
|
|
9358
9358
|
observation?: {
|
|
@@ -9398,7 +9398,7 @@ declare function createRelayClient(options: {
|
|
|
9398
9398
|
};
|
|
9399
9399
|
availability: {
|
|
9400
9400
|
kind: "available";
|
|
9401
|
-
input: "quiz" | "
|
|
9401
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9402
9402
|
} | {
|
|
9403
9403
|
kind: "completed";
|
|
9404
9404
|
} | {
|
|
@@ -9436,7 +9436,7 @@ declare function createRelayClient(options: {
|
|
|
9436
9436
|
kind: "keyed";
|
|
9437
9437
|
};
|
|
9438
9438
|
completionCount: number;
|
|
9439
|
-
visibility: "
|
|
9439
|
+
visibility: "hidden" | "visible";
|
|
9440
9440
|
missing: {
|
|
9441
9441
|
quest: string;
|
|
9442
9442
|
title: string;
|
|
@@ -9447,7 +9447,7 @@ declare function createRelayClient(options: {
|
|
|
9447
9447
|
quest: string;
|
|
9448
9448
|
member: string;
|
|
9449
9449
|
evidence: string | null;
|
|
9450
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9450
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9451
9451
|
reason: string | null;
|
|
9452
9452
|
retries: number;
|
|
9453
9453
|
generation: number;
|
|
@@ -9495,7 +9495,7 @@ declare function createRelayClient(options: {
|
|
|
9495
9495
|
} | undefined;
|
|
9496
9496
|
} | null;
|
|
9497
9497
|
release: string;
|
|
9498
|
-
interaction: "
|
|
9498
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9499
9499
|
lifecycle: "active" | "paused" | "archived";
|
|
9500
9500
|
rewards: ({
|
|
9501
9501
|
kind: "points";
|
|
@@ -9580,7 +9580,7 @@ declare function createRelayClient(options: {
|
|
|
9580
9580
|
} | undefined;
|
|
9581
9581
|
} | undefined;
|
|
9582
9582
|
};
|
|
9583
|
-
connections: ("
|
|
9583
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9584
9584
|
trigger: {
|
|
9585
9585
|
kind: "automatic";
|
|
9586
9586
|
observation?: {
|
|
@@ -9626,7 +9626,7 @@ declare function createRelayClient(options: {
|
|
|
9626
9626
|
};
|
|
9627
9627
|
availability: {
|
|
9628
9628
|
kind: "available";
|
|
9629
|
-
input: "quiz" | "
|
|
9629
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9630
9630
|
} | {
|
|
9631
9631
|
kind: "completed";
|
|
9632
9632
|
} | {
|
|
@@ -9664,7 +9664,7 @@ declare function createRelayClient(options: {
|
|
|
9664
9664
|
kind: "keyed";
|
|
9665
9665
|
};
|
|
9666
9666
|
completionCount: number;
|
|
9667
|
-
visibility: "
|
|
9667
|
+
visibility: "hidden" | "visible";
|
|
9668
9668
|
missing: {
|
|
9669
9669
|
quest: string;
|
|
9670
9670
|
title: string;
|
|
@@ -9675,7 +9675,7 @@ declare function createRelayClient(options: {
|
|
|
9675
9675
|
quest: string;
|
|
9676
9676
|
member: string;
|
|
9677
9677
|
evidence: string | null;
|
|
9678
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9678
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9679
9679
|
reason: string | null;
|
|
9680
9680
|
retries: number;
|
|
9681
9681
|
generation: number;
|
|
@@ -9723,7 +9723,7 @@ declare function createRelayClient(options: {
|
|
|
9723
9723
|
} | undefined;
|
|
9724
9724
|
} | null;
|
|
9725
9725
|
release: string;
|
|
9726
|
-
interaction: "
|
|
9726
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
9727
9727
|
lifecycle: "active" | "paused" | "archived";
|
|
9728
9728
|
rewards: ({
|
|
9729
9729
|
kind: "points";
|
|
@@ -9853,7 +9853,7 @@ declare function createRelayClient(options: {
|
|
|
9853
9853
|
auth: {
|
|
9854
9854
|
providers: () => Promise<{
|
|
9855
9855
|
providers: {
|
|
9856
|
-
provider: "
|
|
9856
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
9857
9857
|
configured: boolean;
|
|
9858
9858
|
}[];
|
|
9859
9859
|
email: boolean;
|
|
@@ -9939,7 +9939,7 @@ declare function createRelayClient(options: {
|
|
|
9939
9939
|
}>;
|
|
9940
9940
|
};
|
|
9941
9941
|
accounts: () => Promise<{
|
|
9942
|
-
provider: "
|
|
9942
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
9943
9943
|
configured: boolean;
|
|
9944
9944
|
status: "disconnected" | "connected" | "reconnect";
|
|
9945
9945
|
subject: string | null;
|
|
@@ -10043,7 +10043,7 @@ declare function createRelayClient(options: {
|
|
|
10043
10043
|
quest: string;
|
|
10044
10044
|
member: string;
|
|
10045
10045
|
evidence: string | null;
|
|
10046
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10046
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10047
10047
|
reason: string | null;
|
|
10048
10048
|
retries: number;
|
|
10049
10049
|
generation: number;
|
|
@@ -10115,7 +10115,7 @@ declare function createRelayClient(options: {
|
|
|
10115
10115
|
} | undefined;
|
|
10116
10116
|
} | undefined;
|
|
10117
10117
|
};
|
|
10118
|
-
connections: ("
|
|
10118
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
10119
10119
|
trigger: {
|
|
10120
10120
|
kind: "automatic";
|
|
10121
10121
|
observation?: {
|
|
@@ -10161,7 +10161,7 @@ declare function createRelayClient(options: {
|
|
|
10161
10161
|
};
|
|
10162
10162
|
availability: {
|
|
10163
10163
|
kind: "available";
|
|
10164
|
-
input: "quiz" | "
|
|
10164
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10165
10165
|
} | {
|
|
10166
10166
|
kind: "completed";
|
|
10167
10167
|
} | {
|
|
@@ -10199,7 +10199,7 @@ declare function createRelayClient(options: {
|
|
|
10199
10199
|
kind: "keyed";
|
|
10200
10200
|
};
|
|
10201
10201
|
completionCount: number;
|
|
10202
|
-
visibility: "
|
|
10202
|
+
visibility: "hidden" | "visible";
|
|
10203
10203
|
missing: {
|
|
10204
10204
|
quest: string;
|
|
10205
10205
|
title: string;
|
|
@@ -10210,7 +10210,7 @@ declare function createRelayClient(options: {
|
|
|
10210
10210
|
quest: string;
|
|
10211
10211
|
member: string;
|
|
10212
10212
|
evidence: string | null;
|
|
10213
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10213
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10214
10214
|
reason: string | null;
|
|
10215
10215
|
retries: number;
|
|
10216
10216
|
generation: number;
|
|
@@ -10377,7 +10377,7 @@ declare function createRelayClient(options: {
|
|
|
10377
10377
|
provider: "discord";
|
|
10378
10378
|
action: "grant-role";
|
|
10379
10379
|
roleId: string;
|
|
10380
|
-
status: "
|
|
10380
|
+
status: "pending" | "failed" | "delivered";
|
|
10381
10381
|
attempts: number;
|
|
10382
10382
|
nextAt: number;
|
|
10383
10383
|
lastError: string | null;
|
|
@@ -10393,7 +10393,7 @@ declare function createRelayClient(options: {
|
|
|
10393
10393
|
quest: string;
|
|
10394
10394
|
member: string;
|
|
10395
10395
|
evidence: string | null;
|
|
10396
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10396
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10397
10397
|
reason: string | null;
|
|
10398
10398
|
retries: number;
|
|
10399
10399
|
generation: number;
|
|
@@ -10461,7 +10461,7 @@ declare function createRelayClient(options: {
|
|
|
10461
10461
|
code: string;
|
|
10462
10462
|
definition: {
|
|
10463
10463
|
quest: string;
|
|
10464
|
-
runtimeVersion:
|
|
10464
|
+
runtimeVersion: 1 | 2;
|
|
10465
10465
|
title: string;
|
|
10466
10466
|
presentation: {
|
|
10467
10467
|
quiz?: {
|
|
@@ -10498,12 +10498,12 @@ declare function createRelayClient(options: {
|
|
|
10498
10498
|
kind: "resource";
|
|
10499
10499
|
default: string;
|
|
10500
10500
|
source: {
|
|
10501
|
-
provider: "domino";
|
|
10502
|
-
resource: "point-ledger";
|
|
10503
|
-
} | {
|
|
10504
10501
|
provider: "discord";
|
|
10505
10502
|
resource: "channel";
|
|
10506
10503
|
types: ("text" | "announcement")[];
|
|
10504
|
+
} | {
|
|
10505
|
+
provider: "domino";
|
|
10506
|
+
resource: "point-ledger";
|
|
10507
10507
|
} | {
|
|
10508
10508
|
provider: "discord";
|
|
10509
10509
|
resource: "role";
|
|
@@ -10644,11 +10644,11 @@ declare function createRelayClient(options: {
|
|
|
10644
10644
|
} | {
|
|
10645
10645
|
kind: "keyed";
|
|
10646
10646
|
};
|
|
10647
|
-
visibility: "
|
|
10647
|
+
visibility: "hidden" | "visible";
|
|
10648
10648
|
budgets: {
|
|
10649
10649
|
id: string;
|
|
10650
|
-
scope: "
|
|
10651
|
-
period: "day" | "
|
|
10650
|
+
scope: "member" | "project";
|
|
10651
|
+
period: "day" | "lifetime" | "week";
|
|
10652
10652
|
limit: number;
|
|
10653
10653
|
cost: number | {
|
|
10654
10654
|
balance: string;
|
|
@@ -10665,7 +10665,7 @@ declare function createRelayClient(options: {
|
|
|
10665
10665
|
code: string;
|
|
10666
10666
|
definition: {
|
|
10667
10667
|
quest: string;
|
|
10668
|
-
runtimeVersion:
|
|
10668
|
+
runtimeVersion: 1 | 2;
|
|
10669
10669
|
title: string;
|
|
10670
10670
|
presentation: {
|
|
10671
10671
|
quiz?: {
|
|
@@ -10702,12 +10702,12 @@ declare function createRelayClient(options: {
|
|
|
10702
10702
|
kind: "resource";
|
|
10703
10703
|
default: string;
|
|
10704
10704
|
source: {
|
|
10705
|
-
provider: "domino";
|
|
10706
|
-
resource: "point-ledger";
|
|
10707
|
-
} | {
|
|
10708
10705
|
provider: "discord";
|
|
10709
10706
|
resource: "channel";
|
|
10710
10707
|
types: ("text" | "announcement")[];
|
|
10708
|
+
} | {
|
|
10709
|
+
provider: "domino";
|
|
10710
|
+
resource: "point-ledger";
|
|
10711
10711
|
} | {
|
|
10712
10712
|
provider: "discord";
|
|
10713
10713
|
resource: "role";
|
|
@@ -10848,11 +10848,11 @@ declare function createRelayClient(options: {
|
|
|
10848
10848
|
} | {
|
|
10849
10849
|
kind: "keyed";
|
|
10850
10850
|
};
|
|
10851
|
-
visibility: "
|
|
10851
|
+
visibility: "hidden" | "visible";
|
|
10852
10852
|
budgets: {
|
|
10853
10853
|
id: string;
|
|
10854
|
-
scope: "
|
|
10855
|
-
period: "day" | "
|
|
10854
|
+
scope: "member" | "project";
|
|
10855
|
+
period: "day" | "lifetime" | "week";
|
|
10856
10856
|
limit: number;
|
|
10857
10857
|
cost: number | {
|
|
10858
10858
|
balance: string;
|
|
@@ -10868,7 +10868,7 @@ declare function createRelayClient(options: {
|
|
|
10868
10868
|
snapshot: () => Promise<{
|
|
10869
10869
|
releases: {
|
|
10870
10870
|
quest: string;
|
|
10871
|
-
runtimeVersion:
|
|
10871
|
+
runtimeVersion: 1 | 2;
|
|
10872
10872
|
title: string;
|
|
10873
10873
|
presentation: {
|
|
10874
10874
|
quiz?: {
|
|
@@ -10905,12 +10905,12 @@ declare function createRelayClient(options: {
|
|
|
10905
10905
|
kind: "resource";
|
|
10906
10906
|
default: string;
|
|
10907
10907
|
source: {
|
|
10908
|
-
provider: "domino";
|
|
10909
|
-
resource: "point-ledger";
|
|
10910
|
-
} | {
|
|
10911
10908
|
provider: "discord";
|
|
10912
10909
|
resource: "channel";
|
|
10913
10910
|
types: ("text" | "announcement")[];
|
|
10911
|
+
} | {
|
|
10912
|
+
provider: "domino";
|
|
10913
|
+
resource: "point-ledger";
|
|
10914
10914
|
} | {
|
|
10915
10915
|
provider: "discord";
|
|
10916
10916
|
resource: "role";
|
|
@@ -11051,11 +11051,11 @@ declare function createRelayClient(options: {
|
|
|
11051
11051
|
} | {
|
|
11052
11052
|
kind: "keyed";
|
|
11053
11053
|
};
|
|
11054
|
-
visibility: "
|
|
11054
|
+
visibility: "hidden" | "visible";
|
|
11055
11055
|
budgets: {
|
|
11056
11056
|
id: string;
|
|
11057
|
-
scope: "
|
|
11058
|
-
period: "day" | "
|
|
11057
|
+
scope: "member" | "project";
|
|
11058
|
+
period: "day" | "lifetime" | "week";
|
|
11059
11059
|
limit: number;
|
|
11060
11060
|
cost: number | {
|
|
11061
11061
|
balance: string;
|
|
@@ -11186,7 +11186,7 @@ declare function createRelayClient(options: {
|
|
|
11186
11186
|
quest: string;
|
|
11187
11187
|
member: string;
|
|
11188
11188
|
evidence: string | null;
|
|
11189
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11189
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11190
11190
|
reason: string | null;
|
|
11191
11191
|
retries: number;
|
|
11192
11192
|
generation: number;
|
|
@@ -11252,7 +11252,7 @@ declare function createRelayClient(options: {
|
|
|
11252
11252
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
11253
11253
|
publish: (release: ReleaseInput) => Promise<{
|
|
11254
11254
|
quest: string;
|
|
11255
|
-
runtimeVersion:
|
|
11255
|
+
runtimeVersion: 1 | 2;
|
|
11256
11256
|
title: string;
|
|
11257
11257
|
presentation: {
|
|
11258
11258
|
quiz?: {
|
|
@@ -11289,12 +11289,12 @@ declare function createRelayClient(options: {
|
|
|
11289
11289
|
kind: "resource";
|
|
11290
11290
|
default: string;
|
|
11291
11291
|
source: {
|
|
11292
|
-
provider: "domino";
|
|
11293
|
-
resource: "point-ledger";
|
|
11294
|
-
} | {
|
|
11295
11292
|
provider: "discord";
|
|
11296
11293
|
resource: "channel";
|
|
11297
11294
|
types: ("text" | "announcement")[];
|
|
11295
|
+
} | {
|
|
11296
|
+
provider: "domino";
|
|
11297
|
+
resource: "point-ledger";
|
|
11298
11298
|
} | {
|
|
11299
11299
|
provider: "discord";
|
|
11300
11300
|
resource: "role";
|
|
@@ -11435,11 +11435,11 @@ declare function createRelayClient(options: {
|
|
|
11435
11435
|
} | {
|
|
11436
11436
|
kind: "keyed";
|
|
11437
11437
|
};
|
|
11438
|
-
visibility: "
|
|
11438
|
+
visibility: "hidden" | "visible";
|
|
11439
11439
|
budgets: {
|
|
11440
11440
|
id: string;
|
|
11441
|
-
scope: "
|
|
11442
|
-
period: "day" | "
|
|
11441
|
+
scope: "member" | "project";
|
|
11442
|
+
period: "day" | "lifetime" | "week";
|
|
11443
11443
|
limit: number;
|
|
11444
11444
|
cost: number | {
|
|
11445
11445
|
balance: string;
|
|
@@ -11484,7 +11484,7 @@ declare function createRelayClient(options: {
|
|
|
11484
11484
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
11485
11485
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
11486
11486
|
quest: string;
|
|
11487
|
-
runtimeVersion:
|
|
11487
|
+
runtimeVersion: 1 | 2;
|
|
11488
11488
|
title: string;
|
|
11489
11489
|
presentation: {
|
|
11490
11490
|
quiz?: {
|
|
@@ -11521,12 +11521,12 @@ declare function createRelayClient(options: {
|
|
|
11521
11521
|
kind: "resource";
|
|
11522
11522
|
default: string;
|
|
11523
11523
|
source: {
|
|
11524
|
-
provider: "domino";
|
|
11525
|
-
resource: "point-ledger";
|
|
11526
|
-
} | {
|
|
11527
11524
|
provider: "discord";
|
|
11528
11525
|
resource: "channel";
|
|
11529
11526
|
types: ("text" | "announcement")[];
|
|
11527
|
+
} | {
|
|
11528
|
+
provider: "domino";
|
|
11529
|
+
resource: "point-ledger";
|
|
11530
11530
|
} | {
|
|
11531
11531
|
provider: "discord";
|
|
11532
11532
|
resource: "role";
|
|
@@ -11667,11 +11667,11 @@ declare function createRelayClient(options: {
|
|
|
11667
11667
|
} | {
|
|
11668
11668
|
kind: "keyed";
|
|
11669
11669
|
};
|
|
11670
|
-
visibility: "
|
|
11670
|
+
visibility: "hidden" | "visible";
|
|
11671
11671
|
budgets: {
|
|
11672
11672
|
id: string;
|
|
11673
|
-
scope: "
|
|
11674
|
-
period: "day" | "
|
|
11673
|
+
scope: "member" | "project";
|
|
11674
|
+
period: "day" | "lifetime" | "week";
|
|
11675
11675
|
limit: number;
|
|
11676
11676
|
cost: number | {
|
|
11677
11677
|
balance: string;
|
|
@@ -11738,7 +11738,7 @@ declare function createRelayClient(options: {
|
|
|
11738
11738
|
} | undefined;
|
|
11739
11739
|
} | undefined;
|
|
11740
11740
|
};
|
|
11741
|
-
connections: ("
|
|
11741
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
11742
11742
|
trigger: {
|
|
11743
11743
|
kind: "automatic";
|
|
11744
11744
|
observation?: {
|
|
@@ -11784,7 +11784,7 @@ declare function createRelayClient(options: {
|
|
|
11784
11784
|
};
|
|
11785
11785
|
availability: {
|
|
11786
11786
|
kind: "available";
|
|
11787
|
-
input: "quiz" | "
|
|
11787
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
11788
11788
|
} | {
|
|
11789
11789
|
kind: "completed";
|
|
11790
11790
|
} | {
|
|
@@ -11822,7 +11822,7 @@ declare function createRelayClient(options: {
|
|
|
11822
11822
|
kind: "keyed";
|
|
11823
11823
|
};
|
|
11824
11824
|
completionCount: number;
|
|
11825
|
-
visibility: "
|
|
11825
|
+
visibility: "hidden" | "visible";
|
|
11826
11826
|
missing: {
|
|
11827
11827
|
quest: string;
|
|
11828
11828
|
title: string;
|
|
@@ -11833,7 +11833,7 @@ declare function createRelayClient(options: {
|
|
|
11833
11833
|
quest: string;
|
|
11834
11834
|
member: string;
|
|
11835
11835
|
evidence: string | null;
|
|
11836
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11836
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11837
11837
|
reason: string | null;
|
|
11838
11838
|
retries: number;
|
|
11839
11839
|
generation: number;
|
|
@@ -12261,7 +12261,7 @@ declare function createRelayClient(options: {
|
|
|
12261
12261
|
content: {
|
|
12262
12262
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
12263
12263
|
current: {
|
|
12264
|
-
state: "needs-review" | "
|
|
12264
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
12265
12265
|
reason: string | null;
|
|
12266
12266
|
contentAttempt: string;
|
|
12267
12267
|
attempt: string | null;
|
|
@@ -12277,7 +12277,7 @@ declare function createRelayClient(options: {
|
|
|
12277
12277
|
observation: string;
|
|
12278
12278
|
observedAt: number;
|
|
12279
12279
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
12280
|
-
state: "needs-review" | "
|
|
12280
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
12281
12281
|
reason: string | null;
|
|
12282
12282
|
}[];
|
|
12283
12283
|
next: number | null;
|
|
@@ -12292,7 +12292,7 @@ declare function createRelayClient(options: {
|
|
|
12292
12292
|
revision: string;
|
|
12293
12293
|
observation: string;
|
|
12294
12294
|
current: boolean;
|
|
12295
|
-
state: "needs-review" | "
|
|
12295
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
12296
12296
|
reason: string | null;
|
|
12297
12297
|
reward: {
|
|
12298
12298
|
attempt: string | null;
|
|
@@ -12307,7 +12307,7 @@ declare function createRelayClient(options: {
|
|
|
12307
12307
|
quest: string;
|
|
12308
12308
|
content: string;
|
|
12309
12309
|
release: string;
|
|
12310
|
-
state: "pending" | "
|
|
12310
|
+
state: "pending" | "admitted" | "excluded";
|
|
12311
12311
|
reason: string | null;
|
|
12312
12312
|
attempt: string | null;
|
|
12313
12313
|
}[];
|
|
@@ -12322,7 +12322,7 @@ declare function createRelayClient(options: {
|
|
|
12322
12322
|
quest: string;
|
|
12323
12323
|
content: string;
|
|
12324
12324
|
release: string;
|
|
12325
|
-
state: "pending" | "
|
|
12325
|
+
state: "pending" | "admitted" | "excluded";
|
|
12326
12326
|
reason: string | null;
|
|
12327
12327
|
attempt: string | null;
|
|
12328
12328
|
}>;
|
|
@@ -12333,7 +12333,7 @@ declare function createRelayClient(options: {
|
|
|
12333
12333
|
quest: string;
|
|
12334
12334
|
member: string;
|
|
12335
12335
|
evidence: string | null;
|
|
12336
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
12336
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12337
12337
|
reason: string | null;
|
|
12338
12338
|
retries: number;
|
|
12339
12339
|
generation: number;
|
|
@@ -12386,7 +12386,7 @@ declare function createRelayClient(options: {
|
|
|
12386
12386
|
quest: string;
|
|
12387
12387
|
member: string;
|
|
12388
12388
|
evidence: string | null;
|
|
12389
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
12389
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12390
12390
|
reason: string | null;
|
|
12391
12391
|
retries: number;
|
|
12392
12392
|
generation: number;
|
|
@@ -12445,7 +12445,7 @@ declare function createRelayClient(options: {
|
|
|
12445
12445
|
quest: string;
|
|
12446
12446
|
member: string;
|
|
12447
12447
|
evidence: string | null;
|
|
12448
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
12448
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
12449
12449
|
reason: string | null;
|
|
12450
12450
|
retries: number;
|
|
12451
12451
|
generation: number;
|