@takeshape/schema 8.189.2 → 8.189.4

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 (71) hide show
  1. package/dist/migration/index.d.ts +1 -0
  2. package/dist/migration/index.d.ts.map +1 -1
  3. package/dist/migration/index.js +4 -1
  4. package/dist/migration/to/v3.18.1.d.ts +5 -0
  5. package/dist/migration/to/v3.18.1.d.ts.map +1 -0
  6. package/dist/migration/to/v3.18.1.js +28 -0
  7. package/dist/project-schema/index.d.ts +4 -1
  8. package/dist/project-schema/index.d.ts.map +1 -1
  9. package/dist/project-schema/index.js +20 -3
  10. package/dist/project-schema/latest.d.ts +1 -2
  11. package/dist/project-schema/latest.d.ts.map +1 -1
  12. package/dist/project-schema/migrate.d.ts.map +1 -1
  13. package/dist/project-schema/migrate.js +4 -0
  14. package/dist/project-schema/v3.18.1.d.ts +1333 -0
  15. package/dist/project-schema/v3.18.1.d.ts.map +1 -0
  16. package/dist/project-schema/v3.18.1.js +5 -0
  17. package/dist/schema-util.d.ts.map +1 -1
  18. package/dist/schema-util.js +13 -11
  19. package/dist/schemas/index.d.ts +2 -2
  20. package/dist/schemas/index.d.ts.map +1 -1
  21. package/dist/schemas/index.js +6 -4
  22. package/dist/schemas/index.ts +4 -2
  23. package/dist/schemas/project-schema/latest.json +4 -3
  24. package/dist/schemas/project-schema/v3.18.1.json +2351 -0
  25. package/dist/schemas/project-schema.json +3 -0
  26. package/dist/types/types.d.ts +2 -2
  27. package/dist/types/types.d.ts.map +1 -1
  28. package/dist/util/has-arg.d.ts +4 -2
  29. package/dist/util/has-arg.d.ts.map +1 -1
  30. package/dist/util/has-arg.js +6 -1
  31. package/es/migration/index.js +3 -1
  32. package/es/migration/to/v3.18.1.js +16 -0
  33. package/es/project-schema/index.js +3 -1
  34. package/es/project-schema/migrate.js +5 -1
  35. package/es/project-schema/v3.18.1.js +1 -0
  36. package/es/schema-util.js +11 -9
  37. package/es/schemas/index.js +4 -3
  38. package/es/schemas/index.ts +4 -2
  39. package/es/schemas/project-schema/latest.json +4 -3
  40. package/es/schemas/project-schema/v3.18.1.json +2351 -0
  41. package/es/schemas/project-schema.json +3 -0
  42. package/es/util/has-arg.js +4 -1
  43. package/examples/latest/betzino.json +2276 -2276
  44. package/examples/latest/blog-schema.json +44 -44
  45. package/examples/latest/brewery-schema.json +38 -38
  46. package/examples/latest/complex-project-schema.json +272 -272
  47. package/examples/latest/complex-schema.json +1 -1
  48. package/examples/latest/fabric-ecommerce.json +23 -23
  49. package/examples/latest/frank-and-fred-schema.json +1616 -1616
  50. package/examples/latest/klirr-schema.json +1951 -1951
  51. package/examples/latest/massive-schema.json +428 -428
  52. package/examples/latest/mill-components-schema.json +200 -200
  53. package/examples/latest/one-earth.json +613 -613
  54. package/examples/latest/pet-oneof-array.json +38 -38
  55. package/examples/latest/post-schema.json +38 -38
  56. package/examples/latest/pruned-shopify-product-schema.json +8 -8
  57. package/examples/latest/real-world-schema.json +80 -80
  58. package/examples/latest/recursive-repeater-schema.json +20 -20
  59. package/examples/latest/recursive-schema.json +20 -20
  60. package/examples/latest/rick-and-morty-ast.json +150 -150
  61. package/examples/latest/rick-and-morty-graphql.json +114 -114
  62. package/examples/latest/rick-and-morty-rest.json +5 -5
  63. package/examples/latest/schema-with-repeater-draftjs.json +20 -20
  64. package/examples/latest/shape-books-v3_2_0.json +122 -122
  65. package/examples/latest/shape-books.json +122 -122
  66. package/examples/latest/shopify-lookbook.json +44 -44
  67. package/examples/latest/shopify-store-with-widget.json +80 -80
  68. package/examples/latest/stripe-starter-resolved.json +83 -83
  69. package/examples/latest/user-schema-no-required.json +20 -20
  70. package/examples/latest/user-schema-with-defaults.json +20 -20
  71. package/package.json +4 -4
