@hasna/search 0.0.6 → 0.0.8

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
@@ -33,14 +33,17 @@ search-serve
33
33
 
34
34
  ## Cloud Sync
35
35
 
36
- This package supports cloud sync via `@hasna/cloud`:
36
+ Cloud sync is optional. By default search uses local SQLite at `~/.hasna/search/`.
37
37
 
38
38
  ```bash
39
- cloud setup
40
- cloud sync push --service search
41
- cloud sync pull --service search
39
+ search cloud status
40
+ search cloud push
41
+ search cloud pull
42
+ search cloud sync
42
43
  ```
43
44
 
45
+ Set `HASNA_SEARCH_CLOUD_DATABASE_URL` or configure `~/.hasna/search/cloud/config.json` to run in hybrid/cloud mode with PostgreSQL.
46
+
44
47
  ## Data Directory
45
48
 
46
49
  Data is stored in `~/.hasna/search/`.
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerCloudCommands(program: Command): void;
3
+ //# sourceMappingURL=cloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud.d.ts","sourceRoot":"","sources":["../../src/cli/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyBzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAyG5D"}