@contember/engine-content-api 1.3.0-alpha.8 → 1.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/ExecutionContainer.d.ts +3 -3
- package/dist/src/ExecutionContainer.d.ts.map +1 -1
- package/dist/src/acl/Authorizator.d.ts +1 -1
- package/dist/src/acl/Authorizator.d.ts.map +1 -1
- package/dist/src/extensions/EntityFieldsProvider.d.ts +1 -1
- package/dist/src/extensions/EntityFieldsProvider.d.ts.map +1 -1
- package/dist/src/input-validation/InputValidator.d.ts +1 -1
- package/dist/src/input-validation/InputValidator.d.ts.map +1 -1
- package/dist/src/input-validation/ValidationContext.js +1 -2
- package/dist/src/input-validation/ValidationContext.js.map +1 -1
- package/dist/src/input-validation/ValidationPath.d.ts +1 -1
- package/dist/src/input-validation/ValidationPath.d.ts.map +1 -1
- package/dist/src/input-validation/dependencies/DependencyCollector.d.ts +1 -1
- package/dist/src/input-validation/dependencies/DependencyCollector.d.ts.map +1 -1
- package/dist/src/input-validation/preValidation/CreateInputPreValidationProcessor.d.ts +1 -1
- package/dist/src/input-validation/preValidation/CreateInputPreValidationProcessor.d.ts.map +1 -1
- package/dist/src/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts +1 -1
- package/dist/src/input-validation/preValidation/UpdateInputPreValidationProcessor.d.ts.map +1 -1
- package/dist/src/inputProcessing/UniqueWhereExpander.d.ts +1 -1
- package/dist/src/inputProcessing/UniqueWhereExpander.d.ts.map +1 -1
- package/dist/src/introspection/content-schema.types.d.ts +22 -22
- package/dist/src/introspection/content-schema.types.d.ts.map +1 -1
- package/dist/src/introspection/content-schema.types.js +3 -3
- package/dist/src/introspection/content-schema.types.js.map +1 -1
- package/dist/src/mapper/ColumnValue.d.ts +2 -2
- package/dist/src/mapper/ColumnValue.d.ts.map +1 -1
- package/dist/src/mapper/DataManipulationBuilder.d.ts +1 -1
- package/dist/src/mapper/DataManipulationBuilder.d.ts.map +1 -1
- package/dist/src/mapper/EventManager.d.ts +4 -4
- package/dist/src/mapper/EventManager.d.ts.map +1 -1
- package/dist/src/mapper/JunctionTableManager.d.ts +2 -2
- package/dist/src/mapper/JunctionTableManager.d.ts.map +1 -1
- package/dist/src/mapper/MapperFactory.d.ts +1 -1
- package/dist/src/mapper/MapperFactory.d.ts.map +1 -1
- package/dist/src/mapper/Result.d.ts +5 -5
- package/dist/src/mapper/Result.d.ts.map +1 -1
- package/dist/src/mapper/Result.js +6 -6
- package/dist/src/mapper/Result.js.map +1 -1
- package/dist/src/mapper/delete/DeleteExecutor.d.ts.map +1 -1
- package/dist/src/mapper/delete/DeleteExecutor.js +3 -0
- package/dist/src/mapper/delete/DeleteExecutor.js.map +1 -1
- package/dist/src/mapper/delete/helpers.d.ts +3 -3
- package/dist/src/mapper/delete/helpers.d.ts.map +1 -1
- package/dist/src/mapper/relations/ManyHasManyInputProcessor.d.ts +1 -1
- package/dist/src/mapper/relations/ManyHasManyInputProcessor.d.ts.map +1 -1
- package/dist/src/mapper/select/Path.js +3 -3
- package/dist/src/mapper/select/Path.js.map +1 -1
- package/dist/src/mapper/select/RelationFetcher.d.ts +6 -6
- package/dist/src/mapper/select/RelationFetcher.d.ts.map +1 -1
- package/dist/src/mapper/select/SelectExecutionHandler.d.ts +2 -2
- package/dist/src/mapper/select/SelectExecutionHandler.d.ts.map +1 -1
- package/dist/src/mapper/select/SelectHydrator.d.ts +7 -7
- package/dist/src/mapper/select/SelectHydrator.d.ts.map +1 -1
- package/dist/src/mapper/select/WhereBuilder.d.ts +1 -1
- package/dist/src/mapper/select/WhereBuilder.d.ts.map +1 -1
- package/dist/src/mapper/types.d.ts +1 -1
- package/dist/src/mapper/types.d.ts.map +1 -1
- package/dist/src/resolvers/GraphQlQueryAstFactory.d.ts +1 -1
- package/dist/src/resolvers/GraphQlQueryAstFactory.d.ts.map +1 -1
- package/dist/src/resolvers/MutationResolver.d.ts +2 -2
- package/dist/src/resolvers/MutationResolver.d.ts.map +1 -1
- package/dist/src/schema/ColumnTypeResolver.d.ts +1 -1
- package/dist/src/schema/ColumnTypeResolver.d.ts.map +1 -1
- package/dist/src/schema/MutationProvider.d.ts +1 -1
- package/dist/src/schema/MutationProvider.d.ts.map +1 -1
- package/dist/src/schema/ValidationQueriesProvider.d.ts +1 -1
- package/dist/src/schema/ValidationQueriesProvider.d.ts.map +1 -1
- package/dist/src/schema/mutations/EntityInputProvider.js +1 -1
- package/dist/src/schema/mutations/EntityInputProvider.js.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/dist/src/utils/Interface.d.ts +1 -1
- package/dist/src/utils/Interface.d.ts.map +1 -1
- package/dist/src/utils/object.d.ts +2 -2
- package/dist/src/utils/object.d.ts.map +1 -1
- package/dist/src/utils/uniqueWhereFields.d.ts +1 -1
- package/dist/src/utils/uniqueWhereFields.d.ts.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/delete/restrictOnDelete.test.js +64 -0
- package/dist/tests/cases/integration/graphQlRequests/delete/restrictOnDelete.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/conditions.test.js +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/conditions.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/optionalAssert.test.js +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/optionalAssert.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/requiredWhen.test.js +1 -1
- package/dist/tests/cases/integration/graphQlRequests/validation/requiredWhen.test.js.map +1 -1
- package/dist/tests/cases/integration/graphQlSchema/model.js +2 -3
- package/dist/tests/cases/integration/graphQlSchema/model.js.map +1 -1
- package/dist/tests/src/utils.d.ts +1 -1
- package/dist/tests/src/utils.d.ts.map +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -14
- package/src/mapper/delete/DeleteExecutor.ts +4 -0
- package/tests/cases/integration/graphQlRequests/delete/restrictOnDelete.test.ts +54 -1
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-allowed.gql +0 -420
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-create-only.gql +0 -229
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-predicate.gql +0 -112
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-predicate2.gql +0 -112
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-restricted-create.gql +0 -309
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-restricted-delete.gql +0 -402
- package/dist/tests/cases/integration/graphQlSchema/schema-acl-restricted-update.gql +0 -338
- package/dist/tests/cases/integration/graphQlSchema/schema-acl.gql +0 -221
- package/dist/tests/cases/integration/graphQlSchema/schema-aliased-type.gql +0 -226
- package/dist/tests/cases/integration/graphQlSchema/schema-basic.gql +0 -841
- package/dist/tests/cases/integration/graphQlSchema/schema-bug-66.gql +0 -540
- package/dist/tests/cases/integration/graphQlSchema/schema-custom-primary.gql +0 -851
- package/dist/tests/cases/integration/graphQlSchema/schema-has-many-reduction.gql +0 -453
- package/dist/tests/cases/integration/graphQlSchema/schema-new-builder.gql +0 -912
- package/dist/tests/cases/integration/graphQlSchema/schema-view-entity.gql +0 -112
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
getOneHasManyEntity(by: OneHasManyEntityUniqueWhere!, filter: OneHasManyEntityWhere): OneHasManyEntity
|
|
3
|
-
listOneHasManyEntity(filter: OneHasManyEntityWhere, orderBy: [OneHasManyEntityOrderBy!], offset: Int, limit: Int): [OneHasManyEntity!]!
|
|
4
|
-
paginateOneHasManyEntity(filter: OneHasManyEntityWhere, orderBy: [OneHasManyEntityOrderBy!], skip: Int, first: Int): OneHasManyEntityConnection!
|
|
5
|
-
validateCreateOneHasManyEntity(data: OneHasManyEntityCreateInput!): _ValidationResult!
|
|
6
|
-
getRoot(by: RootUniqueWhere!, filter: RootWhere): Root
|
|
7
|
-
listRoot(filter: RootWhere, orderBy: [RootOrderBy!], offset: Int, limit: Int): [Root!]!
|
|
8
|
-
paginateRoot(filter: RootWhere, orderBy: [RootOrderBy!], skip: Int, first: Int): RootConnection!
|
|
9
|
-
validateCreateRoot(data: RootCreateInput!): _ValidationResult!
|
|
10
|
-
validateUpdateRoot(by: RootUniqueWhere!, data: RootUpdateInput!): _ValidationResult!
|
|
11
|
-
transaction: QueryTransaction
|
|
12
|
-
_info: Info
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type OneHasManyEntity {
|
|
16
|
-
_meta: OneHasManyEntityMeta
|
|
17
|
-
id: UUID!
|
|
18
|
-
a: String
|
|
19
|
-
r2(filter: RootWhere): Root
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type OneHasManyEntityMeta {
|
|
23
|
-
id: FieldMeta
|
|
24
|
-
a: FieldMeta
|
|
25
|
-
r2: FieldMeta
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type FieldMeta {
|
|
29
|
-
readable: Boolean
|
|
30
|
-
updatable: Boolean
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
scalar UUID
|
|
34
|
-
|
|
35
|
-
type Root {
|
|
36
|
-
_meta: RootMeta
|
|
37
|
-
id: UUID!
|
|
38
|
-
r(filter: OneHasManyEntityWhere, orderBy: [OneHasManyEntityOrderBy!], offset: Int, limit: Int): [OneHasManyEntity!]!
|
|
39
|
-
paginateR(filter: OneHasManyEntityWhere, orderBy: [OneHasManyEntityOrderBy!], skip: Int, first: Int): OneHasManyEntityConnection!
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
type RootMeta {
|
|
43
|
-
id: FieldMeta
|
|
44
|
-
r: FieldMeta
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
input OneHasManyEntityWhere {
|
|
48
|
-
id: UUIDCondition
|
|
49
|
-
a: StringCondition
|
|
50
|
-
r2: RootWhere
|
|
51
|
-
and: [OneHasManyEntityWhere]
|
|
52
|
-
or: [OneHasManyEntityWhere]
|
|
53
|
-
not: OneHasManyEntityWhere
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
input UUIDCondition {
|
|
57
|
-
and: [UUIDCondition!]
|
|
58
|
-
or: [UUIDCondition!]
|
|
59
|
-
not: UUIDCondition
|
|
60
|
-
null: Boolean
|
|
61
|
-
isNull: Boolean
|
|
62
|
-
eq: UUID
|
|
63
|
-
notEq: UUID
|
|
64
|
-
in: [UUID!]
|
|
65
|
-
notIn: [UUID!]
|
|
66
|
-
lt: UUID
|
|
67
|
-
lte: UUID
|
|
68
|
-
gt: UUID
|
|
69
|
-
gte: UUID
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
input StringCondition {
|
|
73
|
-
and: [StringCondition!]
|
|
74
|
-
or: [StringCondition!]
|
|
75
|
-
not: StringCondition
|
|
76
|
-
null: Boolean
|
|
77
|
-
isNull: Boolean
|
|
78
|
-
eq: String
|
|
79
|
-
notEq: String
|
|
80
|
-
in: [String!]
|
|
81
|
-
notIn: [String!]
|
|
82
|
-
lt: String
|
|
83
|
-
lte: String
|
|
84
|
-
gt: String
|
|
85
|
-
gte: String
|
|
86
|
-
contains: String
|
|
87
|
-
startsWith: String
|
|
88
|
-
endsWith: String
|
|
89
|
-
containsCI: String
|
|
90
|
-
startsWithCI: String
|
|
91
|
-
endsWithCI: String
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
input RootWhere {
|
|
95
|
-
id: UUIDCondition
|
|
96
|
-
r: OneHasManyEntityWhere
|
|
97
|
-
and: [RootWhere]
|
|
98
|
-
or: [RootWhere]
|
|
99
|
-
not: RootWhere
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
input OneHasManyEntityOrderBy {
|
|
103
|
-
_random: Boolean
|
|
104
|
-
_randomSeeded: Int
|
|
105
|
-
id: OrderDirection
|
|
106
|
-
a: OrderDirection
|
|
107
|
-
r2: RootOrderBy
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
enum OrderDirection {
|
|
111
|
-
asc
|
|
112
|
-
desc
|
|
113
|
-
ascNullsFirst
|
|
114
|
-
descNullsLast
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
input RootOrderBy {
|
|
118
|
-
_random: Boolean
|
|
119
|
-
_randomSeeded: Int
|
|
120
|
-
id: OrderDirection
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
type OneHasManyEntityConnection {
|
|
124
|
-
pageInfo: PageInfo!
|
|
125
|
-
edges: [OneHasManyEntityEdge!]!
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
type PageInfo {
|
|
129
|
-
totalCount: Int!
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
type OneHasManyEntityEdge {
|
|
133
|
-
node: OneHasManyEntity!
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
input OneHasManyEntityUniqueWhere {
|
|
137
|
-
id: UUID
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
type _ValidationResult {
|
|
141
|
-
valid: Boolean!
|
|
142
|
-
errors: [_ValidationError!]!
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
type _ValidationError {
|
|
146
|
-
path: [_PathFragment!]!
|
|
147
|
-
message: _ValidationMessage!
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
union _PathFragment = _FieldPathFragment | _IndexPathFragment
|
|
151
|
-
|
|
152
|
-
type _FieldPathFragment {
|
|
153
|
-
field: String!
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
type _IndexPathFragment {
|
|
157
|
-
index: Int!
|
|
158
|
-
alias: String
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
type _ValidationMessage {
|
|
162
|
-
text: String!
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
input OneHasManyEntityCreateInput {
|
|
166
|
-
a: String
|
|
167
|
-
r2: OneHasManyEntityCreateR2EntityRelationInput
|
|
168
|
-
_dummy_field_: Boolean
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
input OneHasManyEntityCreateR2EntityRelationInput {
|
|
172
|
-
connect: RootUniqueWhere
|
|
173
|
-
create: RootWithoutRCreateInput
|
|
174
|
-
connectOrCreate: OneHasManyEntityConnectOrCreateR2RelationInput
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
input RootUniqueWhere {
|
|
178
|
-
id: UUID
|
|
179
|
-
r: OneHasManyEntityUniqueWhere
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
input RootWithoutRCreateInput {
|
|
183
|
-
_dummy_field_: Boolean
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
input OneHasManyEntityConnectOrCreateR2RelationInput {
|
|
187
|
-
connect: RootUniqueWhere
|
|
188
|
-
create: RootWithoutRCreateInput
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
type RootConnection {
|
|
192
|
-
pageInfo: PageInfo!
|
|
193
|
-
edges: [RootEdge!]!
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
type RootEdge {
|
|
197
|
-
node: Root!
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
input RootCreateInput {
|
|
201
|
-
r: [RootCreateREntityRelationInput!]
|
|
202
|
-
_dummy_field_: Boolean
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
input RootCreateREntityRelationInput {
|
|
206
|
-
connect: OneHasManyEntityUniqueWhere
|
|
207
|
-
create: OneHasManyEntityWithoutR2CreateInput
|
|
208
|
-
connectOrCreate: RootConnectOrCreateRRelationInput
|
|
209
|
-
alias: String
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
input OneHasManyEntityWithoutR2CreateInput {
|
|
213
|
-
a: String
|
|
214
|
-
_dummy_field_: Boolean
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
input RootConnectOrCreateRRelationInput {
|
|
218
|
-
connect: OneHasManyEntityUniqueWhere
|
|
219
|
-
create: OneHasManyEntityWithoutR2CreateInput
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
input RootUpdateInput {
|
|
223
|
-
_dummy_field_: Boolean
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
type QueryTransaction {
|
|
227
|
-
getOneHasManyEntity(by: OneHasManyEntityUniqueWhere!, filter: OneHasManyEntityWhere): OneHasManyEntity
|
|
228
|
-
listOneHasManyEntity(filter: OneHasManyEntityWhere, orderBy: [OneHasManyEntityOrderBy!], offset: Int, limit: Int): [OneHasManyEntity!]!
|
|
229
|
-
paginateOneHasManyEntity(filter: OneHasManyEntityWhere, orderBy: [OneHasManyEntityOrderBy!], skip: Int, first: Int): OneHasManyEntityConnection!
|
|
230
|
-
validateCreateOneHasManyEntity(data: OneHasManyEntityCreateInput!): _ValidationResult!
|
|
231
|
-
getRoot(by: RootUniqueWhere!, filter: RootWhere): Root
|
|
232
|
-
listRoot(filter: RootWhere, orderBy: [RootOrderBy!], offset: Int, limit: Int): [Root!]!
|
|
233
|
-
paginateRoot(filter: RootWhere, orderBy: [RootOrderBy!], skip: Int, first: Int): RootConnection!
|
|
234
|
-
validateCreateRoot(data: RootCreateInput!): _ValidationResult!
|
|
235
|
-
validateUpdateRoot(by: RootUniqueWhere!, data: RootUpdateInput!): _ValidationResult!
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
type Info {
|
|
239
|
-
description: String
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
type Mutation {
|
|
243
|
-
createOneHasManyEntity(data: OneHasManyEntityCreateInput!): OneHasManyEntityCreateResult!
|
|
244
|
-
deleteOneHasManyEntity(by: OneHasManyEntityUniqueWhere!, filter: OneHasManyEntityWhere): OneHasManyEntityDeleteResult!
|
|
245
|
-
createRoot(data: RootCreateInput!): RootCreateResult!
|
|
246
|
-
deleteRoot(by: RootUniqueWhere!, filter: RootWhere): RootDeleteResult!
|
|
247
|
-
updateRoot(by: RootUniqueWhere!, filter: RootWhere, data: RootUpdateInput!): RootUpdateResult!
|
|
248
|
-
upsertRoot(by: RootUniqueWhere!, filter: RootWhere, update: RootUpdateInput!, create: RootCreateInput!): RootUpsertResult!
|
|
249
|
-
transaction(options: MutationTransactionOptions): MutationTransaction!
|
|
250
|
-
query: Query!
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
type OneHasManyEntityCreateResult implements MutationResult {
|
|
254
|
-
ok: Boolean!
|
|
255
|
-
errorMessage: String
|
|
256
|
-
errors: [_MutationError!]!
|
|
257
|
-
node: OneHasManyEntity
|
|
258
|
-
validation: _ValidationResult!
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
interface MutationResult {
|
|
262
|
-
ok: Boolean!
|
|
263
|
-
errorMessage: String
|
|
264
|
-
errors: [_MutationError!]!
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
type _MutationError {
|
|
268
|
-
path: [_PathFragment!]! @deprecated(reason: "Use `paths`.")
|
|
269
|
-
paths: [[_PathFragment!]!]!
|
|
270
|
-
type: _MutationErrorType!
|
|
271
|
-
message: String
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
enum _MutationErrorType {
|
|
275
|
-
NotNullConstraintViolation
|
|
276
|
-
UniqueConstraintViolation
|
|
277
|
-
ForeignKeyConstraintViolation
|
|
278
|
-
NotFoundOrDenied
|
|
279
|
-
NonUniqueWhereInput
|
|
280
|
-
InvalidDataInput
|
|
281
|
-
SqlError
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
type OneHasManyEntityDeleteResult implements MutationResult {
|
|
285
|
-
ok: Boolean!
|
|
286
|
-
errorMessage: String
|
|
287
|
-
errors: [_MutationError!]!
|
|
288
|
-
node: OneHasManyEntity
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
type RootCreateResult implements MutationResult {
|
|
292
|
-
ok: Boolean!
|
|
293
|
-
errorMessage: String
|
|
294
|
-
errors: [_MutationError!]!
|
|
295
|
-
node: Root
|
|
296
|
-
validation: _ValidationResult!
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
type RootDeleteResult implements MutationResult {
|
|
300
|
-
ok: Boolean!
|
|
301
|
-
errorMessage: String
|
|
302
|
-
errors: [_MutationError!]!
|
|
303
|
-
node: Root
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
type RootUpdateResult implements MutationResult {
|
|
307
|
-
ok: Boolean!
|
|
308
|
-
errorMessage: String
|
|
309
|
-
errors: [_MutationError!]!
|
|
310
|
-
node: Root
|
|
311
|
-
validation: _ValidationResult!
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
type RootUpsertResult implements MutationResult {
|
|
315
|
-
ok: Boolean!
|
|
316
|
-
errorMessage: String
|
|
317
|
-
errors: [_MutationError!]!
|
|
318
|
-
node: Root
|
|
319
|
-
validation: _ValidationResult!
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
type MutationTransaction {
|
|
323
|
-
ok: Boolean!
|
|
324
|
-
errorMessage: String
|
|
325
|
-
errors: [_MutationError!]!
|
|
326
|
-
validation: _ValidationResult!
|
|
327
|
-
createOneHasManyEntity(data: OneHasManyEntityCreateInput!): OneHasManyEntityCreateResult!
|
|
328
|
-
deleteOneHasManyEntity(by: OneHasManyEntityUniqueWhere!, filter: OneHasManyEntityWhere): OneHasManyEntityDeleteResult!
|
|
329
|
-
createRoot(data: RootCreateInput!): RootCreateResult!
|
|
330
|
-
deleteRoot(by: RootUniqueWhere!, filter: RootWhere): RootDeleteResult!
|
|
331
|
-
updateRoot(by: RootUniqueWhere!, filter: RootWhere, data: RootUpdateInput!): RootUpdateResult!
|
|
332
|
-
upsertRoot(by: RootUniqueWhere!, filter: RootWhere, update: RootUpdateInput!, create: RootCreateInput!): RootUpsertResult!
|
|
333
|
-
query: Query
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
input MutationTransactionOptions {
|
|
337
|
-
deferForeignKeyConstraints: Boolean
|
|
338
|
-
}
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
getTest(by: TestUniqueWhere!, filter: TestWhere): Test
|
|
3
|
-
listTest(filter: TestWhere, orderBy: [TestOrderBy!], offset: Int, limit: Int): [Test!]!
|
|
4
|
-
paginateTest(filter: TestWhere, orderBy: [TestOrderBy!], skip: Int, first: Int): TestConnection!
|
|
5
|
-
validateCreateTest(data: TestCreateInput!): _ValidationResult!
|
|
6
|
-
validateUpdateTest(by: TestUniqueWhere!, data: TestUpdateInput!): _ValidationResult!
|
|
7
|
-
transaction: QueryTransaction
|
|
8
|
-
_info: Info
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
type Test {
|
|
12
|
-
_meta: TestMeta
|
|
13
|
-
id: UUID!
|
|
14
|
-
c: String
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
type TestMeta {
|
|
18
|
-
id: FieldMeta
|
|
19
|
-
c: FieldMeta
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type FieldMeta {
|
|
23
|
-
readable: Boolean
|
|
24
|
-
updatable: Boolean
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
scalar UUID
|
|
28
|
-
|
|
29
|
-
input TestUniqueWhere {
|
|
30
|
-
id: UUID
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
input TestWhere {
|
|
34
|
-
id: UUIDCondition
|
|
35
|
-
c: StringCondition
|
|
36
|
-
and: [TestWhere]
|
|
37
|
-
or: [TestWhere]
|
|
38
|
-
not: TestWhere
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
input UUIDCondition {
|
|
42
|
-
and: [UUIDCondition!]
|
|
43
|
-
or: [UUIDCondition!]
|
|
44
|
-
not: UUIDCondition
|
|
45
|
-
null: Boolean
|
|
46
|
-
isNull: Boolean
|
|
47
|
-
eq: UUID
|
|
48
|
-
notEq: UUID
|
|
49
|
-
in: [UUID!]
|
|
50
|
-
notIn: [UUID!]
|
|
51
|
-
lt: UUID
|
|
52
|
-
lte: UUID
|
|
53
|
-
gt: UUID
|
|
54
|
-
gte: UUID
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
input StringCondition {
|
|
58
|
-
and: [StringCondition!]
|
|
59
|
-
or: [StringCondition!]
|
|
60
|
-
not: StringCondition
|
|
61
|
-
null: Boolean
|
|
62
|
-
isNull: Boolean
|
|
63
|
-
eq: String
|
|
64
|
-
notEq: String
|
|
65
|
-
in: [String!]
|
|
66
|
-
notIn: [String!]
|
|
67
|
-
lt: String
|
|
68
|
-
lte: String
|
|
69
|
-
gt: String
|
|
70
|
-
gte: String
|
|
71
|
-
contains: String
|
|
72
|
-
startsWith: String
|
|
73
|
-
endsWith: String
|
|
74
|
-
containsCI: String
|
|
75
|
-
startsWithCI: String
|
|
76
|
-
endsWithCI: String
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
input TestOrderBy {
|
|
80
|
-
_random: Boolean
|
|
81
|
-
_randomSeeded: Int
|
|
82
|
-
id: OrderDirection
|
|
83
|
-
c: OrderDirection
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
enum OrderDirection {
|
|
87
|
-
asc
|
|
88
|
-
desc
|
|
89
|
-
ascNullsFirst
|
|
90
|
-
descNullsLast
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
type TestConnection {
|
|
94
|
-
pageInfo: PageInfo!
|
|
95
|
-
edges: [TestEdge!]!
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
type PageInfo {
|
|
99
|
-
totalCount: Int!
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
type TestEdge {
|
|
103
|
-
node: Test!
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
type _ValidationResult {
|
|
107
|
-
valid: Boolean!
|
|
108
|
-
errors: [_ValidationError!]!
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
type _ValidationError {
|
|
112
|
-
path: [_PathFragment!]!
|
|
113
|
-
message: _ValidationMessage!
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
union _PathFragment = _FieldPathFragment | _IndexPathFragment
|
|
117
|
-
|
|
118
|
-
type _FieldPathFragment {
|
|
119
|
-
field: String!
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
type _IndexPathFragment {
|
|
123
|
-
index: Int!
|
|
124
|
-
alias: String
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
type _ValidationMessage {
|
|
128
|
-
text: String!
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
input TestCreateInput {
|
|
132
|
-
a: String
|
|
133
|
-
_dummy_field_: Boolean
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
input TestUpdateInput {
|
|
137
|
-
b: String
|
|
138
|
-
_dummy_field_: Boolean
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
type QueryTransaction {
|
|
142
|
-
getTest(by: TestUniqueWhere!, filter: TestWhere): Test
|
|
143
|
-
listTest(filter: TestWhere, orderBy: [TestOrderBy!], offset: Int, limit: Int): [Test!]!
|
|
144
|
-
paginateTest(filter: TestWhere, orderBy: [TestOrderBy!], skip: Int, first: Int): TestConnection!
|
|
145
|
-
validateCreateTest(data: TestCreateInput!): _ValidationResult!
|
|
146
|
-
validateUpdateTest(by: TestUniqueWhere!, data: TestUpdateInput!): _ValidationResult!
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
type Info {
|
|
150
|
-
description: String
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
type Mutation {
|
|
154
|
-
createTest(data: TestCreateInput!): TestCreateResult!
|
|
155
|
-
updateTest(by: TestUniqueWhere!, filter: TestWhere, data: TestUpdateInput!): TestUpdateResult!
|
|
156
|
-
upsertTest(by: TestUniqueWhere!, filter: TestWhere, update: TestUpdateInput!, create: TestCreateInput!): TestUpsertResult!
|
|
157
|
-
transaction(options: MutationTransactionOptions): MutationTransaction!
|
|
158
|
-
query: Query!
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
type TestCreateResult implements MutationResult {
|
|
162
|
-
ok: Boolean!
|
|
163
|
-
errorMessage: String
|
|
164
|
-
errors: [_MutationError!]!
|
|
165
|
-
node: Test
|
|
166
|
-
validation: _ValidationResult!
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
interface MutationResult {
|
|
170
|
-
ok: Boolean!
|
|
171
|
-
errorMessage: String
|
|
172
|
-
errors: [_MutationError!]!
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
type _MutationError {
|
|
176
|
-
path: [_PathFragment!]! @deprecated(reason: "Use `paths`.")
|
|
177
|
-
paths: [[_PathFragment!]!]!
|
|
178
|
-
type: _MutationErrorType!
|
|
179
|
-
message: String
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
enum _MutationErrorType {
|
|
183
|
-
NotNullConstraintViolation
|
|
184
|
-
UniqueConstraintViolation
|
|
185
|
-
ForeignKeyConstraintViolation
|
|
186
|
-
NotFoundOrDenied
|
|
187
|
-
NonUniqueWhereInput
|
|
188
|
-
InvalidDataInput
|
|
189
|
-
SqlError
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
type TestUpdateResult implements MutationResult {
|
|
193
|
-
ok: Boolean!
|
|
194
|
-
errorMessage: String
|
|
195
|
-
errors: [_MutationError!]!
|
|
196
|
-
node: Test
|
|
197
|
-
validation: _ValidationResult!
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
type TestUpsertResult implements MutationResult {
|
|
201
|
-
ok: Boolean!
|
|
202
|
-
errorMessage: String
|
|
203
|
-
errors: [_MutationError!]!
|
|
204
|
-
node: Test
|
|
205
|
-
validation: _ValidationResult!
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
type MutationTransaction {
|
|
209
|
-
ok: Boolean!
|
|
210
|
-
errorMessage: String
|
|
211
|
-
errors: [_MutationError!]!
|
|
212
|
-
validation: _ValidationResult!
|
|
213
|
-
createTest(data: TestCreateInput!): TestCreateResult!
|
|
214
|
-
updateTest(by: TestUniqueWhere!, filter: TestWhere, data: TestUpdateInput!): TestUpdateResult!
|
|
215
|
-
upsertTest(by: TestUniqueWhere!, filter: TestWhere, update: TestUpdateInput!, create: TestCreateInput!): TestUpsertResult!
|
|
216
|
-
query: Query
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
input MutationTransactionOptions {
|
|
220
|
-
deferForeignKeyConstraints: Boolean
|
|
221
|
-
}
|