Remove singular/plural from field-metadata (#2085)

* Remove singular/plural from field-metadata

* revert removing id from create input

* remove console log

* remove console log

* codegen

* missing files

* fix tests
This commit is contained in:
Weiko
2023-10-17 15:21:58 +02:00
committed by GitHub
parent 0d6386bc8d
commit 1344e78acb
32 changed files with 213 additions and 130 deletions

View File

@ -45,13 +45,10 @@ export const useSeedCustomObjectsTemp = () => {
input: {
field: {
objectId: supplierObjectId,
labelSingular: 'Name',
nameSingular: 'name',
label: 'Name',
name: 'name',
type: 'text',
description: 'Name',
labelPlural: 'Names',
namePlural: 'names',
placeholder: 'Name',
icon: 'IconBuilding',
},
},
@ -67,13 +64,10 @@ export const useSeedCustomObjectsTemp = () => {
input: {
field: {
objectId: supplierObjectId,
labelSingular: 'City',
nameSingular: 'city',
label: 'City',
name: 'city',
type: 'text',
description: 'City',
labelPlural: 'Cities',
namePlural: 'cities',
placeholder: 'City',
icon: 'IconMap',
},
},