@addsign/moje-agenda-shared-lib 0.0.41 → 0.0.42

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +6 -3
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -16,6 +16,9 @@ export interface IUserInfo {
16
16
  positionNumber: string;
17
17
  userId: string;
18
18
  }
19
+ export interface IEmployee extends IUserInfo {
20
+ posistionId: number;
21
+ }
19
22
  export type IAuthApps = string[];
20
23
  export interface IEventMessage {
21
24
  message?: string;
@@ -53,9 +56,9 @@ export interface IPosition {
53
56
  title: string;
54
57
  }
55
58
  export interface IPositionEmployee extends IPosition {
56
- employee: IUserInfo;
59
+ employee: IEmployee;
57
60
  }
58
- export interface IEmployeePosition extends IUserInfo {
61
+ export interface IEmployeePosition extends IEmployee {
59
62
  position: IPosition;
60
63
  }
61
64
  export type { ICalendarItem } from './components/Calendar';
@@ -70,7 +73,7 @@ export interface ITimeOffData {
70
73
  days?: number;
71
74
  year?: number;
72
75
  comment?: string;
73
- applicant?: IUserInfo;
76
+ applicant?: IEmployee;
74
77
  place?: string;
75
78
  leaveType?: string;
76
79
  initiator?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@addsign/moje-agenda-shared-lib",
3
3
  "private": false,
4
- "version": "0.0.41",
4
+ "version": "0.0.42",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",