Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const clubStateName = 'club-module';
- export const enum SortOrder {
- ASCENDING = 'ASC',
- DESCENDING = 'DESC'
- }
- export interface ClubsState {
- id: number;
- name: string;
- short_name: string;
- club_code: string;
- stadium: string;
- capacity: number;
- manager: string;
- }
- export interface SortState {
- field: string;
- order: string;
- }
- export interface ClubModuleState {
- clubs: ClubsState[];
- sort: SortState;
- }
- export const initialClubModuleState = {
- clubs: null,
- sort: {
- field: 'name',
- order: SortOrder.ASCENDING
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement