2
2
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
3
3
# ------------------------------------------------------
4
4
5
- type Skillset {
6
- id : Int !
7
- name : String !
8
- level : String !
9
- }
10
-
11
5
type Address {
12
6
id : Int !
13
7
addressLine : String !
@@ -17,6 +11,13 @@ type Address {
17
11
country : String !
18
12
}
19
13
14
+ type Profile {
15
+ id : Float !
16
+ name : String !
17
+ image_url : String
18
+ applicants : [Applicant ! ]
19
+ }
20
+
20
21
type User {
21
22
id : Int !
22
23
uuid : String !
@@ -39,11 +40,6 @@ A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date
39
40
"""
40
41
scalar DateTime
41
42
42
- type Skill {
43
- id : Int !
44
- name : String !
45
- }
46
-
47
43
type Project {
48
44
id : Int !
49
45
uuid : String !
@@ -54,20 +50,10 @@ type Project {
54
50
leadCoach : User
55
51
coaches : [User ! ]
56
52
applicants : [Applicant ! ]
57
- profiles : [Profile ! ]
58
- skills : [Skill ! ]
59
53
createdAt : DateTime !
60
54
updatedAt : DateTime !
61
55
}
62
56
63
- type Profile {
64
- id : Float !
65
- name : String !
66
- image_url : String
67
- applicants : [Applicant ! ]
68
- projects : [Project ! ]
69
- }
70
-
71
57
type Suggestion {
72
58
id : Int !
73
59
status : String !
@@ -93,14 +79,11 @@ type Applicant {
93
79
suggestions : [Suggestion ! ]
94
80
projects : [Project ! ]
95
81
profiles : [Profile ! ]
96
- skillset : [Skillset ! ]
97
82
}
98
83
99
84
type Query {
100
- applicants ( where : FilterApplicantInput ) : [Applicant ! ]!
85
+ applicants : [Applicant ! ]!
101
86
applicant (uuid : String ! ): Applicant !
102
- skills : [Skill ! ]!
103
- skill (id : Float ! ): Skill !
104
87
users : [User ! ]!
105
88
user (uuid : String ! ): User !
106
89
suggestions : [Suggestion ! ]!
@@ -112,86 +95,12 @@ type Query {
112
95
logout : User
113
96
}
114
97
115
- input FilterApplicantInput {
116
- AND : [FilterApplicantInput ! ]
117
- OR : [FilterApplicantInput ! ]
118
- NOT : [FilterApplicantInput ! ]
119
- email : StringFilter
120
- firstname : StringFilter
121
- lastname : StringFilter
122
- callname : StringFilter
123
- gender : StringFilter
124
- phone : StringFilter
125
- nationality : StringFilter
126
- address : FilterAddressInput
127
- isAlumni : Boolean
128
- profiles_every : FilterProfileInput
129
- projects_every : FilterProjectInput
130
- suggestions_every : FilterSuggestionInput
131
- skills_every : FilterSkillInput
132
- }
133
-
134
- input StringFilter {
135
- equals : String
136
- in : [String ! ]
137
- notIn : [String ! ]
138
- lt : String
139
- lte : String
140
- gt : String
141
- gte : String
142
- contains : String
143
- startsWith : String
144
- endsWith : String
145
- }
146
-
147
- input FilterAddressInput {
148
- AND : FilterAddressInput
149
- OR : FilterAddressInput
150
- NOT : FilterAddressInput
151
- addressLine : StringFilter
152
- postalCode : StringFilter
153
- city : StringFilter
154
- state : StringFilter
155
- country : StringFilter
156
- }
157
-
158
- input FilterProfileInput {
159
- AND : [FilterProfileInput ! ]
160
- OR : [FilterProfileInput ! ]
161
- NOT : [FilterProfileInput ! ]
162
- name : StringFilter
163
- }
164
-
165
- input FilterProjectInput {
166
- AND : FilterProjectInput
167
- OR : FilterProjectInput
168
- NOT : FilterProjectInput
169
- name : StringFilter
170
- client : StringFilter
171
- leadCoachId : Float
172
- }
173
-
174
- input FilterSuggestionInput {
175
- AND : FilterSuggestionInput
176
- OR : FilterSuggestionInput
177
- NOT : FilterSuggestionInput
178
- status : StringFilter
179
- }
180
-
181
- input FilterSkillInput {
182
- AND : FilterSkillInput
183
- OR : FilterSkillInput
184
- NOT : FilterSkillInput
185
- name : StringFilter
186
- }
187
-
188
98
type Mutation {
189
99
createApplicant (input : CreateApplicantInput ! ): Applicant !
190
100
updateApplicant (input : UpdateApplicantInput ! , uuid : String ! ): Applicant !
191
101
deleteApplicant (uuid : String ! ): Boolean !
192
102
addApplicantToProject (projectId : Int ! , applicantId : Int ! ): Boolean !
193
103
removeApplicantFromProject (projectId : Int ! , applicantId : Int ! ): Boolean !
194
- addSkillToApplicant (level : String ! , skill : String ! , applicantId : Int ! ): Boolean !
195
104
updateUser (input : UpdateUserInput ! , uuid : String ! ): User !
196
105
deleteUser (uuid : String ! ): Boolean !
197
106
addUserToProject (projectId : Int ! , userId : Int ! ): Boolean !
@@ -202,14 +111,11 @@ type Mutation {
202
111
createProject (input : CreateProjectInput ! ): Project !
203
112
updateProject (input : UpdateProjectInput ! , uuid : String ! ): Project !
204
113
deleteProject (uuid : String ! ): Boolean !
205
- addSkillToProject (skill : String ! , projectId : Int ! ): Boolean !
206
114
createProfile (input : CreateProfileInput ! ): Profile !
207
115
updateProfile (input : UpdateProfileInput ! , id : Float ! ): Profile !
208
116
deleteProfile (id : Float ! ): Boolean !
209
- addProfileToApplicant (profileId : Int ! , applicantId : Int ! ): Boolean !
210
- removeProfileToApplicant (profileId : Int ! , applicantId : Int ! ): Boolean !
211
- addProfileToProject (profileId : Int ! , projectId : Int ! ): Boolean !
212
- removeProfileToProject (profileId : Int ! , projectId : Int ! ): Boolean !
117
+ addProfileToApplicant (projectId : Int ! , applicantId : Int ! ): Boolean !
118
+ removeProfileToApplicant (projectId : Int ! , applicantId : Int ! ): Boolean !
213
119
}
214
120
215
121
input CreateApplicantInput {
0 commit comments