Files
twenty/packages/twenty-chrome-extension/src/graphql/person/mutations.ts
Aditya Pimpalkar 5c5dcf5cb5 feat: check if company/person saved (chrome-extension) (#4280)
* add twenty icon

* rest api calls for company

* check if company exists

* refacto

* person/company saved call

* gql codegen init

* type defs

* build fix

* DB calls with gql codegen and apollo integration
2024-03-26 14:37:36 +01:00

10 lines
185 B
TypeScript

import { gql } from '@apollo/client';
export const CREATE_PERSON = gql`
mutation CreateOnePerson($input: PersonCreateInput!) {
createPerson(data: $input) {
id
}
}
`;