├── .github └── workflows │ └── npm-release.yml ├── .gitignore ├── .npmignore ├── .npmrc ├── .prettierrc ├── Readme.md ├── __tests__ ├── StorageAdapter.test.ts ├── StorePersist.test.ts ├── configurePersistable.test.ts └── utils.test.ts ├── babel.config.js ├── demo-screen-shot.png ├── package.json ├── scripts └── make-release-branch.sh ├── setup-fake-timers.ts ├── src ├── PersistStore.ts ├── PersistStoreMap.ts ├── StorageAdapter.ts ├── clearPersistedStore.ts ├── configurePersistable.ts ├── getPersistedStore.ts ├── hydrateStore.ts ├── index.ts ├── isHydrated.ts ├── isPersisting.ts ├── makePersistable.ts ├── pausePersisting.ts ├── serializableProperty.ts ├── startPersisting.ts ├── stopPersisting.ts ├── types.ts └── utils.ts ├── tsconfig.esm2015.json ├── tsconfig.esm5.json └── tsconfig.json /.github/workflows/npm-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/.github/workflows/npm-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | lib/ 3 | .idea 4 | yarn-error.log 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | __tests__/ 2 | src/ -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/.prettierrc -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/Readme.md -------------------------------------------------------------------------------- /__tests__/StorageAdapter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/__tests__/StorageAdapter.test.ts -------------------------------------------------------------------------------- /__tests__/StorePersist.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/__tests__/StorePersist.test.ts -------------------------------------------------------------------------------- /__tests__/configurePersistable.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/__tests__/configurePersistable.test.ts -------------------------------------------------------------------------------- /__tests__/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/__tests__/utils.test.ts -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/babel.config.js -------------------------------------------------------------------------------- /demo-screen-shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/demo-screen-shot.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/package.json -------------------------------------------------------------------------------- /scripts/make-release-branch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/scripts/make-release-branch.sh -------------------------------------------------------------------------------- /setup-fake-timers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/setup-fake-timers.ts -------------------------------------------------------------------------------- /src/PersistStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/PersistStore.ts -------------------------------------------------------------------------------- /src/PersistStoreMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/PersistStoreMap.ts -------------------------------------------------------------------------------- /src/StorageAdapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/StorageAdapter.ts -------------------------------------------------------------------------------- /src/clearPersistedStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/clearPersistedStore.ts -------------------------------------------------------------------------------- /src/configurePersistable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/configurePersistable.ts -------------------------------------------------------------------------------- /src/getPersistedStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/getPersistedStore.ts -------------------------------------------------------------------------------- /src/hydrateStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/hydrateStore.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/isHydrated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/isHydrated.ts -------------------------------------------------------------------------------- /src/isPersisting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/isPersisting.ts -------------------------------------------------------------------------------- /src/makePersistable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/makePersistable.ts -------------------------------------------------------------------------------- /src/pausePersisting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/pausePersisting.ts -------------------------------------------------------------------------------- /src/serializableProperty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/serializableProperty.ts -------------------------------------------------------------------------------- /src/startPersisting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/startPersisting.ts -------------------------------------------------------------------------------- /src/stopPersisting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/stopPersisting.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.esm2015.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/tsconfig.esm2015.json -------------------------------------------------------------------------------- /tsconfig.esm5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/tsconfig.esm5.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quarrant/mobx-persist-store/HEAD/tsconfig.json --------------------------------------------------------------------------------