@zauru-sdk/types 6.22.0 → 6.23.0
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/Custom.types.d.ts +1 -4
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -1049,8 +1049,6 @@ export type WebappRole = {
|
|
|
1049
1049
|
export type WebappEmployeeRole = {
|
|
1050
1050
|
employee_id: number;
|
|
1051
1051
|
role_id: number;
|
|
1052
|
-
allowed_item_ids?: number[];
|
|
1053
|
-
allowed_payee_ids?: number[];
|
|
1054
1052
|
fechaEliminacion?: string;
|
|
1055
1053
|
};
|
|
1056
1054
|
export type WebappAccessContext = {
|
|
@@ -1060,9 +1058,8 @@ export type WebappAccessContext = {
|
|
|
1060
1058
|
roleId: number | null;
|
|
1061
1059
|
roleName: string | null;
|
|
1062
1060
|
assignmentId: number | null;
|
|
1061
|
+
assignment: WebappEmployeeRole | null;
|
|
1063
1062
|
permissionKeys: string[];
|
|
1064
|
-
allowedItemIds: number[];
|
|
1065
|
-
allowedPayeeIds: number[];
|
|
1066
1063
|
};
|
|
1067
1064
|
export type WebappRbacConfig = {
|
|
1068
1065
|
rolesTableVar: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.23.0",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "a3c1f2af46acb59cf9fcb78ecb18d904e33c61e5"
|
|
26
26
|
}
|