/* @flow */
import Moment from 'moment';
import type { Poster } from '../types';


// State
type State = {
  posters: Array<Poster>
}

const initialState: State = {
  posters: [
    {
      key: 'uuid-01',
      title: 'Imperfect centered sites - a new mode of miRNA binding',
      thumbnailUrl: 'https://s3-eu-west-1.amazonaws.com/pfigshare-u-previews/1710259/thumb.png',
      authors: 'Nicole Cloonan',
      savedAt: Moment()
    },
    {
      key: 'uuid-02',
      title: 'The Value Proposition of Libraries in Research Information Management',
      thumbnailUrl: 'https://s3-eu-west-1.amazonaws.com/pfigshare-u-previews/9011278/thumb.png',
      authors: 'Rebecca Bryant, Holly Mercer',
      savedAt: Moment()
    },
  ],
};

// Actions

// Action Creators

// Reducer
export default function reducer(state: Object = initialState, action: Object = {}) {
  switch (action.type) {
    default: return state;
  }
}

/* @flow */
import Moment from 'moment';
import type { Poster } from '../types';


// State
type State = {
  posters: Array<Poster>
}

const initialState: State = {
  posters: [
    {
      key: '5ef45c84-84b7-4f7c-9b53-336970cd5759',
      title: 'Imperfect centered sites - a new mode of miRNA binding',
      thumbnailUrl: 'https://s3-eu-west-1.amazonaws.com/pfigshare-u-previews/1710259/thumb.png',
      authors: 'Nicole Cloonan',
      savedAt: Moment()
    },
    {
      key: '2579ef1b-8266-4363-9ab3-2448eef068c2',
      title: 'The Value Proposition of Libraries in Research Information Management',
      thumbnailUrl: 'https://s3-eu-west-1.amazonaws.com/pfigshare-u-previews/9011278/thumb.png',
      authors: 'Rebecca Bryant, Holly Mercer',
      savedAt: Moment()
    },
  ],
};

// Actions

// Action Creators

// Reducer
export default function reducer(state: Object = initialState, action: Object = {}) {
  switch (action.type) {
    default: return state;
  }
}

Add real uuid for fixtures
Add real uuid for fixtures
