@tripsam/main 2.0.18 → 2.0.19
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/index.cjs +9 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -232,12 +232,21 @@ var safariDetails = import_zod6.default.object({
|
|
|
232
232
|
slots: import_zod6.default.array(safariSlot),
|
|
233
233
|
rate: decimalish,
|
|
234
234
|
discount: decimalish,
|
|
235
|
+
rating: import_zod6.default.coerce.number().min(0).max(5).default(0),
|
|
236
|
+
reviewCount: import_zod6.default.coerce.number().int().min(0).default(0),
|
|
235
237
|
operationalDays: import_zod6.default.array(import_zod6.default.number().int().min(0).max(6)),
|
|
236
238
|
location: location2,
|
|
237
239
|
pickupLocation: import_zod6.default.string(),
|
|
238
240
|
safariLocation: import_zod6.default.string(),
|
|
239
241
|
pickupPoints: import_zod6.default.array(pickupPoint),
|
|
240
242
|
safariType: import_zod6.default.array(import_zod6.default.string()),
|
|
243
|
+
reviews: import_zod6.default.array(import_zod6.default.object({
|
|
244
|
+
id: import_zod6.default.string(),
|
|
245
|
+
rating: import_zod6.default.coerce.number().min(1).max(5),
|
|
246
|
+
review: import_zod6.default.string().default(""),
|
|
247
|
+
author: import_zod6.default.string().default("Guest"),
|
|
248
|
+
date: import_zod6.default.string()
|
|
249
|
+
})).default([]),
|
|
241
250
|
description: import_zod6.default.string().optional()
|
|
242
251
|
});
|
|
243
252
|
|
package/dist/index.d.cts
CHANGED
|
@@ -238,6 +238,8 @@ declare const safariDetails: z$1.ZodObject<{
|
|
|
238
238
|
}, {
|
|
239
239
|
toString(): string;
|
|
240
240
|
}>]>;
|
|
241
|
+
rating: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
242
|
+
reviewCount: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
241
243
|
operationalDays: z$1.ZodArray<z$1.ZodNumber>;
|
|
242
244
|
location: z$1.ZodObject<{
|
|
243
245
|
id: z$1.ZodString;
|
|
@@ -282,6 +284,13 @@ declare const safariDetails: z$1.ZodObject<{
|
|
|
282
284
|
}>]>;
|
|
283
285
|
}, z$1.core.$strip>>;
|
|
284
286
|
safariType: z$1.ZodArray<z$1.ZodString>;
|
|
287
|
+
reviews: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
288
|
+
id: z$1.ZodString;
|
|
289
|
+
rating: z$1.ZodCoercedNumber<unknown>;
|
|
290
|
+
review: z$1.ZodDefault<z$1.ZodString>;
|
|
291
|
+
author: z$1.ZodDefault<z$1.ZodString>;
|
|
292
|
+
date: z$1.ZodString;
|
|
293
|
+
}, z$1.core.$strip>>>;
|
|
285
294
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
286
295
|
}, z$1.core.$strip>;
|
|
287
296
|
type SafariDetails = z$1.infer<typeof safariDetails>;
|
package/dist/index.d.ts
CHANGED
|
@@ -238,6 +238,8 @@ declare const safariDetails: z$1.ZodObject<{
|
|
|
238
238
|
}, {
|
|
239
239
|
toString(): string;
|
|
240
240
|
}>]>;
|
|
241
|
+
rating: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
242
|
+
reviewCount: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
241
243
|
operationalDays: z$1.ZodArray<z$1.ZodNumber>;
|
|
242
244
|
location: z$1.ZodObject<{
|
|
243
245
|
id: z$1.ZodString;
|
|
@@ -282,6 +284,13 @@ declare const safariDetails: z$1.ZodObject<{
|
|
|
282
284
|
}>]>;
|
|
283
285
|
}, z$1.core.$strip>>;
|
|
284
286
|
safariType: z$1.ZodArray<z$1.ZodString>;
|
|
287
|
+
reviews: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
288
|
+
id: z$1.ZodString;
|
|
289
|
+
rating: z$1.ZodCoercedNumber<unknown>;
|
|
290
|
+
review: z$1.ZodDefault<z$1.ZodString>;
|
|
291
|
+
author: z$1.ZodDefault<z$1.ZodString>;
|
|
292
|
+
date: z$1.ZodString;
|
|
293
|
+
}, z$1.core.$strip>>>;
|
|
285
294
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
286
295
|
}, z$1.core.$strip>;
|
|
287
296
|
type SafariDetails = z$1.infer<typeof safariDetails>;
|
package/dist/index.js
CHANGED
|
@@ -196,12 +196,21 @@ var safariDetails = z6.object({
|
|
|
196
196
|
slots: z6.array(safariSlot),
|
|
197
197
|
rate: decimalish,
|
|
198
198
|
discount: decimalish,
|
|
199
|
+
rating: z6.coerce.number().min(0).max(5).default(0),
|
|
200
|
+
reviewCount: z6.coerce.number().int().min(0).default(0),
|
|
199
201
|
operationalDays: z6.array(z6.number().int().min(0).max(6)),
|
|
200
202
|
location: location2,
|
|
201
203
|
pickupLocation: z6.string(),
|
|
202
204
|
safariLocation: z6.string(),
|
|
203
205
|
pickupPoints: z6.array(pickupPoint),
|
|
204
206
|
safariType: z6.array(z6.string()),
|
|
207
|
+
reviews: z6.array(z6.object({
|
|
208
|
+
id: z6.string(),
|
|
209
|
+
rating: z6.coerce.number().min(1).max(5),
|
|
210
|
+
review: z6.string().default(""),
|
|
211
|
+
author: z6.string().default("Guest"),
|
|
212
|
+
date: z6.string()
|
|
213
|
+
})).default([]),
|
|
205
214
|
description: z6.string().optional()
|
|
206
215
|
});
|
|
207
216
|
|