@domino-sdk/relay 1.0.0-next.13 → 1.0.0-next.15
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/README.md +1 -1
- package/dist/authoring.d.ts +58 -44
- package/dist/authoring.js +58 -45
- package/dist/browser.d.ts +111 -151
- package/dist/browser.js +6 -6
- package/dist/{catalog-C85V1NgW.d.ts → catalog-CVXUHxiO.d.ts} +12 -99
- package/dist/{chunk-M64XHC42.js → chunk-76F4LSFP.js} +2 -2
- package/dist/{chunk-II7DRZSL.js → chunk-CYD6QMHU.js} +1 -1
- package/dist/{chunk-KS33GOUL.js → chunk-EJWDAF7I.js} +4 -4
- package/dist/chunk-FJ6O44NE.js +51 -0
- package/dist/{chunk-WQ24ILGO.js → chunk-G3YSBMJH.js} +7 -3
- package/dist/{chunk-MNQI35OG.js → chunk-HWRBLM7E.js} +3 -3
- package/dist/{chunk-CRNQP7NV.js → chunk-J4OYDYJE.js} +693 -676
- package/dist/{chunk-OA2KMQVZ.js → chunk-J52HD4AA.js} +11 -1
- package/dist/{chunk-EZWNGI5B.js → chunk-RCBJBFLC.js} +4 -4
- package/dist/{chunk-FXYJ4OMX.js → chunk-WMTROSYF.js} +1 -1
- package/dist/{client-Bf9PNUIi.d.ts → client-dfXT6hhq.d.ts} +7 -47
- package/dist/{deployments-CNCP0JnD.d.ts → deployments-C9wkQ06n.d.ts} +109 -125
- package/dist/{images-BG4pdO4y.d.ts → images-CRxHUuG5.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/{integrations-EjQzIApL.d.ts → integrations-C1vB6Ry6.d.ts} +93 -1
- package/dist/internal.d.ts +13 -4
- package/dist/internal.js +10 -4
- package/dist/portal-proxy.js +2 -2
- package/dist/react/index.d.ts +441 -655
- package/dist/react/index.js +1190 -810
- package/dist/{schema-BF_TQsmT.d.ts → schema-C4F2K9cm.d.ts} +9 -74
- package/dist/schema.d.ts +6 -7
- package/dist/schema.js +18 -16
- package/dist/server/index.d.ts +125 -233
- package/dist/server/index.js +16 -22
- package/dist/{trackers-W7nRdRr7.d.ts → trackers-7lxSWp2g.d.ts} +56 -14
- package/package.json +4 -2
- package/dist/observations-CQ6IcNuQ.d.ts +0 -90
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { i as TrackerDataSchema } from './trackers-
|
|
2
|
+
import { i as TrackerDataSchema } from './trackers-7lxSWp2g.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The canonical name of a named IANA timezone, or null for an unknown name or a fixed offset.
|
|
@@ -96,13 +96,13 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
96
96
|
id?: string | undefined;
|
|
97
97
|
}>>>>;
|
|
98
98
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
99
|
-
text: "text";
|
|
100
99
|
url: "url";
|
|
101
|
-
|
|
102
|
-
photo: "photo";
|
|
103
|
-
quiz: "quiz";
|
|
100
|
+
text: "text";
|
|
104
101
|
automatic: "automatic";
|
|
105
102
|
claim: "claim";
|
|
103
|
+
staff: "staff";
|
|
104
|
+
quiz: "quiz";
|
|
105
|
+
photo: "photo";
|
|
106
106
|
}>>>;
|
|
107
107
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
108
108
|
code: z.ZodString;
|
|
@@ -117,14 +117,19 @@ 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">>;
|
|
127
127
|
data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
|
|
128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
130
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
128
133
|
}, z.core.$strict>], "kind">;
|
|
129
134
|
window: z.ZodObject<{
|
|
130
135
|
start: z.ZodNumber;
|
|
@@ -431,8 +436,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
431
436
|
code: z.ZodString;
|
|
432
437
|
}, z.core.$strict>]>>>;
|
|
433
438
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
434
|
-
balance: z.ZodString;
|
|
435
439
|
title: z.ZodString;
|
|
440
|
+
balance: z.ZodString;
|
|
436
441
|
group: z.ZodOptional<z.ZodString>;
|
|
437
442
|
access: z.ZodDefault<z.ZodEnum<{
|
|
438
443
|
participants: "participants";
|
|
@@ -483,8 +488,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
483
488
|
key: z.ZodOptional<z.ZodString>;
|
|
484
489
|
id: z.ZodOptional<z.ZodString>;
|
|
485
490
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
486
|
-
balance: string;
|
|
487
491
|
title: string;
|
|
492
|
+
balance: string;
|
|
488
493
|
access: "participants" | "public";
|
|
489
494
|
score: {
|
|
490
495
|
kind: "balance";
|
|
@@ -526,8 +531,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
526
531
|
}, "id" | "key"> & {
|
|
527
532
|
key: string;
|
|
528
533
|
}, {
|
|
529
|
-
balance: string;
|
|
530
534
|
title: string;
|
|
535
|
+
balance: string;
|
|
531
536
|
access: "participants" | "public";
|
|
532
537
|
score: {
|
|
533
538
|
kind: "balance";
|
|
@@ -603,13 +608,13 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
603
608
|
id?: string | undefined;
|
|
604
609
|
}>>>>;
|
|
605
610
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
606
|
-
text: "text";
|
|
607
611
|
url: "url";
|
|
608
|
-
|
|
609
|
-
photo: "photo";
|
|
610
|
-
quiz: "quiz";
|
|
612
|
+
text: "text";
|
|
611
613
|
automatic: "automatic";
|
|
612
614
|
claim: "claim";
|
|
615
|
+
staff: "staff";
|
|
616
|
+
quiz: "quiz";
|
|
617
|
+
photo: "photo";
|
|
613
618
|
}>>>;
|
|
614
619
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
615
620
|
code: z.ZodString;
|
|
@@ -624,14 +629,19 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
624
629
|
kind: z.ZodLiteral<"custom">;
|
|
625
630
|
namespace: z.ZodString;
|
|
626
631
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
627
|
-
discord: "discord";
|
|
628
|
-
wallet: "wallet";
|
|
629
632
|
x: "x";
|
|
633
|
+
discord: "discord";
|
|
630
634
|
member: "member";
|
|
635
|
+
wallet: "wallet";
|
|
631
636
|
}>>>;
|
|
632
637
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
633
638
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
634
639
|
data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
|
|
640
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
641
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
642
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
644
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
635
645
|
}, z.core.$strict>], "kind">;
|
|
636
646
|
window: z.ZodObject<{
|
|
637
647
|
start: z.ZodNumber;
|
|
@@ -938,8 +948,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
938
948
|
code: z.ZodString;
|
|
939
949
|
}, z.core.$strict>]>>>;
|
|
940
950
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
941
|
-
balance: z.ZodString;
|
|
942
951
|
title: z.ZodString;
|
|
952
|
+
balance: z.ZodString;
|
|
943
953
|
group: z.ZodOptional<z.ZodString>;
|
|
944
954
|
access: z.ZodDefault<z.ZodEnum<{
|
|
945
955
|
participants: "participants";
|
|
@@ -990,8 +1000,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
990
1000
|
key: z.ZodOptional<z.ZodString>;
|
|
991
1001
|
id: z.ZodOptional<z.ZodString>;
|
|
992
1002
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
993
|
-
balance: string;
|
|
994
1003
|
title: string;
|
|
1004
|
+
balance: string;
|
|
995
1005
|
access: "participants" | "public";
|
|
996
1006
|
score: {
|
|
997
1007
|
kind: "balance";
|
|
@@ -1033,8 +1043,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
1033
1043
|
}, "id" | "key"> & {
|
|
1034
1044
|
key: string;
|
|
1035
1045
|
}, {
|
|
1036
|
-
balance: string;
|
|
1037
1046
|
title: string;
|
|
1047
|
+
balance: string;
|
|
1038
1048
|
access: "participants" | "public";
|
|
1039
1049
|
score: {
|
|
1040
1050
|
kind: "balance";
|
|
@@ -1270,14 +1280,19 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1270
1280
|
kind: z.ZodLiteral<"custom">;
|
|
1271
1281
|
namespace: z.ZodString;
|
|
1272
1282
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1273
|
-
discord: "discord";
|
|
1274
|
-
wallet: "wallet";
|
|
1275
1283
|
x: "x";
|
|
1284
|
+
discord: "discord";
|
|
1276
1285
|
member: "member";
|
|
1286
|
+
wallet: "wallet";
|
|
1277
1287
|
}>>>;
|
|
1278
1288
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1279
1289
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
1280
1290
|
data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
|
|
1291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1292
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
1293
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
1294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1295
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
1281
1296
|
}, z.core.$strict>], "kind">;
|
|
1282
1297
|
window: z.ZodObject<{
|
|
1283
1298
|
start: z.ZodNumber;
|
|
@@ -1438,8 +1453,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1438
1453
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
1439
1454
|
}, z.core.$strict>;
|
|
1440
1455
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1441
|
-
staff: "staff";
|
|
1442
1456
|
member: "member";
|
|
1457
|
+
staff: "staff";
|
|
1443
1458
|
}>>;
|
|
1444
1459
|
}, z.core.$strict>, z.ZodObject<{
|
|
1445
1460
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1449,26 +1464,22 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1449
1464
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1450
1465
|
}, z.core.$strict>;
|
|
1451
1466
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1452
|
-
staff: "staff";
|
|
1453
1467
|
member: "member";
|
|
1468
|
+
staff: "staff";
|
|
1454
1469
|
}>>;
|
|
1455
1470
|
}, z.core.$strict>, z.ZodObject<{
|
|
1456
1471
|
kind: z.ZodLiteral<"manual">;
|
|
1457
1472
|
input: z.ZodEnum<{
|
|
1458
|
-
photo: "photo";
|
|
1459
|
-
quiz: "quiz";
|
|
1460
1473
|
none: "none";
|
|
1474
|
+
quiz: "quiz";
|
|
1475
|
+
photo: "photo";
|
|
1461
1476
|
}>;
|
|
1462
1477
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1463
|
-
staff: "staff";
|
|
1464
1478
|
member: "member";
|
|
1479
|
+
staff: "staff";
|
|
1465
1480
|
}>>;
|
|
1466
1481
|
}, z.core.$strict>, z.ZodObject<{
|
|
1467
1482
|
kind: z.ZodLiteral<"automatic">;
|
|
1468
|
-
observation: z.ZodOptional<z.ZodObject<{
|
|
1469
|
-
source: z.ZodString;
|
|
1470
|
-
type: z.ZodString;
|
|
1471
|
-
}, z.core.$strict>>;
|
|
1472
1483
|
content: z.ZodOptional<z.ZodObject<{
|
|
1473
1484
|
tracker: z.ZodString;
|
|
1474
1485
|
window: z.ZodObject<{
|
|
@@ -1484,17 +1495,14 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1484
1495
|
"since-start": "since-start";
|
|
1485
1496
|
}>>;
|
|
1486
1497
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
1487
|
-
staff: "staff";
|
|
1488
1498
|
automatic: "automatic";
|
|
1489
1499
|
claim: "claim";
|
|
1500
|
+
staff: "staff";
|
|
1490
1501
|
}>>;
|
|
1491
1502
|
}, z.core.$strict>>;
|
|
1492
1503
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
1493
1504
|
tracker: z.ZodString;
|
|
1494
|
-
source: z.
|
|
1495
|
-
custom: "custom";
|
|
1496
|
-
"x-search": "x-search";
|
|
1497
|
-
}>;
|
|
1505
|
+
source: z.ZodString;
|
|
1498
1506
|
on: z.ZodOptional<z.ZodEnum<{
|
|
1499
1507
|
"new-record": "new-record";
|
|
1500
1508
|
"new-observation": "new-observation";
|
|
@@ -1706,12 +1714,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1706
1714
|
kind: "resource";
|
|
1707
1715
|
default: string;
|
|
1708
1716
|
source: {
|
|
1709
|
-
provider: "domino";
|
|
1710
|
-
resource: "point-ledger";
|
|
1711
|
-
} | {
|
|
1712
1717
|
provider: "discord";
|
|
1713
1718
|
resource: "channel";
|
|
1714
1719
|
types: ("text" | "announcement")[];
|
|
1720
|
+
} | {
|
|
1721
|
+
provider: "domino";
|
|
1722
|
+
resource: "point-ledger";
|
|
1715
1723
|
} | {
|
|
1716
1724
|
provider: "discord";
|
|
1717
1725
|
resource: "role";
|
|
@@ -1798,10 +1806,6 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1798
1806
|
humanReview: boolean;
|
|
1799
1807
|
trigger: {
|
|
1800
1808
|
kind: "automatic";
|
|
1801
|
-
observation?: {
|
|
1802
|
-
source: string;
|
|
1803
|
-
type: string;
|
|
1804
|
-
} | undefined;
|
|
1805
1809
|
content?: {
|
|
1806
1810
|
tracker: string;
|
|
1807
1811
|
window: {
|
|
@@ -1810,11 +1814,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1810
1814
|
};
|
|
1811
1815
|
enrollment: "required" | "none";
|
|
1812
1816
|
posts: "after-enrollment" | "since-start";
|
|
1813
|
-
historical: "
|
|
1817
|
+
historical: "automatic" | "claim" | "staff";
|
|
1814
1818
|
} | undefined;
|
|
1815
1819
|
tracker?: {
|
|
1816
1820
|
tracker: string;
|
|
1817
|
-
source:
|
|
1821
|
+
source: string;
|
|
1818
1822
|
beneficiary: string;
|
|
1819
1823
|
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
1820
1824
|
where?: {
|
|
@@ -1861,7 +1865,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1861
1865
|
minLength: number;
|
|
1862
1866
|
maxLength: number;
|
|
1863
1867
|
};
|
|
1864
|
-
actor?: "
|
|
1868
|
+
actor?: "member" | "staff" | undefined;
|
|
1865
1869
|
} | {
|
|
1866
1870
|
kind: "manual";
|
|
1867
1871
|
input: "url";
|
|
@@ -1869,11 +1873,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1869
1873
|
required: boolean;
|
|
1870
1874
|
allowedHosts?: string[] | undefined;
|
|
1871
1875
|
};
|
|
1872
|
-
actor?: "
|
|
1876
|
+
actor?: "member" | "staff" | undefined;
|
|
1873
1877
|
} | {
|
|
1874
1878
|
kind: "manual";
|
|
1875
|
-
input: "
|
|
1876
|
-
actor?: "
|
|
1879
|
+
input: "none" | "quiz" | "photo";
|
|
1880
|
+
actor?: "member" | "staff" | undefined;
|
|
1877
1881
|
};
|
|
1878
1882
|
requires: {
|
|
1879
1883
|
quest: string;
|
|
@@ -2119,8 +2123,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2119
2123
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
2120
2124
|
}, z.core.$strict>;
|
|
2121
2125
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2122
|
-
staff: "staff";
|
|
2123
2126
|
member: "member";
|
|
2127
|
+
staff: "staff";
|
|
2124
2128
|
}>>;
|
|
2125
2129
|
}, z.core.$strict>, z.ZodObject<{
|
|
2126
2130
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2130,26 +2134,22 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2130
2134
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2131
2135
|
}, z.core.$strict>;
|
|
2132
2136
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2133
|
-
staff: "staff";
|
|
2134
2137
|
member: "member";
|
|
2138
|
+
staff: "staff";
|
|
2135
2139
|
}>>;
|
|
2136
2140
|
}, z.core.$strict>, z.ZodObject<{
|
|
2137
2141
|
kind: z.ZodLiteral<"manual">;
|
|
2138
2142
|
input: z.ZodEnum<{
|
|
2139
|
-
photo: "photo";
|
|
2140
|
-
quiz: "quiz";
|
|
2141
2143
|
none: "none";
|
|
2144
|
+
quiz: "quiz";
|
|
2145
|
+
photo: "photo";
|
|
2142
2146
|
}>;
|
|
2143
2147
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2144
|
-
staff: "staff";
|
|
2145
2148
|
member: "member";
|
|
2149
|
+
staff: "staff";
|
|
2146
2150
|
}>>;
|
|
2147
2151
|
}, z.core.$strict>, z.ZodObject<{
|
|
2148
2152
|
kind: z.ZodLiteral<"automatic">;
|
|
2149
|
-
observation: z.ZodOptional<z.ZodObject<{
|
|
2150
|
-
source: z.ZodString;
|
|
2151
|
-
type: z.ZodString;
|
|
2152
|
-
}, z.core.$strict>>;
|
|
2153
2153
|
content: z.ZodOptional<z.ZodObject<{
|
|
2154
2154
|
tracker: z.ZodString;
|
|
2155
2155
|
window: z.ZodObject<{
|
|
@@ -2165,17 +2165,14 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2165
2165
|
"since-start": "since-start";
|
|
2166
2166
|
}>>;
|
|
2167
2167
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
2168
|
-
staff: "staff";
|
|
2169
2168
|
automatic: "automatic";
|
|
2170
2169
|
claim: "claim";
|
|
2170
|
+
staff: "staff";
|
|
2171
2171
|
}>>;
|
|
2172
2172
|
}, z.core.$strict>>;
|
|
2173
2173
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
2174
2174
|
tracker: z.ZodString;
|
|
2175
|
-
source: z.
|
|
2176
|
-
custom: "custom";
|
|
2177
|
-
"x-search": "x-search";
|
|
2178
|
-
}>;
|
|
2175
|
+
source: z.ZodString;
|
|
2179
2176
|
on: z.ZodOptional<z.ZodEnum<{
|
|
2180
2177
|
"new-record": "new-record";
|
|
2181
2178
|
"new-observation": "new-observation";
|
|
@@ -2282,13 +2279,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2282
2279
|
quests: z.ZodArray<z.ZodString>;
|
|
2283
2280
|
}, z.core.$strict>>;
|
|
2284
2281
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
2285
|
-
text: "text";
|
|
2286
2282
|
url: "url";
|
|
2287
|
-
|
|
2288
|
-
photo: "photo";
|
|
2289
|
-
quiz: "quiz";
|
|
2283
|
+
text: "text";
|
|
2290
2284
|
automatic: "automatic";
|
|
2291
2285
|
claim: "claim";
|
|
2286
|
+
staff: "staff";
|
|
2287
|
+
quiz: "quiz";
|
|
2288
|
+
photo: "photo";
|
|
2292
2289
|
}>>;
|
|
2293
2290
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2294
2291
|
version: z.ZodString;
|
|
@@ -2482,8 +2479,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2482
2479
|
}, z.core.$strip>, z.ZodObject<{
|
|
2483
2480
|
source: z.ZodLiteral<"account">;
|
|
2484
2481
|
provider: z.ZodEnum<{
|
|
2485
|
-
discord: "discord";
|
|
2486
2482
|
x: "x";
|
|
2483
|
+
discord: "discord";
|
|
2487
2484
|
google: "google";
|
|
2488
2485
|
}>;
|
|
2489
2486
|
url: z.ZodString;
|
|
@@ -2510,8 +2507,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2510
2507
|
}, z.core.$strip>, z.ZodObject<{
|
|
2511
2508
|
source: z.ZodLiteral<"account">;
|
|
2512
2509
|
provider: z.ZodEnum<{
|
|
2513
|
-
discord: "discord";
|
|
2514
2510
|
x: "x";
|
|
2511
|
+
discord: "discord";
|
|
2515
2512
|
google: "google";
|
|
2516
2513
|
}>;
|
|
2517
2514
|
url: z.ZodString;
|
|
@@ -2538,8 +2535,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2538
2535
|
}, z.core.$strip>, z.ZodObject<{
|
|
2539
2536
|
source: z.ZodLiteral<"account">;
|
|
2540
2537
|
provider: z.ZodEnum<{
|
|
2541
|
-
discord: "discord";
|
|
2542
2538
|
x: "x";
|
|
2539
|
+
discord: "discord";
|
|
2543
2540
|
google: "google";
|
|
2544
2541
|
}>;
|
|
2545
2542
|
url: z.ZodString;
|
|
@@ -2584,8 +2581,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2584
2581
|
}, z.core.$strip>, z.ZodObject<{
|
|
2585
2582
|
source: z.ZodLiteral<"account">;
|
|
2586
2583
|
provider: z.ZodEnum<{
|
|
2587
|
-
discord: "discord";
|
|
2588
2584
|
x: "x";
|
|
2585
|
+
discord: "discord";
|
|
2589
2586
|
google: "google";
|
|
2590
2587
|
}>;
|
|
2591
2588
|
url: z.ZodString;
|
|
@@ -2612,8 +2609,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2612
2609
|
}, z.core.$strip>, z.ZodObject<{
|
|
2613
2610
|
source: z.ZodLiteral<"account">;
|
|
2614
2611
|
provider: z.ZodEnum<{
|
|
2615
|
-
discord: "discord";
|
|
2616
2612
|
x: "x";
|
|
2613
|
+
discord: "discord";
|
|
2617
2614
|
google: "google";
|
|
2618
2615
|
}>;
|
|
2619
2616
|
url: z.ZodString;
|
|
@@ -2640,8 +2637,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
2640
2637
|
}, z.core.$strip>, z.ZodObject<{
|
|
2641
2638
|
source: z.ZodLiteral<"account">;
|
|
2642
2639
|
provider: z.ZodEnum<{
|
|
2643
|
-
discord: "discord";
|
|
2644
2640
|
x: "x";
|
|
2641
|
+
discord: "discord";
|
|
2645
2642
|
google: "google";
|
|
2646
2643
|
}>;
|
|
2647
2644
|
url: z.ZodString;
|
|
@@ -2842,14 +2839,19 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2842
2839
|
kind: z.ZodLiteral<"custom">;
|
|
2843
2840
|
namespace: z.ZodString;
|
|
2844
2841
|
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2845
|
-
discord: "discord";
|
|
2846
|
-
wallet: "wallet";
|
|
2847
2842
|
x: "x";
|
|
2843
|
+
discord: "discord";
|
|
2848
2844
|
member: "member";
|
|
2845
|
+
wallet: "wallet";
|
|
2849
2846
|
}>>>;
|
|
2850
2847
|
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2851
2848
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
2852
2849
|
data: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodType<TrackerDataSchema, unknown, z.core.$ZodTypeInternals<TrackerDataSchema, unknown>>>>;
|
|
2850
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2851
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
2852
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
2853
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2854
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
2853
2855
|
}, z.core.$strict>], "kind">;
|
|
2854
2856
|
window: z.ZodObject<{
|
|
2855
2857
|
start: z.ZodNumber;
|
|
@@ -3010,8 +3012,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3010
3012
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
3011
3013
|
}, z.core.$strict>;
|
|
3012
3014
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3013
|
-
staff: "staff";
|
|
3014
3015
|
member: "member";
|
|
3016
|
+
staff: "staff";
|
|
3015
3017
|
}>>;
|
|
3016
3018
|
}, z.core.$strict>, z.ZodObject<{
|
|
3017
3019
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3021,26 +3023,22 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3021
3023
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3022
3024
|
}, z.core.$strict>;
|
|
3023
3025
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3024
|
-
staff: "staff";
|
|
3025
3026
|
member: "member";
|
|
3027
|
+
staff: "staff";
|
|
3026
3028
|
}>>;
|
|
3027
3029
|
}, z.core.$strict>, z.ZodObject<{
|
|
3028
3030
|
kind: z.ZodLiteral<"manual">;
|
|
3029
3031
|
input: z.ZodEnum<{
|
|
3030
|
-
photo: "photo";
|
|
3031
|
-
quiz: "quiz";
|
|
3032
3032
|
none: "none";
|
|
3033
|
+
quiz: "quiz";
|
|
3034
|
+
photo: "photo";
|
|
3033
3035
|
}>;
|
|
3034
3036
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3035
|
-
staff: "staff";
|
|
3036
3037
|
member: "member";
|
|
3038
|
+
staff: "staff";
|
|
3037
3039
|
}>>;
|
|
3038
3040
|
}, z.core.$strict>, z.ZodObject<{
|
|
3039
3041
|
kind: z.ZodLiteral<"automatic">;
|
|
3040
|
-
observation: z.ZodOptional<z.ZodObject<{
|
|
3041
|
-
source: z.ZodString;
|
|
3042
|
-
type: z.ZodString;
|
|
3043
|
-
}, z.core.$strict>>;
|
|
3044
3042
|
content: z.ZodOptional<z.ZodObject<{
|
|
3045
3043
|
tracker: z.ZodString;
|
|
3046
3044
|
window: z.ZodObject<{
|
|
@@ -3056,17 +3054,14 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3056
3054
|
"since-start": "since-start";
|
|
3057
3055
|
}>>;
|
|
3058
3056
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
3059
|
-
staff: "staff";
|
|
3060
3057
|
automatic: "automatic";
|
|
3061
3058
|
claim: "claim";
|
|
3059
|
+
staff: "staff";
|
|
3062
3060
|
}>>;
|
|
3063
3061
|
}, z.core.$strict>>;
|
|
3064
3062
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
3065
3063
|
tracker: z.ZodString;
|
|
3066
|
-
source: z.
|
|
3067
|
-
custom: "custom";
|
|
3068
|
-
"x-search": "x-search";
|
|
3069
|
-
}>;
|
|
3064
|
+
source: z.ZodString;
|
|
3070
3065
|
on: z.ZodOptional<z.ZodEnum<{
|
|
3071
3066
|
"new-record": "new-record";
|
|
3072
3067
|
"new-observation": "new-observation";
|
|
@@ -3278,12 +3273,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3278
3273
|
kind: "resource";
|
|
3279
3274
|
default: string;
|
|
3280
3275
|
source: {
|
|
3281
|
-
provider: "domino";
|
|
3282
|
-
resource: "point-ledger";
|
|
3283
|
-
} | {
|
|
3284
3276
|
provider: "discord";
|
|
3285
3277
|
resource: "channel";
|
|
3286
3278
|
types: ("text" | "announcement")[];
|
|
3279
|
+
} | {
|
|
3280
|
+
provider: "domino";
|
|
3281
|
+
resource: "point-ledger";
|
|
3287
3282
|
} | {
|
|
3288
3283
|
provider: "discord";
|
|
3289
3284
|
resource: "role";
|
|
@@ -3370,10 +3365,6 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3370
3365
|
humanReview: boolean;
|
|
3371
3366
|
trigger: {
|
|
3372
3367
|
kind: "automatic";
|
|
3373
|
-
observation?: {
|
|
3374
|
-
source: string;
|
|
3375
|
-
type: string;
|
|
3376
|
-
} | undefined;
|
|
3377
3368
|
content?: {
|
|
3378
3369
|
tracker: string;
|
|
3379
3370
|
window: {
|
|
@@ -3382,11 +3373,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3382
3373
|
};
|
|
3383
3374
|
enrollment: "required" | "none";
|
|
3384
3375
|
posts: "after-enrollment" | "since-start";
|
|
3385
|
-
historical: "
|
|
3376
|
+
historical: "automatic" | "claim" | "staff";
|
|
3386
3377
|
} | undefined;
|
|
3387
3378
|
tracker?: {
|
|
3388
3379
|
tracker: string;
|
|
3389
|
-
source:
|
|
3380
|
+
source: string;
|
|
3390
3381
|
beneficiary: string;
|
|
3391
3382
|
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
3392
3383
|
where?: {
|
|
@@ -3433,7 +3424,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3433
3424
|
minLength: number;
|
|
3434
3425
|
maxLength: number;
|
|
3435
3426
|
};
|
|
3436
|
-
actor?: "
|
|
3427
|
+
actor?: "member" | "staff" | undefined;
|
|
3437
3428
|
} | {
|
|
3438
3429
|
kind: "manual";
|
|
3439
3430
|
input: "url";
|
|
@@ -3441,11 +3432,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3441
3432
|
required: boolean;
|
|
3442
3433
|
allowedHosts?: string[] | undefined;
|
|
3443
3434
|
};
|
|
3444
|
-
actor?: "
|
|
3435
|
+
actor?: "member" | "staff" | undefined;
|
|
3445
3436
|
} | {
|
|
3446
3437
|
kind: "manual";
|
|
3447
|
-
input: "
|
|
3448
|
-
actor?: "
|
|
3438
|
+
input: "none" | "quiz" | "photo";
|
|
3439
|
+
actor?: "member" | "staff" | undefined;
|
|
3449
3440
|
};
|
|
3450
3441
|
requires: {
|
|
3451
3442
|
quest: string;
|
|
@@ -3691,8 +3682,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3691
3682
|
maxLength: z.ZodDefault<z.ZodNumber>;
|
|
3692
3683
|
}, z.core.$strict>;
|
|
3693
3684
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3694
|
-
staff: "staff";
|
|
3695
3685
|
member: "member";
|
|
3686
|
+
staff: "staff";
|
|
3696
3687
|
}>>;
|
|
3697
3688
|
}, z.core.$strict>, z.ZodObject<{
|
|
3698
3689
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3702,26 +3693,22 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3702
3693
|
allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3703
3694
|
}, z.core.$strict>;
|
|
3704
3695
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3705
|
-
staff: "staff";
|
|
3706
3696
|
member: "member";
|
|
3697
|
+
staff: "staff";
|
|
3707
3698
|
}>>;
|
|
3708
3699
|
}, z.core.$strict>, z.ZodObject<{
|
|
3709
3700
|
kind: z.ZodLiteral<"manual">;
|
|
3710
3701
|
input: z.ZodEnum<{
|
|
3711
|
-
photo: "photo";
|
|
3712
|
-
quiz: "quiz";
|
|
3713
3702
|
none: "none";
|
|
3703
|
+
quiz: "quiz";
|
|
3704
|
+
photo: "photo";
|
|
3714
3705
|
}>;
|
|
3715
3706
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3716
|
-
staff: "staff";
|
|
3717
3707
|
member: "member";
|
|
3708
|
+
staff: "staff";
|
|
3718
3709
|
}>>;
|
|
3719
3710
|
}, z.core.$strict>, z.ZodObject<{
|
|
3720
3711
|
kind: z.ZodLiteral<"automatic">;
|
|
3721
|
-
observation: z.ZodOptional<z.ZodObject<{
|
|
3722
|
-
source: z.ZodString;
|
|
3723
|
-
type: z.ZodString;
|
|
3724
|
-
}, z.core.$strict>>;
|
|
3725
3712
|
content: z.ZodOptional<z.ZodObject<{
|
|
3726
3713
|
tracker: z.ZodString;
|
|
3727
3714
|
window: z.ZodObject<{
|
|
@@ -3737,17 +3724,14 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3737
3724
|
"since-start": "since-start";
|
|
3738
3725
|
}>>;
|
|
3739
3726
|
historical: z.ZodDefault<z.ZodEnum<{
|
|
3740
|
-
staff: "staff";
|
|
3741
3727
|
automatic: "automatic";
|
|
3742
3728
|
claim: "claim";
|
|
3729
|
+
staff: "staff";
|
|
3743
3730
|
}>>;
|
|
3744
3731
|
}, z.core.$strict>>;
|
|
3745
3732
|
tracker: z.ZodOptional<z.ZodObject<{
|
|
3746
3733
|
tracker: z.ZodString;
|
|
3747
|
-
source: z.
|
|
3748
|
-
custom: "custom";
|
|
3749
|
-
"x-search": "x-search";
|
|
3750
|
-
}>;
|
|
3734
|
+
source: z.ZodString;
|
|
3751
3735
|
on: z.ZodOptional<z.ZodEnum<{
|
|
3752
3736
|
"new-record": "new-record";
|
|
3753
3737
|
"new-observation": "new-observation";
|
|
@@ -3854,13 +3838,13 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3854
3838
|
quests: z.ZodArray<z.ZodString>;
|
|
3855
3839
|
}, z.core.$strict>>;
|
|
3856
3840
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
3857
|
-
text: "text";
|
|
3858
3841
|
url: "url";
|
|
3859
|
-
|
|
3860
|
-
photo: "photo";
|
|
3861
|
-
quiz: "quiz";
|
|
3842
|
+
text: "text";
|
|
3862
3843
|
automatic: "automatic";
|
|
3863
3844
|
claim: "claim";
|
|
3845
|
+
staff: "staff";
|
|
3846
|
+
quiz: "quiz";
|
|
3847
|
+
photo: "photo";
|
|
3864
3848
|
}>>;
|
|
3865
3849
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3866
3850
|
version: z.ZodString;
|
|
@@ -4054,8 +4038,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4054
4038
|
}, z.core.$strip>, z.ZodObject<{
|
|
4055
4039
|
source: z.ZodLiteral<"account">;
|
|
4056
4040
|
provider: z.ZodEnum<{
|
|
4057
|
-
discord: "discord";
|
|
4058
4041
|
x: "x";
|
|
4042
|
+
discord: "discord";
|
|
4059
4043
|
google: "google";
|
|
4060
4044
|
}>;
|
|
4061
4045
|
url: z.ZodString;
|
|
@@ -4082,8 +4066,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4082
4066
|
}, z.core.$strip>, z.ZodObject<{
|
|
4083
4067
|
source: z.ZodLiteral<"account">;
|
|
4084
4068
|
provider: z.ZodEnum<{
|
|
4085
|
-
discord: "discord";
|
|
4086
4069
|
x: "x";
|
|
4070
|
+
discord: "discord";
|
|
4087
4071
|
google: "google";
|
|
4088
4072
|
}>;
|
|
4089
4073
|
url: z.ZodString;
|
|
@@ -4110,8 +4094,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4110
4094
|
}, z.core.$strip>, z.ZodObject<{
|
|
4111
4095
|
source: z.ZodLiteral<"account">;
|
|
4112
4096
|
provider: z.ZodEnum<{
|
|
4113
|
-
discord: "discord";
|
|
4114
4097
|
x: "x";
|
|
4098
|
+
discord: "discord";
|
|
4115
4099
|
google: "google";
|
|
4116
4100
|
}>;
|
|
4117
4101
|
url: z.ZodString;
|
|
@@ -4156,8 +4140,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4156
4140
|
}, z.core.$strip>, z.ZodObject<{
|
|
4157
4141
|
source: z.ZodLiteral<"account">;
|
|
4158
4142
|
provider: z.ZodEnum<{
|
|
4159
|
-
discord: "discord";
|
|
4160
4143
|
x: "x";
|
|
4144
|
+
discord: "discord";
|
|
4161
4145
|
google: "google";
|
|
4162
4146
|
}>;
|
|
4163
4147
|
url: z.ZodString;
|
|
@@ -4184,8 +4168,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4184
4168
|
}, z.core.$strip>, z.ZodObject<{
|
|
4185
4169
|
source: z.ZodLiteral<"account">;
|
|
4186
4170
|
provider: z.ZodEnum<{
|
|
4187
|
-
discord: "discord";
|
|
4188
4171
|
x: "x";
|
|
4172
|
+
discord: "discord";
|
|
4189
4173
|
google: "google";
|
|
4190
4174
|
}>;
|
|
4191
4175
|
url: z.ZodString;
|
|
@@ -4212,8 +4196,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4212
4196
|
}, z.core.$strip>, z.ZodObject<{
|
|
4213
4197
|
source: z.ZodLiteral<"account">;
|
|
4214
4198
|
provider: z.ZodEnum<{
|
|
4215
|
-
discord: "discord";
|
|
4216
4199
|
x: "x";
|
|
4200
|
+
discord: "discord";
|
|
4217
4201
|
google: "google";
|
|
4218
4202
|
}>;
|
|
4219
4203
|
url: z.ZodString;
|