WorkspaceBatch
Nodepod API / src / WorkspaceBatch
Interface: WorkspaceBatch
Section titled “Interface: WorkspaceBatch”Defined in: src/persistence/workspace/types.ts:36
A set of changes to apply atomically, in this order: deletePrefixes,
deletePaths, putEntries, putBlobs, deleteBlobs. Large saves send
blob-only batches first; those must not make a never-saved workspace
load() as saved.
Properties
Section titled “Properties”deleteBlobs
Section titled “deleteBlobs”deleteBlobs:
string[]
Defined in: src/persistence/workspace/types.ts:43
deletePaths
Section titled “deletePaths”deletePaths:
string[]
Defined in: src/persistence/workspace/types.ts:39
deletePrefixes
Section titled “deletePrefixes”deletePrefixes:
string[]
Defined in: src/persistence/workspace/types.ts:38
Delete the entry at each path and every entry below it.
putBlobs
Section titled “putBlobs”putBlobs:
object[]
Defined in: src/persistence/workspace/types.ts:42
Create or overwrite blobs. data is never a view into a larger buffer.
data:
Uint8Array
id:
string
putEntries
Section titled “putEntries”putEntries:
WorkspaceEntry[]
Defined in: src/persistence/workspace/types.ts:40