Files
twenty/front/src/modules/views/graphql/mutations/deleteView.ts

11 lines
200 B
TypeScript

import { gql } from '@apollo/client';
export const DELETE_VIEW = gql`
mutation DeleteView($where: ViewWhereUniqueInput!) {
view: deleteOneView(where: $where) {
id
name
}
}
`;