-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.gql
125 lines (95 loc) · 2.19 KB
/
schema.gql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
type CampaignGraphqlResponseDto {
"""Campaign identifier"""
id: String!
"""Campaign's name"""
name: String!
"""Campaign's keyword"""
keyword: String!
"""Campaign's status"""
status: String!
"""Campaign's end type"""
endType: String!
"""Campaign's end value"""
endValue: Float
"""Campaign's created date"""
createdAt: String!
"""Campaign's providers"""
providers: [String!]!
}
type CampaignPaginatedGraphqlResponseDto {
page: Int!
count: Int!
limit: Float!
data: [CampaignGraphqlResponseDto!]!
}
type IdGqlResponse {
id: String!
}
type CandidateGraphqlResponseDto {
"""Candidate identifier"""
id: String!
"""Candidate name"""
name: String
"""Campaign's identifier"""
campaignId: String!
"""Candidate's age"""
age: Float
"""Candidate's work location"""
workLocation: String!
"""Candidate's work time"""
workTime: String!
"""Candidate's position"""
position: String
"""Candidate's salary"""
salary: Float
"""Candidate's skills"""
skills: [String!]!
"""Candidate's location"""
location: String
"""Candidate's languages"""
languages: [String!]
"""Candidate's years of experience"""
yearsOfExperience: Float
}
type CandidatePaginatedGraphqlResponseDto {
page: Int!
count: Int!
limit: Float!
data: [CandidateGraphqlResponseDto!]!
}
type Query {
listCandidates(options: ListCandidatesGqlRequestDto!): CandidatePaginatedGraphqlResponseDto!
listCampaign(options: ListCampaignGqlRequestDto!): CampaignPaginatedGraphqlResponseDto!
}
input ListCandidatesGqlRequestDto {
limit: Float!
offset: Float!
orderBy: OrderBy
}
input OrderBy {
field: String!
param: String!
}
input ListCampaignGqlRequestDto {
limit: Float!
offset: Float!
filters: [Filter!]!
orderBy: OrderBy
}
input Filter {
id: String!
value: [String!]!
}
type Mutation {
create(input: CreateCampaignGqlRequestDto!): IdGqlResponse!
}
input CreateCampaignGqlRequestDto {
name: String!
keyword: String!
endValue: Float!
endType: String!
providers: [String!]!
}