@@ -156,53 +156,53 @@
156
156
  "dataKey": "AQIDAHhcZWXOdlBglkxBhI23ElO/clC/kuw5ynjXDSqJgfTz8gF9PtUhhmj99Nwuy3NTUSw0AAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMyc4d40JF8HULr2wWAgEQgDs9q/z7QObGJa+nOpS1GDYB9HYK9EcHEiZjhiGhQyAhxZLvqEwQj7+1Zn1LHykh3NJE1BQLQqF8AlQkkQ==",
157
157
  "queries": {
158
158
  "getProduct": {
159
- "shape": "Product",
159
+ "args": "TSGetArgs<Product>",
160
160
  "resolver": {
161
161
  "name": "takeshape:get",
162
162
  "service": "takeshape:local",
163
163
  "options": {},
164
164
  "shapeName": "Product"
165
165
  },
166
- "description": "Get a Product by ID",
167
- "args": "TSGetArgs<Product>"
166
+ "shape": "Product",
167
+ "description": "Get a Product by ID"
168
168
  },
169
169
  "getProductList": {
170
- "shape": "PaginatedList<Product>",
170
+ "args": "TSListArgs<Product>",
171
171
  "resolver": {
172
172
  "name": "takeshape:list",
173
173
  "service": "takeshape:local",
174
174
  "options": {},
175
175
  "shapeName": "Product"
176
176
  },
177
- "description": "Returns a list Product in natural order.",
178
- "args": "TSListArgs<Product>"
177
+ "shape": "PaginatedList<Product>",
178
+ "description": "Returns a list Product in natural order."
179
179
  },
180
180
  "getLook": {
181
- "shape": "Look",
181
+ "args": "TSGetArgs<Look>",
182
182
  "resolver": {
183
183
  "name": "takeshape:get",
184
184
  "service": "takeshape:local",
185
185
  "options": {},
186
186
  "shapeName": "Look"
187
187
  },
188
- "description": "Get a Look by ID",
189
- "args": "TSGetArgs<Look>"
188
+ "shape": "Look",
189
+ "description": "Get a Look by ID"
190
190
  },
191
191
  "getLookList": {
192
- "shape": "PaginatedList<Look>",
192
+ "args": "TSListArgs<Look>",
193
193
  "resolver": {
194
194
  "name": "takeshape:list",
195
195
  "service": "takeshape:local",
196
196
  "options": {},
197
197
  "shapeName": "Look"
198
198
  },
199
- "description": "Returns a list Look in natural order.",
200
- "args": "TSListArgs<Look>"
199
+ "shape": "PaginatedList<Look>",
200
+ "description": "Returns a list Look in natural order."
201
201
  }
202
202
  },
