@likewatt/models-front 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.
@@ -39,6 +39,13 @@ export interface Site {
39
39
  endDate: Date | string;
40
40
  automaticUpdateError: string | null;
41
41
  automaticUpdateErrorHint?: RetryHint | null;
42
+ /**
43
+ * Structured error code (e.g. 'SGT500', 'UPSTREAM_5XX', 'NETWORK', '404').
44
+ * Preferred over parsing the `[CODE] message` prefix in
45
+ * `automaticUpdateError` — that fallback exists only for sites persisted
46
+ * before this field was added.
47
+ */
48
+ automaticUpdateErrorCode?: string | null;
42
49
  automaticUpdateRetryAt?: Date | string | null;
43
50
  scenario?: string;
44
51
  user: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.75.0",
3
+ "version": "1.76.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",