refactor: create/update/delete one view instead of many (#1384)
Closes #1359
This commit is contained in:
10
front/src/modules/views/graphql/mutations/deleteView.ts
Normal file
10
front/src/modules/views/graphql/mutations/deleteView.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const DELETE_VIEW = gql`
|
||||
mutation DeleteView($where: ViewWhereUniqueInput!) {
|
||||
view: deleteOneView(where: $where) {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user