203
203
  "mutations": {
204
204
  "updateProduct": {
205
- "shape": "UpdateResult<Product>",
205
+ "args": "UpdateArgs<ProductInterface>",
206
206
  "resolver": {
207
207
  "compose": [
208
208
  {
@@ -456,11 +456,11 @@
456
456
  ]
457
457
  }
458
458
  },
459
- "description": "Update Product. If the input has Shopify values and a Shopify ID, the Shopify product with that ID is updated.\nIf the input has Shopify values and no Shopify ID, a Shopify product is created.",
460
- "args": "UpdateArgs<ProductInterface>"
459
+ "shape": "UpdateResult<Product>",
460
+ "description": "Update Product. If the input has Shopify values and a Shopify ID, the Shopify product with that ID is updated.\nIf the input has Shopify values and no Shopify ID, a Shopify product is created."
461
461
  },
462
462
  "createProduct": {
463
- "shape": "CreateResult<Product>",
463
+ "args": "CreateArgs<ProductInterface>",
464
464
  "resolver": {
465
465
  "compose": [
466
466
  {
@@ -625,33 +625,33 @@
625
625
  ]
626
626
  }
627
627
  },
628
- "description": "Create Product. If Shopify values are provided, a Shopify product is also created and the new product ID is saved.",
629
- "args": "CreateArgs<ProductInterface>"
628
+ "shape": "CreateResult<Product>",
629
+ "description": "Create Product. If Shopify values are provided, a Shopify product is also created and the new product ID is saved."
630
630
  },
631
631
  "duplicateProduct": {
632
- "shape": "DuplicateResult<Product>",
632
+ "args": "DuplicateArgs<Product>",
633
633
  "resolver": {
634
634
  "name": "takeshape:duplicate",
635
635
  "service": "takeshape:local",
636
636
  "options": {},
637
637
  "shapeName": "Product"
638
638
  },
639
- "description": "Duplicate Product",
640
- "args": "DuplicateArgs<Product>"
639
+ "shape": "DuplicateResult<Product>",
640
+ "description": "Duplicate Product"
641
641
  },
642
642
  "deleteProduct": {
643
- "shape": "DeleteResult<Product>",
643
+ "args": "DeleteArgs<Product>",
644
644
  "resolver": {
645
645
  "name": "takeshape:delete",
646
646
  "service": "takeshape:local",
647
647
  "options": {},
648
648
  "shapeName": "Product"
649
649
  },
650
- "description": "Delete Product",
651
- "args": "DeleteArgs<Product>"
650
+ "shape": "DeleteResult<Product>",
651
+ "description": "Delete Product"
652
652
  },
653
653
  "createProductAndServiceObject": {
654
- "shape": "CreateResult<Product>",
654
+ "args": "CreateArgs<ProductInterface>",
655
655
  "resolver": {
656
656
  "compose": [
657
657
  {
@@ -786,11 +786,11 @@
786
786
  ]
787
787
  ]
788
788
  },
789
- "description": "Create Product",
790
- "args": "CreateArgs<ProductInterface>"
789
+ "shape": "CreateResult<Product>",
790
+ "description": "Create Product"
791
791
  },
792
792
  "updateProductAndCreateServiceObject": {
793
- "shape": "UpdateResult<Product>",
793
+ "args": "UpdateArgs<ProductInterface>",
794
794
  "resolver": {
795
795
  "compose": [
796
796
  {
@@ -925,52 +925,52 @@
925
925
  ]
926
926
  ]
927
927
  },
928
- "description": "Update Product",
929
- "args": "UpdateArgs<ProductInterface>"
928
+ "shape": "UpdateResult<Product>",
929
+ "description": "Update Product"
930
930
  },
931
931
  "updateLook": {
932
- "shape": "UpdateResult<Look>",
932
+ "args": "UpdateArgs<Look>",
933
933
  "resolver": {
934
934
  "name": "takeshape:update",
935
935
  "service": "takeshape:local",
936
936
  "options": {},
937
937
  "shapeName": "Look"
938
938
  },
939
- "description": "Update Look",
940
- "args": "UpdateArgs<Look>"
939
+ "shape": "UpdateResult<Look>",
940
+ "description": "Update Look"
941
941
  },
942
942
  "createLook": {
943
- "shape": "CreateResult<Look>",
943
+ "args": "CreateArgs<Look>",
944
944
  "resolver": {
945
945
  "name": "takeshape:create",
946
946
  "service": "takeshape:local",
947
947
  "options": {},
948
948
  "shapeName": "Look"
949
949
  },
950
- "description": "Create Look",
951
- "args": "CreateArgs<Look>"
950
+ "shape": "CreateResult<Look>",
951
+ "description": "Create Look"
952
952
  },
953
953
  "duplicateLook": {
954
- "shape": "DuplicateResult<Look>",
954
+ "args": "DuplicateArgs<Look>",
955
955
  "resolver": {
956
956
  "name": "takeshape:duplicate",
957
957
  "service": "takeshape:local",
958
958
  "options": {},
959
959
  "shapeName": "Look"
960
960
  },
961
- "description": "Duplicate Look",
962
- "args": "DuplicateArgs<Look>"
961
+ "shape": "DuplicateResult<Look>",
962
+ "description": "Duplicate Look"
963
963
  },
964
964
  "deleteLook": {
965
- "shape": "DeleteResult<Look>",
965
+ "args": "DeleteArgs<Look>",
966
966
  "resolver": {
967
967
  "name": "takeshape:delete",
968
968
  "service": "takeshape:local",
969
969
  "options": {},
970
970
  "shapeName": "Look"
971
971
  },
972
- "description": "Delete Look",
973
- "args": "DeleteArgs<Look>"
972
+ "shape": "DeleteResult<Look>",
973
+ "description": "Delete Look"
974
974
  }
975
975
  },
