mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-29 12:55:21 +01:00
e1b5b83723
* Add StateDefinition
Add a class for encapsulation information about state
this will often be for a domain but creations of this will
exist outside of a specific domain, hence just the name State.
* Add KeyDefinition
This adds a type that extends state definition into another sub-key
and forces creators to define the data that will be stored and how
to read the data that they expect to be stored.
* Add key-builders helper functions
Adds to function to help building keys for both keys scoped
to a specific user and for keys scoped to global storage.
Co-authored-by: Matt Gibson <MGibson1@users.noreply.github.com>
* Add updates$ stream to existing storageServices
Original commit by Matt:
|
||
---|---|---|
.. | ||
spec | ||
src | ||
custom-matchers.d.ts | ||
jest.config.js | ||
package.json | ||
test.setup.ts | ||
tsconfig.json | ||
tsconfig.spec.json |