@domino-sdk/relay 0.23.1 → 0.24.0
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 +63 -63
- package/dist/index.d.ts +138 -138
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -199,10 +199,10 @@ type ProgressObserver = {
|
|
|
199
199
|
};
|
|
200
200
|
|
|
201
201
|
declare const interactionSchema: z.ZodEnum<{
|
|
202
|
-
staff: "staff";
|
|
203
202
|
quiz: "quiz";
|
|
204
|
-
text: "text";
|
|
205
203
|
url: "url";
|
|
204
|
+
text: "text";
|
|
205
|
+
staff: "staff";
|
|
206
206
|
photo: "photo";
|
|
207
207
|
automatic: "automatic";
|
|
208
208
|
claim: "claim";
|
|
@@ -440,8 +440,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
440
440
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
441
441
|
id: z.ZodString;
|
|
442
442
|
scope: z.ZodEnum<{
|
|
443
|
-
project: "project";
|
|
444
443
|
member: "member";
|
|
444
|
+
project: "project";
|
|
445
445
|
}>;
|
|
446
446
|
period: z.ZodEnum<{
|
|
447
447
|
day: "day";
|
|
@@ -840,8 +840,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
840
840
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
841
841
|
id: z.ZodString;
|
|
842
842
|
scope: z.ZodEnum<{
|
|
843
|
-
project: "project";
|
|
844
843
|
member: "member";
|
|
844
|
+
project: "project";
|
|
845
845
|
}>;
|
|
846
846
|
period: z.ZodEnum<{
|
|
847
847
|
day: "day";
|
|
@@ -1184,8 +1184,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1184
1184
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1185
1185
|
id: z.ZodString;
|
|
1186
1186
|
scope: z.ZodEnum<{
|
|
1187
|
-
project: "project";
|
|
1188
1187
|
member: "member";
|
|
1188
|
+
project: "project";
|
|
1189
1189
|
}>;
|
|
1190
1190
|
period: z.ZodEnum<{
|
|
1191
1191
|
day: "day";
|
|
@@ -1281,7 +1281,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1281
1281
|
createdAt: z.ZodNumber;
|
|
1282
1282
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1283
1283
|
quest: string;
|
|
1284
|
-
runtimeVersion:
|
|
1284
|
+
runtimeVersion: 1 | 2;
|
|
1285
1285
|
title: string;
|
|
1286
1286
|
presentation: {
|
|
1287
1287
|
quiz?: {
|
|
@@ -1318,12 +1318,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1318
1318
|
kind: "resource";
|
|
1319
1319
|
default: string;
|
|
1320
1320
|
source: {
|
|
1321
|
-
provider: "domino";
|
|
1322
|
-
resource: "point-ledger";
|
|
1323
|
-
} | {
|
|
1324
1321
|
provider: "discord";
|
|
1325
1322
|
resource: "channel";
|
|
1326
1323
|
types: ("text" | "announcement")[];
|
|
1324
|
+
} | {
|
|
1325
|
+
provider: "domino";
|
|
1326
|
+
resource: "point-ledger";
|
|
1327
1327
|
} | {
|
|
1328
1328
|
provider: "discord";
|
|
1329
1329
|
resource: "role";
|
|
@@ -1462,7 +1462,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1462
1462
|
visibility: "visible" | "hidden";
|
|
1463
1463
|
budgets: {
|
|
1464
1464
|
id: string;
|
|
1465
|
-
scope: "
|
|
1465
|
+
scope: "member" | "project";
|
|
1466
1466
|
period: "day" | "lifetime";
|
|
1467
1467
|
limit: number;
|
|
1468
1468
|
cost: number | {
|
|
@@ -1542,10 +1542,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1542
1542
|
createdAt: number;
|
|
1543
1543
|
}>>]>>>;
|
|
1544
1544
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1545
|
-
staff: "staff";
|
|
1546
1545
|
quiz: "quiz";
|
|
1547
|
-
text: "text";
|
|
1548
1546
|
url: "url";
|
|
1547
|
+
text: "text";
|
|
1548
|
+
staff: "staff";
|
|
1549
1549
|
photo: "photo";
|
|
1550
1550
|
automatic: "automatic";
|
|
1551
1551
|
claim: "claim";
|
|
@@ -1575,10 +1575,10 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1575
1575
|
id?: string | undefined;
|
|
1576
1576
|
}>>>>;
|
|
1577
1577
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1578
|
-
staff: "staff";
|
|
1579
1578
|
quiz: "quiz";
|
|
1580
|
-
text: "text";
|
|
1581
1579
|
url: "url";
|
|
1580
|
+
text: "text";
|
|
1581
|
+
staff: "staff";
|
|
1582
1582
|
photo: "photo";
|
|
1583
1583
|
automatic: "automatic";
|
|
1584
1584
|
claim: "claim";
|
|
@@ -1817,8 +1817,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1817
1817
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1818
1818
|
id: z.ZodString;
|
|
1819
1819
|
scope: z.ZodEnum<{
|
|
1820
|
-
project: "project";
|
|
1821
1820
|
member: "member";
|
|
1821
|
+
project: "project";
|
|
1822
1822
|
}>;
|
|
1823
1823
|
period: z.ZodEnum<{
|
|
1824
1824
|
day: "day";
|
|
@@ -1845,10 +1845,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1845
1845
|
title: z.ZodString;
|
|
1846
1846
|
}, z.core.$strict>>;
|
|
1847
1847
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1848
|
-
staff: "staff";
|
|
1849
1848
|
quiz: "quiz";
|
|
1850
|
-
text: "text";
|
|
1851
1849
|
url: "url";
|
|
1850
|
+
text: "text";
|
|
1851
|
+
staff: "staff";
|
|
1852
1852
|
photo: "photo";
|
|
1853
1853
|
automatic: "automatic";
|
|
1854
1854
|
claim: "claim";
|
|
@@ -1944,10 +1944,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1944
1944
|
}, z.core.$strict>>;
|
|
1945
1945
|
}, z.core.$strict>>;
|
|
1946
1946
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1947
|
-
discord: "discord";
|
|
1948
1947
|
google: "google";
|
|
1949
1948
|
apple: "apple";
|
|
1950
1949
|
x: "x";
|
|
1950
|
+
discord: "discord";
|
|
1951
1951
|
}>>>;
|
|
1952
1952
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1953
1953
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2014,8 +2014,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2014
2014
|
kind: z.ZodLiteral<"available">;
|
|
2015
2015
|
input: z.ZodEnum<{
|
|
2016
2016
|
quiz: "quiz";
|
|
2017
|
-
text: "text";
|
|
2018
2017
|
url: "url";
|
|
2018
|
+
text: "text";
|
|
2019
2019
|
photo: "photo";
|
|
2020
2020
|
none: "none";
|
|
2021
2021
|
}>;
|
|
@@ -2114,12 +2114,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2114
2114
|
value: z.ZodString;
|
|
2115
2115
|
}, z.core.$strict>]>>;
|
|
2116
2116
|
status: z.ZodEnum<{
|
|
2117
|
+
"needs-review": "needs-review";
|
|
2117
2118
|
queued: "queued";
|
|
2118
2119
|
evaluating: "evaluating";
|
|
2119
2120
|
accepted: "accepted";
|
|
2120
2121
|
progressed: "progressed";
|
|
2121
2122
|
rejected: "rejected";
|
|
2122
|
-
"needs-review": "needs-review";
|
|
2123
2123
|
failed: "failed";
|
|
2124
2124
|
}>;
|
|
2125
2125
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2157,10 +2157,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2157
2157
|
}, z.core.$strip>>;
|
|
2158
2158
|
release: z.ZodString;
|
|
2159
2159
|
interaction: z.ZodEnum<{
|
|
2160
|
-
staff: "staff";
|
|
2161
2160
|
quiz: "quiz";
|
|
2162
|
-
text: "text";
|
|
2163
2161
|
url: "url";
|
|
2162
|
+
text: "text";
|
|
2163
|
+
staff: "staff";
|
|
2164
2164
|
photo: "photo";
|
|
2165
2165
|
automatic: "automatic";
|
|
2166
2166
|
claim: "claim";
|
|
@@ -2222,10 +2222,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2222
2222
|
}, z.core.$strict>>;
|
|
2223
2223
|
}, z.core.$strict>>;
|
|
2224
2224
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2225
|
-
discord: "discord";
|
|
2226
2225
|
google: "google";
|
|
2227
2226
|
apple: "apple";
|
|
2228
2227
|
x: "x";
|
|
2228
|
+
discord: "discord";
|
|
2229
2229
|
}>>>;
|
|
2230
2230
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2231
2231
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2292,8 +2292,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2292
2292
|
kind: z.ZodLiteral<"available">;
|
|
2293
2293
|
input: z.ZodEnum<{
|
|
2294
2294
|
quiz: "quiz";
|
|
2295
|
-
text: "text";
|
|
2296
2295
|
url: "url";
|
|
2296
|
+
text: "text";
|
|
2297
2297
|
photo: "photo";
|
|
2298
2298
|
none: "none";
|
|
2299
2299
|
}>;
|
|
@@ -2392,12 +2392,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2392
2392
|
value: z.ZodString;
|
|
2393
2393
|
}, z.core.$strict>]>>;
|
|
2394
2394
|
status: z.ZodEnum<{
|
|
2395
|
+
"needs-review": "needs-review";
|
|
2395
2396
|
queued: "queued";
|
|
2396
2397
|
evaluating: "evaluating";
|
|
2397
2398
|
accepted: "accepted";
|
|
2398
2399
|
progressed: "progressed";
|
|
2399
2400
|
rejected: "rejected";
|
|
2400
|
-
"needs-review": "needs-review";
|
|
2401
2401
|
failed: "failed";
|
|
2402
2402
|
}>;
|
|
2403
2403
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2435,10 +2435,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2435
2435
|
}, z.core.$strip>>;
|
|
2436
2436
|
release: z.ZodString;
|
|
2437
2437
|
interaction: z.ZodEnum<{
|
|
2438
|
-
staff: "staff";
|
|
2439
2438
|
quiz: "quiz";
|
|
2440
|
-
text: "text";
|
|
2441
2439
|
url: "url";
|
|
2440
|
+
text: "text";
|
|
2441
|
+
staff: "staff";
|
|
2442
2442
|
photo: "photo";
|
|
2443
2443
|
automatic: "automatic";
|
|
2444
2444
|
claim: "claim";
|
|
@@ -2499,10 +2499,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2499
2499
|
}, z.core.$strict>>;
|
|
2500
2500
|
}, z.core.$strict>>;
|
|
2501
2501
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2502
|
-
discord: "discord";
|
|
2503
2502
|
google: "google";
|
|
2504
2503
|
apple: "apple";
|
|
2505
2504
|
x: "x";
|
|
2505
|
+
discord: "discord";
|
|
2506
2506
|
}>>>;
|
|
2507
2507
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2508
2508
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2569,8 +2569,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2569
2569
|
kind: z.ZodLiteral<"available">;
|
|
2570
2570
|
input: z.ZodEnum<{
|
|
2571
2571
|
quiz: "quiz";
|
|
2572
|
-
text: "text";
|
|
2573
2572
|
url: "url";
|
|
2573
|
+
text: "text";
|
|
2574
2574
|
photo: "photo";
|
|
2575
2575
|
none: "none";
|
|
2576
2576
|
}>;
|
|
@@ -2669,12 +2669,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2669
2669
|
value: z.ZodString;
|
|
2670
2670
|
}, z.core.$strict>]>>;
|
|
2671
2671
|
status: z.ZodEnum<{
|
|
2672
|
+
"needs-review": "needs-review";
|
|
2672
2673
|
queued: "queued";
|
|
2673
2674
|
evaluating: "evaluating";
|
|
2674
2675
|
accepted: "accepted";
|
|
2675
2676
|
progressed: "progressed";
|
|
2676
2677
|
rejected: "rejected";
|
|
2677
|
-
"needs-review": "needs-review";
|
|
2678
2678
|
failed: "failed";
|
|
2679
2679
|
}>;
|
|
2680
2680
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2712,10 +2712,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2712
2712
|
}, z.core.$strip>>;
|
|
2713
2713
|
release: z.ZodString;
|
|
2714
2714
|
interaction: z.ZodEnum<{
|
|
2715
|
-
staff: "staff";
|
|
2716
2715
|
quiz: "quiz";
|
|
2717
|
-
text: "text";
|
|
2718
2716
|
url: "url";
|
|
2717
|
+
text: "text";
|
|
2718
|
+
staff: "staff";
|
|
2719
2719
|
photo: "photo";
|
|
2720
2720
|
automatic: "automatic";
|
|
2721
2721
|
claim: "claim";
|
|
@@ -2777,10 +2777,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2777
2777
|
}, z.core.$strict>>;
|
|
2778
2778
|
}, z.core.$strict>>;
|
|
2779
2779
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2780
|
-
discord: "discord";
|
|
2781
2780
|
google: "google";
|
|
2782
2781
|
apple: "apple";
|
|
2783
2782
|
x: "x";
|
|
2783
|
+
discord: "discord";
|
|
2784
2784
|
}>>>;
|
|
2785
2785
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2786
2786
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2847,8 +2847,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2847
2847
|
kind: z.ZodLiteral<"available">;
|
|
2848
2848
|
input: z.ZodEnum<{
|
|
2849
2849
|
quiz: "quiz";
|
|
2850
|
-
text: "text";
|
|
2851
2850
|
url: "url";
|
|
2851
|
+
text: "text";
|
|
2852
2852
|
photo: "photo";
|
|
2853
2853
|
none: "none";
|
|
2854
2854
|
}>;
|
|
@@ -2947,12 +2947,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2947
2947
|
value: z.ZodString;
|
|
2948
2948
|
}, z.core.$strict>]>>;
|
|
2949
2949
|
status: z.ZodEnum<{
|
|
2950
|
+
"needs-review": "needs-review";
|
|
2950
2951
|
queued: "queued";
|
|
2951
2952
|
evaluating: "evaluating";
|
|
2952
2953
|
accepted: "accepted";
|
|
2953
2954
|
progressed: "progressed";
|
|
2954
2955
|
rejected: "rejected";
|
|
2955
|
-
"needs-review": "needs-review";
|
|
2956
2956
|
failed: "failed";
|
|
2957
2957
|
}>;
|
|
2958
2958
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2990,10 +2990,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2990
2990
|
}, z.core.$strip>>;
|
|
2991
2991
|
release: z.ZodString;
|
|
2992
2992
|
interaction: z.ZodEnum<{
|
|
2993
|
-
staff: "staff";
|
|
2994
2993
|
quiz: "quiz";
|
|
2995
|
-
text: "text";
|
|
2996
2994
|
url: "url";
|
|
2995
|
+
text: "text";
|
|
2996
|
+
staff: "staff";
|
|
2997
2997
|
photo: "photo";
|
|
2998
2998
|
automatic: "automatic";
|
|
2999
2999
|
claim: "claim";
|
|
@@ -3330,8 +3330,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3330
3330
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3331
3331
|
id: z.ZodString;
|
|
3332
3332
|
scope: z.ZodEnum<{
|
|
3333
|
-
project: "project";
|
|
3334
3333
|
member: "member";
|
|
3334
|
+
project: "project";
|
|
3335
3335
|
}>;
|
|
3336
3336
|
period: z.ZodEnum<{
|
|
3337
3337
|
day: "day";
|
|
@@ -3427,7 +3427,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3427
3427
|
createdAt: z.ZodNumber;
|
|
3428
3428
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3429
3429
|
quest: string;
|
|
3430
|
-
runtimeVersion:
|
|
3430
|
+
runtimeVersion: 1 | 2;
|
|
3431
3431
|
title: string;
|
|
3432
3432
|
presentation: {
|
|
3433
3433
|
quiz?: {
|
|
@@ -3464,12 +3464,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3464
3464
|
kind: "resource";
|
|
3465
3465
|
default: string;
|
|
3466
3466
|
source: {
|
|
3467
|
-
provider: "domino";
|
|
3468
|
-
resource: "point-ledger";
|
|
3469
|
-
} | {
|
|
3470
3467
|
provider: "discord";
|
|
3471
3468
|
resource: "channel";
|
|
3472
3469
|
types: ("text" | "announcement")[];
|
|
3470
|
+
} | {
|
|
3471
|
+
provider: "domino";
|
|
3472
|
+
resource: "point-ledger";
|
|
3473
3473
|
} | {
|
|
3474
3474
|
provider: "discord";
|
|
3475
3475
|
resource: "role";
|
|
@@ -3608,7 +3608,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3608
3608
|
visibility: "visible" | "hidden";
|
|
3609
3609
|
budgets: {
|
|
3610
3610
|
id: string;
|
|
3611
|
-
scope: "
|
|
3611
|
+
scope: "member" | "project";
|
|
3612
3612
|
period: "day" | "lifetime";
|
|
3613
3613
|
limit: number;
|
|
3614
3614
|
cost: number | {
|
|
@@ -3778,8 +3778,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3778
3778
|
action: z.ZodLiteral<"grant-role">;
|
|
3779
3779
|
roleId: z.ZodString;
|
|
3780
3780
|
status: z.ZodEnum<{
|
|
3781
|
-
failed: "failed";
|
|
3782
3781
|
pending: "pending";
|
|
3782
|
+
failed: "failed";
|
|
3783
3783
|
delivered: "delivered";
|
|
3784
3784
|
}>;
|
|
3785
3785
|
attempts: z.ZodNumber;
|
|
@@ -3798,8 +3798,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3798
3798
|
action: z.ZodLiteral<"grant-role">;
|
|
3799
3799
|
roleId: z.ZodString;
|
|
3800
3800
|
status: z.ZodEnum<{
|
|
3801
|
-
failed: "failed";
|
|
3802
3801
|
pending: "pending";
|
|
3802
|
+
failed: "failed";
|
|
3803
3803
|
delivered: "delivered";
|
|
3804
3804
|
}>;
|
|
3805
3805
|
attempts: z.ZodNumber;
|
|
@@ -3968,10 +3968,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3968
3968
|
}>;
|
|
3969
3969
|
}, z.core.$strip>>>;
|
|
3970
3970
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3971
|
-
staff: "staff";
|
|
3972
3971
|
quiz: "quiz";
|
|
3973
|
-
text: "text";
|
|
3974
3972
|
url: "url";
|
|
3973
|
+
text: "text";
|
|
3974
|
+
staff: "staff";
|
|
3975
3975
|
photo: "photo";
|
|
3976
3976
|
automatic: "automatic";
|
|
3977
3977
|
claim: "claim";
|
|
@@ -4051,7 +4051,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4051
4051
|
tier: z.ZodString;
|
|
4052
4052
|
}, z.core.$strict>]>>>;
|
|
4053
4053
|
}, z.core.$strict>>;
|
|
4054
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4055
4054
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4056
4055
|
kind: z.ZodLiteral<"signup">;
|
|
4057
4056
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4060,6 +4059,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4060
4059
|
}, z.core.$strict>, z.ZodObject<{
|
|
4061
4060
|
kind: z.ZodLiteral<"external">;
|
|
4062
4061
|
}, z.core.$strict>], "kind">;
|
|
4062
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4063
4063
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4064
4064
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4065
4065
|
id: z.ZodString;
|
|
@@ -4146,7 +4146,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4146
4146
|
amount: number;
|
|
4147
4147
|
})[];
|
|
4148
4148
|
};
|
|
4149
|
-
enabled: boolean;
|
|
4150
4149
|
qualification: {
|
|
4151
4150
|
kind: "signup";
|
|
4152
4151
|
} | {
|
|
@@ -4155,6 +4154,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4155
4154
|
} | {
|
|
4156
4155
|
kind: "external";
|
|
4157
4156
|
};
|
|
4157
|
+
enabled: boolean;
|
|
4158
4158
|
milestones: {
|
|
4159
4159
|
id: string;
|
|
4160
4160
|
count: number;
|
|
@@ -4243,7 +4243,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4243
4243
|
amount: number;
|
|
4244
4244
|
})[];
|
|
4245
4245
|
};
|
|
4246
|
-
enabled: boolean;
|
|
4247
4246
|
qualification: {
|
|
4248
4247
|
kind: "signup";
|
|
4249
4248
|
} | {
|
|
@@ -4252,6 +4251,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4252
4251
|
} | {
|
|
4253
4252
|
kind: "external";
|
|
4254
4253
|
};
|
|
4254
|
+
enabled: boolean;
|
|
4255
4255
|
milestones: {
|
|
4256
4256
|
id: string;
|
|
4257
4257
|
count: number;
|
|
@@ -4296,6 +4296,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4296
4296
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4297
4297
|
title: z.ZodString;
|
|
4298
4298
|
balance: z.ZodString;
|
|
4299
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4299
4300
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4300
4301
|
kind: z.ZodLiteral<"balance">;
|
|
4301
4302
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4344,7 +4345,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4344
4345
|
participants: "participants";
|
|
4345
4346
|
public: "public";
|
|
4346
4347
|
}>>;
|
|
4347
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4348
4348
|
key: z.ZodOptional<z.ZodString>;
|
|
4349
4349
|
id: z.ZodOptional<z.ZodString>;
|
|
4350
4350
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4469,10 +4469,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4469
4469
|
}>;
|
|
4470
4470
|
}, z.core.$strip>>>;
|
|
4471
4471
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4472
|
-
staff: "staff";
|
|
4473
4472
|
quiz: "quiz";
|
|
4474
|
-
text: "text";
|
|
4475
4473
|
url: "url";
|
|
4474
|
+
text: "text";
|
|
4475
|
+
staff: "staff";
|
|
4476
4476
|
photo: "photo";
|
|
4477
4477
|
automatic: "automatic";
|
|
4478
4478
|
claim: "claim";
|
|
@@ -4552,7 +4552,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4552
4552
|
tier: z.ZodString;
|
|
4553
4553
|
}, z.core.$strict>]>>>;
|
|
4554
4554
|
}, z.core.$strict>>;
|
|
4555
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4556
4555
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4557
4556
|
kind: z.ZodLiteral<"signup">;
|
|
4558
4557
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4561,6 +4560,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4561
4560
|
}, z.core.$strict>, z.ZodObject<{
|
|
4562
4561
|
kind: z.ZodLiteral<"external">;
|
|
4563
4562
|
}, z.core.$strict>], "kind">;
|
|
4563
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4564
4564
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4565
4565
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4566
4566
|
id: z.ZodString;
|
|
@@ -4647,7 +4647,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4647
4647
|
amount: number;
|
|
4648
4648
|
})[];
|
|
4649
4649
|
};
|
|
4650
|
-
enabled: boolean;
|
|
4651
4650
|
qualification: {
|
|
4652
4651
|
kind: "signup";
|
|
4653
4652
|
} | {
|
|
@@ -4656,6 +4655,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4656
4655
|
} | {
|
|
4657
4656
|
kind: "external";
|
|
4658
4657
|
};
|
|
4658
|
+
enabled: boolean;
|
|
4659
4659
|
milestones: {
|
|
4660
4660
|
id: string;
|
|
4661
4661
|
count: number;
|
|
@@ -4744,7 +4744,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4744
4744
|
amount: number;
|
|
4745
4745
|
})[];
|
|
4746
4746
|
};
|
|
4747
|
-
enabled: boolean;
|
|
4748
4747
|
qualification: {
|
|
4749
4748
|
kind: "signup";
|
|
4750
4749
|
} | {
|
|
@@ -4753,6 +4752,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4753
4752
|
} | {
|
|
4754
4753
|
kind: "external";
|
|
4755
4754
|
};
|
|
4755
|
+
enabled: boolean;
|
|
4756
4756
|
milestones: {
|
|
4757
4757
|
id: string;
|
|
4758
4758
|
count: number;
|
|
@@ -4797,6 +4797,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4797
4797
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4798
4798
|
title: z.ZodString;
|
|
4799
4799
|
balance: z.ZodString;
|
|
4800
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4800
4801
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4801
4802
|
kind: z.ZodLiteral<"balance">;
|
|
4802
4803
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4845,7 +4846,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4845
4846
|
participants: "participants";
|
|
4846
4847
|
public: "public";
|
|
4847
4848
|
}>>;
|
|
4848
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4849
4849
|
key: z.ZodOptional<z.ZodString>;
|
|
4850
4850
|
id: z.ZodOptional<z.ZodString>;
|
|
4851
4851
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5340,8 +5340,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5340
5340
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5341
5341
|
id: z.ZodString;
|
|
5342
5342
|
scope: z.ZodEnum<{
|
|
5343
|
-
project: "project";
|
|
5344
5343
|
member: "member";
|
|
5344
|
+
project: "project";
|
|
5345
5345
|
}>;
|
|
5346
5346
|
period: z.ZodEnum<{
|
|
5347
5347
|
day: "day";
|
|
@@ -5437,7 +5437,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5437
5437
|
createdAt: z.ZodNumber;
|
|
5438
5438
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5439
5439
|
quest: string;
|
|
5440
|
-
runtimeVersion:
|
|
5440
|
+
runtimeVersion: 1 | 2;
|
|
5441
5441
|
title: string;
|
|
5442
5442
|
presentation: {
|
|
5443
5443
|
quiz?: {
|
|
@@ -5474,12 +5474,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5474
5474
|
kind: "resource";
|
|
5475
5475
|
default: string;
|
|
5476
5476
|
source: {
|
|
5477
|
-
provider: "domino";
|
|
5478
|
-
resource: "point-ledger";
|
|
5479
|
-
} | {
|
|
5480
5477
|
provider: "discord";
|
|
5481
5478
|
resource: "channel";
|
|
5482
5479
|
types: ("text" | "announcement")[];
|
|
5480
|
+
} | {
|
|
5481
|
+
provider: "domino";
|
|
5482
|
+
resource: "point-ledger";
|
|
5483
5483
|
} | {
|
|
5484
5484
|
provider: "discord";
|
|
5485
5485
|
resource: "role";
|
|
@@ -5618,7 +5618,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5618
5618
|
visibility: "visible" | "hidden";
|
|
5619
5619
|
budgets: {
|
|
5620
5620
|
id: string;
|
|
5621
|
-
scope: "
|
|
5621
|
+
scope: "member" | "project";
|
|
5622
5622
|
period: "day" | "lifetime";
|
|
5623
5623
|
limit: number;
|
|
5624
5624
|
cost: number | {
|
|
@@ -5928,8 +5928,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5928
5928
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5929
5929
|
id: z.ZodString;
|
|
5930
5930
|
scope: z.ZodEnum<{
|
|
5931
|
-
project: "project";
|
|
5932
5931
|
member: "member";
|
|
5932
|
+
project: "project";
|
|
5933
5933
|
}>;
|
|
5934
5934
|
period: z.ZodEnum<{
|
|
5935
5935
|
day: "day";
|
|
@@ -5957,10 +5957,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5957
5957
|
quests: z.ZodArray<z.ZodString>;
|
|
5958
5958
|
}, z.core.$strict>>;
|
|
5959
5959
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5960
|
-
staff: "staff";
|
|
5961
5960
|
quiz: "quiz";
|
|
5962
|
-
text: "text";
|
|
5963
5961
|
url: "url";
|
|
5962
|
+
text: "text";
|
|
5963
|
+
staff: "staff";
|
|
5964
5964
|
photo: "photo";
|
|
5965
5965
|
automatic: "automatic";
|
|
5966
5966
|
claim: "claim";
|
|
@@ -6599,8 +6599,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6599
6599
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6600
6600
|
id: z.ZodString;
|
|
6601
6601
|
scope: z.ZodEnum<{
|
|
6602
|
-
project: "project";
|
|
6603
6602
|
member: "member";
|
|
6603
|
+
project: "project";
|
|
6604
6604
|
}>;
|
|
6605
6605
|
period: z.ZodEnum<{
|
|
6606
6606
|
day: "day";
|
|
@@ -6696,7 +6696,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6696
6696
|
createdAt: z.ZodNumber;
|
|
6697
6697
|
}, z.core.$strip>, z.ZodTransform<{
|
|
6698
6698
|
quest: string;
|
|
6699
|
-
runtimeVersion:
|
|
6699
|
+
runtimeVersion: 1 | 2;
|
|
6700
6700
|
title: string;
|
|
6701
6701
|
presentation: {
|
|
6702
6702
|
quiz?: {
|
|
@@ -6733,12 +6733,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6733
6733
|
kind: "resource";
|
|
6734
6734
|
default: string;
|
|
6735
6735
|
source: {
|
|
6736
|
-
provider: "domino";
|
|
6737
|
-
resource: "point-ledger";
|
|
6738
|
-
} | {
|
|
6739
6736
|
provider: "discord";
|
|
6740
6737
|
resource: "channel";
|
|
6741
6738
|
types: ("text" | "announcement")[];
|
|
6739
|
+
} | {
|
|
6740
|
+
provider: "domino";
|
|
6741
|
+
resource: "point-ledger";
|
|
6742
6742
|
} | {
|
|
6743
6743
|
provider: "discord";
|
|
6744
6744
|
resource: "role";
|
|
@@ -6877,7 +6877,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6877
6877
|
visibility: "visible" | "hidden";
|
|
6878
6878
|
budgets: {
|
|
6879
6879
|
id: string;
|
|
6880
|
-
scope: "
|
|
6880
|
+
scope: "member" | "project";
|
|
6881
6881
|
period: "day" | "lifetime";
|
|
6882
6882
|
limit: number;
|
|
6883
6883
|
cost: number | {
|
|
@@ -7187,8 +7187,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7187
7187
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7188
7188
|
id: z.ZodString;
|
|
7189
7189
|
scope: z.ZodEnum<{
|
|
7190
|
-
project: "project";
|
|
7191
7190
|
member: "member";
|
|
7191
|
+
project: "project";
|
|
7192
7192
|
}>;
|
|
7193
7193
|
period: z.ZodEnum<{
|
|
7194
7194
|
day: "day";
|
|
@@ -7216,10 +7216,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7216
7216
|
quests: z.ZodArray<z.ZodString>;
|
|
7217
7217
|
}, z.core.$strict>>;
|
|
7218
7218
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
7219
|
-
staff: "staff";
|
|
7220
7219
|
quiz: "quiz";
|
|
7221
|
-
text: "text";
|
|
7222
7220
|
url: "url";
|
|
7221
|
+
text: "text";
|
|
7222
|
+
staff: "staff";
|
|
7223
7223
|
photo: "photo";
|
|
7224
7224
|
automatic: "automatic";
|
|
7225
7225
|
claim: "claim";
|
|
@@ -7730,7 +7730,7 @@ declare function createRelayClient(options: {
|
|
|
7730
7730
|
accounts: {
|
|
7731
7731
|
id: string;
|
|
7732
7732
|
program: string;
|
|
7733
|
-
kind: "
|
|
7733
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
7734
7734
|
balance: string;
|
|
7735
7735
|
earned: number;
|
|
7736
7736
|
settled: number;
|
|
@@ -7878,7 +7878,7 @@ declare function createRelayClient(options: {
|
|
|
7878
7878
|
} | undefined;
|
|
7879
7879
|
} | undefined;
|
|
7880
7880
|
};
|
|
7881
|
-
connections: ("
|
|
7881
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7882
7882
|
trigger: {
|
|
7883
7883
|
kind: "automatic";
|
|
7884
7884
|
observation?: {
|
|
@@ -7919,7 +7919,7 @@ declare function createRelayClient(options: {
|
|
|
7919
7919
|
};
|
|
7920
7920
|
availability: {
|
|
7921
7921
|
kind: "available";
|
|
7922
|
-
input: "quiz" | "
|
|
7922
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
7923
7923
|
} | {
|
|
7924
7924
|
kind: "completed";
|
|
7925
7925
|
} | {
|
|
@@ -7968,7 +7968,7 @@ declare function createRelayClient(options: {
|
|
|
7968
7968
|
quest: string;
|
|
7969
7969
|
member: string;
|
|
7970
7970
|
evidence: string | null;
|
|
7971
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7971
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7972
7972
|
reason: string | null;
|
|
7973
7973
|
retries: number;
|
|
7974
7974
|
generation: number;
|
|
@@ -8016,7 +8016,7 @@ declare function createRelayClient(options: {
|
|
|
8016
8016
|
} | undefined;
|
|
8017
8017
|
} | null;
|
|
8018
8018
|
release: string;
|
|
8019
|
-
interaction: "
|
|
8019
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8020
8020
|
lifecycle: "active" | "paused" | "archived";
|
|
8021
8021
|
rewards: ({
|
|
8022
8022
|
kind: "points";
|
|
@@ -8078,7 +8078,7 @@ declare function createRelayClient(options: {
|
|
|
8078
8078
|
quest: string;
|
|
8079
8079
|
member: string;
|
|
8080
8080
|
evidence: string | null;
|
|
8081
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8081
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8082
8082
|
reason: string | null;
|
|
8083
8083
|
retries: number;
|
|
8084
8084
|
generation: number;
|
|
@@ -8150,7 +8150,7 @@ declare function createRelayClient(options: {
|
|
|
8150
8150
|
} | undefined;
|
|
8151
8151
|
} | undefined;
|
|
8152
8152
|
};
|
|
8153
|
-
connections: ("
|
|
8153
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8154
8154
|
trigger: {
|
|
8155
8155
|
kind: "automatic";
|
|
8156
8156
|
observation?: {
|
|
@@ -8191,7 +8191,7 @@ declare function createRelayClient(options: {
|
|
|
8191
8191
|
};
|
|
8192
8192
|
availability: {
|
|
8193
8193
|
kind: "available";
|
|
8194
|
-
input: "quiz" | "
|
|
8194
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8195
8195
|
} | {
|
|
8196
8196
|
kind: "completed";
|
|
8197
8197
|
} | {
|
|
@@ -8240,7 +8240,7 @@ declare function createRelayClient(options: {
|
|
|
8240
8240
|
quest: string;
|
|
8241
8241
|
member: string;
|
|
8242
8242
|
evidence: string | null;
|
|
8243
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8243
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8244
8244
|
reason: string | null;
|
|
8245
8245
|
retries: number;
|
|
8246
8246
|
generation: number;
|
|
@@ -8288,7 +8288,7 @@ declare function createRelayClient(options: {
|
|
|
8288
8288
|
} | undefined;
|
|
8289
8289
|
} | null;
|
|
8290
8290
|
release: string;
|
|
8291
|
-
interaction: "
|
|
8291
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8292
8292
|
lifecycle: "active" | "paused" | "archived";
|
|
8293
8293
|
rewards: ({
|
|
8294
8294
|
kind: "points";
|
|
@@ -8370,7 +8370,7 @@ declare function createRelayClient(options: {
|
|
|
8370
8370
|
} | undefined;
|
|
8371
8371
|
} | undefined;
|
|
8372
8372
|
};
|
|
8373
|
-
connections: ("
|
|
8373
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8374
8374
|
trigger: {
|
|
8375
8375
|
kind: "automatic";
|
|
8376
8376
|
observation?: {
|
|
@@ -8411,7 +8411,7 @@ declare function createRelayClient(options: {
|
|
|
8411
8411
|
};
|
|
8412
8412
|
availability: {
|
|
8413
8413
|
kind: "available";
|
|
8414
|
-
input: "quiz" | "
|
|
8414
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8415
8415
|
} | {
|
|
8416
8416
|
kind: "completed";
|
|
8417
8417
|
} | {
|
|
@@ -8460,7 +8460,7 @@ declare function createRelayClient(options: {
|
|
|
8460
8460
|
quest: string;
|
|
8461
8461
|
member: string;
|
|
8462
8462
|
evidence: string | null;
|
|
8463
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8463
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8464
8464
|
reason: string | null;
|
|
8465
8465
|
retries: number;
|
|
8466
8466
|
generation: number;
|
|
@@ -8508,7 +8508,7 @@ declare function createRelayClient(options: {
|
|
|
8508
8508
|
} | undefined;
|
|
8509
8509
|
} | null;
|
|
8510
8510
|
release: string;
|
|
8511
|
-
interaction: "
|
|
8511
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8512
8512
|
lifecycle: "active" | "paused" | "archived";
|
|
8513
8513
|
rewards: ({
|
|
8514
8514
|
kind: "points";
|
|
@@ -8593,7 +8593,7 @@ declare function createRelayClient(options: {
|
|
|
8593
8593
|
} | undefined;
|
|
8594
8594
|
} | undefined;
|
|
8595
8595
|
};
|
|
8596
|
-
connections: ("
|
|
8596
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8597
8597
|
trigger: {
|
|
8598
8598
|
kind: "automatic";
|
|
8599
8599
|
observation?: {
|
|
@@ -8634,7 +8634,7 @@ declare function createRelayClient(options: {
|
|
|
8634
8634
|
};
|
|
8635
8635
|
availability: {
|
|
8636
8636
|
kind: "available";
|
|
8637
|
-
input: "quiz" | "
|
|
8637
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8638
8638
|
} | {
|
|
8639
8639
|
kind: "completed";
|
|
8640
8640
|
} | {
|
|
@@ -8683,7 +8683,7 @@ declare function createRelayClient(options: {
|
|
|
8683
8683
|
quest: string;
|
|
8684
8684
|
member: string;
|
|
8685
8685
|
evidence: string | null;
|
|
8686
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8686
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8687
8687
|
reason: string | null;
|
|
8688
8688
|
retries: number;
|
|
8689
8689
|
generation: number;
|
|
@@ -8731,7 +8731,7 @@ declare function createRelayClient(options: {
|
|
|
8731
8731
|
} | undefined;
|
|
8732
8732
|
} | null;
|
|
8733
8733
|
release: string;
|
|
8734
|
-
interaction: "
|
|
8734
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8735
8735
|
lifecycle: "active" | "paused" | "archived";
|
|
8736
8736
|
rewards: ({
|
|
8737
8737
|
kind: "points";
|
|
@@ -8819,7 +8819,7 @@ declare function createRelayClient(options: {
|
|
|
8819
8819
|
auth: {
|
|
8820
8820
|
providers: () => Promise<{
|
|
8821
8821
|
providers: {
|
|
8822
|
-
provider: "
|
|
8822
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
8823
8823
|
configured: boolean;
|
|
8824
8824
|
}[];
|
|
8825
8825
|
email: boolean;
|
|
@@ -8849,7 +8849,7 @@ declare function createRelayClient(options: {
|
|
|
8849
8849
|
expiresAt: number;
|
|
8850
8850
|
}>;
|
|
8851
8851
|
accounts: () => Promise<{
|
|
8852
|
-
provider: "
|
|
8852
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
8853
8853
|
configured: boolean;
|
|
8854
8854
|
status: "disconnected" | "connected" | "reconnect";
|
|
8855
8855
|
subject: string | null;
|
|
@@ -8948,7 +8948,7 @@ declare function createRelayClient(options: {
|
|
|
8948
8948
|
quest: string;
|
|
8949
8949
|
member: string;
|
|
8950
8950
|
evidence: string | null;
|
|
8951
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8951
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8952
8952
|
reason: string | null;
|
|
8953
8953
|
retries: number;
|
|
8954
8954
|
generation: number;
|
|
@@ -9020,7 +9020,7 @@ declare function createRelayClient(options: {
|
|
|
9020
9020
|
} | undefined;
|
|
9021
9021
|
} | undefined;
|
|
9022
9022
|
};
|
|
9023
|
-
connections: ("
|
|
9023
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
9024
9024
|
trigger: {
|
|
9025
9025
|
kind: "automatic";
|
|
9026
9026
|
observation?: {
|
|
@@ -9061,7 +9061,7 @@ declare function createRelayClient(options: {
|
|
|
9061
9061
|
};
|
|
9062
9062
|
availability: {
|
|
9063
9063
|
kind: "available";
|
|
9064
|
-
input: "quiz" | "
|
|
9064
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9065
9065
|
} | {
|
|
9066
9066
|
kind: "completed";
|
|
9067
9067
|
} | {
|
|
@@ -9110,7 +9110,7 @@ declare function createRelayClient(options: {
|
|
|
9110
9110
|
quest: string;
|
|
9111
9111
|
member: string;
|
|
9112
9112
|
evidence: string | null;
|
|
9113
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9113
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9114
9114
|
reason: string | null;
|
|
9115
9115
|
retries: number;
|
|
9116
9116
|
generation: number;
|
|
@@ -9277,7 +9277,7 @@ declare function createRelayClient(options: {
|
|
|
9277
9277
|
provider: "discord";
|
|
9278
9278
|
action: "grant-role";
|
|
9279
9279
|
roleId: string;
|
|
9280
|
-
status: "
|
|
9280
|
+
status: "pending" | "failed" | "delivered";
|
|
9281
9281
|
attempts: number;
|
|
9282
9282
|
nextAt: number;
|
|
9283
9283
|
lastError: string | null;
|
|
@@ -9293,7 +9293,7 @@ declare function createRelayClient(options: {
|
|
|
9293
9293
|
quest: string;
|
|
9294
9294
|
member: string;
|
|
9295
9295
|
evidence: string | null;
|
|
9296
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9296
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9297
9297
|
reason: string | null;
|
|
9298
9298
|
retries: number;
|
|
9299
9299
|
generation: number;
|
|
@@ -9361,7 +9361,7 @@ declare function createRelayClient(options: {
|
|
|
9361
9361
|
code: string;
|
|
9362
9362
|
definition: {
|
|
9363
9363
|
quest: string;
|
|
9364
|
-
runtimeVersion:
|
|
9364
|
+
runtimeVersion: 1 | 2;
|
|
9365
9365
|
title: string;
|
|
9366
9366
|
presentation: {
|
|
9367
9367
|
quiz?: {
|
|
@@ -9398,12 +9398,12 @@ declare function createRelayClient(options: {
|
|
|
9398
9398
|
kind: "resource";
|
|
9399
9399
|
default: string;
|
|
9400
9400
|
source: {
|
|
9401
|
-
provider: "domino";
|
|
9402
|
-
resource: "point-ledger";
|
|
9403
|
-
} | {
|
|
9404
9401
|
provider: "discord";
|
|
9405
9402
|
resource: "channel";
|
|
9406
9403
|
types: ("text" | "announcement")[];
|
|
9404
|
+
} | {
|
|
9405
|
+
provider: "domino";
|
|
9406
|
+
resource: "point-ledger";
|
|
9407
9407
|
} | {
|
|
9408
9408
|
provider: "discord";
|
|
9409
9409
|
resource: "role";
|
|
@@ -9542,7 +9542,7 @@ declare function createRelayClient(options: {
|
|
|
9542
9542
|
visibility: "visible" | "hidden";
|
|
9543
9543
|
budgets: {
|
|
9544
9544
|
id: string;
|
|
9545
|
-
scope: "
|
|
9545
|
+
scope: "member" | "project";
|
|
9546
9546
|
period: "day" | "lifetime";
|
|
9547
9547
|
limit: number;
|
|
9548
9548
|
cost: number | {
|
|
@@ -9560,7 +9560,7 @@ declare function createRelayClient(options: {
|
|
|
9560
9560
|
code: string;
|
|
9561
9561
|
definition: {
|
|
9562
9562
|
quest: string;
|
|
9563
|
-
runtimeVersion:
|
|
9563
|
+
runtimeVersion: 1 | 2;
|
|
9564
9564
|
title: string;
|
|
9565
9565
|
presentation: {
|
|
9566
9566
|
quiz?: {
|
|
@@ -9597,12 +9597,12 @@ declare function createRelayClient(options: {
|
|
|
9597
9597
|
kind: "resource";
|
|
9598
9598
|
default: string;
|
|
9599
9599
|
source: {
|
|
9600
|
-
provider: "domino";
|
|
9601
|
-
resource: "point-ledger";
|
|
9602
|
-
} | {
|
|
9603
9600
|
provider: "discord";
|
|
9604
9601
|
resource: "channel";
|
|
9605
9602
|
types: ("text" | "announcement")[];
|
|
9603
|
+
} | {
|
|
9604
|
+
provider: "domino";
|
|
9605
|
+
resource: "point-ledger";
|
|
9606
9606
|
} | {
|
|
9607
9607
|
provider: "discord";
|
|
9608
9608
|
resource: "role";
|
|
@@ -9741,7 +9741,7 @@ declare function createRelayClient(options: {
|
|
|
9741
9741
|
visibility: "visible" | "hidden";
|
|
9742
9742
|
budgets: {
|
|
9743
9743
|
id: string;
|
|
9744
|
-
scope: "
|
|
9744
|
+
scope: "member" | "project";
|
|
9745
9745
|
period: "day" | "lifetime";
|
|
9746
9746
|
limit: number;
|
|
9747
9747
|
cost: number | {
|
|
@@ -9758,7 +9758,7 @@ declare function createRelayClient(options: {
|
|
|
9758
9758
|
snapshot: () => Promise<{
|
|
9759
9759
|
releases: {
|
|
9760
9760
|
quest: string;
|
|
9761
|
-
runtimeVersion:
|
|
9761
|
+
runtimeVersion: 1 | 2;
|
|
9762
9762
|
title: string;
|
|
9763
9763
|
presentation: {
|
|
9764
9764
|
quiz?: {
|
|
@@ -9795,12 +9795,12 @@ declare function createRelayClient(options: {
|
|
|
9795
9795
|
kind: "resource";
|
|
9796
9796
|
default: string;
|
|
9797
9797
|
source: {
|
|
9798
|
-
provider: "domino";
|
|
9799
|
-
resource: "point-ledger";
|
|
9800
|
-
} | {
|
|
9801
9798
|
provider: "discord";
|
|
9802
9799
|
resource: "channel";
|
|
9803
9800
|
types: ("text" | "announcement")[];
|
|
9801
|
+
} | {
|
|
9802
|
+
provider: "domino";
|
|
9803
|
+
resource: "point-ledger";
|
|
9804
9804
|
} | {
|
|
9805
9805
|
provider: "discord";
|
|
9806
9806
|
resource: "role";
|
|
@@ -9939,7 +9939,7 @@ declare function createRelayClient(options: {
|
|
|
9939
9939
|
visibility: "visible" | "hidden";
|
|
9940
9940
|
budgets: {
|
|
9941
9941
|
id: string;
|
|
9942
|
-
scope: "
|
|
9942
|
+
scope: "member" | "project";
|
|
9943
9943
|
period: "day" | "lifetime";
|
|
9944
9944
|
limit: number;
|
|
9945
9945
|
cost: number | {
|
|
@@ -10071,7 +10071,7 @@ declare function createRelayClient(options: {
|
|
|
10071
10071
|
quest: string;
|
|
10072
10072
|
member: string;
|
|
10073
10073
|
evidence: string | null;
|
|
10074
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10074
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10075
10075
|
reason: string | null;
|
|
10076
10076
|
retries: number;
|
|
10077
10077
|
generation: number;
|
|
@@ -10137,7 +10137,7 @@ declare function createRelayClient(options: {
|
|
|
10137
10137
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
10138
10138
|
publish: (release: ReleaseInput) => Promise<{
|
|
10139
10139
|
quest: string;
|
|
10140
|
-
runtimeVersion:
|
|
10140
|
+
runtimeVersion: 1 | 2;
|
|
10141
10141
|
title: string;
|
|
10142
10142
|
presentation: {
|
|
10143
10143
|
quiz?: {
|
|
@@ -10174,12 +10174,12 @@ declare function createRelayClient(options: {
|
|
|
10174
10174
|
kind: "resource";
|
|
10175
10175
|
default: string;
|
|
10176
10176
|
source: {
|
|
10177
|
-
provider: "domino";
|
|
10178
|
-
resource: "point-ledger";
|
|
10179
|
-
} | {
|
|
10180
10177
|
provider: "discord";
|
|
10181
10178
|
resource: "channel";
|
|
10182
10179
|
types: ("text" | "announcement")[];
|
|
10180
|
+
} | {
|
|
10181
|
+
provider: "domino";
|
|
10182
|
+
resource: "point-ledger";
|
|
10183
10183
|
} | {
|
|
10184
10184
|
provider: "discord";
|
|
10185
10185
|
resource: "role";
|
|
@@ -10318,7 +10318,7 @@ declare function createRelayClient(options: {
|
|
|
10318
10318
|
visibility: "visible" | "hidden";
|
|
10319
10319
|
budgets: {
|
|
10320
10320
|
id: string;
|
|
10321
|
-
scope: "
|
|
10321
|
+
scope: "member" | "project";
|
|
10322
10322
|
period: "day" | "lifetime";
|
|
10323
10323
|
limit: number;
|
|
10324
10324
|
cost: number | {
|
|
@@ -10364,7 +10364,7 @@ declare function createRelayClient(options: {
|
|
|
10364
10364
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
10365
10365
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
10366
10366
|
quest: string;
|
|
10367
|
-
runtimeVersion:
|
|
10367
|
+
runtimeVersion: 1 | 2;
|
|
10368
10368
|
title: string;
|
|
10369
10369
|
presentation: {
|
|
10370
10370
|
quiz?: {
|
|
@@ -10401,12 +10401,12 @@ declare function createRelayClient(options: {
|
|
|
10401
10401
|
kind: "resource";
|
|
10402
10402
|
default: string;
|
|
10403
10403
|
source: {
|
|
10404
|
-
provider: "domino";
|
|
10405
|
-
resource: "point-ledger";
|
|
10406
|
-
} | {
|
|
10407
10404
|
provider: "discord";
|
|
10408
10405
|
resource: "channel";
|
|
10409
10406
|
types: ("text" | "announcement")[];
|
|
10407
|
+
} | {
|
|
10408
|
+
provider: "domino";
|
|
10409
|
+
resource: "point-ledger";
|
|
10410
10410
|
} | {
|
|
10411
10411
|
provider: "discord";
|
|
10412
10412
|
resource: "role";
|
|
@@ -10545,7 +10545,7 @@ declare function createRelayClient(options: {
|
|
|
10545
10545
|
visibility: "visible" | "hidden";
|
|
10546
10546
|
budgets: {
|
|
10547
10547
|
id: string;
|
|
10548
|
-
scope: "
|
|
10548
|
+
scope: "member" | "project";
|
|
10549
10549
|
period: "day" | "lifetime";
|
|
10550
10550
|
limit: number;
|
|
10551
10551
|
cost: number | {
|
|
@@ -10613,7 +10613,7 @@ declare function createRelayClient(options: {
|
|
|
10613
10613
|
} | undefined;
|
|
10614
10614
|
} | undefined;
|
|
10615
10615
|
};
|
|
10616
|
-
connections: ("
|
|
10616
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
10617
10617
|
trigger: {
|
|
10618
10618
|
kind: "automatic";
|
|
10619
10619
|
observation?: {
|
|
@@ -10654,7 +10654,7 @@ declare function createRelayClient(options: {
|
|
|
10654
10654
|
};
|
|
10655
10655
|
availability: {
|
|
10656
10656
|
kind: "available";
|
|
10657
|
-
input: "quiz" | "
|
|
10657
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10658
10658
|
} | {
|
|
10659
10659
|
kind: "completed";
|
|
10660
10660
|
} | {
|
|
@@ -10703,7 +10703,7 @@ declare function createRelayClient(options: {
|
|
|
10703
10703
|
quest: string;
|
|
10704
10704
|
member: string;
|
|
10705
10705
|
evidence: string | null;
|
|
10706
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10706
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10707
10707
|
reason: string | null;
|
|
10708
10708
|
retries: number;
|
|
10709
10709
|
generation: number;
|
|
@@ -11131,7 +11131,7 @@ declare function createRelayClient(options: {
|
|
|
11131
11131
|
content: {
|
|
11132
11132
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
11133
11133
|
current: {
|
|
11134
|
-
state: "needs-review" | "
|
|
11134
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
11135
11135
|
reason: string | null;
|
|
11136
11136
|
contentAttempt: string;
|
|
11137
11137
|
attempt: string | null;
|
|
@@ -11147,7 +11147,7 @@ declare function createRelayClient(options: {
|
|
|
11147
11147
|
observation: string;
|
|
11148
11148
|
observedAt: number;
|
|
11149
11149
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
11150
|
-
state: "needs-review" | "
|
|
11150
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
11151
11151
|
reason: string | null;
|
|
11152
11152
|
}[];
|
|
11153
11153
|
next: number | null;
|
|
@@ -11162,7 +11162,7 @@ declare function createRelayClient(options: {
|
|
|
11162
11162
|
revision: string;
|
|
11163
11163
|
observation: string;
|
|
11164
11164
|
current: boolean;
|
|
11165
|
-
state: "needs-review" | "
|
|
11165
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
11166
11166
|
reason: string | null;
|
|
11167
11167
|
reward: {
|
|
11168
11168
|
attempt: string | null;
|
|
@@ -11177,7 +11177,7 @@ declare function createRelayClient(options: {
|
|
|
11177
11177
|
quest: string;
|
|
11178
11178
|
content: string;
|
|
11179
11179
|
release: string;
|
|
11180
|
-
state: "pending" | "
|
|
11180
|
+
state: "pending" | "admitted" | "excluded";
|
|
11181
11181
|
reason: string | null;
|
|
11182
11182
|
attempt: string | null;
|
|
11183
11183
|
}[];
|
|
@@ -11192,7 +11192,7 @@ declare function createRelayClient(options: {
|
|
|
11192
11192
|
quest: string;
|
|
11193
11193
|
content: string;
|
|
11194
11194
|
release: string;
|
|
11195
|
-
state: "pending" | "
|
|
11195
|
+
state: "pending" | "admitted" | "excluded";
|
|
11196
11196
|
reason: string | null;
|
|
11197
11197
|
attempt: string | null;
|
|
11198
11198
|
}>;
|
|
@@ -11203,7 +11203,7 @@ declare function createRelayClient(options: {
|
|
|
11203
11203
|
quest: string;
|
|
11204
11204
|
member: string;
|
|
11205
11205
|
evidence: string | null;
|
|
11206
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11206
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11207
11207
|
reason: string | null;
|
|
11208
11208
|
retries: number;
|
|
11209
11209
|
generation: number;
|
|
@@ -11256,7 +11256,7 @@ declare function createRelayClient(options: {
|
|
|
11256
11256
|
quest: string;
|
|
11257
11257
|
member: string;
|
|
11258
11258
|
evidence: string | null;
|
|
11259
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11259
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11260
11260
|
reason: string | null;
|
|
11261
11261
|
retries: number;
|
|
11262
11262
|
generation: number;
|
|
@@ -11315,7 +11315,7 @@ declare function createRelayClient(options: {
|
|
|
11315
11315
|
quest: string;
|
|
11316
11316
|
member: string;
|
|
11317
11317
|
evidence: string | null;
|
|
11318
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11318
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11319
11319
|
reason: string | null;
|
|
11320
11320
|
retries: number;
|
|
11321
11321
|
generation: number;
|