evo360-types 1.3.164 → 1.3.165
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-core/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-core/zod-schemas.js +1 -0
- package/dist/apps/evo-core/zod-schemas.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/types/evo-core/rbac/index.d.ts +1 -0
- package/dist/types/evo-core/rbac/index.ts +1 -0
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
37
37
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
38
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
39
39
|
}, {
|
|
40
|
+
display_name: z.ZodString;
|
|
40
41
|
status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
|
|
41
42
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
42
43
|
perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
@@ -49,6 +50,7 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
49
50
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
50
51
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
51
52
|
}, {
|
|
53
|
+
display_name: z.ZodString;
|
|
52
54
|
status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
|
|
53
55
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
54
56
|
perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
@@ -61,6 +63,7 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
61
63
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
62
64
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
63
65
|
}, {
|
|
66
|
+
display_name: z.ZodString;
|
|
64
67
|
status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
|
|
65
68
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
66
69
|
perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
@@ -36,6 +36,7 @@ exports.zUserTenantIndexStatusSchema = zod_1.z.enum([
|
|
|
36
36
|
*/
|
|
37
37
|
exports.zTenantUserSchema = zod_schemas_1.zFireDocSchema
|
|
38
38
|
.extend({
|
|
39
|
+
display_name: zod_1.z.string(),
|
|
39
40
|
status: exports.zTenantUserStatusSchema,
|
|
40
41
|
roles: zod_1.z.array(zod_1.z.string()),
|
|
41
42
|
perms: zod_1.z.record(zod_1.z.boolean()),
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @evo360/types/index.ts
|
|
1
2
|
export * from "./types/shared";
|
|
2
3
|
export * from "./types/firebase/pubsub-sync";
|
|
3
4
|
export * from "./types/evo-core";
|
|
@@ -13,9 +14,11 @@ export * from "./types/evo-med/dic";
|
|
|
13
14
|
export * from "./types/evo-med/insurance";
|
|
14
15
|
export * from "./types/evo-med/people";
|
|
15
16
|
export * from "./types/evo-med/procedure";
|
|
16
|
-
export * from "./types/evo-tags";
|
|
17
17
|
export * from "./types/evo-task";
|
|
18
|
+
export * from "./types/evo-tags";
|
|
18
19
|
export * from "./types/evo-survey";
|
|
20
|
+
|
|
21
|
+
// zod schemas
|
|
19
22
|
export * from "./apps/shared/zod-schemas";
|
|
20
23
|
export * from "./apps/evo-core/zod-schemas";
|
|
21
24
|
export * from "./apps/evo-tenant/zod-schemas";
|
|
@@ -46,6 +46,7 @@ export type UserTenantIndexStatus = (typeof UserTenantIndexStatusEnum)[keyof typ
|
|
|
46
46
|
* Path: /tenants/{tenant}/users/{userId}
|
|
47
47
|
*/
|
|
48
48
|
export interface ITenantUser extends IFireDoc {
|
|
49
|
+
display_name: string;
|
|
49
50
|
status: TenantUserStatus;
|
|
50
51
|
/**
|
|
51
52
|
* Array of role IDs assigned to the user in this tenant.
|