Last active
December 4, 2020 17:46
-
-
Save jonathanwoahn/227a2d0a4c7a20ee23bb7ad11ddfc6a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { DynamicStoreConfig, DYNAMIC_DATA_PROVIDER } from '@woahn/ezngrx'; | |
import { TodoDataService } from './todo-data.service'; | |
export const config: DynamicStoreConfig = { | |
entities: [{ entity: 'Todo' }], | |
providers: [ | |
{ | |
multi: true, | |
useClass: TodoDataService, | |
provide: DYNAMIC_DATA_PROVIDER | |
}, | |
], | |
enableOfflineSync: true, | |
enableLogging: true, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment