-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutations.js
51 lines (50 loc) · 1003 Bytes
/
mutations.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* eslint-disable */
// this is an auto generated file. This will be overwritten
export const createNote = /* GraphQL */ `
mutation CreateNote(
$input: CreateNoteInput!
$condition: ModelNoteConditionInput
) {
createNote(input: $input, condition: $condition) {
id
name
description
image
createdAt
updatedAt
__typename
}
}
`;
export const updateNote = /* GraphQL */ `
mutation UpdateNote(
$input: UpdateNoteInput!
$condition: ModelNoteConditionInput
) {
updateNote(input: $input, condition: $condition) {
id
name
description
image
createdAt
updatedAt
__typename
}
}
`;
export const deleteNote = /* GraphQL */ `
mutation DeleteNote(
$input: DeleteNoteInput!
$condition: ModelNoteConditionInput
) {
deleteNote(input: $input, condition: $condition) {
id
name
description
image
createdAt
updatedAt
__typename
}
}
`;