@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.
- package/dist/src/schema/mutations/ConnectOrCreateRelationInputProvider.d.ts.map +1 -1
- package/dist/src/schema/mutations/ConnectOrCreateRelationInputProvider.js +2 -2
- package/dist/src/schema/mutations/ConnectOrCreateRelationInputProvider.js.map +1 -1
- package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts +1 -1
- package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.d.ts.map +1 -1
- package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js +17 -18
- package/dist/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.js.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/dist/tests/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/src/schema/mutations/ConnectOrCreateRelationInputProvider.ts +3 -3
- package/src/schema/mutations/UpdateEntityRelationInputFieldVisitor.ts +18 -19
- package/tests/cases/integration/graphQlSchema/schema-acl-allowed.gql +11 -11
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-create.gql +2 -2
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-delete.gql +11 -11
- package/tests/cases/integration/graphQlSchema/schema-acl-restricted-update.gql +4 -4
- package/tests/cases/integration/graphQlSchema/schema-basic.gql +36 -36
- package/tests/cases/integration/graphQlSchema/schema-bug-66.gql +19 -19
- package/tests/cases/integration/graphQlSchema/schema-custom-primary.gql +36 -36
- package/tests/cases/integration/graphQlSchema/schema-has-many-reduction.gql +11 -11
- package/tests/cases/integration/graphQlSchema/schema-new-builder.gql +36 -36
|
@@ -341,8 +341,8 @@ input PostLocaleWithoutPostCreateInput {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
input PostConnectOrCreateLocalesRelationInput {
|
|
344
|
-
connect: PostLocaleUniqueWhere
|
|
345
|
-
create: PostLocaleWithoutPostCreateInput
|
|
344
|
+
connect: PostLocaleUniqueWhere!
|
|
345
|
+
create: PostLocaleWithoutPostCreateInput!
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
input PostCreateCategoriesEntityRelationInput {
|
|
@@ -363,13 +363,13 @@ input CategoryWithoutPostsCreateInput {
|
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
input PostConnectOrCreateCategoriesRelationInput {
|
|
366
|
-
connect: CategoryUniqueWhere
|
|
367
|
-
create: CategoryWithoutPostsCreateInput
|
|
366
|
+
connect: CategoryUniqueWhere!
|
|
367
|
+
create: CategoryWithoutPostsCreateInput!
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
input AuthorConnectOrCreatePostsRelationInput {
|
|
371
|
-
connect: PostUniqueWhere
|
|
372
|
-
create: PostWithoutAuthorCreateInput
|
|
371
|
+
connect: PostUniqueWhere!
|
|
372
|
+
create: PostWithoutAuthorCreateInput!
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
input AuthorUpdateInput {
|
|
@@ -389,8 +389,8 @@ input AuthorUpdatePostsEntityRelationInput {
|
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
input AuthorUpdatePostsRelationInput {
|
|
392
|
-
by: PostUniqueWhere
|
|
393
|
-
data: PostWithoutAuthorUpdateInput
|
|
392
|
+
by: PostUniqueWhere!
|
|
393
|
+
data: PostWithoutAuthorUpdateInput!
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
input PostWithoutAuthorUpdateInput {
|
|
@@ -411,8 +411,8 @@ input PostUpdateLocalesEntityRelationInput {
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
input PostUpdateLocalesRelationInput {
|
|
414
|
-
by: PostLocaleUniqueWhere
|
|
415
|
-
data: PostLocaleWithoutPostUpdateInput
|
|
414
|
+
by: PostLocaleUniqueWhere!
|
|
415
|
+
data: PostLocaleWithoutPostUpdateInput!
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
input PostLocaleWithoutPostUpdateInput {
|
|
@@ -421,9 +421,9 @@ input PostLocaleWithoutPostUpdateInput {
|
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
input PostUpsertLocalesRelationInput {
|
|
424
|
-
by: PostLocaleUniqueWhere
|
|
425
|
-
update: PostLocaleWithoutPostUpdateInput
|
|
426
|
-
create: PostLocaleWithoutPostCreateInput
|
|
424
|
+
by: PostLocaleUniqueWhere!
|
|
425
|
+
update: PostLocaleWithoutPostUpdateInput!
|
|
426
|
+
create: PostLocaleWithoutPostCreateInput!
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
input PostUpdateCategoriesEntityRelationInput {
|
|
@@ -437,8 +437,8 @@ input PostUpdateCategoriesEntityRelationInput {
|
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
input PostUpdateCategoriesRelationInput {
|
|
440
|
-
by: CategoryUniqueWhere
|
|
441
|
-
data: CategoryWithoutPostsUpdateInput
|
|
440
|
+
by: CategoryUniqueWhere!
|
|
441
|
+
data: CategoryWithoutPostsUpdateInput!
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
input CategoryWithoutPostsUpdateInput {
|
|
@@ -447,15 +447,15 @@ input CategoryWithoutPostsUpdateInput {
|
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
input PostUpsertCategoriesRelationInput {
|
|
450
|
-
by: CategoryUniqueWhere
|
|
451
|
-
update: CategoryWithoutPostsUpdateInput
|
|
452
|
-
create: CategoryWithoutPostsCreateInput
|
|
450
|
+
by: CategoryUniqueWhere!
|
|
451
|
+
update: CategoryWithoutPostsUpdateInput!
|
|
452
|
+
create: CategoryWithoutPostsCreateInput!
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
input AuthorUpsertPostsRelationInput {
|
|
456
|
-
by: PostUniqueWhere
|
|
457
|
-
update: PostWithoutAuthorUpdateInput
|
|
458
|
-
create: PostWithoutAuthorCreateInput
|
|
456
|
+
by: PostUniqueWhere!
|
|
457
|
+
update: PostWithoutAuthorUpdateInput!
|
|
458
|
+
create: PostWithoutAuthorCreateInput!
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
input CategoryCreateInput {
|
|
@@ -493,13 +493,13 @@ input AuthorWithoutPostsCreateInput {
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
input PostConnectOrCreateAuthorRelationInput {
|
|
496
|
-
connect: AuthorUniqueWhere
|
|
497
|
-
create: AuthorWithoutPostsCreateInput
|
|
496
|
+
connect: AuthorUniqueWhere!
|
|
497
|
+
create: AuthorWithoutPostsCreateInput!
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
input CategoryConnectOrCreatePostsRelationInput {
|
|
501
|
-
connect: PostUniqueWhere
|
|
502
|
-
create: PostWithoutCategoriesCreateInput
|
|
501
|
+
connect: PostUniqueWhere!
|
|
502
|
+
create: PostWithoutCategoriesCreateInput!
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
input CategoryUpdateInput {
|
|
@@ -519,8 +519,8 @@ input CategoryUpdatePostsEntityRelationInput {
|
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
input CategoryUpdatePostsRelationInput {
|
|
522
|
-
by: PostUniqueWhere
|
|
523
|
-
data: PostWithoutCategoriesUpdateInput
|
|
522
|
+
by: PostUniqueWhere!
|
|
523
|
+
data: PostWithoutCategoriesUpdateInput!
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
input PostWithoutCategoriesUpdateInput {
|
|
@@ -546,14 +546,14 @@ input AuthorWithoutPostsUpdateInput {
|
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
input PostUpsertAuthorRelationInput {
|
|
549
|
-
update: AuthorWithoutPostsUpdateInput
|
|
550
|
-
create: AuthorWithoutPostsCreateInput
|
|
549
|
+
update: AuthorWithoutPostsUpdateInput!
|
|
550
|
+
create: AuthorWithoutPostsCreateInput!
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
input CategoryUpsertPostsRelationInput {
|
|
554
|
-
by: PostUniqueWhere
|
|
555
|
-
update: PostWithoutCategoriesUpdateInput
|
|
556
|
-
create: PostWithoutCategoriesCreateInput
|
|
554
|
+
by: PostUniqueWhere!
|
|
555
|
+
update: PostWithoutCategoriesUpdateInput!
|
|
556
|
+
create: PostWithoutCategoriesCreateInput!
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
input PostLocaleCreateInput {
|
|
@@ -578,8 +578,8 @@ input PostWithoutLocalesCreateInput {
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
input PostLocaleConnectOrCreatePostRelationInput {
|
|
581
|
-
connect: PostUniqueWhere
|
|
582
|
-
create: PostWithoutLocalesCreateInput
|
|
581
|
+
connect: PostUniqueWhere!
|
|
582
|
+
create: PostWithoutLocalesCreateInput!
|
|
583
583
|
}
|
|
584
584
|
|
|
585
585
|
input PostLocaleUpdateInput {
|
|
@@ -606,8 +606,8 @@ input PostWithoutLocalesUpdateInput {
|
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
input PostLocaleUpsertPostRelationInput {
|
|
609
|
-
update: PostWithoutLocalesUpdateInput
|
|
610
|
-
create: PostWithoutLocalesCreateInput
|
|
609
|
+
update: PostWithoutLocalesUpdateInput!
|
|
610
|
+
create: PostWithoutLocalesCreateInput!
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
input PostCreateInput {
|
|
@@ -220,8 +220,8 @@ input PostWithoutLocalesCreateInput {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
input PostLocaleConnectOrCreatePostRelationInput {
|
|
223
|
-
connect: PostUniqueWhere
|
|
224
|
-
create: PostWithoutLocalesCreateInput
|
|
223
|
+
connect: PostUniqueWhere!
|
|
224
|
+
create: PostWithoutLocalesCreateInput!
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
input PostLocaleUpdateInput {
|
|
@@ -247,8 +247,8 @@ input PostWithoutLocalesUpdateInput {
|
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
input PostLocaleUpsertPostRelationInput {
|
|
250
|
-
update: PostWithoutLocalesUpdateInput
|
|
251
|
-
create: PostWithoutLocalesCreateInput
|
|
250
|
+
update: PostWithoutLocalesUpdateInput!
|
|
251
|
+
create: PostWithoutLocalesCreateInput!
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
type PostConnection {
|
|
@@ -280,8 +280,8 @@ input PostLocaleWithoutPostCreateInput {
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
input PostConnectOrCreateLocalesRelationInput {
|
|
283
|
-
connect: PostLocaleUniqueWhere
|
|
284
|
-
create: PostLocaleWithoutPostCreateInput
|
|
283
|
+
connect: PostLocaleUniqueWhere!
|
|
284
|
+
create: PostLocaleWithoutPostCreateInput!
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
input PostUpdateInput {
|
|
@@ -301,8 +301,8 @@ input PostUpdateLocalesEntityRelationInput {
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
input PostUpdateLocalesRelationInput {
|
|
304
|
-
by: PostLocaleUniqueWhere
|
|
305
|
-
data: PostLocaleWithoutPostUpdateInput
|
|
304
|
+
by: PostLocaleUniqueWhere!
|
|
305
|
+
data: PostLocaleWithoutPostUpdateInput!
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
input PostLocaleWithoutPostUpdateInput {
|
|
@@ -312,9 +312,9 @@ input PostLocaleWithoutPostUpdateInput {
|
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
input PostUpsertLocalesRelationInput {
|
|
315
|
-
by: PostLocaleUniqueWhere
|
|
316
|
-
update: PostLocaleWithoutPostUpdateInput
|
|
317
|
-
create: PostLocaleWithoutPostCreateInput
|
|
315
|
+
by: PostLocaleUniqueWhere!
|
|
316
|
+
update: PostLocaleWithoutPostUpdateInput!
|
|
317
|
+
create: PostLocaleWithoutPostCreateInput!
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
type QueryTransaction {
|
|
@@ -402,8 +402,8 @@ input CategoryWithoutPostsCreateInput {
|
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
input PostConnectOrCreateCategoriesRelationInput {
|
|
405
|
-
connect: CategoryUniqueWhere
|
|
406
|
-
create: CategoryWithoutPostsCreateInput
|
|
405
|
+
connect: CategoryUniqueWhere!
|
|
406
|
+
create: CategoryWithoutPostsCreateInput!
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
input PostCreateLocalesEntityRelationInput {
|
|
@@ -420,13 +420,13 @@ input PostLocaleWithoutPostCreateInput {
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
input PostConnectOrCreateLocalesRelationInput {
|
|
423
|
-
connect: PostLocaleUniqueWhere
|
|
424
|
-
create: PostLocaleWithoutPostCreateInput
|
|
423
|
+
connect: PostLocaleUniqueWhere!
|
|
424
|
+
create: PostLocaleWithoutPostCreateInput!
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
input AuthorConnectOrCreatePostsRelationInput {
|
|
428
|
-
connect: PostUniqueWhere
|
|
429
|
-
create: PostWithoutAuthorCreateInput
|
|
428
|
+
connect: PostUniqueWhere!
|
|
429
|
+
create: PostWithoutAuthorCreateInput!
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
input AuthorUpdateInput {
|
|
@@ -446,8 +446,8 @@ input AuthorUpdatePostsEntityRelationInput {
|
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
input AuthorUpdatePostsRelationInput {
|
|
449
|
-
by: PostUniqueWhere
|
|
450
|
-
data: PostWithoutAuthorUpdateInput
|
|
449
|
+
by: PostUniqueWhere!
|
|
450
|
+
data: PostWithoutAuthorUpdateInput!
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
input PostWithoutAuthorUpdateInput {
|
|
@@ -469,8 +469,8 @@ input PostUpdateCategoriesEntityRelationInput {
|
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
input PostUpdateCategoriesRelationInput {
|
|
472
|
-
by: CategoryUniqueWhere
|
|
473
|
-
data: CategoryWithoutPostsUpdateInput
|
|
472
|
+
by: CategoryUniqueWhere!
|
|
473
|
+
data: CategoryWithoutPostsUpdateInput!
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
input CategoryWithoutPostsUpdateInput {
|
|
@@ -479,9 +479,9 @@ input CategoryWithoutPostsUpdateInput {
|
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
input PostUpsertCategoriesRelationInput {
|
|
482
|
-
by: CategoryUniqueWhere
|
|
483
|
-
update: CategoryWithoutPostsUpdateInput
|
|
484
|
-
create: CategoryWithoutPostsCreateInput
|
|
482
|
+
by: CategoryUniqueWhere!
|
|
483
|
+
update: CategoryWithoutPostsUpdateInput!
|
|
484
|
+
create: CategoryWithoutPostsCreateInput!
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
input PostUpdateLocalesEntityRelationInput {
|
|
@@ -495,8 +495,8 @@ input PostUpdateLocalesEntityRelationInput {
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
input PostUpdateLocalesRelationInput {
|
|
498
|
-
by: PostLocaleUniqueWhere
|
|
499
|
-
data: PostLocaleWithoutPostUpdateInput
|
|
498
|
+
by: PostLocaleUniqueWhere!
|
|
499
|
+
data: PostLocaleWithoutPostUpdateInput!
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
input PostLocaleWithoutPostUpdateInput {
|
|
@@ -506,15 +506,15 @@ input PostLocaleWithoutPostUpdateInput {
|
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
input PostUpsertLocalesRelationInput {
|
|
509
|
-
by: PostLocaleUniqueWhere
|
|
510
|
-
update: PostLocaleWithoutPostUpdateInput
|
|
511
|
-
create: PostLocaleWithoutPostCreateInput
|
|
509
|
+
by: PostLocaleUniqueWhere!
|
|
510
|
+
update: PostLocaleWithoutPostUpdateInput!
|
|
511
|
+
create: PostLocaleWithoutPostCreateInput!
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
input AuthorUpsertPostsRelationInput {
|
|
515
|
-
by: PostUniqueWhere
|
|
516
|
-
update: PostWithoutAuthorUpdateInput
|
|
517
|
-
create: PostWithoutAuthorCreateInput
|
|
515
|
+
by: PostUniqueWhere!
|
|
516
|
+
update: PostWithoutAuthorUpdateInput!
|
|
517
|
+
create: PostWithoutAuthorCreateInput!
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
input PostCreateInput {
|
|
@@ -538,8 +538,8 @@ input AuthorWithoutPostsCreateInput {
|
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
input PostConnectOrCreateAuthorRelationInput {
|
|
541
|
-
connect: AuthorUniqueWhere
|
|
542
|
-
create: AuthorWithoutPostsCreateInput
|
|
541
|
+
connect: AuthorUniqueWhere!
|
|
542
|
+
create: AuthorWithoutPostsCreateInput!
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
input PostUpdateInput {
|
|
@@ -567,8 +567,8 @@ input AuthorWithoutPostsUpdateInput {
|
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
input PostUpsertAuthorRelationInput {
|
|
570
|
-
update: AuthorWithoutPostsUpdateInput
|
|
571
|
-
create: AuthorWithoutPostsCreateInput
|
|
570
|
+
update: AuthorWithoutPostsUpdateInput!
|
|
571
|
+
create: AuthorWithoutPostsCreateInput!
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
input PostLocaleCreateInput {
|
|
@@ -593,8 +593,8 @@ input PostWithoutLocalesCreateInput {
|
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
input PostLocaleConnectOrCreatePostRelationInput {
|
|
596
|
-
connect: PostUniqueWhere
|
|
597
|
-
create: PostWithoutLocalesCreateInput
|
|
596
|
+
connect: PostUniqueWhere!
|
|
597
|
+
create: PostWithoutLocalesCreateInput!
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
input PostLocaleUpdateInput {
|
|
@@ -623,8 +623,8 @@ input PostWithoutLocalesUpdateInput {
|
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
input PostLocaleUpsertPostRelationInput {
|
|
626
|
-
update: PostWithoutLocalesUpdateInput
|
|
627
|
-
create: PostWithoutLocalesCreateInput
|
|
626
|
+
update: PostWithoutLocalesUpdateInput!
|
|
627
|
+
create: PostWithoutLocalesCreateInput!
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
input CategoryCreateInput {
|
|
@@ -649,8 +649,8 @@ input PostWithoutCategoriesCreateInput {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
input CategoryConnectOrCreatePostsRelationInput {
|
|
652
|
-
connect: PostUniqueWhere
|
|
653
|
-
create: PostWithoutCategoriesCreateInput
|
|
652
|
+
connect: PostUniqueWhere!
|
|
653
|
+
create: PostWithoutCategoriesCreateInput!
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
input CategoryUpdateInput {
|
|
@@ -670,8 +670,8 @@ input CategoryUpdatePostsEntityRelationInput {
|
|
|
670
670
|
}
|
|
671
671
|
|
|
672
672
|
input CategoryUpdatePostsRelationInput {
|
|
673
|
-
by: PostUniqueWhere
|
|
674
|
-
data: PostWithoutCategoriesUpdateInput
|
|
673
|
+
by: PostUniqueWhere!
|
|
674
|
+
data: PostWithoutCategoriesUpdateInput!
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
input PostWithoutCategoriesUpdateInput {
|
|
@@ -683,9 +683,9 @@ input PostWithoutCategoriesUpdateInput {
|
|
|
683
683
|
}
|
|
684
684
|
|
|
685
685
|
input CategoryUpsertPostsRelationInput {
|
|
686
|
-
by: PostUniqueWhere
|
|
687
|
-
update: PostWithoutCategoriesUpdateInput
|
|
688
|
-
create: PostWithoutCategoriesCreateInput
|
|
686
|
+
by: PostUniqueWhere!
|
|
687
|
+
update: PostWithoutCategoriesUpdateInput!
|
|
688
|
+
create: PostWithoutCategoriesCreateInput!
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
type QueryTransaction {
|