1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-26 23:09:46 +02:00
bitwarden-browser/libs/common/spec
Matt Gibson e045c6b103
Ps/introduce single user state (#7053)
* Specify state provider for currently active user

* Split active and single user States

UserStateProvider is still the mechanism to build each State object.
The SingleUserState is basically a repeat of GlobalState, but with
additional scoping.

* Fixup global state cache

* fix fakers to new interface

* Make userId available in single user state

* Split providers by dependency requirements

This allows usage of the single state provider in contexts that would
otherwise form circular dependencies.

* Offer convenience wrapper classes for common use

* Import for docs

* Bind wrapped methods
2023-12-05 10:20:16 -05:00
..
matchers [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
fake-state-provider.ts Ps/introduce single user state (#7053) 2023-12-05 10:20:16 -05:00
fake-state.ts Ps/introduce single user state (#7053) 2023-12-05 10:20:16 -05:00
fake-storage.service.ts [PM-4561] Migrate Browser Account Settings (#6886) 2023-11-17 08:20:42 -06:00
index.ts [PM-2132] Move all specs to the src directory (#5367) 2023-05-09 11:27:09 +02:00
intercept-console.ts [PM-2132] Move all specs to the src directory (#5367) 2023-05-09 11:27:09 +02:00
utils.ts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00