@likewatt/models 1.75.0 → 1.76.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/Site.d.ts +11 -0
- package/dist/core/Site.js +7 -0
- package/package.json +1 -1
package/dist/core/Site.d.ts
CHANGED
|
@@ -51,6 +51,17 @@ export declare class Site {
|
|
|
51
51
|
*/
|
|
52
52
|
automaticUpdateErrorCode?: string | null;
|
|
53
53
|
automaticUpdateRetryAt?: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* `true` once BullMQ has exhausted all auto-retries for a transient error
|
|
56
|
+
* (no more `RETRY_LONG` attempts left). The front uses this to enable the
|
|
57
|
+
* manual "Réessayer" button: while BullMQ is still pending a retry the
|
|
58
|
+
* button stays hidden, and once the worker has given up we surface it so
|
|
59
|
+
* the user can re-launch on demand.
|
|
60
|
+
*
|
|
61
|
+
* `false` while retries are still pending. `null` on clean sites or
|
|
62
|
+
* UNRECOVERABLE errors (the latter has its own UI flow — fix input).
|
|
63
|
+
*/
|
|
64
|
+
automaticUpdateRetryExhausted?: boolean | null;
|
|
54
65
|
scenario?: string;
|
|
55
66
|
user?: string;
|
|
56
67
|
profile?: Profiles;
|
package/dist/core/Site.js
CHANGED
|
@@ -241,6 +241,13 @@ __decorate([
|
|
|
241
241
|
(0, class_transformer_1.Type)(() => Date),
|
|
242
242
|
__metadata("design:type", Object)
|
|
243
243
|
], Site.prototype, "automaticUpdateRetryAt", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
246
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|
|
247
|
+
(0, class_validator_1.IsOptional)(),
|
|
248
|
+
(0, class_validator_1.IsBoolean)(),
|
|
249
|
+
__metadata("design:type", Object)
|
|
250
|
+
], Site.prototype, "automaticUpdateRetryExhausted", void 0);
|
|
244
251
|
__decorate([
|
|
245
252
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
246
253
|
(0, mongoose_1.Prop)({ type: String, ref: 'Scenario' }),
|