@domino-sdk/relay 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +36 -36
- package/dist/index.d.ts +99 -99
- package/package.json +1 -1
package/dist/browser.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
339
339
|
} | undefined;
|
|
340
340
|
} | undefined;
|
|
341
341
|
};
|
|
342
|
-
connections: ("
|
|
342
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
343
343
|
trigger: {
|
|
344
344
|
kind: "manual";
|
|
345
345
|
input: "quiz" | "photo" | "none";
|
|
@@ -398,7 +398,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
398
398
|
quest: string;
|
|
399
399
|
member: string;
|
|
400
400
|
evidence: string | null;
|
|
401
|
-
status: "
|
|
401
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
402
402
|
reason: string | null;
|
|
403
403
|
retries: number;
|
|
404
404
|
generation: number;
|
|
@@ -440,7 +440,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
440
440
|
} | undefined;
|
|
441
441
|
} | null;
|
|
442
442
|
release: string;
|
|
443
|
-
interaction: "
|
|
443
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
444
444
|
lifecycle: "active" | "paused" | "archived";
|
|
445
445
|
rewards: {
|
|
446
446
|
label: string;
|
|
@@ -453,7 +453,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
453
453
|
quest: string;
|
|
454
454
|
member: string;
|
|
455
455
|
evidence: string | null;
|
|
456
|
-
status: "
|
|
456
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
457
457
|
reason: string | null;
|
|
458
458
|
retries: number;
|
|
459
459
|
generation: number;
|
|
@@ -519,7 +519,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
519
519
|
} | undefined;
|
|
520
520
|
} | undefined;
|
|
521
521
|
};
|
|
522
|
-
connections: ("
|
|
522
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
523
523
|
trigger: {
|
|
524
524
|
kind: "manual";
|
|
525
525
|
input: "quiz" | "photo" | "none";
|
|
@@ -578,7 +578,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
578
578
|
quest: string;
|
|
579
579
|
member: string;
|
|
580
580
|
evidence: string | null;
|
|
581
|
-
status: "
|
|
581
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
582
582
|
reason: string | null;
|
|
583
583
|
retries: number;
|
|
584
584
|
generation: number;
|
|
@@ -620,7 +620,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
620
620
|
} | undefined;
|
|
621
621
|
} | null;
|
|
622
622
|
release: string;
|
|
623
|
-
interaction: "
|
|
623
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
624
624
|
lifecycle: "active" | "paused" | "archived";
|
|
625
625
|
rewards: {
|
|
626
626
|
label: string;
|
|
@@ -653,7 +653,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
653
653
|
} | undefined;
|
|
654
654
|
} | undefined;
|
|
655
655
|
};
|
|
656
|
-
connections: ("
|
|
656
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
657
657
|
trigger: {
|
|
658
658
|
kind: "manual";
|
|
659
659
|
input: "quiz" | "photo" | "none";
|
|
@@ -712,7 +712,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
712
712
|
quest: string;
|
|
713
713
|
member: string;
|
|
714
714
|
evidence: string | null;
|
|
715
|
-
status: "
|
|
715
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
716
716
|
reason: string | null;
|
|
717
717
|
retries: number;
|
|
718
718
|
generation: number;
|
|
@@ -754,7 +754,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
754
754
|
} | undefined;
|
|
755
755
|
} | null;
|
|
756
756
|
release: string;
|
|
757
|
-
interaction: "
|
|
757
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
758
758
|
lifecycle: "active" | "paused" | "archived";
|
|
759
759
|
rewards: {
|
|
760
760
|
label: string;
|
|
@@ -790,7 +790,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
790
790
|
} | undefined;
|
|
791
791
|
} | undefined;
|
|
792
792
|
};
|
|
793
|
-
connections: ("
|
|
793
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
794
794
|
trigger: {
|
|
795
795
|
kind: "manual";
|
|
796
796
|
input: "quiz" | "photo" | "none";
|
|
@@ -849,7 +849,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
849
849
|
quest: string;
|
|
850
850
|
member: string;
|
|
851
851
|
evidence: string | null;
|
|
852
|
-
status: "
|
|
852
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
853
853
|
reason: string | null;
|
|
854
854
|
retries: number;
|
|
855
855
|
generation: number;
|
|
@@ -891,7 +891,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
891
891
|
} | undefined;
|
|
892
892
|
} | null;
|
|
893
893
|
release: string;
|
|
894
|
-
interaction: "
|
|
894
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
895
895
|
lifecycle: "active" | "paused" | "archived";
|
|
896
896
|
rewards: {
|
|
897
897
|
label: string;
|
|
@@ -930,7 +930,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
930
930
|
auth: {
|
|
931
931
|
providers: () => Promise<{
|
|
932
932
|
providers: {
|
|
933
|
-
provider: "
|
|
933
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
934
934
|
configured: boolean;
|
|
935
935
|
}[];
|
|
936
936
|
email: boolean;
|
|
@@ -960,7 +960,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
960
960
|
expiresAt: number;
|
|
961
961
|
}>;
|
|
962
962
|
accounts: () => Promise<{
|
|
963
|
-
provider: "
|
|
963
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
964
964
|
configured: boolean;
|
|
965
965
|
status: "disconnected" | "connected" | "reconnect";
|
|
966
966
|
subject: string | null;
|
|
@@ -1051,7 +1051,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1051
1051
|
quest: string;
|
|
1052
1052
|
member: string;
|
|
1053
1053
|
evidence: string | null;
|
|
1054
|
-
status: "
|
|
1054
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
1055
1055
|
reason: string | null;
|
|
1056
1056
|
retries: number;
|
|
1057
1057
|
generation: number;
|
|
@@ -1117,7 +1117,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
} | undefined;
|
|
1119
1119
|
};
|
|
1120
|
-
connections: ("
|
|
1120
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
1121
1121
|
trigger: {
|
|
1122
1122
|
kind: "manual";
|
|
1123
1123
|
input: "quiz" | "photo" | "none";
|
|
@@ -1176,7 +1176,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1176
1176
|
quest: string;
|
|
1177
1177
|
member: string;
|
|
1178
1178
|
evidence: string | null;
|
|
1179
|
-
status: "
|
|
1179
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
1180
1180
|
reason: string | null;
|
|
1181
1181
|
retries: number;
|
|
1182
1182
|
generation: number;
|
|
@@ -1323,7 +1323,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1323
1323
|
quest: string;
|
|
1324
1324
|
member: string;
|
|
1325
1325
|
evidence: string | null;
|
|
1326
|
-
status: "
|
|
1326
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
1327
1327
|
reason: string | null;
|
|
1328
1328
|
retries: number;
|
|
1329
1329
|
generation: number;
|
|
@@ -1382,7 +1382,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1382
1382
|
quest: string;
|
|
1383
1383
|
member: string;
|
|
1384
1384
|
evidence: string | null;
|
|
1385
|
-
status: "
|
|
1385
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
1386
1386
|
reason: string | null;
|
|
1387
1387
|
retries: number;
|
|
1388
1388
|
generation: number;
|
|
@@ -1457,7 +1457,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1457
1457
|
code: string;
|
|
1458
1458
|
definition: {
|
|
1459
1459
|
quest: string;
|
|
1460
|
-
runtimeVersion:
|
|
1460
|
+
runtimeVersion: 1 | 2;
|
|
1461
1461
|
title: string;
|
|
1462
1462
|
presentation: {
|
|
1463
1463
|
quiz?: {
|
|
@@ -1607,7 +1607,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1607
1607
|
visibility: "visible" | "hidden";
|
|
1608
1608
|
budgets: {
|
|
1609
1609
|
id: string;
|
|
1610
|
-
scope: "
|
|
1610
|
+
scope: "member" | "project";
|
|
1611
1611
|
period: "lifetime" | "day";
|
|
1612
1612
|
limit: number;
|
|
1613
1613
|
cost: number | {
|
|
@@ -1620,7 +1620,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1620
1620
|
code: string;
|
|
1621
1621
|
definition: {
|
|
1622
1622
|
quest: string;
|
|
1623
|
-
runtimeVersion:
|
|
1623
|
+
runtimeVersion: 1 | 2;
|
|
1624
1624
|
title: string;
|
|
1625
1625
|
presentation: {
|
|
1626
1626
|
quiz?: {
|
|
@@ -1770,7 +1770,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1770
1770
|
visibility: "visible" | "hidden";
|
|
1771
1771
|
budgets: {
|
|
1772
1772
|
id: string;
|
|
1773
|
-
scope: "
|
|
1773
|
+
scope: "member" | "project";
|
|
1774
1774
|
period: "lifetime" | "day";
|
|
1775
1775
|
limit: number;
|
|
1776
1776
|
cost: number | {
|
|
@@ -1782,7 +1782,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1782
1782
|
snapshot: () => Promise<{
|
|
1783
1783
|
releases: {
|
|
1784
1784
|
quest: string;
|
|
1785
|
-
runtimeVersion:
|
|
1785
|
+
runtimeVersion: 1 | 2;
|
|
1786
1786
|
title: string;
|
|
1787
1787
|
presentation: {
|
|
1788
1788
|
quiz?: {
|
|
@@ -1932,7 +1932,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1932
1932
|
visibility: "visible" | "hidden";
|
|
1933
1933
|
budgets: {
|
|
1934
1934
|
id: string;
|
|
1935
|
-
scope: "
|
|
1935
|
+
scope: "member" | "project";
|
|
1936
1936
|
period: "lifetime" | "day";
|
|
1937
1937
|
limit: number;
|
|
1938
1938
|
cost: number | {
|
|
@@ -2060,7 +2060,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2060
2060
|
quest: string;
|
|
2061
2061
|
member: string;
|
|
2062
2062
|
evidence: string | null;
|
|
2063
|
-
status: "
|
|
2063
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
2064
2064
|
reason: string | null;
|
|
2065
2065
|
retries: number;
|
|
2066
2066
|
generation: number;
|
|
@@ -2119,7 +2119,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2119
2119
|
}>;
|
|
2120
2120
|
publish: (release: ReleaseInput) => Promise<{
|
|
2121
2121
|
quest: string;
|
|
2122
|
-
runtimeVersion:
|
|
2122
|
+
runtimeVersion: 1 | 2;
|
|
2123
2123
|
title: string;
|
|
2124
2124
|
presentation: {
|
|
2125
2125
|
quiz?: {
|
|
@@ -2269,7 +2269,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2269
2269
|
visibility: "visible" | "hidden";
|
|
2270
2270
|
budgets: {
|
|
2271
2271
|
id: string;
|
|
2272
|
-
scope: "
|
|
2272
|
+
scope: "member" | "project";
|
|
2273
2273
|
period: "lifetime" | "day";
|
|
2274
2274
|
limit: number;
|
|
2275
2275
|
cost: number | {
|
|
@@ -2310,7 +2310,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2310
2310
|
}>;
|
|
2311
2311
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
2312
2312
|
quest: string;
|
|
2313
|
-
runtimeVersion:
|
|
2313
|
+
runtimeVersion: 1 | 2;
|
|
2314
2314
|
title: string;
|
|
2315
2315
|
presentation: {
|
|
2316
2316
|
quiz?: {
|
|
@@ -2460,7 +2460,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2460
2460
|
visibility: "visible" | "hidden";
|
|
2461
2461
|
budgets: {
|
|
2462
2462
|
id: string;
|
|
2463
|
-
scope: "
|
|
2463
|
+
scope: "member" | "project";
|
|
2464
2464
|
period: "lifetime" | "day";
|
|
2465
2465
|
limit: number;
|
|
2466
2466
|
cost: number | {
|
|
@@ -2524,7 +2524,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2524
2524
|
} | undefined;
|
|
2525
2525
|
} | undefined;
|
|
2526
2526
|
};
|
|
2527
|
-
connections: ("
|
|
2527
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
2528
2528
|
trigger: {
|
|
2529
2529
|
kind: "manual";
|
|
2530
2530
|
input: "quiz" | "photo" | "none";
|
|
@@ -2583,7 +2583,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2583
2583
|
quest: string;
|
|
2584
2584
|
member: string;
|
|
2585
2585
|
evidence: string | null;
|
|
2586
|
-
status: "
|
|
2586
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
2587
2587
|
reason: string | null;
|
|
2588
2588
|
retries: number;
|
|
2589
2589
|
generation: number;
|
|
@@ -2874,7 +2874,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2874
2874
|
quest: string;
|
|
2875
2875
|
member: string;
|
|
2876
2876
|
evidence: string | null;
|
|
2877
|
-
status: "
|
|
2877
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
2878
2878
|
reason: string | null;
|
|
2879
2879
|
retries: number;
|
|
2880
2880
|
generation: number;
|
|
@@ -2921,7 +2921,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2921
2921
|
quest: string;
|
|
2922
2922
|
member: string;
|
|
2923
2923
|
evidence: string | null;
|
|
2924
|
-
status: "
|
|
2924
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
2925
2925
|
reason: string | null;
|
|
2926
2926
|
retries: number;
|
|
2927
2927
|
generation: number;
|
|
@@ -2973,7 +2973,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2973
2973
|
quest: string;
|
|
2974
2974
|
member: string;
|
|
2975
2975
|
evidence: string | null;
|
|
2976
|
-
status: "
|
|
2976
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
2977
2977
|
reason: string | null;
|
|
2978
2978
|
retries: number;
|
|
2979
2979
|
generation: number;
|
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";
|
|
194
193
|
quiz: "quiz";
|
|
195
194
|
photo: "photo";
|
|
195
|
+
staff: "staff";
|
|
196
196
|
automatic: "automatic";
|
|
197
197
|
claim: "claim";
|
|
198
198
|
}>;
|
|
@@ -371,8 +371,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
371
371
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
372
372
|
id: z.ZodString;
|
|
373
373
|
scope: z.ZodEnum<{
|
|
374
|
-
project: "project";
|
|
375
374
|
member: "member";
|
|
375
|
+
project: "project";
|
|
376
376
|
}>;
|
|
377
377
|
period: z.ZodEnum<{
|
|
378
378
|
lifetime: "lifetime";
|
|
@@ -406,7 +406,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
406
406
|
title: string;
|
|
407
407
|
key?: string | undefined;
|
|
408
408
|
id?: string | undefined;
|
|
409
|
-
}, "
|
|
409
|
+
}, "key" | "id"> & {
|
|
410
410
|
key: string;
|
|
411
411
|
}, {
|
|
412
412
|
title: string;
|
|
@@ -713,8 +713,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
713
713
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
714
714
|
id: z.ZodString;
|
|
715
715
|
scope: z.ZodEnum<{
|
|
716
|
-
project: "project";
|
|
717
716
|
member: "member";
|
|
717
|
+
project: "project";
|
|
718
718
|
}>;
|
|
719
719
|
period: z.ZodEnum<{
|
|
720
720
|
lifetime: "lifetime";
|
|
@@ -999,8 +999,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
999
999
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1000
1000
|
id: z.ZodString;
|
|
1001
1001
|
scope: z.ZodEnum<{
|
|
1002
|
-
project: "project";
|
|
1003
1002
|
member: "member";
|
|
1003
|
+
project: "project";
|
|
1004
1004
|
}>;
|
|
1005
1005
|
period: z.ZodEnum<{
|
|
1006
1006
|
lifetime: "lifetime";
|
|
@@ -1096,7 +1096,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1096
1096
|
createdAt: z.ZodNumber;
|
|
1097
1097
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1098
1098
|
quest: string;
|
|
1099
|
-
runtimeVersion:
|
|
1099
|
+
runtimeVersion: 1 | 2;
|
|
1100
1100
|
title: string;
|
|
1101
1101
|
presentation: {
|
|
1102
1102
|
quiz?: {
|
|
@@ -1246,7 +1246,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1246
1246
|
visibility: "visible" | "hidden";
|
|
1247
1247
|
budgets: {
|
|
1248
1248
|
id: string;
|
|
1249
|
-
scope: "
|
|
1249
|
+
scope: "member" | "project";
|
|
1250
1250
|
period: "lifetime" | "day";
|
|
1251
1251
|
limit: number;
|
|
1252
1252
|
cost: number | {
|
|
@@ -1322,9 +1322,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1322
1322
|
createdAt: number;
|
|
1323
1323
|
}>>]>>>;
|
|
1324
1324
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1325
|
-
staff: "staff";
|
|
1326
1325
|
quiz: "quiz";
|
|
1327
1326
|
photo: "photo";
|
|
1327
|
+
staff: "staff";
|
|
1328
1328
|
automatic: "automatic";
|
|
1329
1329
|
claim: "claim";
|
|
1330
1330
|
}>>;
|
|
@@ -1345,7 +1345,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1345
1345
|
title: string;
|
|
1346
1346
|
key?: string | undefined;
|
|
1347
1347
|
id?: string | undefined;
|
|
1348
|
-
}, "
|
|
1348
|
+
}, "key" | "id"> & {
|
|
1349
1349
|
key: string;
|
|
1350
1350
|
}, {
|
|
1351
1351
|
title: string;
|
|
@@ -1353,9 +1353,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1353
1353
|
id?: string | undefined;
|
|
1354
1354
|
}>>>>;
|
|
1355
1355
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1356
|
-
staff: "staff";
|
|
1357
1356
|
quiz: "quiz";
|
|
1358
1357
|
photo: "photo";
|
|
1358
|
+
staff: "staff";
|
|
1359
1359
|
automatic: "automatic";
|
|
1360
1360
|
claim: "claim";
|
|
1361
1361
|
}>>>;
|
|
@@ -1535,8 +1535,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1535
1535
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1536
1536
|
id: z.ZodString;
|
|
1537
1537
|
scope: z.ZodEnum<{
|
|
1538
|
-
project: "project";
|
|
1539
1538
|
member: "member";
|
|
1539
|
+
project: "project";
|
|
1540
1540
|
}>;
|
|
1541
1541
|
period: z.ZodEnum<{
|
|
1542
1542
|
lifetime: "lifetime";
|
|
@@ -1563,9 +1563,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1563
1563
|
title: z.ZodString;
|
|
1564
1564
|
}, z.core.$strict>>;
|
|
1565
1565
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1566
|
-
staff: "staff";
|
|
1567
1566
|
quiz: "quiz";
|
|
1568
1567
|
photo: "photo";
|
|
1568
|
+
staff: "staff";
|
|
1569
1569
|
automatic: "automatic";
|
|
1570
1570
|
claim: "claim";
|
|
1571
1571
|
}>>;
|
|
@@ -1634,10 +1634,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1634
1634
|
}, z.core.$strict>>;
|
|
1635
1635
|
}, z.core.$strict>>;
|
|
1636
1636
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1637
|
-
discord: "discord";
|
|
1638
1637
|
google: "google";
|
|
1639
1638
|
apple: "apple";
|
|
1640
1639
|
x: "x";
|
|
1640
|
+
discord: "discord";
|
|
1641
1641
|
}>>>;
|
|
1642
1642
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1643
1643
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1719,11 +1719,11 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1719
1719
|
}, Record<string, string>>>;
|
|
1720
1720
|
}, z.core.$strict>>;
|
|
1721
1721
|
status: z.ZodEnum<{
|
|
1722
|
+
"needs-review": "needs-review";
|
|
1722
1723
|
queued: "queued";
|
|
1723
1724
|
evaluating: "evaluating";
|
|
1724
1725
|
accepted: "accepted";
|
|
1725
1726
|
rejected: "rejected";
|
|
1726
|
-
"needs-review": "needs-review";
|
|
1727
1727
|
failed: "failed";
|
|
1728
1728
|
}>;
|
|
1729
1729
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1761,9 +1761,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1761
1761
|
}, z.core.$strip>>;
|
|
1762
1762
|
release: z.ZodString;
|
|
1763
1763
|
interaction: z.ZodEnum<{
|
|
1764
|
-
staff: "staff";
|
|
1765
1764
|
quiz: "quiz";
|
|
1766
1765
|
photo: "photo";
|
|
1766
|
+
staff: "staff";
|
|
1767
1767
|
automatic: "automatic";
|
|
1768
1768
|
claim: "claim";
|
|
1769
1769
|
}>;
|
|
@@ -1805,10 +1805,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1805
1805
|
}, z.core.$strict>>;
|
|
1806
1806
|
}, z.core.$strict>>;
|
|
1807
1807
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1808
|
-
discord: "discord";
|
|
1809
1808
|
google: "google";
|
|
1810
1809
|
apple: "apple";
|
|
1811
1810
|
x: "x";
|
|
1811
|
+
discord: "discord";
|
|
1812
1812
|
}>>>;
|
|
1813
1813
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1814
1814
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1890,11 +1890,11 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1890
1890
|
}, Record<string, string>>>;
|
|
1891
1891
|
}, z.core.$strict>>;
|
|
1892
1892
|
status: z.ZodEnum<{
|
|
1893
|
+
"needs-review": "needs-review";
|
|
1893
1894
|
queued: "queued";
|
|
1894
1895
|
evaluating: "evaluating";
|
|
1895
1896
|
accepted: "accepted";
|
|
1896
1897
|
rejected: "rejected";
|
|
1897
|
-
"needs-review": "needs-review";
|
|
1898
1898
|
failed: "failed";
|
|
1899
1899
|
}>;
|
|
1900
1900
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1932,9 +1932,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1932
1932
|
}, z.core.$strip>>;
|
|
1933
1933
|
release: z.ZodString;
|
|
1934
1934
|
interaction: z.ZodEnum<{
|
|
1935
|
-
staff: "staff";
|
|
1936
1935
|
quiz: "quiz";
|
|
1937
1936
|
photo: "photo";
|
|
1937
|
+
staff: "staff";
|
|
1938
1938
|
automatic: "automatic";
|
|
1939
1939
|
claim: "claim";
|
|
1940
1940
|
}>;
|
|
@@ -1975,10 +1975,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
1975
1975
|
}, z.core.$strict>>;
|
|
1976
1976
|
}, z.core.$strict>>;
|
|
1977
1977
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1978
|
-
discord: "discord";
|
|
1979
1978
|
google: "google";
|
|
1980
1979
|
apple: "apple";
|
|
1981
1980
|
x: "x";
|
|
1981
|
+
discord: "discord";
|
|
1982
1982
|
}>>>;
|
|
1983
1983
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1984
1984
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2060,11 +2060,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2060
2060
|
}, Record<string, string>>>;
|
|
2061
2061
|
}, z.core.$strict>>;
|
|
2062
2062
|
status: z.ZodEnum<{
|
|
2063
|
+
"needs-review": "needs-review";
|
|
2063
2064
|
queued: "queued";
|
|
2064
2065
|
evaluating: "evaluating";
|
|
2065
2066
|
accepted: "accepted";
|
|
2066
2067
|
rejected: "rejected";
|
|
2067
|
-
"needs-review": "needs-review";
|
|
2068
2068
|
failed: "failed";
|
|
2069
2069
|
}>;
|
|
2070
2070
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2102,9 +2102,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2102
2102
|
}, z.core.$strip>>;
|
|
2103
2103
|
release: z.ZodString;
|
|
2104
2104
|
interaction: z.ZodEnum<{
|
|
2105
|
-
staff: "staff";
|
|
2106
2105
|
quiz: "quiz";
|
|
2107
2106
|
photo: "photo";
|
|
2107
|
+
staff: "staff";
|
|
2108
2108
|
automatic: "automatic";
|
|
2109
2109
|
claim: "claim";
|
|
2110
2110
|
}>;
|
|
@@ -2146,10 +2146,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2146
2146
|
}, z.core.$strict>>;
|
|
2147
2147
|
}, z.core.$strict>>;
|
|
2148
2148
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2149
|
-
discord: "discord";
|
|
2150
2149
|
google: "google";
|
|
2151
2150
|
apple: "apple";
|
|
2152
2151
|
x: "x";
|
|
2152
|
+
discord: "discord";
|
|
2153
2153
|
}>>>;
|
|
2154
2154
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2155
2155
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2231,11 +2231,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2231
2231
|
}, Record<string, string>>>;
|
|
2232
2232
|
}, z.core.$strict>>;
|
|
2233
2233
|
status: z.ZodEnum<{
|
|
2234
|
+
"needs-review": "needs-review";
|
|
2234
2235
|
queued: "queued";
|
|
2235
2236
|
evaluating: "evaluating";
|
|
2236
2237
|
accepted: "accepted";
|
|
2237
2238
|
rejected: "rejected";
|
|
2238
|
-
"needs-review": "needs-review";
|
|
2239
2239
|
failed: "failed";
|
|
2240
2240
|
}>;
|
|
2241
2241
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2273,9 +2273,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2273
2273
|
}, z.core.$strip>>;
|
|
2274
2274
|
release: z.ZodString;
|
|
2275
2275
|
interaction: z.ZodEnum<{
|
|
2276
|
-
staff: "staff";
|
|
2277
2276
|
quiz: "quiz";
|
|
2278
2277
|
photo: "photo";
|
|
2278
|
+
staff: "staff";
|
|
2279
2279
|
automatic: "automatic";
|
|
2280
2280
|
claim: "claim";
|
|
2281
2281
|
}>;
|
|
@@ -2533,8 +2533,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2533
2533
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2534
2534
|
id: z.ZodString;
|
|
2535
2535
|
scope: z.ZodEnum<{
|
|
2536
|
-
project: "project";
|
|
2537
2536
|
member: "member";
|
|
2537
|
+
project: "project";
|
|
2538
2538
|
}>;
|
|
2539
2539
|
period: z.ZodEnum<{
|
|
2540
2540
|
lifetime: "lifetime";
|
|
@@ -2630,7 +2630,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2630
2630
|
createdAt: z.ZodNumber;
|
|
2631
2631
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2632
2632
|
quest: string;
|
|
2633
|
-
runtimeVersion:
|
|
2633
|
+
runtimeVersion: 1 | 2;
|
|
2634
2634
|
title: string;
|
|
2635
2635
|
presentation: {
|
|
2636
2636
|
quiz?: {
|
|
@@ -2780,7 +2780,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2780
2780
|
visibility: "visible" | "hidden";
|
|
2781
2781
|
budgets: {
|
|
2782
2782
|
id: string;
|
|
2783
|
-
scope: "
|
|
2783
|
+
scope: "member" | "project";
|
|
2784
2784
|
period: "lifetime" | "day";
|
|
2785
2785
|
limit: number;
|
|
2786
2786
|
cost: number | {
|
|
@@ -3097,12 +3097,6 @@ declare function questConfiguration(release: PublishedRelease): {
|
|
|
3097
3097
|
|
|
3098
3098
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
3099
3099
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
3100
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3101
|
-
code: z.ZodString;
|
|
3102
|
-
provider: z.ZodEnum<{
|
|
3103
|
-
"workers-ai": "workers-ai";
|
|
3104
|
-
}>;
|
|
3105
|
-
}, z.core.$strip>>>;
|
|
3106
3100
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3107
3101
|
title: z.ZodString;
|
|
3108
3102
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -3111,17 +3105,23 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3111
3105
|
title: string;
|
|
3112
3106
|
key?: string | undefined;
|
|
3113
3107
|
id?: string | undefined;
|
|
3114
|
-
}, "
|
|
3108
|
+
}, "key" | "id"> & {
|
|
3115
3109
|
key: string;
|
|
3116
3110
|
}, {
|
|
3117
3111
|
title: string;
|
|
3118
3112
|
key?: string | undefined;
|
|
3119
3113
|
id?: string | undefined;
|
|
3120
3114
|
}>>>>;
|
|
3115
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3116
|
+
code: z.ZodString;
|
|
3117
|
+
provider: z.ZodEnum<{
|
|
3118
|
+
"workers-ai": "workers-ai";
|
|
3119
|
+
}>;
|
|
3120
|
+
}, z.core.$strip>>>;
|
|
3121
3121
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3122
|
-
staff: "staff";
|
|
3123
3122
|
quiz: "quiz";
|
|
3124
3123
|
photo: "photo";
|
|
3124
|
+
staff: "staff";
|
|
3125
3125
|
automatic: "automatic";
|
|
3126
3126
|
claim: "claim";
|
|
3127
3127
|
}>>>;
|
|
@@ -3320,7 +3320,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3320
3320
|
inviterGroup?: string | undefined;
|
|
3321
3321
|
key?: string | undefined;
|
|
3322
3322
|
id?: string | undefined;
|
|
3323
|
-
}, "
|
|
3323
|
+
}, "key" | "id"> & {
|
|
3324
3324
|
key: string;
|
|
3325
3325
|
}, {
|
|
3326
3326
|
title: string;
|
|
@@ -3421,9 +3421,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3421
3421
|
code: z.ZodString;
|
|
3422
3422
|
}, z.core.$strict>]>>>;
|
|
3423
3423
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3424
|
+
title: z.ZodString;
|
|
3424
3425
|
balance: z.ZodString;
|
|
3425
3426
|
group: z.ZodOptional<z.ZodString>;
|
|
3426
|
-
title: z.ZodString;
|
|
3427
3427
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3428
3428
|
kind: z.ZodLiteral<"balance">;
|
|
3429
3429
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3475,8 +3475,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3475
3475
|
key: z.ZodOptional<z.ZodString>;
|
|
3476
3476
|
id: z.ZodOptional<z.ZodString>;
|
|
3477
3477
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3478
|
-
balance: string;
|
|
3479
3478
|
title: string;
|
|
3479
|
+
balance: string;
|
|
3480
3480
|
score: {
|
|
3481
3481
|
kind: "balance";
|
|
3482
3482
|
} | {
|
|
@@ -3517,11 +3517,11 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3517
3517
|
group?: string | undefined;
|
|
3518
3518
|
key?: string | undefined;
|
|
3519
3519
|
id?: string | undefined;
|
|
3520
|
-
}, "
|
|
3520
|
+
}, "key" | "id"> & {
|
|
3521
3521
|
key: string;
|
|
3522
3522
|
}, {
|
|
3523
|
-
balance: string;
|
|
3524
3523
|
title: string;
|
|
3524
|
+
balance: string;
|
|
3525
3525
|
score: {
|
|
3526
3526
|
kind: "balance";
|
|
3527
3527
|
} | {
|
|
@@ -3568,12 +3568,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3568
3568
|
}, z.core.$strict>;
|
|
3569
3569
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
3570
3570
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
3571
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3572
|
-
code: z.ZodString;
|
|
3573
|
-
provider: z.ZodEnum<{
|
|
3574
|
-
"workers-ai": "workers-ai";
|
|
3575
|
-
}>;
|
|
3576
|
-
}, z.core.$strip>>>;
|
|
3577
3571
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3578
3572
|
title: z.ZodString;
|
|
3579
3573
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -3582,17 +3576,23 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3582
3576
|
title: string;
|
|
3583
3577
|
key?: string | undefined;
|
|
3584
3578
|
id?: string | undefined;
|
|
3585
|
-
}, "
|
|
3579
|
+
}, "key" | "id"> & {
|
|
3586
3580
|
key: string;
|
|
3587
3581
|
}, {
|
|
3588
3582
|
title: string;
|
|
3589
3583
|
key?: string | undefined;
|
|
3590
3584
|
id?: string | undefined;
|
|
3591
3585
|
}>>>>;
|
|
3586
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3587
|
+
code: z.ZodString;
|
|
3588
|
+
provider: z.ZodEnum<{
|
|
3589
|
+
"workers-ai": "workers-ai";
|
|
3590
|
+
}>;
|
|
3591
|
+
}, z.core.$strip>>>;
|
|
3592
3592
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3593
|
-
staff: "staff";
|
|
3594
3593
|
quiz: "quiz";
|
|
3595
3594
|
photo: "photo";
|
|
3595
|
+
staff: "staff";
|
|
3596
3596
|
automatic: "automatic";
|
|
3597
3597
|
claim: "claim";
|
|
3598
3598
|
}>>>;
|
|
@@ -3791,7 +3791,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3791
3791
|
inviterGroup?: string | undefined;
|
|
3792
3792
|
key?: string | undefined;
|
|
3793
3793
|
id?: string | undefined;
|
|
3794
|
-
}, "
|
|
3794
|
+
}, "key" | "id"> & {
|
|
3795
3795
|
key: string;
|
|
3796
3796
|
}, {
|
|
3797
3797
|
title: string;
|
|
@@ -3892,9 +3892,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3892
3892
|
code: z.ZodString;
|
|
3893
3893
|
}, z.core.$strict>]>>>;
|
|
3894
3894
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3895
|
+
title: z.ZodString;
|
|
3895
3896
|
balance: z.ZodString;
|
|
3896
3897
|
group: z.ZodOptional<z.ZodString>;
|
|
3897
|
-
title: z.ZodString;
|
|
3898
3898
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3899
3899
|
kind: z.ZodLiteral<"balance">;
|
|
3900
3900
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3946,8 +3946,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3946
3946
|
key: z.ZodOptional<z.ZodString>;
|
|
3947
3947
|
id: z.ZodOptional<z.ZodString>;
|
|
3948
3948
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3949
|
-
balance: string;
|
|
3950
3949
|
title: string;
|
|
3950
|
+
balance: string;
|
|
3951
3951
|
score: {
|
|
3952
3952
|
kind: "balance";
|
|
3953
3953
|
} | {
|
|
@@ -3988,11 +3988,11 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3988
3988
|
group?: string | undefined;
|
|
3989
3989
|
key?: string | undefined;
|
|
3990
3990
|
id?: string | undefined;
|
|
3991
|
-
}, "
|
|
3991
|
+
}, "key" | "id"> & {
|
|
3992
3992
|
key: string;
|
|
3993
3993
|
}, {
|
|
3994
|
-
balance: string;
|
|
3995
3994
|
title: string;
|
|
3995
|
+
balance: string;
|
|
3996
3996
|
score: {
|
|
3997
3997
|
kind: "balance";
|
|
3998
3998
|
} | {
|
|
@@ -4230,8 +4230,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4230
4230
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4231
4231
|
id: z.ZodString;
|
|
4232
4232
|
scope: z.ZodEnum<{
|
|
4233
|
-
project: "project";
|
|
4234
4233
|
member: "member";
|
|
4234
|
+
project: "project";
|
|
4235
4235
|
}>;
|
|
4236
4236
|
period: z.ZodEnum<{
|
|
4237
4237
|
lifetime: "lifetime";
|
|
@@ -4327,7 +4327,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4327
4327
|
createdAt: z.ZodNumber;
|
|
4328
4328
|
}, z.core.$strip>, z.ZodTransform<{
|
|
4329
4329
|
quest: string;
|
|
4330
|
-
runtimeVersion:
|
|
4330
|
+
runtimeVersion: 1 | 2;
|
|
4331
4331
|
title: string;
|
|
4332
4332
|
presentation: {
|
|
4333
4333
|
quiz?: {
|
|
@@ -4477,7 +4477,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4477
4477
|
visibility: "visible" | "hidden";
|
|
4478
4478
|
budgets: {
|
|
4479
4479
|
id: string;
|
|
4480
|
-
scope: "
|
|
4480
|
+
scope: "member" | "project";
|
|
4481
4481
|
period: "lifetime" | "day";
|
|
4482
4482
|
limit: number;
|
|
4483
4483
|
cost: number | {
|
|
@@ -4725,8 +4725,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4725
4725
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4726
4726
|
id: z.ZodString;
|
|
4727
4727
|
scope: z.ZodEnum<{
|
|
4728
|
-
project: "project";
|
|
4729
4728
|
member: "member";
|
|
4729
|
+
project: "project";
|
|
4730
4730
|
}>;
|
|
4731
4731
|
period: z.ZodEnum<{
|
|
4732
4732
|
lifetime: "lifetime";
|
|
@@ -4754,9 +4754,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4754
4754
|
quests: z.ZodArray<z.ZodString>;
|
|
4755
4755
|
}, z.core.$strict>>;
|
|
4756
4756
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
4757
|
-
staff: "staff";
|
|
4758
4757
|
quiz: "quiz";
|
|
4759
4758
|
photo: "photo";
|
|
4759
|
+
staff: "staff";
|
|
4760
4760
|
automatic: "automatic";
|
|
4761
4761
|
claim: "claim";
|
|
4762
4762
|
}>>;
|
|
@@ -5181,8 +5181,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5181
5181
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5182
5182
|
id: z.ZodString;
|
|
5183
5183
|
scope: z.ZodEnum<{
|
|
5184
|
-
project: "project";
|
|
5185
5184
|
member: "member";
|
|
5185
|
+
project: "project";
|
|
5186
5186
|
}>;
|
|
5187
5187
|
period: z.ZodEnum<{
|
|
5188
5188
|
lifetime: "lifetime";
|
|
@@ -5278,7 +5278,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5278
5278
|
createdAt: z.ZodNumber;
|
|
5279
5279
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5280
5280
|
quest: string;
|
|
5281
|
-
runtimeVersion:
|
|
5281
|
+
runtimeVersion: 1 | 2;
|
|
5282
5282
|
title: string;
|
|
5283
5283
|
presentation: {
|
|
5284
5284
|
quiz?: {
|
|
@@ -5428,7 +5428,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5428
5428
|
visibility: "visible" | "hidden";
|
|
5429
5429
|
budgets: {
|
|
5430
5430
|
id: string;
|
|
5431
|
-
scope: "
|
|
5431
|
+
scope: "member" | "project";
|
|
5432
5432
|
period: "lifetime" | "day";
|
|
5433
5433
|
limit: number;
|
|
5434
5434
|
cost: number | {
|
|
@@ -5676,8 +5676,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5676
5676
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5677
5677
|
id: z.ZodString;
|
|
5678
5678
|
scope: z.ZodEnum<{
|
|
5679
|
-
project: "project";
|
|
5680
5679
|
member: "member";
|
|
5680
|
+
project: "project";
|
|
5681
5681
|
}>;
|
|
5682
5682
|
period: z.ZodEnum<{
|
|
5683
5683
|
lifetime: "lifetime";
|
|
@@ -5705,9 +5705,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5705
5705
|
quests: z.ZodArray<z.ZodString>;
|
|
5706
5706
|
}, z.core.$strict>>;
|
|
5707
5707
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5708
|
-
staff: "staff";
|
|
5709
5708
|
quiz: "quiz";
|
|
5710
5709
|
photo: "photo";
|
|
5710
|
+
staff: "staff";
|
|
5711
5711
|
automatic: "automatic";
|
|
5712
5712
|
claim: "claim";
|
|
5713
5713
|
}>>;
|
|
@@ -6332,7 +6332,7 @@ declare function createRelayClient(options: {
|
|
|
6332
6332
|
} | undefined;
|
|
6333
6333
|
} | undefined;
|
|
6334
6334
|
};
|
|
6335
|
-
connections: ("
|
|
6335
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6336
6336
|
trigger: {
|
|
6337
6337
|
kind: "manual";
|
|
6338
6338
|
input: "quiz" | "photo" | "none";
|
|
@@ -6391,7 +6391,7 @@ declare function createRelayClient(options: {
|
|
|
6391
6391
|
quest: string;
|
|
6392
6392
|
member: string;
|
|
6393
6393
|
evidence: string | null;
|
|
6394
|
-
status: "
|
|
6394
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
6395
6395
|
reason: string | null;
|
|
6396
6396
|
retries: number;
|
|
6397
6397
|
generation: number;
|
|
@@ -6433,7 +6433,7 @@ declare function createRelayClient(options: {
|
|
|
6433
6433
|
} | undefined;
|
|
6434
6434
|
} | null;
|
|
6435
6435
|
release: string;
|
|
6436
|
-
interaction: "
|
|
6436
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
6437
6437
|
lifecycle: "active" | "paused" | "archived";
|
|
6438
6438
|
rewards: {
|
|
6439
6439
|
label: string;
|
|
@@ -6446,7 +6446,7 @@ declare function createRelayClient(options: {
|
|
|
6446
6446
|
quest: string;
|
|
6447
6447
|
member: string;
|
|
6448
6448
|
evidence: string | null;
|
|
6449
|
-
status: "
|
|
6449
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
6450
6450
|
reason: string | null;
|
|
6451
6451
|
retries: number;
|
|
6452
6452
|
generation: number;
|
|
@@ -6512,7 +6512,7 @@ declare function createRelayClient(options: {
|
|
|
6512
6512
|
} | undefined;
|
|
6513
6513
|
} | undefined;
|
|
6514
6514
|
};
|
|
6515
|
-
connections: ("
|
|
6515
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6516
6516
|
trigger: {
|
|
6517
6517
|
kind: "manual";
|
|
6518
6518
|
input: "quiz" | "photo" | "none";
|
|
@@ -6571,7 +6571,7 @@ declare function createRelayClient(options: {
|
|
|
6571
6571
|
quest: string;
|
|
6572
6572
|
member: string;
|
|
6573
6573
|
evidence: string | null;
|
|
6574
|
-
status: "
|
|
6574
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
6575
6575
|
reason: string | null;
|
|
6576
6576
|
retries: number;
|
|
6577
6577
|
generation: number;
|
|
@@ -6613,7 +6613,7 @@ declare function createRelayClient(options: {
|
|
|
6613
6613
|
} | undefined;
|
|
6614
6614
|
} | null;
|
|
6615
6615
|
release: string;
|
|
6616
|
-
interaction: "
|
|
6616
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
6617
6617
|
lifecycle: "active" | "paused" | "archived";
|
|
6618
6618
|
rewards: {
|
|
6619
6619
|
label: string;
|
|
@@ -6646,7 +6646,7 @@ declare function createRelayClient(options: {
|
|
|
6646
6646
|
} | undefined;
|
|
6647
6647
|
} | undefined;
|
|
6648
6648
|
};
|
|
6649
|
-
connections: ("
|
|
6649
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6650
6650
|
trigger: {
|
|
6651
6651
|
kind: "manual";
|
|
6652
6652
|
input: "quiz" | "photo" | "none";
|
|
@@ -6705,7 +6705,7 @@ declare function createRelayClient(options: {
|
|
|
6705
6705
|
quest: string;
|
|
6706
6706
|
member: string;
|
|
6707
6707
|
evidence: string | null;
|
|
6708
|
-
status: "
|
|
6708
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
6709
6709
|
reason: string | null;
|
|
6710
6710
|
retries: number;
|
|
6711
6711
|
generation: number;
|
|
@@ -6747,7 +6747,7 @@ declare function createRelayClient(options: {
|
|
|
6747
6747
|
} | undefined;
|
|
6748
6748
|
} | null;
|
|
6749
6749
|
release: string;
|
|
6750
|
-
interaction: "
|
|
6750
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
6751
6751
|
lifecycle: "active" | "paused" | "archived";
|
|
6752
6752
|
rewards: {
|
|
6753
6753
|
label: string;
|
|
@@ -6783,7 +6783,7 @@ declare function createRelayClient(options: {
|
|
|
6783
6783
|
} | undefined;
|
|
6784
6784
|
} | undefined;
|
|
6785
6785
|
};
|
|
6786
|
-
connections: ("
|
|
6786
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6787
6787
|
trigger: {
|
|
6788
6788
|
kind: "manual";
|
|
6789
6789
|
input: "quiz" | "photo" | "none";
|
|
@@ -6842,7 +6842,7 @@ declare function createRelayClient(options: {
|
|
|
6842
6842
|
quest: string;
|
|
6843
6843
|
member: string;
|
|
6844
6844
|
evidence: string | null;
|
|
6845
|
-
status: "
|
|
6845
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
6846
6846
|
reason: string | null;
|
|
6847
6847
|
retries: number;
|
|
6848
6848
|
generation: number;
|
|
@@ -6884,7 +6884,7 @@ declare function createRelayClient(options: {
|
|
|
6884
6884
|
} | undefined;
|
|
6885
6885
|
} | null;
|
|
6886
6886
|
release: string;
|
|
6887
|
-
interaction: "
|
|
6887
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
6888
6888
|
lifecycle: "active" | "paused" | "archived";
|
|
6889
6889
|
rewards: {
|
|
6890
6890
|
label: string;
|
|
@@ -6923,7 +6923,7 @@ declare function createRelayClient(options: {
|
|
|
6923
6923
|
auth: {
|
|
6924
6924
|
providers: () => Promise<{
|
|
6925
6925
|
providers: {
|
|
6926
|
-
provider: "
|
|
6926
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
6927
6927
|
configured: boolean;
|
|
6928
6928
|
}[];
|
|
6929
6929
|
email: boolean;
|
|
@@ -6953,7 +6953,7 @@ declare function createRelayClient(options: {
|
|
|
6953
6953
|
expiresAt: number;
|
|
6954
6954
|
}>;
|
|
6955
6955
|
accounts: () => Promise<{
|
|
6956
|
-
provider: "
|
|
6956
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
6957
6957
|
configured: boolean;
|
|
6958
6958
|
status: "disconnected" | "connected" | "reconnect";
|
|
6959
6959
|
subject: string | null;
|
|
@@ -7045,7 +7045,7 @@ declare function createRelayClient(options: {
|
|
|
7045
7045
|
quest: string;
|
|
7046
7046
|
member: string;
|
|
7047
7047
|
evidence: string | null;
|
|
7048
|
-
status: "
|
|
7048
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
7049
7049
|
reason: string | null;
|
|
7050
7050
|
retries: number;
|
|
7051
7051
|
generation: number;
|
|
@@ -7111,7 +7111,7 @@ declare function createRelayClient(options: {
|
|
|
7111
7111
|
} | undefined;
|
|
7112
7112
|
} | undefined;
|
|
7113
7113
|
};
|
|
7114
|
-
connections: ("
|
|
7114
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7115
7115
|
trigger: {
|
|
7116
7116
|
kind: "manual";
|
|
7117
7117
|
input: "quiz" | "photo" | "none";
|
|
@@ -7170,7 +7170,7 @@ declare function createRelayClient(options: {
|
|
|
7170
7170
|
quest: string;
|
|
7171
7171
|
member: string;
|
|
7172
7172
|
evidence: string | null;
|
|
7173
|
-
status: "
|
|
7173
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
7174
7174
|
reason: string | null;
|
|
7175
7175
|
retries: number;
|
|
7176
7176
|
generation: number;
|
|
@@ -7317,7 +7317,7 @@ declare function createRelayClient(options: {
|
|
|
7317
7317
|
quest: string;
|
|
7318
7318
|
member: string;
|
|
7319
7319
|
evidence: string | null;
|
|
7320
|
-
status: "
|
|
7320
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
7321
7321
|
reason: string | null;
|
|
7322
7322
|
retries: number;
|
|
7323
7323
|
generation: number;
|
|
@@ -7376,7 +7376,7 @@ declare function createRelayClient(options: {
|
|
|
7376
7376
|
quest: string;
|
|
7377
7377
|
member: string;
|
|
7378
7378
|
evidence: string | null;
|
|
7379
|
-
status: "
|
|
7379
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
7380
7380
|
reason: string | null;
|
|
7381
7381
|
retries: number;
|
|
7382
7382
|
generation: number;
|
|
@@ -7451,7 +7451,7 @@ declare function createRelayClient(options: {
|
|
|
7451
7451
|
code: string;
|
|
7452
7452
|
definition: {
|
|
7453
7453
|
quest: string;
|
|
7454
|
-
runtimeVersion:
|
|
7454
|
+
runtimeVersion: 1 | 2;
|
|
7455
7455
|
title: string;
|
|
7456
7456
|
presentation: {
|
|
7457
7457
|
quiz?: {
|
|
@@ -7601,7 +7601,7 @@ declare function createRelayClient(options: {
|
|
|
7601
7601
|
visibility: "visible" | "hidden";
|
|
7602
7602
|
budgets: {
|
|
7603
7603
|
id: string;
|
|
7604
|
-
scope: "
|
|
7604
|
+
scope: "member" | "project";
|
|
7605
7605
|
period: "lifetime" | "day";
|
|
7606
7606
|
limit: number;
|
|
7607
7607
|
cost: number | {
|
|
@@ -7614,7 +7614,7 @@ declare function createRelayClient(options: {
|
|
|
7614
7614
|
code: string;
|
|
7615
7615
|
definition: {
|
|
7616
7616
|
quest: string;
|
|
7617
|
-
runtimeVersion:
|
|
7617
|
+
runtimeVersion: 1 | 2;
|
|
7618
7618
|
title: string;
|
|
7619
7619
|
presentation: {
|
|
7620
7620
|
quiz?: {
|
|
@@ -7764,7 +7764,7 @@ declare function createRelayClient(options: {
|
|
|
7764
7764
|
visibility: "visible" | "hidden";
|
|
7765
7765
|
budgets: {
|
|
7766
7766
|
id: string;
|
|
7767
|
-
scope: "
|
|
7767
|
+
scope: "member" | "project";
|
|
7768
7768
|
period: "lifetime" | "day";
|
|
7769
7769
|
limit: number;
|
|
7770
7770
|
cost: number | {
|
|
@@ -7776,7 +7776,7 @@ declare function createRelayClient(options: {
|
|
|
7776
7776
|
snapshot: () => Promise<{
|
|
7777
7777
|
releases: {
|
|
7778
7778
|
quest: string;
|
|
7779
|
-
runtimeVersion:
|
|
7779
|
+
runtimeVersion: 1 | 2;
|
|
7780
7780
|
title: string;
|
|
7781
7781
|
presentation: {
|
|
7782
7782
|
quiz?: {
|
|
@@ -7926,7 +7926,7 @@ declare function createRelayClient(options: {
|
|
|
7926
7926
|
visibility: "visible" | "hidden";
|
|
7927
7927
|
budgets: {
|
|
7928
7928
|
id: string;
|
|
7929
|
-
scope: "
|
|
7929
|
+
scope: "member" | "project";
|
|
7930
7930
|
period: "lifetime" | "day";
|
|
7931
7931
|
limit: number;
|
|
7932
7932
|
cost: number | {
|
|
@@ -8054,7 +8054,7 @@ declare function createRelayClient(options: {
|
|
|
8054
8054
|
quest: string;
|
|
8055
8055
|
member: string;
|
|
8056
8056
|
evidence: string | null;
|
|
8057
|
-
status: "
|
|
8057
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
8058
8058
|
reason: string | null;
|
|
8059
8059
|
retries: number;
|
|
8060
8060
|
generation: number;
|
|
@@ -8113,7 +8113,7 @@ declare function createRelayClient(options: {
|
|
|
8113
8113
|
}>;
|
|
8114
8114
|
publish: (release: ReleaseInput) => Promise<{
|
|
8115
8115
|
quest: string;
|
|
8116
|
-
runtimeVersion:
|
|
8116
|
+
runtimeVersion: 1 | 2;
|
|
8117
8117
|
title: string;
|
|
8118
8118
|
presentation: {
|
|
8119
8119
|
quiz?: {
|
|
@@ -8263,7 +8263,7 @@ declare function createRelayClient(options: {
|
|
|
8263
8263
|
visibility: "visible" | "hidden";
|
|
8264
8264
|
budgets: {
|
|
8265
8265
|
id: string;
|
|
8266
|
-
scope: "
|
|
8266
|
+
scope: "member" | "project";
|
|
8267
8267
|
period: "lifetime" | "day";
|
|
8268
8268
|
limit: number;
|
|
8269
8269
|
cost: number | {
|
|
@@ -8304,7 +8304,7 @@ declare function createRelayClient(options: {
|
|
|
8304
8304
|
}>;
|
|
8305
8305
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
8306
8306
|
quest: string;
|
|
8307
|
-
runtimeVersion:
|
|
8307
|
+
runtimeVersion: 1 | 2;
|
|
8308
8308
|
title: string;
|
|
8309
8309
|
presentation: {
|
|
8310
8310
|
quiz?: {
|
|
@@ -8454,7 +8454,7 @@ declare function createRelayClient(options: {
|
|
|
8454
8454
|
visibility: "visible" | "hidden";
|
|
8455
8455
|
budgets: {
|
|
8456
8456
|
id: string;
|
|
8457
|
-
scope: "
|
|
8457
|
+
scope: "member" | "project";
|
|
8458
8458
|
period: "lifetime" | "day";
|
|
8459
8459
|
limit: number;
|
|
8460
8460
|
cost: number | {
|
|
@@ -8518,7 +8518,7 @@ declare function createRelayClient(options: {
|
|
|
8518
8518
|
} | undefined;
|
|
8519
8519
|
} | undefined;
|
|
8520
8520
|
};
|
|
8521
|
-
connections: ("
|
|
8521
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8522
8522
|
trigger: {
|
|
8523
8523
|
kind: "manual";
|
|
8524
8524
|
input: "quiz" | "photo" | "none";
|
|
@@ -8577,7 +8577,7 @@ declare function createRelayClient(options: {
|
|
|
8577
8577
|
quest: string;
|
|
8578
8578
|
member: string;
|
|
8579
8579
|
evidence: string | null;
|
|
8580
|
-
status: "
|
|
8580
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
8581
8581
|
reason: string | null;
|
|
8582
8582
|
retries: number;
|
|
8583
8583
|
generation: number;
|
|
@@ -8868,7 +8868,7 @@ declare function createRelayClient(options: {
|
|
|
8868
8868
|
quest: string;
|
|
8869
8869
|
member: string;
|
|
8870
8870
|
evidence: string | null;
|
|
8871
|
-
status: "
|
|
8871
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
8872
8872
|
reason: string | null;
|
|
8873
8873
|
retries: number;
|
|
8874
8874
|
generation: number;
|
|
@@ -8915,7 +8915,7 @@ declare function createRelayClient(options: {
|
|
|
8915
8915
|
quest: string;
|
|
8916
8916
|
member: string;
|
|
8917
8917
|
evidence: string | null;
|
|
8918
|
-
status: "
|
|
8918
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
8919
8919
|
reason: string | null;
|
|
8920
8920
|
retries: number;
|
|
8921
8921
|
generation: number;
|
|
@@ -8967,7 +8967,7 @@ declare function createRelayClient(options: {
|
|
|
8967
8967
|
quest: string;
|
|
8968
8968
|
member: string;
|
|
8969
8969
|
evidence: string | null;
|
|
8970
|
-
status: "
|
|
8970
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
|
|
8971
8971
|
reason: string | null;
|
|
8972
8972
|
retries: number;
|
|
8973
8973
|
generation: number;
|