evo360-types 1.1.19 → 1.1.20
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-calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-meeting/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-people/zod-schemas.d.ts +30 -30
- package/dist/apps/shared/zod-schemas.d.ts +6 -6
- package/dist/apps/shared/zod-schemas.js +2 -2
- package/dist/apps/shared/zod-schemas.ts +2 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const zEventStatusSchema: z.ZodEnum<["scheduled", "completed", "cancelled"]>;
|
|
3
3
|
export declare const zEventTypeSchema: z.ZodEnum<["event", "meeting", "workshop", "other"]>;
|
|
4
4
|
export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
5
|
-
id: z.
|
|
5
|
+
id: z.ZodAny;
|
|
6
6
|
ref: z.ZodAny;
|
|
7
|
-
tenant: z.
|
|
7
|
+
tenant: z.ZodAny;
|
|
8
8
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
10
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -34,9 +34,9 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
34
34
|
creatorName: string;
|
|
35
35
|
eventType: "other" | "event" | "meeting" | "workshop";
|
|
36
36
|
eventStatus: "completed" | "cancelled" | "scheduled";
|
|
37
|
-
id?:
|
|
37
|
+
id?: any;
|
|
38
38
|
ref?: any;
|
|
39
|
-
tenant?:
|
|
39
|
+
tenant?: any;
|
|
40
40
|
model_ver?: number | undefined;
|
|
41
41
|
created_at?: Date | null | undefined;
|
|
42
42
|
updated_at?: Date | null | undefined;
|
|
@@ -53,9 +53,9 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
53
53
|
creatorName: string;
|
|
54
54
|
eventType: "other" | "event" | "meeting" | "workshop";
|
|
55
55
|
eventStatus: "completed" | "cancelled" | "scheduled";
|
|
56
|
-
id?:
|
|
56
|
+
id?: any;
|
|
57
57
|
ref?: any;
|
|
58
|
-
tenant?:
|
|
58
|
+
tenant?: any;
|
|
59
59
|
model_ver?: number | undefined;
|
|
60
60
|
created_at?: Date | null | undefined;
|
|
61
61
|
updated_at?: Date | null | undefined;
|
|
@@ -87,9 +87,9 @@ export declare const zMeetingTalkingPointSchema: z.ZodObject<{
|
|
|
87
87
|
notes?: string | undefined;
|
|
88
88
|
}>;
|
|
89
89
|
export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
90
|
-
id: z.
|
|
90
|
+
id: z.ZodAny;
|
|
91
91
|
ref: z.ZodAny;
|
|
92
|
-
tenant: z.
|
|
92
|
+
tenant: z.ZodAny;
|
|
93
93
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
94
94
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
95
95
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -200,9 +200,9 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
200
200
|
color?: string | undefined;
|
|
201
201
|
}>, "many">>;
|
|
202
202
|
}>, "strip", z.ZodUnknown, z.objectOutputType<z.objectUtil.extendShape<{
|
|
203
|
-
id: z.
|
|
203
|
+
id: z.ZodAny;
|
|
204
204
|
ref: z.ZodAny;
|
|
205
|
-
tenant: z.
|
|
205
|
+
tenant: z.ZodAny;
|
|
206
206
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
207
207
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
208
208
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -313,9 +313,9 @@ export declare const zMeetingSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
313
313
|
color?: string | undefined;
|
|
314
314
|
}>, "many">>;
|
|
315
315
|
}>, z.ZodUnknown, "strip">, z.objectInputType<z.objectUtil.extendShape<{
|
|
316
|
-
id: z.
|
|
316
|
+
id: z.ZodAny;
|
|
317
317
|
ref: z.ZodAny;
|
|
318
|
-
tenant: z.
|
|
318
|
+
tenant: z.ZodAny;
|
|
319
319
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
320
320
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
321
321
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
-
id: z.
|
|
3
|
+
id: z.ZodAny;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
|
-
tenant: z.
|
|
5
|
+
tenant: z.ZodAny;
|
|
6
6
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
8
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -16,9 +16,9 @@ export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
16
16
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
19
|
-
id: z.
|
|
19
|
+
id: z.ZodAny;
|
|
20
20
|
ref: z.ZodAny;
|
|
21
|
-
tenant: z.
|
|
21
|
+
tenant: z.ZodAny;
|
|
22
22
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
24
24
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -32,9 +32,9 @@ export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
32
32
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
35
|
-
id: z.
|
|
35
|
+
id: z.ZodAny;
|
|
36
36
|
ref: z.ZodAny;
|
|
37
|
-
tenant: z.
|
|
37
|
+
tenant: z.ZodAny;
|
|
38
38
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
40
40
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -50,9 +50,9 @@ export declare const zProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
50
50
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
51
51
|
export declare const zEmployeeStatusSchema: z.ZodEnum<["active", "inactive", "draft"]>;
|
|
52
52
|
export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
53
|
-
id: z.
|
|
53
|
+
id: z.ZodAny;
|
|
54
54
|
ref: z.ZodAny;
|
|
55
|
-
tenant: z.
|
|
55
|
+
tenant: z.ZodAny;
|
|
56
56
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
57
57
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
58
58
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -97,9 +97,9 @@ export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
97
97
|
}>, "many">>;
|
|
98
98
|
userRef: z.ZodAny;
|
|
99
99
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
100
|
-
id: z.
|
|
100
|
+
id: z.ZodAny;
|
|
101
101
|
ref: z.ZodAny;
|
|
102
|
-
tenant: z.
|
|
102
|
+
tenant: z.ZodAny;
|
|
103
103
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
104
104
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
105
105
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -144,9 +144,9 @@ export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
144
144
|
}>, "many">>;
|
|
145
145
|
userRef: z.ZodAny;
|
|
146
146
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
147
|
-
id: z.
|
|
147
|
+
id: z.ZodAny;
|
|
148
148
|
ref: z.ZodAny;
|
|
149
|
-
tenant: z.
|
|
149
|
+
tenant: z.ZodAny;
|
|
150
150
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
151
151
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
152
152
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -192,9 +192,9 @@ export declare const zEmployeeSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
192
192
|
userRef: z.ZodAny;
|
|
193
193
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
194
194
|
export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
195
|
-
id: z.
|
|
195
|
+
id: z.ZodAny;
|
|
196
196
|
ref: z.ZodAny;
|
|
197
|
-
tenant: z.
|
|
197
|
+
tenant: z.ZodAny;
|
|
198
198
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
199
199
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
200
200
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -221,9 +221,9 @@ export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
221
221
|
color?: string | undefined;
|
|
222
222
|
}>, "many">>;
|
|
223
223
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
224
|
-
id: z.
|
|
224
|
+
id: z.ZodAny;
|
|
225
225
|
ref: z.ZodAny;
|
|
226
|
-
tenant: z.
|
|
226
|
+
tenant: z.ZodAny;
|
|
227
227
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
229
229
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -250,9 +250,9 @@ export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
250
250
|
color?: string | undefined;
|
|
251
251
|
}>, "many">>;
|
|
252
252
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
253
|
-
id: z.
|
|
253
|
+
id: z.ZodAny;
|
|
254
254
|
ref: z.ZodAny;
|
|
255
|
-
tenant: z.
|
|
255
|
+
tenant: z.ZodAny;
|
|
256
256
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
257
257
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
258
258
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -280,9 +280,9 @@ export declare const zDepartmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
280
280
|
}>, "many">>;
|
|
281
281
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
282
282
|
export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
283
|
-
id: z.
|
|
283
|
+
id: z.ZodAny;
|
|
284
284
|
ref: z.ZodAny;
|
|
285
|
-
tenant: z.
|
|
285
|
+
tenant: z.ZodAny;
|
|
286
286
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
287
287
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
288
288
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -317,9 +317,9 @@ export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
317
317
|
color?: string | undefined;
|
|
318
318
|
}>, "many">>;
|
|
319
319
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
320
|
-
id: z.
|
|
320
|
+
id: z.ZodAny;
|
|
321
321
|
ref: z.ZodAny;
|
|
322
|
-
tenant: z.
|
|
322
|
+
tenant: z.ZodAny;
|
|
323
323
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
324
324
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
325
325
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -354,9 +354,9 @@ export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
354
354
|
color?: string | undefined;
|
|
355
355
|
}>, "many">>;
|
|
356
356
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
357
|
-
id: z.
|
|
357
|
+
id: z.ZodAny;
|
|
358
358
|
ref: z.ZodAny;
|
|
359
|
-
tenant: z.
|
|
359
|
+
tenant: z.ZodAny;
|
|
360
360
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
361
361
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
362
362
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -392,9 +392,9 @@ export declare const zOfficeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
392
392
|
}>, "many">>;
|
|
393
393
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
394
394
|
export declare const zCompanySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
395
|
-
id: z.
|
|
395
|
+
id: z.ZodAny;
|
|
396
396
|
ref: z.ZodAny;
|
|
397
|
-
tenant: z.
|
|
397
|
+
tenant: z.ZodAny;
|
|
398
398
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
399
399
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
400
400
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -419,9 +419,9 @@ export declare const zCompanySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
419
419
|
color?: string | undefined;
|
|
420
420
|
}>, "many">>;
|
|
421
421
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
422
|
-
id: z.
|
|
422
|
+
id: z.ZodAny;
|
|
423
423
|
ref: z.ZodAny;
|
|
424
|
-
tenant: z.
|
|
424
|
+
tenant: z.ZodAny;
|
|
425
425
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
426
426
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
427
427
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -446,9 +446,9 @@ export declare const zCompanySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
446
446
|
color?: string | undefined;
|
|
447
447
|
}>, "many">>;
|
|
448
448
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
449
|
-
id: z.
|
|
449
|
+
id: z.ZodAny;
|
|
450
450
|
ref: z.ZodAny;
|
|
451
|
-
tenant: z.
|
|
451
|
+
tenant: z.ZodAny;
|
|
452
452
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
453
453
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
454
454
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const zFireDocSchema: z.ZodObject<{
|
|
3
|
-
id: z.
|
|
3
|
+
id: z.ZodAny;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
|
-
tenant: z.
|
|
5
|
+
tenant: z.ZodAny;
|
|
6
6
|
model_ver: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
8
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
id?:
|
|
11
|
+
id?: any;
|
|
12
12
|
ref?: any;
|
|
13
|
-
tenant?:
|
|
13
|
+
tenant?: any;
|
|
14
14
|
model_ver?: number | undefined;
|
|
15
15
|
created_at?: Date | null | undefined;
|
|
16
16
|
updated_at?: Date | null | undefined;
|
|
17
17
|
deleted_at?: Date | null | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
id?:
|
|
19
|
+
id?: any;
|
|
20
20
|
ref?: any;
|
|
21
|
-
tenant?:
|
|
21
|
+
tenant?: any;
|
|
22
22
|
model_ver?: number | undefined;
|
|
23
23
|
created_at?: Date | null | undefined;
|
|
24
24
|
updated_at?: Date | null | undefined;
|
|
@@ -4,9 +4,9 @@ exports.zTagSchema = exports.zFireDocSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
// Custom validation for FirestoreDocumentReference
|
|
6
6
|
exports.zFireDocSchema = zod_1.z.object({
|
|
7
|
-
id: zod_1.z.
|
|
7
|
+
id: zod_1.z.any(),
|
|
8
8
|
ref: zod_1.z.any(),
|
|
9
|
-
tenant: zod_1.z.
|
|
9
|
+
tenant: zod_1.z.any(),
|
|
10
10
|
model_ver: zod_1.z.number().optional(),
|
|
11
11
|
created_at: zod_1.z.date().nullable().optional(),
|
|
12
12
|
updated_at: zod_1.z.date().nullable().optional(),
|
|
@@ -2,9 +2,9 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
// Custom validation for FirestoreDocumentReference
|
|
4
4
|
export const zFireDocSchema = z.object({
|
|
5
|
-
id: z.
|
|
5
|
+
id: z.any(),
|
|
6
6
|
ref: z.any(),
|
|
7
|
-
tenant: z.
|
|
7
|
+
tenant: z.any(),
|
|
8
8
|
model_ver: z.number().optional(),
|
|
9
9
|
created_at: z.date().nullable().optional(),
|
|
10
10
|
updated_at: z.date().nullable().optional(),
|