@taladb/node 0.8.4 → 0.9.1
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/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare class TalaDbNode {
|
|
|
15
15
|
* `sync-http` feature is compiled in, an `HttpSyncHook` is attached to
|
|
16
16
|
* every collection returned by `collection()`.
|
|
17
17
|
*/
|
|
18
|
-
static open(path: string, configJson?: string | undefined | null): TalaDbNode
|
|
18
|
+
static open(path: string, configJson?: string | undefined | null, passphrase?: string | undefined | null): TalaDbNode
|
|
19
19
|
/**
|
|
20
20
|
* Compact the underlying storage file, reclaiming space freed by deletes
|
|
21
21
|
* and updates. Call during idle periods after large bulk deletes or
|
|
@@ -81,6 +81,10 @@ export declare class CollectionNode {
|
|
|
81
81
|
createIndex(field: string): void
|
|
82
82
|
/** Drop a secondary index. */
|
|
83
83
|
dropIndex(field: string): void
|
|
84
|
+
/** Create a compound (multi-field) index over an ordered list of fields. */
|
|
85
|
+
createCompoundIndex(fields: Array<string>): void
|
|
86
|
+
/** Drop a compound index by its ordered field list. */
|
|
87
|
+
dropCompoundIndex(fields: Array<string>): void
|
|
84
88
|
/**
|
|
85
89
|
* Create a vector index on `field`.
|
|
86
90
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taladb/node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "TalaDB Node.js native module — document queries and vector search via napi-rs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "napi build --platform --release --js index.js --dts index.d.ts",
|
|
48
48
|
"build:debug": "napi build --platform --js index.js --dts index.d.ts",
|
|
49
|
-
"test": "jest"
|
|
49
|
+
"test": "jest --passWithNoTests"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|