@hasna/contacts 0.6.35 → 0.6.36

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/README.md CHANGED
@@ -139,7 +139,16 @@ database.
139
139
 
140
140
  ## Data Directory
141
141
 
142
- Data is stored in `~/.hasna/contacts/`.
142
+ On-box data resolves through the XDG dirs per `@hasna/paths`:
143
+
144
+ - documents, the SQLite store, `config.json` and the vault config live in the
145
+ **XDG data root**: `~/.local/share/hasna/contacts/` (or `$HASNA_DATA_HOME/contacts`).
146
+ - the vault session state lives in the **XDG state root**:
147
+ `~/.local/state/hasna/contacts/` (or `$HASNA_STATE_HOME/contacts`).
148
+
149
+ The legacy `~/.hasna/contacts/` home is never written to; on first use any
150
+ pre-existing legacy store is adopted into the XDG roots (never clobbering an
151
+ existing XDG store).
143
152
 
144
153
  ## License
145
154
 
@@ -1 +1 @@
1
- {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/advanced.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAo5B/D"}
1
+ {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/advanced.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAs5B/D"}