@contember/engine-content-api 1.3.0-rc.2 → 1.3.0

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.
Files changed (21) hide show
  1. package/dist/src/schema/mutations/ConnectOrCreateRelationInputProvider.d.ts.map +1 -1
  2. package/dist/src/schema/mutations/ConnectOrCreateRelationInputProvider.js +2 -2
  3. package/dist/src/schema/mutations/ConnectOrCreateRelationInputProvider.js.map +1 -1
  4. package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts +1 -1
  5. package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts.map +1 -1
  6. package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js +17 -18
  7. package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js.map +1 -1
  8. package/dist/src/tsconfig.tsbuildinfo +1 -1
  9. package/dist/tests/tsconfig.tsbuildinfo +1 -1
  10. package/package.json +11 -11
  11. package/src/schema/mutations/ConnectOrCreateRelationInputProvider.ts +3 -3
  12. package/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.ts +18 -19
  13. package/tests/cases/integration/graphQlSchema/schema-acl-allowed.gql +11 -11
  14. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-create.gql +2 -2
  15. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-delete.gql +11 -11
  16. package/tests/cases/integration/graphQlSchema/schema-acl-restricted-update.gql +4 -4
  17. package/tests/cases/integration/graphQlSchema/schema-basic.gql +36 -36
  18. package/tests/cases/integration/graphQlSchema/schema-bug-66.gql +19 -19
  19. package/tests/cases/integration/graphQlSchema/schema-custom-primary.gql +36 -36
  20. package/tests/cases/integration/graphQlSchema/schema-has-many-reduction.gql +11 -11
  21. package/tests/cases/integration/graphQlSchema/schema-new-builder.gql +36 -36
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/engine-content-api",
3
- "version": "1.3.0-rc.2",
3
+ "version": "1.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/src/index.d.ts",
@@ -13,21 +13,21 @@
13
13
  "test": "vitest --dir ./tests/cases --no-threads"
14
14
  },
15
15
  "dependencies": {
16
- "@contember/database": "1.3.0-rc.2",
17
- "@contember/dic": "1.3.0-rc.2",
18
- "@contember/graphql-utils": "1.3.0-rc.2",
19
- "@contember/logger": "1.3.0-rc.2",
20
- "@contember/schema": "1.3.0-rc.2",
21
- "@contember/schema-definition": "1.3.0-rc.2",
22
- "@contember/schema-utils": "1.3.0-rc.2",
16
+ "@contember/database": "1.3.0",
17
+ "@contember/dic": "1.3.0",
18
+ "@contember/graphql-utils": "1.3.0",
19
+ "@contember/logger": "1.3.0",
20
+ "@contember/schema": "1.3.0",
21
+ "@contember/schema-definition": "1.3.0",
22
+ "@contember/schema-utils": "1.3.0",
23
23
  "@graphql-tools/schema": "^8.3.5",
24
24
  "fast-deep-equal": "^3.1.3",
25
25
  "graphql-tag": "^2.12.5"
26
26
  },
