@deallony/shared 1.2.6 → 1.2.7

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.
@@ -25,6 +25,7 @@ export declare const eventBaseSchema: z.ZodObject<{
25
25
  }, z.core.$strip>;
26
26
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  event_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ venue_id: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
28
29
  }, z.core.$strip>;
29
30
  export declare const createEventSchema: z.ZodObject<{
30
31
  lat: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
@@ -52,6 +53,7 @@ export declare const createEventSchema: z.ZodObject<{
52
53
  }, z.core.$strip>;
53
54
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
55
  event_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ venue_id: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
55
57
  }, z.core.$strip>;
56
58
  export declare const updateEventSchema: z.ZodObject<{
57
59
  lat: z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
@@ -79,6 +81,7 @@ export declare const updateEventSchema: z.ZodObject<{
79
81
  }, z.core.$strip>;
80
82
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
83
  event_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ venue_id: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
82
85
  id: z.ZodCoercedNumber<unknown>;
83
86
  }, z.core.$strip>;
84
87
  export declare const saveEventSchema: z.ZodObject<{
@@ -107,6 +110,7 @@ export declare const saveEventSchema: z.ZodObject<{
107
110
  }, z.core.$strip>;
108
111
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
112
  event_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ venue_id: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
110
114
  id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
111
115
  }, z.core.$strip>;
112
116
  export declare const getEventsFilterSchema: z.ZodObject<{
@@ -15,6 +15,7 @@ exports.eventBaseSchema = zod_1.z.object({
15
15
  timeline: EventTimeline_schema_1.saveEventTimelineSchema,
16
16
  event_type: zod_1.z.string().trim().max(255).nullable().optional(),
17
17
  event_template: zod_1.z.string().trim().max(255).nullable().optional(),
18
+ venue_id: zod_1.z.coerce.number().int().positive().nullable().optional(),
18
19
  });
19
20
  exports.createEventSchema = exports.eventBaseSchema;
20
21
  exports.updateEventSchema = exports.eventBaseSchema.extend({
@@ -12,6 +12,7 @@ export const eventBaseSchema = z.object({
12
12
  timeline: saveEventTimelineSchema,
13
13
  event_type: z.string().trim().max(255).nullable().optional(),
14
14
  event_template: z.string().trim().max(255).nullable().optional(),
15
+ venue_id: z.coerce.number().int().positive().nullable().optional(),
15
16
  });
16
17
  export const createEventSchema = eventBaseSchema;
17
18
  export const updateEventSchema = eventBaseSchema.extend({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",