evo360-types 1.3.29 → 1.3.31
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/apps/evo-med/calendar/zod-schemas.d.ts +7 -4
- package/dist/apps/evo-med/calendar/zod-schemas.js +4 -3
- package/dist/apps/evo-med/calendar/zod-schemas.ts +3 -2
- package/dist/types/evo-med/calendar/index.d.ts +9 -6
- package/dist/types/evo-med/calendar/index.ts +8 -5
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const zMedCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
5
|
tenant: z.ZodString;
|
|
@@ -14,7 +14,7 @@ export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14
14
|
last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
15
15
|
n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
order: z.ZodDefault<z.ZodNumber>;
|
|
17
|
-
url: z.
|
|
17
|
+
url: z.ZodString;
|
|
18
18
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
name: z.ZodString;
|
|
20
20
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -28,6 +28,7 @@ export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
28
28
|
hidden: boolean;
|
|
29
29
|
color?: string | undefined;
|
|
30
30
|
}>, "many">>>;
|
|
31
|
+
userRef: z.ZodAny;
|
|
31
32
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
32
33
|
id: z.ZodString;
|
|
33
34
|
ref: z.ZodAny;
|
|
@@ -43,7 +44,7 @@ export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
43
44
|
last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
44
45
|
n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
46
|
order: z.ZodDefault<z.ZodNumber>;
|
|
46
|
-
url: z.
|
|
47
|
+
url: z.ZodString;
|
|
47
48
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
48
49
|
name: z.ZodString;
|
|
49
50
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -57,6 +58,7 @@ export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
57
58
|
hidden: boolean;
|
|
58
59
|
color?: string | undefined;
|
|
59
60
|
}>, "many">>>;
|
|
61
|
+
userRef: z.ZodAny;
|
|
60
62
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
61
63
|
id: z.ZodString;
|
|
62
64
|
ref: z.ZodAny;
|
|
@@ -72,7 +74,7 @@ export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
72
74
|
last_update: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
73
75
|
n8n_wf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
76
|
order: z.ZodDefault<z.ZodNumber>;
|
|
75
|
-
url: z.
|
|
77
|
+
url: z.ZodString;
|
|
76
78
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
77
79
|
name: z.ZodString;
|
|
78
80
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -86,4 +88,5 @@ export declare const zCalendarSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
86
88
|
hidden: boolean;
|
|
87
89
|
color?: string | undefined;
|
|
88
90
|
}>, "many">>>;
|
|
91
|
+
userRef: z.ZodAny;
|
|
89
92
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.zMedCalendarSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_schemas_1 = require("../../shared/zod-schemas");
|
|
6
|
-
exports.
|
|
6
|
+
exports.zMedCalendarSchema = zod_schemas_1.zFireDocSchema
|
|
7
7
|
.extend({
|
|
8
8
|
calendarId: zod_1.z.string().min(1).max(30),
|
|
9
9
|
color: zod_1.z.string().min(1).max(10).nullable().optional(),
|
|
@@ -11,7 +11,8 @@ exports.zCalendarSchema = zod_schemas_1.zFireDocSchema
|
|
|
11
11
|
last_update: zod_1.z.coerce.date().nullable().optional(),
|
|
12
12
|
n8n_wf: zod_1.z.string().min(1).max(500).nullable().optional(),
|
|
13
13
|
order: zod_1.z.number().default(0),
|
|
14
|
-
url: zod_1.z.string().min(1).max(500)
|
|
14
|
+
url: zod_1.z.string().min(1).max(500),
|
|
15
15
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
16
|
+
userRef: zod_1.z.any(),
|
|
16
17
|
})
|
|
17
18
|
.passthrough();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { zFireDocSchema, zTagSchema } from "../../shared/zod-schemas";
|
|
3
3
|
|
|
4
|
-
export const
|
|
4
|
+
export const zMedCalendarSchema = zFireDocSchema
|
|
5
5
|
.extend({
|
|
6
6
|
calendarId: z.string().min(1).max(30),
|
|
7
7
|
color: z.string().min(1).max(10).nullable().optional(),
|
|
@@ -9,7 +9,8 @@ export const zCalendarSchema = zFireDocSchema
|
|
|
9
9
|
last_update: z.coerce.date().nullable().optional(),
|
|
10
10
|
n8n_wf: z.string().min(1).max(500).nullable().optional(),
|
|
11
11
|
order: z.number().default(0),
|
|
12
|
-
url: z.string().min(1).max(500)
|
|
12
|
+
url: z.string().min(1).max(500),
|
|
13
13
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
14
|
+
userRef: z.any(),
|
|
14
15
|
})
|
|
15
16
|
.passthrough();
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export * from "../../evo-people/fb_collections";
|
|
2
|
-
import type { IFireDoc } from "../../shared";
|
|
3
|
-
export interface
|
|
2
|
+
import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
|
|
3
|
+
export interface IMedCalendar extends IFireDoc {
|
|
4
4
|
calendarId: string;
|
|
5
|
-
color
|
|
6
|
-
display_name
|
|
7
|
-
last_update
|
|
8
|
-
n8n_wf
|
|
5
|
+
color?: string | null;
|
|
6
|
+
display_name?: string | null;
|
|
7
|
+
last_update?: Date | null;
|
|
8
|
+
n8n_wf?: string | null;
|
|
9
9
|
order: number;
|
|
10
10
|
url: string;
|
|
11
|
+
tags?: ITag[] | null;
|
|
12
|
+
userRef?: FirestoreDocumentReference;
|
|
13
|
+
[key: string]: unknown;
|
|
11
14
|
}
|
|
@@ -3,12 +3,15 @@ import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
|
|
|
3
3
|
|
|
4
4
|
// ----- MedCalendarTypes
|
|
5
5
|
|
|
6
|
-
export interface
|
|
6
|
+
export interface IMedCalendar extends IFireDoc {
|
|
7
7
|
calendarId: string;
|
|
8
|
-
color
|
|
9
|
-
display_name
|
|
10
|
-
last_update
|
|
11
|
-
n8n_wf
|
|
8
|
+
color?: string | null;
|
|
9
|
+
display_name?: string | null;
|
|
10
|
+
last_update?: Date | null;
|
|
11
|
+
n8n_wf?: string | null;
|
|
12
12
|
order: number;
|
|
13
13
|
url: string;
|
|
14
|
+
tags?: ITag[] | null;
|
|
15
|
+
userRef?: FirestoreDocumentReference;
|
|
16
|
+
[key: string]: unknown; // index signature
|
|
14
17
|
}
|