Protected
Readonly
containerProtected
Readonly
loggerProtected
Readonly
sourceProtected
getRecursively iterates through the container to find all documents.
Protected
identifierConverts an internal identifier to an external key.
Protected
keyConverts a key into an identifier for internal storage.
Protected
safelyReturns 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.
Key to set/update.
Value to store.
The storage.
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.