27
27
  "devDependencies": {
28
- "@contember/database-tester": "1.3.0-rc.2",
29
- "@contember/engine-api-tester": "1.3.0-rc.2",
30
- "@contember/schema-definition": "1.3.0-rc.2",
28
+ "@contember/database-tester": "1.3.0",
29
+ "@contember/engine-api-tester": "1.3.0",
30
+ "@contember/schema-definition": "1.3.0",
31
31
  "@graphql-codegen/cli": "^2.6.2",
32
32
  "@graphql-codegen/typescript": "^2.5.1",
33
33
  "@graphql-codegen/typescript-operations": "^2.4.2",
@@ -1,5 +1,5 @@
1
1
  import { Accessor, Interface, singletonFactory } from '../../utils'
2
- import { GraphQLInputObjectType } from 'graphql'
2
+ import { GraphQLInputObjectType, GraphQLNonNull } from 'graphql'
3
3
  import { GqlTypeName } from '../utils'
4
4
  import { WhereTypeProvider } from '../WhereTypeProvider'
5
5
  import { EntityInputProvider, EntityInputType } from './EntityInputProvider'
@@ -43,8 +43,8 @@ export class ConnectOrCreateRelationInputProvider {
43
43
  return new GraphQLInputObjectType({
44
44
  name: GqlTypeName`${entity.name}ConnectOrCreate${relation.name}RelationInput`,
45
45
  fields: () => ({
46
- connect: { type: uniqueWhere },
47
- create: { type: createInput },
46
+ connect: { type: new GraphQLNonNull(uniqueWhere) },
47
+ create: { type: new GraphQLNonNull(createInput) },
48
48
  }),
49
49
  })
50
50
  },
@@ -2,7 +2,7 @@ import {
2
2
  GraphQLBoolean,
3
3
  GraphQLInputFieldConfig,
4
4
  GraphQLInputFieldConfigMap,
5
- GraphQLInputObjectType,
5
+ GraphQLInputObjectType, GraphQLNonNull,
6
6
  GraphQLString,
7
7
  } from 'graphql'
8
8
  import { Acl, Input, Model } from '@contember/schema'
@@ -37,7 +37,8 @@ export class UpdateEntityRelationInputFieldVisitor implements Model.ColumnVisito
37
37
  public visitHasOne({ targetRelation, targetEntity, relation, entity }: Model.AnyHasOneRelationContext) {
38
38
  const withoutRelation = targetRelation ? targetRelation.name : undefined
39
39
 
40
- const whereInput = this.createWhereInput(targetEntity)
40
+ const whereInputType = this.createUniqueWhereInput(targetEntity)
41
+ const whereInput = whereInputType ? { type: whereInputType } : undefined
41
42
 
42
43
  const createInputType = this.createEntityInputProvider.getInput(targetEntity.name, withoutRelation)
43
44
  const createInput = createInputType ? { type: createInputType } : undefined
@@ -45,13 +46,13 @@ export class UpdateEntityRelationInputFieldVisitor implements Model.ColumnVisito
45
46
  const updateInputType = this.updateEntityInputProviderAccessor.get().getInput(targetEntity.name, withoutRelation)
46
47
  const updateInput = updateInputType ? { type: updateInputType } : undefined
47
48
 
48
- const upsertInput = updateInput && createInput
49
+ const upsertInput = updateInputType && createInputType
49
50
  ? {
50
51
  type: new GraphQLInputObjectType({
51
52
  name: GqlTypeName`${entity.name}Upsert${relation.name}RelationInput`,
52
53
  fields: () => ({
53
- update: updateInput,
54
- create: createInput,
54
+ update: { type: new GraphQLNonNull(updateInputType) },
55
+ create: { type: new GraphQLNonNull(createInputType) },
55
56
  }),
56
57
  }),
57
58
  }
@@ -61,7 +62,7 @@ export class UpdateEntityRelationInputFieldVisitor implements Model.ColumnVisito
61
62
  type: GraphQLBoolean,
62
63
  }
63
64
 
64
- const connectOrCreateInput = createInput && whereInput
65
+ const connectOrCreateInput = createInput && whereInputType
65
66
  ? { type: this.connectOrCreateRelationInputProvider.getInput(entity.name, relation.name) }
66
67
  : undefined
67
68
 
@@ -89,34 +90,34 @@ export class UpdateEntityRelationInputFieldVisitor implements Model.ColumnVisito
89
90
  public visitHasMany({ entity, relation, targetEntity, targetRelation }: Model.AnyHasManyRelationContext) {
90
91
  const withoutRelation = targetRelation ? targetRelation.name : undefined
91
92
 
92
- const whereInput = this.createWhereInput(targetEntity)
93
+ const whereInputType = this.createUniqueWhereInput(targetEntity)
94
+ const whereInput = whereInputType ? { type: whereInputType } : undefined
93
95
 
94
96
  const createInputType = this.createEntityInputProvider.getInput(targetEntity.name, withoutRelation)
95
97
  const createInput = createInputType ? { type: createInputType } : undefined
96
98
 
97
99
  const updateInputType = this.updateEntityInputProviderAccessor.get().getInput(targetEntity.name, withoutRelation)
98
- const updateInput = updateInputType ? { type: updateInputType } : undefined
99
100
 
100
- const updateSpecifiedInput = updateInput && whereInput
101
+ const updateSpecifiedInput = updateInputType && whereInputType
101
102
  ? {
102
103
  type: new GraphQLInputObjectType({
103
104
  name: GqlTypeName`${entity.name}Update${relation.name}RelationInput`,
104
105
  fields: () => ({
105
- by: whereInput,
106
- data: updateInput,
106
+ by: { type: new GraphQLNonNull(whereInputType) },
107
+ data: { type: new GraphQLNonNull(updateInputType) },
107
108
  }),
108
109
  }),
109
110
  }
110
111
  : undefined
111
112
 
112
- const upsertInput = updateInput && createInput && whereInput
113
+ const upsertInput = updateInputType && createInputType && whereInputType
113
114
  ? {
114
115
  type: new GraphQLInputObjectType({
115
116
  name: GqlTypeName`${entity.name}Upsert${relation.name}RelationInput`,
116
117
  fields: () => ({
117
- by: whereInput,
118
- update: updateInput,
119
- create: createInput,
118
+ by: { type: new GraphQLNonNull(whereInputType) },
119
+ update: { type: new GraphQLNonNull(updateInputType) },
120
+ create: { type: new GraphQLNonNull(createInputType) },
120
121
  }),
121
122
  }),
122
123
  }
@@ -163,7 +164,7 @@ export class UpdateEntityRelationInputFieldVisitor implements Model.ColumnVisito
163
164
  )
164
165
  }
