@servemate/dto 1.0.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/README.md +32 -0
- package/dist/dto/enums.d.ts +118 -0
- package/dist/dto/enums.d.ts.map +1 -0
- package/dist/dto/enums.js +109 -0
- package/dist/dto/enums.js.map +1 -0
- package/dist/dto/global.d.ts +82 -0
- package/dist/dto/global.d.ts.map +1 -0
- package/dist/dto/global.js +57 -0
- package/dist/dto/global.js.map +1 -0
- package/dist/dto/index.d.ts +8 -0
- package/dist/dto/index.d.ts.map +1 -0
- package/dist/dto/index.js +25 -0
- package/dist/dto/index.js.map +1 -0
- package/dist/dto/items.dto.d.ts +1057 -0
- package/dist/dto/items.dto.d.ts.map +1 -0
- package/dist/dto/items.dto.js +154 -0
- package/dist/dto/items.dto.js.map +1 -0
- package/dist/dto/orders.dto.d.ts +1822 -0
- package/dist/dto/orders.dto.d.ts.map +1 -0
- package/dist/dto/orders.dto.js +218 -0
- package/dist/dto/orders.dto.js.map +1 -0
- package/dist/dto/payment.dto.d.ts +178 -0
- package/dist/dto/payment.dto.d.ts.map +1 -0
- package/dist/dto/payment.dto.js +42 -0
- package/dist/dto/payment.dto.js.map +1 -0
- package/dist/dto/tables.dto.d.ts +316 -0
- package/dist/dto/tables.dto.d.ts.map +1 -0
- package/dist/dto/tables.dto.js +169 -0
- package/dist/dto/tables.dto.js.map +1 -0
- package/dist/dto/user.dto.d.ts +411 -0
- package/dist/dto/user.dto.d.ts.map +1 -0
- package/dist/dto/user.dto.js +161 -0
- package/dist/dto/user.dto.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/package.json +45 -0
|
@@ -0,0 +1,1057 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ItemSortOptions: {
|
|
3
|
+
readonly ID: "id";
|
|
4
|
+
readonly NAME: "name";
|
|
5
|
+
readonly PRICE: "price";
|
|
6
|
+
readonly POPULARITY: "popularityScore";
|
|
7
|
+
readonly INGREDIENTS: "ingredients";
|
|
8
|
+
readonly IS_AVAILABLE: "isAvailable";
|
|
9
|
+
readonly POPULARITY_SCORE: "popularityScore";
|
|
10
|
+
readonly CREATED_AT: "createdAt";
|
|
11
|
+
readonly UPDATED_AT: "updatedAt";
|
|
12
|
+
};
|
|
13
|
+
export declare const FoodItemSortOptions: {
|
|
14
|
+
readonly TYPE: "type";
|
|
15
|
+
readonly CATEGORY: "category";
|
|
16
|
+
readonly ALLERGIES: "allergies";
|
|
17
|
+
readonly PREPARATION_TIME: "preparationTime";
|
|
18
|
+
readonly SPICY_LEVEL: "spicyLevel";
|
|
19
|
+
readonly CALORIES: "calories";
|
|
20
|
+
readonly IS_VEGAN: "isVegan";
|
|
21
|
+
readonly IS_GLUTEN_FREE: "isGlutenFree";
|
|
22
|
+
readonly ID: "id";
|
|
23
|
+
readonly NAME: "name";
|
|
24
|
+
readonly PRICE: "price";
|
|
25
|
+
readonly POPULARITY: "popularityScore";
|
|
26
|
+
readonly INGREDIENTS: "ingredients";
|
|
27
|
+
readonly IS_AVAILABLE: "isAvailable";
|
|
28
|
+
readonly POPULARITY_SCORE: "popularityScore";
|
|
29
|
+
readonly CREATED_AT: "createdAt";
|
|
30
|
+
readonly UPDATED_AT: "updatedAt";
|
|
31
|
+
};
|
|
32
|
+
export declare const DrinkItemSortOptions: {
|
|
33
|
+
readonly CATEGORY: "category";
|
|
34
|
+
readonly VOLUME: "volume";
|
|
35
|
+
readonly ALCOHOL_PERCENTAGE: "alcoholPercentage";
|
|
36
|
+
readonly IS_CARBONATED: "isCarbonated";
|
|
37
|
+
readonly TEMPRITURE: "tempriture";
|
|
38
|
+
readonly ID: "id";
|
|
39
|
+
readonly NAME: "name";
|
|
40
|
+
readonly PRICE: "price";
|
|
41
|
+
readonly POPULARITY: "popularityScore";
|
|
42
|
+
readonly INGREDIENTS: "ingredients";
|
|
43
|
+
readonly IS_AVAILABLE: "isAvailable";
|
|
44
|
+
readonly POPULARITY_SCORE: "popularityScore";
|
|
45
|
+
readonly CREATED_AT: "createdAt";
|
|
46
|
+
readonly UPDATED_AT: "updatedAt";
|
|
47
|
+
};
|
|
48
|
+
export declare const baseItemSchema: z.ZodObject<{
|
|
49
|
+
id: z.ZodNumber;
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
price: z.ZodNumber;
|
|
52
|
+
description: z.ZodString;
|
|
53
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
54
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
55
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
56
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
id: number;
|
|
59
|
+
name: string;
|
|
60
|
+
price: number;
|
|
61
|
+
popularityScore: number;
|
|
62
|
+
ingredients: string[];
|
|
63
|
+
isAvailable: boolean;
|
|
64
|
+
description: string;
|
|
65
|
+
image: string | null;
|
|
66
|
+
}, {
|
|
67
|
+
id: number;
|
|
68
|
+
name: string;
|
|
69
|
+
price: number;
|
|
70
|
+
description: string;
|
|
71
|
+
popularityScore?: number | undefined;
|
|
72
|
+
ingredients?: unknown;
|
|
73
|
+
isAvailable?: boolean | undefined;
|
|
74
|
+
image?: string | null | undefined;
|
|
75
|
+
}>;
|
|
76
|
+
export declare const drinkItemSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
77
|
+
id: z.ZodNumber;
|
|
78
|
+
name: z.ZodString;
|
|
79
|
+
price: z.ZodNumber;
|
|
80
|
+
description: z.ZodString;
|
|
81
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
82
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
83
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
84
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
}, {
|
|
86
|
+
category: z.ZodEffects<z.ZodNativeEnum<{
|
|
87
|
+
readonly BEER: "BEER";
|
|
88
|
+
readonly WINE: "WINE";
|
|
89
|
+
readonly SPIRITS: "SPIRITS";
|
|
90
|
+
readonly COFFEE: "COFFEE";
|
|
91
|
+
readonly TEA: "TEA";
|
|
92
|
+
readonly OTHER: "OTHER";
|
|
93
|
+
readonly SODA: "SODA";
|
|
94
|
+
readonly ALCOHOLIC: "ALCOHOLIC";
|
|
95
|
+
readonly NON_ALCOHOLIC: "NON_ALCOHOLIC";
|
|
96
|
+
}>, "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC", unknown>;
|
|
97
|
+
volume: z.ZodNumber;
|
|
98
|
+
alcoholPercentage: z.ZodNullable<z.ZodNumber>;
|
|
99
|
+
isCarbonated: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
|
|
100
|
+
tempriture: z.ZodEffects<z.ZodNativeEnum<{
|
|
101
|
+
readonly COLD: "COLD";
|
|
102
|
+
readonly ROOM: "ROOM";
|
|
103
|
+
readonly HOT: "HOT";
|
|
104
|
+
}>, "HOT" | "COLD" | "ROOM", unknown>;
|
|
105
|
+
}>, "strip", z.ZodTypeAny, {
|
|
106
|
+
id: number;
|
|
107
|
+
name: string;
|
|
108
|
+
price: number;
|
|
109
|
+
popularityScore: number;
|
|
110
|
+
ingredients: string[];
|
|
111
|
+
isAvailable: boolean;
|
|
112
|
+
category: "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC";
|
|
113
|
+
volume: number;
|
|
114
|
+
alcoholPercentage: number | null;
|
|
115
|
+
isCarbonated: boolean;
|
|
116
|
+
tempriture: "HOT" | "COLD" | "ROOM";
|
|
117
|
+
description: string;
|
|
118
|
+
image: string | null;
|
|
119
|
+
}, {
|
|
120
|
+
id: number;
|
|
121
|
+
name: string;
|
|
122
|
+
price: number;
|
|
123
|
+
volume: number;
|
|
124
|
+
alcoholPercentage: number | null;
|
|
125
|
+
description: string;
|
|
126
|
+
popularityScore?: number | undefined;
|
|
127
|
+
ingredients?: unknown;
|
|
128
|
+
isAvailable?: boolean | undefined;
|
|
129
|
+
category?: unknown;
|
|
130
|
+
isCarbonated?: unknown;
|
|
131
|
+
tempriture?: unknown;
|
|
132
|
+
image?: string | null | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
export type DrinkItemDTO = z.infer<typeof drinkItemSchema>;
|
|
135
|
+
export declare const foodItemSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
136
|
+
id: z.ZodNumber;
|
|
137
|
+
name: z.ZodString;
|
|
138
|
+
price: z.ZodNumber;
|
|
139
|
+
description: z.ZodString;
|
|
140
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
141
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
142
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
143
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
}, {
|
|
145
|
+
category: z.ZodEffects<z.ZodNativeEnum<{
|
|
146
|
+
readonly SALAD: "SALAD";
|
|
147
|
+
readonly MEAT: "MEAT";
|
|
148
|
+
readonly SOUP: "SOUP";
|
|
149
|
+
readonly FISH: "FISH";
|
|
150
|
+
readonly VEGGIES: "VEGGIES";
|
|
151
|
+
readonly OTHER: "OTHER";
|
|
152
|
+
readonly SEAFOOD: "SEAFOOD";
|
|
153
|
+
}>, "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD", unknown>;
|
|
154
|
+
type: z.ZodNativeEnum<{
|
|
155
|
+
readonly APPETIZER: "APPETIZER";
|
|
156
|
+
readonly MAIN_COURSE: "MAIN_COURSE";
|
|
157
|
+
readonly DESSERT: "DESSERT";
|
|
158
|
+
readonly SIDES: "SIDES";
|
|
159
|
+
readonly SAUCE: "SAUCE";
|
|
160
|
+
readonly OTHER: "OTHER";
|
|
161
|
+
}>;
|
|
162
|
+
isVegan: z.ZodDefault<z.ZodBoolean>;
|
|
163
|
+
isGlutenFree: z.ZodDefault<z.ZodBoolean>;
|
|
164
|
+
isVegetarian: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
+
allergies: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<{
|
|
166
|
+
readonly NONE: "NONE";
|
|
167
|
+
readonly GLUTEN: "GLUTEN";
|
|
168
|
+
readonly DAIRY: "DAIRY";
|
|
169
|
+
readonly EGG: "EGG";
|
|
170
|
+
readonly PEANUT: "PEANUT";
|
|
171
|
+
readonly TREENUT: "TREENUT";
|
|
172
|
+
readonly FISH: "FISH";
|
|
173
|
+
readonly SHELLFISH: "SHELLFISH";
|
|
174
|
+
readonly SOY: "SOY";
|
|
175
|
+
readonly SESAME: "SESAME";
|
|
176
|
+
readonly CELERY: "CELERY";
|
|
177
|
+
readonly MUSTARD: "MUSTARD";
|
|
178
|
+
readonly LUPIN: "LUPIN";
|
|
179
|
+
readonly SULPHITES: "SULPHITES";
|
|
180
|
+
readonly MOLLUSCS: "MOLLUSCS";
|
|
181
|
+
}>, "many">>, ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[], unknown>;
|
|
182
|
+
preparationTime: z.ZodDefault<z.ZodNumber>;
|
|
183
|
+
spicyLevel: z.ZodDefault<z.ZodNativeEnum<{
|
|
184
|
+
readonly NOT_SPICY: "NOT_SPICY";
|
|
185
|
+
readonly MILD: "MILD";
|
|
186
|
+
readonly MEDIUM: "MEDIUM";
|
|
187
|
+
readonly HOT: "HOT";
|
|
188
|
+
readonly EXTRA_HOT: "EXTRA_HOT";
|
|
189
|
+
}>>;
|
|
190
|
+
calories: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
191
|
+
}>, "strip", z.ZodTypeAny, {
|
|
192
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
193
|
+
id: number;
|
|
194
|
+
name: string;
|
|
195
|
+
price: number;
|
|
196
|
+
popularityScore: number;
|
|
197
|
+
ingredients: string[];
|
|
198
|
+
isAvailable: boolean;
|
|
199
|
+
category: "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD";
|
|
200
|
+
allergies: ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[];
|
|
201
|
+
preparationTime: number;
|
|
202
|
+
spicyLevel: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT";
|
|
203
|
+
calories: number | null;
|
|
204
|
+
isVegan: boolean;
|
|
205
|
+
isGlutenFree: boolean;
|
|
206
|
+
description: string;
|
|
207
|
+
image: string | null;
|
|
208
|
+
isVegetarian: boolean;
|
|
209
|
+
}, {
|
|
210
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
211
|
+
id: number;
|
|
212
|
+
name: string;
|
|
213
|
+
price: number;
|
|
214
|
+
description: string;
|
|
215
|
+
popularityScore?: number | undefined;
|
|
216
|
+
ingredients?: unknown;
|
|
217
|
+
isAvailable?: boolean | undefined;
|
|
218
|
+
category?: unknown;
|
|
219
|
+
allergies?: unknown;
|
|
220
|
+
preparationTime?: number | undefined;
|
|
221
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
222
|
+
calories?: number | null | undefined;
|
|
223
|
+
isVegan?: boolean | undefined;
|
|
224
|
+
isGlutenFree?: boolean | undefined;
|
|
225
|
+
image?: string | null | undefined;
|
|
226
|
+
isVegetarian?: boolean | undefined;
|
|
227
|
+
}>;
|
|
228
|
+
export type FoodItemDTO = z.infer<typeof foodItemSchema>;
|
|
229
|
+
export declare const createDrinkItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
230
|
+
id: z.ZodNumber;
|
|
231
|
+
name: z.ZodString;
|
|
232
|
+
price: z.ZodNumber;
|
|
233
|
+
description: z.ZodString;
|
|
234
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
235
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
236
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
237
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
}, {
|
|
239
|
+
category: z.ZodEffects<z.ZodNativeEnum<{
|
|
240
|
+
readonly BEER: "BEER";
|
|
241
|
+
readonly WINE: "WINE";
|
|
242
|
+
readonly SPIRITS: "SPIRITS";
|
|
243
|
+
readonly COFFEE: "COFFEE";
|
|
244
|
+
readonly TEA: "TEA";
|
|
245
|
+
readonly OTHER: "OTHER";
|
|
246
|
+
readonly SODA: "SODA";
|
|
247
|
+
readonly ALCOHOLIC: "ALCOHOLIC";
|
|
248
|
+
readonly NON_ALCOHOLIC: "NON_ALCOHOLIC";
|
|
249
|
+
}>, "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC", unknown>;
|
|
250
|
+
volume: z.ZodNumber;
|
|
251
|
+
alcoholPercentage: z.ZodNullable<z.ZodNumber>;
|
|
252
|
+
isCarbonated: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
|
|
253
|
+
tempriture: z.ZodEffects<z.ZodNativeEnum<{
|
|
254
|
+
readonly COLD: "COLD";
|
|
255
|
+
readonly ROOM: "ROOM";
|
|
256
|
+
readonly HOT: "HOT";
|
|
257
|
+
}>, "HOT" | "COLD" | "ROOM", unknown>;
|
|
258
|
+
}>, "id">, "strip", z.ZodTypeAny, {
|
|
259
|
+
name: string;
|
|
260
|
+
price: number;
|
|
261
|
+
popularityScore: number;
|
|
262
|
+
ingredients: string[];
|
|
263
|
+
isAvailable: boolean;
|
|
264
|
+
category: "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC";
|
|
265
|
+
volume: number;
|
|
266
|
+
alcoholPercentage: number | null;
|
|
267
|
+
isCarbonated: boolean;
|
|
268
|
+
tempriture: "HOT" | "COLD" | "ROOM";
|
|
269
|
+
description: string;
|
|
270
|
+
image: string | null;
|
|
271
|
+
}, {
|
|
272
|
+
name: string;
|
|
273
|
+
price: number;
|
|
274
|
+
volume: number;
|
|
275
|
+
alcoholPercentage: number | null;
|
|
276
|
+
description: string;
|
|
277
|
+
popularityScore?: number | undefined;
|
|
278
|
+
ingredients?: unknown;
|
|
279
|
+
isAvailable?: boolean | undefined;
|
|
280
|
+
category?: unknown;
|
|
281
|
+
isCarbonated?: unknown;
|
|
282
|
+
tempriture?: unknown;
|
|
283
|
+
image?: string | null | undefined;
|
|
284
|
+
}>;
|
|
285
|
+
export type CreateDrinkItemDTO = z.infer<typeof createDrinkItemSchema>;
|
|
286
|
+
export declare const createFoodItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
287
|
+
id: z.ZodNumber;
|
|
288
|
+
name: z.ZodString;
|
|
289
|
+
price: z.ZodNumber;
|
|
290
|
+
description: z.ZodString;
|
|
291
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
292
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
293
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
294
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
295
|
+
}, {
|
|
296
|
+
category: z.ZodEffects<z.ZodNativeEnum<{
|
|
297
|
+
readonly SALAD: "SALAD";
|
|
298
|
+
readonly MEAT: "MEAT";
|
|
299
|
+
readonly SOUP: "SOUP";
|
|
300
|
+
readonly FISH: "FISH";
|
|
301
|
+
readonly VEGGIES: "VEGGIES";
|
|
302
|
+
readonly OTHER: "OTHER";
|
|
303
|
+
readonly SEAFOOD: "SEAFOOD";
|
|
304
|
+
}>, "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD", unknown>;
|
|
305
|
+
type: z.ZodNativeEnum<{
|
|
306
|
+
readonly APPETIZER: "APPETIZER";
|
|
307
|
+
readonly MAIN_COURSE: "MAIN_COURSE";
|
|
308
|
+
readonly DESSERT: "DESSERT";
|
|
309
|
+
readonly SIDES: "SIDES";
|
|
310
|
+
readonly SAUCE: "SAUCE";
|
|
311
|
+
readonly OTHER: "OTHER";
|
|
312
|
+
}>;
|
|
313
|
+
isVegan: z.ZodDefault<z.ZodBoolean>;
|
|
314
|
+
isGlutenFree: z.ZodDefault<z.ZodBoolean>;
|
|
315
|
+
isVegetarian: z.ZodDefault<z.ZodBoolean>;
|
|
316
|
+
allergies: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<{
|
|
317
|
+
readonly NONE: "NONE";
|
|
318
|
+
readonly GLUTEN: "GLUTEN";
|
|
319
|
+
readonly DAIRY: "DAIRY";
|
|
320
|
+
readonly EGG: "EGG";
|
|
321
|
+
readonly PEANUT: "PEANUT";
|
|
322
|
+
readonly TREENUT: "TREENUT";
|
|
323
|
+
readonly FISH: "FISH";
|
|
324
|
+
readonly SHELLFISH: "SHELLFISH";
|
|
325
|
+
readonly SOY: "SOY";
|
|
326
|
+
readonly SESAME: "SESAME";
|
|
327
|
+
readonly CELERY: "CELERY";
|
|
328
|
+
readonly MUSTARD: "MUSTARD";
|
|
329
|
+
readonly LUPIN: "LUPIN";
|
|
330
|
+
readonly SULPHITES: "SULPHITES";
|
|
331
|
+
readonly MOLLUSCS: "MOLLUSCS";
|
|
332
|
+
}>, "many">>, ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[], unknown>;
|
|
333
|
+
preparationTime: z.ZodDefault<z.ZodNumber>;
|
|
334
|
+
spicyLevel: z.ZodDefault<z.ZodNativeEnum<{
|
|
335
|
+
readonly NOT_SPICY: "NOT_SPICY";
|
|
336
|
+
readonly MILD: "MILD";
|
|
337
|
+
readonly MEDIUM: "MEDIUM";
|
|
338
|
+
readonly HOT: "HOT";
|
|
339
|
+
readonly EXTRA_HOT: "EXTRA_HOT";
|
|
340
|
+
}>>;
|
|
341
|
+
calories: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
342
|
+
}>, "id">, "strip", z.ZodTypeAny, {
|
|
343
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
344
|
+
name: string;
|
|
345
|
+
price: number;
|
|
346
|
+
popularityScore: number;
|
|
347
|
+
ingredients: string[];
|
|
348
|
+
isAvailable: boolean;
|
|
349
|
+
category: "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD";
|
|
350
|
+
allergies: ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[];
|
|
351
|
+
preparationTime: number;
|
|
352
|
+
spicyLevel: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT";
|
|
353
|
+
calories: number | null;
|
|
354
|
+
isVegan: boolean;
|
|
355
|
+
isGlutenFree: boolean;
|
|
356
|
+
description: string;
|
|
357
|
+
image: string | null;
|
|
358
|
+
isVegetarian: boolean;
|
|
359
|
+
}, {
|
|
360
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
361
|
+
name: string;
|
|
362
|
+
price: number;
|
|
363
|
+
description: string;
|
|
364
|
+
popularityScore?: number | undefined;
|
|
365
|
+
ingredients?: unknown;
|
|
366
|
+
isAvailable?: boolean | undefined;
|
|
367
|
+
category?: unknown;
|
|
368
|
+
allergies?: unknown;
|
|
369
|
+
preparationTime?: number | undefined;
|
|
370
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
371
|
+
calories?: number | null | undefined;
|
|
372
|
+
isVegan?: boolean | undefined;
|
|
373
|
+
isGlutenFree?: boolean | undefined;
|
|
374
|
+
image?: string | null | undefined;
|
|
375
|
+
isVegetarian?: boolean | undefined;
|
|
376
|
+
}>;
|
|
377
|
+
export type CreateFoodItemDTO = z.infer<typeof createFoodItemSchema>;
|
|
378
|
+
export declare const updateDrinkItemSchema: z.ZodObject<{
|
|
379
|
+
name: z.ZodOptional<z.ZodString>;
|
|
380
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
popularityScore: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
382
|
+
ingredients: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>>;
|
|
383
|
+
isAvailable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
384
|
+
category: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
385
|
+
readonly BEER: "BEER";
|
|
386
|
+
readonly WINE: "WINE";
|
|
387
|
+
readonly SPIRITS: "SPIRITS";
|
|
388
|
+
readonly COFFEE: "COFFEE";
|
|
389
|
+
readonly TEA: "TEA";
|
|
390
|
+
readonly OTHER: "OTHER";
|
|
391
|
+
readonly SODA: "SODA";
|
|
392
|
+
readonly ALCOHOLIC: "ALCOHOLIC";
|
|
393
|
+
readonly NON_ALCOHOLIC: "NON_ALCOHOLIC";
|
|
394
|
+
}>, "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC", unknown>>;
|
|
395
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
396
|
+
alcoholPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
397
|
+
isCarbonated: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
398
|
+
tempriture: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
399
|
+
readonly COLD: "COLD";
|
|
400
|
+
readonly ROOM: "ROOM";
|
|
401
|
+
readonly HOT: "HOT";
|
|
402
|
+
}>, "HOT" | "COLD" | "ROOM", unknown>>;
|
|
403
|
+
description: z.ZodOptional<z.ZodString>;
|
|
404
|
+
image: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
name?: string | undefined;
|
|
407
|
+
price?: number | undefined;
|
|
408
|
+
popularityScore?: number | undefined;
|
|
409
|
+
ingredients?: string[] | undefined;
|
|
410
|
+
isAvailable?: boolean | undefined;
|
|
411
|
+
category?: "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC" | undefined;
|
|
412
|
+
volume?: number | undefined;
|
|
413
|
+
alcoholPercentage?: number | null | undefined;
|
|
414
|
+
isCarbonated?: boolean | undefined;
|
|
415
|
+
tempriture?: "HOT" | "COLD" | "ROOM" | undefined;
|
|
416
|
+
description?: string | undefined;
|
|
417
|
+
image?: string | null | undefined;
|
|
418
|
+
}, {
|
|
419
|
+
name?: string | undefined;
|
|
420
|
+
price?: number | undefined;
|
|
421
|
+
popularityScore?: number | undefined;
|
|
422
|
+
ingredients?: unknown;
|
|
423
|
+
isAvailable?: boolean | undefined;
|
|
424
|
+
category?: unknown;
|
|
425
|
+
volume?: number | undefined;
|
|
426
|
+
alcoholPercentage?: number | null | undefined;
|
|
427
|
+
isCarbonated?: unknown;
|
|
428
|
+
tempriture?: unknown;
|
|
429
|
+
description?: string | undefined;
|
|
430
|
+
image?: string | null | undefined;
|
|
431
|
+
}>;
|
|
432
|
+
export type UpdateDrinkItemDTO = z.infer<typeof updateDrinkItemSchema>;
|
|
433
|
+
export declare const updateFoodItemSchema: z.ZodObject<{
|
|
434
|
+
type: z.ZodOptional<z.ZodNativeEnum<{
|
|
435
|
+
readonly APPETIZER: "APPETIZER";
|
|
436
|
+
readonly MAIN_COURSE: "MAIN_COURSE";
|
|
437
|
+
readonly DESSERT: "DESSERT";
|
|
438
|
+
readonly SIDES: "SIDES";
|
|
439
|
+
readonly SAUCE: "SAUCE";
|
|
440
|
+
readonly OTHER: "OTHER";
|
|
441
|
+
}>>;
|
|
442
|
+
name: z.ZodOptional<z.ZodString>;
|
|
443
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
444
|
+
popularityScore: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
445
|
+
ingredients: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>>;
|
|
446
|
+
isAvailable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
447
|
+
category: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
448
|
+
readonly SALAD: "SALAD";
|
|
449
|
+
readonly MEAT: "MEAT";
|
|
450
|
+
readonly SOUP: "SOUP";
|
|
451
|
+
readonly FISH: "FISH";
|
|
452
|
+
readonly VEGGIES: "VEGGIES";
|
|
453
|
+
readonly OTHER: "OTHER";
|
|
454
|
+
readonly SEAFOOD: "SEAFOOD";
|
|
455
|
+
}>, "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD", unknown>>;
|
|
456
|
+
allergies: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<{
|
|
457
|
+
readonly NONE: "NONE";
|
|
458
|
+
readonly GLUTEN: "GLUTEN";
|
|
459
|
+
readonly DAIRY: "DAIRY";
|
|
460
|
+
readonly EGG: "EGG";
|
|
461
|
+
readonly PEANUT: "PEANUT";
|
|
462
|
+
readonly TREENUT: "TREENUT";
|
|
463
|
+
readonly FISH: "FISH";
|
|
464
|
+
readonly SHELLFISH: "SHELLFISH";
|
|
465
|
+
readonly SOY: "SOY";
|
|
466
|
+
readonly SESAME: "SESAME";
|
|
467
|
+
readonly CELERY: "CELERY";
|
|
468
|
+
readonly MUSTARD: "MUSTARD";
|
|
469
|
+
readonly LUPIN: "LUPIN";
|
|
470
|
+
readonly SULPHITES: "SULPHITES";
|
|
471
|
+
readonly MOLLUSCS: "MOLLUSCS";
|
|
472
|
+
}>, "many">>, ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[], unknown>>;
|
|
473
|
+
preparationTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
474
|
+
spicyLevel: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<{
|
|
475
|
+
readonly NOT_SPICY: "NOT_SPICY";
|
|
476
|
+
readonly MILD: "MILD";
|
|
477
|
+
readonly MEDIUM: "MEDIUM";
|
|
478
|
+
readonly HOT: "HOT";
|
|
479
|
+
readonly EXTRA_HOT: "EXTRA_HOT";
|
|
480
|
+
}>>>;
|
|
481
|
+
calories: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
482
|
+
isVegan: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
483
|
+
isGlutenFree: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
484
|
+
description: z.ZodOptional<z.ZodString>;
|
|
485
|
+
image: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
486
|
+
isVegetarian: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
type?: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER" | undefined;
|
|
489
|
+
name?: string | undefined;
|
|
490
|
+
price?: number | undefined;
|
|
491
|
+
popularityScore?: number | undefined;
|
|
492
|
+
ingredients?: string[] | undefined;
|
|
493
|
+
isAvailable?: boolean | undefined;
|
|
494
|
+
category?: "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD" | undefined;
|
|
495
|
+
allergies?: ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[] | undefined;
|
|
496
|
+
preparationTime?: number | undefined;
|
|
497
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
498
|
+
calories?: number | null | undefined;
|
|
499
|
+
isVegan?: boolean | undefined;
|
|
500
|
+
isGlutenFree?: boolean | undefined;
|
|
501
|
+
description?: string | undefined;
|
|
502
|
+
image?: string | null | undefined;
|
|
503
|
+
isVegetarian?: boolean | undefined;
|
|
504
|
+
}, {
|
|
505
|
+
type?: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER" | undefined;
|
|
506
|
+
name?: string | undefined;
|
|
507
|
+
price?: number | undefined;
|
|
508
|
+
popularityScore?: number | undefined;
|
|
509
|
+
ingredients?: unknown;
|
|
510
|
+
isAvailable?: boolean | undefined;
|
|
511
|
+
category?: unknown;
|
|
512
|
+
allergies?: unknown;
|
|
513
|
+
preparationTime?: number | undefined;
|
|
514
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
515
|
+
calories?: number | null | undefined;
|
|
516
|
+
isVegan?: boolean | undefined;
|
|
517
|
+
isGlutenFree?: boolean | undefined;
|
|
518
|
+
description?: string | undefined;
|
|
519
|
+
image?: string | null | undefined;
|
|
520
|
+
isVegetarian?: boolean | undefined;
|
|
521
|
+
}>;
|
|
522
|
+
export type UpdateFoodItemDTO = z.infer<typeof updateFoodItemSchema>;
|
|
523
|
+
export declare const searchFoodItemsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
524
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
525
|
+
name: z.ZodOptional<z.ZodString>;
|
|
526
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
527
|
+
description: z.ZodOptional<z.ZodString>;
|
|
528
|
+
ingredients: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>>;
|
|
529
|
+
isAvailable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
530
|
+
popularityScore: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
531
|
+
image: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
532
|
+
category: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
533
|
+
readonly SALAD: "SALAD";
|
|
534
|
+
readonly MEAT: "MEAT";
|
|
535
|
+
readonly SOUP: "SOUP";
|
|
536
|
+
readonly FISH: "FISH";
|
|
537
|
+
readonly VEGGIES: "VEGGIES";
|
|
538
|
+
readonly OTHER: "OTHER";
|
|
539
|
+
readonly SEAFOOD: "SEAFOOD";
|
|
540
|
+
}>, "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD", unknown>>;
|
|
541
|
+
type: z.ZodOptional<z.ZodNativeEnum<{
|
|
542
|
+
readonly APPETIZER: "APPETIZER";
|
|
543
|
+
readonly MAIN_COURSE: "MAIN_COURSE";
|
|
544
|
+
readonly DESSERT: "DESSERT";
|
|
545
|
+
readonly SIDES: "SIDES";
|
|
546
|
+
readonly SAUCE: "SAUCE";
|
|
547
|
+
readonly OTHER: "OTHER";
|
|
548
|
+
}>>;
|
|
549
|
+
isVegan: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
550
|
+
isGlutenFree: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
551
|
+
isVegetarian: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
552
|
+
allergies: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<{
|
|
553
|
+
readonly NONE: "NONE";
|
|
554
|
+
readonly GLUTEN: "GLUTEN";
|
|
555
|
+
readonly DAIRY: "DAIRY";
|
|
556
|
+
readonly EGG: "EGG";
|
|
557
|
+
readonly PEANUT: "PEANUT";
|
|
558
|
+
readonly TREENUT: "TREENUT";
|
|
559
|
+
readonly FISH: "FISH";
|
|
560
|
+
readonly SHELLFISH: "SHELLFISH";
|
|
561
|
+
readonly SOY: "SOY";
|
|
562
|
+
readonly SESAME: "SESAME";
|
|
563
|
+
readonly CELERY: "CELERY";
|
|
564
|
+
readonly MUSTARD: "MUSTARD";
|
|
565
|
+
readonly LUPIN: "LUPIN";
|
|
566
|
+
readonly SULPHITES: "SULPHITES";
|
|
567
|
+
readonly MOLLUSCS: "MOLLUSCS";
|
|
568
|
+
}>, "many">>, ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[], unknown>>;
|
|
569
|
+
preparationTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
570
|
+
spicyLevel: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<{
|
|
571
|
+
readonly NOT_SPICY: "NOT_SPICY";
|
|
572
|
+
readonly MILD: "MILD";
|
|
573
|
+
readonly MEDIUM: "MEDIUM";
|
|
574
|
+
readonly HOT: "HOT";
|
|
575
|
+
readonly EXTRA_HOT: "EXTRA_HOT";
|
|
576
|
+
}>>>;
|
|
577
|
+
calories: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
578
|
+
}, {
|
|
579
|
+
sortBy: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
|
|
580
|
+
readonly TYPE: "type";
|
|
581
|
+
readonly CATEGORY: "category";
|
|
582
|
+
readonly ALLERGIES: "allergies";
|
|
583
|
+
readonly PREPARATION_TIME: "preparationTime";
|
|
584
|
+
readonly SPICY_LEVEL: "spicyLevel";
|
|
585
|
+
readonly CALORIES: "calories";
|
|
586
|
+
readonly IS_VEGAN: "isVegan";
|
|
587
|
+
readonly IS_GLUTEN_FREE: "isGlutenFree";
|
|
588
|
+
readonly ID: "id";
|
|
589
|
+
readonly NAME: "name";
|
|
590
|
+
readonly PRICE: "price";
|
|
591
|
+
readonly POPULARITY: "popularityScore";
|
|
592
|
+
readonly INGREDIENTS: "ingredients";
|
|
593
|
+
readonly IS_AVAILABLE: "isAvailable";
|
|
594
|
+
readonly POPULARITY_SCORE: "popularityScore";
|
|
595
|
+
readonly CREATED_AT: "createdAt";
|
|
596
|
+
readonly UPDATED_AT: "updatedAt";
|
|
597
|
+
}>>>;
|
|
598
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
599
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
600
|
+
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
|
|
601
|
+
readonly ASC: "asc";
|
|
602
|
+
readonly DESC: "desc";
|
|
603
|
+
}>>>;
|
|
604
|
+
}>, "strip", z.ZodTypeAny, {
|
|
605
|
+
page: number;
|
|
606
|
+
pageSize: number;
|
|
607
|
+
sortOrder: "asc" | "desc";
|
|
608
|
+
sortBy: "type" | "id" | "name" | "price" | "popularityScore" | "ingredients" | "isAvailable" | "createdAt" | "updatedAt" | "category" | "allergies" | "preparationTime" | "spicyLevel" | "calories" | "isVegan" | "isGlutenFree";
|
|
609
|
+
type?: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER" | undefined;
|
|
610
|
+
id?: number | undefined;
|
|
611
|
+
name?: string | undefined;
|
|
612
|
+
price?: number | undefined;
|
|
613
|
+
popularityScore?: number | undefined;
|
|
614
|
+
ingredients?: string[] | undefined;
|
|
615
|
+
isAvailable?: boolean | undefined;
|
|
616
|
+
category?: "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD" | undefined;
|
|
617
|
+
allergies?: ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[] | undefined;
|
|
618
|
+
preparationTime?: number | undefined;
|
|
619
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
620
|
+
calories?: number | null | undefined;
|
|
621
|
+
isVegan?: boolean | undefined;
|
|
622
|
+
isGlutenFree?: boolean | undefined;
|
|
623
|
+
description?: string | undefined;
|
|
624
|
+
image?: string | null | undefined;
|
|
625
|
+
isVegetarian?: boolean | undefined;
|
|
626
|
+
}, {
|
|
627
|
+
type?: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER" | undefined;
|
|
628
|
+
page?: number | undefined;
|
|
629
|
+
pageSize?: number | undefined;
|
|
630
|
+
sortOrder?: "asc" | "desc" | undefined;
|
|
631
|
+
id?: number | undefined;
|
|
632
|
+
name?: string | undefined;
|
|
633
|
+
price?: number | undefined;
|
|
634
|
+
popularityScore?: number | undefined;
|
|
635
|
+
ingredients?: unknown;
|
|
636
|
+
isAvailable?: boolean | undefined;
|
|
637
|
+
category?: unknown;
|
|
638
|
+
allergies?: unknown;
|
|
639
|
+
preparationTime?: number | undefined;
|
|
640
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
641
|
+
calories?: number | null | undefined;
|
|
642
|
+
isVegan?: boolean | undefined;
|
|
643
|
+
isGlutenFree?: boolean | undefined;
|
|
644
|
+
description?: string | undefined;
|
|
645
|
+
image?: string | null | undefined;
|
|
646
|
+
isVegetarian?: boolean | undefined;
|
|
647
|
+
sortBy?: "type" | "id" | "name" | "price" | "popularityScore" | "ingredients" | "isAvailable" | "createdAt" | "updatedAt" | "category" | "allergies" | "preparationTime" | "spicyLevel" | "calories" | "isVegan" | "isGlutenFree" | undefined;
|
|
648
|
+
}>;
|
|
649
|
+
export type SearchFoodItemsDTO = z.infer<typeof searchFoodItemsSchema>;
|
|
650
|
+
export declare const searchDrinkItemsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
651
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
652
|
+
name: z.ZodOptional<z.ZodString>;
|
|
653
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
654
|
+
description: z.ZodOptional<z.ZodString>;
|
|
655
|
+
ingredients: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>>;
|
|
656
|
+
isAvailable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
657
|
+
popularityScore: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
658
|
+
image: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
659
|
+
category: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
660
|
+
readonly BEER: "BEER";
|
|
661
|
+
readonly WINE: "WINE";
|
|
662
|
+
readonly SPIRITS: "SPIRITS";
|
|
663
|
+
readonly COFFEE: "COFFEE";
|
|
664
|
+
readonly TEA: "TEA";
|
|
665
|
+
readonly OTHER: "OTHER";
|
|
666
|
+
readonly SODA: "SODA";
|
|
667
|
+
readonly ALCOHOLIC: "ALCOHOLIC";
|
|
668
|
+
readonly NON_ALCOHOLIC: "NON_ALCOHOLIC";
|
|
669
|
+
}>, "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC", unknown>>;
|
|
670
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
671
|
+
alcoholPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
672
|
+
isCarbonated: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
673
|
+
tempriture: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
674
|
+
readonly COLD: "COLD";
|
|
675
|
+
readonly ROOM: "ROOM";
|
|
676
|
+
readonly HOT: "HOT";
|
|
677
|
+
}>, "HOT" | "COLD" | "ROOM", unknown>>;
|
|
678
|
+
}, {
|
|
679
|
+
sortBy: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
|
|
680
|
+
readonly CATEGORY: "category";
|
|
681
|
+
readonly VOLUME: "volume";
|
|
682
|
+
readonly ALCOHOL_PERCENTAGE: "alcoholPercentage";
|
|
683
|
+
readonly IS_CARBONATED: "isCarbonated";
|
|
684
|
+
readonly TEMPRITURE: "tempriture";
|
|
685
|
+
readonly ID: "id";
|
|
686
|
+
readonly NAME: "name";
|
|
687
|
+
readonly PRICE: "price";
|
|
688
|
+
readonly POPULARITY: "popularityScore";
|
|
689
|
+
readonly INGREDIENTS: "ingredients";
|
|
690
|
+
readonly IS_AVAILABLE: "isAvailable";
|
|
691
|
+
readonly POPULARITY_SCORE: "popularityScore";
|
|
692
|
+
readonly CREATED_AT: "createdAt";
|
|
693
|
+
readonly UPDATED_AT: "updatedAt";
|
|
694
|
+
}>>>;
|
|
695
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
696
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
697
|
+
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<{
|
|
698
|
+
readonly ASC: "asc";
|
|
699
|
+
readonly DESC: "desc";
|
|
700
|
+
}>>>;
|
|
701
|
+
}>, "strip", z.ZodTypeAny, {
|
|
702
|
+
page: number;
|
|
703
|
+
pageSize: number;
|
|
704
|
+
sortOrder: "asc" | "desc";
|
|
705
|
+
sortBy: "id" | "name" | "price" | "popularityScore" | "ingredients" | "isAvailable" | "createdAt" | "updatedAt" | "category" | "volume" | "alcoholPercentage" | "isCarbonated" | "tempriture";
|
|
706
|
+
id?: number | undefined;
|
|
707
|
+
name?: string | undefined;
|
|
708
|
+
price?: number | undefined;
|
|
709
|
+
popularityScore?: number | undefined;
|
|
710
|
+
ingredients?: string[] | undefined;
|
|
711
|
+
isAvailable?: boolean | undefined;
|
|
712
|
+
category?: "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC" | undefined;
|
|
713
|
+
volume?: number | undefined;
|
|
714
|
+
alcoholPercentage?: number | null | undefined;
|
|
715
|
+
isCarbonated?: boolean | undefined;
|
|
716
|
+
tempriture?: "HOT" | "COLD" | "ROOM" | undefined;
|
|
717
|
+
description?: string | undefined;
|
|
718
|
+
image?: string | null | undefined;
|
|
719
|
+
}, {
|
|
720
|
+
page?: number | undefined;
|
|
721
|
+
pageSize?: number | undefined;
|
|
722
|
+
sortOrder?: "asc" | "desc" | undefined;
|
|
723
|
+
id?: number | undefined;
|
|
724
|
+
name?: string | undefined;
|
|
725
|
+
price?: number | undefined;
|
|
726
|
+
popularityScore?: number | undefined;
|
|
727
|
+
ingredients?: unknown;
|
|
728
|
+
isAvailable?: boolean | undefined;
|
|
729
|
+
category?: unknown;
|
|
730
|
+
volume?: number | undefined;
|
|
731
|
+
alcoholPercentage?: number | null | undefined;
|
|
732
|
+
isCarbonated?: unknown;
|
|
733
|
+
tempriture?: unknown;
|
|
734
|
+
description?: string | undefined;
|
|
735
|
+
image?: string | null | undefined;
|
|
736
|
+
sortBy?: "id" | "name" | "price" | "popularityScore" | "ingredients" | "isAvailable" | "createdAt" | "updatedAt" | "category" | "volume" | "alcoholPercentage" | "isCarbonated" | "tempriture" | undefined;
|
|
737
|
+
}>;
|
|
738
|
+
export type SearchDrinkItemsDTO = z.infer<typeof searchDrinkItemsSchema>;
|
|
739
|
+
/**
|
|
740
|
+
* Schema for a list of food items.
|
|
741
|
+
*
|
|
742
|
+
* This schema extends the `listPropsSchema` to include an array of food items.
|
|
743
|
+
* Each food item in the array must conform to the `foodItemSchema`.
|
|
744
|
+
*
|
|
745
|
+
* @constant
|
|
746
|
+
* @type {ZodSchema}
|
|
747
|
+
*
|
|
748
|
+
* @example
|
|
749
|
+
* const validData = {
|
|
750
|
+
* items: [
|
|
751
|
+
* { name: "Apple", calories: 95 },
|
|
752
|
+
* { name: "Banana", calories: 105 }
|
|
753
|
+
* ]
|
|
754
|
+
* };
|
|
755
|
+
*
|
|
756
|
+
* foodItemsListSchema.parse(validData); // This will pass validation
|
|
757
|
+
*
|
|
758
|
+
* @see {@link listPropsSchema} for the base schema properties.
|
|
759
|
+
* @see {@link foodItemSchema} for the individual food item schema.
|
|
760
|
+
*/
|
|
761
|
+
export declare const foodItemsListSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
762
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
763
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
764
|
+
totalPages: z.ZodNumber;
|
|
765
|
+
totalCount: z.ZodNumber;
|
|
766
|
+
}, {
|
|
767
|
+
items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
768
|
+
id: z.ZodNumber;
|
|
769
|
+
name: z.ZodString;
|
|
770
|
+
price: z.ZodNumber;
|
|
771
|
+
description: z.ZodString;
|
|
772
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
773
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
774
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
775
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
776
|
+
}, {
|
|
777
|
+
category: z.ZodEffects<z.ZodNativeEnum<{
|
|
778
|
+
readonly SALAD: "SALAD";
|
|
779
|
+
readonly MEAT: "MEAT";
|
|
780
|
+
readonly SOUP: "SOUP";
|
|
781
|
+
readonly FISH: "FISH";
|
|
782
|
+
readonly VEGGIES: "VEGGIES";
|
|
783
|
+
readonly OTHER: "OTHER";
|
|
784
|
+
readonly SEAFOOD: "SEAFOOD";
|
|
785
|
+
}>, "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD", unknown>;
|
|
786
|
+
type: z.ZodNativeEnum<{
|
|
787
|
+
readonly APPETIZER: "APPETIZER";
|
|
788
|
+
readonly MAIN_COURSE: "MAIN_COURSE";
|
|
789
|
+
readonly DESSERT: "DESSERT";
|
|
790
|
+
readonly SIDES: "SIDES";
|
|
791
|
+
readonly SAUCE: "SAUCE";
|
|
792
|
+
readonly OTHER: "OTHER";
|
|
793
|
+
}>;
|
|
794
|
+
isVegan: z.ZodDefault<z.ZodBoolean>;
|
|
795
|
+
isGlutenFree: z.ZodDefault<z.ZodBoolean>;
|
|
796
|
+
isVegetarian: z.ZodDefault<z.ZodBoolean>;
|
|
797
|
+
allergies: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<{
|
|
798
|
+
readonly NONE: "NONE";
|
|
799
|
+
readonly GLUTEN: "GLUTEN";
|
|
800
|
+
readonly DAIRY: "DAIRY";
|
|
801
|
+
readonly EGG: "EGG";
|
|
802
|
+
readonly PEANUT: "PEANUT";
|
|
803
|
+
readonly TREENUT: "TREENUT";
|
|
804
|
+
readonly FISH: "FISH";
|
|
805
|
+
readonly SHELLFISH: "SHELLFISH";
|
|
806
|
+
readonly SOY: "SOY";
|
|
807
|
+
readonly SESAME: "SESAME";
|
|
808
|
+
readonly CELERY: "CELERY";
|
|
809
|
+
readonly MUSTARD: "MUSTARD";
|
|
810
|
+
readonly LUPIN: "LUPIN";
|
|
811
|
+
readonly SULPHITES: "SULPHITES";
|
|
812
|
+
readonly MOLLUSCS: "MOLLUSCS";
|
|
813
|
+
}>, "many">>, ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[], unknown>;
|
|
814
|
+
preparationTime: z.ZodDefault<z.ZodNumber>;
|
|
815
|
+
spicyLevel: z.ZodDefault<z.ZodNativeEnum<{
|
|
816
|
+
readonly NOT_SPICY: "NOT_SPICY";
|
|
817
|
+
readonly MILD: "MILD";
|
|
818
|
+
readonly MEDIUM: "MEDIUM";
|
|
819
|
+
readonly HOT: "HOT";
|
|
820
|
+
readonly EXTRA_HOT: "EXTRA_HOT";
|
|
821
|
+
}>>;
|
|
822
|
+
calories: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
823
|
+
}>, "strip", z.ZodTypeAny, {
|
|
824
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
825
|
+
id: number;
|
|
826
|
+
name: string;
|
|
827
|
+
price: number;
|
|
828
|
+
popularityScore: number;
|
|
829
|
+
ingredients: string[];
|
|
830
|
+
isAvailable: boolean;
|
|
831
|
+
category: "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD";
|
|
832
|
+
allergies: ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[];
|
|
833
|
+
preparationTime: number;
|
|
834
|
+
spicyLevel: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT";
|
|
835
|
+
calories: number | null;
|
|
836
|
+
isVegan: boolean;
|
|
837
|
+
isGlutenFree: boolean;
|
|
838
|
+
description: string;
|
|
839
|
+
image: string | null;
|
|
840
|
+
isVegetarian: boolean;
|
|
841
|
+
}, {
|
|
842
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
843
|
+
id: number;
|
|
844
|
+
name: string;
|
|
845
|
+
price: number;
|
|
846
|
+
description: string;
|
|
847
|
+
popularityScore?: number | undefined;
|
|
848
|
+
ingredients?: unknown;
|
|
849
|
+
isAvailable?: boolean | undefined;
|
|
850
|
+
category?: unknown;
|
|
851
|
+
allergies?: unknown;
|
|
852
|
+
preparationTime?: number | undefined;
|
|
853
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
854
|
+
calories?: number | null | undefined;
|
|
855
|
+
isVegan?: boolean | undefined;
|
|
856
|
+
isGlutenFree?: boolean | undefined;
|
|
857
|
+
image?: string | null | undefined;
|
|
858
|
+
isVegetarian?: boolean | undefined;
|
|
859
|
+
}>, "many">;
|
|
860
|
+
}>, "strip", z.ZodTypeAny, {
|
|
861
|
+
page: number;
|
|
862
|
+
pageSize: number;
|
|
863
|
+
totalPages: number;
|
|
864
|
+
totalCount: number;
|
|
865
|
+
items: {
|
|
866
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
867
|
+
id: number;
|
|
868
|
+
name: string;
|
|
869
|
+
price: number;
|
|
870
|
+
popularityScore: number;
|
|
871
|
+
ingredients: string[];
|
|
872
|
+
isAvailable: boolean;
|
|
873
|
+
category: "FISH" | "OTHER" | "SALAD" | "MEAT" | "SOUP" | "VEGGIES" | "SEAFOOD";
|
|
874
|
+
allergies: ("NONE" | "GLUTEN" | "DAIRY" | "EGG" | "PEANUT" | "TREENUT" | "FISH" | "SHELLFISH" | "SOY" | "SESAME" | "CELERY" | "MUSTARD" | "LUPIN" | "SULPHITES" | "MOLLUSCS")[];
|
|
875
|
+
preparationTime: number;
|
|
876
|
+
spicyLevel: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT";
|
|
877
|
+
calories: number | null;
|
|
878
|
+
isVegan: boolean;
|
|
879
|
+
isGlutenFree: boolean;
|
|
880
|
+
description: string;
|
|
881
|
+
image: string | null;
|
|
882
|
+
isVegetarian: boolean;
|
|
883
|
+
}[];
|
|
884
|
+
}, {
|
|
885
|
+
totalPages: number;
|
|
886
|
+
totalCount: number;
|
|
887
|
+
items: {
|
|
888
|
+
type: "APPETIZER" | "MAIN_COURSE" | "DESSERT" | "SIDES" | "SAUCE" | "OTHER";
|
|
889
|
+
id: number;
|
|
890
|
+
name: string;
|
|
891
|
+
price: number;
|
|
892
|
+
description: string;
|
|
893
|
+
popularityScore?: number | undefined;
|
|
894
|
+
ingredients?: unknown;
|
|
895
|
+
isAvailable?: boolean | undefined;
|
|
896
|
+
category?: unknown;
|
|
897
|
+
allergies?: unknown;
|
|
898
|
+
preparationTime?: number | undefined;
|
|
899
|
+
spicyLevel?: "NOT_SPICY" | "MILD" | "MEDIUM" | "HOT" | "EXTRA_HOT" | undefined;
|
|
900
|
+
calories?: number | null | undefined;
|
|
901
|
+
isVegan?: boolean | undefined;
|
|
902
|
+
isGlutenFree?: boolean | undefined;
|
|
903
|
+
image?: string | null | undefined;
|
|
904
|
+
isVegetarian?: boolean | undefined;
|
|
905
|
+
}[];
|
|
906
|
+
page?: number | undefined;
|
|
907
|
+
pageSize?: number | undefined;
|
|
908
|
+
}>;
|
|
909
|
+
/**
|
|
910
|
+
* Type representing the list of food items.
|
|
911
|
+
*
|
|
912
|
+
* This type is inferred from the `foodItemsListSchema` using Zod.
|
|
913
|
+
*
|
|
914
|
+
* @type {FoodItemsListDTO}
|
|
915
|
+
*/
|
|
916
|
+
/**
|
|
917
|
+
* Represents the data transfer object (DTO) for a list of food items.
|
|
918
|
+
*
|
|
919
|
+
* @property {typeof foodItemsListSchema} foodItemsListSchema - The schema definition for the food items list.
|
|
920
|
+
*/
|
|
921
|
+
export type FoodItemsListDTO = z.infer<typeof foodItemsListSchema>;
|
|
922
|
+
/**
|
|
923
|
+
* Schema for a list of drink items.
|
|
924
|
+
*
|
|
925
|
+
* This schema extends the `listPropsSchema` to include an array of drink items.
|
|
926
|
+
* Each drink item in the array must conform to the `drinkItemSchema`.
|
|
927
|
+
*
|
|
928
|
+
* @constant
|
|
929
|
+
* @type {ZodSchema}
|
|
930
|
+
*
|
|
931
|
+
* @example
|
|
932
|
+
* const validData = {
|
|
933
|
+
* items: [
|
|
934
|
+
* { name: "Coca Cola", volume: 330 },
|
|
935
|
+
* { name: "Fanta", volume: 330 }
|
|
936
|
+
* ]
|
|
937
|
+
* };
|
|
938
|
+
*
|
|
939
|
+
* drinkItemsListSchema.parse(validData); // This will pass validation
|
|
940
|
+
*
|
|
941
|
+
* @see {@link listPropsSchema} for the base schema properties.
|
|
942
|
+
* @see {@link drinkItemSchema} for the individual drink item schema.
|
|
943
|
+
*/
|
|
944
|
+
export declare const drinkItemsListSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
945
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
946
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
947
|
+
totalPages: z.ZodNumber;
|
|
948
|
+
totalCount: z.ZodNumber;
|
|
949
|
+
}, {
|
|
950
|
+
items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
951
|
+
id: z.ZodNumber;
|
|
952
|
+
name: z.ZodString;
|
|
953
|
+
price: z.ZodNumber;
|
|
954
|
+
description: z.ZodString;
|
|
955
|
+
ingredients: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
956
|
+
isAvailable: z.ZodDefault<z.ZodBoolean>;
|
|
957
|
+
popularityScore: z.ZodDefault<z.ZodNumber>;
|
|
958
|
+
image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
959
|
+
}, {
|
|
960
|
+
category: z.ZodEffects<z.ZodNativeEnum<{
|
|
961
|
+
readonly BEER: "BEER";
|
|
962
|
+
readonly WINE: "WINE";
|
|
963
|
+
readonly SPIRITS: "SPIRITS";
|
|
964
|
+
readonly COFFEE: "COFFEE";
|
|
965
|
+
readonly TEA: "TEA";
|
|
966
|
+
readonly OTHER: "OTHER";
|
|
967
|
+
readonly SODA: "SODA";
|
|
968
|
+
readonly ALCOHOLIC: "ALCOHOLIC";
|
|
969
|
+
readonly NON_ALCOHOLIC: "NON_ALCOHOLIC";
|
|
970
|
+
}>, "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC", unknown>;
|
|
971
|
+
volume: z.ZodNumber;
|
|
972
|
+
alcoholPercentage: z.ZodNullable<z.ZodNumber>;
|
|
973
|
+
isCarbonated: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
|
|
974
|
+
tempriture: z.ZodEffects<z.ZodNativeEnum<{
|
|
975
|
+
readonly COLD: "COLD";
|
|
976
|
+
readonly ROOM: "ROOM";
|
|
977
|
+
readonly HOT: "HOT";
|
|
978
|
+
}>, "HOT" | "COLD" | "ROOM", unknown>;
|
|
979
|
+
}>, "strip", z.ZodTypeAny, {
|
|
980
|
+
id: number;
|
|
981
|
+
name: string;
|
|
982
|
+
price: number;
|
|
983
|
+
popularityScore: number;
|
|
984
|
+
ingredients: string[];
|
|
985
|
+
isAvailable: boolean;
|
|
986
|
+
category: "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC";
|
|
987
|
+
volume: number;
|
|
988
|
+
alcoholPercentage: number | null;
|
|
989
|
+
isCarbonated: boolean;
|
|
990
|
+
tempriture: "HOT" | "COLD" | "ROOM";
|
|
991
|
+
description: string;
|
|
992
|
+
image: string | null;
|
|
993
|
+
}, {
|
|
994
|
+
id: number;
|
|
995
|
+
name: string;
|
|
996
|
+
price: number;
|
|
997
|
+
volume: number;
|
|
998
|
+
alcoholPercentage: number | null;
|
|
999
|
+
description: string;
|
|
1000
|
+
popularityScore?: number | undefined;
|
|
1001
|
+
ingredients?: unknown;
|
|
1002
|
+
isAvailable?: boolean | undefined;
|
|
1003
|
+
category?: unknown;
|
|
1004
|
+
isCarbonated?: unknown;
|
|
1005
|
+
tempriture?: unknown;
|
|
1006
|
+
image?: string | null | undefined;
|
|
1007
|
+
}>, "many">;
|
|
1008
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1009
|
+
page: number;
|
|
1010
|
+
pageSize: number;
|
|
1011
|
+
totalPages: number;
|
|
1012
|
+
totalCount: number;
|
|
1013
|
+
items: {
|
|
1014
|
+
id: number;
|
|
1015
|
+
name: string;
|
|
1016
|
+
price: number;
|
|
1017
|
+
popularityScore: number;
|
|
1018
|
+
ingredients: string[];
|
|
1019
|
+
isAvailable: boolean;
|
|
1020
|
+
category: "OTHER" | "BEER" | "WINE" | "SPIRITS" | "COFFEE" | "TEA" | "SODA" | "ALCOHOLIC" | "NON_ALCOHOLIC";
|
|
1021
|
+
volume: number;
|
|
1022
|
+
alcoholPercentage: number | null;
|
|
1023
|
+
isCarbonated: boolean;
|
|
1024
|
+
tempriture: "HOT" | "COLD" | "ROOM";
|
|
1025
|
+
description: string;
|
|
1026
|
+
image: string | null;
|
|
1027
|
+
}[];
|
|
1028
|
+
}, {
|
|
1029
|
+
totalPages: number;
|
|
1030
|
+
totalCount: number;
|
|
1031
|
+
items: {
|
|
1032
|
+
id: number;
|
|
1033
|
+
name: string;
|
|
1034
|
+
price: number;
|
|
1035
|
+
volume: number;
|
|
1036
|
+
alcoholPercentage: number | null;
|
|
1037
|
+
description: string;
|
|
1038
|
+
popularityScore?: number | undefined;
|
|
1039
|
+
ingredients?: unknown;
|
|
1040
|
+
isAvailable?: boolean | undefined;
|
|
1041
|
+
category?: unknown;
|
|
1042
|
+
isCarbonated?: unknown;
|
|
1043
|
+
tempriture?: unknown;
|
|
1044
|
+
image?: string | null | undefined;
|
|
1045
|
+
}[];
|
|
1046
|
+
page?: number | undefined;
|
|
1047
|
+
pageSize?: number | undefined;
|
|
1048
|
+
}>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Type representing the list of drink items.
|
|
1051
|
+
*
|
|
1052
|
+
* This type is inferred from the `drinkItemsListSchema` using Zod.
|
|
1053
|
+
*
|
|
1054
|
+
* @type {DrinkItemsListDTO}
|
|
1055
|
+
*/
|
|
1056
|
+
export type DrinkItemsListDTO = z.infer<typeof drinkItemsListSchema>;
|
|
1057
|
+
//# sourceMappingURL=items.dto.d.ts.map
|