(mutation: Partial<File>)
| 10 | } |
| 11 | |
| 12 | const generateUpdateFavoriteQuery = (mutation: Partial<File>) => ` |
| 13 | mutation { |
| 14 | updateFile(where: {id: "${mutation.id}"}, data: { |
| 15 | favorite: ${mutation.favorite} |
| 16 | }){ |
| 17 | slug |
| 18 | } |
| 19 | } |
| 20 | ` |
| 21 | |
| 22 | const generateUpdateBodyQuery = (mutation: Partial<File>) => ` |
| 23 | mutation { |
no outgoing calls
no test coverage detected
searching dependent graphs…