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.
@@ -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()),
@@ -39,6 +39,7 @@ export const zUserTenantIndexStatusSchema = z.enum([
39
39
  */
40
40
  export const zTenantUserSchema = zFireDocSchema
41
41
  .extend({
42
+ display_name: z.string(),
42
43
  status: zTenantUserStatusSchema,
43
44
  roles: z.array(z.string()),
44
45
  perms: z.record(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.
@@ -62,6 +62,7 @@ export type UserTenantIndexStatus =
62
62
  * Path: /tenants/{tenant}/users/{userId}
63
63
  */
64
64
  export interface ITenantUser extends IFireDoc {
65
+ display_name: string;
65
66
  status: TenantUserStatus;
66
67
  // tenant field from IFireDoc represents the tenant
67
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.164",
3
+ "version": "1.3.165",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",