order3000 0.22.0 → 0.24.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/client.d.cts +46 -16
- package/dist/client.d.mts +46 -16
- package/dist/schemas.cjs +5 -5
- package/dist/schemas.d.cts +163 -45
- package/dist/schemas.d.mts +163 -45
- package/dist/schemas.mjs +5 -5
- package/package.json +3 -3
package/dist/client.d.cts
CHANGED
|
@@ -227,7 +227,7 @@ interface components {
|
|
|
227
227
|
};
|
|
228
228
|
/**
|
|
229
229
|
* FeatureImage
|
|
230
|
-
* @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises).
|
|
230
|
+
* @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises). `captionByLocale` / `altByLocale` expose the raw per-locale records for editor surfaces.
|
|
231
231
|
*/
|
|
232
232
|
FeatureImage: {
|
|
233
233
|
id: string;
|
|
@@ -239,6 +239,12 @@ interface components {
|
|
|
239
239
|
alt: {
|
|
240
240
|
[key: string]: unknown;
|
|
241
241
|
} | null;
|
|
242
|
+
captionByLocale: {
|
|
243
|
+
[key: string]: unknown;
|
|
244
|
+
};
|
|
245
|
+
altByLocale: {
|
|
246
|
+
[key: string]: unknown;
|
|
247
|
+
};
|
|
242
248
|
};
|
|
243
249
|
/**
|
|
244
250
|
* Article
|
|
@@ -249,14 +255,20 @@ interface components {
|
|
|
249
255
|
venueId: string;
|
|
250
256
|
accessor: string;
|
|
251
257
|
slug: {
|
|
252
|
-
[key: string]:
|
|
258
|
+
[key: string]: {
|
|
259
|
+
[key: string]: unknown;
|
|
260
|
+
};
|
|
253
261
|
};
|
|
254
262
|
title: {
|
|
255
|
-
[key: string]:
|
|
263
|
+
[key: string]: {
|
|
264
|
+
[key: string]: unknown;
|
|
265
|
+
};
|
|
256
266
|
};
|
|
257
267
|
excerpt: {
|
|
258
|
-
[key: string]:
|
|
259
|
-
|
|
268
|
+
[key: string]: {
|
|
269
|
+
[key: string]: unknown;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
260
272
|
content: {
|
|
261
273
|
[key: string]: unknown;
|
|
262
274
|
} | null;
|
|
@@ -280,14 +292,20 @@ interface components {
|
|
|
280
292
|
venueId: string;
|
|
281
293
|
accessor: string;
|
|
282
294
|
slug: {
|
|
283
|
-
[key: string]:
|
|
295
|
+
[key: string]: {
|
|
296
|
+
[key: string]: unknown;
|
|
297
|
+
};
|
|
284
298
|
};
|
|
285
299
|
title: {
|
|
286
|
-
[key: string]:
|
|
300
|
+
[key: string]: {
|
|
301
|
+
[key: string]: unknown;
|
|
302
|
+
};
|
|
287
303
|
};
|
|
288
304
|
excerpt: {
|
|
289
|
-
[key: string]:
|
|
290
|
-
|
|
305
|
+
[key: string]: {
|
|
306
|
+
[key: string]: unknown;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
291
309
|
content: {
|
|
292
310
|
[key: string]: unknown;
|
|
293
311
|
} | null;
|
|
@@ -303,13 +321,19 @@ interface components {
|
|
|
303
321
|
/** PatchArticleRequest */
|
|
304
322
|
PatchArticleRequest: {
|
|
305
323
|
slug?: {
|
|
306
|
-
[key: string]: string
|
|
324
|
+
[key: string]: string | {
|
|
325
|
+
[key: string]: unknown;
|
|
326
|
+
};
|
|
307
327
|
};
|
|
308
328
|
title?: {
|
|
309
|
-
[key: string]: string
|
|
329
|
+
[key: string]: string | {
|
|
330
|
+
[key: string]: unknown;
|
|
331
|
+
};
|
|
310
332
|
};
|
|
311
333
|
excerpt?: {
|
|
312
|
-
[key: string]: string
|
|
334
|
+
[key: string]: string | {
|
|
335
|
+
[key: string]: unknown;
|
|
336
|
+
};
|
|
313
337
|
};
|
|
314
338
|
content?: {
|
|
315
339
|
[key: string]: unknown;
|
|
@@ -328,14 +352,20 @@ interface components {
|
|
|
328
352
|
venueId: string;
|
|
329
353
|
accessor: string;
|
|
330
354
|
slug: {
|
|
331
|
-
[key: string]:
|
|
355
|
+
[key: string]: {
|
|
356
|
+
[key: string]: unknown;
|
|
357
|
+
};
|
|
332
358
|
};
|
|
333
359
|
title: {
|
|
334
|
-
[key: string]:
|
|
360
|
+
[key: string]: {
|
|
361
|
+
[key: string]: unknown;
|
|
362
|
+
};
|
|
335
363
|
};
|
|
336
364
|
excerpt: {
|
|
337
|
-
[key: string]:
|
|
338
|
-
|
|
365
|
+
[key: string]: {
|
|
366
|
+
[key: string]: unknown;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
339
369
|
content: {
|
|
340
370
|
[key: string]: unknown;
|
|
341
371
|
} | null;
|
package/dist/client.d.mts
CHANGED
|
@@ -227,7 +227,7 @@ interface components {
|
|
|
227
227
|
};
|
|
228
228
|
/**
|
|
229
229
|
* FeatureImage
|
|
230
|
-
* @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises).
|
|
230
|
+
* @description An article's resolved feature image. `caption` / `alt` are per-locale TipTap docs (PATCH accepts plain strings — server normalises). `captionByLocale` / `altByLocale` expose the raw per-locale records for editor surfaces.
|
|
231
231
|
*/
|
|
232
232
|
FeatureImage: {
|
|
233
233
|
id: string;
|
|
@@ -239,6 +239,12 @@ interface components {
|
|
|
239
239
|
alt: {
|
|
240
240
|
[key: string]: unknown;
|
|
241
241
|
} | null;
|
|
242
|
+
captionByLocale: {
|
|
243
|
+
[key: string]: unknown;
|
|
244
|
+
};
|
|
245
|
+
altByLocale: {
|
|
246
|
+
[key: string]: unknown;
|
|
247
|
+
};
|
|
242
248
|
};
|
|
243
249
|
/**
|
|
244
250
|
* Article
|
|
@@ -249,14 +255,20 @@ interface components {
|
|
|
249
255
|
venueId: string;
|
|
250
256
|
accessor: string;
|
|
251
257
|
slug: {
|
|
252
|
-
[key: string]:
|
|
258
|
+
[key: string]: {
|
|
259
|
+
[key: string]: unknown;
|
|
260
|
+
};
|
|
253
261
|
};
|
|
254
262
|
title: {
|
|
255
|
-
[key: string]:
|
|
263
|
+
[key: string]: {
|
|
264
|
+
[key: string]: unknown;
|
|
265
|
+
};
|
|
256
266
|
};
|
|
257
267
|
excerpt: {
|
|
258
|
-
[key: string]:
|
|
259
|
-
|
|
268
|
+
[key: string]: {
|
|
269
|
+
[key: string]: unknown;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
260
272
|
content: {
|
|
261
273
|
[key: string]: unknown;
|
|
262
274
|
} | null;
|
|
@@ -280,14 +292,20 @@ interface components {
|
|
|
280
292
|
venueId: string;
|
|
281
293
|
accessor: string;
|
|
282
294
|
slug: {
|
|
283
|
-
[key: string]:
|
|
295
|
+
[key: string]: {
|
|
296
|
+
[key: string]: unknown;
|
|
297
|
+
};
|
|
284
298
|
};
|
|
285
299
|
title: {
|
|
286
|
-
[key: string]:
|
|
300
|
+
[key: string]: {
|
|
301
|
+
[key: string]: unknown;
|
|
302
|
+
};
|
|
287
303
|
};
|
|
288
304
|
excerpt: {
|
|
289
|
-
[key: string]:
|
|
290
|
-
|
|
305
|
+
[key: string]: {
|
|
306
|
+
[key: string]: unknown;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
291
309
|
content: {
|
|
292
310
|
[key: string]: unknown;
|
|
293
311
|
} | null;
|
|
@@ -303,13 +321,19 @@ interface components {
|
|
|
303
321
|
/** PatchArticleRequest */
|
|
304
322
|
PatchArticleRequest: {
|
|
305
323
|
slug?: {
|
|
306
|
-
[key: string]: string
|
|
324
|
+
[key: string]: string | {
|
|
325
|
+
[key: string]: unknown;
|
|
326
|
+
};
|
|
307
327
|
};
|
|
308
328
|
title?: {
|
|
309
|
-
[key: string]: string
|
|
329
|
+
[key: string]: string | {
|
|
330
|
+
[key: string]: unknown;
|
|
331
|
+
};
|
|
310
332
|
};
|
|
311
333
|
excerpt?: {
|
|
312
|
-
[key: string]: string
|
|
334
|
+
[key: string]: string | {
|
|
335
|
+
[key: string]: unknown;
|
|
336
|
+
};
|
|
313
337
|
};
|
|
314
338
|
content?: {
|
|
315
339
|
[key: string]: unknown;
|
|
@@ -328,14 +352,20 @@ interface components {
|
|
|
328
352
|
venueId: string;
|
|
329
353
|
accessor: string;
|
|
330
354
|
slug: {
|
|
331
|
-
[key: string]:
|
|
355
|
+
[key: string]: {
|
|
356
|
+
[key: string]: unknown;
|
|
357
|
+
};
|
|
332
358
|
};
|
|
333
359
|
title: {
|
|
334
|
-
[key: string]:
|
|
360
|
+
[key: string]: {
|
|
361
|
+
[key: string]: unknown;
|
|
362
|
+
};
|
|
335
363
|
};
|
|
336
364
|
excerpt: {
|
|
337
|
-
[key: string]:
|
|
338
|
-
|
|
365
|
+
[key: string]: {
|
|
366
|
+
[key: string]: unknown;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
339
369
|
content: {
|
|
340
370
|
[key: string]: unknown;
|
|
341
371
|
} | null;
|
package/dist/schemas.cjs
CHANGED
|
@@ -9,12 +9,12 @@ const GetAreaAvailabilityResponse = zod.z.object({ from: zod.z.string().regex(/^
|
|
|
9
9
|
const SubmitAreaBookingRequest = zod.z.object({ requestedDate: zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), requestedEndTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), partySize: zod.z.number().int().lte(9007199254740991), customerFirstName: zod.z.string().min(1), customerLastName: zod.z.string().min(1), customerEmail: zod.z.string().regex(/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/).email(), customerPhone: zod.z.string().optional(), message: zod.z.string().optional(), source: zod.z.enum(["website", "phone", "walk_in"]).optional() }).strict();
|
|
10
10
|
const SubmitAreaBookingResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), areaId: zod.z.string(), requestedDate: zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), requestedEndTime: zod.z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), partySize: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991), customerFirstName: zod.z.string(), customerLastName: zod.z.string(), customerEmail: zod.z.string(), customerPhone: zod.z.string().nullable(), message: zod.z.string().nullable(), source: zod.z.enum(["website", "phone", "walk_in"]), status: zod.z.enum(["pending", "approved", "rejected", "cancelled"]), areaBookingId: zod.z.string().nullable(), createdAt: zod.z.string().nullable(), updatedAt: zod.z.string().nullable() }).strict();
|
|
11
11
|
const includeDrafts = zod.z.union([zod.z.literal("true"), zod.z.literal("false")]).optional();
|
|
12
|
-
const FeatureImage = zod.z.object({ id: zod.z.string(), publicUrl: zod.z.string().nullable(), locale: zod.z.string(), caption: zod.z.object({}).partial().strict().passthrough().nullable(), alt: zod.z.object({}).partial().strict().passthrough().nullable() }).strict();
|
|
13
|
-
const Article = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.
|
|
12
|
+
const FeatureImage = zod.z.object({ id: zod.z.string(), publicUrl: zod.z.string().nullable(), locale: zod.z.string(), caption: zod.z.object({}).partial().strict().passthrough().nullable(), alt: zod.z.object({}).partial().strict().passthrough().nullable(), captionByLocale: zod.z.object({}).partial().strict().passthrough(), altByLocale: zod.z.object({}).partial().strict().passthrough() }).strict();
|
|
13
|
+
const Article = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.object({}).partial().strict().passthrough()), title: zod.z.record(zod.z.object({}).partial().strict().passthrough()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
|
|
14
14
|
const ListArticlesResponse = zod.z.array(Article);
|
|
15
|
-
const GetArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.
|
|
16
|
-
const PatchArticleRequest = zod.z.object({ slug: zod.z.record(zod.z.string()), title: zod.z.record(zod.z.string()), excerpt: zod.z.record(zod.z.string()), content: zod.z.object({}).partial().strict().passthrough(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
|
|
17
|
-
const PatchArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.
|
|
15
|
+
const GetArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.object({}).partial().strict().passthrough()), title: zod.z.record(zod.z.object({}).partial().strict().passthrough()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
|
|
16
|
+
const PatchArticleRequest = zod.z.object({ slug: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), title: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), excerpt: zod.z.record(zod.z.union([zod.z.string(), zod.z.object({}).partial().strict().passthrough()])), content: zod.z.object({}).partial().strict().passthrough(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
|
|
17
|
+
const PatchArticleResponse = zod.z.object({ id: zod.z.string(), venueId: zod.z.string(), accessor: zod.z.string(), slug: zod.z.record(zod.z.object({}).partial().strict().passthrough()), title: zod.z.record(zod.z.object({}).partial().strict().passthrough()), excerpt: zod.z.record(zod.z.object({}).partial().strict().passthrough()), content: zod.z.object({}).partial().strict().passthrough().nullable(), tags: zod.z.array(zod.z.string()), isActive: zod.z.boolean(), isFeatured: zod.z.boolean(), priority: zod.z.number().int().gte(-2147483648).lte(2147483647), publishedAt: zod.z.unknown().nullable(), createdAt: zod.z.unknown().nullable(), updatedAt: zod.z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
|
|
18
18
|
const UploadFeatureImageRequest = zod.z.object({ file: zod.z.unknown() }).strict();
|
|
19
19
|
const PatchFeatureImageRequest = zod.z.object({ caption: zod.z.object({}).partial().strict().passthrough(), alt: zod.z.object({}).partial().strict().passthrough() }).partial().strict();
|
|
20
20
|
const AddToBasketRequest = zod.z.object({ venueId: zod.z.string().regex(/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/).uuid(), sessionId: zod.z.string().min(1), menuItems: zod.z.array(zod.z.object({ menuItemId: zod.z.string().min(1), role: zod.z.string().optional(), quantity: zod.z.number().gt(0).optional(), unit: zod.z.enum(["grams", "kilograms", "liters", "milliliters", "pieces"]).optional() }).strict()).min(1), metadata: zod.z.object({}).partial().strict().passthrough().optional() }).strict();
|
package/dist/schemas.d.cts
CHANGED
|
@@ -656,26 +656,40 @@ declare const schemas: {
|
|
|
656
656
|
locale: z.ZodString;
|
|
657
657
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
658
658
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
659
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
660
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
659
661
|
}, "strict", z.ZodTypeAny, {
|
|
660
662
|
id: string;
|
|
661
663
|
publicUrl: string | null;
|
|
662
664
|
locale: string;
|
|
663
665
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
664
666
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
667
|
+
captionByLocale: {} & {
|
|
668
|
+
[k: string]: unknown;
|
|
669
|
+
};
|
|
670
|
+
altByLocale: {} & {
|
|
671
|
+
[k: string]: unknown;
|
|
672
|
+
};
|
|
665
673
|
}, {
|
|
666
674
|
id: string;
|
|
667
675
|
publicUrl: string | null;
|
|
668
676
|
locale: string;
|
|
669
677
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
670
678
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
679
|
+
captionByLocale: {} & {
|
|
680
|
+
[k: string]: unknown;
|
|
681
|
+
};
|
|
682
|
+
altByLocale: {} & {
|
|
683
|
+
[k: string]: unknown;
|
|
684
|
+
};
|
|
671
685
|
}>;
|
|
672
686
|
Article: z.ZodObject<{
|
|
673
687
|
id: z.ZodString;
|
|
674
688
|
venueId: z.ZodString;
|
|
675
689
|
accessor: z.ZodString;
|
|
676
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
677
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
678
|
-
excerpt: z.
|
|
690
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
691
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
692
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
679
693
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
680
694
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
681
695
|
isActive: z.ZodBoolean;
|
|
@@ -690,27 +704,41 @@ declare const schemas: {
|
|
|
690
704
|
locale: z.ZodString;
|
|
691
705
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
692
706
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
707
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
708
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
693
709
|
}, "strict", z.ZodTypeAny, {
|
|
694
710
|
id: string;
|
|
695
711
|
publicUrl: string | null;
|
|
696
712
|
locale: string;
|
|
697
713
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
698
714
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
715
|
+
captionByLocale: {} & {
|
|
716
|
+
[k: string]: unknown;
|
|
717
|
+
};
|
|
718
|
+
altByLocale: {} & {
|
|
719
|
+
[k: string]: unknown;
|
|
720
|
+
};
|
|
699
721
|
}, {
|
|
700
722
|
id: string;
|
|
701
723
|
publicUrl: string | null;
|
|
702
724
|
locale: string;
|
|
703
725
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
704
726
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
727
|
+
captionByLocale: {} & {
|
|
728
|
+
[k: string]: unknown;
|
|
729
|
+
};
|
|
730
|
+
altByLocale: {} & {
|
|
731
|
+
[k: string]: unknown;
|
|
732
|
+
};
|
|
705
733
|
}>>;
|
|
706
734
|
}, "strict", z.ZodTypeAny, {
|
|
707
735
|
id: string;
|
|
708
736
|
venueId: string;
|
|
709
737
|
accessor: string;
|
|
710
738
|
tags: string[];
|
|
711
|
-
slug: Record<string,
|
|
712
|
-
title: Record<string,
|
|
713
|
-
excerpt: Record<string,
|
|
739
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
740
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
741
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
714
742
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
715
743
|
isActive: boolean;
|
|
716
744
|
isFeatured: boolean;
|
|
@@ -721,6 +749,12 @@ declare const schemas: {
|
|
|
721
749
|
locale: string;
|
|
722
750
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
723
751
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
752
|
+
captionByLocale: {} & {
|
|
753
|
+
[k: string]: unknown;
|
|
754
|
+
};
|
|
755
|
+
altByLocale: {} & {
|
|
756
|
+
[k: string]: unknown;
|
|
757
|
+
};
|
|
724
758
|
} | null;
|
|
725
759
|
createdAt?: unknown;
|
|
726
760
|
updatedAt?: unknown;
|
|
@@ -730,9 +764,9 @@ declare const schemas: {
|
|
|
730
764
|
venueId: string;
|
|
731
765
|
accessor: string;
|
|
732
766
|
tags: string[];
|
|
733
|
-
slug: Record<string,
|
|
734
|
-
title: Record<string,
|
|
735
|
-
excerpt: Record<string,
|
|
767
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
768
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
769
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
736
770
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
737
771
|
isActive: boolean;
|
|
738
772
|
isFeatured: boolean;
|
|
@@ -743,6 +777,12 @@ declare const schemas: {
|
|
|
743
777
|
locale: string;
|
|
744
778
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
745
779
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
780
|
+
captionByLocale: {} & {
|
|
781
|
+
[k: string]: unknown;
|
|
782
|
+
};
|
|
783
|
+
altByLocale: {} & {
|
|
784
|
+
[k: string]: unknown;
|
|
785
|
+
};
|
|
746
786
|
} | null;
|
|
747
787
|
createdAt?: unknown;
|
|
748
788
|
updatedAt?: unknown;
|
|
@@ -752,9 +792,9 @@ declare const schemas: {
|
|
|
752
792
|
id: z.ZodString;
|
|
753
793
|
venueId: z.ZodString;
|
|
754
794
|
accessor: z.ZodString;
|
|
755
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
756
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
757
|
-
excerpt: z.
|
|
795
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
796
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
797
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
758
798
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
759
799
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
760
800
|
isActive: z.ZodBoolean;
|
|
@@ -769,27 +809,41 @@ declare const schemas: {
|
|
|
769
809
|
locale: z.ZodString;
|
|
770
810
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
771
811
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
812
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
813
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
772
814
|
}, "strict", z.ZodTypeAny, {
|
|
773
815
|
id: string;
|
|
774
816
|
publicUrl: string | null;
|
|
775
817
|
locale: string;
|
|
776
818
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
777
819
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
820
|
+
captionByLocale: {} & {
|
|
821
|
+
[k: string]: unknown;
|
|
822
|
+
};
|
|
823
|
+
altByLocale: {} & {
|
|
824
|
+
[k: string]: unknown;
|
|
825
|
+
};
|
|
778
826
|
}, {
|
|
779
827
|
id: string;
|
|
780
828
|
publicUrl: string | null;
|
|
781
829
|
locale: string;
|
|
782
830
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
783
831
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
832
|
+
captionByLocale: {} & {
|
|
833
|
+
[k: string]: unknown;
|
|
834
|
+
};
|
|
835
|
+
altByLocale: {} & {
|
|
836
|
+
[k: string]: unknown;
|
|
837
|
+
};
|
|
784
838
|
}>>;
|
|
785
839
|
}, "strict", z.ZodTypeAny, {
|
|
786
840
|
id: string;
|
|
787
841
|
venueId: string;
|
|
788
842
|
accessor: string;
|
|
789
843
|
tags: string[];
|
|
790
|
-
slug: Record<string,
|
|
791
|
-
title: Record<string,
|
|
792
|
-
excerpt: Record<string,
|
|
844
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
845
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
846
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
793
847
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
794
848
|
isActive: boolean;
|
|
795
849
|
isFeatured: boolean;
|
|
@@ -800,6 +854,12 @@ declare const schemas: {
|
|
|
800
854
|
locale: string;
|
|
801
855
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
802
856
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
857
|
+
captionByLocale: {} & {
|
|
858
|
+
[k: string]: unknown;
|
|
859
|
+
};
|
|
860
|
+
altByLocale: {} & {
|
|
861
|
+
[k: string]: unknown;
|
|
862
|
+
};
|
|
803
863
|
} | null;
|
|
804
864
|
createdAt?: unknown;
|
|
805
865
|
updatedAt?: unknown;
|
|
@@ -809,9 +869,9 @@ declare const schemas: {
|
|
|
809
869
|
venueId: string;
|
|
810
870
|
accessor: string;
|
|
811
871
|
tags: string[];
|
|
812
|
-
slug: Record<string,
|
|
813
|
-
title: Record<string,
|
|
814
|
-
excerpt: Record<string,
|
|
872
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
873
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
874
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
815
875
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
816
876
|
isActive: boolean;
|
|
817
877
|
isFeatured: boolean;
|
|
@@ -822,6 +882,12 @@ declare const schemas: {
|
|
|
822
882
|
locale: string;
|
|
823
883
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
824
884
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
885
|
+
captionByLocale: {} & {
|
|
886
|
+
[k: string]: unknown;
|
|
887
|
+
};
|
|
888
|
+
altByLocale: {} & {
|
|
889
|
+
[k: string]: unknown;
|
|
890
|
+
};
|
|
825
891
|
} | null;
|
|
826
892
|
createdAt?: unknown;
|
|
827
893
|
updatedAt?: unknown;
|
|
@@ -831,9 +897,9 @@ declare const schemas: {
|
|
|
831
897
|
id: z.ZodString;
|
|
832
898
|
venueId: z.ZodString;
|
|
833
899
|
accessor: z.ZodString;
|
|
834
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
835
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
836
|
-
excerpt: z.
|
|
900
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
901
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
902
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
837
903
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
838
904
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
839
905
|
isActive: z.ZodBoolean;
|
|
@@ -848,27 +914,41 @@ declare const schemas: {
|
|
|
848
914
|
locale: z.ZodString;
|
|
849
915
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
850
916
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
917
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
918
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
851
919
|
}, "strict", z.ZodTypeAny, {
|
|
852
920
|
id: string;
|
|
853
921
|
publicUrl: string | null;
|
|
854
922
|
locale: string;
|
|
855
923
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
856
924
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
925
|
+
captionByLocale: {} & {
|
|
926
|
+
[k: string]: unknown;
|
|
927
|
+
};
|
|
928
|
+
altByLocale: {} & {
|
|
929
|
+
[k: string]: unknown;
|
|
930
|
+
};
|
|
857
931
|
}, {
|
|
858
932
|
id: string;
|
|
859
933
|
publicUrl: string | null;
|
|
860
934
|
locale: string;
|
|
861
935
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
862
936
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
937
|
+
captionByLocale: {} & {
|
|
938
|
+
[k: string]: unknown;
|
|
939
|
+
};
|
|
940
|
+
altByLocale: {} & {
|
|
941
|
+
[k: string]: unknown;
|
|
942
|
+
};
|
|
863
943
|
}>>;
|
|
864
944
|
}, "strict", z.ZodTypeAny, {
|
|
865
945
|
id: string;
|
|
866
946
|
venueId: string;
|
|
867
947
|
accessor: string;
|
|
868
948
|
tags: string[];
|
|
869
|
-
slug: Record<string,
|
|
870
|
-
title: Record<string,
|
|
871
|
-
excerpt: Record<string,
|
|
949
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
950
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
951
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
872
952
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
873
953
|
isActive: boolean;
|
|
874
954
|
isFeatured: boolean;
|
|
@@ -879,6 +959,12 @@ declare const schemas: {
|
|
|
879
959
|
locale: string;
|
|
880
960
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
881
961
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
962
|
+
captionByLocale: {} & {
|
|
963
|
+
[k: string]: unknown;
|
|
964
|
+
};
|
|
965
|
+
altByLocale: {} & {
|
|
966
|
+
[k: string]: unknown;
|
|
967
|
+
};
|
|
882
968
|
} | null;
|
|
883
969
|
createdAt?: unknown;
|
|
884
970
|
updatedAt?: unknown;
|
|
@@ -888,9 +974,9 @@ declare const schemas: {
|
|
|
888
974
|
venueId: string;
|
|
889
975
|
accessor: string;
|
|
890
976
|
tags: string[];
|
|
891
|
-
slug: Record<string,
|
|
892
|
-
title: Record<string,
|
|
893
|
-
excerpt: Record<string,
|
|
977
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
978
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
979
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
894
980
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
895
981
|
isActive: boolean;
|
|
896
982
|
isFeatured: boolean;
|
|
@@ -901,15 +987,21 @@ declare const schemas: {
|
|
|
901
987
|
locale: string;
|
|
902
988
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
903
989
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
990
|
+
captionByLocale: {} & {
|
|
991
|
+
[k: string]: unknown;
|
|
992
|
+
};
|
|
993
|
+
altByLocale: {} & {
|
|
994
|
+
[k: string]: unknown;
|
|
995
|
+
};
|
|
904
996
|
} | null;
|
|
905
997
|
createdAt?: unknown;
|
|
906
998
|
updatedAt?: unknown;
|
|
907
999
|
publishedAt?: unknown;
|
|
908
1000
|
}>;
|
|
909
1001
|
PatchArticleRequest: z.ZodObject<{
|
|
910
|
-
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
911
|
-
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
912
|
-
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
1002
|
+
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1003
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1004
|
+
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
913
1005
|
content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
914
1006
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
915
1007
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -917,18 +1009,18 @@ declare const schemas: {
|
|
|
917
1009
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
918
1010
|
}, "strict", z.ZodTypeAny, {
|
|
919
1011
|
tags?: string[] | undefined;
|
|
920
|
-
slug?: Record<string, string
|
|
921
|
-
title?: Record<string, string
|
|
922
|
-
excerpt?: Record<string, string
|
|
1012
|
+
slug?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1013
|
+
title?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1014
|
+
excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
923
1015
|
content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
924
1016
|
isActive?: boolean | undefined;
|
|
925
1017
|
isFeatured?: boolean | undefined;
|
|
926
1018
|
priority?: number | undefined;
|
|
927
1019
|
}, {
|
|
928
1020
|
tags?: string[] | undefined;
|
|
929
|
-
slug?: Record<string, string
|
|
930
|
-
title?: Record<string, string
|
|
931
|
-
excerpt?: Record<string, string
|
|
1021
|
+
slug?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1022
|
+
title?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1023
|
+
excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
932
1024
|
content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
933
1025
|
isActive?: boolean | undefined;
|
|
934
1026
|
isFeatured?: boolean | undefined;
|
|
@@ -938,9 +1030,9 @@ declare const schemas: {
|
|
|
938
1030
|
id: z.ZodString;
|
|
939
1031
|
venueId: z.ZodString;
|
|
940
1032
|
accessor: z.ZodString;
|
|
941
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
942
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
943
|
-
excerpt: z.
|
|
1033
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1034
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1035
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
944
1036
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
945
1037
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
946
1038
|
isActive: z.ZodBoolean;
|
|
@@ -955,27 +1047,41 @@ declare const schemas: {
|
|
|
955
1047
|
locale: z.ZodString;
|
|
956
1048
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
957
1049
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1050
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1051
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
958
1052
|
}, "strict", z.ZodTypeAny, {
|
|
959
1053
|
id: string;
|
|
960
1054
|
publicUrl: string | null;
|
|
961
1055
|
locale: string;
|
|
962
1056
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
963
1057
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1058
|
+
captionByLocale: {} & {
|
|
1059
|
+
[k: string]: unknown;
|
|
1060
|
+
};
|
|
1061
|
+
altByLocale: {} & {
|
|
1062
|
+
[k: string]: unknown;
|
|
1063
|
+
};
|
|
964
1064
|
}, {
|
|
965
1065
|
id: string;
|
|
966
1066
|
publicUrl: string | null;
|
|
967
1067
|
locale: string;
|
|
968
1068
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
969
1069
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1070
|
+
captionByLocale: {} & {
|
|
1071
|
+
[k: string]: unknown;
|
|
1072
|
+
};
|
|
1073
|
+
altByLocale: {} & {
|
|
1074
|
+
[k: string]: unknown;
|
|
1075
|
+
};
|
|
970
1076
|
}>>;
|
|
971
1077
|
}, "strict", z.ZodTypeAny, {
|
|
972
1078
|
id: string;
|
|
973
1079
|
venueId: string;
|
|
974
1080
|
accessor: string;
|
|
975
1081
|
tags: string[];
|
|
976
|
-
slug: Record<string,
|
|
977
|
-
title: Record<string,
|
|
978
|
-
excerpt: Record<string,
|
|
1082
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1083
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1084
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
979
1085
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
980
1086
|
isActive: boolean;
|
|
981
1087
|
isFeatured: boolean;
|
|
@@ -986,6 +1092,12 @@ declare const schemas: {
|
|
|
986
1092
|
locale: string;
|
|
987
1093
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
988
1094
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1095
|
+
captionByLocale: {} & {
|
|
1096
|
+
[k: string]: unknown;
|
|
1097
|
+
};
|
|
1098
|
+
altByLocale: {} & {
|
|
1099
|
+
[k: string]: unknown;
|
|
1100
|
+
};
|
|
989
1101
|
} | null;
|
|
990
1102
|
createdAt?: unknown;
|
|
991
1103
|
updatedAt?: unknown;
|
|
@@ -995,9 +1107,9 @@ declare const schemas: {
|
|
|
995
1107
|
venueId: string;
|
|
996
1108
|
accessor: string;
|
|
997
1109
|
tags: string[];
|
|
998
|
-
slug: Record<string,
|
|
999
|
-
title: Record<string,
|
|
1000
|
-
excerpt: Record<string,
|
|
1110
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1111
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1112
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1001
1113
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1002
1114
|
isActive: boolean;
|
|
1003
1115
|
isFeatured: boolean;
|
|
@@ -1008,6 +1120,12 @@ declare const schemas: {
|
|
|
1008
1120
|
locale: string;
|
|
1009
1121
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1010
1122
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1123
|
+
captionByLocale: {} & {
|
|
1124
|
+
[k: string]: unknown;
|
|
1125
|
+
};
|
|
1126
|
+
altByLocale: {} & {
|
|
1127
|
+
[k: string]: unknown;
|
|
1128
|
+
};
|
|
1011
1129
|
} | null;
|
|
1012
1130
|
createdAt?: unknown;
|
|
1013
1131
|
updatedAt?: unknown;
|
package/dist/schemas.d.mts
CHANGED
|
@@ -656,26 +656,40 @@ declare const schemas: {
|
|
|
656
656
|
locale: z.ZodString;
|
|
657
657
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
658
658
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
659
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
660
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
659
661
|
}, "strict", z.ZodTypeAny, {
|
|
660
662
|
id: string;
|
|
661
663
|
publicUrl: string | null;
|
|
662
664
|
locale: string;
|
|
663
665
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
664
666
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
667
|
+
captionByLocale: {} & {
|
|
668
|
+
[k: string]: unknown;
|
|
669
|
+
};
|
|
670
|
+
altByLocale: {} & {
|
|
671
|
+
[k: string]: unknown;
|
|
672
|
+
};
|
|
665
673
|
}, {
|
|
666
674
|
id: string;
|
|
667
675
|
publicUrl: string | null;
|
|
668
676
|
locale: string;
|
|
669
677
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
670
678
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
679
|
+
captionByLocale: {} & {
|
|
680
|
+
[k: string]: unknown;
|
|
681
|
+
};
|
|
682
|
+
altByLocale: {} & {
|
|
683
|
+
[k: string]: unknown;
|
|
684
|
+
};
|
|
671
685
|
}>;
|
|
672
686
|
Article: z.ZodObject<{
|
|
673
687
|
id: z.ZodString;
|
|
674
688
|
venueId: z.ZodString;
|
|
675
689
|
accessor: z.ZodString;
|
|
676
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
677
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
678
|
-
excerpt: z.
|
|
690
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
691
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
692
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
679
693
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
680
694
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
681
695
|
isActive: z.ZodBoolean;
|
|
@@ -690,27 +704,41 @@ declare const schemas: {
|
|
|
690
704
|
locale: z.ZodString;
|
|
691
705
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
692
706
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
707
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
708
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
693
709
|
}, "strict", z.ZodTypeAny, {
|
|
694
710
|
id: string;
|
|
695
711
|
publicUrl: string | null;
|
|
696
712
|
locale: string;
|
|
697
713
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
698
714
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
715
|
+
captionByLocale: {} & {
|
|
716
|
+
[k: string]: unknown;
|
|
717
|
+
};
|
|
718
|
+
altByLocale: {} & {
|
|
719
|
+
[k: string]: unknown;
|
|
720
|
+
};
|
|
699
721
|
}, {
|
|
700
722
|
id: string;
|
|
701
723
|
publicUrl: string | null;
|
|
702
724
|
locale: string;
|
|
703
725
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
704
726
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
727
|
+
captionByLocale: {} & {
|
|
728
|
+
[k: string]: unknown;
|
|
729
|
+
};
|
|
730
|
+
altByLocale: {} & {
|
|
731
|
+
[k: string]: unknown;
|
|
732
|
+
};
|
|
705
733
|
}>>;
|
|
706
734
|
}, "strict", z.ZodTypeAny, {
|
|
707
735
|
id: string;
|
|
708
736
|
venueId: string;
|
|
709
737
|
accessor: string;
|
|
710
738
|
tags: string[];
|
|
711
|
-
slug: Record<string,
|
|
712
|
-
title: Record<string,
|
|
713
|
-
excerpt: Record<string,
|
|
739
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
740
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
741
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
714
742
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
715
743
|
isActive: boolean;
|
|
716
744
|
isFeatured: boolean;
|
|
@@ -721,6 +749,12 @@ declare const schemas: {
|
|
|
721
749
|
locale: string;
|
|
722
750
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
723
751
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
752
|
+
captionByLocale: {} & {
|
|
753
|
+
[k: string]: unknown;
|
|
754
|
+
};
|
|
755
|
+
altByLocale: {} & {
|
|
756
|
+
[k: string]: unknown;
|
|
757
|
+
};
|
|
724
758
|
} | null;
|
|
725
759
|
createdAt?: unknown;
|
|
726
760
|
updatedAt?: unknown;
|
|
@@ -730,9 +764,9 @@ declare const schemas: {
|
|
|
730
764
|
venueId: string;
|
|
731
765
|
accessor: string;
|
|
732
766
|
tags: string[];
|
|
733
|
-
slug: Record<string,
|
|
734
|
-
title: Record<string,
|
|
735
|
-
excerpt: Record<string,
|
|
767
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
768
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
769
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
736
770
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
737
771
|
isActive: boolean;
|
|
738
772
|
isFeatured: boolean;
|
|
@@ -743,6 +777,12 @@ declare const schemas: {
|
|
|
743
777
|
locale: string;
|
|
744
778
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
745
779
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
780
|
+
captionByLocale: {} & {
|
|
781
|
+
[k: string]: unknown;
|
|
782
|
+
};
|
|
783
|
+
altByLocale: {} & {
|
|
784
|
+
[k: string]: unknown;
|
|
785
|
+
};
|
|
746
786
|
} | null;
|
|
747
787
|
createdAt?: unknown;
|
|
748
788
|
updatedAt?: unknown;
|
|
@@ -752,9 +792,9 @@ declare const schemas: {
|
|
|
752
792
|
id: z.ZodString;
|
|
753
793
|
venueId: z.ZodString;
|
|
754
794
|
accessor: z.ZodString;
|
|
755
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
756
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
757
|
-
excerpt: z.
|
|
795
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
796
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
797
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
758
798
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
759
799
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
760
800
|
isActive: z.ZodBoolean;
|
|
@@ -769,27 +809,41 @@ declare const schemas: {
|
|
|
769
809
|
locale: z.ZodString;
|
|
770
810
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
771
811
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
812
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
813
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
772
814
|
}, "strict", z.ZodTypeAny, {
|
|
773
815
|
id: string;
|
|
774
816
|
publicUrl: string | null;
|
|
775
817
|
locale: string;
|
|
776
818
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
777
819
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
820
|
+
captionByLocale: {} & {
|
|
821
|
+
[k: string]: unknown;
|
|
822
|
+
};
|
|
823
|
+
altByLocale: {} & {
|
|
824
|
+
[k: string]: unknown;
|
|
825
|
+
};
|
|
778
826
|
}, {
|
|
779
827
|
id: string;
|
|
780
828
|
publicUrl: string | null;
|
|
781
829
|
locale: string;
|
|
782
830
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
783
831
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
832
|
+
captionByLocale: {} & {
|
|
833
|
+
[k: string]: unknown;
|
|
834
|
+
};
|
|
835
|
+
altByLocale: {} & {
|
|
836
|
+
[k: string]: unknown;
|
|
837
|
+
};
|
|
784
838
|
}>>;
|
|
785
839
|
}, "strict", z.ZodTypeAny, {
|
|
786
840
|
id: string;
|
|
787
841
|
venueId: string;
|
|
788
842
|
accessor: string;
|
|
789
843
|
tags: string[];
|
|
790
|
-
slug: Record<string,
|
|
791
|
-
title: Record<string,
|
|
792
|
-
excerpt: Record<string,
|
|
844
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
845
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
846
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
793
847
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
794
848
|
isActive: boolean;
|
|
795
849
|
isFeatured: boolean;
|
|
@@ -800,6 +854,12 @@ declare const schemas: {
|
|
|
800
854
|
locale: string;
|
|
801
855
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
802
856
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
857
|
+
captionByLocale: {} & {
|
|
858
|
+
[k: string]: unknown;
|
|
859
|
+
};
|
|
860
|
+
altByLocale: {} & {
|
|
861
|
+
[k: string]: unknown;
|
|
862
|
+
};
|
|
803
863
|
} | null;
|
|
804
864
|
createdAt?: unknown;
|
|
805
865
|
updatedAt?: unknown;
|
|
@@ -809,9 +869,9 @@ declare const schemas: {
|
|
|
809
869
|
venueId: string;
|
|
810
870
|
accessor: string;
|
|
811
871
|
tags: string[];
|
|
812
|
-
slug: Record<string,
|
|
813
|
-
title: Record<string,
|
|
814
|
-
excerpt: Record<string,
|
|
872
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
873
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
874
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
815
875
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
816
876
|
isActive: boolean;
|
|
817
877
|
isFeatured: boolean;
|
|
@@ -822,6 +882,12 @@ declare const schemas: {
|
|
|
822
882
|
locale: string;
|
|
823
883
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
824
884
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
885
|
+
captionByLocale: {} & {
|
|
886
|
+
[k: string]: unknown;
|
|
887
|
+
};
|
|
888
|
+
altByLocale: {} & {
|
|
889
|
+
[k: string]: unknown;
|
|
890
|
+
};
|
|
825
891
|
} | null;
|
|
826
892
|
createdAt?: unknown;
|
|
827
893
|
updatedAt?: unknown;
|
|
@@ -831,9 +897,9 @@ declare const schemas: {
|
|
|
831
897
|
id: z.ZodString;
|
|
832
898
|
venueId: z.ZodString;
|
|
833
899
|
accessor: z.ZodString;
|
|
834
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
835
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
836
|
-
excerpt: z.
|
|
900
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
901
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
902
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
837
903
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
838
904
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
839
905
|
isActive: z.ZodBoolean;
|
|
@@ -848,27 +914,41 @@ declare const schemas: {
|
|
|
848
914
|
locale: z.ZodString;
|
|
849
915
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
850
916
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
917
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
918
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
851
919
|
}, "strict", z.ZodTypeAny, {
|
|
852
920
|
id: string;
|
|
853
921
|
publicUrl: string | null;
|
|
854
922
|
locale: string;
|
|
855
923
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
856
924
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
925
|
+
captionByLocale: {} & {
|
|
926
|
+
[k: string]: unknown;
|
|
927
|
+
};
|
|
928
|
+
altByLocale: {} & {
|
|
929
|
+
[k: string]: unknown;
|
|
930
|
+
};
|
|
857
931
|
}, {
|
|
858
932
|
id: string;
|
|
859
933
|
publicUrl: string | null;
|
|
860
934
|
locale: string;
|
|
861
935
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
862
936
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
937
|
+
captionByLocale: {} & {
|
|
938
|
+
[k: string]: unknown;
|
|
939
|
+
};
|
|
940
|
+
altByLocale: {} & {
|
|
941
|
+
[k: string]: unknown;
|
|
942
|
+
};
|
|
863
943
|
}>>;
|
|
864
944
|
}, "strict", z.ZodTypeAny, {
|
|
865
945
|
id: string;
|
|
866
946
|
venueId: string;
|
|
867
947
|
accessor: string;
|
|
868
948
|
tags: string[];
|
|
869
|
-
slug: Record<string,
|
|
870
|
-
title: Record<string,
|
|
871
|
-
excerpt: Record<string,
|
|
949
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
950
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
951
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
872
952
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
873
953
|
isActive: boolean;
|
|
874
954
|
isFeatured: boolean;
|
|
@@ -879,6 +959,12 @@ declare const schemas: {
|
|
|
879
959
|
locale: string;
|
|
880
960
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
881
961
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
962
|
+
captionByLocale: {} & {
|
|
963
|
+
[k: string]: unknown;
|
|
964
|
+
};
|
|
965
|
+
altByLocale: {} & {
|
|
966
|
+
[k: string]: unknown;
|
|
967
|
+
};
|
|
882
968
|
} | null;
|
|
883
969
|
createdAt?: unknown;
|
|
884
970
|
updatedAt?: unknown;
|
|
@@ -888,9 +974,9 @@ declare const schemas: {
|
|
|
888
974
|
venueId: string;
|
|
889
975
|
accessor: string;
|
|
890
976
|
tags: string[];
|
|
891
|
-
slug: Record<string,
|
|
892
|
-
title: Record<string,
|
|
893
|
-
excerpt: Record<string,
|
|
977
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
978
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
979
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
894
980
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
895
981
|
isActive: boolean;
|
|
896
982
|
isFeatured: boolean;
|
|
@@ -901,15 +987,21 @@ declare const schemas: {
|
|
|
901
987
|
locale: string;
|
|
902
988
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
903
989
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
990
|
+
captionByLocale: {} & {
|
|
991
|
+
[k: string]: unknown;
|
|
992
|
+
};
|
|
993
|
+
altByLocale: {} & {
|
|
994
|
+
[k: string]: unknown;
|
|
995
|
+
};
|
|
904
996
|
} | null;
|
|
905
997
|
createdAt?: unknown;
|
|
906
998
|
updatedAt?: unknown;
|
|
907
999
|
publishedAt?: unknown;
|
|
908
1000
|
}>;
|
|
909
1001
|
PatchArticleRequest: z.ZodObject<{
|
|
910
|
-
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
911
|
-
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
912
|
-
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString
|
|
1002
|
+
slug: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1003
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1004
|
+
excerpt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
913
1005
|
content: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
914
1006
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
915
1007
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -917,18 +1009,18 @@ declare const schemas: {
|
|
|
917
1009
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
918
1010
|
}, "strict", z.ZodTypeAny, {
|
|
919
1011
|
tags?: string[] | undefined;
|
|
920
|
-
slug?: Record<string, string
|
|
921
|
-
title?: Record<string, string
|
|
922
|
-
excerpt?: Record<string, string
|
|
1012
|
+
slug?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1013
|
+
title?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1014
|
+
excerpt?: Record<string, string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
923
1015
|
content?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
924
1016
|
isActive?: boolean | undefined;
|
|
925
1017
|
isFeatured?: boolean | undefined;
|
|
926
1018
|
priority?: number | undefined;
|
|
927
1019
|
}, {
|
|
928
1020
|
tags?: string[] | undefined;
|
|
929
|
-
slug?: Record<string, string
|
|
930
|
-
title?: Record<string, string
|
|
931
|
-
excerpt?: Record<string, string
|
|
1021
|
+
slug?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1022
|
+
title?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1023
|
+
excerpt?: Record<string, string | z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
932
1024
|
content?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
933
1025
|
isActive?: boolean | undefined;
|
|
934
1026
|
isFeatured?: boolean | undefined;
|
|
@@ -938,9 +1030,9 @@ declare const schemas: {
|
|
|
938
1030
|
id: z.ZodString;
|
|
939
1031
|
venueId: z.ZodString;
|
|
940
1032
|
accessor: z.ZodString;
|
|
941
|
-
slug: z.ZodRecord<z.ZodString, z.
|
|
942
|
-
title: z.ZodRecord<z.ZodString, z.
|
|
943
|
-
excerpt: z.
|
|
1033
|
+
slug: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1034
|
+
title: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1035
|
+
excerpt: z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
944
1036
|
content: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
945
1037
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
946
1038
|
isActive: z.ZodBoolean;
|
|
@@ -955,27 +1047,41 @@ declare const schemas: {
|
|
|
955
1047
|
locale: z.ZodString;
|
|
956
1048
|
caption: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
957
1049
|
alt: z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1050
|
+
captionByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1051
|
+
altByLocale: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
958
1052
|
}, "strict", z.ZodTypeAny, {
|
|
959
1053
|
id: string;
|
|
960
1054
|
publicUrl: string | null;
|
|
961
1055
|
locale: string;
|
|
962
1056
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
963
1057
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1058
|
+
captionByLocale: {} & {
|
|
1059
|
+
[k: string]: unknown;
|
|
1060
|
+
};
|
|
1061
|
+
altByLocale: {} & {
|
|
1062
|
+
[k: string]: unknown;
|
|
1063
|
+
};
|
|
964
1064
|
}, {
|
|
965
1065
|
id: string;
|
|
966
1066
|
publicUrl: string | null;
|
|
967
1067
|
locale: string;
|
|
968
1068
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
969
1069
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1070
|
+
captionByLocale: {} & {
|
|
1071
|
+
[k: string]: unknown;
|
|
1072
|
+
};
|
|
1073
|
+
altByLocale: {} & {
|
|
1074
|
+
[k: string]: unknown;
|
|
1075
|
+
};
|
|
970
1076
|
}>>;
|
|
971
1077
|
}, "strict", z.ZodTypeAny, {
|
|
972
1078
|
id: string;
|
|
973
1079
|
venueId: string;
|
|
974
1080
|
accessor: string;
|
|
975
1081
|
tags: string[];
|
|
976
|
-
slug: Record<string,
|
|
977
|
-
title: Record<string,
|
|
978
|
-
excerpt: Record<string,
|
|
1082
|
+
slug: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1083
|
+
title: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1084
|
+
excerpt: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
979
1085
|
content: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
980
1086
|
isActive: boolean;
|
|
981
1087
|
isFeatured: boolean;
|
|
@@ -986,6 +1092,12 @@ declare const schemas: {
|
|
|
986
1092
|
locale: string;
|
|
987
1093
|
caption: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
988
1094
|
alt: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1095
|
+
captionByLocale: {} & {
|
|
1096
|
+
[k: string]: unknown;
|
|
1097
|
+
};
|
|
1098
|
+
altByLocale: {} & {
|
|
1099
|
+
[k: string]: unknown;
|
|
1100
|
+
};
|
|
989
1101
|
} | null;
|
|
990
1102
|
createdAt?: unknown;
|
|
991
1103
|
updatedAt?: unknown;
|
|
@@ -995,9 +1107,9 @@ declare const schemas: {
|
|
|
995
1107
|
venueId: string;
|
|
996
1108
|
accessor: string;
|
|
997
1109
|
tags: string[];
|
|
998
|
-
slug: Record<string,
|
|
999
|
-
title: Record<string,
|
|
1000
|
-
excerpt: Record<string,
|
|
1110
|
+
slug: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1111
|
+
title: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1112
|
+
excerpt: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1001
1113
|
content: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1002
1114
|
isActive: boolean;
|
|
1003
1115
|
isFeatured: boolean;
|
|
@@ -1008,6 +1120,12 @@ declare const schemas: {
|
|
|
1008
1120
|
locale: string;
|
|
1009
1121
|
caption: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1010
1122
|
alt: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null;
|
|
1123
|
+
captionByLocale: {} & {
|
|
1124
|
+
[k: string]: unknown;
|
|
1125
|
+
};
|
|
1126
|
+
altByLocale: {} & {
|
|
1127
|
+
[k: string]: unknown;
|
|
1128
|
+
};
|
|
1011
1129
|
} | null;
|
|
1012
1130
|
createdAt?: unknown;
|
|
1013
1131
|
updatedAt?: unknown;
|
package/dist/schemas.mjs
CHANGED
|
@@ -7,12 +7,12 @@ const GetAreaAvailabilityResponse = z.object({ from: z.string().regex(/^\d{4}-\d
|
|
|
7
7
|
const SubmitAreaBookingRequest = z.object({ requestedDate: z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), requestedEndTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).optional(), partySize: z.number().int().lte(9007199254740991), customerFirstName: z.string().min(1), customerLastName: z.string().min(1), customerEmail: z.string().regex(/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/).email(), customerPhone: z.string().optional(), message: z.string().optional(), source: z.enum(["website", "phone", "walk_in"]).optional() }).strict();
|
|
8
8
|
const SubmitAreaBookingResponse = z.object({ id: z.string(), venueId: z.string(), areaId: z.string(), requestedDate: z.string().regex(/^\d{4}-\d{2}-\d{2}$/), requestedStartTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), requestedEndTime: z.string().regex(/^\d{2}:\d{2}(:\d{2})?$/).nullable(), partySize: z.number().int().gte(-9007199254740991).lte(9007199254740991), customerFirstName: z.string(), customerLastName: z.string(), customerEmail: z.string(), customerPhone: z.string().nullable(), message: z.string().nullable(), source: z.enum(["website", "phone", "walk_in"]), status: z.enum(["pending", "approved", "rejected", "cancelled"]), areaBookingId: z.string().nullable(), createdAt: z.string().nullable(), updatedAt: z.string().nullable() }).strict();
|
|
9
9
|
const includeDrafts = z.union([z.literal("true"), z.literal("false")]).optional();
|
|
10
|
-
const FeatureImage = z.object({ id: z.string(), publicUrl: z.string().nullable(), locale: z.string(), caption: z.object({}).partial().strict().passthrough().nullable(), alt: z.object({}).partial().strict().passthrough().nullable() }).strict();
|
|
11
|
-
const Article = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.
|
|
10
|
+
const FeatureImage = z.object({ id: z.string(), publicUrl: z.string().nullable(), locale: z.string(), caption: z.object({}).partial().strict().passthrough().nullable(), alt: z.object({}).partial().strict().passthrough().nullable(), captionByLocale: z.object({}).partial().strict().passthrough(), altByLocale: z.object({}).partial().strict().passthrough() }).strict();
|
|
11
|
+
const Article = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.object({}).partial().strict().passthrough()), title: z.record(z.object({}).partial().strict().passthrough()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
|
|
12
12
|
const ListArticlesResponse = z.array(Article);
|
|
13
|
-
const GetArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.
|
|
14
|
-
const PatchArticleRequest = z.object({ slug: z.record(z.string()), title: z.record(z.string()), excerpt: z.record(z.string()), content: z.object({}).partial().strict().passthrough(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
|
|
15
|
-
const PatchArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.
|
|
13
|
+
const GetArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.object({}).partial().strict().passthrough()), title: z.record(z.object({}).partial().strict().passthrough()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
|
|
14
|
+
const PatchArticleRequest = z.object({ slug: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), title: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), excerpt: z.record(z.union([z.string(), z.object({}).partial().strict().passthrough()])), content: z.object({}).partial().strict().passthrough(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-9007199254740991).lte(9007199254740991) }).partial().strict();
|
|
15
|
+
const PatchArticleResponse = z.object({ id: z.string(), venueId: z.string(), accessor: z.string(), slug: z.record(z.object({}).partial().strict().passthrough()), title: z.record(z.object({}).partial().strict().passthrough()), excerpt: z.record(z.object({}).partial().strict().passthrough()), content: z.object({}).partial().strict().passthrough().nullable(), tags: z.array(z.string()), isActive: z.boolean(), isFeatured: z.boolean(), priority: z.number().int().gte(-2147483648).lte(2147483647), publishedAt: z.unknown().nullable(), createdAt: z.unknown().nullable(), updatedAt: z.unknown().nullable(), featureImage: FeatureImage.nullable() }).strict();
|
|
16
16
|
const UploadFeatureImageRequest = z.object({ file: z.unknown() }).strict();
|
|
17
17
|
const PatchFeatureImageRequest = z.object({ caption: z.object({}).partial().strict().passthrough(), alt: z.object({}).partial().strict().passthrough() }).partial().strict();
|
|
18
18
|
const AddToBasketRequest = z.object({ venueId: z.string().regex(/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/).uuid(), sessionId: z.string().min(1), menuItems: z.array(z.object({ menuItemId: z.string().min(1), role: z.string().optional(), quantity: z.number().gt(0).optional(), unit: z.enum(["grams", "kilograms", "liters", "milliliters", "pieces"]).optional() }).strict()).min(1), metadata: z.object({}).partial().strict().passthrough().optional() }).strict();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "order3000",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "order3000 node.js sdk",
|
|
5
5
|
"main": "./dist/client.cjs",
|
|
6
6
|
"module": "./dist/client.mjs",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"prettier": "^3.7.4",
|
|
47
47
|
"tsx": "^4.19.2",
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
|
-
"@kolaveri/
|
|
49
|
+
"@kolaveri/prettier-config": "1.0.6",
|
|
50
50
|
"@kolaveri/tsconfig": "1.0.1",
|
|
51
|
-
"@kolaveri/
|
|
51
|
+
"@kolaveri/eslint-config": "1.6.1"
|
|
52
52
|
},
|
|
53
53
|
"files": [
|
|
54
54
|
"dist"
|