StorageDescription
StorageDescription = {
kind:"memory"; } | {kind:"idb";name:string; } | {kind:"file";path:string; } | {kind:"vfs";name:string;persistent?:boolean; }
Defined in: packages/pgwasm/src/interface.ts:62
Where a data directory lives, as reported by Pgwasm.storage.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ kind: "memory"; }
Type Literal
Section titled “Type Literal”{ kind: "idb"; name: string; }
Type Literal
Section titled “Type Literal”{ kind: "file"; path: string; }
Type Literal
Section titled “Type Literal”{ kind: "vfs"; name: string; persistent?: boolean; }
A filesystem passed as createPgwasm({ fs }), as its description reports it. persistent is absent
when the filesystem doesn’t declare it.