Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor: Clarify main process architecture | 2021-12-26 | |
| | | | | | | | | * stores: reactive data structures to hold application state * controllers: subscribe to store changes and call store actions in response to external events from services * services: integrate with the nodejs and electron environment (should be mocked for unit testing) | ||
* | refactor: Config persistence architecture | 2021-12-26 | |
The architecture in the main process is split into 3 main parts: * services: interfaces for services are injected into the stores through the MainEnv interface (for testability) * services/impl: electron-specific implementations of services * stores: the actions of the stores can invoke (asynchronous) services |