Files
directus/src/stores/app/index.ts
Rijk van Zanten a2ba2c8783 Add fields store (#144)
* Add fields store

* Add test coverage for fields store

* Remove hydration tests

It doesn't do anything itself, but just calls init / reset methods of stores

* Rename store methods to hydrate / dehydrate

* DRY that sucker

* Move hydration logic into a store

* Fix tests for new store

* Rename hydrate store to app store, fix tests in auth

* Fix tests of router

* Fix tests in module-bar-logo

* bunch of things

* Fix tests in hydrate

* Fix router tests

* Clean up auth tests

* Update tests for collections / fields stores

* Use stores instead of mocks in tests

* Add test for store getter in collections
2020-03-11 10:36:39 -04:00

5 lines
90 B
TypeScript

import { useAppStore } from './app';
export { useAppStore };
export default useAppStore;