@contember/engine-content-api 1.3.0-alpha.8 → 1.3.0-beta.2
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,229 +0,0 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
validateCreateAuthor(data: AuthorCreateInput!): _ValidationResult!
|
|
3
|
-
validateCreatePost(data: PostCreateInput!): _ValidationResult!
|
|
4
|
-
validateCreatePostLocale(data: PostLocaleCreateInput!): _ValidationResult!
|
|
5
|
-
validateCreateCategory(data: CategoryCreateInput!): _ValidationResult!
|
|
6
|
-
transaction: QueryTransaction
|
|
7
|
-
_info: Info
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
type _ValidationResult {
|
|
11
|
-
valid: Boolean!
|
|
12
|
-
errors: [_ValidationError!]!
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type _ValidationError {
|
|
16
|
-
path: [_PathFragment!]!
|
|
17
|
-
message: _ValidationMessage!
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
union _PathFragment = _FieldPathFragment | _IndexPathFragment
|
|
21
|
-
|
|
22
|
-
type _FieldPathFragment {
|
|
23
|
-
field: String!
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
type _IndexPathFragment {
|
|
27
|
-
index: Int!
|
|
28
|
-
alias: String
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
type _ValidationMessage {
|
|
32
|
-
text: String!
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
input AuthorCreateInput {
|
|
36
|
-
name: String
|
|
37
|
-
posts: [AuthorCreatePostsEntityRelationInput!]
|
|
38
|
-
_dummy_field_: Boolean
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
input AuthorCreatePostsEntityRelationInput {
|
|
42
|
-
create: PostWithoutAuthorCreateInput
|
|
43
|
-
alias: String
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
input PostWithoutAuthorCreateInput {
|
|
47
|
-
state: PostState
|
|
48
|
-
publishedAt: DateTime
|
|
49
|
-
categories: [PostCreateCategoriesEntityRelationInput!]
|
|
50
|
-
locales: [PostCreateLocalesEntityRelationInput!]
|
|
51
|
-
_dummy_field_: Boolean
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
enum PostState {
|
|
55
|
-
draft
|
|
56
|
-
forReview
|
|
57
|
-
published
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
scalar DateTime
|
|
61
|
-
|
|
62
|
-
input PostCreateCategoriesEntityRelationInput {
|
|
63
|
-
create: CategoryWithoutPostsCreateInput
|
|
64
|
-
alias: String
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
input CategoryWithoutPostsCreateInput {
|
|
68
|
-
name: String
|
|
69
|
-
_dummy_field_: Boolean
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
input PostCreateLocalesEntityRelationInput {
|
|
73
|
-
create: PostLocaleWithoutPostCreateInput
|
|
74
|
-
alias: String
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
input PostLocaleWithoutPostCreateInput {
|
|
78
|
-
locale: Locale
|
|
79
|
-
title: String
|
|
80
|
-
_dummy_field_: Boolean
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
enum Locale {
|
|
84
|
-
cs
|
|
85
|
-
en
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
input PostCreateInput {
|
|
89
|
-
state: PostState
|
|
90
|
-
publishedAt: DateTime
|
|
91
|
-
categories: [PostCreateCategoriesEntityRelationInput!]
|
|
92
|
-
author: PostCreateAuthorEntityRelationInput
|
|
93
|
-
locales: [PostCreateLocalesEntityRelationInput!]
|
|
94
|
-
_dummy_field_: Boolean
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
input PostCreateAuthorEntityRelationInput {
|
|
98
|
-
create: AuthorWithoutPostsCreateInput
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
input AuthorWithoutPostsCreateInput {
|
|
102
|
-
name: String
|
|
103
|
-
_dummy_field_: Boolean
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
input PostLocaleCreateInput {
|
|
107
|
-
locale: Locale
|
|
108
|
-
title: String
|
|
109
|
-
post: PostLocaleCreatePostEntityRelationInput
|
|
110
|
-
_dummy_field_: Boolean
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
input PostLocaleCreatePostEntityRelationInput {
|
|
114
|
-
create: PostWithoutLocalesCreateInput
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
input PostWithoutLocalesCreateInput {
|
|
118
|
-
state: PostState
|
|
119
|
-
publishedAt: DateTime
|
|
120
|
-
categories: [PostCreateCategoriesEntityRelationInput!]
|
|
121
|
-
author: PostCreateAuthorEntityRelationInput
|
|
122
|
-
_dummy_field_: Boolean
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
input CategoryCreateInput {
|
|
126
|
-
name: String
|
|
127
|
-
posts: [CategoryCreatePostsEntityRelationInput!]
|
|
128
|
-
_dummy_field_: Boolean
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
input CategoryCreatePostsEntityRelationInput {
|
|
132
|
-
create: PostWithoutCategoriesCreateInput
|
|
133
|
-
alias: String
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
input PostWithoutCategoriesCreateInput {
|
|
137
|
-
state: PostState
|
|
138
|
-
publishedAt: DateTime
|
|
139
|
-
author: PostCreateAuthorEntityRelationInput
|
|
140
|
-
locales: [PostCreateLocalesEntityRelationInput!]
|
|
141
|
-
_dummy_field_: Boolean
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
type QueryTransaction {
|
|
145
|
-
validateCreateAuthor(data: AuthorCreateInput!): _ValidationResult!
|
|
146
|
-
validateCreatePost(data: PostCreateInput!): _ValidationResult!
|
|
147
|
-
validateCreatePostLocale(data: PostLocaleCreateInput!): _ValidationResult!
|
|
148
|
-
validateCreateCategory(data: CategoryCreateInput!): _ValidationResult!
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
type Info {
|
|
152
|
-
description: String
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
type Mutation {
|
|
156
|
-
createAuthor(data: AuthorCreateInput!): AuthorCreateResult!
|
|
157
|
-
createPost(data: PostCreateInput!): PostCreateResult!
|
|
158
|
-
createPostLocale(data: PostLocaleCreateInput!): PostLocaleCreateResult!
|
|
159
|
-
createCategory(data: CategoryCreateInput!): CategoryCreateResult!
|
|
160
|
-
transaction(options: MutationTransactionOptions): MutationTransaction!
|
|
161
|
-
query: Query!
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
type AuthorCreateResult implements MutationResult {
|
|
165
|
-
ok: Boolean!
|
|
166
|
-
errorMessage: String
|
|
167
|
-
errors: [_MutationError!]!
|
|
168
|
-
validation: _ValidationResult!
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
interface MutationResult {
|
|
172
|
-
ok: Boolean!
|
|
173
|
-
errorMessage: String
|
|
174
|
-
errors: [_MutationError!]!
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
type _MutationError {
|
|
178
|
-
path: [_PathFragment!]! @deprecated(reason: "Use `paths`.")
|
|
179
|
-
paths: [[_PathFragment!]!]!
|
|
180
|
-
type: _MutationErrorType!
|
|
181
|
-
message: String
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
enum _MutationErrorType {
|
|
185
|
-
NotNullConstraintViolation
|
|
186
|
-
UniqueConstraintViolation
|
|
187
|
-
ForeignKeyConstraintViolation
|
|
188
|
-
NotFoundOrDenied
|
|
189
|
-
NonUniqueWhereInput
|
|
190
|
-
InvalidDataInput
|
|
191
|
-
SqlError
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
type PostCreateResult implements MutationResult {
|
|
195
|
-
ok: Boolean!
|
|
196
|
-
errorMessage: String
|
|
197
|
-
errors: [_MutationError!]!
|
|
198
|
-
validation: _ValidationResult!
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
type PostLocaleCreateResult implements MutationResult {
|
|
202
|
-
ok: Boolean!
|
|
203
|
-
errorMessage: String
|
|
204
|
-
errors: [_MutationError!]!
|
|
205
|
-
validation: _ValidationResult!
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
type CategoryCreateResult implements MutationResult {
|
|
209
|
-
ok: Boolean!
|
|
210
|
-
errorMessage: String
|
|
211
|
-
errors: [_MutationError!]!
|
|
212
|
-
validation: _ValidationResult!
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
type MutationTransaction {
|
|
216
|
-
ok: Boolean!
|
|
217
|
-
errorMessage: String
|
|
218
|
-
errors: [_MutationError!]!
|
|
219
|
-
validation: _ValidationResult!
|
|
220
|
-
createAuthor(data: AuthorCreateInput!): AuthorCreateResult!
|
|
221
|
-
createPost(data: PostCreateInput!): PostCreateResult!
|
|
222
|
-
createPostLocale(data: PostLocaleCreateInput!): PostLocaleCreateResult!
|
|
223
|
-
createCategory(data: CategoryCreateInput!): CategoryCreateResult!
|
|
224
|
-
query: Query
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
input MutationTransactionOptions {
|
|
228
|
-
deferForeignKeyConstraints: Boolean
|
|
229
|
-
}
|
|
@@ -1,112 +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
|
-
transaction: QueryTransaction
|
|
6
|
-
_info: Info
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type Test {
|
|
10
|
-
_meta: TestMeta
|
|
11
|
-
id: UUID!
|
|
12
|
-
a: String
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type TestMeta {
|
|
16
|
-
id: FieldMeta
|
|
17
|
-
a: FieldMeta
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
type FieldMeta {
|
|
21
|
-
readable: Boolean
|
|
22
|
-
updatable: Boolean
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
scalar UUID
|
|
26
|
-
|
|
27
|
-
input TestUniqueWhere {
|
|
28
|
-
id: UUID
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
input TestWhere {
|
|
32
|
-
id: UUIDCondition
|
|
33
|
-
a: StringCondition
|
|
34
|
-
and: [TestWhere]
|
|
35
|
-
or: [TestWhere]
|
|
36
|
-
not: TestWhere
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
input UUIDCondition {
|
|
40
|
-
and: [UUIDCondition!]
|
|
41
|
-
or: [UUIDCondition!]
|
|
42
|
-
not: UUIDCondition
|
|
43
|
-
null: Boolean
|
|
44
|
-
isNull: Boolean
|
|
45
|
-
eq: UUID
|
|
46
|
-
notEq: UUID
|
|
47
|
-
in: [UUID!]
|
|
48
|
-
notIn: [UUID!]
|
|
49
|
-
lt: UUID
|
|
50
|
-
lte: UUID
|
|
51
|
-
gt: UUID
|
|
52
|
-
gte: UUID
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
input StringCondition {
|
|
56
|
-
and: [StringCondition!]
|
|
57
|
-
or: [StringCondition!]
|
|
58
|
-
not: StringCondition
|
|
59
|
-
null: Boolean
|
|
60
|
-
isNull: Boolean
|
|
61
|
-
eq: String
|
|
62
|
-
notEq: String
|
|
63
|
-
in: [String!]
|
|
64
|
-
notIn: [String!]
|
|
65
|
-
lt: String
|
|
66
|
-
lte: String
|
|
67
|
-
gt: String
|
|
68
|
-
gte: String
|
|
69
|
-
contains: String
|
|
70
|
-
startsWith: String
|
|
71
|
-
endsWith: String
|
|
72
|
-
containsCI: String
|
|
73
|
-
startsWithCI: String
|
|
74
|
-
endsWithCI: String
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
input TestOrderBy {
|
|
78
|
-
_random: Boolean
|
|
79
|
-
_randomSeeded: Int
|
|
80
|
-
id: OrderDirection
|
|
81
|
-
a: OrderDirection
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
enum OrderDirection {
|
|
85
|
-
asc
|
|
86
|
-
desc
|
|
87
|
-
ascNullsFirst
|
|
88
|
-
descNullsLast
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
type TestConnection {
|
|
92
|
-
pageInfo: PageInfo!
|
|
93
|
-
edges: [TestEdge!]!
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
type PageInfo {
|
|
97
|
-
totalCount: Int!
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
type TestEdge {
|
|
101
|
-
node: Test!
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
type QueryTransaction {
|
|
105
|
-
getTest(by: TestUniqueWhere!, filter: TestWhere): Test
|
|
106
|
-
listTest(filter: TestWhere, orderBy: [TestOrderBy!], offset: Int, limit: Int): [Test!]!
|
|
107
|
-
paginateTest(filter: TestWhere, orderBy: [TestOrderBy!], skip: Int, first: Int): TestConnection!
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type Info {
|
|
111
|
-
description: String
|
|
112
|
-
}
|
|
@@ -1,112 +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
|
-
transaction: QueryTransaction
|
|
6
|
-
_info: Info
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type Test {
|
|
10
|
-
_meta: TestMeta
|
|
11
|
-
id: UUID!
|
|
12
|
-
a: String!
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type TestMeta {
|
|
16
|
-
id: FieldMeta
|
|
17
|
-
a: FieldMeta
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
type FieldMeta {
|
|
21
|
-
readable: Boolean
|
|
22
|
-
updatable: Boolean
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
scalar UUID
|
|
26
|
-
|
|
27
|
-
input TestUniqueWhere {
|
|
28
|
-
id: UUID
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
input TestWhere {
|
|
32
|
-
id: UUIDCondition
|
|
33
|
-
a: StringCondition
|
|
34
|
-
and: [TestWhere]
|
|
35
|
-
or: [TestWhere]
|
|
36
|
-
not: TestWhere
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
input UUIDCondition {
|
|
40
|
-
and: [UUIDCondition!]
|
|
41
|
-
or: [UUIDCondition!]
|
|
42
|
-
not: UUIDCondition
|
|
43
|
-
null: Boolean
|
|
44
|
-
isNull: Boolean
|
|
45
|
-
eq: UUID
|
|
46
|
-
notEq: UUID
|
|
47
|
-
in: [UUID!]
|
|
48
|
-
notIn: [UUID!]
|
|
49
|
-
lt: UUID
|
|
50
|
-
lte: UUID
|
|
51
|
-
gt: UUID
|
|
52
|
-
gte: UUID
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
input StringCondition {
|
|
56
|
-
and: [StringCondition!]
|
|
57
|
-
or: [StringCondition!]
|
|
58
|
-
not: StringCondition
|
|
59
|
-
null: Boolean
|
|
60
|
-
isNull: Boolean
|
|
61
|
-
eq: String
|
|
62
|
-
notEq: String
|
|
63
|
-
in: [String!]
|
|
64
|
-
notIn: [String!]
|
|
65
|
-
lt: String
|
|
66
|
-
lte: String
|
|
67
|
-
gt: String
|
|
68
|
-
gte: String
|
|
69
|
-
contains: String
|
|
70
|
-
startsWith: String
|
|
71
|
-
endsWith: String
|
|
72
|
-
containsCI: String
|
|
73
|
-
startsWithCI: String
|
|
74
|
-
endsWithCI: String
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
input TestOrderBy {
|
|
78
|
-
_random: Boolean
|
|
79
|
-
_randomSeeded: Int
|
|
80
|
-
id: OrderDirection
|
|
81
|
-
a: OrderDirection
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
enum OrderDirection {
|
|
85
|
-
asc
|
|
86
|
-
desc
|
|
87
|
-
ascNullsFirst
|
|
88
|
-
descNullsLast
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
type TestConnection {
|
|
92
|
-
pageInfo: PageInfo!
|
|
93
|
-
edges: [TestEdge!]!
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
type PageInfo {
|
|
97
|
-
totalCount: Int!
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
type TestEdge {
|
|
101
|
-
node: Test!
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
type QueryTransaction {
|
|
105
|
-
getTest(by: TestUniqueWhere!, filter: TestWhere): Test
|
|
106
|
-
listTest(filter: TestWhere, orderBy: [TestOrderBy!], offset: Int, limit: Int): [Test!]!
|
|
107
|
-
paginateTest(filter: TestWhere, orderBy: [TestOrderBy!], skip: Int, first: Int): TestConnection!
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type Info {
|
|
111
|
-
description: String
|
|
112
|
-
}
|