Last active
August 19, 2018 06:44
-
-
Save YonathanMeguira/8710b93516b40754032afc8d2fecea5e to your computer and use it in GitHub Desktop.
store.ts
This file contains hidden or 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 { EntityState, EntityStore, StoreConfig, getInitialActiveState, ActiveState } from '@datorama/akita'; | |
import { List } from './shopika.model'; | |
export interface ListsState extends EntityState<List>, ActiveState { } | |
@StoreConfig({ name: 'lists' }) | |
export class ListStore extends EntityStore<ListsState, List> { | |
constructor() { | |
super(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment