1344e78acb
* Remove singular/plural from field-metadata * revert removing id from create input * remove console log * remove console log * codegen * missing files * fix tests
29 lines
510 B
TypeScript
29 lines
510 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const CREATE_ONE_OBJECT = gql`
|
|
mutation CreateOneObject($input: CreateOneObjectInput!) {
|
|
createOneObject(input: $input) {
|
|
id
|
|
}
|
|
}
|
|
`;
|
|
|
|
export const CREATE_ONE_FIELD = gql`
|
|
mutation CreateOneField($input: CreateOneFieldInput!) {
|
|
createOneField(input: $input) {
|
|
id
|
|
type
|
|
name
|
|
label
|
|
description
|
|
icon
|
|
placeholder
|
|
isCustom
|
|
isActive
|
|
isNullable
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
}
|
|
`;
|