@getmicdrop/svelte-components 5.21.2 → 5.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Toast/ToastItem.svelte +695 -0
- package/dist/components/Toast/ToastItem.svelte.d.ts +8 -0
- package/dist/components/Toast/ToastItem.svelte.d.ts.map +1 -0
- package/dist/components/Toast/Toaster.svelte +184 -0
- package/dist/components/Toast/Toaster.svelte.d.ts +11 -0
- package/dist/components/Toast/Toaster.svelte.d.ts.map +1 -0
- package/dist/components/Toast/index.d.ts +9 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/Toast/index.js +13 -0
- package/dist/components/Toast/toast.svelte.d.ts +93 -0
- package/dist/components/Toast/toast.svelte.d.ts.map +1 -0
- package/dist/components/Toast/toast.svelte.js +386 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +3 -0
- package/dist/primitives/Icons/CancelledIcon.svelte +8 -0
- package/dist/primitives/Icons/CancelledIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/CancelledIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/CartIcon.svelte +12 -0
- package/dist/primitives/Icons/CartIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/CartIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/ConfirmedIcon.svelte +8 -0
- package/dist/primitives/Icons/ConfirmedIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/ConfirmedIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/InvitedIcon.svelte +7 -0
- package/dist/primitives/Icons/InvitedIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/InvitedIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/TicketIcon.svelte +12 -0
- package/dist/primitives/Icons/TicketIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/TicketIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/ToastErrorIcon.svelte +9 -0
- package/dist/primitives/Icons/ToastErrorIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/ToastErrorIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/ToastInfoIcon.svelte +9 -0
- package/dist/primitives/Icons/ToastInfoIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/ToastInfoIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/ToastLoadingIcon.svelte +14 -0
- package/dist/primitives/Icons/ToastLoadingIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/ToastLoadingIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/ToastSuccessIcon.svelte +8 -0
- package/dist/primitives/Icons/ToastSuccessIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/ToastSuccessIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/ToastWarningIcon.svelte +9 -0
- package/dist/primitives/Icons/ToastWarningIcon.svelte.d.ts +16 -0
- package/dist/primitives/Icons/ToastWarningIcon.svelte.d.ts.map +1 -0
- package/dist/primitives/Icons/index.d.ts +10 -0
- package/dist/primitives/Icons/index.d.ts.map +1 -1
- package/dist/primitives/Icons/index.js +12 -0
- package/dist/recipes/Toaster/Toaster.stories.svelte +9 -28
- package/dist/recipes/Toaster/Toaster.stories.svelte.d.ts +1 -1
- package/dist/recipes/Toaster/Toaster.stories.svelte.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +17 -107
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +13 -41
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/event.d.ts +41 -147
- package/dist/schemas/event.d.ts.map +1 -1
- package/dist/schemas/order.d.ts +51 -208
- package/dist/schemas/order.d.ts.map +1 -1
- package/dist/schemas/performer.d.ts +44 -199
- package/dist/schemas/performer.d.ts.map +1 -1
- package/dist/schemas/promo.d.ts +55 -221
- package/dist/schemas/promo.d.ts.map +1 -1
- package/dist/schemas/ticket.d.ts +61 -187
- package/dist/schemas/ticket.d.ts.map +1 -1
- package/dist/schemas/user.d.ts +54 -114
- package/dist/schemas/user.d.ts.map +1 -1
- package/dist/schemas/venue.d.ts +20 -238
- package/dist/schemas/venue.d.ts.map +1 -1
- package/dist/stores/formSave.svelte.js +4 -4
- package/dist/stores/formSave.svelte.spec.js +10 -6
- package/dist/stores/index.d.ts +0 -1
- package/dist/stores/index.js +0 -1
- package/dist/tokens/utilities.css +2 -2
- package/package.json +5 -4
- package/dist/stores/toaster.d.ts +0 -4
- package/dist/stores/toaster.d.ts.map +0 -1
- package/dist/stores/toaster.js +0 -13
- package/dist/stores/toaster.spec.d.ts +0 -2
- package/dist/stores/toaster.spec.d.ts.map +0 -1
- package/dist/stores/toaster.spec.js +0 -59
|
@@ -1,25 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const genderSchema: z.ZodEnum<
|
|
2
|
+
export declare const genderSchema: z.ZodEnum<{
|
|
3
|
+
other: "other";
|
|
4
|
+
male: "male";
|
|
5
|
+
female: "female";
|
|
6
|
+
non_binary: "non_binary";
|
|
7
|
+
prefer_not_to_say: "prefer_not_to_say";
|
|
8
|
+
}>;
|
|
3
9
|
export type Gender = z.infer<typeof genderSchema>;
|
|
4
10
|
export declare const performerBasicInfoSchema: z.ZodObject<{
|
|
5
11
|
firstName: z.ZodString;
|
|
6
12
|
lastName: z.ZodString;
|
|
7
13
|
stageName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
8
|
-
email: z.
|
|
9
|
-
phone: z.
|
|
10
|
-
},
|
|
11
|
-
email: string;
|
|
12
|
-
firstName: string;
|
|
13
|
-
lastName: string;
|
|
14
|
-
phone?: string | undefined;
|
|
15
|
-
stageName?: string | undefined;
|
|
16
|
-
}, {
|
|
17
|
-
email: string;
|
|
18
|
-
firstName: string;
|
|
19
|
-
lastName: string;
|
|
20
|
-
phone?: string | undefined;
|
|
21
|
-
stageName?: string | undefined;
|
|
22
|
-
}>;
|
|
14
|
+
email: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
15
|
+
phone: z.ZodPipe<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
23
17
|
export type PerformerBasicInfoInput = z.infer<typeof performerBasicInfoSchema>;
|
|
24
18
|
export declare const performerSocialMediaSchema: z.ZodObject<{
|
|
25
19
|
instagram: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
@@ -29,66 +23,40 @@ export declare const performerSocialMediaSchema: z.ZodObject<{
|
|
|
29
23
|
youtube: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
30
24
|
website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
31
25
|
videoUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
32
|
-
},
|
|
33
|
-
instagram?: string | undefined;
|
|
34
|
-
facebook?: string | undefined;
|
|
35
|
-
twitter?: string | undefined;
|
|
36
|
-
tiktok?: string | undefined;
|
|
37
|
-
youtube?: string | undefined;
|
|
38
|
-
website?: string | undefined;
|
|
39
|
-
videoUrl?: string | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
instagram?: string | undefined;
|
|
42
|
-
facebook?: string | undefined;
|
|
43
|
-
twitter?: string | undefined;
|
|
44
|
-
tiktok?: string | undefined;
|
|
45
|
-
youtube?: string | undefined;
|
|
46
|
-
website?: string | undefined;
|
|
47
|
-
videoUrl?: string | undefined;
|
|
48
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
49
27
|
export type PerformerSocialMediaInput = z.infer<typeof performerSocialMediaSchema>;
|
|
50
28
|
export declare const performerPaymentSchema: z.ZodObject<{
|
|
51
29
|
venmo: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
52
30
|
paypal: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
53
31
|
cashApp: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
54
32
|
zelle: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
55
|
-
},
|
|
56
|
-
venmo?: string | undefined;
|
|
57
|
-
paypal?: string | undefined;
|
|
58
|
-
cashApp?: string | undefined;
|
|
59
|
-
zelle?: string | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
venmo?: string | undefined;
|
|
62
|
-
paypal?: string | undefined;
|
|
63
|
-
cashApp?: string | undefined;
|
|
64
|
-
zelle?: string | undefined;
|
|
65
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
66
34
|
export type PerformerPaymentInput = z.infer<typeof performerPaymentSchema>;
|
|
67
35
|
export declare const performerExtraDetailsSchema: z.ZodObject<{
|
|
68
|
-
gender: z.ZodOptional<z.ZodEnum<
|
|
36
|
+
gender: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
other: "other";
|
|
38
|
+
male: "male";
|
|
39
|
+
female: "female";
|
|
40
|
+
non_binary: "non_binary";
|
|
41
|
+
prefer_not_to_say: "prefer_not_to_say";
|
|
42
|
+
}>>;
|
|
69
43
|
bio: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
70
44
|
introCredits: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
71
45
|
notes: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
72
46
|
additionalInfo: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
73
|
-
},
|
|
74
|
-
bio?: string | undefined;
|
|
75
|
-
notes?: string | undefined;
|
|
76
|
-
gender?: "other" | "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
77
|
-
introCredits?: string | undefined;
|
|
78
|
-
additionalInfo?: string | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
bio?: string | undefined;
|
|
81
|
-
notes?: string | undefined;
|
|
82
|
-
gender?: "other" | "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
83
|
-
introCredits?: string | undefined;
|
|
84
|
-
additionalInfo?: string | undefined;
|
|
85
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
86
48
|
export type PerformerExtraDetailsInput = z.infer<typeof performerExtraDetailsSchema>;
|
|
87
49
|
export declare const performerSchema: z.ZodObject<{
|
|
88
|
-
profileImageUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
50
|
+
profileImageUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<File, File>, z.ZodNull]>>;
|
|
89
51
|
tier: z.ZodOptional<z.ZodNumber>;
|
|
90
52
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
91
|
-
gender: z.ZodOptional<z.ZodEnum<
|
|
53
|
+
gender: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
other: "other";
|
|
55
|
+
male: "male";
|
|
56
|
+
female: "female";
|
|
57
|
+
non_binary: "non_binary";
|
|
58
|
+
prefer_not_to_say: "prefer_not_to_say";
|
|
59
|
+
}>>;
|
|
92
60
|
bio: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
93
61
|
introCredits: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
94
62
|
notes: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
@@ -107,65 +75,21 @@ export declare const performerSchema: z.ZodObject<{
|
|
|
107
75
|
firstName: z.ZodString;
|
|
108
76
|
lastName: z.ZodString;
|
|
109
77
|
stageName: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
110
|
-
email: z.
|
|
111
|
-
phone: z.
|
|
112
|
-
},
|
|
113
|
-
email: string;
|
|
114
|
-
firstName: string;
|
|
115
|
-
lastName: string;
|
|
116
|
-
isActive: boolean;
|
|
117
|
-
phone?: string | undefined;
|
|
118
|
-
instagram?: string | undefined;
|
|
119
|
-
facebook?: string | undefined;
|
|
120
|
-
twitter?: string | undefined;
|
|
121
|
-
tiktok?: string | undefined;
|
|
122
|
-
youtube?: string | undefined;
|
|
123
|
-
website?: string | undefined;
|
|
124
|
-
bio?: string | undefined;
|
|
125
|
-
notes?: string | undefined;
|
|
126
|
-
stageName?: string | undefined;
|
|
127
|
-
videoUrl?: string | undefined;
|
|
128
|
-
venmo?: string | undefined;
|
|
129
|
-
paypal?: string | undefined;
|
|
130
|
-
cashApp?: string | undefined;
|
|
131
|
-
zelle?: string | undefined;
|
|
132
|
-
gender?: "other" | "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
133
|
-
introCredits?: string | undefined;
|
|
134
|
-
additionalInfo?: string | undefined;
|
|
135
|
-
profileImageUrl?: string | File | null | undefined;
|
|
136
|
-
tier?: number | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
email: string;
|
|
139
|
-
firstName: string;
|
|
140
|
-
lastName: string;
|
|
141
|
-
phone?: string | undefined;
|
|
142
|
-
instagram?: string | undefined;
|
|
143
|
-
facebook?: string | undefined;
|
|
144
|
-
twitter?: string | undefined;
|
|
145
|
-
tiktok?: string | undefined;
|
|
146
|
-
youtube?: string | undefined;
|
|
147
|
-
website?: string | undefined;
|
|
148
|
-
bio?: string | undefined;
|
|
149
|
-
isActive?: boolean | undefined;
|
|
150
|
-
notes?: string | undefined;
|
|
151
|
-
stageName?: string | undefined;
|
|
152
|
-
videoUrl?: string | undefined;
|
|
153
|
-
venmo?: string | undefined;
|
|
154
|
-
paypal?: string | undefined;
|
|
155
|
-
cashApp?: string | undefined;
|
|
156
|
-
zelle?: string | undefined;
|
|
157
|
-
gender?: "other" | "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
158
|
-
introCredits?: string | undefined;
|
|
159
|
-
additionalInfo?: string | undefined;
|
|
160
|
-
profileImageUrl?: string | File | null | undefined;
|
|
161
|
-
tier?: number | undefined;
|
|
162
|
-
}>;
|
|
78
|
+
email: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
79
|
+
phone: z.ZodPipe<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
80
|
+
}, z.core.$strip>;
|
|
163
81
|
export type PerformerInput = z.infer<typeof performerSchema>;
|
|
164
82
|
export declare const performerUpdateSchema: z.ZodObject<{
|
|
165
|
-
profileImageUrl: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
83
|
+
profileImageUrl: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<File, File>, z.ZodNull]>>>;
|
|
166
84
|
tier: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
167
85
|
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
168
|
-
gender: z.ZodOptional<z.ZodOptional<z.ZodEnum<
|
|
86
|
+
gender: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
other: "other";
|
|
88
|
+
male: "male";
|
|
89
|
+
female: "female";
|
|
90
|
+
non_binary: "non_binary";
|
|
91
|
+
prefer_not_to_say: "prefer_not_to_say";
|
|
92
|
+
}>>>;
|
|
169
93
|
bio: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
170
94
|
introCredits: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
171
95
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
@@ -184,60 +108,9 @@ export declare const performerUpdateSchema: z.ZodObject<{
|
|
|
184
108
|
firstName: z.ZodOptional<z.ZodString>;
|
|
185
109
|
lastName: z.ZodOptional<z.ZodString>;
|
|
186
110
|
stageName: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
187
|
-
phone: z.ZodOptional<z.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
email?: string | undefined;
|
|
192
|
-
phone?: string | undefined;
|
|
193
|
-
instagram?: string | undefined;
|
|
194
|
-
facebook?: string | undefined;
|
|
195
|
-
twitter?: string | undefined;
|
|
196
|
-
firstName?: string | undefined;
|
|
197
|
-
lastName?: string | undefined;
|
|
198
|
-
tiktok?: string | undefined;
|
|
199
|
-
youtube?: string | undefined;
|
|
200
|
-
website?: string | undefined;
|
|
201
|
-
bio?: string | undefined;
|
|
202
|
-
isActive?: boolean | undefined;
|
|
203
|
-
notes?: string | undefined;
|
|
204
|
-
stageName?: string | undefined;
|
|
205
|
-
videoUrl?: string | undefined;
|
|
206
|
-
venmo?: string | undefined;
|
|
207
|
-
paypal?: string | undefined;
|
|
208
|
-
cashApp?: string | undefined;
|
|
209
|
-
zelle?: string | undefined;
|
|
210
|
-
gender?: "other" | "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
211
|
-
introCredits?: string | undefined;
|
|
212
|
-
additionalInfo?: string | undefined;
|
|
213
|
-
profileImageUrl?: string | File | null | undefined;
|
|
214
|
-
tier?: number | undefined;
|
|
215
|
-
}, {
|
|
216
|
-
email?: string | undefined;
|
|
217
|
-
phone?: string | undefined;
|
|
218
|
-
instagram?: string | undefined;
|
|
219
|
-
facebook?: string | undefined;
|
|
220
|
-
twitter?: string | undefined;
|
|
221
|
-
firstName?: string | undefined;
|
|
222
|
-
lastName?: string | undefined;
|
|
223
|
-
tiktok?: string | undefined;
|
|
224
|
-
youtube?: string | undefined;
|
|
225
|
-
website?: string | undefined;
|
|
226
|
-
bio?: string | undefined;
|
|
227
|
-
isActive?: boolean | undefined;
|
|
228
|
-
notes?: string | undefined;
|
|
229
|
-
stageName?: string | undefined;
|
|
230
|
-
videoUrl?: string | undefined;
|
|
231
|
-
venmo?: string | undefined;
|
|
232
|
-
paypal?: string | undefined;
|
|
233
|
-
cashApp?: string | undefined;
|
|
234
|
-
zelle?: string | undefined;
|
|
235
|
-
gender?: "other" | "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
236
|
-
introCredits?: string | undefined;
|
|
237
|
-
additionalInfo?: string | undefined;
|
|
238
|
-
profileImageUrl?: string | File | null | undefined;
|
|
239
|
-
tier?: number | undefined;
|
|
240
|
-
}>;
|
|
111
|
+
phone: z.ZodOptional<z.ZodPipe<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>, z.ZodTransform<string | undefined, string | undefined>>>;
|
|
112
|
+
email: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
113
|
+
}, z.core.$strip>;
|
|
241
114
|
export type PerformerUpdateInput = z.infer<typeof performerUpdateSchema>;
|
|
242
115
|
export declare const lineupPerformerSchema: z.ZodObject<{
|
|
243
116
|
performerId: z.ZodNumber;
|
|
@@ -247,23 +120,7 @@ export declare const lineupPerformerSchema: z.ZodObject<{
|
|
|
247
120
|
notes: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
248
121
|
isHeadliner: z.ZodDefault<z.ZodBoolean>;
|
|
249
122
|
isConfirmed: z.ZodDefault<z.ZodBoolean>;
|
|
250
|
-
},
|
|
251
|
-
order: number;
|
|
252
|
-
performerId: number;
|
|
253
|
-
setTime: number;
|
|
254
|
-
isHeadliner: boolean;
|
|
255
|
-
isConfirmed: boolean;
|
|
256
|
-
startTime?: string | undefined;
|
|
257
|
-
notes?: string | undefined;
|
|
258
|
-
}, {
|
|
259
|
-
performerId: number;
|
|
260
|
-
order?: number | undefined;
|
|
261
|
-
startTime?: string | undefined;
|
|
262
|
-
notes?: string | undefined;
|
|
263
|
-
setTime?: number | undefined;
|
|
264
|
-
isHeadliner?: boolean | undefined;
|
|
265
|
-
isConfirmed?: boolean | undefined;
|
|
266
|
-
}>;
|
|
123
|
+
}, z.core.$strip>;
|
|
267
124
|
export type LineupPerformerInput = z.infer<typeof lineupPerformerSchema>;
|
|
268
125
|
export declare const performerFilterSchema: z.ZodObject<{
|
|
269
126
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -271,18 +128,6 @@ export declare const performerFilterSchema: z.ZodObject<{
|
|
|
271
128
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
272
129
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
273
130
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
274
|
-
},
|
|
275
|
-
search?: string | undefined;
|
|
276
|
-
offset?: number | undefined;
|
|
277
|
-
limit?: number | undefined;
|
|
278
|
-
isActive?: boolean | undefined;
|
|
279
|
-
tier?: number | undefined;
|
|
280
|
-
}, {
|
|
281
|
-
search?: string | undefined;
|
|
282
|
-
offset?: number | undefined;
|
|
283
|
-
limit?: number | undefined;
|
|
284
|
-
isActive?: boolean | undefined;
|
|
285
|
-
tier?: number | undefined;
|
|
286
|
-
}>;
|
|
131
|
+
}, z.core.$strip>;
|
|
287
132
|
export type PerformerFilter = z.infer<typeof performerFilterSchema>;
|
|
288
133
|
//# sourceMappingURL=performer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performer.d.ts","sourceRoot":"","sources":["../../src/lib/schemas/performer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"performer.d.ts","sourceRoot":"","sources":["../../src/lib/schemas/performer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,YAAY;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE/E,eAAO,MAAM,0BAA0B;;;;;;;;iBAQrC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;iBAKjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE3E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;iBAMtC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,qBAAqB;;;;;;;;iBAmBhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,qBAAqB;;;;;;iBAMhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/schemas/promo.d.ts
CHANGED
|
@@ -1,234 +1,80 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const promoCodeTypeSchema: z.ZodEnum<
|
|
2
|
+
export declare const promoCodeTypeSchema: z.ZodEnum<{
|
|
3
|
+
percent: "percent";
|
|
4
|
+
dollar: "dollar";
|
|
5
|
+
}>;
|
|
3
6
|
export type PromoCodeType = z.infer<typeof promoCodeTypeSchema>;
|
|
4
|
-
export declare const promoCodeLimitTypeSchema: z.ZodEnum<
|
|
7
|
+
export declare const promoCodeLimitTypeSchema: z.ZodEnum<{
|
|
8
|
+
unlimited: "unlimited";
|
|
9
|
+
limited: "limited";
|
|
10
|
+
}>;
|
|
5
11
|
export type PromoCodeLimitType = z.infer<typeof promoCodeLimitTypeSchema>;
|
|
6
|
-
export declare const promoCodeNameSchema: z.
|
|
7
|
-
export declare const promoCodeSchema: z.
|
|
8
|
-
code: z.
|
|
9
|
-
discountType: z.ZodEnum<
|
|
10
|
-
|
|
12
|
+
export declare const promoCodeNameSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
13
|
+
export declare const promoCodeSchema: z.ZodObject<{
|
|
14
|
+
code: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
15
|
+
discountType: z.ZodEnum<{
|
|
16
|
+
percent: "percent";
|
|
17
|
+
dollar: "dollar";
|
|
18
|
+
}>;
|
|
19
|
+
dollarAmount: z.ZodNullable<z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>>;
|
|
11
20
|
percentAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
12
|
-
limitType: z.ZodDefault<z.ZodEnum<
|
|
21
|
+
limitType: z.ZodDefault<z.ZodEnum<{
|
|
22
|
+
unlimited: "unlimited";
|
|
23
|
+
limited: "limited";
|
|
24
|
+
}>>;
|
|
13
25
|
usageLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
14
|
-
startDate: z.
|
|
15
|
-
endDate: z.
|
|
26
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodNull]>>, z.ZodTransform<Date | null, string | Date | null | undefined>>;
|
|
27
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodNull]>>, z.ZodTransform<Date | null, string | Date | null | undefined>>;
|
|
16
28
|
revealHiddenTickets: z.ZodDefault<z.ZodBoolean>;
|
|
17
|
-
ticketTypeIds: z.ZodOptional<z.ZodArray<z.ZodNumber
|
|
29
|
+
ticketTypeIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
18
30
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
19
|
-
},
|
|
20
|
-
code: string;
|
|
21
|
-
isActive: boolean;
|
|
22
|
-
startDate: Date | null;
|
|
23
|
-
endDate: Date | null;
|
|
24
|
-
discountType: "percent" | "dollar";
|
|
25
|
-
limitType: "unlimited" | "limited";
|
|
26
|
-
revealHiddenTickets: boolean;
|
|
27
|
-
dollarAmount?: number | null | undefined;
|
|
28
|
-
percentAmount?: number | null | undefined;
|
|
29
|
-
usageLimit?: number | null | undefined;
|
|
30
|
-
ticketTypeIds?: number[] | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
code: string;
|
|
33
|
-
discountType: "percent" | "dollar";
|
|
34
|
-
isActive?: boolean | undefined;
|
|
35
|
-
startDate?: string | Date | null | undefined;
|
|
36
|
-
endDate?: string | Date | null | undefined;
|
|
37
|
-
dollarAmount?: number | null | undefined;
|
|
38
|
-
percentAmount?: number | null | undefined;
|
|
39
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
40
|
-
usageLimit?: number | null | undefined;
|
|
41
|
-
revealHiddenTickets?: boolean | undefined;
|
|
42
|
-
ticketTypeIds?: number[] | undefined;
|
|
43
|
-
}>, {
|
|
44
|
-
code: string;
|
|
45
|
-
isActive: boolean;
|
|
46
|
-
startDate: Date | null;
|
|
47
|
-
endDate: Date | null;
|
|
48
|
-
discountType: "percent" | "dollar";
|
|
49
|
-
limitType: "unlimited" | "limited";
|
|
50
|
-
revealHiddenTickets: boolean;
|
|
51
|
-
dollarAmount?: number | null | undefined;
|
|
52
|
-
percentAmount?: number | null | undefined;
|
|
53
|
-
usageLimit?: number | null | undefined;
|
|
54
|
-
ticketTypeIds?: number[] | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
code: string;
|
|
57
|
-
discountType: "percent" | "dollar";
|
|
58
|
-
isActive?: boolean | undefined;
|
|
59
|
-
startDate?: string | Date | null | undefined;
|
|
60
|
-
endDate?: string | Date | null | undefined;
|
|
61
|
-
dollarAmount?: number | null | undefined;
|
|
62
|
-
percentAmount?: number | null | undefined;
|
|
63
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
64
|
-
usageLimit?: number | null | undefined;
|
|
65
|
-
revealHiddenTickets?: boolean | undefined;
|
|
66
|
-
ticketTypeIds?: number[] | undefined;
|
|
67
|
-
}>, {
|
|
68
|
-
code: string;
|
|
69
|
-
isActive: boolean;
|
|
70
|
-
startDate: Date | null;
|
|
71
|
-
endDate: Date | null;
|
|
72
|
-
discountType: "percent" | "dollar";
|
|
73
|
-
limitType: "unlimited" | "limited";
|
|
74
|
-
revealHiddenTickets: boolean;
|
|
75
|
-
dollarAmount?: number | null | undefined;
|
|
76
|
-
percentAmount?: number | null | undefined;
|
|
77
|
-
usageLimit?: number | null | undefined;
|
|
78
|
-
ticketTypeIds?: number[] | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
code: string;
|
|
81
|
-
discountType: "percent" | "dollar";
|
|
82
|
-
isActive?: boolean | undefined;
|
|
83
|
-
startDate?: string | Date | null | undefined;
|
|
84
|
-
endDate?: string | Date | null | undefined;
|
|
85
|
-
dollarAmount?: number | null | undefined;
|
|
86
|
-
percentAmount?: number | null | undefined;
|
|
87
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
88
|
-
usageLimit?: number | null | undefined;
|
|
89
|
-
revealHiddenTickets?: boolean | undefined;
|
|
90
|
-
ticketTypeIds?: number[] | undefined;
|
|
91
|
-
}>, {
|
|
92
|
-
code: string;
|
|
93
|
-
isActive: boolean;
|
|
94
|
-
startDate: Date | null;
|
|
95
|
-
endDate: Date | null;
|
|
96
|
-
discountType: "percent" | "dollar";
|
|
97
|
-
limitType: "unlimited" | "limited";
|
|
98
|
-
revealHiddenTickets: boolean;
|
|
99
|
-
dollarAmount?: number | null | undefined;
|
|
100
|
-
percentAmount?: number | null | undefined;
|
|
101
|
-
usageLimit?: number | null | undefined;
|
|
102
|
-
ticketTypeIds?: number[] | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
code: string;
|
|
105
|
-
discountType: "percent" | "dollar";
|
|
106
|
-
isActive?: boolean | undefined;
|
|
107
|
-
startDate?: string | Date | null | undefined;
|
|
108
|
-
endDate?: string | Date | null | undefined;
|
|
109
|
-
dollarAmount?: number | null | undefined;
|
|
110
|
-
percentAmount?: number | null | undefined;
|
|
111
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
112
|
-
usageLimit?: number | null | undefined;
|
|
113
|
-
revealHiddenTickets?: boolean | undefined;
|
|
114
|
-
ticketTypeIds?: number[] | undefined;
|
|
115
|
-
}>, {
|
|
116
|
-
code: string;
|
|
117
|
-
isActive: boolean;
|
|
118
|
-
startDate: Date | null;
|
|
119
|
-
endDate: Date | null;
|
|
120
|
-
discountType: "percent" | "dollar";
|
|
121
|
-
limitType: "unlimited" | "limited";
|
|
122
|
-
revealHiddenTickets: boolean;
|
|
123
|
-
dollarAmount?: number | null | undefined;
|
|
124
|
-
percentAmount?: number | null | undefined;
|
|
125
|
-
usageLimit?: number | null | undefined;
|
|
126
|
-
ticketTypeIds?: number[] | undefined;
|
|
127
|
-
}, {
|
|
128
|
-
code: string;
|
|
129
|
-
discountType: "percent" | "dollar";
|
|
130
|
-
isActive?: boolean | undefined;
|
|
131
|
-
startDate?: string | Date | null | undefined;
|
|
132
|
-
endDate?: string | Date | null | undefined;
|
|
133
|
-
dollarAmount?: number | null | undefined;
|
|
134
|
-
percentAmount?: number | null | undefined;
|
|
135
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
136
|
-
usageLimit?: number | null | undefined;
|
|
137
|
-
revealHiddenTickets?: boolean | undefined;
|
|
138
|
-
ticketTypeIds?: number[] | undefined;
|
|
139
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
140
32
|
export type PromoCodeInput = z.infer<typeof promoCodeSchema>;
|
|
141
33
|
export declare const promoCodeUpdateSchema: z.ZodObject<{
|
|
142
|
-
discountType: z.ZodOptional<z.ZodEnum<
|
|
143
|
-
|
|
34
|
+
discountType: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
percent: "percent";
|
|
36
|
+
dollar: "dollar";
|
|
37
|
+
}>>;
|
|
38
|
+
dollarAmount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>>>;
|
|
144
39
|
percentAmount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
145
|
-
limitType: z.ZodOptional<z.ZodDefault<z.ZodEnum<
|
|
40
|
+
limitType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
41
|
+
unlimited: "unlimited";
|
|
42
|
+
limited: "limited";
|
|
43
|
+
}>>>;
|
|
146
44
|
usageLimit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
147
|
-
startDate: z.ZodOptional<z.
|
|
148
|
-
endDate: z.ZodOptional<z.
|
|
45
|
+
startDate: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodNull]>>, z.ZodTransform<Date | null, string | Date | null | undefined>>>;
|
|
46
|
+
endDate: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodNull]>>, z.ZodTransform<Date | null, string | Date | null | undefined>>>;
|
|
149
47
|
revealHiddenTickets: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
150
|
-
ticketTypeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber
|
|
48
|
+
ticketTypeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
151
49
|
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
code?: string | undefined;
|
|
156
|
-
isActive?: boolean | undefined;
|
|
157
|
-
startDate?: Date | null | undefined;
|
|
158
|
-
endDate?: Date | null | undefined;
|
|
159
|
-
discountType?: "percent" | "dollar" | undefined;
|
|
160
|
-
dollarAmount?: number | null | undefined;
|
|
161
|
-
percentAmount?: number | null | undefined;
|
|
162
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
163
|
-
usageLimit?: number | null | undefined;
|
|
164
|
-
revealHiddenTickets?: boolean | undefined;
|
|
165
|
-
ticketTypeIds?: number[] | undefined;
|
|
166
|
-
}, {
|
|
167
|
-
code?: string | undefined;
|
|
168
|
-
isActive?: boolean | undefined;
|
|
169
|
-
startDate?: string | Date | null | undefined;
|
|
170
|
-
endDate?: string | Date | null | undefined;
|
|
171
|
-
discountType?: "percent" | "dollar" | undefined;
|
|
172
|
-
dollarAmount?: number | null | undefined;
|
|
173
|
-
percentAmount?: number | null | undefined;
|
|
174
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
175
|
-
usageLimit?: number | null | undefined;
|
|
176
|
-
revealHiddenTickets?: boolean | undefined;
|
|
177
|
-
ticketTypeIds?: number[] | undefined;
|
|
178
|
-
}>;
|
|
50
|
+
code: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
179
52
|
export type PromoCodeUpdateInput = z.infer<typeof promoCodeUpdateSchema>;
|
|
180
53
|
export declare const globalPromoCodeSchema: z.ZodObject<{
|
|
181
|
-
code: z.
|
|
182
|
-
discountType: z.ZodEnum<
|
|
183
|
-
|
|
54
|
+
code: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
55
|
+
discountType: z.ZodEnum<{
|
|
56
|
+
percent: "percent";
|
|
57
|
+
dollar: "dollar";
|
|
58
|
+
}>;
|
|
59
|
+
dollarAmount: z.ZodNullable<z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>>;
|
|
184
60
|
percentAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
185
|
-
limitType: z.ZodDefault<z.ZodEnum<
|
|
61
|
+
limitType: z.ZodDefault<z.ZodEnum<{
|
|
62
|
+
unlimited: "unlimited";
|
|
63
|
+
limited: "limited";
|
|
64
|
+
}>>;
|
|
186
65
|
usageLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
187
|
-
startDate: z.
|
|
188
|
-
endDate: z.
|
|
66
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodNull]>>, z.ZodTransform<Date | null, string | Date | null | undefined>>;
|
|
67
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate, z.ZodNull]>>, z.ZodTransform<Date | null, string | Date | null | undefined>>;
|
|
189
68
|
revealHiddenTickets: z.ZodDefault<z.ZodBoolean>;
|
|
190
|
-
ticketTypeIds: z.ZodOptional<z.ZodArray<z.ZodNumber
|
|
69
|
+
ticketTypeIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
191
70
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
192
|
-
} & {
|
|
193
71
|
venueId: z.ZodNumber;
|
|
194
|
-
},
|
|
195
|
-
venueId: number;
|
|
196
|
-
code: string;
|
|
197
|
-
isActive: boolean;
|
|
198
|
-
startDate: Date | null;
|
|
199
|
-
endDate: Date | null;
|
|
200
|
-
discountType: "percent" | "dollar";
|
|
201
|
-
limitType: "unlimited" | "limited";
|
|
202
|
-
revealHiddenTickets: boolean;
|
|
203
|
-
dollarAmount?: number | null | undefined;
|
|
204
|
-
percentAmount?: number | null | undefined;
|
|
205
|
-
usageLimit?: number | null | undefined;
|
|
206
|
-
ticketTypeIds?: number[] | undefined;
|
|
207
|
-
}, {
|
|
208
|
-
venueId: number;
|
|
209
|
-
code: string;
|
|
210
|
-
discountType: "percent" | "dollar";
|
|
211
|
-
isActive?: boolean | undefined;
|
|
212
|
-
startDate?: string | Date | null | undefined;
|
|
213
|
-
endDate?: string | Date | null | undefined;
|
|
214
|
-
dollarAmount?: number | null | undefined;
|
|
215
|
-
percentAmount?: number | null | undefined;
|
|
216
|
-
limitType?: "unlimited" | "limited" | undefined;
|
|
217
|
-
usageLimit?: number | null | undefined;
|
|
218
|
-
revealHiddenTickets?: boolean | undefined;
|
|
219
|
-
ticketTypeIds?: number[] | undefined;
|
|
220
|
-
}>;
|
|
72
|
+
}, z.core.$strip>;
|
|
221
73
|
export type GlobalPromoCodeInput = z.infer<typeof globalPromoCodeSchema>;
|
|
222
74
|
export declare const promoCodeApplySchema: z.ZodObject<{
|
|
223
|
-
code: z.
|
|
75
|
+
code: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
224
76
|
eventId: z.ZodNumber;
|
|
225
|
-
},
|
|
226
|
-
eventId: number;
|
|
227
|
-
code: string;
|
|
228
|
-
}, {
|
|
229
|
-
eventId: number;
|
|
230
|
-
code: string;
|
|
231
|
-
}>;
|
|
77
|
+
}, z.core.$strip>;
|
|
232
78
|
export type PromoCodeApplyInput = z.infer<typeof promoCodeApplySchema>;
|
|
233
79
|
export declare const promoCodeFilterSchema: z.ZodObject<{
|
|
234
80
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -236,18 +82,6 @@ export declare const promoCodeFilterSchema: z.ZodObject<{
|
|
|
236
82
|
eventId: z.ZodOptional<z.ZodNumber>;
|
|
237
83
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
238
84
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
239
|
-
},
|
|
240
|
-
eventId?: number | undefined;
|
|
241
|
-
search?: string | undefined;
|
|
242
|
-
offset?: number | undefined;
|
|
243
|
-
limit?: number | undefined;
|
|
244
|
-
isActive?: boolean | undefined;
|
|
245
|
-
}, {
|
|
246
|
-
eventId?: number | undefined;
|
|
247
|
-
search?: string | undefined;
|
|
248
|
-
offset?: number | undefined;
|
|
249
|
-
limit?: number | undefined;
|
|
250
|
-
isActive?: boolean | undefined;
|
|
251
|
-
}>;
|
|
85
|
+
}, z.core.$strip>;
|
|
252
86
|
export type PromoCodeFilter = z.infer<typeof promoCodeFilterSchema>;
|
|
253
87
|
//# sourceMappingURL=promo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promo.d.ts","sourceRoot":"","sources":["../../src/lib/schemas/promo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"promo.d.ts","sourceRoot":"","sources":["../../src/lib/schemas/promo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,mBAAmB;;;EAAgC,CAAC;AACjE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,wBAAwB;;;EAAmC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,mBAAmB,gFAkB7B,CAAC;AAgBJ,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;iBAqEzB,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;iBAEhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAEhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,oBAAoB;;;iBAM/B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,qBAAqB;;;;;;iBAMhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|