blitz_query_cpp
167 строк · 3.4 Кб
1schema {
2query: Query
3mutation: Mutation
4}
5
6"Information about the offset pagination."
7type CollectionSegmentInfo {
8"Indicates whether more items exist following the set defined by the clients arguments."
9hasNextPage: Boolean!
10"Indicates whether more items exist prior the set defined by the clients arguments."
11hasPreviousPage: Boolean!
12}
13
14type Mutation {
15add_file(file: fileDataInput): MutationIdResultOfGuid
16update_file(file: fileDataInput where: fileFilterInput): MutationResult
17delete_file(system_file: fileDataInput where: fileFilterInput): MutationResult
18}
19
20type MutationIdResultOfGuid {
21insertedId: UUID!
22countObjectsModified: Int!
23operation: String!
24objectName: String!
25}
26
27type MutationResult {
28countObjectsModified: Int!
29operation: String!
30objectName: String!
31}
32
33type Query {
34file(skip: Int take: Int where: fileFilterInput order: [fileSortInput!]): fileCollectionSegment
35}
36
37
38type file {
39deleted: Boolean!
40name: String
41Id: UUID!
42}
43
44"A segment of a collection."
45type fileCollectionSegment {
46"Information to aid in pagination."
47pageInfo: CollectionSegmentInfo!
48"A flattened list of the items."
49items: [file]
50totalCount: Int!
51}
52
53
54input BooleanOperationFilterInput {
55eq: Boolean
56neq: Boolean
57}
58
59input DateTimeOperationFilterInput {
60eq: DateTime
61neq: DateTime
62in: [DateTime]
63nin: [DateTime]
64gt: DateTime
65ngt: DateTime
66gte: DateTime
67ngte: DateTime
68lt: DateTime
69nlt: DateTime
70lte: DateTime
71nlte: DateTime
72}
73
74input IntOperationFilterInput {
75eq: Int
76neq: Int
77in: [Int]
78nin: [Int]
79gt: Int
80ngt: Int
81gte: Int
82ngte: Int
83lt: Int
84nlt: Int
85lte: Int
86nlte: Int
87}
88
89input ListFilterInputTypeOfSystem_fileFilterInput {
90all: System_fileFilterInput
91none: System_fileFilterInput
92some: System_fileFilterInput
93any: Boolean
94}
95
96input ListFilterInputTypeOfSystem_fileversionFilterInput {
97all: System_fileversionFilterInput
98none: System_fileversionFilterInput
99some: System_fileversionFilterInput
100any: Boolean
101}
102
103input StringOperationFilterInput {
104and: [StringOperationFilterInput!]
105or: [StringOperationFilterInput!]
106eq: String
107neq: String
108contains: String
109ncontains: String
110in: [String]
111nin: [String]
112startsWith: String
113nstartsWith: String
114endsWith: String
115nendsWith: String
116}
117
118input fileDataInput {
119deleted: Boolean
120name: String
121Id: UUID
122}
123
124input fileFilterInput {
125and: [fileFilterInput!]
126or: [fileFilterInput!]
127maxVersion: IntOperationFilterInput
128deleted: BooleanOperationFilterInput
129name: StringOperationFilterInput
130Id: UuidOperationFilterInput
131}
132
133input fileSortInput {
134deleted: SortEnumType
135name: SortEnumType
136Id: SortEnumType
137}
138
139
140input UuidOperationFilterInput {
141eq: UUID
142neq: UUID
143in: [UUID]
144nin: [UUID]
145gt: UUID
146ngt: UUID
147gte: UUID
148ngte: UUID
149lt: UUID
150nlt: UUID
151lte: UUID
152nlte: UUID
153}
154
155
156enum SortEnumType {
157ASC
158DESC
159}
160
161"The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
162directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR
163
164"The `DateTime` scalar represents an ISO-8601 compliant date time type."
165scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")
166
167scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")