@haex-space/vault-sdk 2.2.4 → 2.2.6
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/dist/cli/index.js +53 -29
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +49 -25
- package/dist/cli/index.mjs.map +1 -1
- package/dist/{client-BbGCsMv1.d.mts → client-DeP-DCz5.d.ts} +2 -209
- package/dist/{client-BbGCsMv1.d.ts → client-wxMr0ONL.d.mts} +2 -209
- package/dist/config-D_HXjsEV.d.mts +33 -0
- package/dist/config-D_HXjsEV.d.ts +33 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +14 -21
- package/dist/node.d.ts +14 -21
- package/dist/node.js +55 -0
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +55 -1
- package/dist/node.mjs.map +1 -1
- package/dist/nuxt.js +2 -1
- package/dist/nuxt.js.map +1 -1
- package/dist/nuxt.mjs +2 -1
- package/dist/nuxt.mjs.map +1 -1
- package/dist/react.d.mts +2 -1
- package/dist/react.d.ts +2 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.d.mts +2 -1
- package/dist/runtime/nuxt.plugin.client.d.ts +2 -1
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.d.mts +2 -1
- package/dist/svelte.d.ts +2 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/types-DiGbHxTr.d.mts +216 -0
- package/dist/types-DiGbHxTr.d.ts +216 -0
- package/dist/vue.d.mts +2 -1
- package/dist/vue.d.ts +2 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
interface HaextensionConfig {
|
|
2
|
+
dev?: {
|
|
3
|
+
port?: number;
|
|
4
|
+
host?: string;
|
|
5
|
+
haextension_dir?: string;
|
|
6
|
+
};
|
|
7
|
+
keys?: {
|
|
8
|
+
public_key_path?: string;
|
|
9
|
+
private_key_path?: string;
|
|
10
|
+
};
|
|
11
|
+
build?: {
|
|
12
|
+
distDir?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Source path for migrations directory (relative to project root).
|
|
15
|
+
* If manifest.migrationsDir is set, this directory will be copied
|
|
16
|
+
* to the bundle at the path specified in migrationsDir.
|
|
17
|
+
* Default: "app/{migrationsDir}" (for Nuxt projects)
|
|
18
|
+
* Example: "app/database/migrations" -> copies to "database/migrations" in bundle
|
|
19
|
+
*/
|
|
20
|
+
migrationsSourceDir?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Read haextension.config.json from the project root
|
|
25
|
+
* Returns null if file doesn't exist
|
|
26
|
+
*/
|
|
27
|
+
declare function readHaextensionConfig(rootDir?: string): HaextensionConfig | null;
|
|
28
|
+
/**
|
|
29
|
+
* Get extension directory from config or use default
|
|
30
|
+
*/
|
|
31
|
+
declare function getExtensionDir(rootDir?: string): string;
|
|
32
|
+
|
|
33
|
+
export { type HaextensionConfig as H, getExtensionDir as g, readHaextensionConfig as r };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { H as
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { H as HaexVaultClient } from './client-wxMr0ONL.mjs';
|
|
2
|
+
export { D as DatabaseAPI, F as FilesystemAPI, P as PermissionsAPI, W as WebAPI } from './client-wxMr0ONL.mjs';
|
|
3
|
+
import { H as HaexHubConfig } from './types-DiGbHxTr.mjs';
|
|
4
|
+
export { A as ApplicationContext, C as ContextChangedEvent, r as DEFAULT_TIMEOUT, m as DatabaseColumnInfo, k as DatabaseExecuteParams, i as DatabasePermission, d as DatabasePermissionRequest, j as DatabaseQueryParams, D as DatabaseQueryResult, l as DatabaseTableInfo, q as ErrorCode, e as EventCallback, a as ExtensionInfo, E as ExtensionManifest, t as HAEXTENSION_EVENTS, s as HaexHubError, h as HaexHubEvent, f as HaexHubRequest, g as HaexHubResponse, u as HaextensionEvent, P as PermissionResponse, p as PermissionStatus, n as SearchQuery, o as SearchRequestEvent, S as SearchResult, T as TABLE_SEPARATOR, W as WebRequestOptions, c as WebResponse } from './types-DiGbHxTr.mjs';
|
|
5
|
+
export { H as HaextensionConfig } from './config-D_HXjsEV.mjs';
|
|
4
6
|
import 'drizzle-orm/sqlite-proxy';
|
|
5
7
|
|
|
6
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { H as
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { H as HaexVaultClient } from './client-DeP-DCz5.js';
|
|
2
|
+
export { D as DatabaseAPI, F as FilesystemAPI, P as PermissionsAPI, W as WebAPI } from './client-DeP-DCz5.js';
|
|
3
|
+
import { H as HaexHubConfig } from './types-DiGbHxTr.js';
|
|
4
|
+
export { A as ApplicationContext, C as ContextChangedEvent, r as DEFAULT_TIMEOUT, m as DatabaseColumnInfo, k as DatabaseExecuteParams, i as DatabasePermission, d as DatabasePermissionRequest, j as DatabaseQueryParams, D as DatabaseQueryResult, l as DatabaseTableInfo, q as ErrorCode, e as EventCallback, a as ExtensionInfo, E as ExtensionManifest, t as HAEXTENSION_EVENTS, s as HaexHubError, h as HaexHubEvent, f as HaexHubRequest, g as HaexHubResponse, u as HaextensionEvent, P as PermissionResponse, p as PermissionStatus, n as SearchQuery, o as SearchRequestEvent, S as SearchResult, T as TABLE_SEPARATOR, W as WebRequestOptions, c as WebResponse } from './types-DiGbHxTr.js';
|
|
5
|
+
export { H as HaextensionConfig } from './config-D_HXjsEV.js';
|
|
4
6
|
import 'drizzle-orm/sqlite-proxy';
|
|
5
7
|
|
|
6
8
|
/**
|