Skip to content

TypeScript API / laikacms/storage/web / WebStorageDirEntry

Interface: WebStorageDirEntry ​

A directory entry derived from scanning Web Storage keys under a prefix. Web Storage is a flat key-value store; folders have no physical record and are synthesized from the common prefixes of sibling keys (the same technique storage-r2 uses for R2's flat object namespace).

Properties ​

key ​

ts
key: string;

type ​

ts
type: "dir";

Released under the MIT License.