Protected ReadonlycontainerProtected ReadonlyloggerProtected ReadonlysourceProtectedgetRecursively iterates through the container to find all documents.
ProtectedidentifierConverts an internal identifier to an external key.
ProtectedkeyConverts a key into an identifier for internal storage.
ProtectedsafelyReturns 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.