976
976
  "shapes": {
@@ -1196,5 +1196,5 @@
1196
1196
  }
1197
1197
  }
1198
1198
  },
1199
- "schemaVersion": "3.18.0"
1200
- }
1199
+ "schemaVersion": "3.18.1"
1200
+ }
@@ -721,185 +721,185 @@
721
721
  "dataKey": "AQIDAHhcZWXOdlBglkxBhI23ElO/clC/kuw5ynjXDSqJgfTz8gF9PtUhhmj99Nwuy3NTUSw0AAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMyc4d40JF8HULr2wWAgEQgDs9q/z7QObGJa+nOpS1GDYB9HYK9EcHEiZjhiGhQyAhxZLvqEwQj7+1Zn1LHykh3NJE1BQLQqF8AlQkkQ==",
722
722
  "queries": {
723
723
  "getAsset": {
724
- "shape": "Asset",
724
+ "args": "TSGetArgs<Asset>",
725
725
  "resolver": {
726
726
  "name": "takeshape:get",
727
727
  "service": "takeshape:local",
728
728
  "options": {},
729
729
  "shapeName": "Asset"
730
730
  },
731
- "description": "Get a Asset by ID",
732
- "args": "TSGetArgs<Asset>"
731
+ "shape": "Asset",
732
+ "description": "Get a Asset by ID"
733
733
  },
734
734
  "getAssetList": {
735
- "shape": "PaginatedList<Asset>",
735
+ "args": "TSListArgs<Asset>",
736
736
  "resolver": {
737
737
  "name": "takeshape:list",
738
738
  "service": "takeshape:local",
739
739
  "options": {},
740
740
  "shapeName": "Asset"
741
741
  },
742
- "description": "Returns a list Asset in natural order.",
743
- "args": "TSListArgs<Asset>"
742
+ "shape": "PaginatedList<Asset>",
743
+ "description": "Returns a list Asset in natural order."
744
744
  },
745
745
  "getTsStaticSite": {
746
- "shape": "TsStaticSite",
746
+ "args": "TSGetArgs<TsStaticSite>",
747
747
  "resolver": {
748
748
  "name": "takeshape:get",
749
749
  "service": "takeshape:local",
750
750
  "options": {},
751
751
  "shapeName": "TsStaticSite"
752
752
  },
753
- "description": "Get a TsStaticSite by ID",
754
- "args": "TSGetArgs<TsStaticSite>"
753
+ "shape": "TsStaticSite",
754
+ "description": "Get a TsStaticSite by ID"
755
755
  },
756
756
  "getTsStaticSiteList": {
757
- "shape": "PaginatedList<TsStaticSite>",
757
+ "args": "TSListArgs<TsStaticSite>",
758
758
  "resolver": {
759
759
  "name": "takeshape:list",
760
760
  "service": "takeshape:local",
761
761
  "options": {},
762
762
  "shapeName": "TsStaticSite"
763
763
  },
764
- "description": "Returns a list TsStaticSite in natural order.",
765
- "args": "TSListArgs<TsStaticSite>"
764
+ "shape": "PaginatedList<TsStaticSite>",
765
+ "description": "Returns a list TsStaticSite in natural order."
766
766
  },
767
767
  "getProduct": {
768
- "shape": "Product",
768
+ "args": "TSGetArgs<Product>",
769
769
  "resolver": {
770
770
  "name": "takeshape:get",
771
771
  "service": "takeshape:local",
772
772
  "options": {},
773
773
  "shapeName": "Product"
774
774
  },
775
- "description": "Get a Product by ID",
776
- "args": "TSGetArgs<Product>"
775
+ "shape": "Product",
776
+ "description": "Get a Product by ID"
777
777
  },
778
778
  "getProductList": {
779
- "shape": "PaginatedList<Product>",
779
+ "args": "TSListArgs<Product>",
780
780
  "resolver": {
781
781
  "name": "takeshape:list",
782
782
  "service": "takeshape:local",
783
783
  "options": {},
784
784
  "shapeName": "Product"
785
785
  },
786
- "description": "Returns a list Product in natural order.",
787
- "args": "TSListArgs<Product>"
786
+ "shape": "PaginatedList<Product>",
787
+ "description": "Returns a list Product in natural order."
788
788
  },
789
789
  "getCollectionInObject": {
790
- "shape": "CollectionInObject",
790
+ "args": "TSGetArgs<CollectionInObject>",
791
791
  "resolver": {
792
792
  "name": "takeshape:get",
793
793
  "service": "takeshape:local",
794
794
  "options": {},
795
795
  "shapeName": "CollectionInObject"
796
796
  },
797
- "description": "Get a CollectionInObject by ID",
798
- "args": "TSGetArgs<CollectionInObject>"
797
+ "shape": "CollectionInObject",
798
+ "description": "Get a CollectionInObject by ID"
799
799
  },
800
800
  "getCollectionInObjectList": {
801
- "shape": "PaginatedList<CollectionInObject>",
801
+ "args": "TSListArgs<CollectionInObject>",
802
802
  "resolver": {
803
803
  "name": "takeshape:list",
804
804
  "service": "takeshape:local",
805
805
  "options": {},
806
806
  "shapeName": "CollectionInObject"
807
807
  },
808
- "description": "Returns a list CollectionInObject in natural order.",
809
- "args": "TSListArgs<CollectionInObject>"
808
+ "shape": "PaginatedList<CollectionInObject>",
809
+ "description": "Returns a list CollectionInObject in natural order."
810
810
  }
811
811
  },
