-
Notifications
You must be signed in to change notification settings - Fork 0
sample state
Jared Kaneshiro edited this page Apr 10, 2020
·
3 revisions
{
entities: {
users: {
12: {
id: 12,
username: 'theflash',
email: 'theflash@mailinator.com',
name: 'Usain Bolt'
projects_owned: [3, 11, 12],
stories_requested: [7, 10, 14],
stories_owned: [6, 7, 11],
stories_followed: [4, 6, 15]
}
},
projects: {
1: {
id: 1,
title: 'Olympics Mobile App',
description: 'Has a timer and list of recent times',
project_owner_id: 12,
initial_velocity: 10,
velocity_strategy: 0,
members: [1, 2, 3]
},
3: {
title: 'Olympics Web App',
description: null,
project_owner_id: 3,
initial_velocity: 10,
velocity_strategy: 0,
members: [4, 7, 9]
}
},
stories: {
7: {
id: 7,
name: 'create stopwatch',
type: 0,
points: null,
story_requester_id: 5,
story_owner_id: 4,
project_id: 12,
story_state: started,
description: 'A user should be able to start and stop a stopwatch',
labels: [4, 6, 22],
followers: [5, 10, 30]
},
8: {
id: 8,
name: 'fix broken background image',
type: 1,
points: null,
story_requester_id: 2,
story_owner_id: 4,
project_id: 12,
story_state: unstared,
description: 'Background image has broken url',
labels: [4, 13, 16],
followers: [5, 10, 30]
}
},
labels: {
1: {
id: 1,
name: 'p0_fix_asap'
},
2: {
id: 2,
name: 'p1_fix_this_sprint'
},
3: {
id: 3,
name: 'p2_fix_this_quarter',
5: {
id: 5,
name: 'stopwatch'
},
6: {
id: 6,
name: 'mvp1'
}
}
}
}