@movalib/movalib-commons 1.68.0 → 1.68.1

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.
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="MaterialThemeProjectNewConfig">
4
+ <option name="metadata">
5
+ <MTProjectMetadataState>
6
+ <option name="migrated" value="true" />
7
+ <option name="pristineConfig" value="false" />
8
+ <option name="userId" value="41d9be1a:19b3189ae65:-7ffe" />
9
+ </MTProjectMetadataState>
10
+ </option>
11
+ </component>
12
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/movalib-commons.iml" filepath="$PROJECT_DIR$/.idea/movalib-commons.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -5,5 +5,7 @@ export default class VehicleGarage {
5
5
  color: string;
6
6
  type: string;
7
7
  vehicle: Vehicle;
8
- constructor(id: number, index: number, color: string, type: string, vehicle: Vehicle);
8
+ active: boolean;
9
+ archived: boolean;
10
+ constructor(id: number, index: number, color: string, type: string, vehicle: Vehicle, active: boolean, archived: boolean);
9
11
  }
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var VehicleGarage = /** @class */ (function () {
4
- function VehicleGarage(id, index, color, type, vehicle) {
4
+ function VehicleGarage(id, index, color, type, vehicle, active, archived) {
5
5
  this.id = id;
6
6
  this.index = index;
7
7
  this.color = color;
8
8
  this.type = type;
9
9
  this.vehicle = vehicle;
10
+ this.active = active;
11
+ this.archived = archived;
10
12
  }
11
13
  return VehicleGarage;
12
14
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.68.0",
3
+ "version": "1.68.1",
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",
@@ -8,13 +8,17 @@ export default class VehicleGarage {
8
8
  index: number;
9
9
  color: string;
10
10
  type: string;
11
- vehicle: Vehicle
11
+ vehicle: Vehicle;
12
+ active: boolean;
13
+ archived: boolean;
12
14
 
13
- constructor( id: number,index: number, color: string, type: string, vehicle: Vehicle) {
15
+ constructor( id: number,index: number, color: string, type: string, vehicle: Vehicle, active: boolean, archived: boolean) {
14
16
  this.id = id;
15
17
  this.index = index;
16
18
  this.color = color;
17
19
  this.type = type;
18
20
  this.vehicle = vehicle;
21
+ this.active = active;
22
+ this.archived = archived;
19
23
  }
20
24
  }