812
812
  "mutations": {
813
813
  "updateAsset": {
814
- "shape": "UpdateResult<Asset>",
814
+ "args": "UpdateArgs<Asset>",
815
815
  "resolver": {
816
816
  "name": "takeshape:update",
817
817
  "service": "takeshape:local",
818
818
  "options": {},
819
819
  "shapeName": "Asset"
820
820
  },
821
- "description": "Update Asset",
822
- "args": "UpdateArgs<Asset>"
821
+ "shape": "UpdateResult<Asset>",
822
+ "description": "Update Asset"
823
823
  },
824
824
  "createAsset": {
825
- "shape": "CreateResult<Asset>",
825
+ "args": "CreateArgs<Asset>",
826
826
  "resolver": {
827
827
  "name": "takeshape:create",
828
828
  "service": "takeshape:local",
829
829
  "options": {},
830
830
  "shapeName": "Asset"
831
831
  },
832
- "description": "Create Asset",
833
- "args": "CreateArgs<Asset>"
832
+ "shape": "CreateResult<Asset>",
833
+ "description": "Create Asset"
834
834
  },
835
835
  "duplicateAsset": {
836
- "shape": "DuplicateResult<Asset>",
836
+ "args": "DuplicateArgs<Asset>",
837
837
  "resolver": {
838
838
  "name": "takeshape:duplicate",
839
839
  "service": "takeshape:local",
840
840
  "options": {},
841
841
  "shapeName": "Asset"
842
842
  },
843
- "description": "Duplicate Asset",
844
- "args": "DuplicateArgs<Asset>"
843
+ "shape": "DuplicateResult<Asset>",
844
+ "description": "Duplicate Asset"
845
845
  },
846
846
  "deleteAsset": {
847
- "shape": "DeleteResult<Asset>",
847
+ "args": "DeleteArgs<Asset>",
848
848
  "resolver": {
849
849
  "name": "takeshape:delete",
850
850
  "service": "takeshape:local",
851
851
  "options": {},
852
852
  "shapeName": "Asset"
853
853
  },
854
- "description": "Delete Asset",
855
- "args": "DeleteArgs<Asset>"
854
+ "shape": "DeleteResult<Asset>",
855
+ "description": "Delete Asset"
856
856
  },
857
857
  "updateTsStaticSite": {
858
- "shape": "UpdateResult<TsStaticSite>",
858
+ "args": "UpdateArgs<TsStaticSite>",
859
859
  "resolver": {
860
860
  "name": "takeshape:update",
861
861
  "service": "takeshape:local",
862
862
  "options": {},
863
863
  "shapeName": "TsStaticSite"
864
864
  },
865
- "description": "Update TsStaticSite",
866
- "args": "UpdateArgs<TsStaticSite>"
865
+ "shape": "UpdateResult<TsStaticSite>",
866
+ "description": "Update TsStaticSite"
867
867
  },
868
868
  "createTsStaticSite": {
869
- "shape": "CreateResult<TsStaticSite>",
869
+ "args": "CreateArgs<TsStaticSite>",
870
870
  "resolver": {
871
871
  "name": "takeshape:create",
872
872
  "service": "takeshape:local",
873
873
  "options": {},
874
874
  "shapeName": "TsStaticSite"
875
875
  },
876
- "description": "Create TsStaticSite",
877
- "args": "CreateArgs<TsStaticSite>"
876
+ "shape": "CreateResult<TsStaticSite>",
877
+ "description": "Create TsStaticSite"
878
878
  },
879
879
  "duplicateTsStaticSite": {
880
- "shape": "DuplicateResult<TsStaticSite>",
880
+ "args": "DuplicateArgs<TsStaticSite>",
881
881
  "resolver": {
882
882
  "name": "takeshape:duplicate",
883
883
  "service": "takeshape:local",
884
884
  "options": {},
885
885
  "shapeName": "TsStaticSite"
886
886
  },
887
- "description": "Duplicate TsStaticSite",
888
- "args": "DuplicateArgs<TsStaticSite>"
887
+ "shape": "DuplicateResult<TsStaticSite>",
888
+ "description": "Duplicate TsStaticSite"
889
889
  },
890
890
  "deleteTsStaticSite": {
891
- "shape": "DeleteResult<TsStaticSite>",
891
+ "args": "DeleteArgs<TsStaticSite>",
892
892
  "resolver": {
893
893
  "name": "takeshape:delete",
894
894
  "service": "takeshape:local",
895
895
  "options": {},
896
896
  "shapeName": "TsStaticSite"
897
897
  },
898
- "description": "Delete TsStaticSite",
899
- "args": "DeleteArgs<TsStaticSite>"
898
+ "shape": "DeleteResult<TsStaticSite>",
899
+ "description": "Delete TsStaticSite"
900
900
  },
901
901
  "updateProduct": {
902
- "shape": "UpdateResult<Product>",
902
+ "args": "UpdateArgs<ProductInterface>",
903
903
  "resolver": {
904
904
  "resultsMapping": [
905
905
  [
@@ -1008,44 +1008,44 @@
1008
1008
  }
1009
1009
  ]
1010
1010
  },
1011
- "description": "Update Product",
1012
- "args": "UpdateArgs<ProductInterface>"
1011
+ "shape": "UpdateResult<Product>",
1012
+ "description": "Update Product"
1013
1013
  },
1014
1014
  "createProduct": {
1015
- "shape": "CreateResult<Product>",
1015
+ "args": "CreateArgs<Product>",
1016
1016
  "resolver": {
1017
1017
  "name": "takeshape:create",
1018
1018
  "service": "takeshape:local",
1019
1019
  "options": {},
1020
1020
  "shapeName": "Product"
1021
1021
  },
1022
- "description": "Create Product",
1023
- "args": "CreateArgs<Product>"
1022
+ "shape": "CreateResult<Product>",
1023
+ "description": "Create Product"
1024
1024
  },
1025
1025
  "duplicateProduct": {
1026
- "shape": "DuplicateResult<Product>",
1026
+ "args": "DuplicateArgs<Product>",
1027
1027
  "resolver": {
1028
1028
  "name": "takeshape:duplicate",
1029
1029
  "service": "takeshape:local",
1030
1030
  "options": {},
1031
1031
  "shapeName": "Product"
1032
1032
  },
1033
- "description": "Duplicate Product",
1034
- "args": "DuplicateArgs<Product>"
1033
+ "shape": "DuplicateResult<Product>",
1034
+ "description": "Duplicate Product"
1035
1035
  },
1036
1036
  "deleteProduct": {
1037
- "shape": "DeleteResult<Product>",
1037
+ "args": "DeleteArgs<Product>",
1038
1038
  "resolver": {
1039
1039
  "name": "takeshape:delete",
1040
1040
  "service": "takeshape:local",
1041
1041
  "options": {},
1042
1042
  "shapeName": "Product"
1043
1043
  },
1044
- "description": "Delete Product",
1045
- "args": "DeleteArgs<Product>"
1044
+ "shape": "DeleteResult<Product>",
1045
+ "description": "Delete Product"
1046
1046
  },
1047
1047
  "createProductAndServiceObject": {
1048
- "shape": "CreateResult<Product>",
1048
+ "args": "CreateArgs<ProductInterface>",
1049
1049
  "resolver": {
1050
1050
  "compose": [
1051
1051
  {
@@ -1156,11 +1156,11 @@
1156
1156
  ]
1157
1157
  ]
1158
1158
  },
1159
- "description": "Create Product",
1160
- "args": "CreateArgs<ProductInterface>"
1159
+ "shape": "CreateResult<Product>",
1160
+ "description": "Create Product"
1161
1161
  },
1162
1162
  "updateProductAndCreateServiceObject": {
1163
- "shape": "UpdateResult<Product>",
1163
+ "args": "UpdateArgs<ProductInterface>",
1164
1164
  "resolver": {
1165
1165
  "compose": [
1166
1166
  {
@@ -1271,11 +1271,11 @@
1271
1271
  ]
1272
1272
  ]
1273
1273
  },
1274
- "description": "Update Product",
1275
- "args": "UpdateArgs<ProductInterface>"
1274
+ "shape": "UpdateResult<Product>",
1275
+ "description": "Update Product"
1276
1276
  },
1277
1277
  "updateCollectionInObject": {
1278
- "shape": "UpdateResult<CollectionInObject>",
1278
+ "args": "UpdateArgs<CollectionInObjectInterface>",
1279
1279
  "resolver": {
1280
1280
  "compose": [
1281
1281
  {
@@ -1449,11 +1449,11 @@
1449
1449
  ]
1450
1450
  }
1451
1451
  },
1452
- "description": "Update CollectionInObject. If the input has Shopify values and a Shopify ID, the Shopify collection with that ID is updated.\nIf the input has Shopify values and no Shopify ID, a Shopify collection is created.",
1453
- "args": "UpdateArgs<CollectionInObjectInterface>"
1452
+ "shape": "UpdateResult<CollectionInObject>",
1453
+ "description": "Update CollectionInObject. If the input has Shopify values and a Shopify ID, the Shopify collection with that ID is updated.\nIf the input has Shopify values and no Shopify ID, a Shopify collection is created."
1454
1454
  },
1455
1455
  "createCollectionInObject": {
1456
- "shape": "CreateResult<CollectionInObject>",
1456
+ "args": "CreateArgs<CollectionInObjectInterface>",
1457
1457
  "resolver": {
1458
1458
  "compose": [
1459
1459
  {
@@ -1578,30 +1578,30 @@
1578
1578
  ]
1579
1579
  }
1580
1580
  },
1581
- "description": "Create CollectionInObject. If Shopify values are provided, a Shopify collection is also created and the new collection ID is saved.",
1582
- "args": "CreateArgs<CollectionInObjectInterface>"
1581
+ "shape": "CreateResult<CollectionInObject>",
1582
+ "description": "Create CollectionInObject. If Shopify values are provided, a Shopify collection is also created and the new collection ID is saved."
1583
1583
  },
1584
1584
  "duplicateCollectionInObject": {
1585
- "shape": "DuplicateResult<CollectionInObject>",
1585
+ "args": "DuplicateArgs<CollectionInObject>",
1586
1586
  "resolver": {
1587
1587
  "name": "takeshape:duplicate",
1588
1588
  "service": "takeshape:local",
1589
1589
  "options": {},
1590
1590
  "shapeName": "CollectionInObject"
1591
1591
  },
1592
- "description": "Duplicate CollectionInObject",
1593
- "args": "DuplicateArgs<CollectionInObject>"
1592
+ "shape": "DuplicateResult<CollectionInObject>",
1593
+ "description": "Duplicate CollectionInObject"
1594
1594
  },
1595
1595
  "deleteCollectionInObject": {
1596
- "shape": "DeleteResult<CollectionInObject>",
1596
+ "args": "DeleteArgs<CollectionInObject>",
1597
1597
  "resolver": {
1598
1598
  "name": "takeshape:delete",
1599
1599
  "service": "takeshape:local",
1600
1600
  "options": {},
1601
1601
  "shapeName": "CollectionInObject"
1602
1602
  },
1603
- "description": "Delete CollectionInObject",
1604
- "args": "DeleteArgs<CollectionInObject>"
1603
+ "shape": "DeleteResult<CollectionInObject>",
1604
+ "description": "Delete CollectionInObject"
1605
1605
  }
1606
1606
  },
1607
1607
  "shapes": {
@@ -12594,5 +12594,5 @@
12594
12594
  }
12595
12595
  }
12596
12596
  },
12597
- "schemaVersion": "3.18.0"
12598
- }
12597
+ "schemaVersion": "3.18.1"
12598
+ }