Deletes the value stored for the given key.
An iterable of entries in the storage.
Returns the value stored for the given identifier.
undefined
if no value is stored.
Recursively iterates through the container to find all documents.
Checks if there is a value stored for the given key.
Converts an internal identifier to an external key.
Converts a key into an identifier for internal storage.
Returns the representation for the given identifier. Returns undefined if a 404 error is thrown. Re-throws the error in all other cases.
Sets the value for the given key.
A KeyValueStorage for JSON-like objects using a ResourceStore as backend.
Creates a base URL by joining the input base URL with the container string. The storage assumes it has ownership over all entries in the target container so no other classes should access resources there to prevent issues.
Assumes the input keys can be safely used to generate identifiers, which will be appended to the stored base URL.
All non-404 errors will be re-thrown.