|
| 1 | +export const currentDate = new Date(Date.now()); |
| 2 | +const month = currentDate.getMonth(); |
| 3 | +const year = currentDate.getFullYear(); |
| 4 | + |
| 5 | +export const tasks = [{ |
| 6 | + id: 1, |
| 7 | + parentId: 0, |
| 8 | + title: 'Analysis/Software Requirements', |
| 9 | + start: new Date(year, month, 1), |
| 10 | + end: new Date(year, month, 28), |
| 11 | + progress: 31, |
| 12 | +}, { |
| 13 | + id: 2, |
| 14 | + parentId: 1, |
| 15 | + title: 'Conduct needs analysis', |
| 16 | + start: new Date(year, month, 1), |
| 17 | + end: new Date(year, month, 3), |
| 18 | + progress: 15, |
| 19 | +}, { |
| 20 | + id: 3, |
| 21 | + parentId: 1, |
| 22 | + title: 'Draft preliminary software specifications', |
| 23 | + start: new Date(year, month, 3), |
| 24 | + end: new Date(year, month, 5), |
| 25 | + progress: 30, |
| 26 | +}, { |
| 27 | + id: 4, |
| 28 | + parentId: 1, |
| 29 | + title: 'Review software specifications/budget with team', |
| 30 | + start: new Date(year, month, 4), |
| 31 | + end: new Date(year, month, 6), |
| 32 | + progress: 60, |
| 33 | +}, { |
| 34 | + id: 5, |
| 35 | + parentId: 1, |
| 36 | + title: 'Incorporate feedback on software specifications', |
| 37 | + start: new Date(year, month, 6), |
| 38 | + end: new Date(year, month, 8), |
| 39 | + progress: 45, |
| 40 | +}, { |
| 41 | + id: 6, |
| 42 | + parentId: 1, |
| 43 | + title: 'Develop delivery timeline', |
| 44 | + start: new Date(year, month, 8), |
| 45 | + end: new Date(year, month, 14), |
| 46 | + progress: 15, |
| 47 | +}, { |
| 48 | + id: 7, |
| 49 | + parentId: 1, |
| 50 | + title: 'Obtain approvals to proceed (concept, timeline, budget)', |
| 51 | + start: new Date(year, month, 14), |
| 52 | + end: new Date(year, month, 20), |
| 53 | + progress: 15, |
| 54 | +}, { |
| 55 | + id: 8, |
| 56 | + parentId: 1, |
| 57 | + title: 'Draft preliminary software specifications', |
| 58 | + start: new Date(year, month, 20), |
| 59 | + end: new Date(year, month, 25), |
| 60 | + progress: 0, |
| 61 | +}, { |
| 62 | + id: 9, |
| 63 | + parentId: 1, |
| 64 | + title: 'Secure required resources', |
| 65 | + start: new Date(year, month, 25), |
| 66 | + end: new Date(year, month, 28), |
| 67 | + progress: 0, |
| 68 | +}]; |
| 69 | + |
| 70 | +export const dependencies = [{ |
| 71 | + id: 1, |
| 72 | + predecessorId: 2, |
| 73 | + successorId: 3, |
| 74 | + type: 0, |
| 75 | +}, { |
| 76 | + id: 2, |
| 77 | + predecessorId: 3, |
| 78 | + successorId: 4, |
| 79 | + type: 0, |
| 80 | +}, { |
| 81 | + id: 3, |
| 82 | + predecessorId: 4, |
| 83 | + successorId: 5, |
| 84 | + type: 0, |
| 85 | +}, { |
| 86 | + id: 4, |
| 87 | + predecessorId: 5, |
| 88 | + successorId: 6, |
| 89 | + type: 0, |
| 90 | +}, { |
| 91 | + id: 5, |
| 92 | + predecessorId: 6, |
| 93 | + successorId: 7, |
| 94 | + type: 0, |
| 95 | +}, { |
| 96 | + id: 6, |
| 97 | + predecessorId: 7, |
| 98 | + successorId: 8, |
| 99 | + type: 0, |
| 100 | +}, { |
| 101 | + id: 7, |
| 102 | + predecessorId: 8, |
| 103 | + successorId: 9, |
| 104 | + type: 0, |
| 105 | +}]; |
| 106 | + |
| 107 | +export const resources = [{ |
| 108 | + id: 1, |
| 109 | + text: 'John Heart', |
| 110 | +}, { |
| 111 | + id: 2, |
| 112 | + text: 'Paul Peyton', |
| 113 | +}, { |
| 114 | + id: 3, |
| 115 | + text: 'Robert Reagan', |
| 116 | +}, { |
| 117 | + id: 4, |
| 118 | + text: 'Greta Sims', |
| 119 | +}, { |
| 120 | + id: 5, |
| 121 | + text: 'Brett Wade', |
| 122 | +}, { |
| 123 | + id: 6, |
| 124 | + text: 'Sandra Johnson', |
| 125 | +}, { |
| 126 | + id: 7, |
| 127 | + text: 'Kevin Carter', |
| 128 | +}, { |
| 129 | + id: 8, |
| 130 | + text: 'Cynthia Stanwick', |
| 131 | +}, { |
| 132 | + id: 9, |
| 133 | + text: 'Olivia Samuelson', |
| 134 | +}]; |
| 135 | + |
| 136 | +export const resourceAssignments = [{ |
| 137 | + id: 0, |
| 138 | + taskId: 1, |
| 139 | + resourceId: 1, |
| 140 | +}, { |
| 141 | + id: 1, |
| 142 | + taskId: 2, |
| 143 | + resourceId: 2, |
| 144 | +}, { |
| 145 | + id: 2, |
| 146 | + taskId: 3, |
| 147 | + resourceId: 3, |
| 148 | +}, { |
| 149 | + id: 3, |
| 150 | + taskId: 4, |
| 151 | + resourceId: 4, |
| 152 | +}, { |
| 153 | + id: 4, |
| 154 | + taskId: 5, |
| 155 | + resourceId: 5, |
| 156 | +}, { |
| 157 | + id: 5, |
| 158 | + taskId: 6, |
| 159 | + resourceId: 6, |
| 160 | +}, { |
| 161 | + id: 6, |
| 162 | + taskId: 7, |
| 163 | + resourceId: 7, |
| 164 | +}, { |
| 165 | + id: 7, |
| 166 | + taskId: 8, |
| 167 | + resourceId: 8, |
| 168 | +}, { |
| 169 | + id: 8, |
| 170 | + taskId: 9, |
| 171 | + resourceId: 9, |
| 172 | +}]; |
0 commit comments