@likewatt/models 1.1.1 → 1.1.3

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,9 @@
1
+ import { Types } from "mongoose";
2
+ import { RestOfTheYearTarifs } from "../core/internal/rest-of-the-years-tarif";
3
+ import { Tarif } from "../core/internal/tarif";
4
+ export interface DefaultRate {
5
+ name?: string;
6
+ rateId: Types.ObjectId;
7
+ rates: Tarif[];
8
+ restOfTheYear: RestOfTheYearTarifs;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,8 @@ export * from './User.types';
3
3
  export * from './Scenario.types';
4
4
  export * from './CollectiveSite.types';
5
5
  export * from './ScenarioDefaultValue.types';
6
+ export * from './Invitation.types';
7
+ export * from './DefaultRate.types';
6
8
  export * from './TypeORM.types';
7
9
  export * from './enums.types';
8
10
  export * from './BatteryParams.types';
@@ -20,6 +20,8 @@ __exportStar(require("./User.types"), exports);
20
20
  __exportStar(require("./Scenario.types"), exports);
21
21
  __exportStar(require("./CollectiveSite.types"), exports);
22
22
  __exportStar(require("./ScenarioDefaultValue.types"), exports);
23
+ __exportStar(require("./Invitation.types"), exports);
24
+ __exportStar(require("./DefaultRate.types"), exports);
23
25
  // TypeORM entities
24
26
  __exportStar(require("./TypeORM.types"), exports);
25
27
  // Enums
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './core/User';
5
5
  export * from './core/License';
6
6
  export * from './core/ScenarioDefaultValue';
7
7
  export * from './core/Invitation';
8
+ export * from './core/DefaultRate';
8
9
  export * from './core/TypeORM/analysis';
9
10
  export * from './core/TypeORM/Co2History';
10
11
  export * from './core/TypeORM/EnedisReportHistory';
package/dist/index.js CHANGED
@@ -45,6 +45,7 @@ __exportStar(require("./core/User"), exports);
45
45
  __exportStar(require("./core/License"), exports);
46
46
  __exportStar(require("./core/ScenarioDefaultValue"), exports);
47
47
  __exportStar(require("./core/Invitation"), exports);
48
+ __exportStar(require("./core/DefaultRate"), exports);
48
49
  // TypeORM entities
49
50
  __exportStar(require("./core/TypeORM/analysis"), exports);
50
51
  __exportStar(require("./core/TypeORM/Co2History"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {