Skip to content

Commit 50f64db

Browse files
committed
DOC-474: Enter review comments
1 parent 1ba3d23 commit 50f64db

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

app/code/Magento/BundleGraphQl/etc/schema.graphqls

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ input AddBundleProductsToCartInput @doc(description: "Defines the bundle product
1212

1313
input BundleProductCartItemInput @doc(description: "Defines a single bundle product.") {
1414
data: CartItemInput! @doc(description: "The quantity and SKU of the bundle product.")
15-
bundle_options:[BundleOptionInput!]! @doc(description: "An array of options for the bundle product with the chosen value and quantity of each option.")
15+
bundle_options:[BundleOptionInput!]! @doc(description: "A mandatory array of options for the bundle product, including each chosen option and specified quantity.")
1616
customizable_options:[CustomizableOptionInput!] @doc(description: "The ID and value of the option.")
1717
}
1818

19-
input BundleOptionInput @doc(description: "Defines a bundle option.") {
19+
input BundleOptionInput @doc(description: "Defines the input for a bundle option.") {
2020
id: Int! @doc(description: "The ID of the option.")
21-
quantity: Float! @doc(description: "The number of a specific child item to add to the cart.")
22-
value: [String!]! @doc(description: "An array with the chosen value of the option")
21+
quantity: Float! @doc(description: "The number of the selected item to add to the cart.")
22+
value: [String!]! @doc(description: "An array with the chosen value of the option.")
2323
}
2424

2525
type AddBundleProductsToCartOutput @doc(description: "Contains details about the cart after adding bundle products.") {
@@ -47,18 +47,18 @@ type SelectedBundleOptionValue @doc(description: "Contains details about a value
4747
price: Float! @doc(description: "The price of the value for the selected bundle product option.")
4848
}
4949

50-
type BundleItem @doc(description: "Defines an individual item in a bundle product.") {
50+
type BundleItem @doc(description: "Defines an individual item within a bundle product.") {
5151
option_id: Int @deprecated(reason: "Use `uid` instead") @doc(description: "An ID assigned to each type of item in a bundle product.")
5252
uid: ID @doc(description: "The unique ID for a `BundleItem` object.")
5353
title: String @doc(description: "The display name of the item.")
5454
required: Boolean @doc(description: "Indicates whether the item must be included in the bundle.")
5555
type: String @doc(description: "The input type that the customer uses to select the item. Examples include radio button and checkbox.")
56-
position: Int @doc(description: "The relative position of this item compared to the other bundle items.")
56+
position: Int @doc(description: "A number indicating the sequence order of this item compared to the other bundle items.")
5757
sku: String @doc(description: "The SKU of the bundle product.")
5858
options: [BundleItemOption] @doc(description: "An array of additional options for this bundle item.") @resolver(class: "Magento\\BundleGraphQl\\Model\\Resolver\\BundleItemLinks")
5959
}
6060

61-
type BundleItemOption @doc(description: "Defines characteristics and options for a specific bundle item.") {
61+
type BundleItemOption @doc(description: "Defines the characteristics that comprise a specific bundle item and its options.") {
6262
id: Int @deprecated(reason: "Use `uid` instead") @doc(description: "The ID assigned to the bundled item option.")
6363
label: String @doc(description: "The text that identifies the bundled item option.") @resolver(class: "Magento\\BundleGraphQl\\Model\\Resolver\\Options\\Label")
6464
qty: Float @deprecated(reason: "Use `quantity` instead.") @doc(description: "Indicates the quantity of this specific bundle item.")

app/code/Magento/CatalogCmsGraphQl/etc/schema.graphqls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
interface CategoryInterface {
55
cms_block: CmsBlock @doc(description: "Contains a category CMS block.") @resolver(class: "Magento\\CatalogCmsGraphQl\\Model\\Resolver\\Category\\Block")
6-
}
6+
}

0 commit comments

Comments
 (0)