@domino-sdk/relay 0.18.3 → 0.19.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 +64 -64
- package/dist/index.d.ts +139 -139
- 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";
|
|
202
203
|
quiz: "quiz";
|
|
203
|
-
url: "url";
|
|
204
204
|
text: "text";
|
|
205
|
-
|
|
205
|
+
url: "url";
|
|
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
|
-
member: "member";
|
|
444
443
|
project: "project";
|
|
444
|
+
member: "member";
|
|
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
|
-
member: "member";
|
|
844
843
|
project: "project";
|
|
844
|
+
member: "member";
|
|
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
|
-
member: "member";
|
|
1188
1187
|
project: "project";
|
|
1188
|
+
member: "member";
|
|
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: 2 | 1;
|
|
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
|
+
} | {
|
|
1321
1324
|
provider: "discord";
|
|
1322
1325
|
resource: "channel";
|
|
1323
1326
|
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: "project" | "member";
|
|
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";
|
|
1545
1546
|
quiz: "quiz";
|
|
1546
|
-
url: "url";
|
|
1547
1547
|
text: "text";
|
|
1548
|
-
|
|
1548
|
+
url: "url";
|
|
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";
|
|
1578
1579
|
quiz: "quiz";
|
|
1579
|
-
url: "url";
|
|
1580
1580
|
text: "text";
|
|
1581
|
-
|
|
1581
|
+
url: "url";
|
|
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
|
-
member: "member";
|
|
1821
1820
|
project: "project";
|
|
1821
|
+
member: "member";
|
|
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";
|
|
1848
1849
|
quiz: "quiz";
|
|
1849
|
-
url: "url";
|
|
1850
1850
|
text: "text";
|
|
1851
|
-
|
|
1851
|
+
url: "url";
|
|
1852
1852
|
photo: "photo";
|
|
1853
1853
|
automatic: "automatic";
|
|
1854
1854
|
claim: "claim";
|
|
@@ -1918,10 +1918,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1918
1918
|
}, z.core.$strict>>;
|
|
1919
1919
|
}, z.core.$strict>>;
|
|
1920
1920
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1921
|
+
discord: "discord";
|
|
1921
1922
|
google: "google";
|
|
1922
1923
|
apple: "apple";
|
|
1923
1924
|
x: "x";
|
|
1924
|
-
discord: "discord";
|
|
1925
1925
|
}>>>;
|
|
1926
1926
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1927
1927
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1988,8 +1988,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1988
1988
|
kind: z.ZodLiteral<"available">;
|
|
1989
1989
|
input: z.ZodEnum<{
|
|
1990
1990
|
quiz: "quiz";
|
|
1991
|
-
url: "url";
|
|
1992
1991
|
text: "text";
|
|
1992
|
+
url: "url";
|
|
1993
1993
|
photo: "photo";
|
|
1994
1994
|
none: "none";
|
|
1995
1995
|
}>;
|
|
@@ -2088,12 +2088,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2088
2088
|
value: z.ZodString;
|
|
2089
2089
|
}, z.core.$strict>]>>;
|
|
2090
2090
|
status: z.ZodEnum<{
|
|
2091
|
-
"needs-review": "needs-review";
|
|
2092
2091
|
queued: "queued";
|
|
2093
2092
|
evaluating: "evaluating";
|
|
2094
2093
|
accepted: "accepted";
|
|
2095
2094
|
progressed: "progressed";
|
|
2096
2095
|
rejected: "rejected";
|
|
2096
|
+
"needs-review": "needs-review";
|
|
2097
2097
|
failed: "failed";
|
|
2098
2098
|
}>;
|
|
2099
2099
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2131,10 +2131,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2131
2131
|
}, z.core.$strip>>;
|
|
2132
2132
|
release: z.ZodString;
|
|
2133
2133
|
interaction: z.ZodEnum<{
|
|
2134
|
+
staff: "staff";
|
|
2134
2135
|
quiz: "quiz";
|
|
2135
|
-
url: "url";
|
|
2136
2136
|
text: "text";
|
|
2137
|
-
|
|
2137
|
+
url: "url";
|
|
2138
2138
|
photo: "photo";
|
|
2139
2139
|
automatic: "automatic";
|
|
2140
2140
|
claim: "claim";
|
|
@@ -2177,10 +2177,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2177
2177
|
}, z.core.$strict>>;
|
|
2178
2178
|
}, z.core.$strict>>;
|
|
2179
2179
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2180
|
+
discord: "discord";
|
|
2180
2181
|
google: "google";
|
|
2181
2182
|
apple: "apple";
|
|
2182
2183
|
x: "x";
|
|
2183
|
-
discord: "discord";
|
|
2184
2184
|
}>>>;
|
|
2185
2185
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2186
2186
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2247,8 +2247,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2247
2247
|
kind: z.ZodLiteral<"available">;
|
|
2248
2248
|
input: z.ZodEnum<{
|
|
2249
2249
|
quiz: "quiz";
|
|
2250
|
-
url: "url";
|
|
2251
2250
|
text: "text";
|
|
2251
|
+
url: "url";
|
|
2252
2252
|
photo: "photo";
|
|
2253
2253
|
none: "none";
|
|
2254
2254
|
}>;
|
|
@@ -2347,12 +2347,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2347
2347
|
value: z.ZodString;
|
|
2348
2348
|
}, z.core.$strict>]>>;
|
|
2349
2349
|
status: z.ZodEnum<{
|
|
2350
|
-
"needs-review": "needs-review";
|
|
2351
2350
|
queued: "queued";
|
|
2352
2351
|
evaluating: "evaluating";
|
|
2353
2352
|
accepted: "accepted";
|
|
2354
2353
|
progressed: "progressed";
|
|
2355
2354
|
rejected: "rejected";
|
|
2355
|
+
"needs-review": "needs-review";
|
|
2356
2356
|
failed: "failed";
|
|
2357
2357
|
}>;
|
|
2358
2358
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2390,10 +2390,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2390
2390
|
}, z.core.$strip>>;
|
|
2391
2391
|
release: z.ZodString;
|
|
2392
2392
|
interaction: z.ZodEnum<{
|
|
2393
|
+
staff: "staff";
|
|
2393
2394
|
quiz: "quiz";
|
|
2394
|
-
url: "url";
|
|
2395
2395
|
text: "text";
|
|
2396
|
-
|
|
2396
|
+
url: "url";
|
|
2397
2397
|
photo: "photo";
|
|
2398
2398
|
automatic: "automatic";
|
|
2399
2399
|
claim: "claim";
|
|
@@ -2435,10 +2435,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2435
2435
|
}, z.core.$strict>>;
|
|
2436
2436
|
}, z.core.$strict>>;
|
|
2437
2437
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2438
|
+
discord: "discord";
|
|
2438
2439
|
google: "google";
|
|
2439
2440
|
apple: "apple";
|
|
2440
2441
|
x: "x";
|
|
2441
|
-
discord: "discord";
|
|
2442
2442
|
}>>>;
|
|
2443
2443
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2444
2444
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2505,8 +2505,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2505
2505
|
kind: z.ZodLiteral<"available">;
|
|
2506
2506
|
input: z.ZodEnum<{
|
|
2507
2507
|
quiz: "quiz";
|
|
2508
|
-
url: "url";
|
|
2509
2508
|
text: "text";
|
|
2509
|
+
url: "url";
|
|
2510
2510
|
photo: "photo";
|
|
2511
2511
|
none: "none";
|
|
2512
2512
|
}>;
|
|
@@ -2605,12 +2605,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2605
2605
|
value: z.ZodString;
|
|
2606
2606
|
}, z.core.$strict>]>>;
|
|
2607
2607
|
status: z.ZodEnum<{
|
|
2608
|
-
"needs-review": "needs-review";
|
|
2609
2608
|
queued: "queued";
|
|
2610
2609
|
evaluating: "evaluating";
|
|
2611
2610
|
accepted: "accepted";
|
|
2612
2611
|
progressed: "progressed";
|
|
2613
2612
|
rejected: "rejected";
|
|
2613
|
+
"needs-review": "needs-review";
|
|
2614
2614
|
failed: "failed";
|
|
2615
2615
|
}>;
|
|
2616
2616
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2648,10 +2648,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2648
2648
|
}, z.core.$strip>>;
|
|
2649
2649
|
release: z.ZodString;
|
|
2650
2650
|
interaction: z.ZodEnum<{
|
|
2651
|
+
staff: "staff";
|
|
2651
2652
|
quiz: "quiz";
|
|
2652
|
-
url: "url";
|
|
2653
2653
|
text: "text";
|
|
2654
|
-
|
|
2654
|
+
url: "url";
|
|
2655
2655
|
photo: "photo";
|
|
2656
2656
|
automatic: "automatic";
|
|
2657
2657
|
claim: "claim";
|
|
@@ -2694,10 +2694,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2694
2694
|
}, z.core.$strict>>;
|
|
2695
2695
|
}, z.core.$strict>>;
|
|
2696
2696
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2697
|
+
discord: "discord";
|
|
2697
2698
|
google: "google";
|
|
2698
2699
|
apple: "apple";
|
|
2699
2700
|
x: "x";
|
|
2700
|
-
discord: "discord";
|
|
2701
2701
|
}>>>;
|
|
2702
2702
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2703
2703
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2764,8 +2764,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2764
2764
|
kind: z.ZodLiteral<"available">;
|
|
2765
2765
|
input: z.ZodEnum<{
|
|
2766
2766
|
quiz: "quiz";
|
|
2767
|
-
url: "url";
|
|
2768
2767
|
text: "text";
|
|
2768
|
+
url: "url";
|
|
2769
2769
|
photo: "photo";
|
|
2770
2770
|
none: "none";
|
|
2771
2771
|
}>;
|
|
@@ -2864,12 +2864,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2864
2864
|
value: z.ZodString;
|
|
2865
2865
|
}, z.core.$strict>]>>;
|
|
2866
2866
|
status: z.ZodEnum<{
|
|
2867
|
-
"needs-review": "needs-review";
|
|
2868
2867
|
queued: "queued";
|
|
2869
2868
|
evaluating: "evaluating";
|
|
2870
2869
|
accepted: "accepted";
|
|
2871
2870
|
progressed: "progressed";
|
|
2872
2871
|
rejected: "rejected";
|
|
2872
|
+
"needs-review": "needs-review";
|
|
2873
2873
|
failed: "failed";
|
|
2874
2874
|
}>;
|
|
2875
2875
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2907,10 +2907,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2907
2907
|
}, z.core.$strip>>;
|
|
2908
2908
|
release: z.ZodString;
|
|
2909
2909
|
interaction: z.ZodEnum<{
|
|
2910
|
+
staff: "staff";
|
|
2910
2911
|
quiz: "quiz";
|
|
2911
|
-
url: "url";
|
|
2912
2912
|
text: "text";
|
|
2913
|
-
|
|
2913
|
+
url: "url";
|
|
2914
2914
|
photo: "photo";
|
|
2915
2915
|
automatic: "automatic";
|
|
2916
2916
|
claim: "claim";
|
|
@@ -3227,8 +3227,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3227
3227
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3228
3228
|
id: z.ZodString;
|
|
3229
3229
|
scope: z.ZodEnum<{
|
|
3230
|
-
member: "member";
|
|
3231
3230
|
project: "project";
|
|
3231
|
+
member: "member";
|
|
3232
3232
|
}>;
|
|
3233
3233
|
period: z.ZodEnum<{
|
|
3234
3234
|
day: "day";
|
|
@@ -3324,7 +3324,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3324
3324
|
createdAt: z.ZodNumber;
|
|
3325
3325
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3326
3326
|
quest: string;
|
|
3327
|
-
runtimeVersion:
|
|
3327
|
+
runtimeVersion: 2 | 1;
|
|
3328
3328
|
title: string;
|
|
3329
3329
|
presentation: {
|
|
3330
3330
|
quiz?: {
|
|
@@ -3361,12 +3361,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3361
3361
|
kind: "resource";
|
|
3362
3362
|
default: string;
|
|
3363
3363
|
source: {
|
|
3364
|
+
provider: "domino";
|
|
3365
|
+
resource: "point-ledger";
|
|
3366
|
+
} | {
|
|
3364
3367
|
provider: "discord";
|
|
3365
3368
|
resource: "channel";
|
|
3366
3369
|
types: ("text" | "announcement")[];
|
|
3367
|
-
} | {
|
|
3368
|
-
provider: "domino";
|
|
3369
|
-
resource: "point-ledger";
|
|
3370
3370
|
} | {
|
|
3371
3371
|
provider: "discord";
|
|
3372
3372
|
resource: "role";
|
|
@@ -3505,7 +3505,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3505
3505
|
visibility: "visible" | "hidden";
|
|
3506
3506
|
budgets: {
|
|
3507
3507
|
id: string;
|
|
3508
|
-
scope: "
|
|
3508
|
+
scope: "project" | "member";
|
|
3509
3509
|
period: "day" | "lifetime";
|
|
3510
3510
|
limit: number;
|
|
3511
3511
|
cost: number | {
|
|
@@ -3663,8 +3663,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3663
3663
|
action: z.ZodLiteral<"grant-role">;
|
|
3664
3664
|
roleId: z.ZodString;
|
|
3665
3665
|
status: z.ZodEnum<{
|
|
3666
|
-
pending: "pending";
|
|
3667
3666
|
failed: "failed";
|
|
3667
|
+
pending: "pending";
|
|
3668
3668
|
delivered: "delivered";
|
|
3669
3669
|
}>;
|
|
3670
3670
|
attempts: z.ZodNumber;
|
|
@@ -3683,8 +3683,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3683
3683
|
action: z.ZodLiteral<"grant-role">;
|
|
3684
3684
|
roleId: z.ZodString;
|
|
3685
3685
|
status: z.ZodEnum<{
|
|
3686
|
-
pending: "pending";
|
|
3687
3686
|
failed: "failed";
|
|
3687
|
+
pending: "pending";
|
|
3688
3688
|
delivered: "delivered";
|
|
3689
3689
|
}>;
|
|
3690
3690
|
attempts: z.ZodNumber;
|
|
@@ -3853,10 +3853,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3853
3853
|
}>;
|
|
3854
3854
|
}, z.core.$strip>>>;
|
|
3855
3855
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3856
|
+
staff: "staff";
|
|
3856
3857
|
quiz: "quiz";
|
|
3857
|
-
url: "url";
|
|
3858
3858
|
text: "text";
|
|
3859
|
-
|
|
3859
|
+
url: "url";
|
|
3860
3860
|
photo: "photo";
|
|
3861
3861
|
automatic: "automatic";
|
|
3862
3862
|
claim: "claim";
|
|
@@ -3936,6 +3936,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3936
3936
|
tier: z.ZodString;
|
|
3937
3937
|
}, z.core.$strict>]>>>;
|
|
3938
3938
|
}, z.core.$strict>>;
|
|
3939
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3939
3940
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3940
3941
|
kind: z.ZodLiteral<"signup">;
|
|
3941
3942
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3944,7 +3945,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3944
3945
|
}, z.core.$strict>, z.ZodObject<{
|
|
3945
3946
|
kind: z.ZodLiteral<"external">;
|
|
3946
3947
|
}, z.core.$strict>], "kind">;
|
|
3947
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3948
3948
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3949
3949
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3950
3950
|
id: z.ZodString;
|
|
@@ -4031,6 +4031,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4031
4031
|
amount: number;
|
|
4032
4032
|
})[];
|
|
4033
4033
|
};
|
|
4034
|
+
enabled: boolean;
|
|
4034
4035
|
qualification: {
|
|
4035
4036
|
kind: "signup";
|
|
4036
4037
|
} | {
|
|
@@ -4039,7 +4040,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4039
4040
|
} | {
|
|
4040
4041
|
kind: "external";
|
|
4041
4042
|
};
|
|
4042
|
-
enabled: boolean;
|
|
4043
4043
|
milestones: {
|
|
4044
4044
|
id: string;
|
|
4045
4045
|
count: number;
|
|
@@ -4128,6 +4128,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4128
4128
|
amount: number;
|
|
4129
4129
|
})[];
|
|
4130
4130
|
};
|
|
4131
|
+
enabled: boolean;
|
|
4131
4132
|
qualification: {
|
|
4132
4133
|
kind: "signup";
|
|
4133
4134
|
} | {
|
|
@@ -4136,7 +4137,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4136
4137
|
} | {
|
|
4137
4138
|
kind: "external";
|
|
4138
4139
|
};
|
|
4139
|
-
enabled: boolean;
|
|
4140
4140
|
milestones: {
|
|
4141
4141
|
id: string;
|
|
4142
4142
|
count: number;
|
|
@@ -4181,7 +4181,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4181
4181
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4182
4182
|
title: z.ZodString;
|
|
4183
4183
|
balance: z.ZodString;
|
|
4184
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4185
4184
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4186
4185
|
kind: z.ZodLiteral<"balance">;
|
|
4187
4186
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4230,6 +4229,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4230
4229
|
participants: "participants";
|
|
4231
4230
|
public: "public";
|
|
4232
4231
|
}>>;
|
|
4232
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4233
4233
|
key: z.ZodOptional<z.ZodString>;
|
|
4234
4234
|
id: z.ZodOptional<z.ZodString>;
|
|
4235
4235
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4348,10 +4348,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4348
4348
|
}>;
|
|
4349
4349
|
}, z.core.$strip>>>;
|
|
4350
4350
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4351
|
+
staff: "staff";
|
|
4351
4352
|
quiz: "quiz";
|
|
4352
|
-
url: "url";
|
|
4353
4353
|
text: "text";
|
|
4354
|
-
|
|
4354
|
+
url: "url";
|
|
4355
4355
|
photo: "photo";
|
|
4356
4356
|
automatic: "automatic";
|
|
4357
4357
|
claim: "claim";
|
|
@@ -4431,6 +4431,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4431
4431
|
tier: z.ZodString;
|
|
4432
4432
|
}, z.core.$strict>]>>>;
|
|
4433
4433
|
}, z.core.$strict>>;
|
|
4434
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4434
4435
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4435
4436
|
kind: z.ZodLiteral<"signup">;
|
|
4436
4437
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4439,7 +4440,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4439
4440
|
}, z.core.$strict>, z.ZodObject<{
|
|
4440
4441
|
kind: z.ZodLiteral<"external">;
|
|
4441
4442
|
}, z.core.$strict>], "kind">;
|
|
4442
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4443
4443
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4444
4444
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4445
4445
|
id: z.ZodString;
|
|
@@ -4526,6 +4526,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4526
4526
|
amount: number;
|
|
4527
4527
|
})[];
|
|
4528
4528
|
};
|
|
4529
|
+
enabled: boolean;
|
|
4529
4530
|
qualification: {
|
|
4530
4531
|
kind: "signup";
|
|
4531
4532
|
} | {
|
|
@@ -4534,7 +4535,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4534
4535
|
} | {
|
|
4535
4536
|
kind: "external";
|
|
4536
4537
|
};
|
|
4537
|
-
enabled: boolean;
|
|
4538
4538
|
milestones: {
|
|
4539
4539
|
id: string;
|
|
4540
4540
|
count: number;
|
|
@@ -4623,6 +4623,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4623
4623
|
amount: number;
|
|
4624
4624
|
})[];
|
|
4625
4625
|
};
|
|
4626
|
+
enabled: boolean;
|
|
4626
4627
|
qualification: {
|
|
4627
4628
|
kind: "signup";
|
|
4628
4629
|
} | {
|
|
@@ -4631,7 +4632,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4631
4632
|
} | {
|
|
4632
4633
|
kind: "external";
|
|
4633
4634
|
};
|
|
4634
|
-
enabled: boolean;
|
|
4635
4635
|
milestones: {
|
|
4636
4636
|
id: string;
|
|
4637
4637
|
count: number;
|
|
@@ -4676,7 +4676,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4676
4676
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4677
4677
|
title: z.ZodString;
|
|
4678
4678
|
balance: z.ZodString;
|
|
4679
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4680
4679
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4681
4680
|
kind: z.ZodLiteral<"balance">;
|
|
4682
4681
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4725,6 +4724,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4725
4724
|
participants: "participants";
|
|
4726
4725
|
public: "public";
|
|
4727
4726
|
}>>;
|
|
4727
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4728
4728
|
key: z.ZodOptional<z.ZodString>;
|
|
4729
4729
|
id: z.ZodOptional<z.ZodString>;
|
|
4730
4730
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5213,8 +5213,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5213
5213
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5214
5214
|
id: z.ZodString;
|
|
5215
5215
|
scope: z.ZodEnum<{
|
|
5216
|
-
member: "member";
|
|
5217
5216
|
project: "project";
|
|
5217
|
+
member: "member";
|
|
5218
5218
|
}>;
|
|
5219
5219
|
period: z.ZodEnum<{
|
|
5220
5220
|
day: "day";
|
|
@@ -5310,7 +5310,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5310
5310
|
createdAt: z.ZodNumber;
|
|
5311
5311
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5312
5312
|
quest: string;
|
|
5313
|
-
runtimeVersion:
|
|
5313
|
+
runtimeVersion: 2 | 1;
|
|
5314
5314
|
title: string;
|
|
5315
5315
|
presentation: {
|
|
5316
5316
|
quiz?: {
|
|
@@ -5347,12 +5347,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5347
5347
|
kind: "resource";
|
|
5348
5348
|
default: string;
|
|
5349
5349
|
source: {
|
|
5350
|
+
provider: "domino";
|
|
5351
|
+
resource: "point-ledger";
|
|
5352
|
+
} | {
|
|
5350
5353
|
provider: "discord";
|
|
5351
5354
|
resource: "channel";
|
|
5352
5355
|
types: ("text" | "announcement")[];
|
|
5353
|
-
} | {
|
|
5354
|
-
provider: "domino";
|
|
5355
|
-
resource: "point-ledger";
|
|
5356
5356
|
} | {
|
|
5357
5357
|
provider: "discord";
|
|
5358
5358
|
resource: "role";
|
|
@@ -5491,7 +5491,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5491
5491
|
visibility: "visible" | "hidden";
|
|
5492
5492
|
budgets: {
|
|
5493
5493
|
id: string;
|
|
5494
|
-
scope: "
|
|
5494
|
+
scope: "project" | "member";
|
|
5495
5495
|
period: "day" | "lifetime";
|
|
5496
5496
|
limit: number;
|
|
5497
5497
|
cost: number | {
|
|
@@ -5801,8 +5801,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5801
5801
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5802
5802
|
id: z.ZodString;
|
|
5803
5803
|
scope: z.ZodEnum<{
|
|
5804
|
-
member: "member";
|
|
5805
5804
|
project: "project";
|
|
5805
|
+
member: "member";
|
|
5806
5806
|
}>;
|
|
5807
5807
|
period: z.ZodEnum<{
|
|
5808
5808
|
day: "day";
|
|
@@ -5830,10 +5830,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5830
5830
|
quests: z.ZodArray<z.ZodString>;
|
|
5831
5831
|
}, z.core.$strict>>;
|
|
5832
5832
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5833
|
+
staff: "staff";
|
|
5833
5834
|
quiz: "quiz";
|
|
5834
|
-
url: "url";
|
|
5835
5835
|
text: "text";
|
|
5836
|
-
|
|
5836
|
+
url: "url";
|
|
5837
5837
|
photo: "photo";
|
|
5838
5838
|
automatic: "automatic";
|
|
5839
5839
|
claim: "claim";
|
|
@@ -6460,8 +6460,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6460
6460
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6461
6461
|
id: z.ZodString;
|
|
6462
6462
|
scope: z.ZodEnum<{
|
|
6463
|
-
member: "member";
|
|
6464
6463
|
project: "project";
|
|
6464
|
+
member: "member";
|
|
6465
6465
|
}>;
|
|
6466
6466
|
period: z.ZodEnum<{
|
|
6467
6467
|
day: "day";
|
|
@@ -6557,7 +6557,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6557
6557
|
createdAt: z.ZodNumber;
|
|
6558
6558
|
}, z.core.$strip>, z.ZodTransform<{
|
|
6559
6559
|
quest: string;
|
|
6560
|
-
runtimeVersion:
|
|
6560
|
+
runtimeVersion: 2 | 1;
|
|
6561
6561
|
title: string;
|
|
6562
6562
|
presentation: {
|
|
6563
6563
|
quiz?: {
|
|
@@ -6594,12 +6594,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6594
6594
|
kind: "resource";
|
|
6595
6595
|
default: string;
|
|
6596
6596
|
source: {
|
|
6597
|
+
provider: "domino";
|
|
6598
|
+
resource: "point-ledger";
|
|
6599
|
+
} | {
|
|
6597
6600
|
provider: "discord";
|
|
6598
6601
|
resource: "channel";
|
|
6599
6602
|
types: ("text" | "announcement")[];
|
|
6600
|
-
} | {
|
|
6601
|
-
provider: "domino";
|
|
6602
|
-
resource: "point-ledger";
|
|
6603
6603
|
} | {
|
|
6604
6604
|
provider: "discord";
|
|
6605
6605
|
resource: "role";
|
|
@@ -6738,7 +6738,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6738
6738
|
visibility: "visible" | "hidden";
|
|
6739
6739
|
budgets: {
|
|
6740
6740
|
id: string;
|
|
6741
|
-
scope: "
|
|
6741
|
+
scope: "project" | "member";
|
|
6742
6742
|
period: "day" | "lifetime";
|
|
6743
6743
|
limit: number;
|
|
6744
6744
|
cost: number | {
|
|
@@ -7048,8 +7048,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7048
7048
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7049
7049
|
id: z.ZodString;
|
|
7050
7050
|
scope: z.ZodEnum<{
|
|
7051
|
-
member: "member";
|
|
7052
7051
|
project: "project";
|
|
7052
|
+
member: "member";
|
|
7053
7053
|
}>;
|
|
7054
7054
|
period: z.ZodEnum<{
|
|
7055
7055
|
day: "day";
|
|
@@ -7077,10 +7077,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7077
7077
|
quests: z.ZodArray<z.ZodString>;
|
|
7078
7078
|
}, z.core.$strict>>;
|
|
7079
7079
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
7080
|
+
staff: "staff";
|
|
7080
7081
|
quiz: "quiz";
|
|
7081
|
-
url: "url";
|
|
7082
7082
|
text: "text";
|
|
7083
|
-
|
|
7083
|
+
url: "url";
|
|
7084
7084
|
photo: "photo";
|
|
7085
7085
|
automatic: "automatic";
|
|
7086
7086
|
claim: "claim";
|
|
@@ -7579,7 +7579,7 @@ declare function createRelayClient(options: {
|
|
|
7579
7579
|
accounts: {
|
|
7580
7580
|
id: string;
|
|
7581
7581
|
program: string;
|
|
7582
|
-
kind: "
|
|
7582
|
+
kind: "fixed" | "milestone" | "bonus";
|
|
7583
7583
|
balance: string;
|
|
7584
7584
|
earned: number;
|
|
7585
7585
|
settled: number;
|
|
@@ -7706,7 +7706,7 @@ declare function createRelayClient(options: {
|
|
|
7706
7706
|
} | undefined;
|
|
7707
7707
|
} | undefined;
|
|
7708
7708
|
};
|
|
7709
|
-
connections: ("
|
|
7709
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
7710
7710
|
trigger: {
|
|
7711
7711
|
kind: "automatic";
|
|
7712
7712
|
observation?: {
|
|
@@ -7747,7 +7747,7 @@ declare function createRelayClient(options: {
|
|
|
7747
7747
|
};
|
|
7748
7748
|
availability: {
|
|
7749
7749
|
kind: "available";
|
|
7750
|
-
input: "quiz" | "
|
|
7750
|
+
input: "quiz" | "text" | "url" | "photo" | "none";
|
|
7751
7751
|
} | {
|
|
7752
7752
|
kind: "completed";
|
|
7753
7753
|
} | {
|
|
@@ -7796,7 +7796,7 @@ declare function createRelayClient(options: {
|
|
|
7796
7796
|
quest: string;
|
|
7797
7797
|
member: string;
|
|
7798
7798
|
evidence: string | null;
|
|
7799
|
-
status: "
|
|
7799
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7800
7800
|
reason: string | null;
|
|
7801
7801
|
retries: number;
|
|
7802
7802
|
generation: number;
|
|
@@ -7844,7 +7844,7 @@ declare function createRelayClient(options: {
|
|
|
7844
7844
|
} | undefined;
|
|
7845
7845
|
} | null;
|
|
7846
7846
|
release: string;
|
|
7847
|
-
interaction: "
|
|
7847
|
+
interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
|
|
7848
7848
|
lifecycle: "active" | "paused" | "archived";
|
|
7849
7849
|
rewards: {
|
|
7850
7850
|
label: string;
|
|
@@ -7887,7 +7887,7 @@ declare function createRelayClient(options: {
|
|
|
7887
7887
|
quest: string;
|
|
7888
7888
|
member: string;
|
|
7889
7889
|
evidence: string | null;
|
|
7890
|
-
status: "
|
|
7890
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7891
7891
|
reason: string | null;
|
|
7892
7892
|
retries: number;
|
|
7893
7893
|
generation: number;
|
|
@@ -7959,7 +7959,7 @@ declare function createRelayClient(options: {
|
|
|
7959
7959
|
} | undefined;
|
|
7960
7960
|
} | undefined;
|
|
7961
7961
|
};
|
|
7962
|
-
connections: ("
|
|
7962
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
7963
7963
|
trigger: {
|
|
7964
7964
|
kind: "automatic";
|
|
7965
7965
|
observation?: {
|
|
@@ -8000,7 +8000,7 @@ declare function createRelayClient(options: {
|
|
|
8000
8000
|
};
|
|
8001
8001
|
availability: {
|
|
8002
8002
|
kind: "available";
|
|
8003
|
-
input: "quiz" | "
|
|
8003
|
+
input: "quiz" | "text" | "url" | "photo" | "none";
|
|
8004
8004
|
} | {
|
|
8005
8005
|
kind: "completed";
|
|
8006
8006
|
} | {
|
|
@@ -8049,7 +8049,7 @@ declare function createRelayClient(options: {
|
|
|
8049
8049
|
quest: string;
|
|
8050
8050
|
member: string;
|
|
8051
8051
|
evidence: string | null;
|
|
8052
|
-
status: "
|
|
8052
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8053
8053
|
reason: string | null;
|
|
8054
8054
|
retries: number;
|
|
8055
8055
|
generation: number;
|
|
@@ -8097,7 +8097,7 @@ declare function createRelayClient(options: {
|
|
|
8097
8097
|
} | undefined;
|
|
8098
8098
|
} | null;
|
|
8099
8099
|
release: string;
|
|
8100
|
-
interaction: "
|
|
8100
|
+
interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
|
|
8101
8101
|
lifecycle: "active" | "paused" | "archived";
|
|
8102
8102
|
rewards: {
|
|
8103
8103
|
label: string;
|
|
@@ -8160,7 +8160,7 @@ declare function createRelayClient(options: {
|
|
|
8160
8160
|
} | undefined;
|
|
8161
8161
|
} | undefined;
|
|
8162
8162
|
};
|
|
8163
|
-
connections: ("
|
|
8163
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
8164
8164
|
trigger: {
|
|
8165
8165
|
kind: "automatic";
|
|
8166
8166
|
observation?: {
|
|
@@ -8201,7 +8201,7 @@ declare function createRelayClient(options: {
|
|
|
8201
8201
|
};
|
|
8202
8202
|
availability: {
|
|
8203
8203
|
kind: "available";
|
|
8204
|
-
input: "quiz" | "
|
|
8204
|
+
input: "quiz" | "text" | "url" | "photo" | "none";
|
|
8205
8205
|
} | {
|
|
8206
8206
|
kind: "completed";
|
|
8207
8207
|
} | {
|
|
@@ -8250,7 +8250,7 @@ declare function createRelayClient(options: {
|
|
|
8250
8250
|
quest: string;
|
|
8251
8251
|
member: string;
|
|
8252
8252
|
evidence: string | null;
|
|
8253
|
-
status: "
|
|
8253
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8254
8254
|
reason: string | null;
|
|
8255
8255
|
retries: number;
|
|
8256
8256
|
generation: number;
|
|
@@ -8298,7 +8298,7 @@ declare function createRelayClient(options: {
|
|
|
8298
8298
|
} | undefined;
|
|
8299
8299
|
} | null;
|
|
8300
8300
|
release: string;
|
|
8301
|
-
interaction: "
|
|
8301
|
+
interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
|
|
8302
8302
|
lifecycle: "active" | "paused" | "archived";
|
|
8303
8303
|
rewards: {
|
|
8304
8304
|
label: string;
|
|
@@ -8364,7 +8364,7 @@ declare function createRelayClient(options: {
|
|
|
8364
8364
|
} | undefined;
|
|
8365
8365
|
} | undefined;
|
|
8366
8366
|
};
|
|
8367
|
-
connections: ("
|
|
8367
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
8368
8368
|
trigger: {
|
|
8369
8369
|
kind: "automatic";
|
|
8370
8370
|
observation?: {
|
|
@@ -8405,7 +8405,7 @@ declare function createRelayClient(options: {
|
|
|
8405
8405
|
};
|
|
8406
8406
|
availability: {
|
|
8407
8407
|
kind: "available";
|
|
8408
|
-
input: "quiz" | "
|
|
8408
|
+
input: "quiz" | "text" | "url" | "photo" | "none";
|
|
8409
8409
|
} | {
|
|
8410
8410
|
kind: "completed";
|
|
8411
8411
|
} | {
|
|
@@ -8454,7 +8454,7 @@ declare function createRelayClient(options: {
|
|
|
8454
8454
|
quest: string;
|
|
8455
8455
|
member: string;
|
|
8456
8456
|
evidence: string | null;
|
|
8457
|
-
status: "
|
|
8457
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8458
8458
|
reason: string | null;
|
|
8459
8459
|
retries: number;
|
|
8460
8460
|
generation: number;
|
|
@@ -8502,7 +8502,7 @@ declare function createRelayClient(options: {
|
|
|
8502
8502
|
} | undefined;
|
|
8503
8503
|
} | null;
|
|
8504
8504
|
release: string;
|
|
8505
|
-
interaction: "
|
|
8505
|
+
interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
|
|
8506
8506
|
lifecycle: "active" | "paused" | "archived";
|
|
8507
8507
|
rewards: {
|
|
8508
8508
|
label: string;
|
|
@@ -8571,7 +8571,7 @@ declare function createRelayClient(options: {
|
|
|
8571
8571
|
auth: {
|
|
8572
8572
|
providers: () => Promise<{
|
|
8573
8573
|
providers: {
|
|
8574
|
-
provider: "
|
|
8574
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
8575
8575
|
configured: boolean;
|
|
8576
8576
|
}[];
|
|
8577
8577
|
email: boolean;
|
|
@@ -8601,7 +8601,7 @@ declare function createRelayClient(options: {
|
|
|
8601
8601
|
expiresAt: number;
|
|
8602
8602
|
}>;
|
|
8603
8603
|
accounts: () => Promise<{
|
|
8604
|
-
provider: "
|
|
8604
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
8605
8605
|
configured: boolean;
|
|
8606
8606
|
status: "disconnected" | "connected" | "reconnect";
|
|
8607
8607
|
subject: string | null;
|
|
@@ -8700,7 +8700,7 @@ declare function createRelayClient(options: {
|
|
|
8700
8700
|
quest: string;
|
|
8701
8701
|
member: string;
|
|
8702
8702
|
evidence: string | null;
|
|
8703
|
-
status: "
|
|
8703
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8704
8704
|
reason: string | null;
|
|
8705
8705
|
retries: number;
|
|
8706
8706
|
generation: number;
|
|
@@ -8772,7 +8772,7 @@ declare function createRelayClient(options: {
|
|
|
8772
8772
|
} | undefined;
|
|
8773
8773
|
} | undefined;
|
|
8774
8774
|
};
|
|
8775
|
-
connections: ("
|
|
8775
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
8776
8776
|
trigger: {
|
|
8777
8777
|
kind: "automatic";
|
|
8778
8778
|
observation?: {
|
|
@@ -8813,7 +8813,7 @@ declare function createRelayClient(options: {
|
|
|
8813
8813
|
};
|
|
8814
8814
|
availability: {
|
|
8815
8815
|
kind: "available";
|
|
8816
|
-
input: "quiz" | "
|
|
8816
|
+
input: "quiz" | "text" | "url" | "photo" | "none";
|
|
8817
8817
|
} | {
|
|
8818
8818
|
kind: "completed";
|
|
8819
8819
|
} | {
|
|
@@ -8862,7 +8862,7 @@ declare function createRelayClient(options: {
|
|
|
8862
8862
|
quest: string;
|
|
8863
8863
|
member: string;
|
|
8864
8864
|
evidence: string | null;
|
|
8865
|
-
status: "
|
|
8865
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8866
8866
|
reason: string | null;
|
|
8867
8867
|
retries: number;
|
|
8868
8868
|
generation: number;
|
|
@@ -9029,7 +9029,7 @@ declare function createRelayClient(options: {
|
|
|
9029
9029
|
provider: "discord";
|
|
9030
9030
|
action: "grant-role";
|
|
9031
9031
|
roleId: string;
|
|
9032
|
-
status: "
|
|
9032
|
+
status: "failed" | "pending" | "delivered";
|
|
9033
9033
|
attempts: number;
|
|
9034
9034
|
nextAt: number;
|
|
9035
9035
|
lastError: string | null;
|
|
@@ -9045,7 +9045,7 @@ declare function createRelayClient(options: {
|
|
|
9045
9045
|
quest: string;
|
|
9046
9046
|
member: string;
|
|
9047
9047
|
evidence: string | null;
|
|
9048
|
-
status: "
|
|
9048
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
9049
9049
|
reason: string | null;
|
|
9050
9050
|
retries: number;
|
|
9051
9051
|
generation: number;
|
|
@@ -9111,7 +9111,7 @@ declare function createRelayClient(options: {
|
|
|
9111
9111
|
quest: string;
|
|
9112
9112
|
member: string;
|
|
9113
9113
|
evidence: string | null;
|
|
9114
|
-
status: "
|
|
9114
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
9115
9115
|
reason: string | null;
|
|
9116
9116
|
retries: number;
|
|
9117
9117
|
generation: number;
|
|
@@ -9195,7 +9195,7 @@ declare function createRelayClient(options: {
|
|
|
9195
9195
|
code: string;
|
|
9196
9196
|
definition: {
|
|
9197
9197
|
quest: string;
|
|
9198
|
-
runtimeVersion:
|
|
9198
|
+
runtimeVersion: 2 | 1;
|
|
9199
9199
|
title: string;
|
|
9200
9200
|
presentation: {
|
|
9201
9201
|
quiz?: {
|
|
@@ -9232,12 +9232,12 @@ declare function createRelayClient(options: {
|
|
|
9232
9232
|
kind: "resource";
|
|
9233
9233
|
default: string;
|
|
9234
9234
|
source: {
|
|
9235
|
+
provider: "domino";
|
|
9236
|
+
resource: "point-ledger";
|
|
9237
|
+
} | {
|
|
9235
9238
|
provider: "discord";
|
|
9236
9239
|
resource: "channel";
|
|
9237
9240
|
types: ("text" | "announcement")[];
|
|
9238
|
-
} | {
|
|
9239
|
-
provider: "domino";
|
|
9240
|
-
resource: "point-ledger";
|
|
9241
9241
|
} | {
|
|
9242
9242
|
provider: "discord";
|
|
9243
9243
|
resource: "role";
|
|
@@ -9376,7 +9376,7 @@ declare function createRelayClient(options: {
|
|
|
9376
9376
|
visibility: "visible" | "hidden";
|
|
9377
9377
|
budgets: {
|
|
9378
9378
|
id: string;
|
|
9379
|
-
scope: "
|
|
9379
|
+
scope: "project" | "member";
|
|
9380
9380
|
period: "day" | "lifetime";
|
|
9381
9381
|
limit: number;
|
|
9382
9382
|
cost: number | {
|
|
@@ -9394,7 +9394,7 @@ declare function createRelayClient(options: {
|
|
|
9394
9394
|
code: string;
|
|
9395
9395
|
definition: {
|
|
9396
9396
|
quest: string;
|
|
9397
|
-
runtimeVersion:
|
|
9397
|
+
runtimeVersion: 2 | 1;
|
|
9398
9398
|
title: string;
|
|
9399
9399
|
presentation: {
|
|
9400
9400
|
quiz?: {
|
|
@@ -9431,12 +9431,12 @@ declare function createRelayClient(options: {
|
|
|
9431
9431
|
kind: "resource";
|
|
9432
9432
|
default: string;
|
|
9433
9433
|
source: {
|
|
9434
|
+
provider: "domino";
|
|
9435
|
+
resource: "point-ledger";
|
|
9436
|
+
} | {
|
|
9434
9437
|
provider: "discord";
|
|
9435
9438
|
resource: "channel";
|
|
9436
9439
|
types: ("text" | "announcement")[];
|
|
9437
|
-
} | {
|
|
9438
|
-
provider: "domino";
|
|
9439
|
-
resource: "point-ledger";
|
|
9440
9440
|
} | {
|
|
9441
9441
|
provider: "discord";
|
|
9442
9442
|
resource: "role";
|
|
@@ -9575,7 +9575,7 @@ declare function createRelayClient(options: {
|
|
|
9575
9575
|
visibility: "visible" | "hidden";
|
|
9576
9576
|
budgets: {
|
|
9577
9577
|
id: string;
|
|
9578
|
-
scope: "
|
|
9578
|
+
scope: "project" | "member";
|
|
9579
9579
|
period: "day" | "lifetime";
|
|
9580
9580
|
limit: number;
|
|
9581
9581
|
cost: number | {
|
|
@@ -9592,7 +9592,7 @@ declare function createRelayClient(options: {
|
|
|
9592
9592
|
snapshot: () => Promise<{
|
|
9593
9593
|
releases: {
|
|
9594
9594
|
quest: string;
|
|
9595
|
-
runtimeVersion:
|
|
9595
|
+
runtimeVersion: 2 | 1;
|
|
9596
9596
|
title: string;
|
|
9597
9597
|
presentation: {
|
|
9598
9598
|
quiz?: {
|
|
@@ -9629,12 +9629,12 @@ declare function createRelayClient(options: {
|
|
|
9629
9629
|
kind: "resource";
|
|
9630
9630
|
default: string;
|
|
9631
9631
|
source: {
|
|
9632
|
+
provider: "domino";
|
|
9633
|
+
resource: "point-ledger";
|
|
9634
|
+
} | {
|
|
9632
9635
|
provider: "discord";
|
|
9633
9636
|
resource: "channel";
|
|
9634
9637
|
types: ("text" | "announcement")[];
|
|
9635
|
-
} | {
|
|
9636
|
-
provider: "domino";
|
|
9637
|
-
resource: "point-ledger";
|
|
9638
9638
|
} | {
|
|
9639
9639
|
provider: "discord";
|
|
9640
9640
|
resource: "role";
|
|
@@ -9773,7 +9773,7 @@ declare function createRelayClient(options: {
|
|
|
9773
9773
|
visibility: "visible" | "hidden";
|
|
9774
9774
|
budgets: {
|
|
9775
9775
|
id: string;
|
|
9776
|
-
scope: "
|
|
9776
|
+
scope: "project" | "member";
|
|
9777
9777
|
period: "day" | "lifetime";
|
|
9778
9778
|
limit: number;
|
|
9779
9779
|
cost: number | {
|
|
@@ -9905,7 +9905,7 @@ declare function createRelayClient(options: {
|
|
|
9905
9905
|
quest: string;
|
|
9906
9906
|
member: string;
|
|
9907
9907
|
evidence: string | null;
|
|
9908
|
-
status: "
|
|
9908
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
9909
9909
|
reason: string | null;
|
|
9910
9910
|
retries: number;
|
|
9911
9911
|
generation: number;
|
|
@@ -9971,7 +9971,7 @@ declare function createRelayClient(options: {
|
|
|
9971
9971
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
9972
9972
|
publish: (release: ReleaseInput) => Promise<{
|
|
9973
9973
|
quest: string;
|
|
9974
|
-
runtimeVersion:
|
|
9974
|
+
runtimeVersion: 2 | 1;
|
|
9975
9975
|
title: string;
|
|
9976
9976
|
presentation: {
|
|
9977
9977
|
quiz?: {
|
|
@@ -10008,12 +10008,12 @@ declare function createRelayClient(options: {
|
|
|
10008
10008
|
kind: "resource";
|
|
10009
10009
|
default: string;
|
|
10010
10010
|
source: {
|
|
10011
|
+
provider: "domino";
|
|
10012
|
+
resource: "point-ledger";
|
|
10013
|
+
} | {
|
|
10011
10014
|
provider: "discord";
|
|
10012
10015
|
resource: "channel";
|
|
10013
10016
|
types: ("text" | "announcement")[];
|
|
10014
|
-
} | {
|
|
10015
|
-
provider: "domino";
|
|
10016
|
-
resource: "point-ledger";
|
|
10017
10017
|
} | {
|
|
10018
10018
|
provider: "discord";
|
|
10019
10019
|
resource: "role";
|
|
@@ -10152,7 +10152,7 @@ declare function createRelayClient(options: {
|
|
|
10152
10152
|
visibility: "visible" | "hidden";
|
|
10153
10153
|
budgets: {
|
|
10154
10154
|
id: string;
|
|
10155
|
-
scope: "
|
|
10155
|
+
scope: "project" | "member";
|
|
10156
10156
|
period: "day" | "lifetime";
|
|
10157
10157
|
limit: number;
|
|
10158
10158
|
cost: number | {
|
|
@@ -10198,7 +10198,7 @@ declare function createRelayClient(options: {
|
|
|
10198
10198
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
10199
10199
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
10200
10200
|
quest: string;
|
|
10201
|
-
runtimeVersion:
|
|
10201
|
+
runtimeVersion: 2 | 1;
|
|
10202
10202
|
title: string;
|
|
10203
10203
|
presentation: {
|
|
10204
10204
|
quiz?: {
|
|
@@ -10235,12 +10235,12 @@ declare function createRelayClient(options: {
|
|
|
10235
10235
|
kind: "resource";
|
|
10236
10236
|
default: string;
|
|
10237
10237
|
source: {
|
|
10238
|
+
provider: "domino";
|
|
10239
|
+
resource: "point-ledger";
|
|
10240
|
+
} | {
|
|
10238
10241
|
provider: "discord";
|
|
10239
10242
|
resource: "channel";
|
|
10240
10243
|
types: ("text" | "announcement")[];
|
|
10241
|
-
} | {
|
|
10242
|
-
provider: "domino";
|
|
10243
|
-
resource: "point-ledger";
|
|
10244
10244
|
} | {
|
|
10245
10245
|
provider: "discord";
|
|
10246
10246
|
resource: "role";
|
|
@@ -10379,7 +10379,7 @@ declare function createRelayClient(options: {
|
|
|
10379
10379
|
visibility: "visible" | "hidden";
|
|
10380
10380
|
budgets: {
|
|
10381
10381
|
id: string;
|
|
10382
|
-
scope: "
|
|
10382
|
+
scope: "project" | "member";
|
|
10383
10383
|
period: "day" | "lifetime";
|
|
10384
10384
|
limit: number;
|
|
10385
10385
|
cost: number | {
|
|
@@ -10447,7 +10447,7 @@ declare function createRelayClient(options: {
|
|
|
10447
10447
|
} | undefined;
|
|
10448
10448
|
} | undefined;
|
|
10449
10449
|
};
|
|
10450
|
-
connections: ("
|
|
10450
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
10451
10451
|
trigger: {
|
|
10452
10452
|
kind: "automatic";
|
|
10453
10453
|
observation?: {
|
|
@@ -10488,7 +10488,7 @@ declare function createRelayClient(options: {
|
|
|
10488
10488
|
};
|
|
10489
10489
|
availability: {
|
|
10490
10490
|
kind: "available";
|
|
10491
|
-
input: "quiz" | "
|
|
10491
|
+
input: "quiz" | "text" | "url" | "photo" | "none";
|
|
10492
10492
|
} | {
|
|
10493
10493
|
kind: "completed";
|
|
10494
10494
|
} | {
|
|
@@ -10537,7 +10537,7 @@ declare function createRelayClient(options: {
|
|
|
10537
10537
|
quest: string;
|
|
10538
10538
|
member: string;
|
|
10539
10539
|
evidence: string | null;
|
|
10540
|
-
status: "
|
|
10540
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
10541
10541
|
reason: string | null;
|
|
10542
10542
|
retries: number;
|
|
10543
10543
|
generation: number;
|
|
@@ -10965,7 +10965,7 @@ declare function createRelayClient(options: {
|
|
|
10965
10965
|
content: {
|
|
10966
10966
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
10967
10967
|
current: {
|
|
10968
|
-
state: "needs-review" | "
|
|
10968
|
+
state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
|
|
10969
10969
|
reason: string | null;
|
|
10970
10970
|
contentAttempt: string;
|
|
10971
10971
|
attempt: string | null;
|
|
@@ -10981,7 +10981,7 @@ declare function createRelayClient(options: {
|
|
|
10981
10981
|
observation: string;
|
|
10982
10982
|
observedAt: number;
|
|
10983
10983
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
10984
|
-
state: "needs-review" | "
|
|
10984
|
+
state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
|
|
10985
10985
|
reason: string | null;
|
|
10986
10986
|
}[];
|
|
10987
10987
|
next: number | null;
|
|
@@ -10996,7 +10996,7 @@ declare function createRelayClient(options: {
|
|
|
10996
10996
|
revision: string;
|
|
10997
10997
|
observation: string;
|
|
10998
10998
|
current: boolean;
|
|
10999
|
-
state: "needs-review" | "
|
|
10999
|
+
state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
|
|
11000
11000
|
reason: string | null;
|
|
11001
11001
|
reward: {
|
|
11002
11002
|
attempt: string | null;
|
|
@@ -11011,7 +11011,7 @@ declare function createRelayClient(options: {
|
|
|
11011
11011
|
quest: string;
|
|
11012
11012
|
content: string;
|
|
11013
11013
|
release: string;
|
|
11014
|
-
state: "pending" | "
|
|
11014
|
+
state: "pending" | "excluded" | "admitted";
|
|
11015
11015
|
reason: string | null;
|
|
11016
11016
|
attempt: string | null;
|
|
11017
11017
|
}[];
|
|
@@ -11026,7 +11026,7 @@ declare function createRelayClient(options: {
|
|
|
11026
11026
|
quest: string;
|
|
11027
11027
|
content: string;
|
|
11028
11028
|
release: string;
|
|
11029
|
-
state: "pending" | "
|
|
11029
|
+
state: "pending" | "excluded" | "admitted";
|
|
11030
11030
|
reason: string | null;
|
|
11031
11031
|
attempt: string | null;
|
|
11032
11032
|
}>;
|
|
@@ -11037,7 +11037,7 @@ declare function createRelayClient(options: {
|
|
|
11037
11037
|
quest: string;
|
|
11038
11038
|
member: string;
|
|
11039
11039
|
evidence: string | null;
|
|
11040
|
-
status: "
|
|
11040
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
11041
11041
|
reason: string | null;
|
|
11042
11042
|
retries: number;
|
|
11043
11043
|
generation: number;
|
|
@@ -11090,7 +11090,7 @@ declare function createRelayClient(options: {
|
|
|
11090
11090
|
quest: string;
|
|
11091
11091
|
member: string;
|
|
11092
11092
|
evidence: string | null;
|
|
11093
|
-
status: "
|
|
11093
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
11094
11094
|
reason: string | null;
|
|
11095
11095
|
retries: number;
|
|
11096
11096
|
generation: number;
|
|
@@ -11149,7 +11149,7 @@ declare function createRelayClient(options: {
|
|
|
11149
11149
|
quest: string;
|
|
11150
11150
|
member: string;
|
|
11151
11151
|
evidence: string | null;
|
|
11152
|
-
status: "
|
|
11152
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
11153
11153
|
reason: string | null;
|
|
11154
11154
|
retries: number;
|
|
11155
11155
|
generation: number;
|