@domino-sdk/relay 0.11.0 → 0.12.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 +53 -53
- package/dist/browser.js +1 -1
- package/dist/{chunk-ONDPW77O.js → chunk-NLMEK77N.js} +8 -1
- package/dist/index.d.ts +106 -104
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -190,9 +190,9 @@ type ProgressObserver = {
|
|
|
190
190
|
};
|
|
191
191
|
|
|
192
192
|
declare const interactionSchema: z.ZodEnum<{
|
|
193
|
+
staff: "staff";
|
|
193
194
|
quiz: "quiz";
|
|
194
195
|
photo: "photo";
|
|
195
|
-
staff: "staff";
|
|
196
196
|
automatic: "automatic";
|
|
197
197
|
claim: "claim";
|
|
198
198
|
}>;
|
|
@@ -375,8 +375,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
375
375
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
376
376
|
id: z.ZodString;
|
|
377
377
|
scope: z.ZodEnum<{
|
|
378
|
-
member: "member";
|
|
379
378
|
project: "project";
|
|
379
|
+
member: "member";
|
|
380
380
|
}>;
|
|
381
381
|
period: z.ZodEnum<{
|
|
382
382
|
day: "day";
|
|
@@ -721,8 +721,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
721
721
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
722
722
|
id: z.ZodString;
|
|
723
723
|
scope: z.ZodEnum<{
|
|
724
|
-
member: "member";
|
|
725
724
|
project: "project";
|
|
725
|
+
member: "member";
|
|
726
726
|
}>;
|
|
727
727
|
period: z.ZodEnum<{
|
|
728
728
|
day: "day";
|
|
@@ -1011,8 +1011,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1011
1011
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1012
1012
|
id: z.ZodString;
|
|
1013
1013
|
scope: z.ZodEnum<{
|
|
1014
|
-
member: "member";
|
|
1015
1014
|
project: "project";
|
|
1015
|
+
member: "member";
|
|
1016
1016
|
}>;
|
|
1017
1017
|
period: z.ZodEnum<{
|
|
1018
1018
|
day: "day";
|
|
@@ -1108,7 +1108,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1108
1108
|
createdAt: z.ZodNumber;
|
|
1109
1109
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1110
1110
|
quest: string;
|
|
1111
|
-
runtimeVersion:
|
|
1111
|
+
runtimeVersion: 2 | 1;
|
|
1112
1112
|
title: string;
|
|
1113
1113
|
presentation: {
|
|
1114
1114
|
quiz?: {
|
|
@@ -1145,12 +1145,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1145
1145
|
kind: "resource";
|
|
1146
1146
|
default: string;
|
|
1147
1147
|
source: {
|
|
1148
|
+
provider: "domino";
|
|
1149
|
+
resource: "point-ledger";
|
|
1150
|
+
} | {
|
|
1148
1151
|
provider: "discord";
|
|
1149
1152
|
resource: "channel";
|
|
1150
1153
|
types: ("text" | "announcement")[];
|
|
1151
|
-
} | {
|
|
1152
|
-
provider: "domino";
|
|
1153
|
-
resource: "point-ledger";
|
|
1154
1154
|
} | {
|
|
1155
1155
|
provider: "discord";
|
|
1156
1156
|
resource: "role";
|
|
@@ -1262,7 +1262,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1262
1262
|
visibility: "visible" | "hidden";
|
|
1263
1263
|
budgets: {
|
|
1264
1264
|
id: string;
|
|
1265
|
-
scope: "
|
|
1265
|
+
scope: "project" | "member";
|
|
1266
1266
|
period: "day" | "lifetime";
|
|
1267
1267
|
limit: number;
|
|
1268
1268
|
cost: number | {
|
|
@@ -1338,9 +1338,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1338
1338
|
createdAt: number;
|
|
1339
1339
|
}>>]>>>;
|
|
1340
1340
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1341
|
+
staff: "staff";
|
|
1341
1342
|
quiz: "quiz";
|
|
1342
1343
|
photo: "photo";
|
|
1343
|
-
staff: "staff";
|
|
1344
1344
|
automatic: "automatic";
|
|
1345
1345
|
claim: "claim";
|
|
1346
1346
|
}>>;
|
|
@@ -1369,9 +1369,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1369
1369
|
id?: string | undefined;
|
|
1370
1370
|
}>>>>;
|
|
1371
1371
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1372
|
+
staff: "staff";
|
|
1372
1373
|
quiz: "quiz";
|
|
1373
1374
|
photo: "photo";
|
|
1374
|
-
staff: "staff";
|
|
1375
1375
|
automatic: "automatic";
|
|
1376
1376
|
claim: "claim";
|
|
1377
1377
|
}>>>;
|
|
@@ -1555,8 +1555,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1555
1555
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1556
1556
|
id: z.ZodString;
|
|
1557
1557
|
scope: z.ZodEnum<{
|
|
1558
|
-
member: "member";
|
|
1559
1558
|
project: "project";
|
|
1559
|
+
member: "member";
|
|
1560
1560
|
}>;
|
|
1561
1561
|
period: z.ZodEnum<{
|
|
1562
1562
|
day: "day";
|
|
@@ -1583,9 +1583,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1583
1583
|
title: z.ZodString;
|
|
1584
1584
|
}, z.core.$strict>>;
|
|
1585
1585
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1586
|
+
staff: "staff";
|
|
1586
1587
|
quiz: "quiz";
|
|
1587
1588
|
photo: "photo";
|
|
1588
|
-
staff: "staff";
|
|
1589
1589
|
automatic: "automatic";
|
|
1590
1590
|
claim: "claim";
|
|
1591
1591
|
}>>;
|
|
@@ -1654,10 +1654,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1654
1654
|
}, z.core.$strict>>;
|
|
1655
1655
|
}, z.core.$strict>>;
|
|
1656
1656
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1657
|
+
discord: "discord";
|
|
1657
1658
|
google: "google";
|
|
1658
1659
|
apple: "apple";
|
|
1659
1660
|
x: "x";
|
|
1660
|
-
discord: "discord";
|
|
1661
1661
|
}>>>;
|
|
1662
1662
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1663
1663
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1773,12 +1773,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1773
1773
|
}, Record<string, string>>>;
|
|
1774
1774
|
}, z.core.$strict>>;
|
|
1775
1775
|
status: z.ZodEnum<{
|
|
1776
|
-
"needs-review": "needs-review";
|
|
1777
1776
|
queued: "queued";
|
|
1778
1777
|
evaluating: "evaluating";
|
|
1779
1778
|
accepted: "accepted";
|
|
1780
1779
|
progressed: "progressed";
|
|
1781
1780
|
rejected: "rejected";
|
|
1781
|
+
"needs-review": "needs-review";
|
|
1782
1782
|
failed: "failed";
|
|
1783
1783
|
}>;
|
|
1784
1784
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1816,9 +1816,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1816
1816
|
}, z.core.$strip>>;
|
|
1817
1817
|
release: z.ZodString;
|
|
1818
1818
|
interaction: z.ZodEnum<{
|
|
1819
|
+
staff: "staff";
|
|
1819
1820
|
quiz: "quiz";
|
|
1820
1821
|
photo: "photo";
|
|
1821
|
-
staff: "staff";
|
|
1822
1822
|
automatic: "automatic";
|
|
1823
1823
|
claim: "claim";
|
|
1824
1824
|
}>;
|
|
@@ -1860,10 +1860,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1860
1860
|
}, z.core.$strict>>;
|
|
1861
1861
|
}, z.core.$strict>>;
|
|
1862
1862
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1863
|
+
discord: "discord";
|
|
1863
1864
|
google: "google";
|
|
1864
1865
|
apple: "apple";
|
|
1865
1866
|
x: "x";
|
|
1866
|
-
discord: "discord";
|
|
1867
1867
|
}>>>;
|
|
1868
1868
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1869
1869
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1979,12 +1979,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1979
1979
|
}, Record<string, string>>>;
|
|
1980
1980
|
}, z.core.$strict>>;
|
|
1981
1981
|
status: z.ZodEnum<{
|
|
1982
|
-
"needs-review": "needs-review";
|
|
1983
1982
|
queued: "queued";
|
|
1984
1983
|
evaluating: "evaluating";
|
|
1985
1984
|
accepted: "accepted";
|
|
1986
1985
|
progressed: "progressed";
|
|
1987
1986
|
rejected: "rejected";
|
|
1987
|
+
"needs-review": "needs-review";
|
|
1988
1988
|
failed: "failed";
|
|
1989
1989
|
}>;
|
|
1990
1990
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2022,9 +2022,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2022
2022
|
}, z.core.$strip>>;
|
|
2023
2023
|
release: z.ZodString;
|
|
2024
2024
|
interaction: z.ZodEnum<{
|
|
2025
|
+
staff: "staff";
|
|
2025
2026
|
quiz: "quiz";
|
|
2026
2027
|
photo: "photo";
|
|
2027
|
-
staff: "staff";
|
|
2028
2028
|
automatic: "automatic";
|
|
2029
2029
|
claim: "claim";
|
|
2030
2030
|
}>;
|
|
@@ -2065,10 +2065,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2065
2065
|
}, z.core.$strict>>;
|
|
2066
2066
|
}, z.core.$strict>>;
|
|
2067
2067
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2068
|
+
discord: "discord";
|
|
2068
2069
|
google: "google";
|
|
2069
2070
|
apple: "apple";
|
|
2070
2071
|
x: "x";
|
|
2071
|
-
discord: "discord";
|
|
2072
2072
|
}>>>;
|
|
2073
2073
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2074
2074
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2184,12 +2184,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2184
2184
|
}, Record<string, string>>>;
|
|
2185
2185
|
}, z.core.$strict>>;
|
|
2186
2186
|
status: z.ZodEnum<{
|
|
2187
|
-
"needs-review": "needs-review";
|
|
2188
2187
|
queued: "queued";
|
|
2189
2188
|
evaluating: "evaluating";
|
|
2190
2189
|
accepted: "accepted";
|
|
2191
2190
|
progressed: "progressed";
|
|
2192
2191
|
rejected: "rejected";
|
|
2192
|
+
"needs-review": "needs-review";
|
|
2193
2193
|
failed: "failed";
|
|
2194
2194
|
}>;
|
|
2195
2195
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2227,9 +2227,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2227
2227
|
}, z.core.$strip>>;
|
|
2228
2228
|
release: z.ZodString;
|
|
2229
2229
|
interaction: z.ZodEnum<{
|
|
2230
|
+
staff: "staff";
|
|
2230
2231
|
quiz: "quiz";
|
|
2231
2232
|
photo: "photo";
|
|
2232
|
-
staff: "staff";
|
|
2233
2233
|
automatic: "automatic";
|
|
2234
2234
|
claim: "claim";
|
|
2235
2235
|
}>;
|
|
@@ -2271,10 +2271,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2271
2271
|
}, z.core.$strict>>;
|
|
2272
2272
|
}, z.core.$strict>>;
|
|
2273
2273
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2274
|
+
discord: "discord";
|
|
2274
2275
|
google: "google";
|
|
2275
2276
|
apple: "apple";
|
|
2276
2277
|
x: "x";
|
|
2277
|
-
discord: "discord";
|
|
2278
2278
|
}>>>;
|
|
2279
2279
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2280
2280
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2390,12 +2390,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2390
2390
|
}, Record<string, string>>>;
|
|
2391
2391
|
}, z.core.$strict>>;
|
|
2392
2392
|
status: z.ZodEnum<{
|
|
2393
|
-
"needs-review": "needs-review";
|
|
2394
2393
|
queued: "queued";
|
|
2395
2394
|
evaluating: "evaluating";
|
|
2396
2395
|
accepted: "accepted";
|
|
2397
2396
|
progressed: "progressed";
|
|
2398
2397
|
rejected: "rejected";
|
|
2398
|
+
"needs-review": "needs-review";
|
|
2399
2399
|
failed: "failed";
|
|
2400
2400
|
}>;
|
|
2401
2401
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2433,9 +2433,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2433
2433
|
}, z.core.$strip>>;
|
|
2434
2434
|
release: z.ZodString;
|
|
2435
2435
|
interaction: z.ZodEnum<{
|
|
2436
|
+
staff: "staff";
|
|
2436
2437
|
quiz: "quiz";
|
|
2437
2438
|
photo: "photo";
|
|
2438
|
-
staff: "staff";
|
|
2439
2439
|
automatic: "automatic";
|
|
2440
2440
|
claim: "claim";
|
|
2441
2441
|
}>;
|
|
@@ -2697,8 +2697,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2697
2697
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2698
2698
|
id: z.ZodString;
|
|
2699
2699
|
scope: z.ZodEnum<{
|
|
2700
|
-
member: "member";
|
|
2701
2700
|
project: "project";
|
|
2701
|
+
member: "member";
|
|
2702
2702
|
}>;
|
|
2703
2703
|
period: z.ZodEnum<{
|
|
2704
2704
|
day: "day";
|
|
@@ -2794,7 +2794,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2794
2794
|
createdAt: z.ZodNumber;
|
|
2795
2795
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2796
2796
|
quest: string;
|
|
2797
|
-
runtimeVersion:
|
|
2797
|
+
runtimeVersion: 2 | 1;
|
|
2798
2798
|
title: string;
|
|
2799
2799
|
presentation: {
|
|
2800
2800
|
quiz?: {
|
|
@@ -2831,12 +2831,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2831
2831
|
kind: "resource";
|
|
2832
2832
|
default: string;
|
|
2833
2833
|
source: {
|
|
2834
|
+
provider: "domino";
|
|
2835
|
+
resource: "point-ledger";
|
|
2836
|
+
} | {
|
|
2834
2837
|
provider: "discord";
|
|
2835
2838
|
resource: "channel";
|
|
2836
2839
|
types: ("text" | "announcement")[];
|
|
2837
|
-
} | {
|
|
2838
|
-
provider: "domino";
|
|
2839
|
-
resource: "point-ledger";
|
|
2840
2840
|
} | {
|
|
2841
2841
|
provider: "discord";
|
|
2842
2842
|
resource: "role";
|
|
@@ -2948,7 +2948,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2948
2948
|
visibility: "visible" | "hidden";
|
|
2949
2949
|
budgets: {
|
|
2950
2950
|
id: string;
|
|
2951
|
-
scope: "
|
|
2951
|
+
scope: "project" | "member";
|
|
2952
2952
|
period: "day" | "lifetime";
|
|
2953
2953
|
limit: number;
|
|
2954
2954
|
cost: number | {
|
|
@@ -3099,6 +3099,7 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3099
3099
|
action: z.ZodLiteral<"grant-role">;
|
|
3100
3100
|
roleId: z.ZodString;
|
|
3101
3101
|
status: z.ZodEnum<{
|
|
3102
|
+
failed: "failed";
|
|
3102
3103
|
pending: "pending";
|
|
3103
3104
|
delivered: "delivered";
|
|
3104
3105
|
}>;
|
|
@@ -3118,6 +3119,7 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3118
3119
|
action: z.ZodLiteral<"grant-role">;
|
|
3119
3120
|
roleId: z.ZodString;
|
|
3120
3121
|
status: z.ZodEnum<{
|
|
3122
|
+
failed: "failed";
|
|
3121
3123
|
pending: "pending";
|
|
3122
3124
|
delivered: "delivered";
|
|
3123
3125
|
}>;
|
|
@@ -3287,9 +3289,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3287
3289
|
}>;
|
|
3288
3290
|
}, z.core.$strip>>>;
|
|
3289
3291
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3292
|
+
staff: "staff";
|
|
3290
3293
|
quiz: "quiz";
|
|
3291
3294
|
photo: "photo";
|
|
3292
|
-
staff: "staff";
|
|
3293
3295
|
automatic: "automatic";
|
|
3294
3296
|
claim: "claim";
|
|
3295
3297
|
}>>>;
|
|
@@ -3591,7 +3593,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3591
3593
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3592
3594
|
title: z.ZodString;
|
|
3593
3595
|
balance: z.ZodString;
|
|
3594
|
-
group: z.ZodOptional<z.ZodString>;
|
|
3595
3596
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3596
3597
|
kind: z.ZodLiteral<"balance">;
|
|
3597
3598
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3640,6 +3641,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3640
3641
|
participants: "participants";
|
|
3641
3642
|
public: "public";
|
|
3642
3643
|
}>>;
|
|
3644
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3643
3645
|
key: z.ZodOptional<z.ZodString>;
|
|
3644
3646
|
id: z.ZodOptional<z.ZodString>;
|
|
3645
3647
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -3758,9 +3760,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3758
3760
|
}>;
|
|
3759
3761
|
}, z.core.$strip>>>;
|
|
3760
3762
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3763
|
+
staff: "staff";
|
|
3761
3764
|
quiz: "quiz";
|
|
3762
3765
|
photo: "photo";
|
|
3763
|
-
staff: "staff";
|
|
3764
3766
|
automatic: "automatic";
|
|
3765
3767
|
claim: "claim";
|
|
3766
3768
|
}>>>;
|
|
@@ -4062,7 +4064,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4062
4064
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4063
4065
|
title: z.ZodString;
|
|
4064
4066
|
balance: z.ZodString;
|
|
4065
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4066
4067
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4067
4068
|
kind: z.ZodLiteral<"balance">;
|
|
4068
4069
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4111,6 +4112,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4111
4112
|
participants: "participants";
|
|
4112
4113
|
public: "public";
|
|
4113
4114
|
}>>;
|
|
4115
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4114
4116
|
key: z.ZodOptional<z.ZodString>;
|
|
4115
4117
|
id: z.ZodOptional<z.ZodString>;
|
|
4116
4118
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4402,8 +4404,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4402
4404
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4403
4405
|
id: z.ZodString;
|
|
4404
4406
|
scope: z.ZodEnum<{
|
|
4405
|
-
member: "member";
|
|
4406
4407
|
project: "project";
|
|
4408
|
+
member: "member";
|
|
4407
4409
|
}>;
|
|
4408
4410
|
period: z.ZodEnum<{
|
|
4409
4411
|
day: "day";
|
|
@@ -4499,7 +4501,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4499
4501
|
createdAt: z.ZodNumber;
|
|
4500
4502
|
}, z.core.$strip>, z.ZodTransform<{
|
|
4501
4503
|
quest: string;
|
|
4502
|
-
runtimeVersion:
|
|
4504
|
+
runtimeVersion: 2 | 1;
|
|
4503
4505
|
title: string;
|
|
4504
4506
|
presentation: {
|
|
4505
4507
|
quiz?: {
|
|
@@ -4536,12 +4538,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4536
4538
|
kind: "resource";
|
|
4537
4539
|
default: string;
|
|
4538
4540
|
source: {
|
|
4541
|
+
provider: "domino";
|
|
4542
|
+
resource: "point-ledger";
|
|
4543
|
+
} | {
|
|
4539
4544
|
provider: "discord";
|
|
4540
4545
|
resource: "channel";
|
|
4541
4546
|
types: ("text" | "announcement")[];
|
|
4542
|
-
} | {
|
|
4543
|
-
provider: "domino";
|
|
4544
|
-
resource: "point-ledger";
|
|
4545
4547
|
} | {
|
|
4546
4548
|
provider: "discord";
|
|
4547
4549
|
resource: "role";
|
|
@@ -4653,7 +4655,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4653
4655
|
visibility: "visible" | "hidden";
|
|
4654
4656
|
budgets: {
|
|
4655
4657
|
id: string;
|
|
4656
|
-
scope: "
|
|
4658
|
+
scope: "project" | "member";
|
|
4657
4659
|
period: "day" | "lifetime";
|
|
4658
4660
|
limit: number;
|
|
4659
4661
|
cost: number | {
|
|
@@ -4905,8 +4907,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4905
4907
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4906
4908
|
id: z.ZodString;
|
|
4907
4909
|
scope: z.ZodEnum<{
|
|
4908
|
-
member: "member";
|
|
4909
4910
|
project: "project";
|
|
4911
|
+
member: "member";
|
|
4910
4912
|
}>;
|
|
4911
4913
|
period: z.ZodEnum<{
|
|
4912
4914
|
day: "day";
|
|
@@ -4934,9 +4936,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4934
4936
|
quests: z.ZodArray<z.ZodString>;
|
|
4935
4937
|
}, z.core.$strict>>;
|
|
4936
4938
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
4939
|
+
staff: "staff";
|
|
4937
4940
|
quiz: "quiz";
|
|
4938
4941
|
photo: "photo";
|
|
4939
|
-
staff: "staff";
|
|
4940
4942
|
automatic: "automatic";
|
|
4941
4943
|
claim: "claim";
|
|
4942
4944
|
}>>;
|
|
@@ -5365,8 +5367,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5365
5367
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5366
5368
|
id: z.ZodString;
|
|
5367
5369
|
scope: z.ZodEnum<{
|
|
5368
|
-
member: "member";
|
|
5369
5370
|
project: "project";
|
|
5371
|
+
member: "member";
|
|
5370
5372
|
}>;
|
|
5371
5373
|
period: z.ZodEnum<{
|
|
5372
5374
|
day: "day";
|
|
@@ -5462,7 +5464,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5462
5464
|
createdAt: z.ZodNumber;
|
|
5463
5465
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5464
5466
|
quest: string;
|
|
5465
|
-
runtimeVersion:
|
|
5467
|
+
runtimeVersion: 2 | 1;
|
|
5466
5468
|
title: string;
|
|
5467
5469
|
presentation: {
|
|
5468
5470
|
quiz?: {
|
|
@@ -5499,12 +5501,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5499
5501
|
kind: "resource";
|
|
5500
5502
|
default: string;
|
|
5501
5503
|
source: {
|
|
5504
|
+
provider: "domino";
|
|
5505
|
+
resource: "point-ledger";
|
|
5506
|
+
} | {
|
|
5502
5507
|
provider: "discord";
|
|
5503
5508
|
resource: "channel";
|
|
5504
5509
|
types: ("text" | "announcement")[];
|
|
5505
|
-
} | {
|
|
5506
|
-
provider: "domino";
|
|
5507
|
-
resource: "point-ledger";
|
|
5508
5510
|
} | {
|
|
5509
5511
|
provider: "discord";
|
|
5510
5512
|
resource: "role";
|
|
@@ -5616,7 +5618,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5616
5618
|
visibility: "visible" | "hidden";
|
|
5617
5619
|
budgets: {
|
|
5618
5620
|
id: string;
|
|
5619
|
-
scope: "
|
|
5621
|
+
scope: "project" | "member";
|
|
5620
5622
|
period: "day" | "lifetime";
|
|
5621
5623
|
limit: number;
|
|
5622
5624
|
cost: number | {
|
|
@@ -5868,8 +5870,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5868
5870
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5869
5871
|
id: z.ZodString;
|
|
5870
5872
|
scope: z.ZodEnum<{
|
|
5871
|
-
member: "member";
|
|
5872
5873
|
project: "project";
|
|
5874
|
+
member: "member";
|
|
5873
5875
|
}>;
|
|
5874
5876
|
period: z.ZodEnum<{
|
|
5875
5877
|
day: "day";
|
|
@@ -5897,9 +5899,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5897
5899
|
quests: z.ZodArray<z.ZodString>;
|
|
5898
5900
|
}, z.core.$strict>>;
|
|
5899
5901
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5902
|
+
staff: "staff";
|
|
5900
5903
|
quiz: "quiz";
|
|
5901
5904
|
photo: "photo";
|
|
5902
|
-
staff: "staff";
|
|
5903
5905
|
automatic: "automatic";
|
|
5904
5906
|
claim: "claim";
|
|
5905
5907
|
}>>;
|
|
@@ -6397,7 +6399,7 @@ declare function createRelayClient(options: {
|
|
|
6397
6399
|
accounts: {
|
|
6398
6400
|
id: string;
|
|
6399
6401
|
program: string;
|
|
6400
|
-
kind: "
|
|
6402
|
+
kind: "fixed" | "milestone" | "bonus";
|
|
6401
6403
|
balance: string;
|
|
6402
6404
|
earned: number;
|
|
6403
6405
|
settled: number;
|
|
@@ -6524,7 +6526,7 @@ declare function createRelayClient(options: {
|
|
|
6524
6526
|
} | undefined;
|
|
6525
6527
|
} | undefined;
|
|
6526
6528
|
};
|
|
6527
|
-
connections: ("
|
|
6529
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6528
6530
|
trigger: {
|
|
6529
6531
|
kind: "manual";
|
|
6530
6532
|
input: "quiz" | "photo" | "none";
|
|
@@ -6587,7 +6589,7 @@ declare function createRelayClient(options: {
|
|
|
6587
6589
|
quest: string;
|
|
6588
6590
|
member: string;
|
|
6589
6591
|
evidence: string | null;
|
|
6590
|
-
status: "
|
|
6592
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6591
6593
|
reason: string | null;
|
|
6592
6594
|
retries: number;
|
|
6593
6595
|
generation: number;
|
|
@@ -6629,7 +6631,7 @@ declare function createRelayClient(options: {
|
|
|
6629
6631
|
} | undefined;
|
|
6630
6632
|
} | null;
|
|
6631
6633
|
release: string;
|
|
6632
|
-
interaction: "
|
|
6634
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
6633
6635
|
lifecycle: "active" | "paused" | "archived";
|
|
6634
6636
|
rewards: {
|
|
6635
6637
|
label: string;
|
|
@@ -6672,7 +6674,7 @@ declare function createRelayClient(options: {
|
|
|
6672
6674
|
quest: string;
|
|
6673
6675
|
member: string;
|
|
6674
6676
|
evidence: string | null;
|
|
6675
|
-
status: "
|
|
6677
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6676
6678
|
reason: string | null;
|
|
6677
6679
|
retries: number;
|
|
6678
6680
|
generation: number;
|
|
@@ -6738,7 +6740,7 @@ declare function createRelayClient(options: {
|
|
|
6738
6740
|
} | undefined;
|
|
6739
6741
|
} | undefined;
|
|
6740
6742
|
};
|
|
6741
|
-
connections: ("
|
|
6743
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6742
6744
|
trigger: {
|
|
6743
6745
|
kind: "manual";
|
|
6744
6746
|
input: "quiz" | "photo" | "none";
|
|
@@ -6801,7 +6803,7 @@ declare function createRelayClient(options: {
|
|
|
6801
6803
|
quest: string;
|
|
6802
6804
|
member: string;
|
|
6803
6805
|
evidence: string | null;
|
|
6804
|
-
status: "
|
|
6806
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6805
6807
|
reason: string | null;
|
|
6806
6808
|
retries: number;
|
|
6807
6809
|
generation: number;
|
|
@@ -6843,7 +6845,7 @@ declare function createRelayClient(options: {
|
|
|
6843
6845
|
} | undefined;
|
|
6844
6846
|
} | null;
|
|
6845
6847
|
release: string;
|
|
6846
|
-
interaction: "
|
|
6848
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
6847
6849
|
lifecycle: "active" | "paused" | "archived";
|
|
6848
6850
|
rewards: {
|
|
6849
6851
|
label: string;
|
|
@@ -6906,7 +6908,7 @@ declare function createRelayClient(options: {
|
|
|
6906
6908
|
} | undefined;
|
|
6907
6909
|
} | undefined;
|
|
6908
6910
|
};
|
|
6909
|
-
connections: ("
|
|
6911
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6910
6912
|
trigger: {
|
|
6911
6913
|
kind: "manual";
|
|
6912
6914
|
input: "quiz" | "photo" | "none";
|
|
@@ -6969,7 +6971,7 @@ declare function createRelayClient(options: {
|
|
|
6969
6971
|
quest: string;
|
|
6970
6972
|
member: string;
|
|
6971
6973
|
evidence: string | null;
|
|
6972
|
-
status: "
|
|
6974
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6973
6975
|
reason: string | null;
|
|
6974
6976
|
retries: number;
|
|
6975
6977
|
generation: number;
|
|
@@ -7011,7 +7013,7 @@ declare function createRelayClient(options: {
|
|
|
7011
7013
|
} | undefined;
|
|
7012
7014
|
} | null;
|
|
7013
7015
|
release: string;
|
|
7014
|
-
interaction: "
|
|
7016
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
7015
7017
|
lifecycle: "active" | "paused" | "archived";
|
|
7016
7018
|
rewards: {
|
|
7017
7019
|
label: string;
|
|
@@ -7077,7 +7079,7 @@ declare function createRelayClient(options: {
|
|
|
7077
7079
|
} | undefined;
|
|
7078
7080
|
} | undefined;
|
|
7079
7081
|
};
|
|
7080
|
-
connections: ("
|
|
7082
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
7081
7083
|
trigger: {
|
|
7082
7084
|
kind: "manual";
|
|
7083
7085
|
input: "quiz" | "photo" | "none";
|
|
@@ -7140,7 +7142,7 @@ declare function createRelayClient(options: {
|
|
|
7140
7142
|
quest: string;
|
|
7141
7143
|
member: string;
|
|
7142
7144
|
evidence: string | null;
|
|
7143
|
-
status: "
|
|
7145
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7144
7146
|
reason: string | null;
|
|
7145
7147
|
retries: number;
|
|
7146
7148
|
generation: number;
|
|
@@ -7182,7 +7184,7 @@ declare function createRelayClient(options: {
|
|
|
7182
7184
|
} | undefined;
|
|
7183
7185
|
} | null;
|
|
7184
7186
|
release: string;
|
|
7185
|
-
interaction: "
|
|
7187
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
7186
7188
|
lifecycle: "active" | "paused" | "archived";
|
|
7187
7189
|
rewards: {
|
|
7188
7190
|
label: string;
|
|
@@ -7251,7 +7253,7 @@ declare function createRelayClient(options: {
|
|
|
7251
7253
|
auth: {
|
|
7252
7254
|
providers: () => Promise<{
|
|
7253
7255
|
providers: {
|
|
7254
|
-
provider: "
|
|
7256
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
7255
7257
|
configured: boolean;
|
|
7256
7258
|
}[];
|
|
7257
7259
|
email: boolean;
|
|
@@ -7281,7 +7283,7 @@ declare function createRelayClient(options: {
|
|
|
7281
7283
|
expiresAt: number;
|
|
7282
7284
|
}>;
|
|
7283
7285
|
accounts: () => Promise<{
|
|
7284
|
-
provider: "
|
|
7286
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
7285
7287
|
configured: boolean;
|
|
7286
7288
|
status: "disconnected" | "connected" | "reconnect";
|
|
7287
7289
|
subject: string | null;
|
|
@@ -7374,7 +7376,7 @@ declare function createRelayClient(options: {
|
|
|
7374
7376
|
quest: string;
|
|
7375
7377
|
member: string;
|
|
7376
7378
|
evidence: string | null;
|
|
7377
|
-
status: "
|
|
7379
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7378
7380
|
reason: string | null;
|
|
7379
7381
|
retries: number;
|
|
7380
7382
|
generation: number;
|
|
@@ -7440,7 +7442,7 @@ declare function createRelayClient(options: {
|
|
|
7440
7442
|
} | undefined;
|
|
7441
7443
|
} | undefined;
|
|
7442
7444
|
};
|
|
7443
|
-
connections: ("
|
|
7445
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
7444
7446
|
trigger: {
|
|
7445
7447
|
kind: "manual";
|
|
7446
7448
|
input: "quiz" | "photo" | "none";
|
|
@@ -7503,7 +7505,7 @@ declare function createRelayClient(options: {
|
|
|
7503
7505
|
quest: string;
|
|
7504
7506
|
member: string;
|
|
7505
7507
|
evidence: string | null;
|
|
7506
|
-
status: "
|
|
7508
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7507
7509
|
reason: string | null;
|
|
7508
7510
|
retries: number;
|
|
7509
7511
|
generation: number;
|
|
@@ -7664,7 +7666,7 @@ declare function createRelayClient(options: {
|
|
|
7664
7666
|
provider: "discord";
|
|
7665
7667
|
action: "grant-role";
|
|
7666
7668
|
roleId: string;
|
|
7667
|
-
status: "pending" | "delivered";
|
|
7669
|
+
status: "failed" | "pending" | "delivered";
|
|
7668
7670
|
attempts: number;
|
|
7669
7671
|
nextAt: number;
|
|
7670
7672
|
lastError: string | null;
|
|
@@ -7680,7 +7682,7 @@ declare function createRelayClient(options: {
|
|
|
7680
7682
|
quest: string;
|
|
7681
7683
|
member: string;
|
|
7682
7684
|
evidence: string | null;
|
|
7683
|
-
status: "
|
|
7685
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7684
7686
|
reason: string | null;
|
|
7685
7687
|
retries: number;
|
|
7686
7688
|
generation: number;
|
|
@@ -7740,7 +7742,7 @@ declare function createRelayClient(options: {
|
|
|
7740
7742
|
quest: string;
|
|
7741
7743
|
member: string;
|
|
7742
7744
|
evidence: string | null;
|
|
7743
|
-
status: "
|
|
7745
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7744
7746
|
reason: string | null;
|
|
7745
7747
|
retries: number;
|
|
7746
7748
|
generation: number;
|
|
@@ -7818,7 +7820,7 @@ declare function createRelayClient(options: {
|
|
|
7818
7820
|
code: string;
|
|
7819
7821
|
definition: {
|
|
7820
7822
|
quest: string;
|
|
7821
|
-
runtimeVersion:
|
|
7823
|
+
runtimeVersion: 2 | 1;
|
|
7822
7824
|
title: string;
|
|
7823
7825
|
presentation: {
|
|
7824
7826
|
quiz?: {
|
|
@@ -7855,12 +7857,12 @@ declare function createRelayClient(options: {
|
|
|
7855
7857
|
kind: "resource";
|
|
7856
7858
|
default: string;
|
|
7857
7859
|
source: {
|
|
7860
|
+
provider: "domino";
|
|
7861
|
+
resource: "point-ledger";
|
|
7862
|
+
} | {
|
|
7858
7863
|
provider: "discord";
|
|
7859
7864
|
resource: "channel";
|
|
7860
7865
|
types: ("text" | "announcement")[];
|
|
7861
|
-
} | {
|
|
7862
|
-
provider: "domino";
|
|
7863
|
-
resource: "point-ledger";
|
|
7864
7866
|
} | {
|
|
7865
7867
|
provider: "discord";
|
|
7866
7868
|
resource: "role";
|
|
@@ -7972,7 +7974,7 @@ declare function createRelayClient(options: {
|
|
|
7972
7974
|
visibility: "visible" | "hidden";
|
|
7973
7975
|
budgets: {
|
|
7974
7976
|
id: string;
|
|
7975
|
-
scope: "
|
|
7977
|
+
scope: "project" | "member";
|
|
7976
7978
|
period: "day" | "lifetime";
|
|
7977
7979
|
limit: number;
|
|
7978
7980
|
cost: number | {
|
|
@@ -7986,7 +7988,7 @@ declare function createRelayClient(options: {
|
|
|
7986
7988
|
code: string;
|
|
7987
7989
|
definition: {
|
|
7988
7990
|
quest: string;
|
|
7989
|
-
runtimeVersion:
|
|
7991
|
+
runtimeVersion: 2 | 1;
|
|
7990
7992
|
title: string;
|
|
7991
7993
|
presentation: {
|
|
7992
7994
|
quiz?: {
|
|
@@ -8023,12 +8025,12 @@ declare function createRelayClient(options: {
|
|
|
8023
8025
|
kind: "resource";
|
|
8024
8026
|
default: string;
|
|
8025
8027
|
source: {
|
|
8028
|
+
provider: "domino";
|
|
8029
|
+
resource: "point-ledger";
|
|
8030
|
+
} | {
|
|
8026
8031
|
provider: "discord";
|
|
8027
8032
|
resource: "channel";
|
|
8028
8033
|
types: ("text" | "announcement")[];
|
|
8029
|
-
} | {
|
|
8030
|
-
provider: "domino";
|
|
8031
|
-
resource: "point-ledger";
|
|
8032
8034
|
} | {
|
|
8033
8035
|
provider: "discord";
|
|
8034
8036
|
resource: "role";
|
|
@@ -8140,7 +8142,7 @@ declare function createRelayClient(options: {
|
|
|
8140
8142
|
visibility: "visible" | "hidden";
|
|
8141
8143
|
budgets: {
|
|
8142
8144
|
id: string;
|
|
8143
|
-
scope: "
|
|
8145
|
+
scope: "project" | "member";
|
|
8144
8146
|
period: "day" | "lifetime";
|
|
8145
8147
|
limit: number;
|
|
8146
8148
|
cost: number | {
|
|
@@ -8153,7 +8155,7 @@ declare function createRelayClient(options: {
|
|
|
8153
8155
|
snapshot: () => Promise<{
|
|
8154
8156
|
releases: {
|
|
8155
8157
|
quest: string;
|
|
8156
|
-
runtimeVersion:
|
|
8158
|
+
runtimeVersion: 2 | 1;
|
|
8157
8159
|
title: string;
|
|
8158
8160
|
presentation: {
|
|
8159
8161
|
quiz?: {
|
|
@@ -8190,12 +8192,12 @@ declare function createRelayClient(options: {
|
|
|
8190
8192
|
kind: "resource";
|
|
8191
8193
|
default: string;
|
|
8192
8194
|
source: {
|
|
8195
|
+
provider: "domino";
|
|
8196
|
+
resource: "point-ledger";
|
|
8197
|
+
} | {
|
|
8193
8198
|
provider: "discord";
|
|
8194
8199
|
resource: "channel";
|
|
8195
8200
|
types: ("text" | "announcement")[];
|
|
8196
|
-
} | {
|
|
8197
|
-
provider: "domino";
|
|
8198
|
-
resource: "point-ledger";
|
|
8199
8201
|
} | {
|
|
8200
8202
|
provider: "discord";
|
|
8201
8203
|
resource: "role";
|
|
@@ -8307,7 +8309,7 @@ declare function createRelayClient(options: {
|
|
|
8307
8309
|
visibility: "visible" | "hidden";
|
|
8308
8310
|
budgets: {
|
|
8309
8311
|
id: string;
|
|
8310
|
-
scope: "
|
|
8312
|
+
scope: "project" | "member";
|
|
8311
8313
|
period: "day" | "lifetime";
|
|
8312
8314
|
limit: number;
|
|
8313
8315
|
cost: number | {
|
|
@@ -8435,7 +8437,7 @@ declare function createRelayClient(options: {
|
|
|
8435
8437
|
quest: string;
|
|
8436
8438
|
member: string;
|
|
8437
8439
|
evidence: string | null;
|
|
8438
|
-
status: "
|
|
8440
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8439
8441
|
reason: string | null;
|
|
8440
8442
|
retries: number;
|
|
8441
8443
|
generation: number;
|
|
@@ -8495,7 +8497,7 @@ declare function createRelayClient(options: {
|
|
|
8495
8497
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
8496
8498
|
publish: (release: ReleaseInput) => Promise<{
|
|
8497
8499
|
quest: string;
|
|
8498
|
-
runtimeVersion:
|
|
8500
|
+
runtimeVersion: 2 | 1;
|
|
8499
8501
|
title: string;
|
|
8500
8502
|
presentation: {
|
|
8501
8503
|
quiz?: {
|
|
@@ -8532,12 +8534,12 @@ declare function createRelayClient(options: {
|
|
|
8532
8534
|
kind: "resource";
|
|
8533
8535
|
default: string;
|
|
8534
8536
|
source: {
|
|
8537
|
+
provider: "domino";
|
|
8538
|
+
resource: "point-ledger";
|
|
8539
|
+
} | {
|
|
8535
8540
|
provider: "discord";
|
|
8536
8541
|
resource: "channel";
|
|
8537
8542
|
types: ("text" | "announcement")[];
|
|
8538
|
-
} | {
|
|
8539
|
-
provider: "domino";
|
|
8540
|
-
resource: "point-ledger";
|
|
8541
8543
|
} | {
|
|
8542
8544
|
provider: "discord";
|
|
8543
8545
|
resource: "role";
|
|
@@ -8649,7 +8651,7 @@ declare function createRelayClient(options: {
|
|
|
8649
8651
|
visibility: "visible" | "hidden";
|
|
8650
8652
|
budgets: {
|
|
8651
8653
|
id: string;
|
|
8652
|
-
scope: "
|
|
8654
|
+
scope: "project" | "member";
|
|
8653
8655
|
period: "day" | "lifetime";
|
|
8654
8656
|
limit: number;
|
|
8655
8657
|
cost: number | {
|
|
@@ -8691,7 +8693,7 @@ declare function createRelayClient(options: {
|
|
|
8691
8693
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
8692
8694
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
8693
8695
|
quest: string;
|
|
8694
|
-
runtimeVersion:
|
|
8696
|
+
runtimeVersion: 2 | 1;
|
|
8695
8697
|
title: string;
|
|
8696
8698
|
presentation: {
|
|
8697
8699
|
quiz?: {
|
|
@@ -8728,12 +8730,12 @@ declare function createRelayClient(options: {
|
|
|
8728
8730
|
kind: "resource";
|
|
8729
8731
|
default: string;
|
|
8730
8732
|
source: {
|
|
8733
|
+
provider: "domino";
|
|
8734
|
+
resource: "point-ledger";
|
|
8735
|
+
} | {
|
|
8731
8736
|
provider: "discord";
|
|
8732
8737
|
resource: "channel";
|
|
8733
8738
|
types: ("text" | "announcement")[];
|
|
8734
|
-
} | {
|
|
8735
|
-
provider: "domino";
|
|
8736
|
-
resource: "point-ledger";
|
|
8737
8739
|
} | {
|
|
8738
8740
|
provider: "discord";
|
|
8739
8741
|
resource: "role";
|
|
@@ -8845,7 +8847,7 @@ declare function createRelayClient(options: {
|
|
|
8845
8847
|
visibility: "visible" | "hidden";
|
|
8846
8848
|
budgets: {
|
|
8847
8849
|
id: string;
|
|
8848
|
-
scope: "
|
|
8850
|
+
scope: "project" | "member";
|
|
8849
8851
|
period: "day" | "lifetime";
|
|
8850
8852
|
limit: number;
|
|
8851
8853
|
cost: number | {
|
|
@@ -8909,7 +8911,7 @@ declare function createRelayClient(options: {
|
|
|
8909
8911
|
} | undefined;
|
|
8910
8912
|
} | undefined;
|
|
8911
8913
|
};
|
|
8912
|
-
connections: ("
|
|
8914
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
8913
8915
|
trigger: {
|
|
8914
8916
|
kind: "manual";
|
|
8915
8917
|
input: "quiz" | "photo" | "none";
|
|
@@ -8972,7 +8974,7 @@ declare function createRelayClient(options: {
|
|
|
8972
8974
|
quest: string;
|
|
8973
8975
|
member: string;
|
|
8974
8976
|
evidence: string | null;
|
|
8975
|
-
status: "
|
|
8977
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8976
8978
|
reason: string | null;
|
|
8977
8979
|
retries: number;
|
|
8978
8980
|
generation: number;
|
|
@@ -9295,7 +9297,7 @@ declare function createRelayClient(options: {
|
|
|
9295
9297
|
quest: string;
|
|
9296
9298
|
member: string;
|
|
9297
9299
|
evidence: string | null;
|
|
9298
|
-
status: "
|
|
9300
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
9299
9301
|
reason: string | null;
|
|
9300
9302
|
retries: number;
|
|
9301
9303
|
generation: number;
|
|
@@ -9342,7 +9344,7 @@ declare function createRelayClient(options: {
|
|
|
9342
9344
|
quest: string;
|
|
9343
9345
|
member: string;
|
|
9344
9346
|
evidence: string | null;
|
|
9345
|
-
status: "
|
|
9347
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
9346
9348
|
reason: string | null;
|
|
9347
9349
|
retries: number;
|
|
9348
9350
|
generation: number;
|
|
@@ -9395,7 +9397,7 @@ declare function createRelayClient(options: {
|
|
|
9395
9397
|
quest: string;
|
|
9396
9398
|
member: string;
|
|
9397
9399
|
evidence: string | null;
|
|
9398
|
-
status: "
|
|
9400
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
9399
9401
|
reason: string | null;
|
|
9400
9402
|
retries: number;
|
|
9401
9403
|
generation: number;
|