This repository was archived by the owner on Dec 19, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed
app/code/Magento/SendFriendGraphQl/etc Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change 22# See COPYING.txt for license details.
33
44type Mutation {
5- sendEmailToFriend (input : SendEmailToFriendSenderInput ): SendEmailToFriendOutput @resolver (class : " \\ Magento\\ SendFriendGraphQl\\ Model\\ Resolver\\ SendEmailToFriend" ) @doc (description :"Recommends Product by Sending Single/Multiple Email" )
5+ sendEmailToFriend (input : SendEmailToFriendInput ): SendEmailToFriendOutput @resolver (class : " \\ Magento\\ SendFriendGraphQl\\ Model\\ Resolver\\ SendEmailToFriend" ) @doc (description :"Recommends Product by Sending Single/Multiple Email" )
66}
77
8- input SendEmailToFriendSenderInput {
9- product_id : Int !
10- sender : Sender !
11- recipients : [Recipient ! ]!
8+ input SendEmailToFriendInput {
9+ product_id : Int !
10+ sender : SendEmailToFriendSenderInput !
11+ recipients : [SendEmailToFriendRecipientInput ! ]!
1212}
1313
14- type Sender {
14+ input SendEmailToFriendSenderInput {
1515 name : String !
1616 email : String !
1717 message : String !
1818}
1919
20- type Recipient {
20+ input SendEmailToFriendRecipientInput {
2121 name : String !
2222 email : String !
2323}
2424
2525type SendEmailToFriendOutput {
26- sender : Sender
27- recipients : [Recipient ]
26+ sender : SendEmailToFriendSender
27+ recipients : [SendEmailToFriendRecipient ]
28+ }
29+
30+ type SendEmailToFriendSender {
31+ name : String !
32+ email : String !
33+ message : String !
34+ }
35+
36+ type SendEmailToFriendRecipient {
37+ name : String !
38+ email : String !
2839}
You can’t perform that action at this time.
0 commit comments