Feat/front temp seed custom objects (#2070)

* wip

* Fixed bugs

* Added flexible backend test
This commit is contained in:
Lucas Bordeau
2023-10-16 22:04:41 +02:00
committed by GitHub
parent c06a8a9213
commit d64f167b3b
13 changed files with 208 additions and 13 deletions

View File

@ -0,0 +1,30 @@
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
nameSingular
namePlural
labelSingular
labelPlural
description
icon
placeholder
isCustom
isActive
isNullable
createdAt
updatedAt
}
}
`;