@peac/capture-core 0.10.9 → 0.10.11

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/testkit.js DELETED
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /**
3
- * @peac/capture-core/testkit
4
- *
5
- * In-memory implementations for testing.
6
- * NOT for production use - use @peac/capture-node for durable storage.
7
- *
8
- * @example
9
- * ```typescript
10
- * import {
11
- * createInMemorySpoolStore,
12
- * createInMemoryDedupeIndex,
13
- * } from '@peac/capture-core/testkit';
14
- * ```
15
- */
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.createInMemoryDedupeIndex = exports.createInMemorySpoolStore = exports.InMemoryDedupeIndex = exports.InMemorySpoolStore = void 0;
18
- var memory_1 = require("./memory");
19
- Object.defineProperty(exports, "InMemorySpoolStore", { enumerable: true, get: function () { return memory_1.InMemorySpoolStore; } });
20
- Object.defineProperty(exports, "InMemoryDedupeIndex", { enumerable: true, get: function () { return memory_1.InMemoryDedupeIndex; } });
21
- Object.defineProperty(exports, "createInMemorySpoolStore", { enumerable: true, get: function () { return memory_1.createInMemorySpoolStore; } });
22
- Object.defineProperty(exports, "createInMemoryDedupeIndex", { enumerable: true, get: function () { return memory_1.createInMemoryDedupeIndex; } });
23
- //# sourceMappingURL=testkit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testkit.js","sourceRoot":"","sources":["../src/testkit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAEH,mCAKkB;AAJhB,4GAAA,kBAAkB,OAAA;AAClB,6GAAA,mBAAmB,OAAA;AACnB,kHAAA,wBAAwB,OAAA;AACxB,mHAAA,yBAAyB,OAAA"}
package/dist/types.js DELETED
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * @peac/capture-core - Type Definitions
4
- *
5
- * Runtime-neutral types for the capture pipeline.
6
- * NO Node.js APIs, NO fs, NO path - pure types and interfaces only.
7
- *
8
- * Filesystem implementations belong in @peac/capture-node.
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.SIZE_CONSTANTS = exports.DEFAULT_TRUNCATE_THRESHOLD = exports.GENESIS_DIGEST = void 0;
12
- // =============================================================================
13
- // Constants
14
- // =============================================================================
15
- /**
16
- * Genesis digest - the "prev" digest for the first entry in a spool.
17
- * 64 zeros represents "no previous entry".
18
- */
19
- exports.GENESIS_DIGEST = '0'.repeat(64);
20
- /**
21
- * Default truncation threshold: 1MB (1024 * 1024 bytes).
22
- */
23
- exports.DEFAULT_TRUNCATE_THRESHOLD = 1024 * 1024;
24
- /**
25
- * Size constants for truncation algorithms.
26
- */
27
- exports.SIZE_CONSTANTS = {
28
- K: 1024, // 1 KB
29
- M: 1024 * 1024, // 1 MB
30
- TRUNC_64K: 64 * 1024, // 64 KB
31
- TRUNC_1M: 1024 * 1024, // 1 MB
32
- };
33
- //# sourceMappingURL=types.js.map
package/dist/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AA6VH,gFAAgF;AAChF,YAAY;AACZ,gFAAgF;AAEhF;;;GAGG;AACU,QAAA,cAAc,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAE7C;;GAEG;AACU,QAAA,0BAA0B,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtD;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,CAAC,EAAE,IAAI,EAAE,OAAO;IAChB,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,OAAO;IACvB,SAAS,EAAE,EAAE,GAAG,IAAI,EAAE,QAAQ;IAC9B,QAAQ,EAAE,IAAI,GAAG,IAAI,EAAE,OAAO;CACtB,CAAC"}