165
166
 
166
- private createWhereInput(targetEntity: Model.Entity): GraphQLInputFieldConfig | undefined {
167
+ private createUniqueWhereInput(targetEntity: Model.Entity): GraphQLInputObjectType | undefined {
167
168
  if (this.authorizator.getEntityPermission(Acl.Operation.read, targetEntity.name) === 'no') {
168
169
  return undefined
169
170
  }
@@ -171,8 +172,6 @@ export class UpdateEntityRelationInputFieldVisitor implements Model.ColumnVisito
171
172
  if (!uniqueWhere) {
172
173
  throw new ImplementationException()
173
174
  }
174
- return {
175
- type: uniqueWhere,
176
- }
175
+ return uniqueWhere
177
176
  }
178
177
  }
@@ -190,8 +190,8 @@ input RootWithoutRCreateInput {
190
190
  }
191
191
 
192
192
  input OneHasManyEntityConnectOrCreateR2RelationInput {
193
- connect: RootUniqueWhere
194
- create: RootWithoutRCreateInput
193
+ connect: RootUniqueWhere!
194
+ create: RootWithoutRCreateInput!
195
195
  }
196
196
 
197
197
  input OneHasManyEntityUpdateInput {
@@ -216,8 +216,8 @@ input RootWithoutRUpdateInput {
216
216
  }
217
217
 
218
218
  input OneHasManyEntityUpsertR2RelationInput {
219
- update: RootWithoutRUpdateInput
220
- create: RootWithoutRCreateInput
219
+ update: RootWithoutRUpdateInput!
220
+ create: RootWithoutRCreateInput!
221
221
  }
222
222
 
223
223
  type RootConnection {
@@ -248,8 +248,8 @@ input OneHasManyEntityWithoutR2CreateInput {
248
248
  }
249
249
 
250
250
  input RootConnectOrCreateRRelationInput {
251
- connect: OneHasManyEntityUniqueWhere
252
- create: OneHasManyEntityWithoutR2CreateInput
251
+ connect: OneHasManyEntityUniqueWhere!
252
+ create: OneHasManyEntityWithoutR2CreateInput!
253
253
  }
254
254
 
255
255
  input RootUpdateInput {
@@ -269,8 +269,8 @@ input RootUpdateREntityRelationInput {
269
269
  }
270
270
 
271
271
  input RootUpdateRRelationInput {
272
- by: OneHasManyEntityUniqueWhere
273
- data: OneHasManyEntityWithoutR2UpdateInput
272
+ by: OneHasManyEntityUniqueWhere!
273
+ data: OneHasManyEntityWithoutR2UpdateInput!
274
274
  }
275
275
 
276
276
  input OneHasManyEntityWithoutR2UpdateInput {
@@ -279,9 +279,9 @@ input OneHasManyEntityWithoutR2UpdateInput {
279
279
  }
280
280
 
281
281
  input RootUpsertRRelationInput {
282
- by: OneHasManyEntityUniqueWhere
283
- update: OneHasManyEntityWithoutR2UpdateInput
284
- create: OneHasManyEntityWithoutR2CreateInput
282
+ by: OneHasManyEntityUniqueWhere!
283
+ update: OneHasManyEntityWithoutR2UpdateInput!
284
+ create: OneHasManyEntityWithoutR2CreateInput!
285
285
  }
286
286
 
287
287
  type QueryTransaction {
@@ -206,8 +206,8 @@ input RootUpdateREntityRelationInput {
206
206
  }
207
207
 
208
208
  input RootUpdateRRelationInput {
209
- by: OneHasManyEntityUniqueWhere
210
- data: OneHasManyEntityWithoutR2UpdateInput
209
+ by: OneHasManyEntityUniqueWhere!
210
+ data: OneHasManyEntityWithoutR2UpdateInput!
211
211
  }
212
212
 
213
213
  input OneHasManyEntityWithoutR2UpdateInput {
@@ -185,8 +185,8 @@ input RootWithoutRCreateInput {
185
185
  }
186
186
 
187
187
  input OneHasManyEntityConnectOrCreateR2RelationInput {
188
- connect: RootUniqueWhere
189
- create: RootWithoutRCreateInput
188
+ connect: RootUniqueWhere!
189
+ create: RootWithoutRCreateInput!
190
190
  }
191
191
 
192
192
  input OneHasManyEntityUpdateInput {
@@ -210,8 +210,8 @@ input RootWithoutRUpdateInput {
210
210
  }
211
211
 
212
212
  input OneHasManyEntityUpsertR2RelationInput {
213
- update: RootWithoutRUpdateInput
214
- create: RootWithoutRCreateInput
213
+ update: RootWithoutRUpdateInput!
214
+ create: RootWithoutRCreateInput!
215
215
  }
216
216
 
217
217
  type RootConnection {
@@ -241,8 +241,8 @@ input OneHasManyEntityWithoutR2CreateInput {
241
241
  }
242
242
 
243
243
  input RootConnectOrCreateRRelationInput {
244
- connect: OneHasManyEntityUniqueWhere
245
- create: OneHasManyEntityWithoutR2CreateInput
244
+ connect: OneHasManyEntityUniqueWhere!
245
+ create: OneHasManyEntityWithoutR2CreateInput!
246
246
  }
247
247
 
248
248
  input RootUpdateInput {
@@ -260,8 +260,8 @@ input RootUpdateREntityRelationInput {
260
260
  }
261
261
 
262
262
  input RootUpdateRRelationInput {
263
- by: OneHasManyEntityUniqueWhere
264
- data: OneHasManyEntityWithoutR2UpdateInput
263
+ by: OneHasManyEntityUniqueWhere!
264
+ data: OneHasManyEntityWithoutR2UpdateInput!
265
265
  }
266
266
 
267
267
  input OneHasManyEntityWithoutR2UpdateInput {
@@ -270,9 +270,9 @@ input OneHasManyEntityWithoutR2UpdateInput {
270
270
  }
271
271
 
272
272
  input RootUpsertRRelationInput {
273
- by: OneHasManyEntityUniqueWhere
274
- update: OneHasManyEntityWithoutR2UpdateInput
275
- create: OneHasManyEntityWithoutR2CreateInput
273
+ by: OneHasManyEntityUniqueWhere!
274
+ update: OneHasManyEntityWithoutR2UpdateInput!
275
+ create: OneHasManyEntityWithoutR2CreateInput!
276
276
  }
277
277
 
278
278
  type QueryTransaction {
@@ -184,8 +184,8 @@ input RootWithoutRCreateInput {
184
184
  }
185
185
 
186
186
  input OneHasManyEntityConnectOrCreateR2RelationInput {
187
- connect: RootUniqueWhere
188
- create: RootWithoutRCreateInput
187
+ connect: RootUniqueWhere!
188
+ create: RootWithoutRCreateInput!
189
189
  }
190
190
 
191
191
  type RootConnection {
@@ -215,8 +215,8 @@ input OneHasManyEntityWithoutR2CreateInput {
215
215
  }
216
216
 
217
217
  input RootConnectOrCreateRRelationInput {
218
- connect: OneHasManyEntityUniqueWhere
219
- create: OneHasManyEntityWithoutR2CreateInput
218
+ connect: OneHasManyEntityUniqueWhere!
219
+ create: OneHasManyEntityWithoutR2CreateInput!
220
220
  }
221
221
 
222
222
  input RootUpdateInput {
@@ -338,8 +338,8 @@ input PostLocaleWithoutPostCreateInput {
338
338
  }
339
339
 
340
340
  input PostConnectOrCreateLocalesRelationInput {
341
- connect: PostLocaleUniqueWhere
342
- create: PostLocaleWithoutPostCreateInput
341
+ connect: PostLocaleUniqueWhere!
342
+ create: PostLocaleWithoutPostCreateInput!
343
343
  }
344
344
 
345
345
  input PostCreateCategoriesEntityRelationInput {
@@ -359,13 +359,13 @@ input CategoryWithoutPostsCreateInput {
359
359
  }
360
360
 
361
361
  input PostConnectOrCreateCategoriesRelationInput {
362
- connect: CategoryUniqueWhere
363
- create: CategoryWithoutPostsCreateInput
362
+ connect: CategoryUniqueWhere!
363
+ create: CategoryWithoutPostsCreateInput!
364
364
  }
365
365
 
366
366
  input AuthorConnectOrCreatePostsRelationInput {
367
- connect: PostUniqueWhere
368
- create: PostWithoutAuthorCreateInput
367
+ connect: PostUniqueWhere!
368
+ create: PostWithoutAuthorCreateInput!
369
369
  }
370
370
 
371
371
  input AuthorUpdateInput {
@@ -385,8 +385,8 @@ input AuthorUpdatePostsEntityRelationInput {
385
385
  }
386
386
 
387
387
  input AuthorUpdatePostsRelationInput {
388
- by: PostUniqueWhere
389
- data: PostWithoutAuthorUpdateInput
388
+ by: PostUniqueWhere!
389
+ data: PostWithoutAuthorUpdateInput!
390
390
  }
391
391
 
392
392
  input PostWithoutAuthorUpdateInput {
@@ -407,8 +407,8 @@ input PostUpdateLocalesEntityRelationInput {
407
407
  }
408
408
 
409
409
  input PostUpdateLocalesRelationInput {
410
- by: PostLocaleUniqueWhere
411
- data: PostLocaleWithoutPostUpdateInput
410
+ by: PostLocaleUniqueWhere!
411
+ data: PostLocaleWithoutPostUpdateInput!
412
412
  }
413
413
 
414
414
  input PostLocaleWithoutPostUpdateInput {
@@ -417,9 +417,9 @@ input PostLocaleWithoutPostUpdateInput {
417
417
  }
418
418
 
419
419
  input PostUpsertLocalesRelationInput {
420
- by: PostLocaleUniqueWhere
421
- update: PostLocaleWithoutPostUpdateInput
422
- create: PostLocaleWithoutPostCreateInput
420
+ by: PostLocaleUniqueWhere!
421
+ update: PostLocaleWithoutPostUpdateInput!
422
+ create: PostLocaleWithoutPostCreateInput!
423
423
  }
424
424
 
425
425
  input PostUpdateCategoriesEntityRelationInput {
@@ -433,8 +433,8 @@ input PostUpdateCategoriesEntityRelationInput {
433
433
  }
434
434
 
435
435
  input PostUpdateCategoriesRelationInput {
436
- by: CategoryUniqueWhere
437
- data: CategoryWithoutPostsUpdateInput
436
+ by: CategoryUniqueWhere!
437
+ data: CategoryWithoutPostsUpdateInput!
438
438
  }
439
439
 
440
440
  input CategoryWithoutPostsUpdateInput {
@@ -443,15 +443,15 @@ input CategoryWithoutPostsUpdateInput {
443
443
  }
444
444
 
445
445
  input PostUpsertCategoriesRelationInput {
446
- by: CategoryUniqueWhere
447
- update: CategoryWithoutPostsUpdateInput
448
- create: CategoryWithoutPostsCreateInput
446
+ by: CategoryUniqueWhere!
447
+ update: CategoryWithoutPostsUpdateInput!
448
+ create: CategoryWithoutPostsCreateInput!
449
449
  }
450
450
 
451
451
  input AuthorUpsertPostsRelationInput {
452
- by: PostUniqueWhere
453
- update: PostWithoutAuthorUpdateInput
454
- create: PostWithoutAuthorCreateInput
452
+ by: PostUniqueWhere!
453
+ update: PostWithoutAuthorUpdateInput!
454
+ create: PostWithoutAuthorCreateInput!
455
455
  }
456
456
 
457
457
  input CategoryCreateInput {
@@ -486,13 +486,13 @@ input AuthorWithoutPostsCreateInput {
486
486
  }
487
487
 
488
488
  input PostConnectOrCreateAuthorRelationInput {
489
- connect: AuthorUniqueWhere
490
- create: AuthorWithoutPostsCreateInput
489
+ connect: AuthorUniqueWhere!
490
+ create: AuthorWithoutPostsCreateInput!
491
491
  }
492
492
 
493
493
  input CategoryConnectOrCreatePostsRelationInput {
494
- connect: PostUniqueWhere
495
- create: PostWithoutCategoriesCreateInput
494
+ connect: PostUniqueWhere!
495
+ create: PostWithoutCategoriesCreateInput!
496
496
  }
497
497
 
498
498
  input CategoryUpdateInput {
@@ -512,8 +512,8 @@ input CategoryUpdatePostsEntityRelationInput {
512
512
  }
513
513
 
514
514
  input CategoryUpdatePostsRelationInput {
515
- by: PostUniqueWhere
516
- data: PostWithoutCategoriesUpdateInput
515
+ by: PostUniqueWhere!
516
+ data: PostWithoutCategoriesUpdateInput!
517
517
  }
518
518
 
519
519
  input PostWithoutCategoriesUpdateInput {
@@ -539,14 +539,14 @@ input AuthorWithoutPostsUpdateInput {
539
539
  }
540
540
 
541
541
  input PostUpsertAuthorRelationInput {
542
- update: AuthorWithoutPostsUpdateInput
543
- create: AuthorWithoutPostsCreateInput
542
+ update: AuthorWithoutPostsUpdateInput!
543
+ create: AuthorWithoutPostsCreateInput!
544
544
  }
545
545
 
546
546
  input CategoryUpsertPostsRelationInput {
547
- by: PostUniqueWhere
548
- update: PostWithoutCategoriesUpdateInput
549
- create: PostWithoutCategoriesCreateInput
547
+ by: PostUniqueWhere!
548
+ update: PostWithoutCategoriesUpdateInput!
549
+ create: PostWithoutCategoriesCreateInput!
550
550
  }
551
551
 
552
552
  input PostLocaleCreateInput {
@@ -569,8 +569,8 @@ input PostWithoutLocalesCreateInput {
569
569
  }
570
570
 
571
571
  input PostLocaleConnectOrCreatePostRelationInput {
572
- connect: PostUniqueWhere
573
- create: PostWithoutLocalesCreateInput
572
+ connect: PostUniqueWhere!
573
+ create: PostWithoutLocalesCreateInput!
574
574
  }
575
575
 
576
576
  input PostLocaleUpdateInput {
@@ -597,8 +597,8 @@ input PostWithoutLocalesUpdateInput {
597
597
  }
598
598
 
599
599
  input PostLocaleUpsertPostRelationInput {
600
- update: PostWithoutLocalesUpdateInput
601
- create: PostWithoutLocalesCreateInput
600
+ update: PostWithoutLocalesUpdateInput!
601
+ create: PostWithoutLocalesCreateInput!
602
602
  }
603
603
 
604
604
  input PostCreateInput {
@@ -241,13 +241,13 @@ input VideoWithoutFrontPageCreateInput {
241
241
  }
242
242
 
243
243
  input FrontPageConnectOrCreateInHouseVideosRelationInput {
244
- connect: VideoUniqueWhere
245
- create: VideoWithoutFrontPageCreateInput
244
+ connect: VideoUniqueWhere!
245
+ create: VideoWithoutFrontPageCreateInput!
246
246
  }
247
247
 
248
248
  input VideoConnectOrCreateFrontPageForIntroRelationInput {
249
- connect: FrontPageUniqueWhere
250
- create: FrontPageWithoutIntroVideoCreateInput
249
+ connect: FrontPageUniqueWhere!
250
+ create: FrontPageWithoutIntroVideoCreateInput!
251
251
  }
252
252
 
253
253
  input VideoCreateFrontPageEntityRelationInput {
@@ -275,13 +275,13 @@ input VideoWithoutFrontPageForIntroCreateInput {
275
275
  }
276
276
 
277
277
  input FrontPageConnectOrCreateIntroVideoRelationInput {
278
- connect: VideoUniqueWhere
279
- create: VideoWithoutFrontPageForIntroCreateInput
278
+ connect: VideoUniqueWhere!
279
+ create: VideoWithoutFrontPageForIntroCreateInput!
280
280
  }
281
281
 
282
282
  input VideoConnectOrCreateFrontPageRelationInput {
283
- connect: FrontPageUniqueWhere
284
- create: FrontPageWithoutInHouseVideosCreateInput
283
+ connect: FrontPageUniqueWhere!
284
+ create: FrontPageWithoutInHouseVideosCreateInput!
285
285
  }
286
286
 
287
287
  input VideoUpdateInput {
@@ -318,8 +318,8 @@ input FrontPageUpdateInHouseVideosEntityRelationInput {
318
318
  }
319
319
 
320
320
  input FrontPageUpdateInHouseVideosRelationInput {
321
- by: VideoUniqueWhere
322
- data: VideoWithoutFrontPageUpdateInput
321
+ by: VideoUniqueWhere!
322
+ data: VideoWithoutFrontPageUpdateInput!
323
323
  }
324
324
 
325
325
  input VideoWithoutFrontPageUpdateInput {
@@ -329,14 +329,14 @@ input VideoWithoutFrontPageUpdateInput {
329
329
  }
330
330
 
331
331
  input FrontPageUpsertInHouseVideosRelationInput {
332
- by: VideoUniqueWhere
333
- update: VideoWithoutFrontPageUpdateInput
334
- create: VideoWithoutFrontPageCreateInput
332
+ by: VideoUniqueWhere!
333
+ update: VideoWithoutFrontPageUpdateInput!
334
+ create: VideoWithoutFrontPageCreateInput!
335
335
  }
336
336
 
337
337
  input VideoUpsertFrontPageForIntroRelationInput {
338
- update: FrontPageWithoutIntroVideoUpdateInput
339
- create: FrontPageWithoutIntroVideoCreateInput
338
+ update: FrontPageWithoutIntroVideoUpdateInput!
339
+ create: FrontPageWithoutIntroVideoCreateInput!
340
340
  }
341
341
 
342
342
  input VideoUpdateFrontPageEntityRelationInput {
@@ -372,13 +372,13 @@ input VideoWithoutFrontPageForIntroUpdateInput {
372
372
  }
373
373
 
374
374
  input FrontPageUpsertIntroVideoRelationInput {
375
- update: VideoWithoutFrontPageForIntroUpdateInput
376
- create: VideoWithoutFrontPageForIntroCreateInput
375
+ update: VideoWithoutFrontPageForIntroUpdateInput!
376
+ create: VideoWithoutFrontPageForIntroCreateInput!
377
377
  }
378
378
 
379
379
  input VideoUpsertFrontPageRelationInput {
380
- update: FrontPageWithoutInHouseVideosUpdateInput
381
- create: FrontPageWithoutInHouseVideosCreateInput
380
+ update: FrontPageWithoutInHouseVideosUpdateInput!
381
+ create: FrontPageWithoutInHouseVideosCreateInput!
382
382
  }
383
383
 
384
384
  type FrontPageConnection {