Created
December 10, 2017 22:51
-
-
Save dmitru/e07ec45ac26cece93213b6c32663a063 to your computer and use it in GitHub Desktop.
Mocked data for course project for React Workshop
This file contains 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
const EXAMPLE_TIME_ENTRIES = [ | |
{ | |
id: 1, | |
date: '2017-11-20', | |
categoryId: 1, | |
notes: 'some example notes', | |
minutesTracked: 180, | |
}, | |
{ | |
id: 2, | |
date: '2017-11-20', | |
categoryId: 3, | |
notes: null, | |
minutesTracked: 90, | |
}, | |
{ | |
id: 3, | |
date: '2017-11-21', | |
categoryId: 2, | |
notes: 'some more notes...', | |
minutesTracked: 120, | |
}, | |
{ | |
id: 4, | |
date: '2017-11-21', | |
categoryId: 2, | |
notes: 'it was amazing', | |
minutesTracked: 45, | |
}, | |
{ | |
id: 5, | |
date: '2017-11-21', | |
categoryId: 1, | |
notes: null, | |
minutesTracked: 30, | |
}, | |
// ... add more if you feel like | |
] | |
const EXAMPLE_CATEGORIES = [ | |
{ | |
id: 1, | |
name: 'Feeding my cat', | |
}, | |
{ | |
id: 2, | |
name: 'Sleeping', | |
}, | |
{ | |
id: 3, | |
name: 'Learning React', | |
}, | |
// ... add more if you feel like | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment