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

11 lines
192 B
TypeScript

import { gql } from '@apollo/client';
export const CREATE_VIEW = gql`
mutation CreateView($data: ViewCreateInput!) {
view: createOneView(data: $data) {
id
name
}
}
`;