@dreamlake/dreamdb 0.5.1 → 0.5.3
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/LICENSE-APACHE +20 -0
- package/LICENSE-MIT +21 -0
- package/README.md +24 -3
- package/browser/dreamdb.d.ts +185 -2
- package/browser/dreamdb.js +1 -1
- package/browser/dreamdb_bg.js +723 -5
- package/browser/dreamdb_bg.wasm +0 -0
- package/browser/dreamdb_bg.wasm.d.ts +35 -2
- package/browser-extras.mjs +82 -7
- package/browser.mjs +7 -0
- package/index.d.ts +328 -8
- package/node/dreamdb.cjs +858 -9
- package/node/dreamdb.d.cts +250 -6
- package/node/dreamdb_bg.wasm +0 -0
- package/node/dreamdb_bg.wasm.d.ts +42 -3
- package/node.mjs +5 -4
- package/package.json +4 -2
- package/web/dreamdb.d.ts +220 -4
- package/web/dreamdb.js +730 -5
- package/web/dreamdb_bg.wasm +0 -0
- package/web/dreamdb_bg.wasm.d.ts +35 -2
- package/web.mjs +5 -0
package/web/dreamdb_bg.wasm
CHANGED
|
Binary file
|
package/web/dreamdb_bg.wasm.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_geometryreader_free: (a: number, b: number) => void;
|
|
4
5
|
export const __wbg_s3backend_free: (a: number, b: number) => void;
|
|
5
6
|
export const __wbg_space_free: (a: number, b: number) => void;
|
|
6
7
|
export const __wbg_writer_free: (a: number, b: number) => void;
|
|
@@ -9,38 +10,70 @@ export const addressVariant: (a: number, b: number) => [number, number, number,
|
|
|
9
10
|
export const bytesToBase32: (a: number, b: number) => [number, number];
|
|
10
11
|
export const decodeCbor: (a: number, b: number) => [number, number, number];
|
|
11
12
|
export const encodeCbor: (a: any) => [number, number, number, number];
|
|
13
|
+
export const geometryreader_extendCellPrefix: (a: number, b: any, c: any) => any;
|
|
14
|
+
export const geometryreader_metadata: (a: number) => [number, number, number];
|
|
15
|
+
export const geometryreader_readMeshLod: (a: number, b: any) => any;
|
|
16
|
+
export const geometryreader_selectCells: (a: number, b: any, c: any) => [number, number, number];
|
|
12
17
|
export const modalityParse: (a: number, b: number) => [number, number, number];
|
|
13
18
|
export const multihashBase32: (a: number, b: number) => [number, number];
|
|
14
19
|
export const multihashHex: (a: number, b: number) => [number, number];
|
|
15
20
|
export const rangeHeader: (a: bigint, b: bigint) => [number, number, number, number];
|
|
16
21
|
export const s3backend_get: (a: number, b: number, c: number, d: any) => any;
|
|
22
|
+
export const s3backend_getStream: (a: number, b: number, c: number) => any;
|
|
17
23
|
export const s3backend_list: (a: number, b: number, c: number) => any;
|
|
18
24
|
export const s3backend_new: (a: number, b: number) => number;
|
|
25
|
+
export const space_auditArrayField: (a: number, b: number, c: number) => any;
|
|
26
|
+
export const space_auditGraphIndex: (a: number, b: number, c: number) => any;
|
|
19
27
|
export const space_connectorBase: (a: number) => [number, number];
|
|
28
|
+
export const space_description: (a: number) => any;
|
|
20
29
|
export const space_fromUri: (a: number, b: number, c: any) => any;
|
|
30
|
+
export const space_getEntity: (a: number, b: any) => any;
|
|
21
31
|
export const space_history: (a: number, b: number) => any;
|
|
22
32
|
export const space_manifestHash: (a: number) => [number, number];
|
|
33
|
+
export const space_openGeometryItem: (a: number, b: number, c: number, d: any) => any;
|
|
23
34
|
export const space_queryHybrid: (a: number, b: number, c: number, d: any) => any;
|
|
35
|
+
export const space_queryHybridPlanned: (a: number, b: number, c: number, d: any) => any;
|
|
24
36
|
export const space_queryScalar: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
25
37
|
export const space_queryText: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
26
38
|
export const space_queryVector: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
39
|
+
export const space_readArrayColumn: (a: number, b: number, c: number) => any;
|
|
40
|
+
export const space_readArrayConstant: (a: number, b: number, c: number) => any;
|
|
41
|
+
export const space_readArrayItem: (a: number, b: number, c: number, d: any) => any;
|
|
27
42
|
export const space_readScalarColumn: (a: number, b: any, c: any) => any;
|
|
43
|
+
export const space_readVideoItemRange: (a: number, b: number, c: number, d: any, e: any, f: any) => any;
|
|
28
44
|
export const space_resolveObjectIndex: (a: number, b: any) => any;
|
|
45
|
+
export const space_semanticCacheCapacity: (a: number) => any;
|
|
46
|
+
export const space_semanticCacheStats: (a: number) => any;
|
|
47
|
+
export const space_setSemanticCacheCapacity: (a: number, b: number) => any;
|
|
29
48
|
export const space_timelineId: (a: number) => [number, number, number, number];
|
|
30
|
-
export const space_trackFor: (a: number, b: number, c: number) =>
|
|
31
|
-
export const space_tracks: (a: number) =>
|
|
49
|
+
export const space_trackFor: (a: number, b: number, c: number) => [number, number, number];
|
|
50
|
+
export const space_tracks: (a: number) => [number, number, number];
|
|
51
|
+
export const space_videoItemAt: (a: number, b: number, c: number, d: any) => any;
|
|
52
|
+
export const space_videoItemByKey: (a: number, b: number, c: number, d: any) => any;
|
|
32
53
|
export const spatialKeyRoundTrip: (a: number, b: number) => [number, number, number, number];
|
|
33
54
|
export const timeAnchorFromHex: (a: number, b: number) => [bigint, number, number];
|
|
34
55
|
export const timeAnchorHex: (a: bigint) => [number, number];
|
|
35
56
|
export const timeBucket: (a: bigint, b: number, c: number) => [bigint, number, number];
|
|
57
|
+
export const typedArrayDecode: (a: any, b: number, c: number) => [number, number, number];
|
|
36
58
|
export const version: () => [number, number];
|
|
59
|
+
export const writer_appendHot: (a: number, b: any, c: number) => any;
|
|
37
60
|
export const writer_appendMany: (a: number, b: any) => any;
|
|
61
|
+
export const writer_appendManyWithSpecs: (a: number, b: any, c: any) => any;
|
|
38
62
|
export const writer_commit: (a: number) => any;
|
|
63
|
+
export const writer_configureHotShard: (a: number, b: number, c: number) => [number, number];
|
|
64
|
+
export const writer_createEntity: (a: number, b: any, c: any, d: number) => any;
|
|
65
|
+
export const writer_deleteEntity: (a: number, b: any, c: any) => any;
|
|
39
66
|
export const writer_deleteRecords: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
67
|
+
export const writer_enableEntityKeys: (a: number, b: number, c: number) => any;
|
|
68
|
+
export const writer_flushHot: (a: number) => any;
|
|
40
69
|
export const writer_manifestHash: (a: number) => [number, number, number, number];
|
|
41
70
|
export const writer_open: (a: number, b: number, c: any) => any;
|
|
71
|
+
export const writer_publishGeometryCells: (a: number, b: number, c: number, d: any, e: any, f: any, g: any) => any;
|
|
72
|
+
export const writer_publishGeometryMesh: (a: number, b: number, c: number, d: any, e: any, f: any) => any;
|
|
42
73
|
export const writer_refName: (a: number) => [number, number];
|
|
43
74
|
export const writer_snapshot: (a: number, b: number, c: number) => any;
|
|
75
|
+
export const writer_supersedeEntity: (a: number, b: any, c: any, d: any, e: number) => any;
|
|
76
|
+
export const writer_upsertEntity: (a: number, b: any, c: any, d: number, e: number) => any;
|
|
44
77
|
export const zeroSpatialKey: () => [number, number];
|
|
45
78
|
export const __wasm_init: () => void;
|
|
46
79
|
export const wasm_bindgen_f7c54996eb9137d9___convert__closures_____invoke___wasm_bindgen_f7c54996eb9137d9___JsValue__core_7d5f0a2ba6a62c33___result__Result_____wasm_bindgen_f7c54996eb9137d9___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
package/web.mjs
CHANGED
|
@@ -9,6 +9,11 @@ import init from './web/dreamdb.js'
|
|
|
9
9
|
export * from './web/dreamdb.js'
|
|
10
10
|
export { ZERO_SPATIAL_KEY, PresignedBackend, Authoring } from './browser-extras.mjs'
|
|
11
11
|
|
|
12
|
+
// See browser.mjs — same `write` feature set, same missing method.
|
|
13
|
+
import { Writer as _W } from './web/dreamdb.js'
|
|
14
|
+
import { installIngestCmafStub as _stub } from './browser-extras.mjs'
|
|
15
|
+
_stub(_W)
|
|
16
|
+
|
|
12
17
|
let started
|
|
13
18
|
/** Fetch and instantiate the wasm. Idempotent; await before anything else. */
|
|
14
19
|
export default function ready(input) {
|