Options
All
  • Public
  • Public/Protected
  • All
Menu

A KeyValueStorage for JSON-like objects using a ResourceStore as backend.

The keys will be transformed so they can be safely used as a resource name in the given container. Values will be sent as data streams, so how these are stored depends on the underlying store.

All non-404 errors will be re-thrown.

Hierarchy

  • JsonResourceStorage

Implements

Index

Constructors

Properties

container: string

Methods

  • delete(key: string): Promise<boolean>
  • entries(): AsyncIterableIterator<[string, unknown]>
  • get(key: string): Promise<unknown>
  • has(key: string): Promise<boolean>
  • parseMember(member: string): string