(mutation: Partial<File>)
| 20 | ` |
| 21 | |
| 22 | const generateUpdateBodyQuery = (mutation: Partial<File>) => ` |
| 23 | mutation { |
| 24 | updateFile(where: {id: "${mutation.id}"}, data: { |
| 25 | body: ${mutation.body} |
| 26 | }){ |
| 27 | slug |
| 28 | } |
| 29 | } |
| 30 | ` |
| 31 | |
| 32 | const fetcher = (query: string) => customFetcher<EditFileResponse>(query) |
| 33 | .then(res => res.data.data); |
no outgoing calls
no test coverage detected
searching dependent graphs…