@hasna/domains 0.0.46 → 0.0.47

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.
@@ -21,9 +21,11 @@ export interface LegacyDataDirMigrationReport {
21
21
  */
22
22
  export declare function migrateLegacyDataDir(env?: NodeJS.ProcessEnv, dryRun?: boolean): LegacyDataDirMigrationReport;
23
23
  /**
24
- * The default data root: ~/.hasna/domains. Env overrides
25
- * (DOMAINS_DB_PATH / HASNA_DOMAINS_DB_PATH / DOMAINS_DIR / HASNA_DOMAINS_DIR)
26
- * are honored unchanged and win over the default.
24
+ * The default data root — the effective domains home, resolved through
25
+ * `@hasna/paths` (legacy `~/.hasna/domains` until the XDG data home is
26
+ * adopted). Env overrides (DOMAINS_DB_PATH / HASNA_DOMAINS_DB_PATH) and the
27
+ * exact-app overrides (HASNA_DOMAINS_HOME / DOMAINS_HOME / HASNA_DOMAINS_DIR /
28
+ * DOMAINS_DIR) are honored unchanged and win over the default.
27
29
  */
28
30
  export declare function getDbPath(env?: NodeJS.ProcessEnv): string;
29
31
  export declare function getDatabase(): Database;
@@ -1 +1 @@
1
- {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/db/database.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAyBtC,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,MAAM,UAAQ,GACb,4BAA4B,CAsD9B;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAgBtE;AAaD,wBAAgB,WAAW,IAAI,QAAQ,CA8CtC;AAED,wBAAgB,aAAa,IAAI,IAAI,CAKpC"}
1
+ {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/db/database.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAgCtC,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,MAAM,UAAQ,GACb,4BAA4B,CAsD9B;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAkBtE;AAaD,wBAAgB,WAAW,IAAI,QAAQ,CA8CtC;AAED,wBAAgB,aAAa,IAAI,IAAI,CAKpC"}