@domino-sdk/relay 0.25.0 → 0.26.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 +182 -182
- package/dist/index.d.ts +391 -391
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -210,12 +210,12 @@ type ProgressObserver = {
|
|
|
210
210
|
|
|
211
211
|
declare const interactionSchema: z.ZodEnum<{
|
|
212
212
|
staff: "staff";
|
|
213
|
-
quiz: "quiz";
|
|
214
213
|
text: "text";
|
|
215
214
|
url: "url";
|
|
216
|
-
photo: "photo";
|
|
217
215
|
automatic: "automatic";
|
|
218
216
|
claim: "claim";
|
|
217
|
+
quiz: "quiz";
|
|
218
|
+
photo: "photo";
|
|
219
219
|
}>;
|
|
220
220
|
type QuestInteraction = z.infer<typeof interactionSchema>;
|
|
221
221
|
declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
|
|
@@ -384,9 +384,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
384
384
|
}, z.core.$strict>, z.ZodObject<{
|
|
385
385
|
kind: z.ZodLiteral<"manual">;
|
|
386
386
|
input: z.ZodEnum<{
|
|
387
|
+
none: "none";
|
|
387
388
|
quiz: "quiz";
|
|
388
389
|
photo: "photo";
|
|
389
|
-
none: "none";
|
|
390
390
|
}>;
|
|
391
391
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
392
392
|
member: "member";
|
|
@@ -405,8 +405,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
405
405
|
end: z.ZodOptional<z.ZodNumber>;
|
|
406
406
|
}, z.core.$strict>;
|
|
407
407
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
408
|
-
required: "required";
|
|
409
408
|
none: "none";
|
|
409
|
+
required: "required";
|
|
410
410
|
}>>;
|
|
411
411
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
412
412
|
"after-enrollment": "after-enrollment";
|
|
@@ -466,8 +466,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
466
466
|
}>;
|
|
467
467
|
period: z.ZodEnum<{
|
|
468
468
|
day: "day";
|
|
469
|
-
week: "week";
|
|
470
469
|
lifetime: "lifetime";
|
|
470
|
+
week: "week";
|
|
471
471
|
}>;
|
|
472
472
|
limit: z.ZodNumber;
|
|
473
473
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -497,7 +497,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
497
497
|
title: string;
|
|
498
498
|
key?: string | undefined;
|
|
499
499
|
id?: string | undefined;
|
|
500
|
-
}, "
|
|
500
|
+
}, "id" | "key"> & {
|
|
501
501
|
key: string;
|
|
502
502
|
}, {
|
|
503
503
|
title: string;
|
|
@@ -525,8 +525,8 @@ declare const questInstanceSchema: z.ZodObject<{
|
|
|
525
525
|
}, z.core.$strict>>]>>;
|
|
526
526
|
requires: z.ZodArray<z.ZodString>;
|
|
527
527
|
status: z.ZodEnum<{
|
|
528
|
-
active: "active";
|
|
529
528
|
paused: "paused";
|
|
529
|
+
active: "active";
|
|
530
530
|
archived: "archived";
|
|
531
531
|
}>;
|
|
532
532
|
}, z.core.$strict>;
|
|
@@ -546,8 +546,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
546
546
|
}, z.core.$strict>>]>>;
|
|
547
547
|
requires: z.ZodArray<z.ZodString>;
|
|
548
548
|
status: z.ZodEnum<{
|
|
549
|
-
active: "active";
|
|
550
549
|
paused: "paused";
|
|
550
|
+
active: "active";
|
|
551
551
|
archived: "archived";
|
|
552
552
|
}>;
|
|
553
553
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -579,8 +579,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
579
579
|
}, z.core.$strict>>]>>;
|
|
580
580
|
requires: z.ZodArray<z.ZodString>;
|
|
581
581
|
status: z.ZodEnum<{
|
|
582
|
-
active: "active";
|
|
583
582
|
paused: "paused";
|
|
583
|
+
active: "active";
|
|
584
584
|
archived: "archived";
|
|
585
585
|
}>;
|
|
586
586
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -613,8 +613,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
613
613
|
}, z.core.$strict>>]>>;
|
|
614
614
|
requires: z.ZodArray<z.ZodString>;
|
|
615
615
|
status: z.ZodEnum<{
|
|
616
|
-
active: "active";
|
|
617
616
|
paused: "paused";
|
|
617
|
+
active: "active";
|
|
618
618
|
archived: "archived";
|
|
619
619
|
}>;
|
|
620
620
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -796,9 +796,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
796
796
|
}, z.core.$strict>, z.ZodObject<{
|
|
797
797
|
kind: z.ZodLiteral<"manual">;
|
|
798
798
|
input: z.ZodEnum<{
|
|
799
|
+
none: "none";
|
|
799
800
|
quiz: "quiz";
|
|
800
801
|
photo: "photo";
|
|
801
|
-
none: "none";
|
|
802
802
|
}>;
|
|
803
803
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
804
804
|
member: "member";
|
|
@@ -817,8 +817,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
817
817
|
end: z.ZodOptional<z.ZodNumber>;
|
|
818
818
|
}, z.core.$strict>;
|
|
819
819
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
820
|
-
required: "required";
|
|
821
820
|
none: "none";
|
|
821
|
+
required: "required";
|
|
822
822
|
}>>;
|
|
823
823
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
824
824
|
"after-enrollment": "after-enrollment";
|
|
@@ -878,8 +878,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
878
878
|
}>;
|
|
879
879
|
period: z.ZodEnum<{
|
|
880
880
|
day: "day";
|
|
881
|
-
week: "week";
|
|
882
881
|
lifetime: "lifetime";
|
|
882
|
+
week: "week";
|
|
883
883
|
}>;
|
|
884
884
|
limit: z.ZodNumber;
|
|
885
885
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -917,8 +917,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
917
917
|
}, z.core.$strict>>]>>;
|
|
918
918
|
requires: z.ZodArray<z.ZodString>;
|
|
919
919
|
status: z.ZodEnum<{
|
|
920
|
-
active: "active";
|
|
921
920
|
paused: "paused";
|
|
921
|
+
active: "active";
|
|
922
922
|
archived: "archived";
|
|
923
923
|
}>;
|
|
924
924
|
}, z.core.$strict>>;
|
|
@@ -942,8 +942,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
942
942
|
}, z.core.$strict>>]>>;
|
|
943
943
|
requires: z.ZodArray<z.ZodString>;
|
|
944
944
|
status: z.ZodEnum<{
|
|
945
|
-
active: "active";
|
|
946
945
|
paused: "paused";
|
|
946
|
+
active: "active";
|
|
947
947
|
archived: "archived";
|
|
948
948
|
}>;
|
|
949
949
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -976,8 +976,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
976
976
|
}, z.core.$strict>>]>>;
|
|
977
977
|
requires: z.ZodArray<z.ZodString>;
|
|
978
978
|
status: z.ZodEnum<{
|
|
979
|
-
active: "active";
|
|
980
979
|
paused: "paused";
|
|
980
|
+
active: "active";
|
|
981
981
|
archived: "archived";
|
|
982
982
|
}>;
|
|
983
983
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -1152,9 +1152,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1152
1152
|
}, z.core.$strict>, z.ZodObject<{
|
|
1153
1153
|
kind: z.ZodLiteral<"manual">;
|
|
1154
1154
|
input: z.ZodEnum<{
|
|
1155
|
+
none: "none";
|
|
1155
1156
|
quiz: "quiz";
|
|
1156
1157
|
photo: "photo";
|
|
1157
|
-
none: "none";
|
|
1158
1158
|
}>;
|
|
1159
1159
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1160
1160
|
member: "member";
|
|
@@ -1173,8 +1173,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1173
1173
|
end: z.ZodOptional<z.ZodNumber>;
|
|
1174
1174
|
}, z.core.$strict>;
|
|
1175
1175
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1176
|
-
required: "required";
|
|
1177
1176
|
none: "none";
|
|
1177
|
+
required: "required";
|
|
1178
1178
|
}>>;
|
|
1179
1179
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
1180
1180
|
"after-enrollment": "after-enrollment";
|
|
@@ -1234,8 +1234,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1234
1234
|
}>;
|
|
1235
1235
|
period: z.ZodEnum<{
|
|
1236
1236
|
day: "day";
|
|
1237
|
-
week: "week";
|
|
1238
1237
|
lifetime: "lifetime";
|
|
1238
|
+
week: "week";
|
|
1239
1239
|
}>;
|
|
1240
1240
|
limit: z.ZodNumber;
|
|
1241
1241
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1258,8 +1258,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1258
1258
|
typeVersion: z.ZodString;
|
|
1259
1259
|
}, z.core.$strict>>;
|
|
1260
1260
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1261
|
-
active: "active";
|
|
1262
1261
|
paused: "paused";
|
|
1262
|
+
active: "active";
|
|
1263
1263
|
archived: "archived";
|
|
1264
1264
|
}>>;
|
|
1265
1265
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -1364,12 +1364,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1364
1364
|
kind: "resource";
|
|
1365
1365
|
default: string;
|
|
1366
1366
|
source: {
|
|
1367
|
-
provider: "domino";
|
|
1368
|
-
resource: "point-ledger";
|
|
1369
|
-
} | {
|
|
1370
1367
|
provider: "discord";
|
|
1371
1368
|
resource: "channel";
|
|
1372
1369
|
types: ("text" | "announcement")[];
|
|
1370
|
+
} | {
|
|
1371
|
+
provider: "domino";
|
|
1372
|
+
resource: "point-ledger";
|
|
1373
1373
|
} | {
|
|
1374
1374
|
provider: "discord";
|
|
1375
1375
|
resource: "role";
|
|
@@ -1466,7 +1466,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1466
1466
|
start: number;
|
|
1467
1467
|
end?: number | undefined;
|
|
1468
1468
|
};
|
|
1469
|
-
enrollment: "
|
|
1469
|
+
enrollment: "none" | "required";
|
|
1470
1470
|
posts: "after-enrollment" | "since-start";
|
|
1471
1471
|
historical: "staff" | "automatic" | "claim";
|
|
1472
1472
|
} | undefined;
|
|
@@ -1494,7 +1494,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1494
1494
|
actor?: "member" | "staff" | undefined;
|
|
1495
1495
|
} | {
|
|
1496
1496
|
kind: "manual";
|
|
1497
|
-
input: "
|
|
1497
|
+
input: "none" | "quiz" | "photo";
|
|
1498
1498
|
actor?: "member" | "staff" | undefined;
|
|
1499
1499
|
};
|
|
1500
1500
|
requires: {
|
|
@@ -1514,7 +1514,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1514
1514
|
budgets: {
|
|
1515
1515
|
id: string;
|
|
1516
1516
|
scope: "project" | "member";
|
|
1517
|
-
period: "day" | "
|
|
1517
|
+
period: "day" | "lifetime" | "week";
|
|
1518
1518
|
limit: number;
|
|
1519
1519
|
cost: number | {
|
|
1520
1520
|
balance: string;
|
|
@@ -1525,7 +1525,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1525
1525
|
id: string;
|
|
1526
1526
|
createdAt: number;
|
|
1527
1527
|
legacy: boolean;
|
|
1528
|
-
lifecycle: "
|
|
1528
|
+
lifecycle: "paused" | "active" | "archived";
|
|
1529
1529
|
performance?: {
|
|
1530
1530
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
1531
1531
|
maxAgeMs: number;
|
|
@@ -1594,12 +1594,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1594
1594
|
}>>]>>>;
|
|
1595
1595
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1596
1596
|
staff: "staff";
|
|
1597
|
-
quiz: "quiz";
|
|
1598
1597
|
text: "text";
|
|
1599
1598
|
url: "url";
|
|
1600
|
-
photo: "photo";
|
|
1601
1599
|
automatic: "automatic";
|
|
1602
1600
|
claim: "claim";
|
|
1601
|
+
quiz: "quiz";
|
|
1602
|
+
photo: "photo";
|
|
1603
1603
|
}>>;
|
|
1604
1604
|
}, z.core.$strip>;
|
|
1605
1605
|
declare const catalogDeploymentSchema: z.ZodObject<{
|
|
@@ -1618,7 +1618,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1618
1618
|
title: string;
|
|
1619
1619
|
key?: string | undefined;
|
|
1620
1620
|
id?: string | undefined;
|
|
1621
|
-
}, "
|
|
1621
|
+
}, "id" | "key"> & {
|
|
1622
1622
|
key: string;
|
|
1623
1623
|
}, {
|
|
1624
1624
|
title: string;
|
|
@@ -1627,12 +1627,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1627
1627
|
}>>>>;
|
|
1628
1628
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1629
1629
|
staff: "staff";
|
|
1630
|
-
quiz: "quiz";
|
|
1631
1630
|
text: "text";
|
|
1632
1631
|
url: "url";
|
|
1633
|
-
photo: "photo";
|
|
1634
1632
|
automatic: "automatic";
|
|
1635
1633
|
claim: "claim";
|
|
1634
|
+
quiz: "quiz";
|
|
1635
|
+
photo: "photo";
|
|
1636
1636
|
}>>>;
|
|
1637
1637
|
}, z.core.$strict>;
|
|
1638
1638
|
declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
@@ -1802,9 +1802,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1802
1802
|
}, z.core.$strict>, z.ZodObject<{
|
|
1803
1803
|
kind: z.ZodLiteral<"manual">;
|
|
1804
1804
|
input: z.ZodEnum<{
|
|
1805
|
+
none: "none";
|
|
1805
1806
|
quiz: "quiz";
|
|
1806
1807
|
photo: "photo";
|
|
1807
|
-
none: "none";
|
|
1808
1808
|
}>;
|
|
1809
1809
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1810
1810
|
member: "member";
|
|
@@ -1823,8 +1823,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1823
1823
|
end: z.ZodOptional<z.ZodNumber>;
|
|
1824
1824
|
}, z.core.$strict>;
|
|
1825
1825
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1826
|
-
required: "required";
|
|
1827
1826
|
none: "none";
|
|
1827
|
+
required: "required";
|
|
1828
1828
|
}>>;
|
|
1829
1829
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
1830
1830
|
"after-enrollment": "after-enrollment";
|
|
@@ -1884,8 +1884,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1884
1884
|
}>;
|
|
1885
1885
|
period: z.ZodEnum<{
|
|
1886
1886
|
day: "day";
|
|
1887
|
-
week: "week";
|
|
1888
1887
|
lifetime: "lifetime";
|
|
1888
|
+
week: "week";
|
|
1889
1889
|
}>;
|
|
1890
1890
|
limit: z.ZodNumber;
|
|
1891
1891
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1909,12 +1909,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1909
1909
|
}, z.core.$strict>>;
|
|
1910
1910
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1911
1911
|
staff: "staff";
|
|
1912
|
-
quiz: "quiz";
|
|
1913
1912
|
text: "text";
|
|
1914
1913
|
url: "url";
|
|
1915
|
-
photo: "photo";
|
|
1916
1914
|
automatic: "automatic";
|
|
1917
1915
|
claim: "claim";
|
|
1916
|
+
quiz: "quiz";
|
|
1917
|
+
photo: "photo";
|
|
1918
1918
|
}>>;
|
|
1919
1919
|
}, z.core.$strip>;
|
|
1920
1920
|
declare const saveQuestDraftSchema: z.ZodObject<{
|
|
@@ -1938,8 +1938,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
1938
1938
|
}, z.core.$strict>>]>>;
|
|
1939
1939
|
requires: z.ZodArray<z.ZodString>;
|
|
1940
1940
|
status: z.ZodEnum<{
|
|
1941
|
-
active: "active";
|
|
1942
1941
|
paused: "paused";
|
|
1942
|
+
active: "active";
|
|
1943
1943
|
archived: "archived";
|
|
1944
1944
|
}>;
|
|
1945
1945
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -2007,10 +2007,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2007
2007
|
}, z.core.$strict>>;
|
|
2008
2008
|
}, z.core.$strict>>;
|
|
2009
2009
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2010
|
+
x: "x";
|
|
2010
2011
|
discord: "discord";
|
|
2011
2012
|
google: "google";
|
|
2012
2013
|
apple: "apple";
|
|
2013
|
-
x: "x";
|
|
2014
2014
|
}>>>;
|
|
2015
2015
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2016
2016
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2038,9 +2038,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2038
2038
|
}, z.core.$strict>, z.ZodObject<{
|
|
2039
2039
|
kind: z.ZodLiteral<"manual">;
|
|
2040
2040
|
input: z.ZodEnum<{
|
|
2041
|
+
none: "none";
|
|
2041
2042
|
quiz: "quiz";
|
|
2042
2043
|
photo: "photo";
|
|
2043
|
-
none: "none";
|
|
2044
2044
|
}>;
|
|
2045
2045
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2046
2046
|
member: "member";
|
|
@@ -2059,8 +2059,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2059
2059
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2060
2060
|
}, z.core.$strict>;
|
|
2061
2061
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2062
|
-
required: "required";
|
|
2063
2062
|
none: "none";
|
|
2063
|
+
required: "required";
|
|
2064
2064
|
}>>;
|
|
2065
2065
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2066
2066
|
"after-enrollment": "after-enrollment";
|
|
@@ -2087,11 +2087,11 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2087
2087
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2088
2088
|
kind: z.ZodLiteral<"available">;
|
|
2089
2089
|
input: z.ZodEnum<{
|
|
2090
|
-
quiz: "quiz";
|
|
2091
2090
|
text: "text";
|
|
2092
2091
|
url: "url";
|
|
2093
|
-
photo: "photo";
|
|
2094
2092
|
none: "none";
|
|
2093
|
+
quiz: "quiz";
|
|
2094
|
+
photo: "photo";
|
|
2095
2095
|
}>;
|
|
2096
2096
|
}, z.core.$strict>, z.ZodObject<{
|
|
2097
2097
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2188,13 +2188,13 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2188
2188
|
value: z.ZodString;
|
|
2189
2189
|
}, z.core.$strict>]>>;
|
|
2190
2190
|
status: z.ZodEnum<{
|
|
2191
|
+
"needs-review": "needs-review";
|
|
2192
|
+
failed: "failed";
|
|
2191
2193
|
queued: "queued";
|
|
2192
2194
|
evaluating: "evaluating";
|
|
2193
2195
|
accepted: "accepted";
|
|
2194
2196
|
progressed: "progressed";
|
|
2195
2197
|
rejected: "rejected";
|
|
2196
|
-
"needs-review": "needs-review";
|
|
2197
|
-
failed: "failed";
|
|
2198
2198
|
}>;
|
|
2199
2199
|
reason: z.ZodNullable<z.ZodString>;
|
|
2200
2200
|
retries: z.ZodNumber;
|
|
@@ -2232,16 +2232,16 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2232
2232
|
release: z.ZodString;
|
|
2233
2233
|
interaction: z.ZodEnum<{
|
|
2234
2234
|
staff: "staff";
|
|
2235
|
-
quiz: "quiz";
|
|
2236
2235
|
text: "text";
|
|
2237
2236
|
url: "url";
|
|
2238
|
-
photo: "photo";
|
|
2239
2237
|
automatic: "automatic";
|
|
2240
2238
|
claim: "claim";
|
|
2239
|
+
quiz: "quiz";
|
|
2240
|
+
photo: "photo";
|
|
2241
2241
|
}>;
|
|
2242
2242
|
lifecycle: z.ZodEnum<{
|
|
2243
|
-
active: "active";
|
|
2244
2243
|
paused: "paused";
|
|
2244
|
+
active: "active";
|
|
2245
2245
|
archived: "archived";
|
|
2246
2246
|
}>;
|
|
2247
2247
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2296,10 +2296,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2296
2296
|
}, z.core.$strict>>;
|
|
2297
2297
|
}, z.core.$strict>>;
|
|
2298
2298
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2299
|
+
x: "x";
|
|
2299
2300
|
discord: "discord";
|
|
2300
2301
|
google: "google";
|
|
2301
2302
|
apple: "apple";
|
|
2302
|
-
x: "x";
|
|
2303
2303
|
}>>>;
|
|
2304
2304
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2305
2305
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2327,9 +2327,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2327
2327
|
}, z.core.$strict>, z.ZodObject<{
|
|
2328
2328
|
kind: z.ZodLiteral<"manual">;
|
|
2329
2329
|
input: z.ZodEnum<{
|
|
2330
|
+
none: "none";
|
|
2330
2331
|
quiz: "quiz";
|
|
2331
2332
|
photo: "photo";
|
|
2332
|
-
none: "none";
|
|
2333
2333
|
}>;
|
|
2334
2334
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2335
2335
|
member: "member";
|
|
@@ -2348,8 +2348,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2348
2348
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2349
2349
|
}, z.core.$strict>;
|
|
2350
2350
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2351
|
-
required: "required";
|
|
2352
2351
|
none: "none";
|
|
2352
|
+
required: "required";
|
|
2353
2353
|
}>>;
|
|
2354
2354
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2355
2355
|
"after-enrollment": "after-enrollment";
|
|
@@ -2376,11 +2376,11 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2376
2376
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2377
2377
|
kind: z.ZodLiteral<"available">;
|
|
2378
2378
|
input: z.ZodEnum<{
|
|
2379
|
-
quiz: "quiz";
|
|
2380
2379
|
text: "text";
|
|
2381
2380
|
url: "url";
|
|
2382
|
-
photo: "photo";
|
|
2383
2381
|
none: "none";
|
|
2382
|
+
quiz: "quiz";
|
|
2383
|
+
photo: "photo";
|
|
2384
2384
|
}>;
|
|
2385
2385
|
}, z.core.$strict>, z.ZodObject<{
|
|
2386
2386
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2477,13 +2477,13 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2477
2477
|
value: z.ZodString;
|
|
2478
2478
|
}, z.core.$strict>]>>;
|
|
2479
2479
|
status: z.ZodEnum<{
|
|
2480
|
+
"needs-review": "needs-review";
|
|
2481
|
+
failed: "failed";
|
|
2480
2482
|
queued: "queued";
|
|
2481
2483
|
evaluating: "evaluating";
|
|
2482
2484
|
accepted: "accepted";
|
|
2483
2485
|
progressed: "progressed";
|
|
2484
2486
|
rejected: "rejected";
|
|
2485
|
-
"needs-review": "needs-review";
|
|
2486
|
-
failed: "failed";
|
|
2487
2487
|
}>;
|
|
2488
2488
|
reason: z.ZodNullable<z.ZodString>;
|
|
2489
2489
|
retries: z.ZodNumber;
|
|
@@ -2521,16 +2521,16 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2521
2521
|
release: z.ZodString;
|
|
2522
2522
|
interaction: z.ZodEnum<{
|
|
2523
2523
|
staff: "staff";
|
|
2524
|
-
quiz: "quiz";
|
|
2525
2524
|
text: "text";
|
|
2526
2525
|
url: "url";
|
|
2527
|
-
photo: "photo";
|
|
2528
2526
|
automatic: "automatic";
|
|
2529
2527
|
claim: "claim";
|
|
2528
|
+
quiz: "quiz";
|
|
2529
|
+
photo: "photo";
|
|
2530
2530
|
}>;
|
|
2531
2531
|
lifecycle: z.ZodEnum<{
|
|
2532
|
-
active: "active";
|
|
2533
2532
|
paused: "paused";
|
|
2533
|
+
active: "active";
|
|
2534
2534
|
archived: "archived";
|
|
2535
2535
|
}>;
|
|
2536
2536
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2584,10 +2584,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2584
2584
|
}, z.core.$strict>>;
|
|
2585
2585
|
}, z.core.$strict>>;
|
|
2586
2586
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2587
|
+
x: "x";
|
|
2587
2588
|
discord: "discord";
|
|
2588
2589
|
google: "google";
|
|
2589
2590
|
apple: "apple";
|
|
2590
|
-
x: "x";
|
|
2591
2591
|
}>>>;
|
|
2592
2592
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2593
2593
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2615,9 +2615,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2615
2615
|
}, z.core.$strict>, z.ZodObject<{
|
|
2616
2616
|
kind: z.ZodLiteral<"manual">;
|
|
2617
2617
|
input: z.ZodEnum<{
|
|
2618
|
+
none: "none";
|
|
2618
2619
|
quiz: "quiz";
|
|
2619
2620
|
photo: "photo";
|
|
2620
|
-
none: "none";
|
|
2621
2621
|
}>;
|
|
2622
2622
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2623
2623
|
member: "member";
|
|
@@ -2636,8 +2636,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2636
2636
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2637
2637
|
}, z.core.$strict>;
|
|
2638
2638
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2639
|
-
required: "required";
|
|
2640
2639
|
none: "none";
|
|
2640
|
+
required: "required";
|
|
2641
2641
|
}>>;
|
|
2642
2642
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2643
2643
|
"after-enrollment": "after-enrollment";
|
|
@@ -2664,11 +2664,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2664
2664
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2665
2665
|
kind: z.ZodLiteral<"available">;
|
|
2666
2666
|
input: z.ZodEnum<{
|
|
2667
|
-
quiz: "quiz";
|
|
2668
2667
|
text: "text";
|
|
2669
2668
|
url: "url";
|
|
2670
|
-
photo: "photo";
|
|
2671
2669
|
none: "none";
|
|
2670
|
+
quiz: "quiz";
|
|
2671
|
+
photo: "photo";
|
|
2672
2672
|
}>;
|
|
2673
2673
|
}, z.core.$strict>, z.ZodObject<{
|
|
2674
2674
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2765,13 +2765,13 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2765
2765
|
value: z.ZodString;
|
|
2766
2766
|
}, z.core.$strict>]>>;
|
|
2767
2767
|
status: z.ZodEnum<{
|
|
2768
|
+
"needs-review": "needs-review";
|
|
2769
|
+
failed: "failed";
|
|
2768
2770
|
queued: "queued";
|
|
2769
2771
|
evaluating: "evaluating";
|
|
2770
2772
|
accepted: "accepted";
|
|
2771
2773
|
progressed: "progressed";
|
|
2772
2774
|
rejected: "rejected";
|
|
2773
|
-
"needs-review": "needs-review";
|
|
2774
|
-
failed: "failed";
|
|
2775
2775
|
}>;
|
|
2776
2776
|
reason: z.ZodNullable<z.ZodString>;
|
|
2777
2777
|
retries: z.ZodNumber;
|
|
@@ -2809,16 +2809,16 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2809
2809
|
release: z.ZodString;
|
|
2810
2810
|
interaction: z.ZodEnum<{
|
|
2811
2811
|
staff: "staff";
|
|
2812
|
-
quiz: "quiz";
|
|
2813
2812
|
text: "text";
|
|
2814
2813
|
url: "url";
|
|
2815
|
-
photo: "photo";
|
|
2816
2814
|
automatic: "automatic";
|
|
2817
2815
|
claim: "claim";
|
|
2816
|
+
quiz: "quiz";
|
|
2817
|
+
photo: "photo";
|
|
2818
2818
|
}>;
|
|
2819
2819
|
lifecycle: z.ZodEnum<{
|
|
2820
|
-
active: "active";
|
|
2821
2820
|
paused: "paused";
|
|
2821
|
+
active: "active";
|
|
2822
2822
|
archived: "archived";
|
|
2823
2823
|
}>;
|
|
2824
2824
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2873,10 +2873,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2873
2873
|
}, z.core.$strict>>;
|
|
2874
2874
|
}, z.core.$strict>>;
|
|
2875
2875
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2876
|
+
x: "x";
|
|
2876
2877
|
discord: "discord";
|
|
2877
2878
|
google: "google";
|
|
2878
2879
|
apple: "apple";
|
|
2879
|
-
x: "x";
|
|
2880
2880
|
}>>>;
|
|
2881
2881
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2882
2882
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2904,9 +2904,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2904
2904
|
}, z.core.$strict>, z.ZodObject<{
|
|
2905
2905
|
kind: z.ZodLiteral<"manual">;
|
|
2906
2906
|
input: z.ZodEnum<{
|
|
2907
|
+
none: "none";
|
|
2907
2908
|
quiz: "quiz";
|
|
2908
2909
|
photo: "photo";
|
|
2909
|
-
none: "none";
|
|
2910
2910
|
}>;
|
|
2911
2911
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2912
2912
|
member: "member";
|
|
@@ -2925,8 +2925,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2925
2925
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2926
2926
|
}, z.core.$strict>;
|
|
2927
2927
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2928
|
-
required: "required";
|
|
2929
2928
|
none: "none";
|
|
2929
|
+
required: "required";
|
|
2930
2930
|
}>>;
|
|
2931
2931
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2932
2932
|
"after-enrollment": "after-enrollment";
|
|
@@ -2953,11 +2953,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2953
2953
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2954
2954
|
kind: z.ZodLiteral<"available">;
|
|
2955
2955
|
input: z.ZodEnum<{
|
|
2956
|
-
quiz: "quiz";
|
|
2957
2956
|
text: "text";
|
|
2958
2957
|
url: "url";
|
|
2959
|
-
photo: "photo";
|
|
2960
2958
|
none: "none";
|
|
2959
|
+
quiz: "quiz";
|
|
2960
|
+
photo: "photo";
|
|
2961
2961
|
}>;
|
|
2962
2962
|
}, z.core.$strict>, z.ZodObject<{
|
|
2963
2963
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -3054,13 +3054,13 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3054
3054
|
value: z.ZodString;
|
|
3055
3055
|
}, z.core.$strict>]>>;
|
|
3056
3056
|
status: z.ZodEnum<{
|
|
3057
|
+
"needs-review": "needs-review";
|
|
3058
|
+
failed: "failed";
|
|
3057
3059
|
queued: "queued";
|
|
3058
3060
|
evaluating: "evaluating";
|
|
3059
3061
|
accepted: "accepted";
|
|
3060
3062
|
progressed: "progressed";
|
|
3061
3063
|
rejected: "rejected";
|
|
3062
|
-
"needs-review": "needs-review";
|
|
3063
|
-
failed: "failed";
|
|
3064
3064
|
}>;
|
|
3065
3065
|
reason: z.ZodNullable<z.ZodString>;
|
|
3066
3066
|
retries: z.ZodNumber;
|
|
@@ -3098,16 +3098,16 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3098
3098
|
release: z.ZodString;
|
|
3099
3099
|
interaction: z.ZodEnum<{
|
|
3100
3100
|
staff: "staff";
|
|
3101
|
-
quiz: "quiz";
|
|
3102
3101
|
text: "text";
|
|
3103
3102
|
url: "url";
|
|
3104
|
-
photo: "photo";
|
|
3105
3103
|
automatic: "automatic";
|
|
3106
3104
|
claim: "claim";
|
|
3105
|
+
quiz: "quiz";
|
|
3106
|
+
photo: "photo";
|
|
3107
3107
|
}>;
|
|
3108
3108
|
lifecycle: z.ZodEnum<{
|
|
3109
|
-
active: "active";
|
|
3110
3109
|
paused: "paused";
|
|
3110
|
+
active: "active";
|
|
3111
3111
|
archived: "archived";
|
|
3112
3112
|
}>;
|
|
3113
3113
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3161,8 +3161,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3161
3161
|
}, z.core.$strict>>]>>;
|
|
3162
3162
|
requires: z.ZodArray<z.ZodString>;
|
|
3163
3163
|
status: z.ZodEnum<{
|
|
3164
|
-
active: "active";
|
|
3165
3164
|
paused: "paused";
|
|
3165
|
+
active: "active";
|
|
3166
3166
|
archived: "archived";
|
|
3167
3167
|
}>;
|
|
3168
3168
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3195,8 +3195,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3195
3195
|
}, z.core.$strict>>]>>;
|
|
3196
3196
|
requires: z.ZodArray<z.ZodString>;
|
|
3197
3197
|
status: z.ZodEnum<{
|
|
3198
|
-
active: "active";
|
|
3199
3198
|
paused: "paused";
|
|
3199
|
+
active: "active";
|
|
3200
3200
|
archived: "archived";
|
|
3201
3201
|
}>;
|
|
3202
3202
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3371,9 +3371,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3371
3371
|
}, z.core.$strict>, z.ZodObject<{
|
|
3372
3372
|
kind: z.ZodLiteral<"manual">;
|
|
3373
3373
|
input: z.ZodEnum<{
|
|
3374
|
+
none: "none";
|
|
3374
3375
|
quiz: "quiz";
|
|
3375
3376
|
photo: "photo";
|
|
3376
|
-
none: "none";
|
|
3377
3377
|
}>;
|
|
3378
3378
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3379
3379
|
member: "member";
|
|
@@ -3392,8 +3392,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3392
3392
|
end: z.ZodOptional<z.ZodNumber>;
|
|
3393
3393
|
}, z.core.$strict>;
|
|
3394
3394
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
3395
|
-
required: "required";
|
|
3396
3395
|
none: "none";
|
|
3396
|
+
required: "required";
|
|
3397
3397
|
}>>;
|
|
3398
3398
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
3399
3399
|
"after-enrollment": "after-enrollment";
|
|
@@ -3453,8 +3453,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3453
3453
|
}>;
|
|
3454
3454
|
period: z.ZodEnum<{
|
|
3455
3455
|
day: "day";
|
|
3456
|
-
week: "week";
|
|
3457
3456
|
lifetime: "lifetime";
|
|
3457
|
+
week: "week";
|
|
3458
3458
|
}>;
|
|
3459
3459
|
limit: z.ZodNumber;
|
|
3460
3460
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -3477,8 +3477,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3477
3477
|
typeVersion: z.ZodString;
|
|
3478
3478
|
}, z.core.$strict>>;
|
|
3479
3479
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
3480
|
-
active: "active";
|
|
3481
3480
|
paused: "paused";
|
|
3481
|
+
active: "active";
|
|
3482
3482
|
archived: "archived";
|
|
3483
3483
|
}>>;
|
|
3484
3484
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -3583,12 +3583,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3583
3583
|
kind: "resource";
|
|
3584
3584
|
default: string;
|
|
3585
3585
|
source: {
|
|
3586
|
-
provider: "domino";
|
|
3587
|
-
resource: "point-ledger";
|
|
3588
|
-
} | {
|
|
3589
3586
|
provider: "discord";
|
|
3590
3587
|
resource: "channel";
|
|
3591
3588
|
types: ("text" | "announcement")[];
|
|
3589
|
+
} | {
|
|
3590
|
+
provider: "domino";
|
|
3591
|
+
resource: "point-ledger";
|
|
3592
3592
|
} | {
|
|
3593
3593
|
provider: "discord";
|
|
3594
3594
|
resource: "role";
|
|
@@ -3685,7 +3685,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3685
3685
|
start: number;
|
|
3686
3686
|
end?: number | undefined;
|
|
3687
3687
|
};
|
|
3688
|
-
enrollment: "
|
|
3688
|
+
enrollment: "none" | "required";
|
|
3689
3689
|
posts: "after-enrollment" | "since-start";
|
|
3690
3690
|
historical: "staff" | "automatic" | "claim";
|
|
3691
3691
|
} | undefined;
|
|
@@ -3713,7 +3713,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3713
3713
|
actor?: "member" | "staff" | undefined;
|
|
3714
3714
|
} | {
|
|
3715
3715
|
kind: "manual";
|
|
3716
|
-
input: "
|
|
3716
|
+
input: "none" | "quiz" | "photo";
|
|
3717
3717
|
actor?: "member" | "staff" | undefined;
|
|
3718
3718
|
};
|
|
3719
3719
|
requires: {
|
|
@@ -3733,7 +3733,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3733
3733
|
budgets: {
|
|
3734
3734
|
id: string;
|
|
3735
3735
|
scope: "project" | "member";
|
|
3736
|
-
period: "day" | "
|
|
3736
|
+
period: "day" | "lifetime" | "week";
|
|
3737
3737
|
limit: number;
|
|
3738
3738
|
cost: number | {
|
|
3739
3739
|
balance: string;
|
|
@@ -3744,7 +3744,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3744
3744
|
id: string;
|
|
3745
3745
|
createdAt: number;
|
|
3746
3746
|
legacy: boolean;
|
|
3747
|
-
lifecycle: "
|
|
3747
|
+
lifecycle: "paused" | "active" | "archived";
|
|
3748
3748
|
performance?: {
|
|
3749
3749
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3750
3750
|
maxAgeMs: number;
|
|
@@ -4206,8 +4206,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
4206
4206
|
action: z.ZodLiteral<"grant-role">;
|
|
4207
4207
|
roleId: z.ZodString;
|
|
4208
4208
|
status: z.ZodEnum<{
|
|
4209
|
-
failed: "failed";
|
|
4210
4209
|
pending: "pending";
|
|
4210
|
+
failed: "failed";
|
|
4211
4211
|
delivered: "delivered";
|
|
4212
4212
|
}>;
|
|
4213
4213
|
attempts: z.ZodNumber;
|
|
@@ -4226,8 +4226,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
4226
4226
|
action: z.ZodLiteral<"grant-role">;
|
|
4227
4227
|
roleId: z.ZodString;
|
|
4228
4228
|
status: z.ZodEnum<{
|
|
4229
|
-
failed: "failed";
|
|
4230
4229
|
pending: "pending";
|
|
4230
|
+
failed: "failed";
|
|
4231
4231
|
delivered: "delivered";
|
|
4232
4232
|
}>;
|
|
4233
4233
|
attempts: z.ZodNumber;
|
|
@@ -4398,6 +4398,12 @@ declare function questConfiguration(release: PublishedRelease): {
|
|
|
4398
4398
|
|
|
4399
4399
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
4400
4400
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
4401
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4402
|
+
code: z.ZodString;
|
|
4403
|
+
provider: z.ZodEnum<{
|
|
4404
|
+
"workers-ai": "workers-ai";
|
|
4405
|
+
}>;
|
|
4406
|
+
}, z.core.$strip>>>;
|
|
4401
4407
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4402
4408
|
title: z.ZodString;
|
|
4403
4409
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -4406,27 +4412,21 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4406
4412
|
title: string;
|
|
4407
4413
|
key?: string | undefined;
|
|
4408
4414
|
id?: string | undefined;
|
|
4409
|
-
}, "
|
|
4415
|
+
}, "id" | "key"> & {
|
|
4410
4416
|
key: string;
|
|
4411
4417
|
}, {
|
|
4412
4418
|
title: string;
|
|
4413
4419
|
key?: string | undefined;
|
|
4414
4420
|
id?: string | undefined;
|
|
4415
4421
|
}>>>>;
|
|
4416
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4417
|
-
code: z.ZodString;
|
|
4418
|
-
provider: z.ZodEnum<{
|
|
4419
|
-
"workers-ai": "workers-ai";
|
|
4420
|
-
}>;
|
|
4421
|
-
}, z.core.$strip>>>;
|
|
4422
4422
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4423
4423
|
staff: "staff";
|
|
4424
|
-
quiz: "quiz";
|
|
4425
4424
|
text: "text";
|
|
4426
4425
|
url: "url";
|
|
4427
|
-
photo: "photo";
|
|
4428
4426
|
automatic: "automatic";
|
|
4429
4427
|
claim: "claim";
|
|
4428
|
+
quiz: "quiz";
|
|
4429
|
+
photo: "photo";
|
|
4430
4430
|
}>>>;
|
|
4431
4431
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4432
4432
|
code: z.ZodString;
|
|
@@ -4458,6 +4458,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4458
4458
|
}, z.core.$strict>>>;
|
|
4459
4459
|
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4460
4460
|
title: z.ZodString;
|
|
4461
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4462
|
+
kind: z.ZodLiteral<"signup">;
|
|
4463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4464
|
+
kind: z.ZodLiteral<"quest">;
|
|
4465
|
+
quest: z.ZodString;
|
|
4466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4467
|
+
kind: z.ZodLiteral<"external">;
|
|
4468
|
+
}, z.core.$strict>], "kind">;
|
|
4461
4469
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
4462
4470
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4463
4471
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -4505,14 +4513,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4505
4513
|
}, z.core.$strict>]>>>;
|
|
4506
4514
|
}, z.core.$strict>>;
|
|
4507
4515
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4508
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4509
|
-
kind: z.ZodLiteral<"signup">;
|
|
4510
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4511
|
-
kind: z.ZodLiteral<"quest">;
|
|
4512
|
-
quest: z.ZodString;
|
|
4513
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4514
|
-
kind: z.ZodLiteral<"external">;
|
|
4515
|
-
}, z.core.$strict>], "kind">;
|
|
4516
4516
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4517
4517
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4518
4518
|
id: z.ZodString;
|
|
@@ -4553,6 +4553,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4553
4553
|
id: z.ZodOptional<z.ZodString>;
|
|
4554
4554
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
4555
4555
|
title: string;
|
|
4556
|
+
qualification: {
|
|
4557
|
+
kind: "signup";
|
|
4558
|
+
} | {
|
|
4559
|
+
kind: "quest";
|
|
4560
|
+
quest: string;
|
|
4561
|
+
} | {
|
|
4562
|
+
kind: "external";
|
|
4563
|
+
};
|
|
4556
4564
|
rewards: {
|
|
4557
4565
|
inviter: ({
|
|
4558
4566
|
kind: "tier";
|
|
@@ -4600,14 +4608,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4600
4608
|
})[];
|
|
4601
4609
|
};
|
|
4602
4610
|
enabled: boolean;
|
|
4603
|
-
qualification: {
|
|
4604
|
-
kind: "signup";
|
|
4605
|
-
} | {
|
|
4606
|
-
kind: "quest";
|
|
4607
|
-
quest: string;
|
|
4608
|
-
} | {
|
|
4609
|
-
kind: "external";
|
|
4610
|
-
};
|
|
4611
4611
|
milestones: {
|
|
4612
4612
|
id: string;
|
|
4613
4613
|
count: number;
|
|
@@ -4646,10 +4646,18 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4646
4646
|
inviterGroup?: string | undefined;
|
|
4647
4647
|
key?: string | undefined;
|
|
4648
4648
|
id?: string | undefined;
|
|
4649
|
-
}, "
|
|
4649
|
+
}, "id" | "key"> & {
|
|
4650
4650
|
key: string;
|
|
4651
4651
|
}, {
|
|
4652
4652
|
title: string;
|
|
4653
|
+
qualification: {
|
|
4654
|
+
kind: "signup";
|
|
4655
|
+
} | {
|
|
4656
|
+
kind: "quest";
|
|
4657
|
+
quest: string;
|
|
4658
|
+
} | {
|
|
4659
|
+
kind: "external";
|
|
4660
|
+
};
|
|
4653
4661
|
rewards: {
|
|
4654
4662
|
inviter: ({
|
|
4655
4663
|
kind: "tier";
|
|
@@ -4697,14 +4705,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4697
4705
|
})[];
|
|
4698
4706
|
};
|
|
4699
4707
|
enabled: boolean;
|
|
4700
|
-
qualification: {
|
|
4701
|
-
kind: "signup";
|
|
4702
|
-
} | {
|
|
4703
|
-
kind: "quest";
|
|
4704
|
-
quest: string;
|
|
4705
|
-
} | {
|
|
4706
|
-
kind: "external";
|
|
4707
|
-
};
|
|
4708
4708
|
milestones: {
|
|
4709
4709
|
id: string;
|
|
4710
4710
|
count: number;
|
|
@@ -4749,6 +4749,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4749
4749
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4750
4750
|
title: z.ZodString;
|
|
4751
4751
|
balance: z.ZodString;
|
|
4752
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4752
4753
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4753
4754
|
kind: z.ZodLiteral<"balance">;
|
|
4754
4755
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4797,7 +4798,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4797
4798
|
participants: "participants";
|
|
4798
4799
|
public: "public";
|
|
4799
4800
|
}>>;
|
|
4800
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4801
4801
|
key: z.ZodOptional<z.ZodString>;
|
|
4802
4802
|
id: z.ZodOptional<z.ZodString>;
|
|
4803
4803
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4843,7 +4843,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4843
4843
|
group?: string | undefined;
|
|
4844
4844
|
key?: string | undefined;
|
|
4845
4845
|
id?: string | undefined;
|
|
4846
|
-
}, "
|
|
4846
|
+
}, "id" | "key"> & {
|
|
4847
4847
|
key: string;
|
|
4848
4848
|
}, {
|
|
4849
4849
|
title: string;
|
|
@@ -4900,6 +4900,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4900
4900
|
}, z.core.$strict>;
|
|
4901
4901
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
4902
4902
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
4903
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4904
|
+
code: z.ZodString;
|
|
4905
|
+
provider: z.ZodEnum<{
|
|
4906
|
+
"workers-ai": "workers-ai";
|
|
4907
|
+
}>;
|
|
4908
|
+
}, z.core.$strip>>>;
|
|
4903
4909
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4904
4910
|
title: z.ZodString;
|
|
4905
4911
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -4908,27 +4914,21 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4908
4914
|
title: string;
|
|
4909
4915
|
key?: string | undefined;
|
|
4910
4916
|
id?: string | undefined;
|
|
4911
|
-
}, "
|
|
4917
|
+
}, "id" | "key"> & {
|
|
4912
4918
|
key: string;
|
|
4913
4919
|
}, {
|
|
4914
4920
|
title: string;
|
|
4915
4921
|
key?: string | undefined;
|
|
4916
4922
|
id?: string | undefined;
|
|
4917
4923
|
}>>>>;
|
|
4918
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4919
|
-
code: z.ZodString;
|
|
4920
|
-
provider: z.ZodEnum<{
|
|
4921
|
-
"workers-ai": "workers-ai";
|
|
4922
|
-
}>;
|
|
4923
|
-
}, z.core.$strip>>>;
|
|
4924
4924
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4925
4925
|
staff: "staff";
|
|
4926
|
-
quiz: "quiz";
|
|
4927
4926
|
text: "text";
|
|
4928
4927
|
url: "url";
|
|
4929
|
-
photo: "photo";
|
|
4930
4928
|
automatic: "automatic";
|
|
4931
4929
|
claim: "claim";
|
|
4930
|
+
quiz: "quiz";
|
|
4931
|
+
photo: "photo";
|
|
4932
4932
|
}>>>;
|
|
4933
4933
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4934
4934
|
code: z.ZodString;
|
|
@@ -4960,6 +4960,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4960
4960
|
}, z.core.$strict>>>;
|
|
4961
4961
|
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4962
4962
|
title: z.ZodString;
|
|
4963
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4964
|
+
kind: z.ZodLiteral<"signup">;
|
|
4965
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4966
|
+
kind: z.ZodLiteral<"quest">;
|
|
4967
|
+
quest: z.ZodString;
|
|
4968
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4969
|
+
kind: z.ZodLiteral<"external">;
|
|
4970
|
+
}, z.core.$strict>], "kind">;
|
|
4963
4971
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
4964
4972
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4965
4973
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -5007,14 +5015,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5007
5015
|
}, z.core.$strict>]>>>;
|
|
5008
5016
|
}, z.core.$strict>>;
|
|
5009
5017
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5010
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5011
|
-
kind: z.ZodLiteral<"signup">;
|
|
5012
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5013
|
-
kind: z.ZodLiteral<"quest">;
|
|
5014
|
-
quest: z.ZodString;
|
|
5015
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5016
|
-
kind: z.ZodLiteral<"external">;
|
|
5017
|
-
}, z.core.$strict>], "kind">;
|
|
5018
5018
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
5019
5019
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5020
5020
|
id: z.ZodString;
|
|
@@ -5055,6 +5055,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5055
5055
|
id: z.ZodOptional<z.ZodString>;
|
|
5056
5056
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
5057
5057
|
title: string;
|
|
5058
|
+
qualification: {
|
|
5059
|
+
kind: "signup";
|
|
5060
|
+
} | {
|
|
5061
|
+
kind: "quest";
|
|
5062
|
+
quest: string;
|
|
5063
|
+
} | {
|
|
5064
|
+
kind: "external";
|
|
5065
|
+
};
|
|
5058
5066
|
rewards: {
|
|
5059
5067
|
inviter: ({
|
|
5060
5068
|
kind: "tier";
|
|
@@ -5102,14 +5110,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5102
5110
|
})[];
|
|
5103
5111
|
};
|
|
5104
5112
|
enabled: boolean;
|
|
5105
|
-
qualification: {
|
|
5106
|
-
kind: "signup";
|
|
5107
|
-
} | {
|
|
5108
|
-
kind: "quest";
|
|
5109
|
-
quest: string;
|
|
5110
|
-
} | {
|
|
5111
|
-
kind: "external";
|
|
5112
|
-
};
|
|
5113
5113
|
milestones: {
|
|
5114
5114
|
id: string;
|
|
5115
5115
|
count: number;
|
|
@@ -5148,10 +5148,18 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5148
5148
|
inviterGroup?: string | undefined;
|
|
5149
5149
|
key?: string | undefined;
|
|
5150
5150
|
id?: string | undefined;
|
|
5151
|
-
}, "
|
|
5151
|
+
}, "id" | "key"> & {
|
|
5152
5152
|
key: string;
|
|
5153
5153
|
}, {
|
|
5154
5154
|
title: string;
|
|
5155
|
+
qualification: {
|
|
5156
|
+
kind: "signup";
|
|
5157
|
+
} | {
|
|
5158
|
+
kind: "quest";
|
|
5159
|
+
quest: string;
|
|
5160
|
+
} | {
|
|
5161
|
+
kind: "external";
|
|
5162
|
+
};
|
|
5155
5163
|
rewards: {
|
|
5156
5164
|
inviter: ({
|
|
5157
5165
|
kind: "tier";
|
|
@@ -5199,14 +5207,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5199
5207
|
})[];
|
|
5200
5208
|
};
|
|
5201
5209
|
enabled: boolean;
|
|
5202
|
-
qualification: {
|
|
5203
|
-
kind: "signup";
|
|
5204
|
-
} | {
|
|
5205
|
-
kind: "quest";
|
|
5206
|
-
quest: string;
|
|
5207
|
-
} | {
|
|
5208
|
-
kind: "external";
|
|
5209
|
-
};
|
|
5210
5210
|
milestones: {
|
|
5211
5211
|
id: string;
|
|
5212
5212
|
count: number;
|
|
@@ -5251,6 +5251,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5251
5251
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
5252
5252
|
title: z.ZodString;
|
|
5253
5253
|
balance: z.ZodString;
|
|
5254
|
+
group: z.ZodOptional<z.ZodString>;
|
|
5254
5255
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5255
5256
|
kind: z.ZodLiteral<"balance">;
|
|
5256
5257
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5299,7 +5300,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5299
5300
|
participants: "participants";
|
|
5300
5301
|
public: "public";
|
|
5301
5302
|
}>>;
|
|
5302
|
-
group: z.ZodOptional<z.ZodString>;
|
|
5303
5303
|
key: z.ZodOptional<z.ZodString>;
|
|
5304
5304
|
id: z.ZodOptional<z.ZodString>;
|
|
5305
5305
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5345,7 +5345,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5345
5345
|
group?: string | undefined;
|
|
5346
5346
|
key?: string | undefined;
|
|
5347
5347
|
id?: string | undefined;
|
|
5348
|
-
}, "
|
|
5348
|
+
}, "id" | "key"> & {
|
|
5349
5349
|
key: string;
|
|
5350
5350
|
}, {
|
|
5351
5351
|
title: string;
|
|
@@ -5729,9 +5729,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5729
5729
|
}, z.core.$strict>, z.ZodObject<{
|
|
5730
5730
|
kind: z.ZodLiteral<"manual">;
|
|
5731
5731
|
input: z.ZodEnum<{
|
|
5732
|
+
none: "none";
|
|
5732
5733
|
quiz: "quiz";
|
|
5733
5734
|
photo: "photo";
|
|
5734
|
-
none: "none";
|
|
5735
5735
|
}>;
|
|
5736
5736
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
5737
5737
|
member: "member";
|
|
@@ -5750,8 +5750,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5750
5750
|
end: z.ZodOptional<z.ZodNumber>;
|
|
5751
5751
|
}, z.core.$strict>;
|
|
5752
5752
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
5753
|
-
required: "required";
|
|
5754
5753
|
none: "none";
|
|
5754
|
+
required: "required";
|
|
5755
5755
|
}>>;
|
|
5756
5756
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
5757
5757
|
"after-enrollment": "after-enrollment";
|
|
@@ -5811,8 +5811,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5811
5811
|
}>;
|
|
5812
5812
|
period: z.ZodEnum<{
|
|
5813
5813
|
day: "day";
|
|
5814
|
-
week: "week";
|
|
5815
5814
|
lifetime: "lifetime";
|
|
5815
|
+
week: "week";
|
|
5816
5816
|
}>;
|
|
5817
5817
|
limit: z.ZodNumber;
|
|
5818
5818
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -5835,8 +5835,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5835
5835
|
typeVersion: z.ZodString;
|
|
5836
5836
|
}, z.core.$strict>>;
|
|
5837
5837
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
5838
|
-
active: "active";
|
|
5839
5838
|
paused: "paused";
|
|
5839
|
+
active: "active";
|
|
5840
5840
|
archived: "archived";
|
|
5841
5841
|
}>>;
|
|
5842
5842
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -5941,12 +5941,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5941
5941
|
kind: "resource";
|
|
5942
5942
|
default: string;
|
|
5943
5943
|
source: {
|
|
5944
|
-
provider: "domino";
|
|
5945
|
-
resource: "point-ledger";
|
|
5946
|
-
} | {
|
|
5947
5944
|
provider: "discord";
|
|
5948
5945
|
resource: "channel";
|
|
5949
5946
|
types: ("text" | "announcement")[];
|
|
5947
|
+
} | {
|
|
5948
|
+
provider: "domino";
|
|
5949
|
+
resource: "point-ledger";
|
|
5950
5950
|
} | {
|
|
5951
5951
|
provider: "discord";
|
|
5952
5952
|
resource: "role";
|
|
@@ -6043,7 +6043,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6043
6043
|
start: number;
|
|
6044
6044
|
end?: number | undefined;
|
|
6045
6045
|
};
|
|
6046
|
-
enrollment: "
|
|
6046
|
+
enrollment: "none" | "required";
|
|
6047
6047
|
posts: "after-enrollment" | "since-start";
|
|
6048
6048
|
historical: "staff" | "automatic" | "claim";
|
|
6049
6049
|
} | undefined;
|
|
@@ -6071,7 +6071,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6071
6071
|
actor?: "member" | "staff" | undefined;
|
|
6072
6072
|
} | {
|
|
6073
6073
|
kind: "manual";
|
|
6074
|
-
input: "
|
|
6074
|
+
input: "none" | "quiz" | "photo";
|
|
6075
6075
|
actor?: "member" | "staff" | undefined;
|
|
6076
6076
|
};
|
|
6077
6077
|
requires: {
|
|
@@ -6091,7 +6091,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6091
6091
|
budgets: {
|
|
6092
6092
|
id: string;
|
|
6093
6093
|
scope: "project" | "member";
|
|
6094
|
-
period: "day" | "
|
|
6094
|
+
period: "day" | "lifetime" | "week";
|
|
6095
6095
|
limit: number;
|
|
6096
6096
|
cost: number | {
|
|
6097
6097
|
balance: string;
|
|
@@ -6102,7 +6102,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6102
6102
|
id: string;
|
|
6103
6103
|
createdAt: number;
|
|
6104
6104
|
legacy: boolean;
|
|
6105
|
-
lifecycle: "
|
|
6105
|
+
lifecycle: "paused" | "active" | "archived";
|
|
6106
6106
|
performance?: {
|
|
6107
6107
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
6108
6108
|
maxAgeMs: number;
|
|
@@ -6334,9 +6334,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6334
6334
|
}, z.core.$strict>, z.ZodObject<{
|
|
6335
6335
|
kind: z.ZodLiteral<"manual">;
|
|
6336
6336
|
input: z.ZodEnum<{
|
|
6337
|
+
none: "none";
|
|
6337
6338
|
quiz: "quiz";
|
|
6338
6339
|
photo: "photo";
|
|
6339
|
-
none: "none";
|
|
6340
6340
|
}>;
|
|
6341
6341
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
6342
6342
|
member: "member";
|
|
@@ -6355,8 +6355,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6355
6355
|
end: z.ZodOptional<z.ZodNumber>;
|
|
6356
6356
|
}, z.core.$strict>;
|
|
6357
6357
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
6358
|
-
required: "required";
|
|
6359
6358
|
none: "none";
|
|
6359
|
+
required: "required";
|
|
6360
6360
|
}>>;
|
|
6361
6361
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
6362
6362
|
"after-enrollment": "after-enrollment";
|
|
@@ -6416,8 +6416,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6416
6416
|
}>;
|
|
6417
6417
|
period: z.ZodEnum<{
|
|
6418
6418
|
day: "day";
|
|
6419
|
-
week: "week";
|
|
6420
6419
|
lifetime: "lifetime";
|
|
6420
|
+
week: "week";
|
|
6421
6421
|
}>;
|
|
6422
6422
|
limit: z.ZodNumber;
|
|
6423
6423
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -6442,12 +6442,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6442
6442
|
}, z.core.$strict>>;
|
|
6443
6443
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6444
6444
|
staff: "staff";
|
|
6445
|
-
quiz: "quiz";
|
|
6446
6445
|
text: "text";
|
|
6447
6446
|
url: "url";
|
|
6448
|
-
photo: "photo";
|
|
6449
6447
|
automatic: "automatic";
|
|
6450
6448
|
claim: "claim";
|
|
6449
|
+
quiz: "quiz";
|
|
6450
|
+
photo: "photo";
|
|
6451
6451
|
}>>;
|
|
6452
6452
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6453
6453
|
version: z.ZodString;
|
|
@@ -6643,9 +6643,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6643
6643
|
}, z.core.$strip>, z.ZodObject<{
|
|
6644
6644
|
source: z.ZodLiteral<"account">;
|
|
6645
6645
|
provider: z.ZodEnum<{
|
|
6646
|
+
x: "x";
|
|
6646
6647
|
discord: "discord";
|
|
6647
6648
|
google: "google";
|
|
6648
|
-
x: "x";
|
|
6649
6649
|
}>;
|
|
6650
6650
|
url: z.ZodString;
|
|
6651
6651
|
seed: z.ZodString;
|
|
@@ -6671,9 +6671,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6671
6671
|
}, z.core.$strip>, z.ZodObject<{
|
|
6672
6672
|
source: z.ZodLiteral<"account">;
|
|
6673
6673
|
provider: z.ZodEnum<{
|
|
6674
|
+
x: "x";
|
|
6674
6675
|
discord: "discord";
|
|
6675
6676
|
google: "google";
|
|
6676
|
-
x: "x";
|
|
6677
6677
|
}>;
|
|
6678
6678
|
url: z.ZodString;
|
|
6679
6679
|
seed: z.ZodString;
|
|
@@ -6699,9 +6699,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6699
6699
|
}, z.core.$strip>, z.ZodObject<{
|
|
6700
6700
|
source: z.ZodLiteral<"account">;
|
|
6701
6701
|
provider: z.ZodEnum<{
|
|
6702
|
+
x: "x";
|
|
6702
6703
|
discord: "discord";
|
|
6703
6704
|
google: "google";
|
|
6704
|
-
x: "x";
|
|
6705
6705
|
}>;
|
|
6706
6706
|
url: z.ZodString;
|
|
6707
6707
|
seed: z.ZodString;
|
|
@@ -6745,9 +6745,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6745
6745
|
}, z.core.$strip>, z.ZodObject<{
|
|
6746
6746
|
source: z.ZodLiteral<"account">;
|
|
6747
6747
|
provider: z.ZodEnum<{
|
|
6748
|
+
x: "x";
|
|
6748
6749
|
discord: "discord";
|
|
6749
6750
|
google: "google";
|
|
6750
|
-
x: "x";
|
|
6751
6751
|
}>;
|
|
6752
6752
|
url: z.ZodString;
|
|
6753
6753
|
seed: z.ZodString;
|
|
@@ -6773,9 +6773,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6773
6773
|
}, z.core.$strip>, z.ZodObject<{
|
|
6774
6774
|
source: z.ZodLiteral<"account">;
|
|
6775
6775
|
provider: z.ZodEnum<{
|
|
6776
|
+
x: "x";
|
|
6776
6777
|
discord: "discord";
|
|
6777
6778
|
google: "google";
|
|
6778
|
-
x: "x";
|
|
6779
6779
|
}>;
|
|
6780
6780
|
url: z.ZodString;
|
|
6781
6781
|
seed: z.ZodString;
|
|
@@ -6801,9 +6801,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6801
6801
|
}, z.core.$strip>, z.ZodObject<{
|
|
6802
6802
|
source: z.ZodLiteral<"account">;
|
|
6803
6803
|
provider: z.ZodEnum<{
|
|
6804
|
+
x: "x";
|
|
6804
6805
|
discord: "discord";
|
|
6805
6806
|
google: "google";
|
|
6806
|
-
x: "x";
|
|
6807
6807
|
}>;
|
|
6808
6808
|
url: z.ZodString;
|
|
6809
6809
|
seed: z.ZodString;
|
|
@@ -7144,9 +7144,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7144
7144
|
}, z.core.$strict>, z.ZodObject<{
|
|
7145
7145
|
kind: z.ZodLiteral<"manual">;
|
|
7146
7146
|
input: z.ZodEnum<{
|
|
7147
|
+
none: "none";
|
|
7147
7148
|
quiz: "quiz";
|
|
7148
7149
|
photo: "photo";
|
|
7149
|
-
none: "none";
|
|
7150
7150
|
}>;
|
|
7151
7151
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
7152
7152
|
member: "member";
|
|
@@ -7165,8 +7165,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7165
7165
|
end: z.ZodOptional<z.ZodNumber>;
|
|
7166
7166
|
}, z.core.$strict>;
|
|
7167
7167
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
7168
|
-
required: "required";
|
|
7169
7168
|
none: "none";
|
|
7169
|
+
required: "required";
|
|
7170
7170
|
}>>;
|
|
7171
7171
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
7172
7172
|
"after-enrollment": "after-enrollment";
|
|
@@ -7226,8 +7226,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7226
7226
|
}>;
|
|
7227
7227
|
period: z.ZodEnum<{
|
|
7228
7228
|
day: "day";
|
|
7229
|
-
week: "week";
|
|
7230
7229
|
lifetime: "lifetime";
|
|
7230
|
+
week: "week";
|
|
7231
7231
|
}>;
|
|
7232
7232
|
limit: z.ZodNumber;
|
|
7233
7233
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7250,8 +7250,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7250
7250
|
typeVersion: z.ZodString;
|
|
7251
7251
|
}, z.core.$strict>>;
|
|
7252
7252
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
7253
|
-
active: "active";
|
|
7254
7253
|
paused: "paused";
|
|
7254
|
+
active: "active";
|
|
7255
7255
|
archived: "archived";
|
|
7256
7256
|
}>>;
|
|
7257
7257
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -7356,12 +7356,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7356
7356
|
kind: "resource";
|
|
7357
7357
|
default: string;
|
|
7358
7358
|
source: {
|
|
7359
|
-
provider: "domino";
|
|
7360
|
-
resource: "point-ledger";
|
|
7361
|
-
} | {
|
|
7362
7359
|
provider: "discord";
|
|
7363
7360
|
resource: "channel";
|
|
7364
7361
|
types: ("text" | "announcement")[];
|
|
7362
|
+
} | {
|
|
7363
|
+
provider: "domino";
|
|
7364
|
+
resource: "point-ledger";
|
|
7365
7365
|
} | {
|
|
7366
7366
|
provider: "discord";
|
|
7367
7367
|
resource: "role";
|
|
@@ -7458,7 +7458,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7458
7458
|
start: number;
|
|
7459
7459
|
end?: number | undefined;
|
|
7460
7460
|
};
|
|
7461
|
-
enrollment: "
|
|
7461
|
+
enrollment: "none" | "required";
|
|
7462
7462
|
posts: "after-enrollment" | "since-start";
|
|
7463
7463
|
historical: "staff" | "automatic" | "claim";
|
|
7464
7464
|
} | undefined;
|
|
@@ -7486,7 +7486,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7486
7486
|
actor?: "member" | "staff" | undefined;
|
|
7487
7487
|
} | {
|
|
7488
7488
|
kind: "manual";
|
|
7489
|
-
input: "
|
|
7489
|
+
input: "none" | "quiz" | "photo";
|
|
7490
7490
|
actor?: "member" | "staff" | undefined;
|
|
7491
7491
|
};
|
|
7492
7492
|
requires: {
|
|
@@ -7506,7 +7506,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7506
7506
|
budgets: {
|
|
7507
7507
|
id: string;
|
|
7508
7508
|
scope: "project" | "member";
|
|
7509
|
-
period: "day" | "
|
|
7509
|
+
period: "day" | "lifetime" | "week";
|
|
7510
7510
|
limit: number;
|
|
7511
7511
|
cost: number | {
|
|
7512
7512
|
balance: string;
|
|
@@ -7517,7 +7517,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7517
7517
|
id: string;
|
|
7518
7518
|
createdAt: number;
|
|
7519
7519
|
legacy: boolean;
|
|
7520
|
-
lifecycle: "
|
|
7520
|
+
lifecycle: "paused" | "active" | "archived";
|
|
7521
7521
|
performance?: {
|
|
7522
7522
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
7523
7523
|
maxAgeMs: number;
|
|
@@ -7749,9 +7749,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7749
7749
|
}, z.core.$strict>, z.ZodObject<{
|
|
7750
7750
|
kind: z.ZodLiteral<"manual">;
|
|
7751
7751
|
input: z.ZodEnum<{
|
|
7752
|
+
none: "none";
|
|
7752
7753
|
quiz: "quiz";
|
|
7753
7754
|
photo: "photo";
|
|
7754
|
-
none: "none";
|
|
7755
7755
|
}>;
|
|
7756
7756
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
7757
7757
|
member: "member";
|
|
@@ -7770,8 +7770,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7770
7770
|
end: z.ZodOptional<z.ZodNumber>;
|
|
7771
7771
|
}, z.core.$strict>;
|
|
7772
7772
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
7773
|
-
required: "required";
|
|
7774
7773
|
none: "none";
|
|
7774
|
+
required: "required";
|
|
7775
7775
|
}>>;
|
|
7776
7776
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
7777
7777
|
"after-enrollment": "after-enrollment";
|
|
@@ -7831,8 +7831,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7831
7831
|
}>;
|
|
7832
7832
|
period: z.ZodEnum<{
|
|
7833
7833
|
day: "day";
|
|
7834
|
-
week: "week";
|
|
7835
7834
|
lifetime: "lifetime";
|
|
7835
|
+
week: "week";
|
|
7836
7836
|
}>;
|
|
7837
7837
|
limit: z.ZodNumber;
|
|
7838
7838
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7857,12 +7857,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7857
7857
|
}, z.core.$strict>>;
|
|
7858
7858
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
7859
7859
|
staff: "staff";
|
|
7860
|
-
quiz: "quiz";
|
|
7861
7860
|
text: "text";
|
|
7862
7861
|
url: "url";
|
|
7863
|
-
photo: "photo";
|
|
7864
7862
|
automatic: "automatic";
|
|
7865
7863
|
claim: "claim";
|
|
7864
|
+
quiz: "quiz";
|
|
7865
|
+
photo: "photo";
|
|
7866
7866
|
}>>;
|
|
7867
7867
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7868
7868
|
version: z.ZodString;
|
|
@@ -8058,9 +8058,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8058
8058
|
}, z.core.$strip>, z.ZodObject<{
|
|
8059
8059
|
source: z.ZodLiteral<"account">;
|
|
8060
8060
|
provider: z.ZodEnum<{
|
|
8061
|
+
x: "x";
|
|
8061
8062
|
discord: "discord";
|
|
8062
8063
|
google: "google";
|
|
8063
|
-
x: "x";
|
|
8064
8064
|
}>;
|
|
8065
8065
|
url: z.ZodString;
|
|
8066
8066
|
seed: z.ZodString;
|
|
@@ -8086,9 +8086,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8086
8086
|
}, z.core.$strip>, z.ZodObject<{
|
|
8087
8087
|
source: z.ZodLiteral<"account">;
|
|
8088
8088
|
provider: z.ZodEnum<{
|
|
8089
|
+
x: "x";
|
|
8089
8090
|
discord: "discord";
|
|
8090
8091
|
google: "google";
|
|
8091
|
-
x: "x";
|
|
8092
8092
|
}>;
|
|
8093
8093
|
url: z.ZodString;
|
|
8094
8094
|
seed: z.ZodString;
|
|
@@ -8114,9 +8114,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8114
8114
|
}, z.core.$strip>, z.ZodObject<{
|
|
8115
8115
|
source: z.ZodLiteral<"account">;
|
|
8116
8116
|
provider: z.ZodEnum<{
|
|
8117
|
+
x: "x";
|
|
8117
8118
|
discord: "discord";
|
|
8118
8119
|
google: "google";
|
|
8119
|
-
x: "x";
|
|
8120
8120
|
}>;
|
|
8121
8121
|
url: z.ZodString;
|
|
8122
8122
|
seed: z.ZodString;
|
|
@@ -8160,9 +8160,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8160
8160
|
}, z.core.$strip>, z.ZodObject<{
|
|
8161
8161
|
source: z.ZodLiteral<"account">;
|
|
8162
8162
|
provider: z.ZodEnum<{
|
|
8163
|
+
x: "x";
|
|
8163
8164
|
discord: "discord";
|
|
8164
8165
|
google: "google";
|
|
8165
|
-
x: "x";
|
|
8166
8166
|
}>;
|
|
8167
8167
|
url: z.ZodString;
|
|
8168
8168
|
seed: z.ZodString;
|
|
@@ -8188,9 +8188,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8188
8188
|
}, z.core.$strip>, z.ZodObject<{
|
|
8189
8189
|
source: z.ZodLiteral<"account">;
|
|
8190
8190
|
provider: z.ZodEnum<{
|
|
8191
|
+
x: "x";
|
|
8191
8192
|
discord: "discord";
|
|
8192
8193
|
google: "google";
|
|
8193
|
-
x: "x";
|
|
8194
8194
|
}>;
|
|
8195
8195
|
url: z.ZodString;
|
|
8196
8196
|
seed: z.ZodString;
|
|
@@ -8216,9 +8216,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8216
8216
|
}, z.core.$strip>, z.ZodObject<{
|
|
8217
8217
|
source: z.ZodLiteral<"account">;
|
|
8218
8218
|
provider: z.ZodEnum<{
|
|
8219
|
+
x: "x";
|
|
8219
8220
|
discord: "discord";
|
|
8220
8221
|
google: "google";
|
|
8221
|
-
x: "x";
|
|
8222
8222
|
}>;
|
|
8223
8223
|
url: z.ZodString;
|
|
8224
8224
|
seed: z.ZodString;
|
|
@@ -8610,7 +8610,7 @@ declare function createRelayClient(options: {
|
|
|
8610
8610
|
seed: string;
|
|
8611
8611
|
} | {
|
|
8612
8612
|
source: "account";
|
|
8613
|
-
provider: "
|
|
8613
|
+
provider: "x" | "discord" | "google";
|
|
8614
8614
|
url: string;
|
|
8615
8615
|
seed: string;
|
|
8616
8616
|
} | {
|
|
@@ -8634,7 +8634,7 @@ declare function createRelayClient(options: {
|
|
|
8634
8634
|
seed: string;
|
|
8635
8635
|
} | {
|
|
8636
8636
|
source: "account";
|
|
8637
|
-
provider: "
|
|
8637
|
+
provider: "x" | "discord" | "google";
|
|
8638
8638
|
url: string;
|
|
8639
8639
|
seed: string;
|
|
8640
8640
|
} | {
|
|
@@ -8658,7 +8658,7 @@ declare function createRelayClient(options: {
|
|
|
8658
8658
|
seed: string;
|
|
8659
8659
|
} | {
|
|
8660
8660
|
source: "account";
|
|
8661
|
-
provider: "
|
|
8661
|
+
provider: "x" | "discord" | "google";
|
|
8662
8662
|
url: string;
|
|
8663
8663
|
seed: string;
|
|
8664
8664
|
} | {
|
|
@@ -8686,7 +8686,7 @@ declare function createRelayClient(options: {
|
|
|
8686
8686
|
seed: string;
|
|
8687
8687
|
} | {
|
|
8688
8688
|
source: "account";
|
|
8689
|
-
provider: "
|
|
8689
|
+
provider: "x" | "discord" | "google";
|
|
8690
8690
|
url: string;
|
|
8691
8691
|
seed: string;
|
|
8692
8692
|
} | {
|
|
@@ -8695,12 +8695,12 @@ declare function createRelayClient(options: {
|
|
|
8695
8695
|
};
|
|
8696
8696
|
displayName: string | null;
|
|
8697
8697
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
8698
|
-
avatarProvider: "
|
|
8698
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8699
8699
|
hidden: boolean;
|
|
8700
8700
|
locked: boolean;
|
|
8701
|
-
visibility: "
|
|
8701
|
+
visibility: "private" | "participants" | "public";
|
|
8702
8702
|
options: {
|
|
8703
|
-
provider: "
|
|
8703
|
+
provider: "x" | "discord" | "google";
|
|
8704
8704
|
name: string | null;
|
|
8705
8705
|
imageUrl: string | null;
|
|
8706
8706
|
}[];
|
|
@@ -8720,7 +8720,7 @@ declare function createRelayClient(options: {
|
|
|
8720
8720
|
seed: string;
|
|
8721
8721
|
} | {
|
|
8722
8722
|
source: "account";
|
|
8723
|
-
provider: "
|
|
8723
|
+
provider: "x" | "discord" | "google";
|
|
8724
8724
|
url: string;
|
|
8725
8725
|
seed: string;
|
|
8726
8726
|
} | {
|
|
@@ -8729,12 +8729,12 @@ declare function createRelayClient(options: {
|
|
|
8729
8729
|
};
|
|
8730
8730
|
displayName: string | null;
|
|
8731
8731
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
8732
|
-
avatarProvider: "
|
|
8732
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8733
8733
|
hidden: boolean;
|
|
8734
8734
|
locked: boolean;
|
|
8735
|
-
visibility: "
|
|
8735
|
+
visibility: "private" | "participants" | "public";
|
|
8736
8736
|
options: {
|
|
8737
|
-
provider: "
|
|
8737
|
+
provider: "x" | "discord" | "google";
|
|
8738
8738
|
name: string | null;
|
|
8739
8739
|
imageUrl: string | null;
|
|
8740
8740
|
}[];
|
|
@@ -8755,7 +8755,7 @@ declare function createRelayClient(options: {
|
|
|
8755
8755
|
seed: string;
|
|
8756
8756
|
} | {
|
|
8757
8757
|
source: "account";
|
|
8758
|
-
provider: "
|
|
8758
|
+
provider: "x" | "discord" | "google";
|
|
8759
8759
|
url: string;
|
|
8760
8760
|
seed: string;
|
|
8761
8761
|
} | {
|
|
@@ -8764,12 +8764,12 @@ declare function createRelayClient(options: {
|
|
|
8764
8764
|
};
|
|
8765
8765
|
displayName: string | null;
|
|
8766
8766
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
8767
|
-
avatarProvider: "
|
|
8767
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8768
8768
|
hidden: boolean;
|
|
8769
8769
|
locked: boolean;
|
|
8770
|
-
visibility: "
|
|
8770
|
+
visibility: "private" | "participants" | "public";
|
|
8771
8771
|
options: {
|
|
8772
|
-
provider: "
|
|
8772
|
+
provider: "x" | "discord" | "google";
|
|
8773
8773
|
name: string | null;
|
|
8774
8774
|
imageUrl: string | null;
|
|
8775
8775
|
}[];
|
|
@@ -8787,7 +8787,7 @@ declare function createRelayClient(options: {
|
|
|
8787
8787
|
seed: string;
|
|
8788
8788
|
} | {
|
|
8789
8789
|
source: "account";
|
|
8790
|
-
provider: "
|
|
8790
|
+
provider: "x" | "discord" | "google";
|
|
8791
8791
|
url: string;
|
|
8792
8792
|
seed: string;
|
|
8793
8793
|
} | {
|
|
@@ -8850,7 +8850,7 @@ declare function createRelayClient(options: {
|
|
|
8850
8850
|
} | undefined;
|
|
8851
8851
|
} | undefined;
|
|
8852
8852
|
};
|
|
8853
|
-
connections: ("
|
|
8853
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
8854
8854
|
trigger: {
|
|
8855
8855
|
kind: "automatic";
|
|
8856
8856
|
observation?: {
|
|
@@ -8863,7 +8863,7 @@ declare function createRelayClient(options: {
|
|
|
8863
8863
|
start: number;
|
|
8864
8864
|
end?: number | undefined;
|
|
8865
8865
|
};
|
|
8866
|
-
enrollment: "
|
|
8866
|
+
enrollment: "none" | "required";
|
|
8867
8867
|
posts: "after-enrollment" | "since-start";
|
|
8868
8868
|
historical: "staff" | "automatic" | "claim";
|
|
8869
8869
|
} | undefined;
|
|
@@ -8891,12 +8891,12 @@ declare function createRelayClient(options: {
|
|
|
8891
8891
|
actor?: "member" | "staff" | undefined;
|
|
8892
8892
|
} | {
|
|
8893
8893
|
kind: "manual";
|
|
8894
|
-
input: "
|
|
8894
|
+
input: "none" | "quiz" | "photo";
|
|
8895
8895
|
actor?: "member" | "staff" | undefined;
|
|
8896
8896
|
};
|
|
8897
8897
|
availability: {
|
|
8898
8898
|
kind: "available";
|
|
8899
|
-
input: "
|
|
8899
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
8900
8900
|
} | {
|
|
8901
8901
|
kind: "completed";
|
|
8902
8902
|
} | {
|
|
@@ -8945,7 +8945,7 @@ declare function createRelayClient(options: {
|
|
|
8945
8945
|
quest: string;
|
|
8946
8946
|
member: string;
|
|
8947
8947
|
evidence: string | null;
|
|
8948
|
-
status: "
|
|
8948
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
8949
8949
|
reason: string | null;
|
|
8950
8950
|
retries: number;
|
|
8951
8951
|
generation: number;
|
|
@@ -8979,22 +8979,22 @@ declare function createRelayClient(options: {
|
|
|
8979
8979
|
})[] | null;
|
|
8980
8980
|
createdAt: number;
|
|
8981
8981
|
input?: {
|
|
8982
|
-
kind: "quiz";
|
|
8983
|
-
answers: {
|
|
8984
|
-
[k: string]: string;
|
|
8985
|
-
};
|
|
8986
|
-
release?: string | undefined;
|
|
8987
|
-
} | {
|
|
8988
8982
|
kind: "text";
|
|
8989
8983
|
value: string;
|
|
8990
8984
|
} | {
|
|
8991
8985
|
kind: "url";
|
|
8992
8986
|
value: string;
|
|
8987
|
+
} | {
|
|
8988
|
+
kind: "quiz";
|
|
8989
|
+
answers: {
|
|
8990
|
+
[k: string]: string;
|
|
8991
|
+
};
|
|
8992
|
+
release?: string | undefined;
|
|
8993
8993
|
} | undefined;
|
|
8994
8994
|
} | null;
|
|
8995
8995
|
release: string;
|
|
8996
|
-
interaction: "staff" | "
|
|
8997
|
-
lifecycle: "
|
|
8996
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
8997
|
+
lifecycle: "paused" | "active" | "archived";
|
|
8998
8998
|
rewards: ({
|
|
8999
8999
|
kind: "points";
|
|
9000
9000
|
label: string;
|
|
@@ -9055,7 +9055,7 @@ declare function createRelayClient(options: {
|
|
|
9055
9055
|
quest: string;
|
|
9056
9056
|
member: string;
|
|
9057
9057
|
evidence: string | null;
|
|
9058
|
-
status: "
|
|
9058
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9059
9059
|
reason: string | null;
|
|
9060
9060
|
retries: number;
|
|
9061
9061
|
generation: number;
|
|
@@ -9089,17 +9089,17 @@ declare function createRelayClient(options: {
|
|
|
9089
9089
|
})[] | null;
|
|
9090
9090
|
createdAt: number;
|
|
9091
9091
|
input?: {
|
|
9092
|
-
kind: "quiz";
|
|
9093
|
-
answers: {
|
|
9094
|
-
[k: string]: string;
|
|
9095
|
-
};
|
|
9096
|
-
release?: string | undefined;
|
|
9097
|
-
} | {
|
|
9098
9092
|
kind: "text";
|
|
9099
9093
|
value: string;
|
|
9100
9094
|
} | {
|
|
9101
9095
|
kind: "url";
|
|
9102
9096
|
value: string;
|
|
9097
|
+
} | {
|
|
9098
|
+
kind: "quiz";
|
|
9099
|
+
answers: {
|
|
9100
|
+
[k: string]: string;
|
|
9101
|
+
};
|
|
9102
|
+
release?: string | undefined;
|
|
9103
9103
|
} | undefined;
|
|
9104
9104
|
}>;
|
|
9105
9105
|
experience: () => Promise<{
|
|
@@ -9127,7 +9127,7 @@ declare function createRelayClient(options: {
|
|
|
9127
9127
|
} | undefined;
|
|
9128
9128
|
} | undefined;
|
|
9129
9129
|
};
|
|
9130
|
-
connections: ("
|
|
9130
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9131
9131
|
trigger: {
|
|
9132
9132
|
kind: "automatic";
|
|
9133
9133
|
observation?: {
|
|
@@ -9140,7 +9140,7 @@ declare function createRelayClient(options: {
|
|
|
9140
9140
|
start: number;
|
|
9141
9141
|
end?: number | undefined;
|
|
9142
9142
|
};
|
|
9143
|
-
enrollment: "
|
|
9143
|
+
enrollment: "none" | "required";
|
|
9144
9144
|
posts: "after-enrollment" | "since-start";
|
|
9145
9145
|
historical: "staff" | "automatic" | "claim";
|
|
9146
9146
|
} | undefined;
|
|
@@ -9168,12 +9168,12 @@ declare function createRelayClient(options: {
|
|
|
9168
9168
|
actor?: "member" | "staff" | undefined;
|
|
9169
9169
|
} | {
|
|
9170
9170
|
kind: "manual";
|
|
9171
|
-
input: "
|
|
9171
|
+
input: "none" | "quiz" | "photo";
|
|
9172
9172
|
actor?: "member" | "staff" | undefined;
|
|
9173
9173
|
};
|
|
9174
9174
|
availability: {
|
|
9175
9175
|
kind: "available";
|
|
9176
|
-
input: "
|
|
9176
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
9177
9177
|
} | {
|
|
9178
9178
|
kind: "completed";
|
|
9179
9179
|
} | {
|
|
@@ -9222,7 +9222,7 @@ declare function createRelayClient(options: {
|
|
|
9222
9222
|
quest: string;
|
|
9223
9223
|
member: string;
|
|
9224
9224
|
evidence: string | null;
|
|
9225
|
-
status: "
|
|
9225
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9226
9226
|
reason: string | null;
|
|
9227
9227
|
retries: number;
|
|
9228
9228
|
generation: number;
|
|
@@ -9256,22 +9256,22 @@ declare function createRelayClient(options: {
|
|
|
9256
9256
|
})[] | null;
|
|
9257
9257
|
createdAt: number;
|
|
9258
9258
|
input?: {
|
|
9259
|
-
kind: "quiz";
|
|
9260
|
-
answers: {
|
|
9261
|
-
[k: string]: string;
|
|
9262
|
-
};
|
|
9263
|
-
release?: string | undefined;
|
|
9264
|
-
} | {
|
|
9265
9259
|
kind: "text";
|
|
9266
9260
|
value: string;
|
|
9267
9261
|
} | {
|
|
9268
9262
|
kind: "url";
|
|
9269
9263
|
value: string;
|
|
9264
|
+
} | {
|
|
9265
|
+
kind: "quiz";
|
|
9266
|
+
answers: {
|
|
9267
|
+
[k: string]: string;
|
|
9268
|
+
};
|
|
9269
|
+
release?: string | undefined;
|
|
9270
9270
|
} | undefined;
|
|
9271
9271
|
} | null;
|
|
9272
9272
|
release: string;
|
|
9273
|
-
interaction: "staff" | "
|
|
9274
|
-
lifecycle: "
|
|
9273
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
9274
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9275
9275
|
rewards: ({
|
|
9276
9276
|
kind: "points";
|
|
9277
9277
|
label: string;
|
|
@@ -9352,7 +9352,7 @@ declare function createRelayClient(options: {
|
|
|
9352
9352
|
} | undefined;
|
|
9353
9353
|
} | undefined;
|
|
9354
9354
|
};
|
|
9355
|
-
connections: ("
|
|
9355
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9356
9356
|
trigger: {
|
|
9357
9357
|
kind: "automatic";
|
|
9358
9358
|
observation?: {
|
|
@@ -9365,7 +9365,7 @@ declare function createRelayClient(options: {
|
|
|
9365
9365
|
start: number;
|
|
9366
9366
|
end?: number | undefined;
|
|
9367
9367
|
};
|
|
9368
|
-
enrollment: "
|
|
9368
|
+
enrollment: "none" | "required";
|
|
9369
9369
|
posts: "after-enrollment" | "since-start";
|
|
9370
9370
|
historical: "staff" | "automatic" | "claim";
|
|
9371
9371
|
} | undefined;
|
|
@@ -9393,12 +9393,12 @@ declare function createRelayClient(options: {
|
|
|
9393
9393
|
actor?: "member" | "staff" | undefined;
|
|
9394
9394
|
} | {
|
|
9395
9395
|
kind: "manual";
|
|
9396
|
-
input: "
|
|
9396
|
+
input: "none" | "quiz" | "photo";
|
|
9397
9397
|
actor?: "member" | "staff" | undefined;
|
|
9398
9398
|
};
|
|
9399
9399
|
availability: {
|
|
9400
9400
|
kind: "available";
|
|
9401
|
-
input: "
|
|
9401
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
9402
9402
|
} | {
|
|
9403
9403
|
kind: "completed";
|
|
9404
9404
|
} | {
|
|
@@ -9447,7 +9447,7 @@ declare function createRelayClient(options: {
|
|
|
9447
9447
|
quest: string;
|
|
9448
9448
|
member: string;
|
|
9449
9449
|
evidence: string | null;
|
|
9450
|
-
status: "
|
|
9450
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9451
9451
|
reason: string | null;
|
|
9452
9452
|
retries: number;
|
|
9453
9453
|
generation: number;
|
|
@@ -9481,22 +9481,22 @@ declare function createRelayClient(options: {
|
|
|
9481
9481
|
})[] | null;
|
|
9482
9482
|
createdAt: number;
|
|
9483
9483
|
input?: {
|
|
9484
|
-
kind: "quiz";
|
|
9485
|
-
answers: {
|
|
9486
|
-
[k: string]: string;
|
|
9487
|
-
};
|
|
9488
|
-
release?: string | undefined;
|
|
9489
|
-
} | {
|
|
9490
9484
|
kind: "text";
|
|
9491
9485
|
value: string;
|
|
9492
9486
|
} | {
|
|
9493
9487
|
kind: "url";
|
|
9494
9488
|
value: string;
|
|
9489
|
+
} | {
|
|
9490
|
+
kind: "quiz";
|
|
9491
|
+
answers: {
|
|
9492
|
+
[k: string]: string;
|
|
9493
|
+
};
|
|
9494
|
+
release?: string | undefined;
|
|
9495
9495
|
} | undefined;
|
|
9496
9496
|
} | null;
|
|
9497
9497
|
release: string;
|
|
9498
|
-
interaction: "staff" | "
|
|
9499
|
-
lifecycle: "
|
|
9498
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
9499
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9500
9500
|
rewards: ({
|
|
9501
9501
|
kind: "points";
|
|
9502
9502
|
label: string;
|
|
@@ -9580,7 +9580,7 @@ declare function createRelayClient(options: {
|
|
|
9580
9580
|
} | undefined;
|
|
9581
9581
|
} | undefined;
|
|
9582
9582
|
};
|
|
9583
|
-
connections: ("
|
|
9583
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9584
9584
|
trigger: {
|
|
9585
9585
|
kind: "automatic";
|
|
9586
9586
|
observation?: {
|
|
@@ -9593,7 +9593,7 @@ declare function createRelayClient(options: {
|
|
|
9593
9593
|
start: number;
|
|
9594
9594
|
end?: number | undefined;
|
|
9595
9595
|
};
|
|
9596
|
-
enrollment: "
|
|
9596
|
+
enrollment: "none" | "required";
|
|
9597
9597
|
posts: "after-enrollment" | "since-start";
|
|
9598
9598
|
historical: "staff" | "automatic" | "claim";
|
|
9599
9599
|
} | undefined;
|
|
@@ -9621,12 +9621,12 @@ declare function createRelayClient(options: {
|
|
|
9621
9621
|
actor?: "member" | "staff" | undefined;
|
|
9622
9622
|
} | {
|
|
9623
9623
|
kind: "manual";
|
|
9624
|
-
input: "
|
|
9624
|
+
input: "none" | "quiz" | "photo";
|
|
9625
9625
|
actor?: "member" | "staff" | undefined;
|
|
9626
9626
|
};
|
|
9627
9627
|
availability: {
|
|
9628
9628
|
kind: "available";
|
|
9629
|
-
input: "
|
|
9629
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
9630
9630
|
} | {
|
|
9631
9631
|
kind: "completed";
|
|
9632
9632
|
} | {
|
|
@@ -9675,7 +9675,7 @@ declare function createRelayClient(options: {
|
|
|
9675
9675
|
quest: string;
|
|
9676
9676
|
member: string;
|
|
9677
9677
|
evidence: string | null;
|
|
9678
|
-
status: "
|
|
9678
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9679
9679
|
reason: string | null;
|
|
9680
9680
|
retries: number;
|
|
9681
9681
|
generation: number;
|
|
@@ -9709,22 +9709,22 @@ declare function createRelayClient(options: {
|
|
|
9709
9709
|
})[] | null;
|
|
9710
9710
|
createdAt: number;
|
|
9711
9711
|
input?: {
|
|
9712
|
-
kind: "quiz";
|
|
9713
|
-
answers: {
|
|
9714
|
-
[k: string]: string;
|
|
9715
|
-
};
|
|
9716
|
-
release?: string | undefined;
|
|
9717
|
-
} | {
|
|
9718
9712
|
kind: "text";
|
|
9719
9713
|
value: string;
|
|
9720
9714
|
} | {
|
|
9721
9715
|
kind: "url";
|
|
9722
9716
|
value: string;
|
|
9717
|
+
} | {
|
|
9718
|
+
kind: "quiz";
|
|
9719
|
+
answers: {
|
|
9720
|
+
[k: string]: string;
|
|
9721
|
+
};
|
|
9722
|
+
release?: string | undefined;
|
|
9723
9723
|
} | undefined;
|
|
9724
9724
|
} | null;
|
|
9725
9725
|
release: string;
|
|
9726
|
-
interaction: "staff" | "
|
|
9727
|
-
lifecycle: "
|
|
9726
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
9727
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9728
9728
|
rewards: ({
|
|
9729
9729
|
kind: "points";
|
|
9730
9730
|
label: string;
|
|
@@ -9853,7 +9853,7 @@ declare function createRelayClient(options: {
|
|
|
9853
9853
|
auth: {
|
|
9854
9854
|
providers: () => Promise<{
|
|
9855
9855
|
providers: {
|
|
9856
|
-
provider: "
|
|
9856
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
9857
9857
|
configured: boolean;
|
|
9858
9858
|
}[];
|
|
9859
9859
|
email: boolean;
|
|
@@ -9939,7 +9939,7 @@ declare function createRelayClient(options: {
|
|
|
9939
9939
|
}>;
|
|
9940
9940
|
};
|
|
9941
9941
|
accounts: () => Promise<{
|
|
9942
|
-
provider: "
|
|
9942
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
9943
9943
|
configured: boolean;
|
|
9944
9944
|
status: "disconnected" | "connected" | "reconnect";
|
|
9945
9945
|
subject: string | null;
|
|
@@ -10043,7 +10043,7 @@ declare function createRelayClient(options: {
|
|
|
10043
10043
|
quest: string;
|
|
10044
10044
|
member: string;
|
|
10045
10045
|
evidence: string | null;
|
|
10046
|
-
status: "
|
|
10046
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
10047
10047
|
reason: string | null;
|
|
10048
10048
|
retries: number;
|
|
10049
10049
|
generation: number;
|
|
@@ -10077,17 +10077,17 @@ declare function createRelayClient(options: {
|
|
|
10077
10077
|
})[] | null;
|
|
10078
10078
|
createdAt: number;
|
|
10079
10079
|
input?: {
|
|
10080
|
-
kind: "quiz";
|
|
10081
|
-
answers: {
|
|
10082
|
-
[k: string]: string;
|
|
10083
|
-
};
|
|
10084
|
-
release?: string | undefined;
|
|
10085
|
-
} | {
|
|
10086
10080
|
kind: "text";
|
|
10087
10081
|
value: string;
|
|
10088
10082
|
} | {
|
|
10089
10083
|
kind: "url";
|
|
10090
10084
|
value: string;
|
|
10085
|
+
} | {
|
|
10086
|
+
kind: "quiz";
|
|
10087
|
+
answers: {
|
|
10088
|
+
[k: string]: string;
|
|
10089
|
+
};
|
|
10090
|
+
release?: string | undefined;
|
|
10091
10091
|
} | undefined;
|
|
10092
10092
|
}>;
|
|
10093
10093
|
progress: () => Promise<{
|
|
@@ -10115,7 +10115,7 @@ declare function createRelayClient(options: {
|
|
|
10115
10115
|
} | undefined;
|
|
10116
10116
|
} | undefined;
|
|
10117
10117
|
};
|
|
10118
|
-
connections: ("
|
|
10118
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
10119
10119
|
trigger: {
|
|
10120
10120
|
kind: "automatic";
|
|
10121
10121
|
observation?: {
|
|
@@ -10128,7 +10128,7 @@ declare function createRelayClient(options: {
|
|
|
10128
10128
|
start: number;
|
|
10129
10129
|
end?: number | undefined;
|
|
10130
10130
|
};
|
|
10131
|
-
enrollment: "
|
|
10131
|
+
enrollment: "none" | "required";
|
|
10132
10132
|
posts: "after-enrollment" | "since-start";
|
|
10133
10133
|
historical: "staff" | "automatic" | "claim";
|
|
10134
10134
|
} | undefined;
|
|
@@ -10156,12 +10156,12 @@ declare function createRelayClient(options: {
|
|
|
10156
10156
|
actor?: "member" | "staff" | undefined;
|
|
10157
10157
|
} | {
|
|
10158
10158
|
kind: "manual";
|
|
10159
|
-
input: "
|
|
10159
|
+
input: "none" | "quiz" | "photo";
|
|
10160
10160
|
actor?: "member" | "staff" | undefined;
|
|
10161
10161
|
};
|
|
10162
10162
|
availability: {
|
|
10163
10163
|
kind: "available";
|
|
10164
|
-
input: "
|
|
10164
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
10165
10165
|
} | {
|
|
10166
10166
|
kind: "completed";
|
|
10167
10167
|
} | {
|
|
@@ -10210,7 +10210,7 @@ declare function createRelayClient(options: {
|
|
|
10210
10210
|
quest: string;
|
|
10211
10211
|
member: string;
|
|
10212
10212
|
evidence: string | null;
|
|
10213
|
-
status: "
|
|
10213
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
10214
10214
|
reason: string | null;
|
|
10215
10215
|
retries: number;
|
|
10216
10216
|
generation: number;
|
|
@@ -10244,17 +10244,17 @@ declare function createRelayClient(options: {
|
|
|
10244
10244
|
})[] | null;
|
|
10245
10245
|
createdAt: number;
|
|
10246
10246
|
input?: {
|
|
10247
|
-
kind: "quiz";
|
|
10248
|
-
answers: {
|
|
10249
|
-
[k: string]: string;
|
|
10250
|
-
};
|
|
10251
|
-
release?: string | undefined;
|
|
10252
|
-
} | {
|
|
10253
10247
|
kind: "text";
|
|
10254
10248
|
value: string;
|
|
10255
10249
|
} | {
|
|
10256
10250
|
kind: "url";
|
|
10257
10251
|
value: string;
|
|
10252
|
+
} | {
|
|
10253
|
+
kind: "quiz";
|
|
10254
|
+
answers: {
|
|
10255
|
+
[k: string]: string;
|
|
10256
|
+
};
|
|
10257
|
+
release?: string | undefined;
|
|
10258
10258
|
} | undefined;
|
|
10259
10259
|
} | null;
|
|
10260
10260
|
key?: string | undefined;
|
|
@@ -10377,7 +10377,7 @@ declare function createRelayClient(options: {
|
|
|
10377
10377
|
provider: "discord";
|
|
10378
10378
|
action: "grant-role";
|
|
10379
10379
|
roleId: string;
|
|
10380
|
-
status: "
|
|
10380
|
+
status: "pending" | "failed" | "delivered";
|
|
10381
10381
|
attempts: number;
|
|
10382
10382
|
nextAt: number;
|
|
10383
10383
|
lastError: string | null;
|
|
@@ -10393,7 +10393,7 @@ declare function createRelayClient(options: {
|
|
|
10393
10393
|
quest: string;
|
|
10394
10394
|
member: string;
|
|
10395
10395
|
evidence: string | null;
|
|
10396
|
-
status: "
|
|
10396
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
10397
10397
|
reason: string | null;
|
|
10398
10398
|
retries: number;
|
|
10399
10399
|
generation: number;
|
|
@@ -10427,17 +10427,17 @@ declare function createRelayClient(options: {
|
|
|
10427
10427
|
})[] | null;
|
|
10428
10428
|
createdAt: number;
|
|
10429
10429
|
input?: {
|
|
10430
|
-
kind: "quiz";
|
|
10431
|
-
answers: {
|
|
10432
|
-
[k: string]: string;
|
|
10433
|
-
};
|
|
10434
|
-
release?: string | undefined;
|
|
10435
|
-
} | {
|
|
10436
10430
|
kind: "text";
|
|
10437
10431
|
value: string;
|
|
10438
10432
|
} | {
|
|
10439
10433
|
kind: "url";
|
|
10440
10434
|
value: string;
|
|
10435
|
+
} | {
|
|
10436
|
+
kind: "quiz";
|
|
10437
|
+
answers: {
|
|
10438
|
+
[k: string]: string;
|
|
10439
|
+
};
|
|
10440
|
+
release?: string | undefined;
|
|
10441
10441
|
} | undefined;
|
|
10442
10442
|
}>;
|
|
10443
10443
|
upload: (file: File) => Promise<{
|
|
@@ -10498,12 +10498,12 @@ declare function createRelayClient(options: {
|
|
|
10498
10498
|
kind: "resource";
|
|
10499
10499
|
default: string;
|
|
10500
10500
|
source: {
|
|
10501
|
-
provider: "domino";
|
|
10502
|
-
resource: "point-ledger";
|
|
10503
|
-
} | {
|
|
10504
10501
|
provider: "discord";
|
|
10505
10502
|
resource: "channel";
|
|
10506
10503
|
types: ("text" | "announcement")[];
|
|
10504
|
+
} | {
|
|
10505
|
+
provider: "domino";
|
|
10506
|
+
resource: "point-ledger";
|
|
10507
10507
|
} | {
|
|
10508
10508
|
provider: "discord";
|
|
10509
10509
|
resource: "role";
|
|
@@ -10600,7 +10600,7 @@ declare function createRelayClient(options: {
|
|
|
10600
10600
|
start: number;
|
|
10601
10601
|
end?: number | undefined;
|
|
10602
10602
|
};
|
|
10603
|
-
enrollment: "
|
|
10603
|
+
enrollment: "none" | "required";
|
|
10604
10604
|
posts: "after-enrollment" | "since-start";
|
|
10605
10605
|
historical: "staff" | "automatic" | "claim";
|
|
10606
10606
|
} | undefined;
|
|
@@ -10628,7 +10628,7 @@ declare function createRelayClient(options: {
|
|
|
10628
10628
|
actor?: "member" | "staff" | undefined;
|
|
10629
10629
|
} | {
|
|
10630
10630
|
kind: "manual";
|
|
10631
|
-
input: "
|
|
10631
|
+
input: "none" | "quiz" | "photo";
|
|
10632
10632
|
actor?: "member" | "staff" | undefined;
|
|
10633
10633
|
};
|
|
10634
10634
|
requires: {
|
|
@@ -10648,7 +10648,7 @@ declare function createRelayClient(options: {
|
|
|
10648
10648
|
budgets: {
|
|
10649
10649
|
id: string;
|
|
10650
10650
|
scope: "project" | "member";
|
|
10651
|
-
period: "day" | "
|
|
10651
|
+
period: "day" | "lifetime" | "week";
|
|
10652
10652
|
limit: number;
|
|
10653
10653
|
cost: number | {
|
|
10654
10654
|
balance: string;
|
|
@@ -10702,12 +10702,12 @@ declare function createRelayClient(options: {
|
|
|
10702
10702
|
kind: "resource";
|
|
10703
10703
|
default: string;
|
|
10704
10704
|
source: {
|
|
10705
|
-
provider: "domino";
|
|
10706
|
-
resource: "point-ledger";
|
|
10707
|
-
} | {
|
|
10708
10705
|
provider: "discord";
|
|
10709
10706
|
resource: "channel";
|
|
10710
10707
|
types: ("text" | "announcement")[];
|
|
10708
|
+
} | {
|
|
10709
|
+
provider: "domino";
|
|
10710
|
+
resource: "point-ledger";
|
|
10711
10711
|
} | {
|
|
10712
10712
|
provider: "discord";
|
|
10713
10713
|
resource: "role";
|
|
@@ -10804,7 +10804,7 @@ declare function createRelayClient(options: {
|
|
|
10804
10804
|
start: number;
|
|
10805
10805
|
end?: number | undefined;
|
|
10806
10806
|
};
|
|
10807
|
-
enrollment: "
|
|
10807
|
+
enrollment: "none" | "required";
|
|
10808
10808
|
posts: "after-enrollment" | "since-start";
|
|
10809
10809
|
historical: "staff" | "automatic" | "claim";
|
|
10810
10810
|
} | undefined;
|
|
@@ -10832,7 +10832,7 @@ declare function createRelayClient(options: {
|
|
|
10832
10832
|
actor?: "member" | "staff" | undefined;
|
|
10833
10833
|
} | {
|
|
10834
10834
|
kind: "manual";
|
|
10835
|
-
input: "
|
|
10835
|
+
input: "none" | "quiz" | "photo";
|
|
10836
10836
|
actor?: "member" | "staff" | undefined;
|
|
10837
10837
|
};
|
|
10838
10838
|
requires: {
|
|
@@ -10852,7 +10852,7 @@ declare function createRelayClient(options: {
|
|
|
10852
10852
|
budgets: {
|
|
10853
10853
|
id: string;
|
|
10854
10854
|
scope: "project" | "member";
|
|
10855
|
-
period: "day" | "
|
|
10855
|
+
period: "day" | "lifetime" | "week";
|
|
10856
10856
|
limit: number;
|
|
10857
10857
|
cost: number | {
|
|
10858
10858
|
balance: string;
|
|
@@ -10905,12 +10905,12 @@ declare function createRelayClient(options: {
|
|
|
10905
10905
|
kind: "resource";
|
|
10906
10906
|
default: string;
|
|
10907
10907
|
source: {
|
|
10908
|
-
provider: "domino";
|
|
10909
|
-
resource: "point-ledger";
|
|
10910
|
-
} | {
|
|
10911
10908
|
provider: "discord";
|
|
10912
10909
|
resource: "channel";
|
|
10913
10910
|
types: ("text" | "announcement")[];
|
|
10911
|
+
} | {
|
|
10912
|
+
provider: "domino";
|
|
10913
|
+
resource: "point-ledger";
|
|
10914
10914
|
} | {
|
|
10915
10915
|
provider: "discord";
|
|
10916
10916
|
resource: "role";
|
|
@@ -11007,7 +11007,7 @@ declare function createRelayClient(options: {
|
|
|
11007
11007
|
start: number;
|
|
11008
11008
|
end?: number | undefined;
|
|
11009
11009
|
};
|
|
11010
|
-
enrollment: "
|
|
11010
|
+
enrollment: "none" | "required";
|
|
11011
11011
|
posts: "after-enrollment" | "since-start";
|
|
11012
11012
|
historical: "staff" | "automatic" | "claim";
|
|
11013
11013
|
} | undefined;
|
|
@@ -11035,7 +11035,7 @@ declare function createRelayClient(options: {
|
|
|
11035
11035
|
actor?: "member" | "staff" | undefined;
|
|
11036
11036
|
} | {
|
|
11037
11037
|
kind: "manual";
|
|
11038
|
-
input: "
|
|
11038
|
+
input: "none" | "quiz" | "photo";
|
|
11039
11039
|
actor?: "member" | "staff" | undefined;
|
|
11040
11040
|
};
|
|
11041
11041
|
requires: {
|
|
@@ -11055,7 +11055,7 @@ declare function createRelayClient(options: {
|
|
|
11055
11055
|
budgets: {
|
|
11056
11056
|
id: string;
|
|
11057
11057
|
scope: "project" | "member";
|
|
11058
|
-
period: "day" | "
|
|
11058
|
+
period: "day" | "lifetime" | "week";
|
|
11059
11059
|
limit: number;
|
|
11060
11060
|
cost: number | {
|
|
11061
11061
|
balance: string;
|
|
@@ -11066,7 +11066,7 @@ declare function createRelayClient(options: {
|
|
|
11066
11066
|
id: string;
|
|
11067
11067
|
createdAt: number;
|
|
11068
11068
|
legacy: boolean;
|
|
11069
|
-
lifecycle: "
|
|
11069
|
+
lifecycle: "paused" | "active" | "archived";
|
|
11070
11070
|
performance?: {
|
|
11071
11071
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11072
11072
|
maxAgeMs: number;
|
|
@@ -11186,7 +11186,7 @@ declare function createRelayClient(options: {
|
|
|
11186
11186
|
quest: string;
|
|
11187
11187
|
member: string;
|
|
11188
11188
|
evidence: string | null;
|
|
11189
|
-
status: "
|
|
11189
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
11190
11190
|
reason: string | null;
|
|
11191
11191
|
retries: number;
|
|
11192
11192
|
generation: number;
|
|
@@ -11220,17 +11220,17 @@ declare function createRelayClient(options: {
|
|
|
11220
11220
|
})[] | null;
|
|
11221
11221
|
createdAt: number;
|
|
11222
11222
|
input?: {
|
|
11223
|
-
kind: "quiz";
|
|
11224
|
-
answers: {
|
|
11225
|
-
[k: string]: string;
|
|
11226
|
-
};
|
|
11227
|
-
release?: string | undefined;
|
|
11228
|
-
} | {
|
|
11229
11223
|
kind: "text";
|
|
11230
11224
|
value: string;
|
|
11231
11225
|
} | {
|
|
11232
11226
|
kind: "url";
|
|
11233
11227
|
value: string;
|
|
11228
|
+
} | {
|
|
11229
|
+
kind: "quiz";
|
|
11230
|
+
answers: {
|
|
11231
|
+
[k: string]: string;
|
|
11232
|
+
};
|
|
11233
|
+
release?: string | undefined;
|
|
11234
11234
|
} | undefined;
|
|
11235
11235
|
}[];
|
|
11236
11236
|
balances: {
|
|
@@ -11289,12 +11289,12 @@ declare function createRelayClient(options: {
|
|
|
11289
11289
|
kind: "resource";
|
|
11290
11290
|
default: string;
|
|
11291
11291
|
source: {
|
|
11292
|
-
provider: "domino";
|
|
11293
|
-
resource: "point-ledger";
|
|
11294
|
-
} | {
|
|
11295
11292
|
provider: "discord";
|
|
11296
11293
|
resource: "channel";
|
|
11297
11294
|
types: ("text" | "announcement")[];
|
|
11295
|
+
} | {
|
|
11296
|
+
provider: "domino";
|
|
11297
|
+
resource: "point-ledger";
|
|
11298
11298
|
} | {
|
|
11299
11299
|
provider: "discord";
|
|
11300
11300
|
resource: "role";
|
|
@@ -11391,7 +11391,7 @@ declare function createRelayClient(options: {
|
|
|
11391
11391
|
start: number;
|
|
11392
11392
|
end?: number | undefined;
|
|
11393
11393
|
};
|
|
11394
|
-
enrollment: "
|
|
11394
|
+
enrollment: "none" | "required";
|
|
11395
11395
|
posts: "after-enrollment" | "since-start";
|
|
11396
11396
|
historical: "staff" | "automatic" | "claim";
|
|
11397
11397
|
} | undefined;
|
|
@@ -11419,7 +11419,7 @@ declare function createRelayClient(options: {
|
|
|
11419
11419
|
actor?: "member" | "staff" | undefined;
|
|
11420
11420
|
} | {
|
|
11421
11421
|
kind: "manual";
|
|
11422
|
-
input: "
|
|
11422
|
+
input: "none" | "quiz" | "photo";
|
|
11423
11423
|
actor?: "member" | "staff" | undefined;
|
|
11424
11424
|
};
|
|
11425
11425
|
requires: {
|
|
@@ -11439,7 +11439,7 @@ declare function createRelayClient(options: {
|
|
|
11439
11439
|
budgets: {
|
|
11440
11440
|
id: string;
|
|
11441
11441
|
scope: "project" | "member";
|
|
11442
|
-
period: "day" | "
|
|
11442
|
+
period: "day" | "lifetime" | "week";
|
|
11443
11443
|
limit: number;
|
|
11444
11444
|
cost: number | {
|
|
11445
11445
|
balance: string;
|
|
@@ -11450,7 +11450,7 @@ declare function createRelayClient(options: {
|
|
|
11450
11450
|
id: string;
|
|
11451
11451
|
createdAt: number;
|
|
11452
11452
|
legacy: boolean;
|
|
11453
|
-
lifecycle: "
|
|
11453
|
+
lifecycle: "paused" | "active" | "archived";
|
|
11454
11454
|
performance?: {
|
|
11455
11455
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11456
11456
|
maxAgeMs: number;
|
|
@@ -11521,12 +11521,12 @@ declare function createRelayClient(options: {
|
|
|
11521
11521
|
kind: "resource";
|
|
11522
11522
|
default: string;
|
|
11523
11523
|
source: {
|
|
11524
|
-
provider: "domino";
|
|
11525
|
-
resource: "point-ledger";
|
|
11526
|
-
} | {
|
|
11527
11524
|
provider: "discord";
|
|
11528
11525
|
resource: "channel";
|
|
11529
11526
|
types: ("text" | "announcement")[];
|
|
11527
|
+
} | {
|
|
11528
|
+
provider: "domino";
|
|
11529
|
+
resource: "point-ledger";
|
|
11530
11530
|
} | {
|
|
11531
11531
|
provider: "discord";
|
|
11532
11532
|
resource: "role";
|
|
@@ -11623,7 +11623,7 @@ declare function createRelayClient(options: {
|
|
|
11623
11623
|
start: number;
|
|
11624
11624
|
end?: number | undefined;
|
|
11625
11625
|
};
|
|
11626
|
-
enrollment: "
|
|
11626
|
+
enrollment: "none" | "required";
|
|
11627
11627
|
posts: "after-enrollment" | "since-start";
|
|
11628
11628
|
historical: "staff" | "automatic" | "claim";
|
|
11629
11629
|
} | undefined;
|
|
@@ -11651,7 +11651,7 @@ declare function createRelayClient(options: {
|
|
|
11651
11651
|
actor?: "member" | "staff" | undefined;
|
|
11652
11652
|
} | {
|
|
11653
11653
|
kind: "manual";
|
|
11654
|
-
input: "
|
|
11654
|
+
input: "none" | "quiz" | "photo";
|
|
11655
11655
|
actor?: "member" | "staff" | undefined;
|
|
11656
11656
|
};
|
|
11657
11657
|
requires: {
|
|
@@ -11671,7 +11671,7 @@ declare function createRelayClient(options: {
|
|
|
11671
11671
|
budgets: {
|
|
11672
11672
|
id: string;
|
|
11673
11673
|
scope: "project" | "member";
|
|
11674
|
-
period: "day" | "
|
|
11674
|
+
period: "day" | "lifetime" | "week";
|
|
11675
11675
|
limit: number;
|
|
11676
11676
|
cost: number | {
|
|
11677
11677
|
balance: string;
|
|
@@ -11682,7 +11682,7 @@ declare function createRelayClient(options: {
|
|
|
11682
11682
|
id: string;
|
|
11683
11683
|
createdAt: number;
|
|
11684
11684
|
legacy: boolean;
|
|
11685
|
-
lifecycle: "
|
|
11685
|
+
lifecycle: "paused" | "active" | "archived";
|
|
11686
11686
|
performance?: {
|
|
11687
11687
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11688
11688
|
maxAgeMs: number;
|
|
@@ -11738,7 +11738,7 @@ declare function createRelayClient(options: {
|
|
|
11738
11738
|
} | undefined;
|
|
11739
11739
|
} | undefined;
|
|
11740
11740
|
};
|
|
11741
|
-
connections: ("
|
|
11741
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
11742
11742
|
trigger: {
|
|
11743
11743
|
kind: "automatic";
|
|
11744
11744
|
observation?: {
|
|
@@ -11751,7 +11751,7 @@ declare function createRelayClient(options: {
|
|
|
11751
11751
|
start: number;
|
|
11752
11752
|
end?: number | undefined;
|
|
11753
11753
|
};
|
|
11754
|
-
enrollment: "
|
|
11754
|
+
enrollment: "none" | "required";
|
|
11755
11755
|
posts: "after-enrollment" | "since-start";
|
|
11756
11756
|
historical: "staff" | "automatic" | "claim";
|
|
11757
11757
|
} | undefined;
|
|
@@ -11779,12 +11779,12 @@ declare function createRelayClient(options: {
|
|
|
11779
11779
|
actor?: "member" | "staff" | undefined;
|
|
11780
11780
|
} | {
|
|
11781
11781
|
kind: "manual";
|
|
11782
|
-
input: "
|
|
11782
|
+
input: "none" | "quiz" | "photo";
|
|
11783
11783
|
actor?: "member" | "staff" | undefined;
|
|
11784
11784
|
};
|
|
11785
11785
|
availability: {
|
|
11786
11786
|
kind: "available";
|
|
11787
|
-
input: "
|
|
11787
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
11788
11788
|
} | {
|
|
11789
11789
|
kind: "completed";
|
|
11790
11790
|
} | {
|
|
@@ -11833,7 +11833,7 @@ declare function createRelayClient(options: {
|
|
|
11833
11833
|
quest: string;
|
|
11834
11834
|
member: string;
|
|
11835
11835
|
evidence: string | null;
|
|
11836
|
-
status: "
|
|
11836
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
11837
11837
|
reason: string | null;
|
|
11838
11838
|
retries: number;
|
|
11839
11839
|
generation: number;
|
|
@@ -11867,17 +11867,17 @@ declare function createRelayClient(options: {
|
|
|
11867
11867
|
})[] | null;
|
|
11868
11868
|
createdAt: number;
|
|
11869
11869
|
input?: {
|
|
11870
|
-
kind: "quiz";
|
|
11871
|
-
answers: {
|
|
11872
|
-
[k: string]: string;
|
|
11873
|
-
};
|
|
11874
|
-
release?: string | undefined;
|
|
11875
|
-
} | {
|
|
11876
11870
|
kind: "text";
|
|
11877
11871
|
value: string;
|
|
11878
11872
|
} | {
|
|
11879
11873
|
kind: "url";
|
|
11880
11874
|
value: string;
|
|
11875
|
+
} | {
|
|
11876
|
+
kind: "quiz";
|
|
11877
|
+
answers: {
|
|
11878
|
+
[k: string]: string;
|
|
11879
|
+
};
|
|
11880
|
+
release?: string | undefined;
|
|
11881
11881
|
} | undefined;
|
|
11882
11882
|
} | null;
|
|
11883
11883
|
key?: string | undefined;
|
|
@@ -12261,14 +12261,14 @@ declare function createRelayClient(options: {
|
|
|
12261
12261
|
content: {
|
|
12262
12262
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
12263
12263
|
current: {
|
|
12264
|
-
state: "
|
|
12264
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
|
|
12265
12265
|
reason: string | null;
|
|
12266
12266
|
contentAttempt: string;
|
|
12267
12267
|
attempt: string | null;
|
|
12268
12268
|
reward: {
|
|
12269
12269
|
attempt: string | null;
|
|
12270
12270
|
completion: string | null;
|
|
12271
|
-
state: "
|
|
12271
|
+
state: "excluded" | "unresolved" | "awarded";
|
|
12272
12272
|
};
|
|
12273
12273
|
};
|
|
12274
12274
|
items: {
|
|
@@ -12277,7 +12277,7 @@ declare function createRelayClient(options: {
|
|
|
12277
12277
|
observation: string;
|
|
12278
12278
|
observedAt: number;
|
|
12279
12279
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
12280
|
-
state: "
|
|
12280
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
|
|
12281
12281
|
reason: string | null;
|
|
12282
12282
|
}[];
|
|
12283
12283
|
next: number | null;
|
|
@@ -12292,12 +12292,12 @@ declare function createRelayClient(options: {
|
|
|
12292
12292
|
revision: string;
|
|
12293
12293
|
observation: string;
|
|
12294
12294
|
current: boolean;
|
|
12295
|
-
state: "
|
|
12295
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
|
|
12296
12296
|
reason: string | null;
|
|
12297
12297
|
reward: {
|
|
12298
12298
|
attempt: string | null;
|
|
12299
12299
|
completion: string | null;
|
|
12300
|
-
state: "
|
|
12300
|
+
state: "excluded" | "unresolved" | "awarded";
|
|
12301
12301
|
};
|
|
12302
12302
|
}[];
|
|
12303
12303
|
next: number | null;
|
|
@@ -12307,7 +12307,7 @@ declare function createRelayClient(options: {
|
|
|
12307
12307
|
quest: string;
|
|
12308
12308
|
content: string;
|
|
12309
12309
|
release: string;
|
|
12310
|
-
state: "
|
|
12310
|
+
state: "admitted" | "pending" | "excluded";
|
|
12311
12311
|
reason: string | null;
|
|
12312
12312
|
attempt: string | null;
|
|
12313
12313
|
}[];
|
|
@@ -12322,7 +12322,7 @@ declare function createRelayClient(options: {
|
|
|
12322
12322
|
quest: string;
|
|
12323
12323
|
content: string;
|
|
12324
12324
|
release: string;
|
|
12325
|
-
state: "
|
|
12325
|
+
state: "admitted" | "pending" | "excluded";
|
|
12326
12326
|
reason: string | null;
|
|
12327
12327
|
attempt: string | null;
|
|
12328
12328
|
}>;
|
|
@@ -12333,7 +12333,7 @@ declare function createRelayClient(options: {
|
|
|
12333
12333
|
quest: string;
|
|
12334
12334
|
member: string;
|
|
12335
12335
|
evidence: string | null;
|
|
12336
|
-
status: "
|
|
12336
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
12337
12337
|
reason: string | null;
|
|
12338
12338
|
retries: number;
|
|
12339
12339
|
generation: number;
|
|
@@ -12367,17 +12367,17 @@ declare function createRelayClient(options: {
|
|
|
12367
12367
|
})[] | null;
|
|
12368
12368
|
createdAt: number;
|
|
12369
12369
|
input?: {
|
|
12370
|
-
kind: "quiz";
|
|
12371
|
-
answers: {
|
|
12372
|
-
[k: string]: string;
|
|
12373
|
-
};
|
|
12374
|
-
release?: string | undefined;
|
|
12375
|
-
} | {
|
|
12376
12370
|
kind: "text";
|
|
12377
12371
|
value: string;
|
|
12378
12372
|
} | {
|
|
12379
12373
|
kind: "url";
|
|
12380
12374
|
value: string;
|
|
12375
|
+
} | {
|
|
12376
|
+
kind: "quiz";
|
|
12377
|
+
answers: {
|
|
12378
|
+
[k: string]: string;
|
|
12379
|
+
};
|
|
12380
|
+
release?: string | undefined;
|
|
12381
12381
|
} | undefined;
|
|
12382
12382
|
}>;
|
|
12383
12383
|
retry: (id: string) => Promise<{
|
|
@@ -12386,7 +12386,7 @@ declare function createRelayClient(options: {
|
|
|
12386
12386
|
quest: string;
|
|
12387
12387
|
member: string;
|
|
12388
12388
|
evidence: string | null;
|
|
12389
|
-
status: "
|
|
12389
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
12390
12390
|
reason: string | null;
|
|
12391
12391
|
retries: number;
|
|
12392
12392
|
generation: number;
|
|
@@ -12420,17 +12420,17 @@ declare function createRelayClient(options: {
|
|
|
12420
12420
|
})[] | null;
|
|
12421
12421
|
createdAt: number;
|
|
12422
12422
|
input?: {
|
|
12423
|
-
kind: "quiz";
|
|
12424
|
-
answers: {
|
|
12425
|
-
[k: string]: string;
|
|
12426
|
-
};
|
|
12427
|
-
release?: string | undefined;
|
|
12428
|
-
} | {
|
|
12429
12423
|
kind: "text";
|
|
12430
12424
|
value: string;
|
|
12431
12425
|
} | {
|
|
12432
12426
|
kind: "url";
|
|
12433
12427
|
value: string;
|
|
12428
|
+
} | {
|
|
12429
|
+
kind: "quiz";
|
|
12430
|
+
answers: {
|
|
12431
|
+
[k: string]: string;
|
|
12432
|
+
};
|
|
12433
|
+
release?: string | undefined;
|
|
12434
12434
|
} | undefined;
|
|
12435
12435
|
}>;
|
|
12436
12436
|
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
@@ -12445,7 +12445,7 @@ declare function createRelayClient(options: {
|
|
|
12445
12445
|
quest: string;
|
|
12446
12446
|
member: string;
|
|
12447
12447
|
evidence: string | null;
|
|
12448
|
-
status: "
|
|
12448
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
12449
12449
|
reason: string | null;
|
|
12450
12450
|
retries: number;
|
|
12451
12451
|
generation: number;
|
|
@@ -12479,17 +12479,17 @@ declare function createRelayClient(options: {
|
|
|
12479
12479
|
})[] | null;
|
|
12480
12480
|
createdAt: number;
|
|
12481
12481
|
input?: {
|
|
12482
|
-
kind: "quiz";
|
|
12483
|
-
answers: {
|
|
12484
|
-
[k: string]: string;
|
|
12485
|
-
};
|
|
12486
|
-
release?: string | undefined;
|
|
12487
|
-
} | {
|
|
12488
12482
|
kind: "text";
|
|
12489
12483
|
value: string;
|
|
12490
12484
|
} | {
|
|
12491
12485
|
kind: "url";
|
|
12492
12486
|
value: string;
|
|
12487
|
+
} | {
|
|
12488
|
+
kind: "quiz";
|
|
12489
|
+
answers: {
|
|
12490
|
+
[k: string]: string;
|
|
12491
|
+
};
|
|
12492
|
+
release?: string | undefined;
|
|
12493
12493
|
} | undefined;
|
|
12494
12494
|
}>;
|
|
12495
12495
|
};
|