@mac777/project-pinecone-schema 1.0.11 → 1.0.13
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/events/events.schema.d.ts +226 -226
- package/dist/events/events.schema.js +4 -4
- package/dist/events/utils/media.schema.d.ts +16 -16
- package/dist/events/utils/media.schema.js +8 -8
- package/package.json +1 -1
- package/src/events/events.schema.ts +4 -4
- package/src/events/utils/media.schema.ts +8 -8
|
@@ -31,17 +31,17 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
31
31
|
url: string;
|
|
32
32
|
}>;
|
|
33
33
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34
|
-
alt: z.ZodString;
|
|
35
|
-
thumbnailUrl: z.ZodString;
|
|
36
34
|
url: z.ZodString;
|
|
35
|
+
order: z.ZodNumber;
|
|
36
|
+
caption: z.ZodString;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
alt: string;
|
|
39
|
-
thumbnailUrl: string;
|
|
40
38
|
url: string;
|
|
39
|
+
order: number;
|
|
40
|
+
caption: string;
|
|
41
41
|
}, {
|
|
42
|
-
alt: string;
|
|
43
|
-
thumbnailUrl: string;
|
|
44
42
|
url: string;
|
|
43
|
+
order: number;
|
|
44
|
+
caption: string;
|
|
45
45
|
}>, "many">>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
coverImage: {
|
|
@@ -50,9 +50,9 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
50
50
|
url: string;
|
|
51
51
|
};
|
|
52
52
|
gallery?: {
|
|
53
|
-
alt: string;
|
|
54
|
-
thumbnailUrl: string;
|
|
55
53
|
url: string;
|
|
54
|
+
order: number;
|
|
55
|
+
caption: string;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
coverImage: {
|
|
@@ -61,9 +61,9 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
61
61
|
url: string;
|
|
62
62
|
};
|
|
63
63
|
gallery?: {
|
|
64
|
-
alt: string;
|
|
65
|
-
thumbnailUrl: string;
|
|
66
64
|
url: string;
|
|
65
|
+
order: number;
|
|
66
|
+
caption: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
description: z.ZodString;
|
|
@@ -87,17 +87,17 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
87
87
|
url: string;
|
|
88
88
|
}>;
|
|
89
89
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
90
|
-
alt: z.ZodString;
|
|
91
|
-
thumbnailUrl: z.ZodString;
|
|
92
90
|
url: z.ZodString;
|
|
91
|
+
order: z.ZodNumber;
|
|
92
|
+
caption: z.ZodString;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
alt: string;
|
|
95
|
-
thumbnailUrl: string;
|
|
96
94
|
url: string;
|
|
95
|
+
order: number;
|
|
96
|
+
caption: string;
|
|
97
97
|
}, {
|
|
98
|
-
alt: string;
|
|
99
|
-
thumbnailUrl: string;
|
|
100
98
|
url: string;
|
|
99
|
+
order: number;
|
|
100
|
+
caption: string;
|
|
101
101
|
}>, "many">>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
coverImage: {
|
|
@@ -106,9 +106,9 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
106
106
|
url: string;
|
|
107
107
|
};
|
|
108
108
|
gallery?: {
|
|
109
|
-
alt: string;
|
|
110
|
-
thumbnailUrl: string;
|
|
111
109
|
url: string;
|
|
110
|
+
order: number;
|
|
111
|
+
caption: string;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
}, {
|
|
114
114
|
coverImage: {
|
|
@@ -117,9 +117,9 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
117
117
|
url: string;
|
|
118
118
|
};
|
|
119
119
|
gallery?: {
|
|
120
|
-
alt: string;
|
|
121
|
-
thumbnailUrl: string;
|
|
122
120
|
url: string;
|
|
121
|
+
order: number;
|
|
122
|
+
caption: string;
|
|
123
123
|
}[] | undefined;
|
|
124
124
|
}>;
|
|
125
125
|
description: z.ZodString;
|
|
@@ -143,17 +143,17 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
143
143
|
url: string;
|
|
144
144
|
}>;
|
|
145
145
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
146
|
-
alt: z.ZodString;
|
|
147
|
-
thumbnailUrl: z.ZodString;
|
|
148
146
|
url: z.ZodString;
|
|
147
|
+
order: z.ZodNumber;
|
|
148
|
+
caption: z.ZodString;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
alt: string;
|
|
151
|
-
thumbnailUrl: string;
|
|
152
150
|
url: string;
|
|
151
|
+
order: number;
|
|
152
|
+
caption: string;
|
|
153
153
|
}, {
|
|
154
|
-
alt: string;
|
|
155
|
-
thumbnailUrl: string;
|
|
156
154
|
url: string;
|
|
155
|
+
order: number;
|
|
156
|
+
caption: string;
|
|
157
157
|
}>, "many">>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
159
|
coverImage: {
|
|
@@ -162,9 +162,9 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
162
162
|
url: string;
|
|
163
163
|
};
|
|
164
164
|
gallery?: {
|
|
165
|
-
alt: string;
|
|
166
|
-
thumbnailUrl: string;
|
|
167
165
|
url: string;
|
|
166
|
+
order: number;
|
|
167
|
+
caption: string;
|
|
168
168
|
}[] | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
coverImage: {
|
|
@@ -173,9 +173,9 @@ export declare const stepDetailsSchema: z.ZodObject<{
|
|
|
173
173
|
url: string;
|
|
174
174
|
};
|
|
175
175
|
gallery?: {
|
|
176
|
-
alt: string;
|
|
177
|
-
thumbnailUrl: string;
|
|
178
176
|
url: string;
|
|
177
|
+
order: number;
|
|
178
|
+
caption: string;
|
|
179
179
|
}[] | undefined;
|
|
180
180
|
}>;
|
|
181
181
|
description: z.ZodString;
|
|
@@ -1586,7 +1586,7 @@ export declare const pendingApprovalEditSchema: z.ZodObject<{
|
|
|
1586
1586
|
tagline: z.ZodOptional<z.ZodString>;
|
|
1587
1587
|
highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1588
1588
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1589
|
-
media: z.ZodObject<{
|
|
1589
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
1590
1590
|
coverImage: z.ZodObject<{
|
|
1591
1591
|
alt: z.ZodString;
|
|
1592
1592
|
thumbnailUrl: z.ZodString;
|
|
@@ -1601,17 +1601,17 @@ export declare const pendingApprovalEditSchema: z.ZodObject<{
|
|
|
1601
1601
|
url: string;
|
|
1602
1602
|
}>;
|
|
1603
1603
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1604
|
-
alt: z.ZodString;
|
|
1605
|
-
thumbnailUrl: z.ZodString;
|
|
1606
1604
|
url: z.ZodString;
|
|
1605
|
+
order: z.ZodNumber;
|
|
1606
|
+
caption: z.ZodString;
|
|
1607
1607
|
}, "strip", z.ZodTypeAny, {
|
|
1608
|
-
alt: string;
|
|
1609
|
-
thumbnailUrl: string;
|
|
1610
1608
|
url: string;
|
|
1609
|
+
order: number;
|
|
1610
|
+
caption: string;
|
|
1611
1611
|
}, {
|
|
1612
|
-
alt: string;
|
|
1613
|
-
thumbnailUrl: string;
|
|
1614
1612
|
url: string;
|
|
1613
|
+
order: number;
|
|
1614
|
+
caption: string;
|
|
1615
1615
|
}>, "many">>;
|
|
1616
1616
|
}, "strip", z.ZodTypeAny, {
|
|
1617
1617
|
coverImage: {
|
|
@@ -1620,9 +1620,9 @@ export declare const pendingApprovalEditSchema: z.ZodObject<{
|
|
|
1620
1620
|
url: string;
|
|
1621
1621
|
};
|
|
1622
1622
|
gallery?: {
|
|
1623
|
-
alt: string;
|
|
1624
|
-
thumbnailUrl: string;
|
|
1625
1623
|
url: string;
|
|
1624
|
+
order: number;
|
|
1625
|
+
caption: string;
|
|
1626
1626
|
}[] | undefined;
|
|
1627
1627
|
}, {
|
|
1628
1628
|
coverImage: {
|
|
@@ -1631,11 +1631,11 @@ export declare const pendingApprovalEditSchema: z.ZodObject<{
|
|
|
1631
1631
|
url: string;
|
|
1632
1632
|
};
|
|
1633
1633
|
gallery?: {
|
|
1634
|
-
alt: string;
|
|
1635
|
-
thumbnailUrl: string;
|
|
1636
1634
|
url: string;
|
|
1635
|
+
order: number;
|
|
1636
|
+
caption: string;
|
|
1637
1637
|
}[] | undefined;
|
|
1638
|
-
}
|
|
1638
|
+
}>>;
|
|
1639
1639
|
additionalDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1640
1640
|
type: z.ZodOptional<z.ZodEnum<["venue_booking", "permit", "insurance", "license", "portfolio", "other"]>>;
|
|
1641
1641
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1663,22 +1663,22 @@ export declare const pendingApprovalEditSchema: z.ZodObject<{
|
|
|
1663
1663
|
benefits?: string[] | undefined;
|
|
1664
1664
|
}>, "many">>;
|
|
1665
1665
|
}, "strip", z.ZodTypeAny, {
|
|
1666
|
-
|
|
1666
|
+
eventId: string;
|
|
1667
|
+
hostId: string;
|
|
1668
|
+
description?: string | undefined;
|
|
1669
|
+
tagline?: string | undefined;
|
|
1670
|
+
media?: {
|
|
1667
1671
|
coverImage: {
|
|
1668
1672
|
alt: string;
|
|
1669
1673
|
thumbnailUrl: string;
|
|
1670
1674
|
url: string;
|
|
1671
1675
|
};
|
|
1672
1676
|
gallery?: {
|
|
1673
|
-
alt: string;
|
|
1674
|
-
thumbnailUrl: string;
|
|
1675
1677
|
url: string;
|
|
1678
|
+
order: number;
|
|
1679
|
+
caption: string;
|
|
1676
1680
|
}[] | undefined;
|
|
1677
|
-
};
|
|
1678
|
-
eventId: string;
|
|
1679
|
-
hostId: string;
|
|
1680
|
-
description?: string | undefined;
|
|
1681
|
-
tagline?: string | undefined;
|
|
1681
|
+
} | undefined;
|
|
1682
1682
|
highlights?: string[] | undefined;
|
|
1683
1683
|
tickets?: {
|
|
1684
1684
|
_id: string;
|
|
@@ -1692,22 +1692,22 @@ export declare const pendingApprovalEditSchema: z.ZodObject<{
|
|
|
1692
1692
|
url?: string | undefined;
|
|
1693
1693
|
}[] | undefined;
|
|
1694
1694
|
}, {
|
|
1695
|
-
|
|
1695
|
+
eventId: string;
|
|
1696
|
+
hostId: string;
|
|
1697
|
+
description?: string | undefined;
|
|
1698
|
+
tagline?: string | undefined;
|
|
1699
|
+
media?: {
|
|
1696
1700
|
coverImage: {
|
|
1697
1701
|
alt: string;
|
|
1698
1702
|
thumbnailUrl: string;
|
|
1699
1703
|
url: string;
|
|
1700
1704
|
};
|
|
1701
1705
|
gallery?: {
|
|
1702
|
-
alt: string;
|
|
1703
|
-
thumbnailUrl: string;
|
|
1704
1706
|
url: string;
|
|
1707
|
+
order: number;
|
|
1708
|
+
caption: string;
|
|
1705
1709
|
}[] | undefined;
|
|
1706
|
-
};
|
|
1707
|
-
eventId: string;
|
|
1708
|
-
hostId: string;
|
|
1709
|
-
description?: string | undefined;
|
|
1710
|
-
tagline?: string | undefined;
|
|
1710
|
+
} | undefined;
|
|
1711
1711
|
highlights?: string[] | undefined;
|
|
1712
1712
|
tickets?: {
|
|
1713
1713
|
_id: string;
|
|
@@ -1728,7 +1728,7 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1728
1728
|
tagline: z.ZodOptional<z.ZodString>;
|
|
1729
1729
|
highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1730
1730
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1731
|
-
media: z.ZodObject<{
|
|
1731
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
1732
1732
|
coverImage: z.ZodObject<{
|
|
1733
1733
|
alt: z.ZodString;
|
|
1734
1734
|
thumbnailUrl: z.ZodString;
|
|
@@ -1743,17 +1743,17 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1743
1743
|
url: string;
|
|
1744
1744
|
}>;
|
|
1745
1745
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1746
|
-
alt: z.ZodString;
|
|
1747
|
-
thumbnailUrl: z.ZodString;
|
|
1748
1746
|
url: z.ZodString;
|
|
1747
|
+
order: z.ZodNumber;
|
|
1748
|
+
caption: z.ZodString;
|
|
1749
1749
|
}, "strip", z.ZodTypeAny, {
|
|
1750
|
-
alt: string;
|
|
1751
|
-
thumbnailUrl: string;
|
|
1752
1750
|
url: string;
|
|
1751
|
+
order: number;
|
|
1752
|
+
caption: string;
|
|
1753
1753
|
}, {
|
|
1754
|
-
alt: string;
|
|
1755
|
-
thumbnailUrl: string;
|
|
1756
1754
|
url: string;
|
|
1755
|
+
order: number;
|
|
1756
|
+
caption: string;
|
|
1757
1757
|
}>, "many">>;
|
|
1758
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1759
1759
|
coverImage: {
|
|
@@ -1762,9 +1762,9 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1762
1762
|
url: string;
|
|
1763
1763
|
};
|
|
1764
1764
|
gallery?: {
|
|
1765
|
-
alt: string;
|
|
1766
|
-
thumbnailUrl: string;
|
|
1767
1765
|
url: string;
|
|
1766
|
+
order: number;
|
|
1767
|
+
caption: string;
|
|
1768
1768
|
}[] | undefined;
|
|
1769
1769
|
}, {
|
|
1770
1770
|
coverImage: {
|
|
@@ -1773,12 +1773,12 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1773
1773
|
url: string;
|
|
1774
1774
|
};
|
|
1775
1775
|
gallery?: {
|
|
1776
|
-
alt: string;
|
|
1777
|
-
thumbnailUrl: string;
|
|
1778
1776
|
url: string;
|
|
1777
|
+
order: number;
|
|
1778
|
+
caption: string;
|
|
1779
1779
|
}[] | undefined;
|
|
1780
|
-
}
|
|
1781
|
-
tickets: z.ZodArray<z.ZodObject<{
|
|
1780
|
+
}>>;
|
|
1781
|
+
tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1782
1782
|
_id: z.ZodOptional<z.ZodString>;
|
|
1783
1783
|
name: z.ZodString;
|
|
1784
1784
|
price: z.ZodNumber;
|
|
@@ -1823,7 +1823,7 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1823
1823
|
isVisible?: boolean | undefined;
|
|
1824
1824
|
isActive?: boolean | undefined;
|
|
1825
1825
|
benefits?: string[] | undefined;
|
|
1826
|
-
}>, "many"
|
|
1826
|
+
}>, "many">>;
|
|
1827
1827
|
schedule: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
1828
1828
|
startDate: z.ZodDate;
|
|
1829
1829
|
endDate: z.ZodDate;
|
|
@@ -1841,19 +1841,28 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1841
1841
|
endDate: Date;
|
|
1842
1842
|
} | undefined>;
|
|
1843
1843
|
}, "strip", z.ZodTypeAny, {
|
|
1844
|
-
|
|
1844
|
+
eventId: string;
|
|
1845
|
+
hostId: string;
|
|
1846
|
+
description?: string | undefined;
|
|
1847
|
+
tagline?: string | undefined;
|
|
1848
|
+
media?: {
|
|
1845
1849
|
coverImage: {
|
|
1846
1850
|
alt: string;
|
|
1847
1851
|
thumbnailUrl: string;
|
|
1848
1852
|
url: string;
|
|
1849
1853
|
};
|
|
1850
1854
|
gallery?: {
|
|
1851
|
-
alt: string;
|
|
1852
|
-
thumbnailUrl: string;
|
|
1853
1855
|
url: string;
|
|
1856
|
+
order: number;
|
|
1857
|
+
caption: string;
|
|
1854
1858
|
}[] | undefined;
|
|
1855
|
-
};
|
|
1856
|
-
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
highlights?: string[] | undefined;
|
|
1861
|
+
schedule?: {
|
|
1862
|
+
startDate: Date;
|
|
1863
|
+
endDate: Date;
|
|
1864
|
+
} | undefined;
|
|
1865
|
+
tickets?: {
|
|
1857
1866
|
name: string;
|
|
1858
1867
|
price: number;
|
|
1859
1868
|
quantity: number;
|
|
@@ -1866,31 +1875,31 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1866
1875
|
maxPerOrder: number;
|
|
1867
1876
|
} | undefined;
|
|
1868
1877
|
benefits?: string[] | undefined;
|
|
1869
|
-
}[];
|
|
1878
|
+
}[] | undefined;
|
|
1879
|
+
languages?: string[] | undefined;
|
|
1880
|
+
}, {
|
|
1870
1881
|
eventId: string;
|
|
1871
1882
|
hostId: string;
|
|
1872
1883
|
description?: string | undefined;
|
|
1873
1884
|
tagline?: string | undefined;
|
|
1874
|
-
|
|
1875
|
-
schedule?: {
|
|
1876
|
-
startDate: Date;
|
|
1877
|
-
endDate: Date;
|
|
1878
|
-
} | undefined;
|
|
1879
|
-
languages?: string[] | undefined;
|
|
1880
|
-
}, {
|
|
1881
|
-
media: {
|
|
1885
|
+
media?: {
|
|
1882
1886
|
coverImage: {
|
|
1883
1887
|
alt: string;
|
|
1884
1888
|
thumbnailUrl: string;
|
|
1885
1889
|
url: string;
|
|
1886
1890
|
};
|
|
1887
1891
|
gallery?: {
|
|
1888
|
-
alt: string;
|
|
1889
|
-
thumbnailUrl: string;
|
|
1890
1892
|
url: string;
|
|
1893
|
+
order: number;
|
|
1894
|
+
caption: string;
|
|
1891
1895
|
}[] | undefined;
|
|
1892
|
-
};
|
|
1893
|
-
|
|
1896
|
+
} | undefined;
|
|
1897
|
+
highlights?: string[] | undefined;
|
|
1898
|
+
schedule?: {
|
|
1899
|
+
startDate: Date;
|
|
1900
|
+
endDate: Date;
|
|
1901
|
+
} | undefined;
|
|
1902
|
+
tickets?: {
|
|
1894
1903
|
name: string;
|
|
1895
1904
|
price: number;
|
|
1896
1905
|
quantity: number;
|
|
@@ -1903,16 +1912,7 @@ export declare const approvedEventEditSchema: z.ZodObject<{
|
|
|
1903
1912
|
isVisible?: boolean | undefined;
|
|
1904
1913
|
isActive?: boolean | undefined;
|
|
1905
1914
|
benefits?: string[] | undefined;
|
|
1906
|
-
}[];
|
|
1907
|
-
eventId: string;
|
|
1908
|
-
hostId: string;
|
|
1909
|
-
description?: string | undefined;
|
|
1910
|
-
tagline?: string | undefined;
|
|
1911
|
-
highlights?: string[] | undefined;
|
|
1912
|
-
schedule?: {
|
|
1913
|
-
startDate: Date;
|
|
1914
|
-
endDate: Date;
|
|
1915
|
-
} | undefined;
|
|
1915
|
+
}[] | undefined;
|
|
1916
1916
|
languages?: string[] | undefined;
|
|
1917
1917
|
}>;
|
|
1918
1918
|
export declare const publishedEventEditSchema: z.ZodObject<{
|
|
@@ -1936,17 +1936,17 @@ export declare const publishedEventEditSchema: z.ZodObject<{
|
|
|
1936
1936
|
url: string;
|
|
1937
1937
|
}>;
|
|
1938
1938
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1939
|
-
alt: z.ZodString;
|
|
1940
|
-
thumbnailUrl: z.ZodString;
|
|
1941
1939
|
url: z.ZodString;
|
|
1940
|
+
order: z.ZodNumber;
|
|
1941
|
+
caption: z.ZodString;
|
|
1942
1942
|
}, "strip", z.ZodTypeAny, {
|
|
1943
|
-
alt: string;
|
|
1944
|
-
thumbnailUrl: string;
|
|
1945
1943
|
url: string;
|
|
1944
|
+
order: number;
|
|
1945
|
+
caption: string;
|
|
1946
1946
|
}, {
|
|
1947
|
-
alt: string;
|
|
1948
|
-
thumbnailUrl: string;
|
|
1949
1947
|
url: string;
|
|
1948
|
+
order: number;
|
|
1949
|
+
caption: string;
|
|
1950
1950
|
}>, "many">>;
|
|
1951
1951
|
}, "strip", z.ZodTypeAny, {
|
|
1952
1952
|
coverImage: {
|
|
@@ -1955,9 +1955,9 @@ export declare const publishedEventEditSchema: z.ZodObject<{
|
|
|
1955
1955
|
url: string;
|
|
1956
1956
|
};
|
|
1957
1957
|
gallery?: {
|
|
1958
|
-
alt: string;
|
|
1959
|
-
thumbnailUrl: string;
|
|
1960
1958
|
url: string;
|
|
1959
|
+
order: number;
|
|
1960
|
+
caption: string;
|
|
1961
1961
|
}[] | undefined;
|
|
1962
1962
|
}, {
|
|
1963
1963
|
coverImage: {
|
|
@@ -1966,12 +1966,12 @@ export declare const publishedEventEditSchema: z.ZodObject<{
|
|
|
1966
1966
|
url: string;
|
|
1967
1967
|
};
|
|
1968
1968
|
gallery?: {
|
|
1969
|
-
alt: string;
|
|
1970
|
-
thumbnailUrl: string;
|
|
1971
1969
|
url: string;
|
|
1970
|
+
order: number;
|
|
1971
|
+
caption: string;
|
|
1972
1972
|
}[] | undefined;
|
|
1973
1973
|
}>>;
|
|
1974
|
-
tickets: z.ZodArray<z.ZodObject<{
|
|
1974
|
+
tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1975
1975
|
_id: z.ZodString;
|
|
1976
1976
|
price: z.ZodOptional<z.ZodNumber>;
|
|
1977
1977
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2013,21 +2013,8 @@ export declare const publishedEventEditSchema: z.ZodObject<{
|
|
|
2013
2013
|
isVisible?: boolean | undefined;
|
|
2014
2014
|
isActive?: boolean | undefined;
|
|
2015
2015
|
benefits?: string[] | undefined;
|
|
2016
|
-
}>, "many"
|
|
2016
|
+
}>, "many">>;
|
|
2017
2017
|
}, "strip", z.ZodTypeAny, {
|
|
2018
|
-
tickets: {
|
|
2019
|
-
_id: string;
|
|
2020
|
-
wristbandColor: string;
|
|
2021
|
-
isVisible: boolean;
|
|
2022
|
-
isActive: boolean;
|
|
2023
|
-
price?: number | undefined;
|
|
2024
|
-
quantity?: number | undefined;
|
|
2025
|
-
limits?: {
|
|
2026
|
-
minPerOrder?: number | undefined;
|
|
2027
|
-
maxPerOrder?: number | undefined;
|
|
2028
|
-
} | undefined;
|
|
2029
|
-
benefits?: string[] | undefined;
|
|
2030
|
-
}[];
|
|
2031
2018
|
eventId: string;
|
|
2032
2019
|
hostId: string;
|
|
2033
2020
|
description?: string | undefined;
|
|
@@ -2038,27 +2025,27 @@ export declare const publishedEventEditSchema: z.ZodObject<{
|
|
|
2038
2025
|
url: string;
|
|
2039
2026
|
};
|
|
2040
2027
|
gallery?: {
|
|
2041
|
-
alt: string;
|
|
2042
|
-
thumbnailUrl: string;
|
|
2043
2028
|
url: string;
|
|
2029
|
+
order: number;
|
|
2030
|
+
caption: string;
|
|
2044
2031
|
}[] | undefined;
|
|
2045
2032
|
} | undefined;
|
|
2046
2033
|
highlights?: string[] | undefined;
|
|
2047
|
-
|
|
2048
|
-
}, {
|
|
2049
|
-
tickets: {
|
|
2034
|
+
tickets?: {
|
|
2050
2035
|
_id: string;
|
|
2036
|
+
wristbandColor: string;
|
|
2037
|
+
isVisible: boolean;
|
|
2038
|
+
isActive: boolean;
|
|
2051
2039
|
price?: number | undefined;
|
|
2052
2040
|
quantity?: number | undefined;
|
|
2053
2041
|
limits?: {
|
|
2054
2042
|
minPerOrder?: number | undefined;
|
|
2055
2043
|
maxPerOrder?: number | undefined;
|
|
2056
2044
|
} | undefined;
|
|
2057
|
-
wristbandColor?: string | undefined;
|
|
2058
|
-
isVisible?: boolean | undefined;
|
|
2059
|
-
isActive?: boolean | undefined;
|
|
2060
2045
|
benefits?: string[] | undefined;
|
|
2061
|
-
}[];
|
|
2046
|
+
}[] | undefined;
|
|
2047
|
+
languages?: string[] | undefined;
|
|
2048
|
+
}, {
|
|
2062
2049
|
eventId: string;
|
|
2063
2050
|
hostId: string;
|
|
2064
2051
|
description?: string | undefined;
|
|
@@ -2069,12 +2056,25 @@ export declare const publishedEventEditSchema: z.ZodObject<{
|
|
|
2069
2056
|
url: string;
|
|
2070
2057
|
};
|
|
2071
2058
|
gallery?: {
|
|
2072
|
-
alt: string;
|
|
2073
|
-
thumbnailUrl: string;
|
|
2074
2059
|
url: string;
|
|
2060
|
+
order: number;
|
|
2061
|
+
caption: string;
|
|
2075
2062
|
}[] | undefined;
|
|
2076
2063
|
} | undefined;
|
|
2077
2064
|
highlights?: string[] | undefined;
|
|
2065
|
+
tickets?: {
|
|
2066
|
+
_id: string;
|
|
2067
|
+
price?: number | undefined;
|
|
2068
|
+
quantity?: number | undefined;
|
|
2069
|
+
limits?: {
|
|
2070
|
+
minPerOrder?: number | undefined;
|
|
2071
|
+
maxPerOrder?: number | undefined;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
wristbandColor?: string | undefined;
|
|
2074
|
+
isVisible?: boolean | undefined;
|
|
2075
|
+
isActive?: boolean | undefined;
|
|
2076
|
+
benefits?: string[] | undefined;
|
|
2077
|
+
}[] | undefined;
|
|
2078
2078
|
languages?: string[] | undefined;
|
|
2079
2079
|
}>;
|
|
2080
2080
|
export declare const liveEventEditSchema: z.ZodObject<{
|
|
@@ -2150,17 +2150,17 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2150
2150
|
url: string;
|
|
2151
2151
|
}>;
|
|
2152
2152
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2153
|
-
alt: z.ZodString;
|
|
2154
|
-
thumbnailUrl: z.ZodString;
|
|
2155
2153
|
url: z.ZodString;
|
|
2154
|
+
order: z.ZodNumber;
|
|
2155
|
+
caption: z.ZodString;
|
|
2156
2156
|
}, "strip", z.ZodTypeAny, {
|
|
2157
|
-
alt: string;
|
|
2158
|
-
thumbnailUrl: string;
|
|
2159
2157
|
url: string;
|
|
2158
|
+
order: number;
|
|
2159
|
+
caption: string;
|
|
2160
2160
|
}, {
|
|
2161
|
-
alt: string;
|
|
2162
|
-
thumbnailUrl: string;
|
|
2163
2161
|
url: string;
|
|
2162
|
+
order: number;
|
|
2163
|
+
caption: string;
|
|
2164
2164
|
}>, "many">>;
|
|
2165
2165
|
}, "strip", z.ZodTypeAny, {
|
|
2166
2166
|
coverImage: {
|
|
@@ -2169,9 +2169,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2169
2169
|
url: string;
|
|
2170
2170
|
};
|
|
2171
2171
|
gallery?: {
|
|
2172
|
-
alt: string;
|
|
2173
|
-
thumbnailUrl: string;
|
|
2174
2172
|
url: string;
|
|
2173
|
+
order: number;
|
|
2174
|
+
caption: string;
|
|
2175
2175
|
}[] | undefined;
|
|
2176
2176
|
}, {
|
|
2177
2177
|
coverImage: {
|
|
@@ -2180,9 +2180,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2180
2180
|
url: string;
|
|
2181
2181
|
};
|
|
2182
2182
|
gallery?: {
|
|
2183
|
-
alt: string;
|
|
2184
|
-
thumbnailUrl: string;
|
|
2185
2183
|
url: string;
|
|
2184
|
+
order: number;
|
|
2185
|
+
caption: string;
|
|
2186
2186
|
}[] | undefined;
|
|
2187
2187
|
}>;
|
|
2188
2188
|
description: z.ZodString;
|
|
@@ -2476,17 +2476,17 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2476
2476
|
url: string;
|
|
2477
2477
|
}>;
|
|
2478
2478
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2479
|
-
alt: z.ZodString;
|
|
2480
|
-
thumbnailUrl: z.ZodString;
|
|
2481
2479
|
url: z.ZodString;
|
|
2480
|
+
order: z.ZodNumber;
|
|
2481
|
+
caption: z.ZodString;
|
|
2482
2482
|
}, "strip", z.ZodTypeAny, {
|
|
2483
|
-
alt: string;
|
|
2484
|
-
thumbnailUrl: string;
|
|
2485
2483
|
url: string;
|
|
2484
|
+
order: number;
|
|
2485
|
+
caption: string;
|
|
2486
2486
|
}, {
|
|
2487
|
-
alt: string;
|
|
2488
|
-
thumbnailUrl: string;
|
|
2489
2487
|
url: string;
|
|
2488
|
+
order: number;
|
|
2489
|
+
caption: string;
|
|
2490
2490
|
}>, "many">>;
|
|
2491
2491
|
}, "strip", z.ZodTypeAny, {
|
|
2492
2492
|
coverImage: {
|
|
@@ -2495,9 +2495,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2495
2495
|
url: string;
|
|
2496
2496
|
};
|
|
2497
2497
|
gallery?: {
|
|
2498
|
-
alt: string;
|
|
2499
|
-
thumbnailUrl: string;
|
|
2500
2498
|
url: string;
|
|
2499
|
+
order: number;
|
|
2500
|
+
caption: string;
|
|
2501
2501
|
}[] | undefined;
|
|
2502
2502
|
}, {
|
|
2503
2503
|
coverImage: {
|
|
@@ -2506,9 +2506,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2506
2506
|
url: string;
|
|
2507
2507
|
};
|
|
2508
2508
|
gallery?: {
|
|
2509
|
-
alt: string;
|
|
2510
|
-
thumbnailUrl: string;
|
|
2511
2509
|
url: string;
|
|
2510
|
+
order: number;
|
|
2511
|
+
caption: string;
|
|
2512
2512
|
}[] | undefined;
|
|
2513
2513
|
}>;
|
|
2514
2514
|
description: z.ZodString;
|
|
@@ -2802,17 +2802,17 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2802
2802
|
url: string;
|
|
2803
2803
|
}>;
|
|
2804
2804
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2805
|
-
alt: z.ZodString;
|
|
2806
|
-
thumbnailUrl: z.ZodString;
|
|
2807
2805
|
url: z.ZodString;
|
|
2806
|
+
order: z.ZodNumber;
|
|
2807
|
+
caption: z.ZodString;
|
|
2808
2808
|
}, "strip", z.ZodTypeAny, {
|
|
2809
|
-
alt: string;
|
|
2810
|
-
thumbnailUrl: string;
|
|
2811
2809
|
url: string;
|
|
2810
|
+
order: number;
|
|
2811
|
+
caption: string;
|
|
2812
2812
|
}, {
|
|
2813
|
-
alt: string;
|
|
2814
|
-
thumbnailUrl: string;
|
|
2815
2813
|
url: string;
|
|
2814
|
+
order: number;
|
|
2815
|
+
caption: string;
|
|
2816
2816
|
}>, "many">>;
|
|
2817
2817
|
}, "strip", z.ZodTypeAny, {
|
|
2818
2818
|
coverImage: {
|
|
@@ -2821,9 +2821,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2821
2821
|
url: string;
|
|
2822
2822
|
};
|
|
2823
2823
|
gallery?: {
|
|
2824
|
-
alt: string;
|
|
2825
|
-
thumbnailUrl: string;
|
|
2826
2824
|
url: string;
|
|
2825
|
+
order: number;
|
|
2826
|
+
caption: string;
|
|
2827
2827
|
}[] | undefined;
|
|
2828
2828
|
}, {
|
|
2829
2829
|
coverImage: {
|
|
@@ -2832,9 +2832,9 @@ export declare const submitEventSchema: z.ZodObject<{
|
|
|
2832
2832
|
url: string;
|
|
2833
2833
|
};
|
|
2834
2834
|
gallery?: {
|
|
2835
|
-
alt: string;
|
|
2836
|
-
thumbnailUrl: string;
|
|
2837
2835
|
url: string;
|
|
2836
|
+
order: number;
|
|
2837
|
+
caption: string;
|
|
2838
2838
|
}[] | undefined;
|
|
2839
2839
|
}>;
|
|
2840
2840
|
description: z.ZodString;
|
|
@@ -3129,17 +3129,17 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3129
3129
|
url: string;
|
|
3130
3130
|
}>;
|
|
3131
3131
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3132
|
-
alt: z.ZodString;
|
|
3133
|
-
thumbnailUrl: z.ZodString;
|
|
3134
3132
|
url: z.ZodString;
|
|
3133
|
+
order: z.ZodNumber;
|
|
3134
|
+
caption: z.ZodString;
|
|
3135
3135
|
}, "strip", z.ZodTypeAny, {
|
|
3136
|
-
alt: string;
|
|
3137
|
-
thumbnailUrl: string;
|
|
3138
3136
|
url: string;
|
|
3137
|
+
order: number;
|
|
3138
|
+
caption: string;
|
|
3139
3139
|
}, {
|
|
3140
|
-
alt: string;
|
|
3141
|
-
thumbnailUrl: string;
|
|
3142
3140
|
url: string;
|
|
3141
|
+
order: number;
|
|
3142
|
+
caption: string;
|
|
3143
3143
|
}>, "many">>;
|
|
3144
3144
|
}, "strip", z.ZodTypeAny, {
|
|
3145
3145
|
coverImage: {
|
|
@@ -3148,9 +3148,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3148
3148
|
url: string;
|
|
3149
3149
|
};
|
|
3150
3150
|
gallery?: {
|
|
3151
|
-
alt: string;
|
|
3152
|
-
thumbnailUrl: string;
|
|
3153
3151
|
url: string;
|
|
3152
|
+
order: number;
|
|
3153
|
+
caption: string;
|
|
3154
3154
|
}[] | undefined;
|
|
3155
3155
|
}, {
|
|
3156
3156
|
coverImage: {
|
|
@@ -3159,9 +3159,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3159
3159
|
url: string;
|
|
3160
3160
|
};
|
|
3161
3161
|
gallery?: {
|
|
3162
|
-
alt: string;
|
|
3163
|
-
thumbnailUrl: string;
|
|
3164
3162
|
url: string;
|
|
3163
|
+
order: number;
|
|
3164
|
+
caption: string;
|
|
3165
3165
|
}[] | undefined;
|
|
3166
3166
|
}>;
|
|
3167
3167
|
description: z.ZodString;
|
|
@@ -3455,17 +3455,17 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3455
3455
|
url: string;
|
|
3456
3456
|
}>;
|
|
3457
3457
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3458
|
-
alt: z.ZodString;
|
|
3459
|
-
thumbnailUrl: z.ZodString;
|
|
3460
3458
|
url: z.ZodString;
|
|
3459
|
+
order: z.ZodNumber;
|
|
3460
|
+
caption: z.ZodString;
|
|
3461
3461
|
}, "strip", z.ZodTypeAny, {
|
|
3462
|
-
alt: string;
|
|
3463
|
-
thumbnailUrl: string;
|
|
3464
3462
|
url: string;
|
|
3463
|
+
order: number;
|
|
3464
|
+
caption: string;
|
|
3465
3465
|
}, {
|
|
3466
|
-
alt: string;
|
|
3467
|
-
thumbnailUrl: string;
|
|
3468
3466
|
url: string;
|
|
3467
|
+
order: number;
|
|
3468
|
+
caption: string;
|
|
3469
3469
|
}>, "many">>;
|
|
3470
3470
|
}, "strip", z.ZodTypeAny, {
|
|
3471
3471
|
coverImage: {
|
|
@@ -3474,9 +3474,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3474
3474
|
url: string;
|
|
3475
3475
|
};
|
|
3476
3476
|
gallery?: {
|
|
3477
|
-
alt: string;
|
|
3478
|
-
thumbnailUrl: string;
|
|
3479
3477
|
url: string;
|
|
3478
|
+
order: number;
|
|
3479
|
+
caption: string;
|
|
3480
3480
|
}[] | undefined;
|
|
3481
3481
|
}, {
|
|
3482
3482
|
coverImage: {
|
|
@@ -3485,9 +3485,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3485
3485
|
url: string;
|
|
3486
3486
|
};
|
|
3487
3487
|
gallery?: {
|
|
3488
|
-
alt: string;
|
|
3489
|
-
thumbnailUrl: string;
|
|
3490
3488
|
url: string;
|
|
3489
|
+
order: number;
|
|
3490
|
+
caption: string;
|
|
3491
3491
|
}[] | undefined;
|
|
3492
3492
|
}>;
|
|
3493
3493
|
description: z.ZodString;
|
|
@@ -3781,17 +3781,17 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3781
3781
|
url: string;
|
|
3782
3782
|
}>;
|
|
3783
3783
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3784
|
-
alt: z.ZodString;
|
|
3785
|
-
thumbnailUrl: z.ZodString;
|
|
3786
3784
|
url: z.ZodString;
|
|
3785
|
+
order: z.ZodNumber;
|
|
3786
|
+
caption: z.ZodString;
|
|
3787
3787
|
}, "strip", z.ZodTypeAny, {
|
|
3788
|
-
alt: string;
|
|
3789
|
-
thumbnailUrl: string;
|
|
3790
3788
|
url: string;
|
|
3789
|
+
order: number;
|
|
3790
|
+
caption: string;
|
|
3791
3791
|
}, {
|
|
3792
|
-
alt: string;
|
|
3793
|
-
thumbnailUrl: string;
|
|
3794
3792
|
url: string;
|
|
3793
|
+
order: number;
|
|
3794
|
+
caption: string;
|
|
3795
3795
|
}>, "many">>;
|
|
3796
3796
|
}, "strip", z.ZodTypeAny, {
|
|
3797
3797
|
coverImage: {
|
|
@@ -3800,9 +3800,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3800
3800
|
url: string;
|
|
3801
3801
|
};
|
|
3802
3802
|
gallery?: {
|
|
3803
|
-
alt: string;
|
|
3804
|
-
thumbnailUrl: string;
|
|
3805
3803
|
url: string;
|
|
3804
|
+
order: number;
|
|
3805
|
+
caption: string;
|
|
3806
3806
|
}[] | undefined;
|
|
3807
3807
|
}, {
|
|
3808
3808
|
coverImage: {
|
|
@@ -3811,9 +3811,9 @@ export declare const clientGetEventSchema: z.ZodObject<{
|
|
|
3811
3811
|
url: string;
|
|
3812
3812
|
};
|
|
3813
3813
|
gallery?: {
|
|
3814
|
-
alt: string;
|
|
3815
|
-
thumbnailUrl: string;
|
|
3816
3814
|
url: string;
|
|
3815
|
+
order: number;
|
|
3816
|
+
caption: string;
|
|
3817
3817
|
}[] | undefined;
|
|
3818
3818
|
}>;
|
|
3819
3819
|
description: z.ZodString;
|
|
@@ -4106,17 +4106,17 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4106
4106
|
url: string;
|
|
4107
4107
|
}>;
|
|
4108
4108
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4109
|
-
alt: z.ZodString;
|
|
4110
|
-
thumbnailUrl: z.ZodString;
|
|
4111
4109
|
url: z.ZodString;
|
|
4110
|
+
order: z.ZodNumber;
|
|
4111
|
+
caption: z.ZodString;
|
|
4112
4112
|
}, "strip", z.ZodTypeAny, {
|
|
4113
|
-
alt: string;
|
|
4114
|
-
thumbnailUrl: string;
|
|
4115
4113
|
url: string;
|
|
4114
|
+
order: number;
|
|
4115
|
+
caption: string;
|
|
4116
4116
|
}, {
|
|
4117
|
-
alt: string;
|
|
4118
|
-
thumbnailUrl: string;
|
|
4119
4117
|
url: string;
|
|
4118
|
+
order: number;
|
|
4119
|
+
caption: string;
|
|
4120
4120
|
}>, "many">>;
|
|
4121
4121
|
}, "strip", z.ZodTypeAny, {
|
|
4122
4122
|
coverImage: {
|
|
@@ -4125,9 +4125,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4125
4125
|
url: string;
|
|
4126
4126
|
};
|
|
4127
4127
|
gallery?: {
|
|
4128
|
-
alt: string;
|
|
4129
|
-
thumbnailUrl: string;
|
|
4130
4128
|
url: string;
|
|
4129
|
+
order: number;
|
|
4130
|
+
caption: string;
|
|
4131
4131
|
}[] | undefined;
|
|
4132
4132
|
}, {
|
|
4133
4133
|
coverImage: {
|
|
@@ -4136,9 +4136,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4136
4136
|
url: string;
|
|
4137
4137
|
};
|
|
4138
4138
|
gallery?: {
|
|
4139
|
-
alt: string;
|
|
4140
|
-
thumbnailUrl: string;
|
|
4141
4139
|
url: string;
|
|
4140
|
+
order: number;
|
|
4141
|
+
caption: string;
|
|
4142
4142
|
}[] | undefined;
|
|
4143
4143
|
}>>;
|
|
4144
4144
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4427,17 +4427,17 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4427
4427
|
url: string;
|
|
4428
4428
|
}>;
|
|
4429
4429
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4430
|
-
alt: z.ZodString;
|
|
4431
|
-
thumbnailUrl: z.ZodString;
|
|
4432
4430
|
url: z.ZodString;
|
|
4431
|
+
order: z.ZodNumber;
|
|
4432
|
+
caption: z.ZodString;
|
|
4433
4433
|
}, "strip", z.ZodTypeAny, {
|
|
4434
|
-
alt: string;
|
|
4435
|
-
thumbnailUrl: string;
|
|
4436
4434
|
url: string;
|
|
4435
|
+
order: number;
|
|
4436
|
+
caption: string;
|
|
4437
4437
|
}, {
|
|
4438
|
-
alt: string;
|
|
4439
|
-
thumbnailUrl: string;
|
|
4440
4438
|
url: string;
|
|
4439
|
+
order: number;
|
|
4440
|
+
caption: string;
|
|
4441
4441
|
}>, "many">>;
|
|
4442
4442
|
}, "strip", z.ZodTypeAny, {
|
|
4443
4443
|
coverImage: {
|
|
@@ -4446,9 +4446,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4446
4446
|
url: string;
|
|
4447
4447
|
};
|
|
4448
4448
|
gallery?: {
|
|
4449
|
-
alt: string;
|
|
4450
|
-
thumbnailUrl: string;
|
|
4451
4449
|
url: string;
|
|
4450
|
+
order: number;
|
|
4451
|
+
caption: string;
|
|
4452
4452
|
}[] | undefined;
|
|
4453
4453
|
}, {
|
|
4454
4454
|
coverImage: {
|
|
@@ -4457,9 +4457,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4457
4457
|
url: string;
|
|
4458
4458
|
};
|
|
4459
4459
|
gallery?: {
|
|
4460
|
-
alt: string;
|
|
4461
|
-
thumbnailUrl: string;
|
|
4462
4460
|
url: string;
|
|
4461
|
+
order: number;
|
|
4462
|
+
caption: string;
|
|
4463
4463
|
}[] | undefined;
|
|
4464
4464
|
}>>;
|
|
4465
4465
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4748,17 +4748,17 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4748
4748
|
url: string;
|
|
4749
4749
|
}>;
|
|
4750
4750
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4751
|
-
alt: z.ZodString;
|
|
4752
|
-
thumbnailUrl: z.ZodString;
|
|
4753
4751
|
url: z.ZodString;
|
|
4752
|
+
order: z.ZodNumber;
|
|
4753
|
+
caption: z.ZodString;
|
|
4754
4754
|
}, "strip", z.ZodTypeAny, {
|
|
4755
|
-
alt: string;
|
|
4756
|
-
thumbnailUrl: string;
|
|
4757
4755
|
url: string;
|
|
4756
|
+
order: number;
|
|
4757
|
+
caption: string;
|
|
4758
4758
|
}, {
|
|
4759
|
-
alt: string;
|
|
4760
|
-
thumbnailUrl: string;
|
|
4761
4759
|
url: string;
|
|
4760
|
+
order: number;
|
|
4761
|
+
caption: string;
|
|
4762
4762
|
}>, "many">>;
|
|
4763
4763
|
}, "strip", z.ZodTypeAny, {
|
|
4764
4764
|
coverImage: {
|
|
@@ -4767,9 +4767,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4767
4767
|
url: string;
|
|
4768
4768
|
};
|
|
4769
4769
|
gallery?: {
|
|
4770
|
-
alt: string;
|
|
4771
|
-
thumbnailUrl: string;
|
|
4772
4770
|
url: string;
|
|
4771
|
+
order: number;
|
|
4772
|
+
caption: string;
|
|
4773
4773
|
}[] | undefined;
|
|
4774
4774
|
}, {
|
|
4775
4775
|
coverImage: {
|
|
@@ -4778,9 +4778,9 @@ export declare const draftEventSchema: z.ZodObject<{
|
|
|
4778
4778
|
url: string;
|
|
4779
4779
|
};
|
|
4780
4780
|
gallery?: {
|
|
4781
|
-
alt: string;
|
|
4782
|
-
thumbnailUrl: string;
|
|
4783
4781
|
url: string;
|
|
4782
|
+
order: number;
|
|
4783
|
+
caption: string;
|
|
4784
4784
|
}[] | undefined;
|
|
4785
4785
|
}>>;
|
|
4786
4786
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -99,7 +99,7 @@ exports.pendingApprovalEditSchema = zod_1.z.object({
|
|
|
99
99
|
tagline: zod_1.z.string().max(150, 'Tagline must be at most 150 characters').optional(),
|
|
100
100
|
highlights: zod_1.z.array(zod_1.z.string().max(200, 'Each highlight cannot exceed 200 characters'), { required_error: 'Highlights must be an array of strings' }).max(10, 'Cannot have more than 10 highlights').optional(),
|
|
101
101
|
languages: zod_1.z.array(zod_1.z.string()).optional(),
|
|
102
|
-
media: media_schema_1.mediaSchema,
|
|
102
|
+
media: media_schema_1.mediaSchema.optional(),
|
|
103
103
|
// Can add docs, not remove
|
|
104
104
|
additionalDocuments: zod_1.z.array(document_schema_1.documentSchema).optional(),
|
|
105
105
|
// Can clarify benefits, not change structure
|
|
@@ -117,7 +117,7 @@ exports.approvedEventEditSchema = zod_1.z.object({
|
|
|
117
117
|
tagline: zod_1.z.string().max(150, 'Tagline must be at most 150 characters').optional(),
|
|
118
118
|
highlights: zod_1.z.array(zod_1.z.string().max(200)).max(10).optional(),
|
|
119
119
|
languages: zod_1.z.array(zod_1.z.string()).optional(),
|
|
120
|
-
media: media_schema_1.mediaSchema,
|
|
120
|
+
media: media_schema_1.mediaSchema.optional(),
|
|
121
121
|
// Tickets (full control, no sales yet)
|
|
122
122
|
tickets: zod_1.z.array(zod_1.z.object({
|
|
123
123
|
_id: zod_1.z.string().optional(), // Undefined = new tier
|
|
@@ -132,7 +132,7 @@ exports.approvedEventEditSchema = zod_1.z.object({
|
|
|
132
132
|
minPerOrder: zod_1.z.number({ required_error: 'Min per order is required' }).min(1, 'Min per order must be at least 1'),
|
|
133
133
|
maxPerOrder: zod_1.z.number({ required_error: 'Max per order is required' }).min(1, 'Max per order must be at least 1')
|
|
134
134
|
}).optional()
|
|
135
|
-
})).
|
|
135
|
+
})).optional(),
|
|
136
136
|
// Minor date adjustments (±2 hours)
|
|
137
137
|
schedule: zod_1.z.object({
|
|
138
138
|
startDate: zod_1.z.date(),
|
|
@@ -175,7 +175,7 @@ exports.publishedEventEditSchema = zod_1.z.object({
|
|
|
175
175
|
minPerOrder: zod_1.z.number().min(1, 'Min per order must be at least 1').optional(),
|
|
176
176
|
maxPerOrder: zod_1.z.number().min(1, 'Max per order must be at least 1').optional()
|
|
177
177
|
}).optional()
|
|
178
|
-
}))
|
|
178
|
+
})).optional(),
|
|
179
179
|
});
|
|
180
180
|
// Live
|
|
181
181
|
exports.liveEventEditSchema = zod_1.z.object({
|
|
@@ -13,17 +13,17 @@ export declare const coverImageSchema: z.ZodObject<{
|
|
|
13
13
|
url: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const gallerySchema: z.ZodArray<z.ZodObject<{
|
|
16
|
-
alt: z.ZodString;
|
|
17
|
-
thumbnailUrl: z.ZodString;
|
|
18
16
|
url: z.ZodString;
|
|
17
|
+
order: z.ZodNumber;
|
|
18
|
+
caption: z.ZodString;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
alt: string;
|
|
21
|
-
thumbnailUrl: string;
|
|
22
20
|
url: string;
|
|
21
|
+
order: number;
|
|
22
|
+
caption: string;
|
|
23
23
|
}, {
|
|
24
|
-
alt: string;
|
|
25
|
-
thumbnailUrl: string;
|
|
26
24
|
url: string;
|
|
25
|
+
order: number;
|
|
26
|
+
caption: string;
|
|
27
27
|
}>, "many">;
|
|
28
28
|
export declare const mediaSchema: z.ZodObject<{
|
|
29
29
|
coverImage: z.ZodObject<{
|
|
@@ -40,17 +40,17 @@ export declare const mediaSchema: z.ZodObject<{
|
|
|
40
40
|
url: string;
|
|
41
41
|
}>;
|
|
42
42
|
gallery: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
-
alt: z.ZodString;
|
|
44
|
-
thumbnailUrl: z.ZodString;
|
|
45
43
|
url: z.ZodString;
|
|
44
|
+
order: z.ZodNumber;
|
|
45
|
+
caption: z.ZodString;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
alt: string;
|
|
48
|
-
thumbnailUrl: string;
|
|
49
47
|
url: string;
|
|
48
|
+
order: number;
|
|
49
|
+
caption: string;
|
|
50
50
|
}, {
|
|
51
|
-
alt: string;
|
|
52
|
-
thumbnailUrl: string;
|
|
53
51
|
url: string;
|
|
52
|
+
order: number;
|
|
53
|
+
caption: string;
|
|
54
54
|
}>, "many">>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
coverImage: {
|
|
@@ -59,9 +59,9 @@ export declare const mediaSchema: z.ZodObject<{
|
|
|
59
59
|
url: string;
|
|
60
60
|
};
|
|
61
61
|
gallery?: {
|
|
62
|
-
alt: string;
|
|
63
|
-
thumbnailUrl: string;
|
|
64
62
|
url: string;
|
|
63
|
+
order: number;
|
|
64
|
+
caption: string;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}, {
|
|
67
67
|
coverImage: {
|
|
@@ -70,8 +70,8 @@ export declare const mediaSchema: z.ZodObject<{
|
|
|
70
70
|
url: string;
|
|
71
71
|
};
|
|
72
72
|
gallery?: {
|
|
73
|
-
alt: string;
|
|
74
|
-
thumbnailUrl: string;
|
|
75
73
|
url: string;
|
|
74
|
+
order: number;
|
|
75
|
+
caption: string;
|
|
76
76
|
}[] | undefined;
|
|
77
77
|
}>;
|
|
@@ -17,17 +17,17 @@ exports.coverImageSchema = zod_1.z.object({
|
|
|
17
17
|
})
|
|
18
18
|
});
|
|
19
19
|
exports.gallerySchema = zod_1.z.array(zod_1.z.object({
|
|
20
|
-
alt: zod_1.z.string({
|
|
21
|
-
required_error: 'Alt text is required',
|
|
22
|
-
invalid_type_error: 'Alt text must be a string'
|
|
23
|
-
}),
|
|
24
|
-
thumbnailUrl: zod_1.z.string({
|
|
25
|
-
required_error: 'Thumbnail URL is required',
|
|
26
|
-
invalid_type_error: 'Thumbnail URL must be a string'
|
|
27
|
-
}),
|
|
28
20
|
url: zod_1.z.string({
|
|
29
21
|
required_error: 'URL is required',
|
|
30
22
|
invalid_type_error: 'URL must be a string'
|
|
23
|
+
}),
|
|
24
|
+
order: zod_1.z.number({
|
|
25
|
+
required_error: 'Order is required',
|
|
26
|
+
invalid_type_error: 'Order must be a number'
|
|
27
|
+
}),
|
|
28
|
+
caption: zod_1.z.string({
|
|
29
|
+
required_error: 'Caption is required',
|
|
30
|
+
invalid_type_error: 'Caption must be a string'
|
|
31
31
|
})
|
|
32
32
|
}));
|
|
33
33
|
exports.mediaSchema = zod_1.z.object({
|
package/package.json
CHANGED
|
@@ -108,7 +108,7 @@ export const pendingApprovalEditSchema = z.object({
|
|
|
108
108
|
tagline: z.string().max(150, 'Tagline must be at most 150 characters').optional(),
|
|
109
109
|
highlights: z.array(z.string().max(200, 'Each highlight cannot exceed 200 characters'), { required_error: 'Highlights must be an array of strings' }).max(10, 'Cannot have more than 10 highlights').optional(),
|
|
110
110
|
languages: z.array(z.string()).optional(),
|
|
111
|
-
media: mediaSchema,
|
|
111
|
+
media: mediaSchema.optional(),
|
|
112
112
|
|
|
113
113
|
// Can add docs, not remove
|
|
114
114
|
additionalDocuments: z.array(documentSchema).optional(),
|
|
@@ -130,7 +130,7 @@ export const approvedEventEditSchema = z.object({
|
|
|
130
130
|
tagline: z.string().max(150, 'Tagline must be at most 150 characters').optional(),
|
|
131
131
|
highlights: z.array(z.string().max(200)).max(10).optional(),
|
|
132
132
|
languages: z.array(z.string()).optional(),
|
|
133
|
-
media: mediaSchema,
|
|
133
|
+
media: mediaSchema.optional(),
|
|
134
134
|
|
|
135
135
|
// Tickets (full control, no sales yet)
|
|
136
136
|
tickets: z.array(z.object({
|
|
@@ -146,7 +146,7 @@ export const approvedEventEditSchema = z.object({
|
|
|
146
146
|
minPerOrder: z.number({ required_error: 'Min per order is required' }).min(1, 'Min per order must be at least 1'),
|
|
147
147
|
maxPerOrder: z.number({ required_error: 'Max per order is required' }).min(1, 'Max per order must be at least 1')
|
|
148
148
|
}).optional()
|
|
149
|
-
})).
|
|
149
|
+
})).optional(),
|
|
150
150
|
|
|
151
151
|
// Minor date adjustments (±2 hours)
|
|
152
152
|
schedule: z.object({
|
|
@@ -198,7 +198,7 @@ export const publishedEventEditSchema = z.object({
|
|
|
198
198
|
minPerOrder: z.number().min(1, 'Min per order must be at least 1').optional(),
|
|
199
199
|
maxPerOrder: z.number().min(1, 'Max per order must be at least 1').optional()
|
|
200
200
|
}).optional()
|
|
201
|
-
}))
|
|
201
|
+
})).optional(),
|
|
202
202
|
});
|
|
203
203
|
|
|
204
204
|
// Live
|
|
@@ -16,17 +16,17 @@ export const coverImageSchema = z.object({
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
export const gallerySchema = z.array(z.object({
|
|
19
|
-
alt: z.string({
|
|
20
|
-
required_error: 'Alt text is required',
|
|
21
|
-
invalid_type_error: 'Alt text must be a string'
|
|
22
|
-
}),
|
|
23
|
-
thumbnailUrl: z.string({
|
|
24
|
-
required_error: 'Thumbnail URL is required',
|
|
25
|
-
invalid_type_error: 'Thumbnail URL must be a string'
|
|
26
|
-
}),
|
|
27
19
|
url: z.string({
|
|
28
20
|
required_error: 'URL is required',
|
|
29
21
|
invalid_type_error: 'URL must be a string'
|
|
22
|
+
}),
|
|
23
|
+
order: z.number({
|
|
24
|
+
required_error: 'Order is required',
|
|
25
|
+
invalid_type_error: 'Order must be a number'
|
|
26
|
+
}),
|
|
27
|
+
caption: z.string({
|
|
28
|
+
required_error: 'Caption is required',
|
|
29
|
+
invalid_type_error: 'Caption must be a string'
|
|
30
30
|
})
|
|
31
31
|
}));
|
|
32
32
|
|