@likewatt/models 1.74.0 → 1.75.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
|
@@ -187,6 +187,7 @@ export declare class ScenarioType extends Scenario {
|
|
|
187
187
|
scenarioOption?: string;
|
|
188
188
|
siteId: string;
|
|
189
189
|
isLeads?: boolean;
|
|
190
|
+
order?: number;
|
|
190
191
|
}
|
|
191
192
|
export type ScenarioTypeDocument = ScenarioType & Document;
|
|
192
193
|
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
|
@@ -681,6 +681,13 @@ __decorate([
|
|
|
681
681
|
(0, class_validator_1.IsBoolean)(),
|
|
682
682
|
__metadata("design:type", Boolean)
|
|
683
683
|
], ScenarioType.prototype, "isLeads", void 0);
|
|
684
|
+
__decorate([
|
|
685
|
+
(0, swagger_1.ApiPropertyOptional)({ example: 0, description: 'Ordre du scénario leads (drag & drop)' }),
|
|
686
|
+
(0, mongoose_1.Prop)({ type: Number, required: false }),
|
|
687
|
+
(0, class_validator_1.IsOptional)(),
|
|
688
|
+
(0, class_validator_1.IsNumber)(),
|
|
689
|
+
__metadata("design:type", Number)
|
|
690
|
+
], ScenarioType.prototype, "order", void 0);
|
|
684
691
|
exports.ScenarioType = ScenarioType = __decorate([
|
|
685
692
|
(0, mongoose_1.Schema)({
|
|
686
693
|
timestamps: true,
|