@esb-market-contracts/admin-backend 1.4.9 → 1.4.10
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 +5 -5
- package/enums.d.ts +3 -3
- package/enums.js +3 -3
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -17,28 +17,28 @@ declare const authRouter: import("hono/hono-base").HonoBase<{}, {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
} & {
|
|
20
|
-
"/iam/authentication/
|
|
20
|
+
"/iam/authentication/logout": {
|
|
21
21
|
$post: {
|
|
22
22
|
input: {};
|
|
23
23
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
24
|
-
|
|
24
|
+
[x: string]: never;
|
|
25
25
|
}>;
|
|
26
26
|
outputFormat: "json";
|
|
27
27
|
status: 200;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
} & {
|
|
31
|
-
"/iam/authentication/
|
|
31
|
+
"/iam/authentication/refresh": {
|
|
32
32
|
$post: {
|
|
33
33
|
input: {};
|
|
34
34
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
35
|
-
|
|
35
|
+
accessToken: string;
|
|
36
36
|
}>;
|
|
37
37
|
outputFormat: "json";
|
|
38
38
|
status: 200;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
}, "/iam/authentication", "/iam/authentication/
|
|
41
|
+
}, "/iam/authentication", "/iam/authentication/refresh">;
|
|
42
42
|
export type AuthRouter = typeof authRouter;
|
|
43
43
|
|
|
44
44
|
export {};
|
package/enums.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const pbacPermissionsArray: readonly [
|
|
4
4
|
"employee.create",
|
|
5
5
|
"employee.read",
|
|
6
6
|
"employee.update"
|
|
7
7
|
];
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const pbacPermissions: {
|
|
9
9
|
"EMPLOYEE.CREATE": "employee.create";
|
|
10
10
|
"EMPLOYEE.READ": "employee.read";
|
|
11
11
|
"EMPLOYEE.UPDATE": "employee.update";
|
|
12
12
|
};
|
|
13
|
-
export type PBACPermission = (typeof
|
|
13
|
+
export type PBACPermission = (typeof pbacPermissionsArray)[number];
|
|
14
14
|
|
|
15
15
|
export {};
|
package/enums.js
CHANGED
|
@@ -4,8 +4,8 @@ function createStringEnumRecord(values) {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// src/app/domain/(iam)/employees-permissions/employees-permissions.enums.ts
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var pbacPermissionsArray = ["employee.create", "employee.read", "employee.update"];
|
|
8
|
+
var pbacPermissions = createStringEnumRecord(pbacPermissionsArray);
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
pbacPermissions
|
|
11
11
|
};
|
package/package.json
CHANGED