graphddb 0.1.1 → 0.2.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/README.md +130 -11
- package/dist/{chunk-6LEHSX45.js → chunk-4B4MUPUJ.js} +3037 -1143
- package/dist/{chunk-347U24SB.js → chunk-PWV7JDMR.js} +353 -37
- package/dist/{chunk-UNRQ5YJT.js → chunk-SBNP62H7.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +61 -3334
- package/dist/index.js +187 -1881
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.js +2 -2
- package/dist/types-DPJ4tPjX.d.ts +4607 -0
- package/package.json +1 -1
- package/dist/types-CDrWiPxp.d.ts +0 -1203
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Executor, D as DynamoDBOperation, a as ExecutorResult, B as BatchGetExecInput, P as PutInput, W as WriteExecOptions, b as WriteResult, U as UpdateInput, c as DeleteInput, d as BatchWriteExecItem, T as TransactWriteExecItem, M as ModelStatic, e as DDBModel, C as ChangeEvent } from '../types-
|
|
1
|
+
import { E as Executor, D as DynamoDBOperation, a as ExecutorResult, B as BatchGetExecInput, P as PutInput, W as WriteExecOptions, b as WriteResult, U as UpdateInput, c as DeleteInput, d as BatchWriteExecItem, T as TransactWriteExecItem, M as ModelStatic, e as DDBModel, C as ChangeEvent } from '../types-DPJ4tPjX.js';
|
|
2
2
|
import '@aws-sdk/client-dynamodb';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -95,7 +95,7 @@ declare class MemoryExecutor implements Executor {
|
|
|
95
95
|
* `graphddb/testing` — the in-process test adapter entry point (issue #76).
|
|
96
96
|
*
|
|
97
97
|
* `createTestDB()` installs a {@link MemoryExecutor} as GraphDDB's I/O seam, so
|
|
98
|
-
* `Model.
|
|
98
|
+
* `Model.putItem/query/list/updateItem/...`, the planner, hydrator and relation
|
|
99
99
|
* traversal all run against an in-memory store — **no DynamoDB, no Docker**.
|
|
100
100
|
* The returned `db.testing` is a {@link MemoryInspector} for asserting the
|
|
101
101
|
* **physical** layout (PK/SK/GSI as stored, no hydration), seeding fixtures,
|
package/dist/testing/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCdcEmulator
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-SBNP62H7.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientManager,
|
|
6
6
|
MetadataRegistry,
|
|
7
7
|
TableMapping,
|
|
8
8
|
resolveModelClass
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-PWV7JDMR.js";
|
|
10
10
|
|
|
11
11
|
// src/memory/memory-store.ts
|
|
12
12
|
function deepClone(value) {
|