@likewatt/models 1.35.0 → 1.36.0
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/Scenario.d.ts +1 -0
- package/dist/core/Scenario.js +7 -0
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -184,6 +184,7 @@ export declare class ScenarioType extends Scenario {
|
|
|
184
184
|
isACCScenario?: boolean;
|
|
185
185
|
scenarioOption?: string;
|
|
186
186
|
siteId: string;
|
|
187
|
+
isLeads?: boolean;
|
|
187
188
|
}
|
|
188
189
|
export type ScenarioTypeDocument = ScenarioType & Document;
|
|
189
190
|
export declare const ScenarioTypeSchema: MSchema<ScenarioType, import("mongoose").Model<ScenarioType, any, any, any, Document<unknown, any, ScenarioType, any, {}> & ScenarioType & Required<{
|
package/dist/core/Scenario.js
CHANGED
|
@@ -632,6 +632,13 @@ __decorate([
|
|
|
632
632
|
(0, class_validator_1.IsString)(),
|
|
633
633
|
__metadata("design:type", String)
|
|
634
634
|
], ScenarioType.prototype, "siteId", void 0);
|
|
635
|
+
__decorate([
|
|
636
|
+
(0, swagger_1.ApiPropertyOptional)({ example: false }),
|
|
637
|
+
(0, mongoose_1.Prop)({ default: false }),
|
|
638
|
+
(0, class_validator_1.IsOptional)(),
|
|
639
|
+
(0, class_validator_1.IsBoolean)(),
|
|
640
|
+
__metadata("design:type", Boolean)
|
|
641
|
+
], ScenarioType.prototype, "isLeads", void 0);
|
|
635
642
|
exports.ScenarioType = ScenarioType = __decorate([
|
|
636
643
|
(0, mongoose_1.Schema)()
|
|
637
644
|
], ScenarioType);
|