@smithers-orchestrator/errors 0.25.1 → 0.25.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithers-orchestrator/errors",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "description": "Error types, tagged errors, and error utilities for Smithers",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/index.d.ts CHANGED
@@ -679,6 +679,14 @@ declare namespace smithersErrorDefinitions {
679
679
  let details_mig: string;
680
680
  export { details_mig as details };
681
681
  }
682
+ namespace SMITHERS_BACKEND_CONFLICT {
683
+ let category_backend_conflict: string;
684
+ export { category_backend_conflict as category };
685
+ let when_backend_conflict: string;
686
+ export { when_backend_conflict as when };
687
+ let details_backend_conflict: string;
688
+ export { details_backend_conflict as details };
689
+ }
682
690
  namespace STORAGE_ERROR {
683
691
  let category_70: string;
684
692
  export { category_70 as category };
@@ -345,8 +345,13 @@ export const smithersErrorDefinitions = {
345
345
  },
346
346
  SMITHERS_MIGRATION_REQUIRED: {
347
347
  category: "cli",
348
- when: "A legacy SQLite store holds run data but the resolved backend is pglite/postgres with no migrated.json, or the store schema version is unsatisfiable in place.",
349
- details: "{ dbPath, runCount, schemaVersion, resolvedBackend }",
348
+ when: "A physical Smithers store holds run data but the resolved backend points at another store with no migrated.json receipt, or the store schema version is unsatisfiable in place.",
349
+ details: "{ sourceBackend, targetBackend, dbPath?, location?, runCount, schemaVersion, resolvedBackend? }",
350
+ },
351
+ SMITHERS_BACKEND_CONFLICT: {
352
+ category: "cli",
353
+ when: "Multiple Smithers backend stores contain run history and no migrated.json receipt explains the divergence.",
354
+ details: "{ populatedBackends, stores }",
350
355
  },
351
356
  STORAGE_ERROR: {
352
357
  category: "database",