@addsign/moje-agenda-shared-lib 0.0.21 → 0.0.23
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/types.d.ts
CHANGED
|
@@ -15,9 +15,7 @@ export interface IUserInfo {
|
|
|
15
15
|
positionNumber: string;
|
|
16
16
|
userId: string;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
19
|
-
[index: number]: string;
|
|
20
|
-
}
|
|
18
|
+
export type IAuthApps = string[];
|
|
21
19
|
export interface IContextValue {
|
|
22
20
|
userInfo: IUserInfo;
|
|
23
21
|
apiClient: AxiosInstance;
|
|
@@ -34,7 +32,7 @@ export type IFormProps = {
|
|
|
34
32
|
context: unknown;
|
|
35
33
|
onSuccess: (path: string, message?: string) => void;
|
|
36
34
|
};
|
|
37
|
-
export interface
|
|
35
|
+
export interface IPosition {
|
|
38
36
|
id: number;
|
|
39
37
|
departmentId: string;
|
|
40
38
|
positionName: string;
|
|
@@ -42,5 +40,10 @@ export interface IPositionEmployee {
|
|
|
42
40
|
manager: string;
|
|
43
41
|
virtual: boolean;
|
|
44
42
|
title: string;
|
|
43
|
+
}
|
|
44
|
+
export interface IPositionEmployee extends IPosition {
|
|
45
45
|
employee: IUserInfo;
|
|
46
46
|
}
|
|
47
|
+
export interface IEmployeePosition extends IUserInfo {
|
|
48
|
+
position: IPosition;
|
|
49
|
+
}
|