@domino-sdk/relay 0.17.0 → 0.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +59 -59
- package/dist/index.d.ts +128 -128
- 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";
|
|
@@ -409,8 +409,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
409
409
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
410
410
|
id: z.ZodString;
|
|
411
411
|
scope: z.ZodEnum<{
|
|
412
|
-
project: "project";
|
|
413
412
|
member: "member";
|
|
413
|
+
project: "project";
|
|
414
414
|
}>;
|
|
415
415
|
period: z.ZodEnum<{
|
|
416
416
|
day: "day";
|
|
@@ -778,8 +778,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
778
778
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
779
779
|
id: z.ZodString;
|
|
780
780
|
scope: z.ZodEnum<{
|
|
781
|
-
project: "project";
|
|
782
781
|
member: "member";
|
|
782
|
+
project: "project";
|
|
783
783
|
}>;
|
|
784
784
|
period: z.ZodEnum<{
|
|
785
785
|
day: "day";
|
|
@@ -1091,8 +1091,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1091
1091
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1092
1092
|
id: z.ZodString;
|
|
1093
1093
|
scope: z.ZodEnum<{
|
|
1094
|
-
project: "project";
|
|
1095
1094
|
member: "member";
|
|
1095
|
+
project: "project";
|
|
1096
1096
|
}>;
|
|
1097
1097
|
period: z.ZodEnum<{
|
|
1098
1098
|
day: "day";
|
|
@@ -1188,7 +1188,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1188
1188
|
createdAt: z.ZodNumber;
|
|
1189
1189
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1190
1190
|
quest: string;
|
|
1191
|
-
runtimeVersion:
|
|
1191
|
+
runtimeVersion: 1 | 2;
|
|
1192
1192
|
title: string;
|
|
1193
1193
|
presentation: {
|
|
1194
1194
|
quiz?: {
|
|
@@ -1225,12 +1225,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1225
1225
|
kind: "resource";
|
|
1226
1226
|
default: string;
|
|
1227
1227
|
source: {
|
|
1228
|
-
provider: "domino";
|
|
1229
|
-
resource: "point-ledger";
|
|
1230
|
-
} | {
|
|
1231
1228
|
provider: "discord";
|
|
1232
1229
|
resource: "channel";
|
|
1233
1230
|
types: ("text" | "announcement")[];
|
|
1231
|
+
} | {
|
|
1232
|
+
provider: "domino";
|
|
1233
|
+
resource: "point-ledger";
|
|
1234
1234
|
} | {
|
|
1235
1235
|
provider: "discord";
|
|
1236
1236
|
resource: "role";
|
|
@@ -1359,7 +1359,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1359
1359
|
visibility: "visible" | "hidden";
|
|
1360
1360
|
budgets: {
|
|
1361
1361
|
id: string;
|
|
1362
|
-
scope: "
|
|
1362
|
+
scope: "member" | "project";
|
|
1363
1363
|
period: "day" | "lifetime";
|
|
1364
1364
|
limit: number;
|
|
1365
1365
|
cost: number | {
|
|
@@ -1435,10 +1435,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1435
1435
|
createdAt: number;
|
|
1436
1436
|
}>>]>>>;
|
|
1437
1437
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1438
|
-
staff: "staff";
|
|
1439
1438
|
quiz: "quiz";
|
|
1440
|
-
text: "text";
|
|
1441
1439
|
url: "url";
|
|
1440
|
+
text: "text";
|
|
1441
|
+
staff: "staff";
|
|
1442
1442
|
photo: "photo";
|
|
1443
1443
|
automatic: "automatic";
|
|
1444
1444
|
claim: "claim";
|
|
@@ -1468,10 +1468,10 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1468
1468
|
id?: string | undefined;
|
|
1469
1469
|
}>>>>;
|
|
1470
1470
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1471
|
-
staff: "staff";
|
|
1472
1471
|
quiz: "quiz";
|
|
1473
|
-
text: "text";
|
|
1474
1472
|
url: "url";
|
|
1473
|
+
text: "text";
|
|
1474
|
+
staff: "staff";
|
|
1475
1475
|
photo: "photo";
|
|
1476
1476
|
automatic: "automatic";
|
|
1477
1477
|
claim: "claim";
|
|
@@ -1679,8 +1679,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1679
1679
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1680
1680
|
id: z.ZodString;
|
|
1681
1681
|
scope: z.ZodEnum<{
|
|
1682
|
-
project: "project";
|
|
1683
1682
|
member: "member";
|
|
1683
|
+
project: "project";
|
|
1684
1684
|
}>;
|
|
1685
1685
|
period: z.ZodEnum<{
|
|
1686
1686
|
day: "day";
|
|
@@ -1707,10 +1707,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1707
1707
|
title: z.ZodString;
|
|
1708
1708
|
}, z.core.$strict>>;
|
|
1709
1709
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1710
|
-
staff: "staff";
|
|
1711
1710
|
quiz: "quiz";
|
|
1712
|
-
text: "text";
|
|
1713
1711
|
url: "url";
|
|
1712
|
+
text: "text";
|
|
1713
|
+
staff: "staff";
|
|
1714
1714
|
photo: "photo";
|
|
1715
1715
|
automatic: "automatic";
|
|
1716
1716
|
claim: "claim";
|
|
@@ -1780,10 +1780,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1780
1780
|
}, z.core.$strict>>;
|
|
1781
1781
|
}, z.core.$strict>>;
|
|
1782
1782
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1783
|
-
discord: "discord";
|
|
1784
1783
|
google: "google";
|
|
1785
1784
|
apple: "apple";
|
|
1786
1785
|
x: "x";
|
|
1786
|
+
discord: "discord";
|
|
1787
1787
|
}>>>;
|
|
1788
1788
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1789
1789
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1830,8 +1830,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1830
1830
|
kind: z.ZodLiteral<"available">;
|
|
1831
1831
|
input: z.ZodEnum<{
|
|
1832
1832
|
quiz: "quiz";
|
|
1833
|
-
text: "text";
|
|
1834
1833
|
url: "url";
|
|
1834
|
+
text: "text";
|
|
1835
1835
|
photo: "photo";
|
|
1836
1836
|
none: "none";
|
|
1837
1837
|
}>;
|
|
@@ -1930,12 +1930,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1930
1930
|
value: z.ZodString;
|
|
1931
1931
|
}, z.core.$strict>]>>;
|
|
1932
1932
|
status: z.ZodEnum<{
|
|
1933
|
+
"needs-review": "needs-review";
|
|
1933
1934
|
queued: "queued";
|
|
1934
1935
|
evaluating: "evaluating";
|
|
1935
1936
|
accepted: "accepted";
|
|
1936
1937
|
progressed: "progressed";
|
|
1937
1938
|
rejected: "rejected";
|
|
1938
|
-
"needs-review": "needs-review";
|
|
1939
1939
|
failed: "failed";
|
|
1940
1940
|
}>;
|
|
1941
1941
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1973,10 +1973,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1973
1973
|
}, z.core.$strip>>;
|
|
1974
1974
|
release: z.ZodString;
|
|
1975
1975
|
interaction: z.ZodEnum<{
|
|
1976
|
-
staff: "staff";
|
|
1977
1976
|
quiz: "quiz";
|
|
1978
|
-
text: "text";
|
|
1979
1977
|
url: "url";
|
|
1978
|
+
text: "text";
|
|
1979
|
+
staff: "staff";
|
|
1980
1980
|
photo: "photo";
|
|
1981
1981
|
automatic: "automatic";
|
|
1982
1982
|
claim: "claim";
|
|
@@ -2019,10 +2019,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2019
2019
|
}, z.core.$strict>>;
|
|
2020
2020
|
}, z.core.$strict>>;
|
|
2021
2021
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2022
|
-
discord: "discord";
|
|
2023
2022
|
google: "google";
|
|
2024
2023
|
apple: "apple";
|
|
2025
2024
|
x: "x";
|
|
2025
|
+
discord: "discord";
|
|
2026
2026
|
}>>>;
|
|
2027
2027
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2028
2028
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2069,8 +2069,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2069
2069
|
kind: z.ZodLiteral<"available">;
|
|
2070
2070
|
input: z.ZodEnum<{
|
|
2071
2071
|
quiz: "quiz";
|
|
2072
|
-
text: "text";
|
|
2073
2072
|
url: "url";
|
|
2073
|
+
text: "text";
|
|
2074
2074
|
photo: "photo";
|
|
2075
2075
|
none: "none";
|
|
2076
2076
|
}>;
|
|
@@ -2169,12 +2169,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2169
2169
|
value: z.ZodString;
|
|
2170
2170
|
}, z.core.$strict>]>>;
|
|
2171
2171
|
status: z.ZodEnum<{
|
|
2172
|
+
"needs-review": "needs-review";
|
|
2172
2173
|
queued: "queued";
|
|
2173
2174
|
evaluating: "evaluating";
|
|
2174
2175
|
accepted: "accepted";
|
|
2175
2176
|
progressed: "progressed";
|
|
2176
2177
|
rejected: "rejected";
|
|
2177
|
-
"needs-review": "needs-review";
|
|
2178
2178
|
failed: "failed";
|
|
2179
2179
|
}>;
|
|
2180
2180
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2212,10 +2212,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2212
2212
|
}, z.core.$strip>>;
|
|
2213
2213
|
release: z.ZodString;
|
|
2214
2214
|
interaction: z.ZodEnum<{
|
|
2215
|
-
staff: "staff";
|
|
2216
2215
|
quiz: "quiz";
|
|
2217
|
-
text: "text";
|
|
2218
2216
|
url: "url";
|
|
2217
|
+
text: "text";
|
|
2218
|
+
staff: "staff";
|
|
2219
2219
|
photo: "photo";
|
|
2220
2220
|
automatic: "automatic";
|
|
2221
2221
|
claim: "claim";
|
|
@@ -2257,10 +2257,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2257
2257
|
}, z.core.$strict>>;
|
|
2258
2258
|
}, z.core.$strict>>;
|
|
2259
2259
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2260
|
-
discord: "discord";
|
|
2261
2260
|
google: "google";
|
|
2262
2261
|
apple: "apple";
|
|
2263
2262
|
x: "x";
|
|
2263
|
+
discord: "discord";
|
|
2264
2264
|
}>>>;
|
|
2265
2265
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2266
2266
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2307,8 +2307,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2307
2307
|
kind: z.ZodLiteral<"available">;
|
|
2308
2308
|
input: z.ZodEnum<{
|
|
2309
2309
|
quiz: "quiz";
|
|
2310
|
-
text: "text";
|
|
2311
2310
|
url: "url";
|
|
2311
|
+
text: "text";
|
|
2312
2312
|
photo: "photo";
|
|
2313
2313
|
none: "none";
|
|
2314
2314
|
}>;
|
|
@@ -2407,12 +2407,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2407
2407
|
value: z.ZodString;
|
|
2408
2408
|
}, z.core.$strict>]>>;
|
|
2409
2409
|
status: z.ZodEnum<{
|
|
2410
|
+
"needs-review": "needs-review";
|
|
2410
2411
|
queued: "queued";
|
|
2411
2412
|
evaluating: "evaluating";
|
|
2412
2413
|
accepted: "accepted";
|
|
2413
2414
|
progressed: "progressed";
|
|
2414
2415
|
rejected: "rejected";
|
|
2415
|
-
"needs-review": "needs-review";
|
|
2416
2416
|
failed: "failed";
|
|
2417
2417
|
}>;
|
|
2418
2418
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2450,10 +2450,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2450
2450
|
}, z.core.$strip>>;
|
|
2451
2451
|
release: z.ZodString;
|
|
2452
2452
|
interaction: z.ZodEnum<{
|
|
2453
|
-
staff: "staff";
|
|
2454
2453
|
quiz: "quiz";
|
|
2455
|
-
text: "text";
|
|
2456
2454
|
url: "url";
|
|
2455
|
+
text: "text";
|
|
2456
|
+
staff: "staff";
|
|
2457
2457
|
photo: "photo";
|
|
2458
2458
|
automatic: "automatic";
|
|
2459
2459
|
claim: "claim";
|
|
@@ -2496,10 +2496,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2496
2496
|
}, z.core.$strict>>;
|
|
2497
2497
|
}, z.core.$strict>>;
|
|
2498
2498
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2499
|
-
discord: "discord";
|
|
2500
2499
|
google: "google";
|
|
2501
2500
|
apple: "apple";
|
|
2502
2501
|
x: "x";
|
|
2502
|
+
discord: "discord";
|
|
2503
2503
|
}>>>;
|
|
2504
2504
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2505
2505
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2546,8 +2546,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2546
2546
|
kind: z.ZodLiteral<"available">;
|
|
2547
2547
|
input: z.ZodEnum<{
|
|
2548
2548
|
quiz: "quiz";
|
|
2549
|
-
text: "text";
|
|
2550
2549
|
url: "url";
|
|
2550
|
+
text: "text";
|
|
2551
2551
|
photo: "photo";
|
|
2552
2552
|
none: "none";
|
|
2553
2553
|
}>;
|
|
@@ -2646,12 +2646,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2646
2646
|
value: z.ZodString;
|
|
2647
2647
|
}, z.core.$strict>]>>;
|
|
2648
2648
|
status: z.ZodEnum<{
|
|
2649
|
+
"needs-review": "needs-review";
|
|
2649
2650
|
queued: "queued";
|
|
2650
2651
|
evaluating: "evaluating";
|
|
2651
2652
|
accepted: "accepted";
|
|
2652
2653
|
progressed: "progressed";
|
|
2653
2654
|
rejected: "rejected";
|
|
2654
|
-
"needs-review": "needs-review";
|
|
2655
2655
|
failed: "failed";
|
|
2656
2656
|
}>;
|
|
2657
2657
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2689,10 +2689,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2689
2689
|
}, z.core.$strip>>;
|
|
2690
2690
|
release: z.ZodString;
|
|
2691
2691
|
interaction: z.ZodEnum<{
|
|
2692
|
-
staff: "staff";
|
|
2693
2692
|
quiz: "quiz";
|
|
2694
|
-
text: "text";
|
|
2695
2693
|
url: "url";
|
|
2694
|
+
text: "text";
|
|
2695
|
+
staff: "staff";
|
|
2696
2696
|
photo: "photo";
|
|
2697
2697
|
automatic: "automatic";
|
|
2698
2698
|
claim: "claim";
|
|
@@ -2978,8 +2978,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2978
2978
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2979
2979
|
id: z.ZodString;
|
|
2980
2980
|
scope: z.ZodEnum<{
|
|
2981
|
-
project: "project";
|
|
2982
2981
|
member: "member";
|
|
2982
|
+
project: "project";
|
|
2983
2983
|
}>;
|
|
2984
2984
|
period: z.ZodEnum<{
|
|
2985
2985
|
day: "day";
|
|
@@ -3075,7 +3075,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3075
3075
|
createdAt: z.ZodNumber;
|
|
3076
3076
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3077
3077
|
quest: string;
|
|
3078
|
-
runtimeVersion:
|
|
3078
|
+
runtimeVersion: 1 | 2;
|
|
3079
3079
|
title: string;
|
|
3080
3080
|
presentation: {
|
|
3081
3081
|
quiz?: {
|
|
@@ -3112,12 +3112,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3112
3112
|
kind: "resource";
|
|
3113
3113
|
default: string;
|
|
3114
3114
|
source: {
|
|
3115
|
-
provider: "domino";
|
|
3116
|
-
resource: "point-ledger";
|
|
3117
|
-
} | {
|
|
3118
3115
|
provider: "discord";
|
|
3119
3116
|
resource: "channel";
|
|
3120
3117
|
types: ("text" | "announcement")[];
|
|
3118
|
+
} | {
|
|
3119
|
+
provider: "domino";
|
|
3120
|
+
resource: "point-ledger";
|
|
3121
3121
|
} | {
|
|
3122
3122
|
provider: "discord";
|
|
3123
3123
|
resource: "role";
|
|
@@ -3246,7 +3246,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3246
3246
|
visibility: "visible" | "hidden";
|
|
3247
3247
|
budgets: {
|
|
3248
3248
|
id: string;
|
|
3249
|
-
scope: "
|
|
3249
|
+
scope: "member" | "project";
|
|
3250
3250
|
period: "day" | "lifetime";
|
|
3251
3251
|
limit: number;
|
|
3252
3252
|
cost: number | {
|
|
@@ -3400,8 +3400,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3400
3400
|
action: z.ZodLiteral<"grant-role">;
|
|
3401
3401
|
roleId: z.ZodString;
|
|
3402
3402
|
status: z.ZodEnum<{
|
|
3403
|
-
failed: "failed";
|
|
3404
3403
|
pending: "pending";
|
|
3404
|
+
failed: "failed";
|
|
3405
3405
|
delivered: "delivered";
|
|
3406
3406
|
}>;
|
|
3407
3407
|
attempts: z.ZodNumber;
|
|
@@ -3420,8 +3420,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3420
3420
|
action: z.ZodLiteral<"grant-role">;
|
|
3421
3421
|
roleId: z.ZodString;
|
|
3422
3422
|
status: z.ZodEnum<{
|
|
3423
|
-
failed: "failed";
|
|
3424
3423
|
pending: "pending";
|
|
3424
|
+
failed: "failed";
|
|
3425
3425
|
delivered: "delivered";
|
|
3426
3426
|
}>;
|
|
3427
3427
|
attempts: z.ZodNumber;
|
|
@@ -3590,10 +3590,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3590
3590
|
}>;
|
|
3591
3591
|
}, z.core.$strip>>>;
|
|
3592
3592
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3593
|
-
staff: "staff";
|
|
3594
3593
|
quiz: "quiz";
|
|
3595
|
-
text: "text";
|
|
3596
3594
|
url: "url";
|
|
3595
|
+
text: "text";
|
|
3596
|
+
staff: "staff";
|
|
3597
3597
|
photo: "photo";
|
|
3598
3598
|
automatic: "automatic";
|
|
3599
3599
|
claim: "claim";
|
|
@@ -3915,6 +3915,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3915
3915
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3916
3916
|
title: z.ZodString;
|
|
3917
3917
|
balance: z.ZodString;
|
|
3918
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3918
3919
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3919
3920
|
kind: z.ZodLiteral<"balance">;
|
|
3920
3921
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3963,7 +3964,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3963
3964
|
participants: "participants";
|
|
3964
3965
|
public: "public";
|
|
3965
3966
|
}>>;
|
|
3966
|
-
group: z.ZodOptional<z.ZodString>;
|
|
3967
3967
|
key: z.ZodOptional<z.ZodString>;
|
|
3968
3968
|
id: z.ZodOptional<z.ZodString>;
|
|
3969
3969
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4082,10 +4082,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4082
4082
|
}>;
|
|
4083
4083
|
}, z.core.$strip>>>;
|
|
4084
4084
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4085
|
-
staff: "staff";
|
|
4086
4085
|
quiz: "quiz";
|
|
4087
|
-
text: "text";
|
|
4088
4086
|
url: "url";
|
|
4087
|
+
text: "text";
|
|
4088
|
+
staff: "staff";
|
|
4089
4089
|
photo: "photo";
|
|
4090
4090
|
automatic: "automatic";
|
|
4091
4091
|
claim: "claim";
|
|
@@ -4407,6 +4407,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4407
4407
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4408
4408
|
title: z.ZodString;
|
|
4409
4409
|
balance: z.ZodString;
|
|
4410
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4410
4411
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4411
4412
|
kind: z.ZodLiteral<"balance">;
|
|
4412
4413
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4455,7 +4456,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4455
4456
|
participants: "participants";
|
|
4456
4457
|
public: "public";
|
|
4457
4458
|
}>>;
|
|
4458
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4459
4459
|
key: z.ZodOptional<z.ZodString>;
|
|
4460
4460
|
id: z.ZodOptional<z.ZodString>;
|
|
4461
4461
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4793,8 +4793,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4793
4793
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4794
4794
|
id: z.ZodString;
|
|
4795
4795
|
scope: z.ZodEnum<{
|
|
4796
|
-
project: "project";
|
|
4797
4796
|
member: "member";
|
|
4797
|
+
project: "project";
|
|
4798
4798
|
}>;
|
|
4799
4799
|
period: z.ZodEnum<{
|
|
4800
4800
|
day: "day";
|
|
@@ -4890,7 +4890,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4890
4890
|
createdAt: z.ZodNumber;
|
|
4891
4891
|
}, z.core.$strip>, z.ZodTransform<{
|
|
4892
4892
|
quest: string;
|
|
4893
|
-
runtimeVersion:
|
|
4893
|
+
runtimeVersion: 1 | 2;
|
|
4894
4894
|
title: string;
|
|
4895
4895
|
presentation: {
|
|
4896
4896
|
quiz?: {
|
|
@@ -4927,12 +4927,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4927
4927
|
kind: "resource";
|
|
4928
4928
|
default: string;
|
|
4929
4929
|
source: {
|
|
4930
|
-
provider: "domino";
|
|
4931
|
-
resource: "point-ledger";
|
|
4932
|
-
} | {
|
|
4933
4930
|
provider: "discord";
|
|
4934
4931
|
resource: "channel";
|
|
4935
4932
|
types: ("text" | "announcement")[];
|
|
4933
|
+
} | {
|
|
4934
|
+
provider: "domino";
|
|
4935
|
+
resource: "point-ledger";
|
|
4936
4936
|
} | {
|
|
4937
4937
|
provider: "discord";
|
|
4938
4938
|
resource: "role";
|
|
@@ -5061,7 +5061,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5061
5061
|
visibility: "visible" | "hidden";
|
|
5062
5062
|
budgets: {
|
|
5063
5063
|
id: string;
|
|
5064
|
-
scope: "
|
|
5064
|
+
scope: "member" | "project";
|
|
5065
5065
|
period: "day" | "lifetime";
|
|
5066
5066
|
limit: number;
|
|
5067
5067
|
cost: number | {
|
|
@@ -5336,8 +5336,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5336
5336
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5337
5337
|
id: z.ZodString;
|
|
5338
5338
|
scope: z.ZodEnum<{
|
|
5339
|
-
project: "project";
|
|
5340
5339
|
member: "member";
|
|
5340
|
+
project: "project";
|
|
5341
5341
|
}>;
|
|
5342
5342
|
period: z.ZodEnum<{
|
|
5343
5343
|
day: "day";
|
|
@@ -5365,10 +5365,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5365
5365
|
quests: z.ZodArray<z.ZodString>;
|
|
5366
5366
|
}, z.core.$strict>>;
|
|
5367
5367
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5368
|
-
staff: "staff";
|
|
5369
5368
|
quiz: "quiz";
|
|
5370
|
-
text: "text";
|
|
5371
5369
|
url: "url";
|
|
5370
|
+
text: "text";
|
|
5371
|
+
staff: "staff";
|
|
5372
5372
|
photo: "photo";
|
|
5373
5373
|
automatic: "automatic";
|
|
5374
5374
|
claim: "claim";
|
|
@@ -5844,8 +5844,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5844
5844
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5845
5845
|
id: z.ZodString;
|
|
5846
5846
|
scope: z.ZodEnum<{
|
|
5847
|
-
project: "project";
|
|
5848
5847
|
member: "member";
|
|
5848
|
+
project: "project";
|
|
5849
5849
|
}>;
|
|
5850
5850
|
period: z.ZodEnum<{
|
|
5851
5851
|
day: "day";
|
|
@@ -5941,7 +5941,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5941
5941
|
createdAt: z.ZodNumber;
|
|
5942
5942
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5943
5943
|
quest: string;
|
|
5944
|
-
runtimeVersion:
|
|
5944
|
+
runtimeVersion: 1 | 2;
|
|
5945
5945
|
title: string;
|
|
5946
5946
|
presentation: {
|
|
5947
5947
|
quiz?: {
|
|
@@ -5978,12 +5978,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5978
5978
|
kind: "resource";
|
|
5979
5979
|
default: string;
|
|
5980
5980
|
source: {
|
|
5981
|
-
provider: "domino";
|
|
5982
|
-
resource: "point-ledger";
|
|
5983
|
-
} | {
|
|
5984
5981
|
provider: "discord";
|
|
5985
5982
|
resource: "channel";
|
|
5986
5983
|
types: ("text" | "announcement")[];
|
|
5984
|
+
} | {
|
|
5985
|
+
provider: "domino";
|
|
5986
|
+
resource: "point-ledger";
|
|
5987
5987
|
} | {
|
|
5988
5988
|
provider: "discord";
|
|
5989
5989
|
resource: "role";
|
|
@@ -6112,7 +6112,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6112
6112
|
visibility: "visible" | "hidden";
|
|
6113
6113
|
budgets: {
|
|
6114
6114
|
id: string;
|
|
6115
|
-
scope: "
|
|
6115
|
+
scope: "member" | "project";
|
|
6116
6116
|
period: "day" | "lifetime";
|
|
6117
6117
|
limit: number;
|
|
6118
6118
|
cost: number | {
|
|
@@ -6387,8 +6387,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6387
6387
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6388
6388
|
id: z.ZodString;
|
|
6389
6389
|
scope: z.ZodEnum<{
|
|
6390
|
-
project: "project";
|
|
6391
6390
|
member: "member";
|
|
6391
|
+
project: "project";
|
|
6392
6392
|
}>;
|
|
6393
6393
|
period: z.ZodEnum<{
|
|
6394
6394
|
day: "day";
|
|
@@ -6416,10 +6416,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6416
6416
|
quests: z.ZodArray<z.ZodString>;
|
|
6417
6417
|
}, z.core.$strict>>;
|
|
6418
6418
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6419
|
-
staff: "staff";
|
|
6420
6419
|
quiz: "quiz";
|
|
6421
|
-
text: "text";
|
|
6422
6420
|
url: "url";
|
|
6421
|
+
text: "text";
|
|
6422
|
+
staff: "staff";
|
|
6423
6423
|
photo: "photo";
|
|
6424
6424
|
automatic: "automatic";
|
|
6425
6425
|
claim: "claim";
|
|
@@ -6918,7 +6918,7 @@ declare function createRelayClient(options: {
|
|
|
6918
6918
|
accounts: {
|
|
6919
6919
|
id: string;
|
|
6920
6920
|
program: string;
|
|
6921
|
-
kind: "
|
|
6921
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
6922
6922
|
balance: string;
|
|
6923
6923
|
earned: number;
|
|
6924
6924
|
settled: number;
|
|
@@ -7045,7 +7045,7 @@ declare function createRelayClient(options: {
|
|
|
7045
7045
|
} | undefined;
|
|
7046
7046
|
} | undefined;
|
|
7047
7047
|
};
|
|
7048
|
-
connections: ("
|
|
7048
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7049
7049
|
trigger: {
|
|
7050
7050
|
kind: "manual";
|
|
7051
7051
|
input: "text";
|
|
@@ -7076,7 +7076,7 @@ declare function createRelayClient(options: {
|
|
|
7076
7076
|
};
|
|
7077
7077
|
availability: {
|
|
7078
7078
|
kind: "available";
|
|
7079
|
-
input: "quiz" | "
|
|
7079
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
7080
7080
|
} | {
|
|
7081
7081
|
kind: "completed";
|
|
7082
7082
|
} | {
|
|
@@ -7125,7 +7125,7 @@ declare function createRelayClient(options: {
|
|
|
7125
7125
|
quest: string;
|
|
7126
7126
|
member: string;
|
|
7127
7127
|
evidence: string | null;
|
|
7128
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7128
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7129
7129
|
reason: string | null;
|
|
7130
7130
|
retries: number;
|
|
7131
7131
|
generation: number;
|
|
@@ -7173,7 +7173,7 @@ declare function createRelayClient(options: {
|
|
|
7173
7173
|
} | undefined;
|
|
7174
7174
|
} | null;
|
|
7175
7175
|
release: string;
|
|
7176
|
-
interaction: "
|
|
7176
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
7177
7177
|
lifecycle: "active" | "paused" | "archived";
|
|
7178
7178
|
rewards: {
|
|
7179
7179
|
label: string;
|
|
@@ -7216,7 +7216,7 @@ declare function createRelayClient(options: {
|
|
|
7216
7216
|
quest: string;
|
|
7217
7217
|
member: string;
|
|
7218
7218
|
evidence: string | null;
|
|
7219
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7219
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7220
7220
|
reason: string | null;
|
|
7221
7221
|
retries: number;
|
|
7222
7222
|
generation: number;
|
|
@@ -7288,7 +7288,7 @@ declare function createRelayClient(options: {
|
|
|
7288
7288
|
} | undefined;
|
|
7289
7289
|
} | undefined;
|
|
7290
7290
|
};
|
|
7291
|
-
connections: ("
|
|
7291
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7292
7292
|
trigger: {
|
|
7293
7293
|
kind: "manual";
|
|
7294
7294
|
input: "text";
|
|
@@ -7319,7 +7319,7 @@ declare function createRelayClient(options: {
|
|
|
7319
7319
|
};
|
|
7320
7320
|
availability: {
|
|
7321
7321
|
kind: "available";
|
|
7322
|
-
input: "quiz" | "
|
|
7322
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
7323
7323
|
} | {
|
|
7324
7324
|
kind: "completed";
|
|
7325
7325
|
} | {
|
|
@@ -7368,7 +7368,7 @@ declare function createRelayClient(options: {
|
|
|
7368
7368
|
quest: string;
|
|
7369
7369
|
member: string;
|
|
7370
7370
|
evidence: string | null;
|
|
7371
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7371
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7372
7372
|
reason: string | null;
|
|
7373
7373
|
retries: number;
|
|
7374
7374
|
generation: number;
|
|
@@ -7416,7 +7416,7 @@ declare function createRelayClient(options: {
|
|
|
7416
7416
|
} | undefined;
|
|
7417
7417
|
} | null;
|
|
7418
7418
|
release: string;
|
|
7419
|
-
interaction: "
|
|
7419
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
7420
7420
|
lifecycle: "active" | "paused" | "archived";
|
|
7421
7421
|
rewards: {
|
|
7422
7422
|
label: string;
|
|
@@ -7479,7 +7479,7 @@ declare function createRelayClient(options: {
|
|
|
7479
7479
|
} | undefined;
|
|
7480
7480
|
} | undefined;
|
|
7481
7481
|
};
|
|
7482
|
-
connections: ("
|
|
7482
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7483
7483
|
trigger: {
|
|
7484
7484
|
kind: "manual";
|
|
7485
7485
|
input: "text";
|
|
@@ -7510,7 +7510,7 @@ declare function createRelayClient(options: {
|
|
|
7510
7510
|
};
|
|
7511
7511
|
availability: {
|
|
7512
7512
|
kind: "available";
|
|
7513
|
-
input: "quiz" | "
|
|
7513
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
7514
7514
|
} | {
|
|
7515
7515
|
kind: "completed";
|
|
7516
7516
|
} | {
|
|
@@ -7559,7 +7559,7 @@ declare function createRelayClient(options: {
|
|
|
7559
7559
|
quest: string;
|
|
7560
7560
|
member: string;
|
|
7561
7561
|
evidence: string | null;
|
|
7562
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7562
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7563
7563
|
reason: string | null;
|
|
7564
7564
|
retries: number;
|
|
7565
7565
|
generation: number;
|
|
@@ -7607,7 +7607,7 @@ declare function createRelayClient(options: {
|
|
|
7607
7607
|
} | undefined;
|
|
7608
7608
|
} | null;
|
|
7609
7609
|
release: string;
|
|
7610
|
-
interaction: "
|
|
7610
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
7611
7611
|
lifecycle: "active" | "paused" | "archived";
|
|
7612
7612
|
rewards: {
|
|
7613
7613
|
label: string;
|
|
@@ -7673,7 +7673,7 @@ declare function createRelayClient(options: {
|
|
|
7673
7673
|
} | undefined;
|
|
7674
7674
|
} | undefined;
|
|
7675
7675
|
};
|
|
7676
|
-
connections: ("
|
|
7676
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7677
7677
|
trigger: {
|
|
7678
7678
|
kind: "manual";
|
|
7679
7679
|
input: "text";
|
|
@@ -7704,7 +7704,7 @@ declare function createRelayClient(options: {
|
|
|
7704
7704
|
};
|
|
7705
7705
|
availability: {
|
|
7706
7706
|
kind: "available";
|
|
7707
|
-
input: "quiz" | "
|
|
7707
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
7708
7708
|
} | {
|
|
7709
7709
|
kind: "completed";
|
|
7710
7710
|
} | {
|
|
@@ -7753,7 +7753,7 @@ declare function createRelayClient(options: {
|
|
|
7753
7753
|
quest: string;
|
|
7754
7754
|
member: string;
|
|
7755
7755
|
evidence: string | null;
|
|
7756
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7756
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7757
7757
|
reason: string | null;
|
|
7758
7758
|
retries: number;
|
|
7759
7759
|
generation: number;
|
|
@@ -7801,7 +7801,7 @@ declare function createRelayClient(options: {
|
|
|
7801
7801
|
} | undefined;
|
|
7802
7802
|
} | null;
|
|
7803
7803
|
release: string;
|
|
7804
|
-
interaction: "
|
|
7804
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
7805
7805
|
lifecycle: "active" | "paused" | "archived";
|
|
7806
7806
|
rewards: {
|
|
7807
7807
|
label: string;
|
|
@@ -7870,7 +7870,7 @@ declare function createRelayClient(options: {
|
|
|
7870
7870
|
auth: {
|
|
7871
7871
|
providers: () => Promise<{
|
|
7872
7872
|
providers: {
|
|
7873
|
-
provider: "
|
|
7873
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
7874
7874
|
configured: boolean;
|
|
7875
7875
|
}[];
|
|
7876
7876
|
email: boolean;
|
|
@@ -7900,7 +7900,7 @@ declare function createRelayClient(options: {
|
|
|
7900
7900
|
expiresAt: number;
|
|
7901
7901
|
}>;
|
|
7902
7902
|
accounts: () => Promise<{
|
|
7903
|
-
provider: "
|
|
7903
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
7904
7904
|
configured: boolean;
|
|
7905
7905
|
status: "disconnected" | "connected" | "reconnect";
|
|
7906
7906
|
subject: string | null;
|
|
@@ -7999,7 +7999,7 @@ declare function createRelayClient(options: {
|
|
|
7999
7999
|
quest: string;
|
|
8000
8000
|
member: string;
|
|
8001
8001
|
evidence: string | null;
|
|
8002
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8002
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8003
8003
|
reason: string | null;
|
|
8004
8004
|
retries: number;
|
|
8005
8005
|
generation: number;
|
|
@@ -8071,7 +8071,7 @@ declare function createRelayClient(options: {
|
|
|
8071
8071
|
} | undefined;
|
|
8072
8072
|
} | undefined;
|
|
8073
8073
|
};
|
|
8074
|
-
connections: ("
|
|
8074
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8075
8075
|
trigger: {
|
|
8076
8076
|
kind: "manual";
|
|
8077
8077
|
input: "text";
|
|
@@ -8102,7 +8102,7 @@ declare function createRelayClient(options: {
|
|
|
8102
8102
|
};
|
|
8103
8103
|
availability: {
|
|
8104
8104
|
kind: "available";
|
|
8105
|
-
input: "quiz" | "
|
|
8105
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8106
8106
|
} | {
|
|
8107
8107
|
kind: "completed";
|
|
8108
8108
|
} | {
|
|
@@ -8151,7 +8151,7 @@ declare function createRelayClient(options: {
|
|
|
8151
8151
|
quest: string;
|
|
8152
8152
|
member: string;
|
|
8153
8153
|
evidence: string | null;
|
|
8154
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8154
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8155
8155
|
reason: string | null;
|
|
8156
8156
|
retries: number;
|
|
8157
8157
|
generation: number;
|
|
@@ -8318,7 +8318,7 @@ declare function createRelayClient(options: {
|
|
|
8318
8318
|
provider: "discord";
|
|
8319
8319
|
action: "grant-role";
|
|
8320
8320
|
roleId: string;
|
|
8321
|
-
status: "
|
|
8321
|
+
status: "pending" | "failed" | "delivered";
|
|
8322
8322
|
attempts: number;
|
|
8323
8323
|
nextAt: number;
|
|
8324
8324
|
lastError: string | null;
|
|
@@ -8334,7 +8334,7 @@ declare function createRelayClient(options: {
|
|
|
8334
8334
|
quest: string;
|
|
8335
8335
|
member: string;
|
|
8336
8336
|
evidence: string | null;
|
|
8337
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8337
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8338
8338
|
reason: string | null;
|
|
8339
8339
|
retries: number;
|
|
8340
8340
|
generation: number;
|
|
@@ -8400,7 +8400,7 @@ declare function createRelayClient(options: {
|
|
|
8400
8400
|
quest: string;
|
|
8401
8401
|
member: string;
|
|
8402
8402
|
evidence: string | null;
|
|
8403
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8403
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8404
8404
|
reason: string | null;
|
|
8405
8405
|
retries: number;
|
|
8406
8406
|
generation: number;
|
|
@@ -8484,7 +8484,7 @@ declare function createRelayClient(options: {
|
|
|
8484
8484
|
code: string;
|
|
8485
8485
|
definition: {
|
|
8486
8486
|
quest: string;
|
|
8487
|
-
runtimeVersion:
|
|
8487
|
+
runtimeVersion: 1 | 2;
|
|
8488
8488
|
title: string;
|
|
8489
8489
|
presentation: {
|
|
8490
8490
|
quiz?: {
|
|
@@ -8521,12 +8521,12 @@ declare function createRelayClient(options: {
|
|
|
8521
8521
|
kind: "resource";
|
|
8522
8522
|
default: string;
|
|
8523
8523
|
source: {
|
|
8524
|
-
provider: "domino";
|
|
8525
|
-
resource: "point-ledger";
|
|
8526
|
-
} | {
|
|
8527
8524
|
provider: "discord";
|
|
8528
8525
|
resource: "channel";
|
|
8529
8526
|
types: ("text" | "announcement")[];
|
|
8527
|
+
} | {
|
|
8528
|
+
provider: "domino";
|
|
8529
|
+
resource: "point-ledger";
|
|
8530
8530
|
} | {
|
|
8531
8531
|
provider: "discord";
|
|
8532
8532
|
resource: "role";
|
|
@@ -8655,7 +8655,7 @@ declare function createRelayClient(options: {
|
|
|
8655
8655
|
visibility: "visible" | "hidden";
|
|
8656
8656
|
budgets: {
|
|
8657
8657
|
id: string;
|
|
8658
|
-
scope: "
|
|
8658
|
+
scope: "member" | "project";
|
|
8659
8659
|
period: "day" | "lifetime";
|
|
8660
8660
|
limit: number;
|
|
8661
8661
|
cost: number | {
|
|
@@ -8669,7 +8669,7 @@ declare function createRelayClient(options: {
|
|
|
8669
8669
|
code: string;
|
|
8670
8670
|
definition: {
|
|
8671
8671
|
quest: string;
|
|
8672
|
-
runtimeVersion:
|
|
8672
|
+
runtimeVersion: 1 | 2;
|
|
8673
8673
|
title: string;
|
|
8674
8674
|
presentation: {
|
|
8675
8675
|
quiz?: {
|
|
@@ -8706,12 +8706,12 @@ declare function createRelayClient(options: {
|
|
|
8706
8706
|
kind: "resource";
|
|
8707
8707
|
default: string;
|
|
8708
8708
|
source: {
|
|
8709
|
-
provider: "domino";
|
|
8710
|
-
resource: "point-ledger";
|
|
8711
|
-
} | {
|
|
8712
8709
|
provider: "discord";
|
|
8713
8710
|
resource: "channel";
|
|
8714
8711
|
types: ("text" | "announcement")[];
|
|
8712
|
+
} | {
|
|
8713
|
+
provider: "domino";
|
|
8714
|
+
resource: "point-ledger";
|
|
8715
8715
|
} | {
|
|
8716
8716
|
provider: "discord";
|
|
8717
8717
|
resource: "role";
|
|
@@ -8840,7 +8840,7 @@ declare function createRelayClient(options: {
|
|
|
8840
8840
|
visibility: "visible" | "hidden";
|
|
8841
8841
|
budgets: {
|
|
8842
8842
|
id: string;
|
|
8843
|
-
scope: "
|
|
8843
|
+
scope: "member" | "project";
|
|
8844
8844
|
period: "day" | "lifetime";
|
|
8845
8845
|
limit: number;
|
|
8846
8846
|
cost: number | {
|
|
@@ -8853,7 +8853,7 @@ declare function createRelayClient(options: {
|
|
|
8853
8853
|
snapshot: () => Promise<{
|
|
8854
8854
|
releases: {
|
|
8855
8855
|
quest: string;
|
|
8856
|
-
runtimeVersion:
|
|
8856
|
+
runtimeVersion: 1 | 2;
|
|
8857
8857
|
title: string;
|
|
8858
8858
|
presentation: {
|
|
8859
8859
|
quiz?: {
|
|
@@ -8890,12 +8890,12 @@ declare function createRelayClient(options: {
|
|
|
8890
8890
|
kind: "resource";
|
|
8891
8891
|
default: string;
|
|
8892
8892
|
source: {
|
|
8893
|
-
provider: "domino";
|
|
8894
|
-
resource: "point-ledger";
|
|
8895
|
-
} | {
|
|
8896
8893
|
provider: "discord";
|
|
8897
8894
|
resource: "channel";
|
|
8898
8895
|
types: ("text" | "announcement")[];
|
|
8896
|
+
} | {
|
|
8897
|
+
provider: "domino";
|
|
8898
|
+
resource: "point-ledger";
|
|
8899
8899
|
} | {
|
|
8900
8900
|
provider: "discord";
|
|
8901
8901
|
resource: "role";
|
|
@@ -9024,7 +9024,7 @@ declare function createRelayClient(options: {
|
|
|
9024
9024
|
visibility: "visible" | "hidden";
|
|
9025
9025
|
budgets: {
|
|
9026
9026
|
id: string;
|
|
9027
|
-
scope: "
|
|
9027
|
+
scope: "member" | "project";
|
|
9028
9028
|
period: "day" | "lifetime";
|
|
9029
9029
|
limit: number;
|
|
9030
9030
|
cost: number | {
|
|
@@ -9152,7 +9152,7 @@ declare function createRelayClient(options: {
|
|
|
9152
9152
|
quest: string;
|
|
9153
9153
|
member: string;
|
|
9154
9154
|
evidence: string | null;
|
|
9155
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9155
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9156
9156
|
reason: string | null;
|
|
9157
9157
|
retries: number;
|
|
9158
9158
|
generation: number;
|
|
@@ -9218,7 +9218,7 @@ declare function createRelayClient(options: {
|
|
|
9218
9218
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
9219
9219
|
publish: (release: ReleaseInput) => Promise<{
|
|
9220
9220
|
quest: string;
|
|
9221
|
-
runtimeVersion:
|
|
9221
|
+
runtimeVersion: 1 | 2;
|
|
9222
9222
|
title: string;
|
|
9223
9223
|
presentation: {
|
|
9224
9224
|
quiz?: {
|
|
@@ -9255,12 +9255,12 @@ declare function createRelayClient(options: {
|
|
|
9255
9255
|
kind: "resource";
|
|
9256
9256
|
default: string;
|
|
9257
9257
|
source: {
|
|
9258
|
-
provider: "domino";
|
|
9259
|
-
resource: "point-ledger";
|
|
9260
|
-
} | {
|
|
9261
9258
|
provider: "discord";
|
|
9262
9259
|
resource: "channel";
|
|
9263
9260
|
types: ("text" | "announcement")[];
|
|
9261
|
+
} | {
|
|
9262
|
+
provider: "domino";
|
|
9263
|
+
resource: "point-ledger";
|
|
9264
9264
|
} | {
|
|
9265
9265
|
provider: "discord";
|
|
9266
9266
|
resource: "role";
|
|
@@ -9389,7 +9389,7 @@ declare function createRelayClient(options: {
|
|
|
9389
9389
|
visibility: "visible" | "hidden";
|
|
9390
9390
|
budgets: {
|
|
9391
9391
|
id: string;
|
|
9392
|
-
scope: "
|
|
9392
|
+
scope: "member" | "project";
|
|
9393
9393
|
period: "day" | "lifetime";
|
|
9394
9394
|
limit: number;
|
|
9395
9395
|
cost: number | {
|
|
@@ -9431,7 +9431,7 @@ declare function createRelayClient(options: {
|
|
|
9431
9431
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
9432
9432
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
9433
9433
|
quest: string;
|
|
9434
|
-
runtimeVersion:
|
|
9434
|
+
runtimeVersion: 1 | 2;
|
|
9435
9435
|
title: string;
|
|
9436
9436
|
presentation: {
|
|
9437
9437
|
quiz?: {
|
|
@@ -9468,12 +9468,12 @@ declare function createRelayClient(options: {
|
|
|
9468
9468
|
kind: "resource";
|
|
9469
9469
|
default: string;
|
|
9470
9470
|
source: {
|
|
9471
|
-
provider: "domino";
|
|
9472
|
-
resource: "point-ledger";
|
|
9473
|
-
} | {
|
|
9474
9471
|
provider: "discord";
|
|
9475
9472
|
resource: "channel";
|
|
9476
9473
|
types: ("text" | "announcement")[];
|
|
9474
|
+
} | {
|
|
9475
|
+
provider: "domino";
|
|
9476
|
+
resource: "point-ledger";
|
|
9477
9477
|
} | {
|
|
9478
9478
|
provider: "discord";
|
|
9479
9479
|
resource: "role";
|
|
@@ -9602,7 +9602,7 @@ declare function createRelayClient(options: {
|
|
|
9602
9602
|
visibility: "visible" | "hidden";
|
|
9603
9603
|
budgets: {
|
|
9604
9604
|
id: string;
|
|
9605
|
-
scope: "
|
|
9605
|
+
scope: "member" | "project";
|
|
9606
9606
|
period: "day" | "lifetime";
|
|
9607
9607
|
limit: number;
|
|
9608
9608
|
cost: number | {
|
|
@@ -9666,7 +9666,7 @@ declare function createRelayClient(options: {
|
|
|
9666
9666
|
} | undefined;
|
|
9667
9667
|
} | undefined;
|
|
9668
9668
|
};
|
|
9669
|
-
connections: ("
|
|
9669
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
9670
9670
|
trigger: {
|
|
9671
9671
|
kind: "manual";
|
|
9672
9672
|
input: "text";
|
|
@@ -9697,7 +9697,7 @@ declare function createRelayClient(options: {
|
|
|
9697
9697
|
};
|
|
9698
9698
|
availability: {
|
|
9699
9699
|
kind: "available";
|
|
9700
|
-
input: "quiz" | "
|
|
9700
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
9701
9701
|
} | {
|
|
9702
9702
|
kind: "completed";
|
|
9703
9703
|
} | {
|
|
@@ -9746,7 +9746,7 @@ declare function createRelayClient(options: {
|
|
|
9746
9746
|
quest: string;
|
|
9747
9747
|
member: string;
|
|
9748
9748
|
evidence: string | null;
|
|
9749
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9749
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9750
9750
|
reason: string | null;
|
|
9751
9751
|
retries: number;
|
|
9752
9752
|
generation: number;
|
|
@@ -10075,7 +10075,7 @@ declare function createRelayClient(options: {
|
|
|
10075
10075
|
quest: string;
|
|
10076
10076
|
member: string;
|
|
10077
10077
|
evidence: string | null;
|
|
10078
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10078
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10079
10079
|
reason: string | null;
|
|
10080
10080
|
retries: number;
|
|
10081
10081
|
generation: number;
|
|
@@ -10128,7 +10128,7 @@ declare function createRelayClient(options: {
|
|
|
10128
10128
|
quest: string;
|
|
10129
10129
|
member: string;
|
|
10130
10130
|
evidence: string | null;
|
|
10131
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10131
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10132
10132
|
reason: string | null;
|
|
10133
10133
|
retries: number;
|
|
10134
10134
|
generation: number;
|
|
@@ -10187,7 +10187,7 @@ declare function createRelayClient(options: {
|
|
|
10187
10187
|
quest: string;
|
|
10188
10188
|
member: string;
|
|
10189
10189
|
evidence: string | null;
|
|
10190
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10190
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10191
10191
|
reason: string | null;
|
|
10192
10192
|
retries: number;
|
|
10193
10193
|
generation: number;
|