* 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
10 lines
185 B
TypeScript
10 lines
185 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const CREATE_PERSON = gql`
|
|
mutation CreateOnePerson($input: PersonCreateInput!) {
|
|
createPerson(data: $input) {
|
|
id
|
|
}
|
|
}
|
|
`;
|