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
6
}
7
7
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 ! ]!
12
12
}
13
13
14
- type Sender {
14
+ input SendEmailToFriendSenderInput {
15
15
name : String !
16
16
email : String !
17
17
message : String !
18
18
}
19
19
20
- type Recipient {
20
+ input SendEmailToFriendRecipientInput {
21
21
name : String !
22
22
email : String !
23
23
}
24
24
25
25
type 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 !
28
39
}
You can’t perform that action at this time.
0 commit comments