@powerhousedao/switchboard 6.2.3-dev.44 → 6.2.3-dev.45
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/.tsbuild/test/durable-node-fs-pg16.test.d.ts +2 -0
- package/.tsbuild/test/durable-node-fs-pg16.test.d.ts.map +1 -0
- package/.tsbuild/test/pglite-preflight.test.d.ts +2 -0
- package/.tsbuild/test/pglite-preflight.test.d.ts.map +1 -0
- package/.tsbuild/test/snapshot-writer.d.ts +18 -0
- package/.tsbuild/test/snapshot-writer.d.ts.map +1 -0
- package/.tsbuild/test/workflow-reactor-access.test.d.ts +2 -0
- package/.tsbuild/test/workflow-reactor-access.test.d.ts.map +1 -0
- package/.tsbuild/test/workflow-reactor-enforcement.test.d.ts +2 -0
- package/.tsbuild/test/workflow-reactor-enforcement.test.d.ts.map +1 -0
- package/.tsbuild/tsconfig.tsbuildinfo +1 -1
- package/CHANGELOG.md +28 -0
- package/dist/index.mjs +1 -1
- package/dist/{server-Bk_IZzCn.mjs → server-Dvw8_NeM.mjs} +256 -77
- package/dist/server-Dvw8_NeM.mjs.map +1 -0
- package/dist/server.d.mts +3 -1
- package/dist/server.d.mts.map +1 -1
- package/dist/server.mjs +3 -3
- package/package.json +15 -16
- package/test/boot-unsupported-stored-documents.test.ts +5 -5
- package/test/durable-node-fs-pg16.test.ts +80 -0
- package/test/pglite-dialect.test.ts +28 -0
- package/test/pglite-preflight.test.ts +313 -0
- package/test/pglite-version.test.ts +9 -1
- package/test/snapshot-writer.ts +94 -0
- package/test/worker-pool.test.ts +27 -1
- package/test/workflow/resolvers.test.ts +26 -0
- package/test/workflow-reactor-access.test.ts +384 -0
- package/test/workflow-reactor-enforcement.test.ts +805 -0
- package/test/workflow-runtime.test.ts +53 -0
- package/tsconfig.json +0 -3
- package/dist/server-Bk_IZzCn.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"durable-node-fs-pg16.test.d.ts","sourceRoot":"","sources":["../../test/durable-node-fs-pg16.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pglite-preflight.test.d.ts","sourceRoot":"","sources":["../../test/pglite-preflight.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface SnapshotEntry {
|
|
2
|
+
type: 0 | 1;
|
|
3
|
+
mode: number;
|
|
4
|
+
relPath: string;
|
|
5
|
+
data?: Buffer;
|
|
6
|
+
}
|
|
7
|
+
export interface WriteSnapshotOptions {
|
|
8
|
+
/** Root-level names to leave out. Defaults to the snapshot files. */
|
|
9
|
+
skip?: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare function collectDiskEntries(dataDir: string, options?: WriteSnapshotOptions): Promise<SnapshotEntry[]>;
|
|
12
|
+
export declare function encodeSnapshot(entries: SnapshotEntry[]): Buffer;
|
|
13
|
+
/** Serializes `dataDir` into `snapshotPath`. Returns the entry count and size. */
|
|
14
|
+
export declare function writeSnapshotFromDir(dataDir: string, snapshotPath: string, options?: WriteSnapshotOptions): Promise<{
|
|
15
|
+
entries: number;
|
|
16
|
+
bytes: number;
|
|
17
|
+
}>;
|
|
18
|
+
//# sourceMappingURL=snapshot-writer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-writer.d.ts","sourceRoot":"","sources":["../../test/snapshot-writer.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,aAAa,EAAE,CAAC,CAyB1B;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,MAAM,CAqB/D;AAED,kFAAkF;AAClF,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAY7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-reactor-access.test.d.ts","sourceRoot":"","sources":["../../test/workflow-reactor-access.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-reactor-enforcement.test.d.ts","sourceRoot":"","sources":["../../test/workflow-reactor-enforcement.test.ts"],"names":[],"mappings":""}
|