@domino-sdk/relay 1.0.0-next.13 → 1.0.0-next.14
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/authoring.d.ts +12 -12
- package/dist/authoring.js +1 -1
- package/dist/browser.d.ts +80 -80
- package/dist/browser.js +4 -4
- package/dist/{chunk-EZWNGI5B.js → chunk-F5OCJE52.js} +2 -2
- package/dist/{chunk-WQ24ILGO.js → chunk-FWRP6YAQ.js} +7 -3
- package/dist/{chunk-KS33GOUL.js → chunk-HAOW4ERY.js} +2 -2
- package/dist/{chunk-M64XHC42.js → chunk-K4ANDR6G.js} +1 -1
- package/dist/{chunk-OA2KMQVZ.js → chunk-TLGCEVG5.js} +10 -0
- package/dist/{deployments-CNCP0JnD.d.ts → deployments-gbA8IZCK.d.ts} +106 -106
- package/dist/index.js +3 -3
- package/dist/react/index.d.ts +434 -600
- package/dist/react/index.js +1187 -807
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +3 -3
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -3
- package/package.json +4 -2
|
@@ -74,12 +74,6 @@ declare const projectCalendarDeclarationSchema: z.ZodObject<{
|
|
|
74
74
|
|
|
75
75
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
76
76
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
77
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
78
|
-
code: z.ZodString;
|
|
79
|
-
provider: z.ZodEnum<{
|
|
80
|
-
"workers-ai": "workers-ai";
|
|
81
|
-
}>;
|
|
82
|
-
}, z.core.$strip>>>;
|
|
83
77
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
84
78
|
title: z.ZodString;
|
|
85
79
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -88,19 +82,25 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
88
82
|
title: string;
|
|
89
83
|
key?: string | undefined;
|
|
90
84
|
id?: string | undefined;
|
|
91
|
-
}, "
|
|
85
|
+
}, "key" | "id"> & {
|
|
92
86
|
key: string;
|
|
93
87
|
}, {
|
|
94
88
|
title: string;
|
|
95
89
|
key?: string | undefined;
|
|
96
90
|
id?: string | undefined;
|
|
97
91
|
}>>>>;
|
|
92
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
93
|
+
code: z.ZodString;
|
|
94
|
+
provider: z.ZodEnum<{
|
|
95
|
+
"workers-ai": "workers-ai";
|
|
96
|
+
}>;
|
|
97
|
+
}, z.core.$strip>>>;
|
|
98
98
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
99
|
-
|
|
99
|
+
quiz: "quiz";
|
|
100
100
|
url: "url";
|
|
101
|
+
text: "text";
|
|
101
102
|
staff: "staff";
|
|
102
103
|
photo: "photo";
|
|
103
|
-
quiz: "quiz";
|
|
104
104
|
automatic: "automatic";
|
|
105
105
|
claim: "claim";
|
|
106
106
|
}>>>;
|
|
@@ -117,10 +117,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
117
117
|
kind: z.ZodLiteral<"custom">;
|
|
118
118
|
namespace: z.ZodString;
|
|
119
119
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
120
|
-
discord: "discord";
|
|
121
|
-
wallet: "wallet";
|
|
122
120
|
x: "x";
|
|
121
|
+
discord: "discord";
|
|
123
122
|
member: "member";
|
|
123
|
+
wallet: "wallet";
|
|
124
124
|
}>>>;
|
|
125
125
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
126
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -330,7 +330,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
330
330
|
inviterGroup?: string | undefined;
|
|
331
331
|
key?: string | undefined;
|
|
332
332
|
id?: string | undefined;
|
|
333
|
-
}, "
|
|
333
|
+
}, "key" | "id"> & {
|
|
334
334
|
key: string;
|
|
335
335
|
}, {
|
|
336
336
|
title: string;
|
|
@@ -431,8 +431,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
431
431
|
code: z.ZodString;
|
|
432
432
|
}, z.core.$strict>]>>>;
|
|
433
433
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
434
|
-
balance: z.ZodString;
|
|
435
434
|
title: z.ZodString;
|
|
435
|
+
balance: z.ZodString;
|
|
436
436
|
group: z.ZodOptional<z.ZodString>;
|
|
437
437
|
access: z.ZodDefault<z.ZodEnum<{
|
|
438
438
|
participants: "participants";
|
|
@@ -483,8 +483,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
483
483
|
key: z.ZodOptional<z.ZodString>;
|
|
484
484
|
id: z.ZodOptional<z.ZodString>;
|
|
485
485
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
486
|
-
balance: string;
|
|
487
486
|
title: string;
|
|
487
|
+
balance: string;
|
|
488
488
|
access: "participants" | "public";
|
|
489
489
|
score: {
|
|
490
490
|
kind: "balance";
|
|
@@ -523,11 +523,11 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
523
523
|
group?: string | undefined;
|
|
524
524
|
key?: string | undefined;
|
|
525
525
|
id?: string | undefined;
|
|
526
|
-
}, "
|
|
526
|
+
}, "key" | "id"> & {
|
|
527
527
|
key: string;
|
|
528
528
|
}, {
|
|
529
|
-
balance: string;
|
|
530
529
|
title: string;
|
|
530
|
+
balance: string;
|
|
531
531
|
access: "participants" | "public";
|
|
532
532
|
score: {
|
|
533
533
|
kind: "balance";
|
|
@@ -581,12 +581,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
581
581
|
}, z.core.$strict>;
|
|
582
582
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
583
583
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
584
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
585
|
-
code: z.ZodString;
|
|
586
|
-
provider: z.ZodEnum<{
|
|
587
|
-
"workers-ai": "workers-ai";
|
|
588
|
-
}>;
|
|
589
|
-
}, z.core.$strip>>>;
|
|
590
584
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
591
585
|
title: z.ZodString;
|
|
592
586
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -595,19 +589,25 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
595
589
|
title: string;
|
|
596
590
|
key?: string | undefined;
|
|
597
591
|
id?: string | undefined;
|
|
598
|
-
}, "
|
|
592
|
+
}, "key" | "id"> & {
|
|
599
593
|
key: string;
|
|
600
594
|
}, {
|
|
601
595
|
title: string;
|
|
602
596
|
key?: string | undefined;
|
|
603
597
|
id?: string | undefined;
|
|
604
598
|
}>>>>;
|
|
599
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
600
|
+
code: z.ZodString;
|
|
601
|
+
provider: z.ZodEnum<{
|
|
602
|
+
"workers-ai": "workers-ai";
|
|
603
|
+
}>;
|
|
604
|
+
}, z.core.$strip>>>;
|
|
605
605
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
606
|
-
|
|
606
|
+
quiz: "quiz";
|
|
607
607
|
url: "url";
|
|
608
|
+
text: "text";
|
|
608
609
|
staff: "staff";
|
|
609
610
|
photo: "photo";
|
|
610
|
-
quiz: "quiz";
|
|
611
611
|
automatic: "automatic";
|
|
612
612
|
claim: "claim";
|
|
613
613
|
}>>>;
|
|
@@ -624,10 +624,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
624
624
|
kind: z.ZodLiteral<"custom">;
|
|
625
625
|
namespace: z.ZodString;
|
|
626
626
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
627
|
-
discord: "discord";
|
|
628
|
-
wallet: "wallet";
|
|
629
627
|
x: "x";
|
|
628
|
+
discord: "discord";
|
|
630
629
|
member: "member";
|
|
630
|
+
wallet: "wallet";
|
|
631
631
|
}>>>;
|
|
632
632
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
633
633
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -837,7 +837,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
837
837
|
inviterGroup?: string | undefined;
|
|
838
838
|
key?: string | undefined;
|
|
839
839
|
id?: string | undefined;
|
|
840
|
-
}, "
|
|
840
|
+
}, "key" | "id"> & {
|
|
841
841
|
key: string;
|
|
842
842
|
}, {
|
|
843
843
|
title: string;
|
|
@@ -938,8 +938,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
938
938
|
code: z.ZodString;
|
|
939
939
|
}, z.core.$strict>]>>>;
|
|
940
940
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
941
|
-
balance: z.ZodString;
|
|
942
941
|
title: z.ZodString;
|
|
942
|
+
balance: z.ZodString;
|
|
943
943
|
group: z.ZodOptional<z.ZodString>;
|
|
944
944
|
access: z.ZodDefault<z.ZodEnum<{
|
|
945
945
|
participants: "participants";
|
|
@@ -990,8 +990,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
990
990
|
key: z.ZodOptional<z.ZodString>;
|
|
991
991
|
id: z.ZodOptional<z.ZodString>;
|
|
992
992
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
993
|
-
balance: string;
|
|
994
993
|
title: string;
|
|
994
|
+
balance: string;
|
|
995
995
|
access: "participants" | "public";
|
|
996
996
|
score: {
|
|
997
997
|
kind: "balance";
|
|
@@ -1030,11 +1030,11 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
1030
1030
|
group?: string | undefined;
|
|
1031
1031
|
key?: string | undefined;
|
|
1032
1032
|
id?: string | undefined;
|
|
1033
|
-
}, "
|
|
1033
|
+
}, "key" | "id"> & {
|
|
1034
1034
|
key: string;
|
|
1035
1035
|
}, {
|
|
1036
|
-
balance: string;
|
|
1037
1036
|
title: string;
|
|
1037
|
+
balance: string;
|
|
1038
1038
|
access: "participants" | "public";
|
|
1039
1039
|
score: {
|
|
1040
1040
|
kind: "balance";
|
|
@@ -1129,8 +1129,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1129
1129
|
project: "project";
|
|
1130
1130
|
}>;
|
|
1131
1131
|
period: z.ZodEnum<{
|
|
1132
|
-
lifetime: "lifetime";
|
|
1133
1132
|
day: "day";
|
|
1133
|
+
lifetime: "lifetime";
|
|
1134
1134
|
week: "week";
|
|
1135
1135
|
month: "month";
|
|
1136
1136
|
}>;
|
|
@@ -1164,8 +1164,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1164
1164
|
project: "project";
|
|
1165
1165
|
}>;
|
|
1166
1166
|
period: z.ZodEnum<{
|
|
1167
|
-
lifetime: "lifetime";
|
|
1168
1167
|
day: "day";
|
|
1168
|
+
lifetime: "lifetime";
|
|
1169
1169
|
week: "week";
|
|
1170
1170
|
month: "month";
|
|
1171
1171
|
}>;
|
|
@@ -1199,8 +1199,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1199
1199
|
project: "project";
|
|
1200
1200
|
}>;
|
|
1201
1201
|
period: z.ZodEnum<{
|
|
1202
|
-
lifetime: "lifetime";
|
|
1203
1202
|
day: "day";
|
|
1203
|
+
lifetime: "lifetime";
|
|
1204
1204
|
week: "week";
|
|
1205
1205
|
month: "month";
|
|
1206
1206
|
}>;
|
|
@@ -1235,8 +1235,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1235
1235
|
project: "project";
|
|
1236
1236
|
}>;
|
|
1237
1237
|
period: z.ZodEnum<{
|
|
1238
|
-
lifetime: "lifetime";
|
|
1239
1238
|
day: "day";
|
|
1239
|
+
lifetime: "lifetime";
|
|
1240
1240
|
week: "week";
|
|
1241
1241
|
month: "month";
|
|
1242
1242
|
}>;
|
|
@@ -1270,10 +1270,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1270
1270
|
kind: z.ZodLiteral<"custom">;
|
|
1271
1271
|
namespace: z.ZodString;
|
|
1272
1272
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1273
|
-
discord: "discord";
|
|
1274
|
-
wallet: "wallet";
|
|
1275
1273
|
x: "x";
|
|
1274
|
+
discord: "discord";
|
|
1276
1275
|
member: "member";
|
|
1276
|
+
wallet: "wallet";
|
|
1277
1277
|
}>>>;
|
|
1278
1278
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1279
1279
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -1438,8 +1438,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1438
1438
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
1439
1439
|
}, z.core.$strict>;
|
|
1440
1440
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1441
|
-
staff: "staff";
|
|
1442
1441
|
member: "member";
|
|
1442
|
+
staff: "staff";
|
|
1443
1443
|
}>>;
|
|
1444
1444
|
}, z.core.$strict>, z.ZodObject<{
|
|
1445
1445
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1449,19 +1449,19 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1449
1449
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1450
1450
|
}, z.core.$strict>;
|
|
1451
1451
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1452
|
-
staff: "staff";
|
|
1453
1452
|
member: "member";
|
|
1453
|
+
staff: "staff";
|
|
1454
1454
|
}>>;
|
|
1455
1455
|
}, z.core.$strict>, z.ZodObject<{
|
|
1456
1456
|
kind: z.ZodLiteral<"manual">;
|
|
1457
1457
|
input: z.ZodEnum<{
|
|
1458
|
-
photo: "photo";
|
|
1459
1458
|
quiz: "quiz";
|
|
1459
|
+
photo: "photo";
|
|
1460
1460
|
none: "none";
|
|
1461
1461
|
}>;
|
|
1462
1462
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1463
|
-
staff: "staff";
|
|
1464
1463
|
member: "member";
|
|
1464
|
+
staff: "staff";
|
|
1465
1465
|
}>>;
|
|
1466
1466
|
}, z.core.$strict>, z.ZodObject<{
|
|
1467
1467
|
kind: z.ZodLiteral<"automatic">;
|
|
@@ -1553,8 +1553,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1553
1553
|
quest: z.ZodString;
|
|
1554
1554
|
}, z.core.$strip>>>;
|
|
1555
1555
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1556
|
-
visible: "visible";
|
|
1557
1556
|
hidden: "hidden";
|
|
1557
|
+
visible: "visible";
|
|
1558
1558
|
}>>;
|
|
1559
1559
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1560
1560
|
visible: z.ZodBoolean;
|
|
@@ -1566,8 +1566,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1566
1566
|
project: "project";
|
|
1567
1567
|
}>;
|
|
1568
1568
|
period: z.ZodEnum<{
|
|
1569
|
-
lifetime: "lifetime";
|
|
1570
1569
|
day: "day";
|
|
1570
|
+
lifetime: "lifetime";
|
|
1571
1571
|
week: "week";
|
|
1572
1572
|
month: "month";
|
|
1573
1573
|
}>;
|
|
@@ -1600,8 +1600,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1600
1600
|
typeVersion: z.ZodString;
|
|
1601
1601
|
}, z.core.$strict>>;
|
|
1602
1602
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1603
|
-
paused: "paused";
|
|
1604
1603
|
active: "active";
|
|
1604
|
+
paused: "paused";
|
|
1605
1605
|
archived: "archived";
|
|
1606
1606
|
}>>;
|
|
1607
1607
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -1706,12 +1706,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1706
1706
|
kind: "resource";
|
|
1707
1707
|
default: string;
|
|
1708
1708
|
source: {
|
|
1709
|
-
provider: "domino";
|
|
1710
|
-
resource: "point-ledger";
|
|
1711
|
-
} | {
|
|
1712
1709
|
provider: "discord";
|
|
1713
1710
|
resource: "channel";
|
|
1714
1711
|
types: ("text" | "announcement")[];
|
|
1712
|
+
} | {
|
|
1713
|
+
provider: "domino";
|
|
1714
|
+
resource: "point-ledger";
|
|
1715
1715
|
} | {
|
|
1716
1716
|
provider: "discord";
|
|
1717
1717
|
resource: "role";
|
|
@@ -1861,7 +1861,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1861
1861
|
minLength: number;
|
|
1862
1862
|
maxLength: number;
|
|
1863
1863
|
};
|
|
1864
|
-
actor?: "
|
|
1864
|
+
actor?: "member" | "staff" | undefined;
|
|
1865
1865
|
} | {
|
|
1866
1866
|
kind: "manual";
|
|
1867
1867
|
input: "url";
|
|
@@ -1869,20 +1869,20 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1869
1869
|
required: boolean;
|
|
1870
1870
|
allowedHosts?: string[] | undefined;
|
|
1871
1871
|
};
|
|
1872
|
-
actor?: "
|
|
1872
|
+
actor?: "member" | "staff" | undefined;
|
|
1873
1873
|
} | {
|
|
1874
1874
|
kind: "manual";
|
|
1875
|
-
input: "
|
|
1876
|
-
actor?: "
|
|
1875
|
+
input: "quiz" | "photo" | "none";
|
|
1876
|
+
actor?: "member" | "staff" | undefined;
|
|
1877
1877
|
};
|
|
1878
1878
|
requires: {
|
|
1879
1879
|
quest: string;
|
|
1880
1880
|
}[];
|
|
1881
|
-
visibility: "
|
|
1881
|
+
visibility: "hidden" | "visible";
|
|
1882
1882
|
budgets: {
|
|
1883
1883
|
id: string;
|
|
1884
1884
|
scope: "member" | "project";
|
|
1885
|
-
period: "
|
|
1885
|
+
period: "day" | "lifetime" | "week" | "month";
|
|
1886
1886
|
limit: number;
|
|
1887
1887
|
cost: number | {
|
|
1888
1888
|
balance: string;
|
|
@@ -1901,7 +1901,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1901
1901
|
id: string;
|
|
1902
1902
|
createdAt: number;
|
|
1903
1903
|
legacy: boolean;
|
|
1904
|
-
lifecycle: "
|
|
1904
|
+
lifecycle: "active" | "paused" | "archived";
|
|
1905
1905
|
performance?: {
|
|
1906
1906
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
1907
1907
|
maxAgeMs: number;
|
|
@@ -2119,8 +2119,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2119
2119
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
2120
2120
|
}, z.core.$strict>;
|
|
2121
2121
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2122
|
-
staff: "staff";
|
|
2123
2122
|
member: "member";
|
|
2123
|
+
staff: "staff";
|
|
2124
2124
|
}>>;
|
|
2125
2125
|
}, z.core.$strict>, z.ZodObject<{
|
|
2126
2126
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2130,19 +2130,19 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2130
2130
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2131
2131
|
}, z.core.$strict>;
|
|
2132
2132
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2133
|
-
staff: "staff";
|
|
2134
2133
|
member: "member";
|
|
2134
|
+
staff: "staff";
|
|
2135
2135
|
}>>;
|
|
2136
2136
|
}, z.core.$strict>, z.ZodObject<{
|
|
2137
2137
|
kind: z.ZodLiteral<"manual">;
|
|
2138
2138
|
input: z.ZodEnum<{
|
|
2139
|
-
photo: "photo";
|
|
2140
2139
|
quiz: "quiz";
|
|
2140
|
+
photo: "photo";
|
|
2141
2141
|
none: "none";
|
|
2142
2142
|
}>;
|
|
2143
2143
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2144
|
-
staff: "staff";
|
|
2145
2144
|
member: "member";
|
|
2145
|
+
staff: "staff";
|
|
2146
2146
|
}>>;
|
|
2147
2147
|
}, z.core.$strict>, z.ZodObject<{
|
|
2148
2148
|
kind: z.ZodLiteral<"automatic">;
|
|
@@ -2234,8 +2234,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2234
2234
|
quest: z.ZodString;
|
|
2235
2235
|
}, z.core.$strip>>>;
|
|
2236
2236
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2237
|
-
visible: "visible";
|
|
2238
2237
|
hidden: "hidden";
|
|
2238
|
+
visible: "visible";
|
|
2239
2239
|
}>>;
|
|
2240
2240
|
profile: z.ZodOptional<z.ZodObject<{
|
|
2241
2241
|
visible: z.ZodBoolean;
|
|
@@ -2247,8 +2247,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2247
2247
|
project: "project";
|
|
2248
2248
|
}>;
|
|
2249
2249
|
period: z.ZodEnum<{
|
|
2250
|
-
lifetime: "lifetime";
|
|
2251
2250
|
day: "day";
|
|
2251
|
+
lifetime: "lifetime";
|
|
2252
2252
|
week: "week";
|
|
2253
2253
|
month: "month";
|
|
2254
2254
|
}>;
|
|
@@ -2282,11 +2282,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2282
2282
|
quests: z.ZodArray<z.ZodString>;
|
|
2283
2283
|
}, z.core.$strict>>;
|
|
2284
2284
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
2285
|
-
|
|
2285
|
+
quiz: "quiz";
|
|
2286
2286
|
url: "url";
|
|
2287
|
+
text: "text";
|
|
2287
2288
|
staff: "staff";
|
|
2288
2289
|
photo: "photo";
|
|
2289
|
-
quiz: "quiz";
|
|
2290
2290
|
automatic: "automatic";
|
|
2291
2291
|
claim: "claim";
|
|
2292
2292
|
}>>;
|
|
@@ -2482,8 +2482,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2482
2482
|
}, z.core.$strip>, z.ZodObject<{
|
|
2483
2483
|
source: z.ZodLiteral<"account">;
|
|
2484
2484
|
provider: z.ZodEnum<{
|
|
2485
|
-
discord: "discord";
|
|
2486
2485
|
x: "x";
|
|
2486
|
+
discord: "discord";
|
|
2487
2487
|
google: "google";
|
|
2488
2488
|
}>;
|
|
2489
2489
|
url: z.ZodString;
|
|
@@ -2510,8 +2510,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2510
2510
|
}, z.core.$strip>, z.ZodObject<{
|
|
2511
2511
|
source: z.ZodLiteral<"account">;
|
|
2512
2512
|
provider: z.ZodEnum<{
|
|
2513
|
-
discord: "discord";
|
|
2514
2513
|
x: "x";
|
|
2514
|
+
discord: "discord";
|
|
2515
2515
|
google: "google";
|
|
2516
2516
|
}>;
|
|
2517
2517
|
url: z.ZodString;
|
|
@@ -2538,8 +2538,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2538
2538
|
}, z.core.$strip>, z.ZodObject<{
|
|
2539
2539
|
source: z.ZodLiteral<"account">;
|
|
2540
2540
|
provider: z.ZodEnum<{
|
|
2541
|
-
discord: "discord";
|
|
2542
2541
|
x: "x";
|
|
2542
|
+
discord: "discord";
|
|
2543
2543
|
google: "google";
|
|
2544
2544
|
}>;
|
|
2545
2545
|
url: z.ZodString;
|
|
@@ -2584,8 +2584,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2584
2584
|
}, z.core.$strip>, z.ZodObject<{
|
|
2585
2585
|
source: z.ZodLiteral<"account">;
|
|
2586
2586
|
provider: z.ZodEnum<{
|
|
2587
|
-
discord: "discord";
|
|
2588
2587
|
x: "x";
|
|
2588
|
+
discord: "discord";
|
|
2589
2589
|
google: "google";
|
|
2590
2590
|
}>;
|
|
2591
2591
|
url: z.ZodString;
|
|
@@ -2612,8 +2612,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2612
2612
|
}, z.core.$strip>, z.ZodObject<{
|
|
2613
2613
|
source: z.ZodLiteral<"account">;
|
|
2614
2614
|
provider: z.ZodEnum<{
|
|
2615
|
-
discord: "discord";
|
|
2616
2615
|
x: "x";
|
|
2616
|
+
discord: "discord";
|
|
2617
2617
|
google: "google";
|
|
2618
2618
|
}>;
|
|
2619
2619
|
url: z.ZodString;
|
|
@@ -2640,8 +2640,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2640
2640
|
}, z.core.$strip>, z.ZodObject<{
|
|
2641
2641
|
source: z.ZodLiteral<"account">;
|
|
2642
2642
|
provider: z.ZodEnum<{
|
|
2643
|
-
discord: "discord";
|
|
2644
2643
|
x: "x";
|
|
2644
|
+
discord: "discord";
|
|
2645
2645
|
google: "google";
|
|
2646
2646
|
}>;
|
|
2647
2647
|
url: z.ZodString;
|
|
@@ -2701,8 +2701,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2701
2701
|
project: "project";
|
|
2702
2702
|
}>;
|
|
2703
2703
|
period: z.ZodEnum<{
|
|
2704
|
-
lifetime: "lifetime";
|
|
2705
2704
|
day: "day";
|
|
2705
|
+
lifetime: "lifetime";
|
|
2706
2706
|
week: "week";
|
|
2707
2707
|
month: "month";
|
|
2708
2708
|
}>;
|
|
@@ -2736,8 +2736,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2736
2736
|
project: "project";
|
|
2737
2737
|
}>;
|
|
2738
2738
|
period: z.ZodEnum<{
|
|
2739
|
-
lifetime: "lifetime";
|
|
2740
2739
|
day: "day";
|
|
2740
|
+
lifetime: "lifetime";
|
|
2741
2741
|
week: "week";
|
|
2742
2742
|
month: "month";
|
|
2743
2743
|
}>;
|
|
@@ -2771,8 +2771,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2771
2771
|
project: "project";
|
|
2772
2772
|
}>;
|
|
2773
2773
|
period: z.ZodEnum<{
|
|
2774
|
-
lifetime: "lifetime";
|
|
2775
2774
|
day: "day";
|
|
2775
|
+
lifetime: "lifetime";
|
|
2776
2776
|
week: "week";
|
|
2777
2777
|
month: "month";
|
|
2778
2778
|
}>;
|
|
@@ -2807,8 +2807,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2807
2807
|
project: "project";
|
|
2808
2808
|
}>;
|
|
2809
2809
|
period: z.ZodEnum<{
|
|
2810
|
-
lifetime: "lifetime";
|
|
2811
2810
|
day: "day";
|
|
2811
|
+
lifetime: "lifetime";
|
|
2812
2812
|
week: "week";
|
|
2813
2813
|
month: "month";
|
|
2814
2814
|
}>;
|
|
@@ -2842,10 +2842,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2842
2842
|
kind: z.ZodLiteral<"custom">;
|
|
2843
2843
|
namespace: z.ZodString;
|
|
2844
2844
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2845
|
-
discord: "discord";
|
|
2846
|
-
wallet: "wallet";
|
|
2847
2845
|
x: "x";
|
|
2846
|
+
discord: "discord";
|
|
2848
2847
|
member: "member";
|
|
2848
|
+
wallet: "wallet";
|
|
2849
2849
|
}>>>;
|
|
2850
2850
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2851
2851
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
@@ -3010,8 +3010,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3010
3010
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
3011
3011
|
}, z.core.$strict>;
|
|
3012
3012
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3013
|
-
staff: "staff";
|
|
3014
3013
|
member: "member";
|
|
3014
|
+
staff: "staff";
|
|
3015
3015
|
}>>;
|
|
3016
3016
|
}, z.core.$strict>, z.ZodObject<{
|
|
3017
3017
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3021,19 +3021,19 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3021
3021
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3022
3022
|
}, z.core.$strict>;
|
|
3023
3023
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3024
|
-
staff: "staff";
|
|
3025
3024
|
member: "member";
|
|
3025
|
+
staff: "staff";
|
|
3026
3026
|
}>>;
|
|
3027
3027
|
}, z.core.$strict>, z.ZodObject<{
|
|
3028
3028
|
kind: z.ZodLiteral<"manual">;
|
|
3029
3029
|
input: z.ZodEnum<{
|
|
3030
|
-
photo: "photo";
|
|
3031
3030
|
quiz: "quiz";
|
|
3031
|
+
photo: "photo";
|
|
3032
3032
|
none: "none";
|
|
3033
3033
|
}>;
|
|
3034
3034
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3035
|
-
staff: "staff";
|
|
3036
3035
|
member: "member";
|
|
3036
|
+
staff: "staff";
|
|
3037
3037
|
}>>;
|
|
3038
3038
|
}, z.core.$strict>, z.ZodObject<{
|
|
3039
3039
|
kind: z.ZodLiteral<"automatic">;
|
|
@@ -3125,8 +3125,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3125
3125
|
quest: z.ZodString;
|
|
3126
3126
|
}, z.core.$strip>>>;
|
|
3127
3127
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3128
|
-
visible: "visible";
|
|
3129
3128
|
hidden: "hidden";
|
|
3129
|
+
visible: "visible";
|
|
3130
3130
|
}>>;
|
|
3131
3131
|
profile: z.ZodOptional<z.ZodObject<{
|
|
3132
3132
|
visible: z.ZodBoolean;
|
|
@@ -3138,8 +3138,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3138
3138
|
project: "project";
|
|
3139
3139
|
}>;
|
|
3140
3140
|
period: z.ZodEnum<{
|
|
3141
|
-
lifetime: "lifetime";
|
|
3142
3141
|
day: "day";
|
|
3142
|
+
lifetime: "lifetime";
|
|
3143
3143
|
week: "week";
|
|
3144
3144
|
month: "month";
|
|
3145
3145
|
}>;
|
|
@@ -3172,8 +3172,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3172
3172
|
typeVersion: z.ZodString;
|
|
3173
3173
|
}, z.core.$strict>>;
|
|
3174
3174
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
3175
|
-
paused: "paused";
|
|
3176
3175
|
active: "active";
|
|
3176
|
+
paused: "paused";
|
|
3177
3177
|
archived: "archived";
|
|
3178
3178
|
}>>;
|
|
3179
3179
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -3278,12 +3278,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3278
3278
|
kind: "resource";
|
|
3279
3279
|
default: string;
|
|
3280
3280
|
source: {
|
|
3281
|
-
provider: "domino";
|
|
3282
|
-
resource: "point-ledger";
|
|
3283
|
-
} | {
|
|
3284
3281
|
provider: "discord";
|
|
3285
3282
|
resource: "channel";
|
|
3286
3283
|
types: ("text" | "announcement")[];
|
|
3284
|
+
} | {
|
|
3285
|
+
provider: "domino";
|
|
3286
|
+
resource: "point-ledger";
|
|
3287
3287
|
} | {
|
|
3288
3288
|
provider: "discord";
|
|
3289
3289
|
resource: "role";
|
|
@@ -3433,7 +3433,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3433
3433
|
minLength: number;
|
|
3434
3434
|
maxLength: number;
|
|
3435
3435
|
};
|
|
3436
|
-
actor?: "
|
|
3436
|
+
actor?: "member" | "staff" | undefined;
|
|
3437
3437
|
} | {
|
|
3438
3438
|
kind: "manual";
|
|
3439
3439
|
input: "url";
|
|
@@ -3441,20 +3441,20 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3441
3441
|
required: boolean;
|
|
3442
3442
|
allowedHosts?: string[] | undefined;
|
|
3443
3443
|
};
|
|
3444
|
-
actor?: "
|
|
3444
|
+
actor?: "member" | "staff" | undefined;
|
|
3445
3445
|
} | {
|
|
3446
3446
|
kind: "manual";
|
|
3447
|
-
input: "
|
|
3448
|
-
actor?: "
|
|
3447
|
+
input: "quiz" | "photo" | "none";
|
|
3448
|
+
actor?: "member" | "staff" | undefined;
|
|
3449
3449
|
};
|
|
3450
3450
|
requires: {
|
|
3451
3451
|
quest: string;
|
|
3452
3452
|
}[];
|
|
3453
|
-
visibility: "
|
|
3453
|
+
visibility: "hidden" | "visible";
|
|
3454
3454
|
budgets: {
|
|
3455
3455
|
id: string;
|
|
3456
3456
|
scope: "member" | "project";
|
|
3457
|
-
period: "
|
|
3457
|
+
period: "day" | "lifetime" | "week" | "month";
|
|
3458
3458
|
limit: number;
|
|
3459
3459
|
cost: number | {
|
|
3460
3460
|
balance: string;
|
|
@@ -3473,7 +3473,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3473
3473
|
id: string;
|
|
3474
3474
|
createdAt: number;
|
|
3475
3475
|
legacy: boolean;
|
|
3476
|
-
lifecycle: "
|
|
3476
|
+
lifecycle: "active" | "paused" | "archived";
|
|
3477
3477
|
performance?: {
|
|
3478
3478
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3479
3479
|
maxAgeMs: number;
|
|
@@ -3691,8 +3691,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3691
3691
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
3692
3692
|
}, z.core.$strict>;
|
|
3693
3693
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3694
|
-
staff: "staff";
|
|
3695
3694
|
member: "member";
|
|
3695
|
+
staff: "staff";
|
|
3696
3696
|
}>>;
|
|
3697
3697
|
}, z.core.$strict>, z.ZodObject<{
|
|
3698
3698
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3702,19 +3702,19 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3702
3702
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3703
3703
|
}, z.core.$strict>;
|
|
3704
3704
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3705
|
-
staff: "staff";
|
|
3706
3705
|
member: "member";
|
|
3706
|
+
staff: "staff";
|
|
3707
3707
|
}>>;
|
|
3708
3708
|
}, z.core.$strict>, z.ZodObject<{
|
|
3709
3709
|
kind: z.ZodLiteral<"manual">;
|
|
3710
3710
|
input: z.ZodEnum<{
|
|
3711
|
-
photo: "photo";
|
|
3712
3711
|
quiz: "quiz";
|
|
3712
|
+
photo: "photo";
|
|
3713
3713
|
none: "none";
|
|
3714
3714
|
}>;
|
|
3715
3715
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3716
|
-
staff: "staff";
|
|
3717
3716
|
member: "member";
|
|
3717
|
+
staff: "staff";
|
|
3718
3718
|
}>>;
|
|
3719
3719
|
}, z.core.$strict>, z.ZodObject<{
|
|
3720
3720
|
kind: z.ZodLiteral<"automatic">;
|
|
@@ -3806,8 +3806,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3806
3806
|
quest: z.ZodString;
|
|
3807
3807
|
}, z.core.$strip>>>;
|
|
3808
3808
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
3809
|
-
visible: "visible";
|
|
3810
3809
|
hidden: "hidden";
|
|
3810
|
+
visible: "visible";
|
|
3811
3811
|
}>>;
|
|
3812
3812
|
profile: z.ZodOptional<z.ZodObject<{
|
|
3813
3813
|
visible: z.ZodBoolean;
|
|
@@ -3819,8 +3819,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3819
3819
|
project: "project";
|
|
3820
3820
|
}>;
|
|
3821
3821
|
period: z.ZodEnum<{
|
|
3822
|
-
lifetime: "lifetime";
|
|
3823
3822
|
day: "day";
|
|
3823
|
+
lifetime: "lifetime";
|
|
3824
3824
|
week: "week";
|
|
3825
3825
|
month: "month";
|
|
3826
3826
|
}>;
|
|
@@ -3854,11 +3854,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3854
3854
|
quests: z.ZodArray<z.ZodString>;
|
|
3855
3855
|
}, z.core.$strict>>;
|
|
3856
3856
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
3857
|
-
|
|
3857
|
+
quiz: "quiz";
|
|
3858
3858
|
url: "url";
|
|
3859
|
+
text: "text";
|
|
3859
3860
|
staff: "staff";
|
|
3860
3861
|
photo: "photo";
|
|
3861
|
-
quiz: "quiz";
|
|
3862
3862
|
automatic: "automatic";
|
|
3863
3863
|
claim: "claim";
|
|
3864
3864
|
}>>;
|
|
@@ -4054,8 +4054,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4054
4054
|
}, z.core.$strip>, z.ZodObject<{
|
|
4055
4055
|
source: z.ZodLiteral<"account">;
|
|
4056
4056
|
provider: z.ZodEnum<{
|
|
4057
|
-
discord: "discord";
|
|
4058
4057
|
x: "x";
|
|
4058
|
+
discord: "discord";
|
|
4059
4059
|
google: "google";
|
|
4060
4060
|
}>;
|
|
4061
4061
|
url: z.ZodString;
|
|
@@ -4082,8 +4082,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4082
4082
|
}, z.core.$strip>, z.ZodObject<{
|
|
4083
4083
|
source: z.ZodLiteral<"account">;
|
|
4084
4084
|
provider: z.ZodEnum<{
|
|
4085
|
-
discord: "discord";
|
|
4086
4085
|
x: "x";
|
|
4086
|
+
discord: "discord";
|
|
4087
4087
|
google: "google";
|
|
4088
4088
|
}>;
|
|
4089
4089
|
url: z.ZodString;
|
|
@@ -4110,8 +4110,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4110
4110
|
}, z.core.$strip>, z.ZodObject<{
|
|
4111
4111
|
source: z.ZodLiteral<"account">;
|
|
4112
4112
|
provider: z.ZodEnum<{
|
|
4113
|
-
discord: "discord";
|
|
4114
4113
|
x: "x";
|
|
4114
|
+
discord: "discord";
|
|
4115
4115
|
google: "google";
|
|
4116
4116
|
}>;
|
|
4117
4117
|
url: z.ZodString;
|
|
@@ -4156,8 +4156,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4156
4156
|
}, z.core.$strip>, z.ZodObject<{
|
|
4157
4157
|
source: z.ZodLiteral<"account">;
|
|
4158
4158
|
provider: z.ZodEnum<{
|
|
4159
|
-
discord: "discord";
|
|
4160
4159
|
x: "x";
|
|
4160
|
+
discord: "discord";
|
|
4161
4161
|
google: "google";
|
|
4162
4162
|
}>;
|
|
4163
4163
|
url: z.ZodString;
|
|
@@ -4184,8 +4184,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4184
4184
|
}, z.core.$strip>, z.ZodObject<{
|
|
4185
4185
|
source: z.ZodLiteral<"account">;
|
|
4186
4186
|
provider: z.ZodEnum<{
|
|
4187
|
-
discord: "discord";
|
|
4188
4187
|
x: "x";
|
|
4188
|
+
discord: "discord";
|
|
4189
4189
|
google: "google";
|
|
4190
4190
|
}>;
|
|
4191
4191
|
url: z.ZodString;
|
|
@@ -4212,8 +4212,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4212
4212
|
}, z.core.$strip>, z.ZodObject<{
|
|
4213
4213
|
source: z.ZodLiteral<"account">;
|
|
4214
4214
|
provider: z.ZodEnum<{
|
|
4215
|
-
discord: "discord";
|
|
4216
4215
|
x: "x";
|
|
4216
|
+
discord: "discord";
|
|
4217
4217
|
google: "google";
|
|
4218
4218
|
}>;
|
|
4219
4219
|
url: z.ZodString;
|