Last active
August 14, 2017 14:23
-
-
Save JogoShugh/54d24584342d1fbc7b40f8e3beacb6e9 to your computer and use it in GitHub Desktop.
Batch Payload Example (SpaceMiner)
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
{ | |
"AssetType": "Epic", | |
"Scope": "zoozoo's Project", | |
"Description": "Beginners writing games with HTML5 and JavaScript of today (ES5) must master challenging recursion, asynchronous game loops, and callback hell. See how ES2015 and ES2016's powerful new features simplify all of this, reducing the cognitive burden for beginners and seasoned pros!", | |
"Name": "ES2015 and Beyond", | |
"Subs": [ | |
{ | |
"AssetType": "Story", | |
"Name": "Powered up JavaScript", | |
"Description": "Learn about how ES2015 and beyond will powerup your code!", | |
"Children": [ | |
{ | |
"AssetType": "Task", | |
"Name": "Write and run tomorrow's code today" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "How Meteor already uses Babel" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Babel already supports async \/ await" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Painful asynchrony in today's JavaScript" | |
} | |
] | |
}, | |
{ | |
"AssetType": "Story", | |
"Name": "ES5 and callback hell", | |
"Description": "Passing functions to functions to functions gets old and cumbersome very quickly. See how ES2015 mitigates this problem with simpler syntax for declaring functions.", | |
"Children": [ | |
{ | |
"AssetType": "Task", | |
"Name": "Asynchronous code and callback passing" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Replace <code>function() {<\/code> with <code>() => {<\/code>" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Curlyless arrow functions" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Inline arrow functions" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Can't get no..." | |
} | |
] | |
}, | |
{ | |
"AssetType": "Story", | |
"Name": "Promises, Promises", | |
"Description": "Promises allow us to flatten the callback chain out, a vast improvement. However, there is still a lot of boilerplate.", | |
"Children": [ | |
{ | |
"AssetType": "Task", | |
"Name": "Promises in SpaceMiner" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Less boilerplate in ES2015 for Promise chains" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "What about picking up all gems?" | |
} | |
] | |
}, | |
{ | |
"AssetType": "Story", | |
"Name": "ES2016: async \/ await magic", | |
"Description": "So far we've seen just how to pick up one group of gems, but now let's see how to grab all of them, starting with doing it in ES5 and then show the amazing features of ES2016 that will dramatically simplify this.", | |
"Children": [ | |
{ | |
"AssetType": "Task", | |
"Name": "Beginner's very logical for loop" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "Using Promises in ES5 to solve the problem" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "ES2015: Sugary, but not sweet" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "ES2016: It's magic!" | |
}, | |
{ | |
"AssetType": "Task", | |
"Name": "ES2016's awesome async \/ await" | |
} | |
] | |
} | |
] | |
} |
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
AssetType: Scope | |
Parent: System (All Projects) | |
Name: SM Josh's Project | |
Schedule: Default Schedule | |
BeginDate: 3/20/2017 | |
Workitems: | |
- AssetType: Epic | |
Name: ES2015 | |
Subs: | |
- AssetType: Story | |
Name: Powered-up JavaScript | |
Children: | |
- AssetType: Task | |
Name: Write and run tomorrow's code today | |
- AssetType: Task | |
Name: How Meteor already uses Babel | |
- AssetType: Task | |
Name: Babel already supports async / await | |
- AssetType: Task | |
Name: Painful asynchrony in today's JavaScript | |
- AssetType: Test | |
Name: "Code Challenge: Powered-up JavaScript" | |
- AssetType: Story | |
Name: ES5 and callback hell | |
Children: | |
- AssetType: Task | |
Name: Asynchronous code and callback passing | |
- AssetType: Task | |
Name: Replace <code>function() {</code> with <code>() => {</code> | |
- AssetType: Task | |
Name: Curlyless arrow functions | |
- AssetType: Task | |
Name: Inline arrow functions | |
- AssetType: Task | |
Name: Can't get no... | |
- AssetType: Test | |
Name: "Code Challenge: ES5 and callback hell" | |
- AssetType: Epic | |
Name: Operators | |
Subs: | |
- AssetType: Story | |
Name: Operators 1 | |
Children: | |
- AssetType: Task | |
Name: Op 1 Step 1 | |
- AssetType: Task | |
Name: Op 1 Step 2 | |
- AssetType: Task | |
Name: Op 1 Step 3 | |
- AssetType: Task | |
Name: Op 1 Step 4 | |
- AssetType: Test | |
Name: "Code Challenge: Operators 1" | |
- AssetType: Story | |
Name: Operators 2 | |
Children: | |
- AssetType: Task | |
Name: Op 2 Step 1 | |
- AssetType: Task | |
Name: Op 2 Step 2 | |
- AssetType: Task | |
Name: Op 2 Step 3 | |
- AssetType: Task | |
Name: Op 2 Step 4 | |
- AssetType: Task | |
Name: Op 2 Step 5 | |
- AssetType: Test | |
Name: "Code Challenge: Operators 2" | |
--- | |
AssetType: Member | |
Name: SM Josh | |
Password: SM Josh | |
Nickname: SM Josh | |
Username: SM Josh | |
DefaultRole: Role.Name'Project Admin | |
Scopes: SM Josh's Project | |
--- | |
AssetType: TeamRoom | |
Name: SM Josh's Room | |
Schedule: Default Schedule | |
Scope: SM Josh's Project | |
--- | |
from: Story | |
where: | |
Scope.Name: SM Josh's Project | |
set: | |
Owners: SM Josh | |
Timebox: Iteration 1 |
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
# Delete existing items | |
from: Workitem | |
filter: | |
- AssetType!='Epic' | |
- Scope.Name='zoozoo''s Project' | |
execute: Delete | |
--- | |
from: Epic | |
where: | |
Scope.Name: zoozoo's Project | |
execute: Delete | |
--- | |
from: TeamRoom | |
where: | |
Name: zoozoo's Room | |
execute: Delete | |
--- | |
from: Scope | |
where: | |
Name: zoozoo's Project | |
execute: Delete | |
--- | |
from: Member | |
where: | |
Name: zoozoo | |
execute: Delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment