File tree Expand file tree Collapse file tree 4 files changed +130811
-0
lines changed Expand file tree Collapse file tree 4 files changed +130811
-0
lines changed Original file line number Diff line number Diff line change 88package-lock.json
99* .rdb
1010.env *
11+ .vscode /settings.json
12+ 3.0.0
Original file line number Diff line number Diff line change 11import * as scuid from 'scuid'
2+ import { series } from '../seriesData'
23
34import {
45 generateAuthToken ,
@@ -27,6 +28,8 @@ export default {
2728 allUsers : ( parent , { count = DEFAULT_COUNT } , { faker } ) =>
2829 predefinedUsers . slice ( 0 , count ) ,
2930
31+ Series : ( ) => series ,
32+
3033 User : ( parent , { id } , { faker } ) =>
3134 predefinedUsers . filter ( ( user ) => user . id === id ) [ 0 ] || {
3235 id,
Original file line number Diff line number Diff line change @@ -37,6 +37,31 @@ type Post {
3737 likelyTopics : [Topic ]
3838}
3939
40+ type Task {
41+ id : String
42+ name : String
43+ code : String
44+ plannedStart : String
45+ plannedEnd : String
46+ plannedDuration : Float
47+ riskShare : Float
48+ criticality : Float
49+ surprise : Float
50+ expectedDelayContribution : Float
51+ constraintMissLikelihood : Float
52+ }
53+
54+ type Series {
55+ date : String !
56+ planned : Float !
57+ actual : Float
58+ predicted : [Float ]!
59+ plannedWip : Int
60+ tasks : [Task ]
61+ risk : Float !
62+ tasksCount : Int
63+ }
64+
4065type Query {
4166 me : User
4267 allUsers (count : Int ): [User ]
@@ -47,6 +72,7 @@ type Query {
4772 allTodos (count : Int ): [Todo ]
4873 Post (id : ID ! ): Post
4974 allPosts (count : Int ): [Post ]
75+ Series : [Series ]
5076}
5177
5278type Mutation {
You can’t perform that action at this time.
0 commit comments