@esb-market-contracts/admin-backend 1.5.10 → 1.6.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/api.d.ts +6 -0
- package/enums.d.ts +4 -0
- package/enums.js +2 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -119,7 +119,12 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
119
119
|
status: 200;
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
|
+
}, "/iam/management", "/iam/management/employees/permissions">;
|
|
123
|
+
declare const managementCUDRouter: import("hono/hono-base").HonoBase<{
|
|
124
|
+
Variables: VariablesWithActor;
|
|
122
125
|
} & {
|
|
126
|
+
Variables: VariablesWithActor;
|
|
127
|
+
}, {
|
|
123
128
|
"/iam/management/employees/create": {
|
|
124
129
|
$post: {
|
|
125
130
|
input: {
|
|
@@ -169,5 +174,6 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
169
174
|
};
|
|
170
175
|
}, "/iam/management", "/iam/management/employees/reactivate">;
|
|
171
176
|
export type ManagementRouter = typeof managementRouter;
|
|
177
|
+
export type ManagementCUDRouter = typeof managementCUDRouter;
|
|
172
178
|
|
|
173
179
|
export {};
|
package/enums.d.ts
CHANGED
package/enums.js
CHANGED
|
@@ -7,5 +7,6 @@ function createStringEnumRecord(values) {
|
|
|
7
7
|
var pbacPermissionsArray = ["employee.create", "employee.read", "employee.update"];
|
|
8
8
|
var pbacPermissions = createStringEnumRecord(pbacPermissionsArray);
|
|
9
9
|
export {
|
|
10
|
-
pbacPermissions
|
|
10
|
+
pbacPermissions,
|
|
11
|
+
pbacPermissions as permissions
|
|
11
12
|
};
|
package/package.json
CHANGED