evo360-types 1.3.35 → 1.3.39
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-activity/zod-schemas.d.ts +3 -3
- package/dist/apps/evo-activity/zod-schemas.js +8 -10
- package/dist/apps/evo-activity/zod-schemas.ts +0 -2
- package/dist/apps/evo-calendar/zod-schemas.d.ts +4 -4
- package/dist/apps/evo-survey/zod-schemas.d.ts +14 -14
- package/dist/index.d.ts +2 -4
- package/dist/index.js +2 -6
- package/dist/index.ts +2 -6
- package/dist/types/evo-activity/index.d.ts +1 -2
- package/dist/types/evo-activity/index.ts +1 -2
- package/dist/types/evo-calendar/index.d.ts +0 -2
- package/dist/types/evo-calendar/index.ts +0 -2
- package/package.json +1 -1
- package/dist/apps/evo-cake/zod-schemas.d.ts +0 -783
- package/dist/apps/evo-cake/zod-schemas.js +0 -110
- package/dist/apps/evo-cake/zod-schemas.ts +0 -121
- package/dist/apps/evo-meeting/zod-schemas.d.ts +0 -429
- package/dist/apps/evo-meeting/zod-schemas.js +0 -56
- package/dist/apps/evo-meeting/zod-schemas.ts +0 -62
- package/dist/types/evo-cake/fb_collections.d.ts +0 -4
- package/dist/types/evo-cake/fb_collections.js +0 -9
- package/dist/types/evo-cake/fb_collections.ts +0 -7
- package/dist/types/evo-cake/index.d.ts +0 -111
- package/dist/types/evo-cake/index.js +0 -79
- package/dist/types/evo-cake/index.ts +0 -186
- package/dist/types/evo-meeting/fb_collections.d.ts +0 -2
- package/dist/types/evo-meeting/fb_collections.js +0 -7
- package/dist/types/evo-meeting/fb_collections.ts +0 -5
- package/dist/types/evo-meeting/index.d.ts +0 -58
- package/dist/types/evo-meeting/index.js +0 -32
- package/dist/types/evo-meeting/index.ts +0 -80
|
@@ -14,7 +14,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
14
14
|
creatorRef: z.ZodAny;
|
|
15
15
|
docRef: z.ZodAny;
|
|
16
16
|
app: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-crm", "evo-meeting", "evo-messages", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
|
|
17
|
-
type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["
|
|
17
|
+
type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["CREATE_COMPANY", "DELETE_COMPANY", "UPDATE_COMPANY", "UPDATE_COMPANY_LEAD", "UPDATE_COMPANY_NAME", "CREATE_OFFICE", "DELETE_OFFICE", "UPDATE_OFFICE", "UPDATE_OFFICE_NAME", "UPDATE_OFFICE_TIMEZONE", "UPDATE_OFFICE_COMPANY", "UPDATE_OFFICE_LEAD", "CREATE_DEPARTMENT", "DELETE_DEPARTMENT", "UPDATE_DEPARTMENT", "UPDATE_DEPARTMENT_PARENT_DEPARTMENT", "UPDATE_DEPARTMENT_LEAD", "UPDATE_DEPARTMENT_NAME", "CREATE_EMPLOYEE", "DELETE_EMPLOYEE", "UPDATE_EMPLOYEE", "UPDATE_EMPLOYEE_PHOTO", "UPDATE_PROFILE", "UPDATE_PHOTO", "UPDATE_PASSWORD", "UPDATE_EMPLOYEE_REPORT_TO", "UPDATE_EMPLOYEE_DEPARTMENT", "UPDATE_EMPLOYEE_OFFICE", "UPDATE_EMPLOYEE_COMPANY", "UPDATE_EMPLOYEE_JOB_TITLE", "UPDATE_EMPLOYEE_WORK_EMAIL", "UPDATE_EMPLOYEE_STATUS"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
|
|
18
18
|
readStatus: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
19
19
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
20
20
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -44,7 +44,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
44
44
|
creatorRef: z.ZodAny;
|
|
45
45
|
docRef: z.ZodAny;
|
|
46
46
|
app: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-crm", "evo-meeting", "evo-messages", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
|
|
47
|
-
type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["
|
|
47
|
+
type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["CREATE_COMPANY", "DELETE_COMPANY", "UPDATE_COMPANY", "UPDATE_COMPANY_LEAD", "UPDATE_COMPANY_NAME", "CREATE_OFFICE", "DELETE_OFFICE", "UPDATE_OFFICE", "UPDATE_OFFICE_NAME", "UPDATE_OFFICE_TIMEZONE", "UPDATE_OFFICE_COMPANY", "UPDATE_OFFICE_LEAD", "CREATE_DEPARTMENT", "DELETE_DEPARTMENT", "UPDATE_DEPARTMENT", "UPDATE_DEPARTMENT_PARENT_DEPARTMENT", "UPDATE_DEPARTMENT_LEAD", "UPDATE_DEPARTMENT_NAME", "CREATE_EMPLOYEE", "DELETE_EMPLOYEE", "UPDATE_EMPLOYEE", "UPDATE_EMPLOYEE_PHOTO", "UPDATE_PROFILE", "UPDATE_PHOTO", "UPDATE_PASSWORD", "UPDATE_EMPLOYEE_REPORT_TO", "UPDATE_EMPLOYEE_DEPARTMENT", "UPDATE_EMPLOYEE_OFFICE", "UPDATE_EMPLOYEE_COMPANY", "UPDATE_EMPLOYEE_JOB_TITLE", "UPDATE_EMPLOYEE_WORK_EMAIL", "UPDATE_EMPLOYEE_STATUS"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
|
|
48
48
|
readStatus: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
49
49
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
50
50
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -74,7 +74,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
74
74
|
creatorRef: z.ZodAny;
|
|
75
75
|
docRef: z.ZodAny;
|
|
76
76
|
app: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-crm", "evo-meeting", "evo-messages", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
|
|
77
|
-
type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["
|
|
77
|
+
type: z.ZodUnion<[z.ZodEnum<["CREATE_EVENT", "DELETE_EVENT", "UPDATE_EVENT"]>, z.ZodEnum<["CREATE_COMPANY", "DELETE_COMPANY", "UPDATE_COMPANY", "UPDATE_COMPANY_LEAD", "UPDATE_COMPANY_NAME", "CREATE_OFFICE", "DELETE_OFFICE", "UPDATE_OFFICE", "UPDATE_OFFICE_NAME", "UPDATE_OFFICE_TIMEZONE", "UPDATE_OFFICE_COMPANY", "UPDATE_OFFICE_LEAD", "CREATE_DEPARTMENT", "DELETE_DEPARTMENT", "UPDATE_DEPARTMENT", "UPDATE_DEPARTMENT_PARENT_DEPARTMENT", "UPDATE_DEPARTMENT_LEAD", "UPDATE_DEPARTMENT_NAME", "CREATE_EMPLOYEE", "DELETE_EMPLOYEE", "UPDATE_EMPLOYEE", "UPDATE_EMPLOYEE_PHOTO", "UPDATE_PROFILE", "UPDATE_PHOTO", "UPDATE_PASSWORD", "UPDATE_EMPLOYEE_REPORT_TO", "UPDATE_EMPLOYEE_DEPARTMENT", "UPDATE_EMPLOYEE_OFFICE", "UPDATE_EMPLOYEE_COMPANY", "UPDATE_EMPLOYEE_JOB_TITLE", "UPDATE_EMPLOYEE_WORK_EMAIL", "UPDATE_EMPLOYEE_STATUS"]>, z.ZodEnum<["CREATE_SURVEY", "DELETE_SURVEY", "UPDATE_SURVEY"]>, z.ZodEnum<["CREATE_TASK", "DELETE_TASK", "UPDATE_TASK"]>, z.ZodEnum<["CREATE_TENANT", "DELETE_TENANT", "UPDATE_TENANT"]>]>;
|
|
78
78
|
readStatus: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
79
79
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
80
80
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -4,11 +4,10 @@ exports.zIActivityEventSchema = exports.zReadStatusSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_schemas_1 = require("../shared/zod-schemas");
|
|
6
6
|
const zod_schemas_2 = require("../evo-calendar/zod-schemas");
|
|
7
|
-
const zod_schemas_3 = require("../evo-
|
|
8
|
-
const zod_schemas_4 = require("../evo-
|
|
9
|
-
const zod_schemas_5 = require("../evo-
|
|
10
|
-
const zod_schemas_6 = require("../evo-
|
|
11
|
-
const zod_schemas_7 = require("../evo-tenant/zod-schemas");
|
|
7
|
+
const zod_schemas_3 = require("../evo-people/zod-schemas");
|
|
8
|
+
const zod_schemas_4 = require("../evo-survey/zod-schemas");
|
|
9
|
+
const zod_schemas_5 = require("../evo-task/zod-schemas");
|
|
10
|
+
const zod_schemas_6 = require("../evo-tenant/zod-schemas");
|
|
12
11
|
// Enum for activity read status
|
|
13
12
|
exports.zReadStatusSchema = zod_1.z.enum([
|
|
14
13
|
"new",
|
|
@@ -27,11 +26,10 @@ exports.zIActivityEventSchema = zod_schemas_1.zFireDocSchema // Extend from Fire
|
|
|
27
26
|
app: zod_schemas_1.zEvoAppSchema,
|
|
28
27
|
type: zod_1.z.union([
|
|
29
28
|
zod_schemas_2.zCalendarActionSchema,
|
|
30
|
-
zod_schemas_3.
|
|
31
|
-
zod_schemas_4.
|
|
32
|
-
zod_schemas_5.
|
|
33
|
-
zod_schemas_6.
|
|
34
|
-
zod_schemas_7.zTenantActionSchema,
|
|
29
|
+
zod_schemas_3.zPeopleActionSchema,
|
|
30
|
+
zod_schemas_4.zSurveyActionSchema,
|
|
31
|
+
zod_schemas_5.zTaskActionSchema,
|
|
32
|
+
zod_schemas_6.zTenantActionSchema,
|
|
35
33
|
]),
|
|
36
34
|
readStatus: exports.zReadStatusSchema,
|
|
37
35
|
metadata: zod_1.z.record(zod_1.z.any()).optional(),
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
zTagSchema,
|
|
6
6
|
} from "../shared/zod-schemas";
|
|
7
7
|
import { zCalendarActionSchema } from "../evo-calendar/zod-schemas";
|
|
8
|
-
import { zMeetingActionSchema } from "../evo-meeting/zod-schemas";
|
|
9
8
|
import { zPeopleActionSchema } from "../evo-people/zod-schemas";
|
|
10
9
|
import { zSurveyActionSchema } from "../evo-survey/zod-schemas";
|
|
11
10
|
import { zTaskActionSchema } from "../evo-task/zod-schemas";
|
|
@@ -30,7 +29,6 @@ export const zIActivityEventSchema = zFireDocSchema // Extend from FireDocSchema
|
|
|
30
29
|
app: zEvoAppSchema,
|
|
31
30
|
type: z.union([
|
|
32
31
|
zCalendarActionSchema,
|
|
33
|
-
zMeetingActionSchema,
|
|
34
32
|
zPeopleActionSchema,
|
|
35
33
|
zSurveyActionSchema,
|
|
36
34
|
zTaskActionSchema,
|
|
@@ -36,8 +36,8 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
36
36
|
model_ver: number;
|
|
37
37
|
title: string;
|
|
38
38
|
creatorName: string;
|
|
39
|
-
eventType: "
|
|
40
|
-
eventStatus: "
|
|
39
|
+
eventType: "event" | "meeting" | "workshop" | "other";
|
|
40
|
+
eventStatus: "scheduled" | "completed" | "cancelled";
|
|
41
41
|
ref?: any;
|
|
42
42
|
created_at?: Date | null | undefined;
|
|
43
43
|
updated_at?: Date | null | undefined;
|
|
@@ -54,8 +54,8 @@ export declare const zEventSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
54
54
|
tenant: string;
|
|
55
55
|
title: string;
|
|
56
56
|
creatorName: string;
|
|
57
|
-
eventType: "
|
|
58
|
-
eventStatus: "
|
|
57
|
+
eventType: "event" | "meeting" | "workshop" | "other";
|
|
58
|
+
eventStatus: "scheduled" | "completed" | "cancelled";
|
|
59
59
|
ref?: any;
|
|
60
60
|
model_ver?: number | undefined;
|
|
61
61
|
created_at?: Date | null | undefined;
|
|
@@ -964,7 +964,7 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
964
964
|
id: string;
|
|
965
965
|
tenant: string;
|
|
966
966
|
model_ver: number;
|
|
967
|
-
status: "
|
|
967
|
+
status: "completed" | "in_progress" | "not_started";
|
|
968
968
|
user_name: string;
|
|
969
969
|
modified_after_completion: boolean;
|
|
970
970
|
answer_count: number;
|
|
@@ -994,7 +994,7 @@ export declare const zSurveySubmissionSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
994
994
|
}, {
|
|
995
995
|
id: string;
|
|
996
996
|
tenant: string;
|
|
997
|
-
status: "
|
|
997
|
+
status: "completed" | "in_progress" | "not_started";
|
|
998
998
|
ref?: any;
|
|
999
999
|
model_ver?: number | undefined;
|
|
1000
1000
|
created_at?: Date | null | undefined;
|
|
@@ -1048,7 +1048,7 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1048
1048
|
model_ver: number;
|
|
1049
1049
|
phone: string;
|
|
1050
1050
|
isAnonymous: boolean;
|
|
1051
|
-
submission_status: "
|
|
1051
|
+
submission_status: "completed" | "in_progress" | "not_started";
|
|
1052
1052
|
ref?: any;
|
|
1053
1053
|
created_at?: Date | null | undefined;
|
|
1054
1054
|
updated_at?: Date | null | undefined;
|
|
@@ -1074,7 +1074,7 @@ export declare const zSurveyInviteeSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1074
1074
|
invitedUserId?: string | undefined;
|
|
1075
1075
|
isAnonymous?: boolean | undefined;
|
|
1076
1076
|
submissionId?: string | undefined;
|
|
1077
|
-
submission_status?: "
|
|
1077
|
+
submission_status?: "completed" | "in_progress" | "not_started" | undefined;
|
|
1078
1078
|
}>;
|
|
1079
1079
|
export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1080
1080
|
id: z.ZodString;
|
|
@@ -1207,7 +1207,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1207
1207
|
model_ver: number;
|
|
1208
1208
|
phone: string;
|
|
1209
1209
|
isAnonymous: boolean;
|
|
1210
|
-
submission_status: "
|
|
1210
|
+
submission_status: "completed" | "in_progress" | "not_started";
|
|
1211
1211
|
ref?: any;
|
|
1212
1212
|
created_at?: Date | null | undefined;
|
|
1213
1213
|
updated_at?: Date | null | undefined;
|
|
@@ -1233,7 +1233,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1233
1233
|
invitedUserId?: string | undefined;
|
|
1234
1234
|
isAnonymous?: boolean | undefined;
|
|
1235
1235
|
submissionId?: string | undefined;
|
|
1236
|
-
submission_status?: "
|
|
1236
|
+
submission_status?: "completed" | "in_progress" | "not_started" | undefined;
|
|
1237
1237
|
}>, "many">>>;
|
|
1238
1238
|
invitee_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1239
1239
|
submissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -1309,7 +1309,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1309
1309
|
id: string;
|
|
1310
1310
|
tenant: string;
|
|
1311
1311
|
model_ver: number;
|
|
1312
|
-
status: "
|
|
1312
|
+
status: "completed" | "in_progress" | "not_started";
|
|
1313
1313
|
user_name: string;
|
|
1314
1314
|
modified_after_completion: boolean;
|
|
1315
1315
|
answer_count: number;
|
|
@@ -1339,7 +1339,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1339
1339
|
}, {
|
|
1340
1340
|
id: string;
|
|
1341
1341
|
tenant: string;
|
|
1342
|
-
status: "
|
|
1342
|
+
status: "completed" | "in_progress" | "not_started";
|
|
1343
1343
|
ref?: any;
|
|
1344
1344
|
model_ver?: number | undefined;
|
|
1345
1345
|
created_at?: Date | null | undefined;
|
|
@@ -1377,7 +1377,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1377
1377
|
id: string;
|
|
1378
1378
|
tenant: string;
|
|
1379
1379
|
model_ver: number;
|
|
1380
|
-
status: "draft" | "
|
|
1380
|
+
status: "draft" | "open" | "closed" | "in_progress" | "paused";
|
|
1381
1381
|
start_date: Date | null;
|
|
1382
1382
|
end_date: Date | null;
|
|
1383
1383
|
submission_count: number;
|
|
@@ -1428,7 +1428,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1428
1428
|
id: string;
|
|
1429
1429
|
tenant: string;
|
|
1430
1430
|
model_ver: number;
|
|
1431
|
-
status: "
|
|
1431
|
+
status: "completed" | "in_progress" | "not_started";
|
|
1432
1432
|
user_name: string;
|
|
1433
1433
|
modified_after_completion: boolean;
|
|
1434
1434
|
answer_count: number;
|
|
@@ -1463,7 +1463,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1463
1463
|
model_ver: number;
|
|
1464
1464
|
phone: string;
|
|
1465
1465
|
isAnonymous: boolean;
|
|
1466
|
-
submission_status: "
|
|
1466
|
+
submission_status: "completed" | "in_progress" | "not_started";
|
|
1467
1467
|
ref?: any;
|
|
1468
1468
|
created_at?: Date | null | undefined;
|
|
1469
1469
|
updated_at?: Date | null | undefined;
|
|
@@ -1478,7 +1478,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1478
1478
|
name: string;
|
|
1479
1479
|
id: string;
|
|
1480
1480
|
tenant: string;
|
|
1481
|
-
status: "draft" | "
|
|
1481
|
+
status: "draft" | "open" | "closed" | "in_progress" | "paused";
|
|
1482
1482
|
start_date: Date | null;
|
|
1483
1483
|
end_date: Date | null;
|
|
1484
1484
|
allow_edit_answers: boolean;
|
|
@@ -1522,7 +1522,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1522
1522
|
submissions?: {
|
|
1523
1523
|
id: string;
|
|
1524
1524
|
tenant: string;
|
|
1525
|
-
status: "
|
|
1525
|
+
status: "completed" | "in_progress" | "not_started";
|
|
1526
1526
|
ref?: any;
|
|
1527
1527
|
model_ver?: number | undefined;
|
|
1528
1528
|
created_at?: Date | null | undefined;
|
|
@@ -1570,7 +1570,7 @@ export declare const zSurveyDeploymentSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1570
1570
|
invitedUserId?: string | undefined;
|
|
1571
1571
|
isAnonymous?: boolean | undefined;
|
|
1572
1572
|
submissionId?: string | undefined;
|
|
1573
|
-
submission_status?: "
|
|
1573
|
+
submission_status?: "completed" | "in_progress" | "not_started" | undefined;
|
|
1574
1574
|
}[] | null | undefined;
|
|
1575
1575
|
invitee_count?: number | undefined;
|
|
1576
1576
|
submission_not_started_count?: number | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,9 +15,8 @@ export * from "./types/evo-med/people";
|
|
|
15
15
|
export * from "./types/evo-med/procedure";
|
|
16
16
|
export * from "./types/evo-calendar";
|
|
17
17
|
export * from "./types/evo-task";
|
|
18
|
+
export * from "./types/evo-tags";
|
|
18
19
|
export * from "./types/evo-survey";
|
|
19
|
-
export * from "./types/evo-cake";
|
|
20
|
-
export * from "./types/evo-meeting";
|
|
21
20
|
|
|
22
21
|
// zod schemas
|
|
23
22
|
export * from "./apps/shared/zod-schemas";
|
|
@@ -35,7 +34,6 @@ export * from "./apps/evo-med/insurance/zod-schemas";
|
|
|
35
34
|
export * from "./apps/evo-med/people/zod-schemas";
|
|
36
35
|
export * from "./apps/evo-med/procedure/zod-schemas";
|
|
37
36
|
export * from "./apps/evo-calendar/zod-schemas";
|
|
37
|
+
export * from "./apps/evo-tags/zod-schemas";
|
|
38
38
|
export * from "./apps/evo-task/zod-schemas";
|
|
39
39
|
export * from "./apps/evo-survey/zod-schemas";
|
|
40
|
-
export * from "./apps/evo-cake/zod-schemas";
|
|
41
|
-
export * from "./apps/evo-meeting/zod-schemas";
|
package/dist/index.js
CHANGED
|
@@ -30,11 +30,9 @@ __exportStar(require("./types/evo-med/insurance"), exports);
|
|
|
30
30
|
__exportStar(require("./types/evo-med/people"), exports);
|
|
31
31
|
__exportStar(require("./types/evo-med/procedure"), exports);
|
|
32
32
|
__exportStar(require("./types/evo-calendar"), exports);
|
|
33
|
+
__exportStar(require("./types/evo-tags"), exports);
|
|
33
34
|
__exportStar(require("./types/evo-task"), exports);
|
|
34
35
|
__exportStar(require("./types/evo-survey"), exports);
|
|
35
|
-
__exportStar(require("./types/evo-cake"), exports);
|
|
36
|
-
__exportStar(require("./types/evo-meeting"), exports);
|
|
37
|
-
__exportStar(require("./types/evo-tags"), exports);
|
|
38
36
|
// zod schemas
|
|
39
37
|
__exportStar(require("./apps/shared/zod-schemas"), exports);
|
|
40
38
|
__exportStar(require("./apps/evo-core/zod-schemas"), exports);
|
|
@@ -51,8 +49,6 @@ __exportStar(require("./apps/evo-med/insurance/zod-schemas"), exports);
|
|
|
51
49
|
__exportStar(require("./apps/evo-med/people/zod-schemas"), exports);
|
|
52
50
|
__exportStar(require("./apps/evo-med/procedure/zod-schemas"), exports);
|
|
53
51
|
__exportStar(require("./apps/evo-calendar/zod-schemas"), exports);
|
|
52
|
+
__exportStar(require("./apps/evo-tags/zod-schemas"), exports);
|
|
54
53
|
__exportStar(require("./apps/evo-task/zod-schemas"), exports);
|
|
55
54
|
__exportStar(require("./apps/evo-survey/zod-schemas"), exports);
|
|
56
|
-
__exportStar(require("./apps/evo-cake/zod-schemas"), exports);
|
|
57
|
-
__exportStar(require("./apps/evo-meeting/zod-schemas"), exports);
|
|
58
|
-
__exportStar(require("./apps/evo-tags/zod-schemas"), exports);
|
package/dist/index.ts
CHANGED
|
@@ -14,11 +14,9 @@ export * from "./types/evo-med/insurance";
|
|
|
14
14
|
export * from "./types/evo-med/people";
|
|
15
15
|
export * from "./types/evo-med/procedure";
|
|
16
16
|
export * from "./types/evo-calendar";
|
|
17
|
+
export * from "./types/evo-tags";
|
|
17
18
|
export * from "./types/evo-task";
|
|
18
19
|
export * from "./types/evo-survey";
|
|
19
|
-
export * from "./types/evo-cake";
|
|
20
|
-
export * from "./types/evo-meeting";
|
|
21
|
-
export * from "./types/evo-tags";
|
|
22
20
|
|
|
23
21
|
// zod schemas
|
|
24
22
|
export * from "./apps/shared/zod-schemas";
|
|
@@ -36,8 +34,6 @@ export * from "./apps/evo-med/insurance/zod-schemas";
|
|
|
36
34
|
export * from "./apps/evo-med/people/zod-schemas";
|
|
37
35
|
export * from "./apps/evo-med/procedure/zod-schemas";
|
|
38
36
|
export * from "./apps/evo-calendar/zod-schemas";
|
|
37
|
+
export * from "./apps/evo-tags/zod-schemas";
|
|
39
38
|
export * from "./apps/evo-task/zod-schemas";
|
|
40
39
|
export * from "./apps/evo-survey/zod-schemas";
|
|
41
|
-
export * from "./apps/evo-cake/zod-schemas";
|
|
42
|
-
export * from "./apps/evo-meeting/zod-schemas";
|
|
43
|
-
export * from "./apps/evo-tags/zod-schemas";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./fb_collections";
|
|
2
2
|
import type { CalendarAction } from "../evo-calendar";
|
|
3
|
-
import type { MeetingAction } from "../evo-meeting";
|
|
4
3
|
import type { MedPeopleAction } from "../evo-med/people";
|
|
5
4
|
import type { SurveyAction, SurveyDeploymentAction } from "../evo-survey";
|
|
6
5
|
import type { TaskAction } from "../evo-task";
|
|
@@ -21,7 +20,7 @@ export interface IActivityEvent extends IFireDoc {
|
|
|
21
20
|
creatorPath?: string;
|
|
22
21
|
docPath?: string;
|
|
23
22
|
app: EvoApp;
|
|
24
|
-
type: CalendarAction |
|
|
23
|
+
type: CalendarAction | MedPeopleAction | SurveyAction | SurveyDeploymentAction | TaskAction | TenantAction;
|
|
25
24
|
readStatus: ActivityReadStatus;
|
|
26
25
|
metadata?: Record<string, any>;
|
|
27
26
|
tags?: ITag[] | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./fb_collections";
|
|
2
2
|
import type { CalendarAction } from "../evo-calendar";
|
|
3
|
-
import type { MeetingAction } from "../evo-meeting";
|
|
4
3
|
import type { MedPeopleAction } from "../evo-med/people";
|
|
5
4
|
import type { SurveyAction, SurveyDeploymentAction } from "../evo-survey";
|
|
6
5
|
import type { TaskAction } from "../evo-task";
|
|
@@ -15,6 +14,7 @@ export type ActivityReadStatus =
|
|
|
15
14
|
| "archived"
|
|
16
15
|
| "dismissed"
|
|
17
16
|
| "snoozed";
|
|
17
|
+
|
|
18
18
|
export enum IActivityReadStatus {
|
|
19
19
|
New = "new",
|
|
20
20
|
Unread = "unread",
|
|
@@ -33,7 +33,6 @@ export interface IActivityEvent extends IFireDoc {
|
|
|
33
33
|
app: EvoApp;
|
|
34
34
|
type:
|
|
35
35
|
| CalendarAction
|
|
36
|
-
| MeetingAction
|
|
37
36
|
| MedPeopleAction
|
|
38
37
|
| SurveyAction
|
|
39
38
|
| SurveyDeploymentAction
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./fb_collections";
|
|
2
2
|
import type { FirestoreDocumentReference, IFireDoc, ITag } from "../shared";
|
|
3
|
-
import type { MeetingType } from "../evo-meeting";
|
|
4
3
|
export type CalendarAction = "CREATE_EVENT" | "DELETE_EVENT" | "UPDATE_EVENT";
|
|
5
4
|
export declare enum ICalendarAction {
|
|
6
5
|
Create_event = "CREATE_EVENT",
|
|
@@ -22,7 +21,6 @@ export declare enum ICalendarEventType {
|
|
|
22
21
|
}
|
|
23
22
|
export interface IEventMeeting {
|
|
24
23
|
meetingRef?: FirestoreDocumentReference;
|
|
25
|
-
type: MeetingType;
|
|
26
24
|
readonly task_count?: number;
|
|
27
25
|
readonly talkingPoints_count?: number;
|
|
28
26
|
tags?: ITag[] | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./fb_collections";
|
|
2
2
|
import type { FirestoreDocumentReference, IFireDoc, ITag } from "../shared";
|
|
3
|
-
import type { MeetingType } from "../evo-meeting";
|
|
4
3
|
|
|
5
4
|
// ----- CalendarTypes
|
|
6
5
|
// Enum for Calendar Action - used in Activities tracking
|
|
@@ -31,7 +30,6 @@ export enum ICalendarEventType {
|
|
|
31
30
|
// Interface for Meeting within a Event (meetingTasks)
|
|
32
31
|
export interface IEventMeeting {
|
|
33
32
|
meetingRef?: FirestoreDocumentReference; // Reference to the original task
|
|
34
|
-
type: MeetingType; // Type of meeting
|
|
35
33
|
readonly task_count?: number;
|
|
36
34
|
readonly talkingPoints_count?: number;
|
|
37
35
|
tags?: ITag[] | null;
|