@likewatt/models 1.0.31 → 1.0.33
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/core/ScenarioDefaultValue.d.ts +7 -8
- package/dist/core/ScenarioDefaultValue.js +0 -10
- package/dist/index.d.ts +26 -0
- package/dist/index.js +26 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Document } from 'mongoose';
|
|
2
2
|
import { DefaultPPATarif } from './internal/default-ppa-tarif';
|
|
3
3
|
import { PowerCostConfig } from './internal/power-cost-config';
|
|
4
4
|
import { BatteryParams } from './internal/battery-params';
|
|
@@ -39,7 +39,6 @@ export declare enum ConsumptionReference {
|
|
|
39
39
|
CUSTOM = "CUSTOM"
|
|
40
40
|
}
|
|
41
41
|
export declare class ScenarioDefaultValue {
|
|
42
|
-
readonly _id: Types.ObjectId;
|
|
43
42
|
defaultPPATarif: DefaultPPATarif;
|
|
44
43
|
VERSION: number;
|
|
45
44
|
version: number;
|
|
@@ -84,12 +83,12 @@ export declare class ScenarioDefaultValue {
|
|
|
84
83
|
updatedAt?: Date;
|
|
85
84
|
}
|
|
86
85
|
export type ScenarioDefaultValueDocument = ScenarioDefaultValue & Document;
|
|
87
|
-
export declare const ScenarioDefaultValueSchema: import("mongoose").Schema<ScenarioDefaultValue, import("mongoose").Model<ScenarioDefaultValue, any, any, any, Document<unknown, any, ScenarioDefaultValue, any> & ScenarioDefaultValue &
|
|
88
|
-
_id: Types.ObjectId;
|
|
89
|
-
}
|
|
86
|
+
export declare const ScenarioDefaultValueSchema: import("mongoose").Schema<ScenarioDefaultValue, import("mongoose").Model<ScenarioDefaultValue, any, any, any, Document<unknown, any, ScenarioDefaultValue, any> & ScenarioDefaultValue & {
|
|
87
|
+
_id: import("mongoose").Types.ObjectId;
|
|
88
|
+
} & {
|
|
90
89
|
__v: number;
|
|
91
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ScenarioDefaultValue, Document<unknown, {}, import("mongoose").FlatRecord<ScenarioDefaultValue>, {}> & import("mongoose").FlatRecord<ScenarioDefaultValue> &
|
|
92
|
-
_id: Types.ObjectId;
|
|
93
|
-
}
|
|
90
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ScenarioDefaultValue, Document<unknown, {}, import("mongoose").FlatRecord<ScenarioDefaultValue>, {}> & import("mongoose").FlatRecord<ScenarioDefaultValue> & {
|
|
91
|
+
_id: import("mongoose").Types.ObjectId;
|
|
92
|
+
} & {
|
|
94
93
|
__v: number;
|
|
95
94
|
}>;
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.ScenarioDefaultValueSchema = exports.ScenarioDefaultValue = exports.ConsumptionReference = exports.UseCase = exports.TrackerType = exports.FinancingTypeEnum = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const mongoose_2 = require("mongoose");
|
|
16
15
|
const class_validator_1 = require("class-validator");
|
|
17
16
|
const default_ppa_tarif_1 = require("./internal/default-ppa-tarif");
|
|
18
17
|
const power_cost_config_1 = require("./internal/power-cost-config");
|
|
@@ -60,15 +59,6 @@ var ConsumptionReference;
|
|
|
60
59
|
let ScenarioDefaultValue = class ScenarioDefaultValue {
|
|
61
60
|
};
|
|
62
61
|
exports.ScenarioDefaultValue = ScenarioDefaultValue;
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, swagger_1.ApiProperty)({
|
|
65
|
-
description: 'Identifiant unique MongoDB',
|
|
66
|
-
example: '2M61PGSm7lRpqXeaDacbAYOLTYG3',
|
|
67
|
-
type: mongoose_2.Types.ObjectId,
|
|
68
|
-
readOnly: true,
|
|
69
|
-
}),
|
|
70
|
-
__metadata("design:type", mongoose_2.Types.ObjectId)
|
|
71
|
-
], ScenarioDefaultValue.prototype, "_id", void 0);
|
|
72
62
|
__decorate([
|
|
73
63
|
(0, swagger_1.ApiProperty)({ type: default_ppa_tarif_1.DefaultPPATarif }),
|
|
74
64
|
(0, mongoose_1.Prop)({ type: default_ppa_tarif_1.DefaultPPATarif, required: true }),
|
package/dist/index.d.ts
CHANGED
|
@@ -11,14 +11,40 @@ export * from './core/TypeORM/UsersFilters';
|
|
|
11
11
|
export * from './core/TypeORM/Optimization';
|
|
12
12
|
export * from './core/TypeORM/WebhookOutput';
|
|
13
13
|
export * from './core/internal/enums';
|
|
14
|
+
export * from './core/internal/battery-params';
|
|
14
15
|
export * from './core/internal/bounding-box';
|
|
15
16
|
export * from './core/internal/building-data';
|
|
16
17
|
export * from './core/internal/building-stats';
|
|
17
18
|
export * from './core/internal/consumption-indexes';
|
|
19
|
+
export * from './core/internal/conversion-params';
|
|
18
20
|
export * from './core/internal/customer-infos.model';
|
|
19
21
|
export * from './core/internal/data-source-history';
|
|
22
|
+
export * from './core/internal/default-ppa-tarif';
|
|
23
|
+
export * from './core/internal/ecs-params';
|
|
24
|
+
export * from './core/internal/electrolyse-params';
|
|
25
|
+
export * from './core/internal/energy-inflation-rate';
|
|
20
26
|
export * from './core/internal/energy-price.model';
|
|
21
27
|
export * from './core/internal/energy-price-tempo.model';
|
|
28
|
+
export * from './core/internal/financing-type';
|
|
29
|
+
export * from './core/internal/folder.model';
|
|
30
|
+
export * from './core/internal/fuel-cell-params';
|
|
31
|
+
export * from './core/internal/generator-params';
|
|
32
|
+
export * from './core/internal/grid-params';
|
|
33
|
+
export * from './core/internal/h2-storage-params';
|
|
34
|
+
export * from './core/internal/imagery-date';
|
|
35
|
+
export * from './core/internal/power-cost-config';
|
|
36
|
+
export * from './core/internal/pv-params';
|
|
37
|
+
export * from './core/internal/pv2-paramsSchema';
|
|
38
|
+
export * from './core/internal/rate-of-growth-params';
|
|
39
|
+
export * from './core/internal/rest-of-the-years-tarif';
|
|
40
|
+
export * from './core/internal/scenario-params';
|
|
41
|
+
export * from './core/internal/solar-potential';
|
|
42
|
+
export * from './core/internal/station-params';
|
|
43
|
+
export * from './core/internal/thermal-storage-params';
|
|
44
|
+
export * from './core/internal/vs-params';
|
|
45
|
+
export * from './core/internal/wind-turbine-params';
|
|
46
|
+
export * from './core/internal/tracker';
|
|
47
|
+
export * from './core/internal/optimization-params';
|
|
22
48
|
export * from './core/internal/imagery-date';
|
|
23
49
|
export * from './core/internal/off-peak-hour.model';
|
|
24
50
|
export * from './core/internal/peak-hour.model';
|
package/dist/index.js
CHANGED
|
@@ -31,14 +31,40 @@ __exportStar(require("./core/TypeORM/WebhookOutput"), exports);
|
|
|
31
31
|
// Enums
|
|
32
32
|
__exportStar(require("./core/internal/enums"), exports);
|
|
33
33
|
// Sub-models
|
|
34
|
+
__exportStar(require("./core/internal/battery-params"), exports);
|
|
34
35
|
__exportStar(require("./core/internal/bounding-box"), exports);
|
|
35
36
|
__exportStar(require("./core/internal/building-data"), exports);
|
|
36
37
|
__exportStar(require("./core/internal/building-stats"), exports);
|
|
37
38
|
__exportStar(require("./core/internal/consumption-indexes"), exports);
|
|
39
|
+
__exportStar(require("./core/internal/conversion-params"), exports);
|
|
38
40
|
__exportStar(require("./core/internal/customer-infos.model"), exports);
|
|
39
41
|
__exportStar(require("./core/internal/data-source-history"), exports);
|
|
42
|
+
__exportStar(require("./core/internal/default-ppa-tarif"), exports);
|
|
43
|
+
__exportStar(require("./core/internal/ecs-params"), exports);
|
|
44
|
+
__exportStar(require("./core/internal/electrolyse-params"), exports);
|
|
45
|
+
__exportStar(require("./core/internal/energy-inflation-rate"), exports);
|
|
40
46
|
__exportStar(require("./core/internal/energy-price.model"), exports);
|
|
41
47
|
__exportStar(require("./core/internal/energy-price-tempo.model"), exports);
|
|
48
|
+
__exportStar(require("./core/internal/financing-type"), exports);
|
|
49
|
+
__exportStar(require("./core/internal/folder.model"), exports);
|
|
50
|
+
__exportStar(require("./core/internal/fuel-cell-params"), exports);
|
|
51
|
+
__exportStar(require("./core/internal/generator-params"), exports);
|
|
52
|
+
__exportStar(require("./core/internal/grid-params"), exports);
|
|
53
|
+
__exportStar(require("./core/internal/h2-storage-params"), exports);
|
|
54
|
+
__exportStar(require("./core/internal/imagery-date"), exports);
|
|
55
|
+
__exportStar(require("./core/internal/power-cost-config"), exports);
|
|
56
|
+
__exportStar(require("./core/internal/pv-params"), exports);
|
|
57
|
+
__exportStar(require("./core/internal/pv2-paramsSchema"), exports);
|
|
58
|
+
__exportStar(require("./core/internal/rate-of-growth-params"), exports);
|
|
59
|
+
__exportStar(require("./core/internal/rest-of-the-years-tarif"), exports);
|
|
60
|
+
__exportStar(require("./core/internal/scenario-params"), exports);
|
|
61
|
+
__exportStar(require("./core/internal/solar-potential"), exports);
|
|
62
|
+
__exportStar(require("./core/internal/station-params"), exports);
|
|
63
|
+
__exportStar(require("./core/internal/thermal-storage-params"), exports);
|
|
64
|
+
__exportStar(require("./core/internal/vs-params"), exports);
|
|
65
|
+
__exportStar(require("./core/internal/wind-turbine-params"), exports);
|
|
66
|
+
__exportStar(require("./core/internal/tracker"), exports);
|
|
67
|
+
__exportStar(require("./core/internal/optimization-params"), exports);
|
|
42
68
|
__exportStar(require("./core/internal/imagery-date"), exports);
|
|
43
69
|
__exportStar(require("./core/internal/off-peak-hour.model"), exports);
|
|
44
70
|
__exportStar(require("./core/internal/peak-hour.model"), exports);
|