|
1 | 1 | import * as CR from 'typings' |
2 | 2 |
|
3 | 3 | const basic: CR.Tutorial = { |
4 | | - id: 'tutorialId', |
5 | | - meta: { |
6 | | - version: '0.1.0', |
7 | | - repo: 'https://github.com/ShMcK/coderoad-vscode.git', |
8 | | - createdBy: 'shmck', |
9 | | - createdAt: 'Sat, 11 May 2019 18:25:24 GMT', |
10 | | - updatedBy: 'shmck', |
11 | | - updatedAt: 'Sat, 11 May 2019 18:25:24 GMT', |
12 | | - contributors: ['shmck'], |
13 | | - languages: ['javascript'], |
14 | | - testRunner: 'jest', |
15 | | - }, |
16 | | - data: { |
17 | | - summary: { |
18 | | - title: 'Basic Test', |
19 | | - description: 'A basic coding skills example', |
20 | | - levelList: ['level1Id'], |
21 | | - }, |
22 | | - levels: { |
23 | | - level1Id: { |
24 | | - stageList: ['stage1Id'], |
25 | | - content: { |
26 | | - title: 'Sum Level', |
27 | | - text: 'A description of this stage', |
28 | | - }, |
29 | | - }, |
30 | | - }, |
31 | | - stages: { |
32 | | - stage1Id: { |
33 | | - stepList: ['step1Id', 'step2Id', 'step3Id'], |
34 | | - content: { |
35 | | - title: 'Sum Stage', |
36 | | - text: 'A description of this stage', |
37 | | - }, |
38 | | - }, |
39 | | - }, |
40 | | - steps: { |
41 | | - step1Id: { |
42 | | - content: { |
43 | | - title: 'Sum', |
44 | | - text: 'Write a function that adds two numbers together', |
45 | | - }, |
46 | | - actions: { |
47 | | - setup: { |
48 | | - commits: ['430500f', '8383061'], |
49 | | - commands: ['npm install'], |
50 | | - files: ['src/sum.js'], |
51 | | - }, |
52 | | - solution: { |
53 | | - commits: ['abbe136'], |
54 | | - }, |
55 | | - }, |
56 | | - hints: [], |
57 | | - }, |
58 | | - step2Id: { |
59 | | - content: { |
60 | | - title: 'Multiply', |
61 | | - text: 'Write a function that multiplies two numbers together', |
62 | | - }, |
63 | | - actions: { |
64 | | - setup: { |
65 | | - commits: ['9cbb518'], |
66 | | - files: ['src/multiply.js'], |
67 | | - }, |
68 | | - solution: { |
69 | | - commits: ['5ae011f'], |
70 | | - }, |
71 | | - }, |
72 | | - hints: [], |
73 | | - }, |
74 | | - step3Id: { |
75 | | - content: { |
76 | | - title: 'Divide', |
77 | | - text: 'Write a function that divides', |
78 | | - }, |
79 | | - actions: { |
80 | | - setup: { |
81 | | - commits: ['70c774c'], |
82 | | - files: ['src/divide.js'], |
83 | | - }, |
84 | | - solution: { |
85 | | - commits: ['3180bed'], |
86 | | - }, |
87 | | - }, |
88 | | - hints: [], |
89 | | - }, |
90 | | - }, |
91 | | - }, |
| 4 | + id: 'tutorialId', |
| 5 | + meta: { |
| 6 | + version: '0.1.0', |
| 7 | + repo: 'https://github.com/ShMcK/coderoad-vscode.git', |
| 8 | + createdBy: 'shmck', |
| 9 | + createdAt: 'Sat, 11 May 2019 18:25:24 GMT', |
| 10 | + updatedBy: 'shmck', |
| 11 | + updatedAt: 'Sat, 11 May 2019 18:25:24 GMT', |
| 12 | + contributors: ['shmck'], |
| 13 | + languages: ['javascript'], |
| 14 | + testRunner: 'jest', |
| 15 | + }, |
| 16 | + data: { |
| 17 | + summary: { |
| 18 | + title: 'Basic Test', |
| 19 | + description: 'A basic coding skills example', |
| 20 | + levelList: ['level1Id'], |
| 21 | + }, |
| 22 | + levels: { |
| 23 | + level1Id: { |
| 24 | + stageList: ['stage1Id'], |
| 25 | + content: { |
| 26 | + title: 'Sum Level', |
| 27 | + text: 'A description of this stage', |
| 28 | + }, |
| 29 | + }, |
| 30 | + }, |
| 31 | + stages: { |
| 32 | + stage1Id: { |
| 33 | + stepList: ['step1Id', 'step2Id', 'step3Id'], |
| 34 | + content: { |
| 35 | + title: 'Sum Stage', |
| 36 | + text: 'A description of this stage', |
| 37 | + }, |
| 38 | + }, |
| 39 | + }, |
| 40 | + steps: { |
| 41 | + step1Id: { |
| 42 | + content: { |
| 43 | + title: 'Sum', |
| 44 | + text: 'Write a function that adds two numbers together', |
| 45 | + }, |
| 46 | + actions: { |
| 47 | + setup: { |
| 48 | + commits: ['430500f', '8383061'], |
| 49 | + commands: ['npm install'], |
| 50 | + files: ['src/sum.js'], |
| 51 | + }, |
| 52 | + solution: { |
| 53 | + commits: ['abbe136'], |
| 54 | + }, |
| 55 | + }, |
| 56 | + hints: [], |
| 57 | + }, |
| 58 | + step2Id: { |
| 59 | + content: { |
| 60 | + title: 'Multiply', |
| 61 | + text: 'Write a function that multiplies two numbers together', |
| 62 | + }, |
| 63 | + actions: { |
| 64 | + setup: { |
| 65 | + commits: ['9cbb518'], |
| 66 | + files: ['src/multiply.js'], |
| 67 | + }, |
| 68 | + solution: { |
| 69 | + commits: ['5ae011f'], |
| 70 | + }, |
| 71 | + }, |
| 72 | + hints: [], |
| 73 | + }, |
| 74 | + step3Id: { |
| 75 | + content: { |
| 76 | + title: 'Divide', |
| 77 | + text: 'Write a function that divides', |
| 78 | + }, |
| 79 | + actions: { |
| 80 | + setup: { |
| 81 | + commits: ['70c774c'], |
| 82 | + files: ['src/divide.js'], |
| 83 | + }, |
| 84 | + solution: { |
| 85 | + commits: ['3180bed'], |
| 86 | + }, |
| 87 | + }, |
| 88 | + hints: [], |
| 89 | + }, |
| 90 | + }, |
| 91 | + }, |
92 | 92 | } |
93 | 93 |
|
94 | 94 | export default basic |
0 commit comments