├── .github └── workflows │ ├── ci.yml │ └── publish.yml ├── .gitignore ├── .npmignore ├── .prettierrc ├── .vscode └── launch.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── jest.config.js ├── package.json ├── src ├── actionCreator.ts ├── applyMiddleware.ts ├── createActionId.ts ├── createStore.ts ├── dispatcher.ts ├── getRootStore.ts ├── globalContext.ts ├── index.ts ├── interfaces │ ├── ActionCreator.ts │ ├── ActionMessage.ts │ ├── DispatchFunction.ts │ ├── Middleware.ts │ ├── MutatorFunction.ts │ ├── OrchestratorFunction.ts │ ├── SimpleAction.ts │ └── Subscriber.ts ├── legacy │ ├── ActionContext.ts │ ├── ActionFunction.ts │ ├── LegacyDispatchFunction.ts │ ├── LegacyMiddleware.ts │ ├── RawAction.ts │ ├── action.ts │ ├── createUndo.ts │ ├── dispatch.ts │ ├── functionInternals.ts │ ├── index.ts │ ├── legacyApplyMiddleware.ts │ ├── promise │ │ ├── actionWrappers.ts │ │ ├── index.ts │ │ ├── install.ts │ │ └── promiseMiddleware.ts │ ├── react │ │ ├── index.ts │ │ └── reactive.ts │ ├── select.ts │ ├── stitch │ │ ├── index.ts │ │ └── stitch.ts │ ├── testMode.ts │ └── trace │ │ ├── index.ts │ │ └── trace.ts ├── mutator.ts ├── orchestrator.ts ├── simpleSubscribers.ts └── useStrict.ts ├── test ├── actionCreatorTests.ts ├── applyMiddlewareTests.ts ├── createActionIdTests.ts ├── createStoreTests.ts ├── dispatcherTests.ts ├── endToEndTests.ts ├── globalContextTests.ts ├── legacy │ ├── actionTests.ts │ ├── createUndoTests.ts │ ├── dispatchTests.ts │ ├── legacyApplyMiddlewareTests.ts │ ├── promise │ │ ├── actionWrappersTests.ts │ │ ├── endToEndTests.ts │ │ ├── installTests.ts │ │ └── promiseMiddlewareTests.ts │ ├── react │ │ └── reactiveTests.tsx │ ├── selectTests.ts │ ├── stitch │ │ ├── raiseActionTests.ts │ │ ├── raiseTests.ts │ │ └── stitchTests.ts │ └── trace │ │ └── traceTests.ts ├── mutatorTests.ts ├── orchestratorTests.ts └── simpleSubscribersTests.ts ├── tsconfig.json ├── tsconfig.release-esm.json ├── tsconfig.release.json ├── tslint.json └── yarn.lock /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/SECURITY.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/package.json -------------------------------------------------------------------------------- /src/actionCreator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/actionCreator.ts -------------------------------------------------------------------------------- /src/applyMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/applyMiddleware.ts -------------------------------------------------------------------------------- /src/createActionId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/createActionId.ts -------------------------------------------------------------------------------- /src/createStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/createStore.ts -------------------------------------------------------------------------------- /src/dispatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/dispatcher.ts -------------------------------------------------------------------------------- /src/getRootStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/getRootStore.ts -------------------------------------------------------------------------------- /src/globalContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/globalContext.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/ActionCreator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/ActionCreator.ts -------------------------------------------------------------------------------- /src/interfaces/ActionMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/ActionMessage.ts -------------------------------------------------------------------------------- /src/interfaces/DispatchFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/DispatchFunction.ts -------------------------------------------------------------------------------- /src/interfaces/Middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/Middleware.ts -------------------------------------------------------------------------------- /src/interfaces/MutatorFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/MutatorFunction.ts -------------------------------------------------------------------------------- /src/interfaces/OrchestratorFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/OrchestratorFunction.ts -------------------------------------------------------------------------------- /src/interfaces/SimpleAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/SimpleAction.ts -------------------------------------------------------------------------------- /src/interfaces/Subscriber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/interfaces/Subscriber.ts -------------------------------------------------------------------------------- /src/legacy/ActionContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/ActionContext.ts -------------------------------------------------------------------------------- /src/legacy/ActionFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/ActionFunction.ts -------------------------------------------------------------------------------- /src/legacy/LegacyDispatchFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/LegacyDispatchFunction.ts -------------------------------------------------------------------------------- /src/legacy/LegacyMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/LegacyMiddleware.ts -------------------------------------------------------------------------------- /src/legacy/RawAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/RawAction.ts -------------------------------------------------------------------------------- /src/legacy/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/action.ts -------------------------------------------------------------------------------- /src/legacy/createUndo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/createUndo.ts -------------------------------------------------------------------------------- /src/legacy/dispatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/dispatch.ts -------------------------------------------------------------------------------- /src/legacy/functionInternals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/functionInternals.ts -------------------------------------------------------------------------------- /src/legacy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/index.ts -------------------------------------------------------------------------------- /src/legacy/legacyApplyMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/legacyApplyMiddleware.ts -------------------------------------------------------------------------------- /src/legacy/promise/actionWrappers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/promise/actionWrappers.ts -------------------------------------------------------------------------------- /src/legacy/promise/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/promise/index.ts -------------------------------------------------------------------------------- /src/legacy/promise/install.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/promise/install.ts -------------------------------------------------------------------------------- /src/legacy/promise/promiseMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/promise/promiseMiddleware.ts -------------------------------------------------------------------------------- /src/legacy/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/react/index.ts -------------------------------------------------------------------------------- /src/legacy/react/reactive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/react/reactive.ts -------------------------------------------------------------------------------- /src/legacy/select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/select.ts -------------------------------------------------------------------------------- /src/legacy/stitch/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/stitch/index.ts -------------------------------------------------------------------------------- /src/legacy/stitch/stitch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/stitch/stitch.ts -------------------------------------------------------------------------------- /src/legacy/testMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/testMode.ts -------------------------------------------------------------------------------- /src/legacy/trace/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/trace/index.ts -------------------------------------------------------------------------------- /src/legacy/trace/trace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/legacy/trace/trace.ts -------------------------------------------------------------------------------- /src/mutator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/mutator.ts -------------------------------------------------------------------------------- /src/orchestrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/orchestrator.ts -------------------------------------------------------------------------------- /src/simpleSubscribers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/simpleSubscribers.ts -------------------------------------------------------------------------------- /src/useStrict.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/src/useStrict.ts -------------------------------------------------------------------------------- /test/actionCreatorTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/actionCreatorTests.ts -------------------------------------------------------------------------------- /test/applyMiddlewareTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/applyMiddlewareTests.ts -------------------------------------------------------------------------------- /test/createActionIdTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/createActionIdTests.ts -------------------------------------------------------------------------------- /test/createStoreTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/createStoreTests.ts -------------------------------------------------------------------------------- /test/dispatcherTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/dispatcherTests.ts -------------------------------------------------------------------------------- /test/endToEndTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/endToEndTests.ts -------------------------------------------------------------------------------- /test/globalContextTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/globalContextTests.ts -------------------------------------------------------------------------------- /test/legacy/actionTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/actionTests.ts -------------------------------------------------------------------------------- /test/legacy/createUndoTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/createUndoTests.ts -------------------------------------------------------------------------------- /test/legacy/dispatchTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/dispatchTests.ts -------------------------------------------------------------------------------- /test/legacy/legacyApplyMiddlewareTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/legacyApplyMiddlewareTests.ts -------------------------------------------------------------------------------- /test/legacy/promise/actionWrappersTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/promise/actionWrappersTests.ts -------------------------------------------------------------------------------- /test/legacy/promise/endToEndTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/promise/endToEndTests.ts -------------------------------------------------------------------------------- /test/legacy/promise/installTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/promise/installTests.ts -------------------------------------------------------------------------------- /test/legacy/promise/promiseMiddlewareTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/promise/promiseMiddlewareTests.ts -------------------------------------------------------------------------------- /test/legacy/react/reactiveTests.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/react/reactiveTests.tsx -------------------------------------------------------------------------------- /test/legacy/selectTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/selectTests.ts -------------------------------------------------------------------------------- /test/legacy/stitch/raiseActionTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/stitch/raiseActionTests.ts -------------------------------------------------------------------------------- /test/legacy/stitch/raiseTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/stitch/raiseTests.ts -------------------------------------------------------------------------------- /test/legacy/stitch/stitchTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/stitch/stitchTests.ts -------------------------------------------------------------------------------- /test/legacy/trace/traceTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/legacy/trace/traceTests.ts -------------------------------------------------------------------------------- /test/mutatorTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/mutatorTests.ts -------------------------------------------------------------------------------- /test/orchestratorTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/orchestratorTests.ts -------------------------------------------------------------------------------- /test/simpleSubscribersTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/test/simpleSubscribersTests.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.release-esm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/tsconfig.release-esm.json -------------------------------------------------------------------------------- /tsconfig.release.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/tsconfig.release.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/satcheljs/HEAD/yarn.lock --------------------------------------------------------------------------------