SHARE
TWEET

Untitled

a guest Jul 18th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export const clubStateName = 'club-module';
  2.  
  3. export const enum SortOrder {
  4.   ASCENDING = 'ASC',
  5.   DESCENDING = 'DESC'
  6. }
  7.  
  8. export interface ClubsState {
  9.   id: number;
  10.   name: string;
  11.   short_name: string;
  12.   club_code: string;
  13.   stadium: string;
  14.   capacity: number;
  15.   manager: string;
  16. }
  17.  
  18. export interface SortState {
  19.   field: string;
  20.   order: string;
  21. }
  22.  
  23. export interface ClubModuleState {
  24.   clubs: ClubsState[];
  25.   sort: SortState;
  26. }
  27.  
  28. export const initialClubModuleState = {
  29.   clubs: null,
  30.   sort: {
  31.     field: 'name',
  32.     order: SortOrder.ASCENDING
  33.   }
  34. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top