evo360-types 1.3.31 → 1.3.33

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.
@@ -9,11 +9,14 @@ export declare const zMedCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
9
9
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
10
10
  }, {
11
11
  calendarId: z.ZodString;
12
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ color: z.ZodOptional<z.ZodString>;
13
+ display_name: z.ZodOptional<z.ZodString>;
14
+ start_time: z.ZodDefault<z.ZodString>;
15
+ end_time: z.ZodDefault<z.ZodString>;
16
+ interval: z.ZodDefault<z.ZodNumber>;
14
17
  last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
15
18
  n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- order: z.ZodDefault<z.ZodNumber>;
19
+ order: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
17
20
  url: z.ZodString;
18
21
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
22
  name: z.ZodString;
@@ -39,11 +42,14 @@ export declare const zMedCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
39
42
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
40
43
  }, {
41
44
  calendarId: z.ZodString;
42
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ color: z.ZodOptional<z.ZodString>;
46
+ display_name: z.ZodOptional<z.ZodString>;
47
+ start_time: z.ZodDefault<z.ZodString>;
48
+ end_time: z.ZodDefault<z.ZodString>;
49
+ interval: z.ZodDefault<z.ZodNumber>;
44
50
  last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
45
51
  n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- order: z.ZodDefault<z.ZodNumber>;
52
+ order: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
47
53
  url: z.ZodString;
48
54
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
49
55
  name: z.ZodString;
@@ -69,11 +75,14 @@ export declare const zMedCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
69
75
  deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
70
76
  }, {
71
77
  calendarId: z.ZodString;
72
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ color: z.ZodOptional<z.ZodString>;
79
+ display_name: z.ZodOptional<z.ZodString>;
80
+ start_time: z.ZodDefault<z.ZodString>;
81
+ end_time: z.ZodDefault<z.ZodString>;
82
+ interval: z.ZodDefault<z.ZodNumber>;
74
83
  last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
75
84
  n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
- order: z.ZodDefault<z.ZodNumber>;
85
+ order: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
77
86
  url: z.ZodString;
78
87
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
79
88
  name: z.ZodString;
@@ -6,11 +6,14 @@ const zod_schemas_1 = require("../../shared/zod-schemas");
6
6
  exports.zMedCalendarSchema = zod_schemas_1.zFireDocSchema
7
7
  .extend({
8
8
  calendarId: zod_1.z.string().min(1).max(30),
9
- color: zod_1.z.string().min(1).max(10).nullable().optional(),
10
- display_name: zod_1.z.string().min(1).max(60).nullable().optional(),
9
+ color: zod_1.z.string().min(1).max(10).optional(),
10
+ display_name: zod_1.z.string().min(1).max(60).optional(),
11
+ start_time: zod_1.z.string().min(1).max(5).default("08:00"),
12
+ end_time: zod_1.z.string().min(1).max(5).default("18:00"),
13
+ interval: zod_1.z.number().min(1).max(1440).default(20),
11
14
  last_update: zod_1.z.coerce.date().nullable().optional(),
12
15
  n8n_wf: zod_1.z.string().min(1).max(500).nullable().optional(),
13
- order: zod_1.z.number().default(0),
16
+ order: zod_1.z.number().min(0).max(100).default(0).optional(),
14
17
  url: zod_1.z.string().min(1).max(500),
15
18
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
16
19
  userRef: zod_1.z.any(),
@@ -4,11 +4,14 @@ import { zFireDocSchema, zTagSchema } from "../../shared/zod-schemas";
4
4
  export const zMedCalendarSchema = zFireDocSchema
5
5
  .extend({
6
6
  calendarId: z.string().min(1).max(30),
7
- color: z.string().min(1).max(10).nullable().optional(),
8
- display_name: z.string().min(1).max(60).nullable().optional(),
7
+ color: z.string().min(1).max(10).optional(),
8
+ display_name: z.string().min(1).max(60).optional(),
9
+ start_time: z.string().min(1).max(5).default("08:00"),
10
+ end_time: z.string().min(1).max(5).default("18:00"),
11
+ interval: z.number().min(1).max(1440).default(20),
9
12
  last_update: z.coerce.date().nullable().optional(),
10
13
  n8n_wf: z.string().min(1).max(500).nullable().optional(),
11
- order: z.number().default(0),
14
+ order: z.number().min(0).max(100).default(0).optional(),
12
15
  url: z.string().min(1).max(500),
13
16
  tags: z.array(zTagSchema).nullable().optional(),
14
17
  userRef: z.any(),
@@ -2,11 +2,14 @@ export * from "../../evo-people/fb_collections";
2
2
  import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
3
3
  export interface IMedCalendar extends IFireDoc {
4
4
  calendarId: string;
5
- color?: string | null;
6
- display_name?: string | null;
5
+ color?: string;
6
+ display_name?: string;
7
+ start_time: string;
8
+ end_time: string;
9
+ interval: number;
7
10
  last_update?: Date | null;
8
11
  n8n_wf?: string | null;
9
- order: number;
12
+ order?: number;
10
13
  url: string;
11
14
  tags?: ITag[] | null;
12
15
  userRef?: FirestoreDocumentReference;
@@ -5,11 +5,14 @@ import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
5
5
 
6
6
  export interface IMedCalendar extends IFireDoc {
7
7
  calendarId: string;
8
- color?: string | null;
9
- display_name?: string | null;
8
+ color?: string;
9
+ display_name?: string;
10
+ start_time: string;
11
+ end_time: string;
12
+ interval: number;
10
13
  last_update?: Date | null;
11
14
  n8n_wf?: string | null;
12
- order: number;
15
+ order?: number;
13
16
  url: string;
14
17
  tags?: ITag[] | null;
15
18
  userRef?: FirestoreDocumentReference;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.31",
3
+ "version": "1.3.33",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",