Created
July 23, 2019 02:27
-
-
Save drexel-ue/d2ebea20e4255362e5071261a245333e to your computer and use it in GitHub Desktop.
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
| const state = { | |
| entities: { | |
| routes: { | |
| 1: { | |
| id: 1, | |
| map: 'Uptown', | |
| activity: 'Walk', | |
| description: 'left foot right foot...', | |
| directions: [ | |
| 'hop', | |
| 'skip', | |
| 'jump', | |
| ], | |
| bookmarks: [ | |
| 1, 4, 18, 78, | |
| ], | |
| sent_to_phone: false, | |
| distance: 374.623, | |
| climb: 20074, | |
| creator_id: 3973, | |
| comments: [ | |
| 3782, 2937, 3, 394, | |
| ], | |
| start_elevation: -284882, | |
| max_elevation: 398743, | |
| begins_in: 'the pits' | |
| }, | |
| }, | |
| workouts: { | |
| 1: { | |
| id: 1, | |
| name: 'Rasengan Training', | |
| date: new Date().getDate(), | |
| gear_used: [ | |
| 'fitbit', | |
| ], | |
| howd_it_go: 'after only a week of training with the frog sage ive master a new technique', | |
| activity: 'sitting under a waterfall', | |
| shared_to_facebook: false, | |
| shared_to_twitter: false, | |
| creator_id: 3973, | |
| }, | |
| }, | |
| comments: { | |
| 29872: { | |
| id: 29872, | |
| body: 'whoa bro', | |
| author_id: 394, | |
| } | |
| } | |
| }, | |
| ui: { | |
| loading: true, | |
| }, | |
| errors: { | |
| auth: [ | |
| 'access denied', | |
| 'cops are in route', | |
| ], | |
| route_creation: [ | |
| "that's not a real place", | |
| ], | |
| workout_creation: [ | |
| 'way too epic my guy', | |
| ], | |
| }, | |
| session: { | |
| current_user_id: 999998, | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment