evo360-types 1.3.178 → 1.3.180

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.
@@ -41,6 +41,7 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
41
41
  status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
42
42
  roles: z.ZodArray<z.ZodString, "many">;
43
43
  perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
44
+ picture_url: z.ZodOptional<z.ZodString>;
44
45
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
45
46
  id: z.ZodString;
46
47
  ref: z.ZodAny;
@@ -54,6 +55,7 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
54
55
  status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
55
56
  roles: z.ZodArray<z.ZodString, "many">;
56
57
  perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
58
+ picture_url: z.ZodOptional<z.ZodString>;
57
59
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
58
60
  id: z.ZodString;
59
61
  ref: z.ZodAny;
@@ -67,6 +69,7 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
67
69
  status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
68
70
  roles: z.ZodArray<z.ZodString, "many">;
69
71
  perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
72
+ picture_url: z.ZodOptional<z.ZodString>;
70
73
  }>, z.ZodTypeAny, "passthrough">>;
71
74
  /**
72
75
  * Schema for IUserTenantIndex (inverted index)
@@ -41,6 +41,7 @@ exports.zTenantUserSchema = zod_schemas_1.zFireDocSchema
41
41
  status: exports.zTenantUserStatusSchema,
42
42
  roles: zod_1.z.array(zod_1.z.string()),
43
43
  perms: zod_1.z.record(zod_1.z.boolean()),
44
+ picture_url: zod_1.z.string().optional(),
44
45
  })
45
46
  .passthrough();
46
47
  /**
@@ -44,6 +44,7 @@ export const zTenantUserSchema = zFireDocSchema
44
44
  status: zTenantUserStatusSchema,
45
45
  roles: z.array(z.string()),
46
46
  perms: z.record(z.boolean()),
47
+ picture_url: z.string().optional(),
47
48
  })
48
49
  .passthrough();
49
50
 
@@ -1 +1,2 @@
1
+ export declare const EVO_CORE_APP = "evo-core";
1
2
  export declare const CORE_COLLECTION = "core";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CORE_COLLECTION = void 0;
3
+ exports.CORE_COLLECTION = exports.EVO_CORE_APP = void 0;
4
+ //EVO CRM Application Doc
5
+ exports.EVO_CORE_APP = "evo-core";
4
6
  // CORE Firestore Collections
5
7
  exports.CORE_COLLECTION = "core";
@@ -1,2 +1,6 @@
1
+ //EVO CRM Application Doc
2
+ export const EVO_CORE_APP = "evo-core";
3
+
1
4
  // CORE Firestore Collections
2
5
  export const CORE_COLLECTION = "core";
6
+
@@ -71,6 +71,10 @@ export interface ITenantUser extends IFireDoc {
71
71
  perms: {
72
72
  [permissionKey: string]: boolean;
73
73
  };
74
+ /**
75
+ * User picture URL.
76
+ */
77
+ picture_url?: null | string;
74
78
  }
75
79
  /**
76
80
  * Inverted index for listing tenants accessible by a user.
@@ -90,6 +90,11 @@ export interface ITenantUser extends IFireDoc {
90
90
  perms: {
91
91
  [permissionKey: string]: boolean;
92
92
  };
93
+
94
+ /**
95
+ * User picture URL.
96
+ */
97
+ picture_url?: null | string;
93
98
  }
94
99
 
95
100
  // ----- User Tenant Index (ÍNDICE INVERTIDO)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.178",
3
+ "version": "1.3.180",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",