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 2
2
# See COPYING.txt for license details.
3
3
4
4
type 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" )
6
+ }
7
+
8
+ input SendEmailToFriendInput {
9
+ product_id : Int !
10
+ sender : SendEmailToFriendSenderInput !
11
+ recipients : [SendEmailToFriendRecipientInput ! ]!
6
12
}
7
13
8
14
input SendEmailToFriendSenderInput {
9
- product_id : Int !
10
- sender : Sender !
11
- recipients : [ Recipient ! ] !
15
+ name : String !
16
+ email : String !
17
+ message : String !
12
18
}
13
19
14
- type Sender {
20
+ input SendEmailToFriendRecipientInput {
21
+ name : String !
22
+ email : String !
23
+ }
24
+
25
+ type SendEmailToFriendSender {
15
26
name : String !
16
27
email : String !
17
28
message : String !
18
29
}
19
30
20
- type Recipient {
31
+ type SendEmailToFriendRecipient {
21
32
name : String !
22
33
email : String !
23
34
}
24
35
25
36
type SendEmailToFriendOutput {
26
- sender : Sender
27
- recipients : [Recipient ]
28
- }
37
+ sender : SendEmailToFriendSender
38
+ recipients : [SendEmailToFriendRecipient ]
39
+ }
You can’t perform that action at this time.
0 commit comments