Skip to content

Instantly share code, notes, and snippets.

@jonathanwoahn
Last active December 4, 2020 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanwoahn/227a2d0a4c7a20ee23bb7ad11ddfc6a7 to your computer and use it in GitHub Desktop.
Save jonathanwoahn/227a2d0a4c7a20ee23bb7ad11ddfc6a7 to your computer and use it in GitHub Desktop.
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