{"size": 2764, "ext": "js", "max_stars_repo_path": "play/index.js", "max_stars_repo_name": "friedrith/gistboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "play/index.js", "max_issues_repo_name": "friedrith/gistboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "play/index.js", "max_forks_repo_name": "friedrith/gistboard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.3577981651, "max_line_length": 92, "alphanum_fraction": 0.1675108538}
import { play } from 'vue-play'
import GistBoard from '../src/GistBoard.vue'

play(GistBoard)
  .add('Normal', {
    template: `
      <gist-board :gist="gist" @increment="count += 1" @decrement="count -= 1"></gist-board>
    `,
    data() {
      return {
        gist: {
          goals: [
            {
              name: 'Goal 1',
              ideas: [
                {
                  name: 'Idea 1',
                  steps: [
                    {
                      name: '1',
                      tasks: [
                        {
                          name: 'Task 1'
                        },
                        {
                          name: 'Task 2'
                        }
                      ],
                      currentTask: 0
                    },
                    {
                      name: '2'
                    }
                  ],
                  currentStep: 0
                },
                {
                  name: 'Idea 2',
                  steps: [
                    {
                      name: '1',
                      status: 'success'
                    },
                    {
                      name: '2',
                      status: 'success'
                    },
                    {
                      name: '3',
                      tasks: [
                        {
                          name: 'Task 1',
                          status: 'success'
                        },
                        {
                          name: 'Task 2'
                        },
                        {
                          name: 'Task 3'
                        }
                      ],
                      currentTask: 1
                    },
                    {
                      name: '4'
                    }
                  ],
                  currentStep: 2
                }
              ]
            },
            {
              name: 'Goal 2',
              ideas: [
                {
                  name: 'Idea 3',
                  steps: [
                    {
                      name: '1',
                      status: 'fail'
                    },
                    {
                      name: '2'
                    },
                    {
                      name: '3'
                    }
                  ],
                  currentStep: 0
                },
                {
                  name: 'Idea 4',
                  steps: [
                    {
                      name: '1'
                    },
                    {
                      name: '2'
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    }
  })
