@@ -21,7 +21,7 @@ const CreateContractMutation = graphql(`
21
21
error {
22
22
message
23
23
details {
24
- targetId
24
+ target
25
25
contractName
26
26
includeTags
27
27
excludeTags
@@ -101,7 +101,7 @@ test.concurrent(
101
101
document : CreateContractMutation ,
102
102
variables : {
103
103
input : {
104
- targetId : target . id ,
104
+ target : { byId : target . id } ,
105
105
contractName : 'my-contract' ,
106
106
removeUnreachableTypesFromPublicApiSchema : true ,
107
107
includeTags : [ 'toyota' ] ,
@@ -192,7 +192,7 @@ test.concurrent('schema publish with failing initial contract composition', asyn
192
192
document : CreateContractMutation ,
193
193
variables : {
194
194
input : {
195
- targetId : target . id ,
195
+ target : { byId : target . id } ,
196
196
contractName : 'my-contract' ,
197
197
removeUnreachableTypesFromPublicApiSchema : true ,
198
198
excludeTags : [ 'toyota' ] ,
@@ -253,7 +253,7 @@ test.concurrent('schema publish with succeeding contract composition', async ({
253
253
document : CreateContractMutation ,
254
254
variables : {
255
255
input : {
256
- targetId : target . id ,
256
+ target : { byId : target . id } ,
257
257
contractName : 'my-contract' ,
258
258
removeUnreachableTypesFromPublicApiSchema : true ,
259
259
includeTags : [ 'toyota' ] ,
@@ -344,7 +344,7 @@ test.concurrent('schema publish with failing contract composition', async ({ exp
344
344
document : CreateContractMutation ,
345
345
variables : {
346
346
input : {
347
- targetId : target . id ,
347
+ target : { byId : target . id } ,
348
348
contractName : 'my-contract' ,
349
349
removeUnreachableTypesFromPublicApiSchema : true ,
350
350
excludeTags : [ 'toyota' ] ,
@@ -472,7 +472,7 @@ test.concurrent(
472
472
document : CreateContractMutation ,
473
473
variables : {
474
474
input : {
475
- targetId : target . id ,
475
+ target : { byId : target . id } ,
476
476
contractName : 'my-contract' ,
477
477
removeUnreachableTypesFromPublicApiSchema : true ,
478
478
excludeTags : [ 'toyota' ] ,
@@ -563,7 +563,7 @@ test.concurrent('schema delete with failing initial contract composition', async
563
563
document : CreateContractMutation ,
564
564
variables : {
565
565
input : {
566
- targetId : target . id ,
566
+ target : { byId : target . id } ,
567
567
contractName : 'my-contract' ,
568
568
removeUnreachableTypesFromPublicApiSchema : true ,
569
569
includeTags : [ 'toyota' ] ,
@@ -627,7 +627,7 @@ test.concurrent('schema delete with succeeding contract composition', async ({ e
627
627
document : CreateContractMutation ,
628
628
variables : {
629
629
input : {
630
- targetId : target . id ,
630
+ target : { byId : target . id } ,
631
631
contractName : 'my-contract' ,
632
632
removeUnreachableTypesFromPublicApiSchema : true ,
633
633
excludeTags : [ 'toyota' ] ,
@@ -717,7 +717,7 @@ test.concurrent('schema delete with failing contract composition', async ({ expe
717
717
document : CreateContractMutation ,
718
718
variables : {
719
719
input : {
720
- targetId : target . id ,
720
+ target : { byId : target . id } ,
721
721
contractName : 'my-contract' ,
722
722
removeUnreachableTypesFromPublicApiSchema : true ,
723
723
includeTags : [ 'toyota' ] ,
@@ -781,7 +781,7 @@ test.concurrent(
781
781
document : CreateContractMutation ,
782
782
variables : {
783
783
input : {
784
- targetId : target . id ,
784
+ target : { byId : target . id } ,
785
785
contractName : 'my-contract' ,
786
786
removeUnreachableTypesFromPublicApiSchema : true ,
787
787
excludeTags : [ 'toyota' ] ,
@@ -845,7 +845,7 @@ test.concurrent(
845
845
document : CreateContractMutation ,
846
846
variables : {
847
847
input : {
848
- targetId : target . id ,
848
+ target : { byId : target . id } ,
849
849
contractName : 'my-contract' ,
850
850
removeUnreachableTypesFromPublicApiSchema : true ,
851
851
excludeTags : [ 'toyota' ] ,
@@ -917,7 +917,7 @@ test.concurrent('disable contract results in CDN artifacts being removed', async
917
917
document : CreateContractMutation ,
918
918
variables : {
919
919
input : {
920
- targetId : target . id ,
920
+ target : { byId : target . id } ,
921
921
contractName : 'my-contract' ,
922
922
removeUnreachableTypesFromPublicApiSchema : true ,
923
923
excludeTags : [ 'toyota' ] ,
@@ -972,7 +972,7 @@ test.concurrent('disable contract results in CDN artifacts being removed', async
972
972
document : DisabledContractMutation ,
973
973
variables : {
974
974
input : {
975
- contractId,
975
+ contract : { byId : contractId } ,
976
976
} ,
977
977
} ,
978
978
authToken : ownerToken ,
@@ -1006,7 +1006,7 @@ test.concurrent(
1006
1006
document : CreateContractMutation ,
1007
1007
variables : {
1008
1008
input : {
1009
- targetId : target . id ,
1009
+ target : { byId : target . id } ,
1010
1010
contractName : 'my-contract' ,
1011
1011
removeUnreachableTypesFromPublicApiSchema : true ,
1012
1012
excludeTags : [ 'toyota' ] ,
@@ -1029,7 +1029,7 @@ test.concurrent(
1029
1029
document : DisabledContractMutation ,
1030
1030
variables : {
1031
1031
input : {
1032
- contractId,
1032
+ contract : { byId : contractId } ,
1033
1033
} ,
1034
1034
} ,
1035
1035
authToken : ownerToken ,
@@ -1065,7 +1065,7 @@ test.concurrent(
1065
1065
document : CreateContractMutation ,
1066
1066
variables : {
1067
1067
input : {
1068
- targetId : target . id ,
1068
+ target : { byId : target . id } ,
1069
1069
contractName : 'my-contract' ,
1070
1070
removeUnreachableTypesFromPublicApiSchema : true ,
1071
1071
excludeTags : [ 'toyota' ] ,
@@ -1086,7 +1086,7 @@ test.concurrent(
1086
1086
document : DisabledContractMutation ,
1087
1087
variables : {
1088
1088
input : {
1089
- contractId,
1089
+ contract : { byId : contractId } ,
1090
1090
} ,
1091
1091
} ,
1092
1092
authToken : ownerToken ,
@@ -1098,7 +1098,7 @@ test.concurrent(
1098
1098
document : DisabledContractMutation ,
1099
1099
variables : {
1100
1100
input : {
1101
- contractId,
1101
+ contract : { byId : contractId } ,
1102
1102
} ,
1103
1103
} ,
1104
1104
authToken : ownerToken ,
0 commit comments