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 variant of a JsonResourceStorage where the
entries()call does not recursively iterate through all containers. Only the documents that are found in the root container are returned.This class was created to support migration where different storages are nested in one main
.internalcontainer, and we specifically want to only return entries of one storage.