@movalib/movalib-commons 1.1.71 → 1.1.72

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.
@@ -2,7 +2,7 @@ import Employee from "./Employee";
2
2
  export default class Absence {
3
3
  id: string;
4
4
  employee: Employee;
5
- start: Date;
6
- end: Date;
7
- constructor(id: string, employee: Employee, start: Date, end: Date);
5
+ startDate: Date;
6
+ endDate: Date;
7
+ constructor(id: string, employee: Employee, startDate: Date, endDate: Date);
8
8
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var Absence = /** @class */ (function () {
4
- function Absence(id, employee, start, end) {
4
+ function Absence(id, employee, startDate, endDate) {
5
5
  this.id = id;
6
6
  this.employee = employee;
7
- this.start = start;
8
- this.end = end;
7
+ this.startDate = startDate;
8
+ this.endDate = endDate;
9
9
  }
10
10
  return Absence;
11
11
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.1.71",
3
+ "version": "1.1.72",
4
4
  "description": "Bibliothèque d'objets communs à l'ensemble des projets React de Movalib",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -4,18 +4,18 @@ export default class Absence {
4
4
 
5
5
  id: string; // UUID
6
6
  employee: Employee;
7
- start: Date;
8
- end: Date;
7
+ startDate: Date;
8
+ endDate: Date;
9
9
 
10
10
  constructor(
11
11
  id: string,
12
12
  employee: Employee,
13
- start: Date,
14
- end: Date
13
+ startDate: Date,
14
+ endDate: Date
15
15
  ) {
16
16
  this.id = id;
17
17
  this.employee = employee;
18
- this.start = start;
19
- this.end = end;
18
+ this.startDate = startDate;
19
+ this.endDate = endDate;
20
20
  }
21
21
  }