refactor: use react-hook-form to validate Settings/DataModel/Field (#4916)

Closes #4295
This commit is contained in:
Thaïs
2024-05-07 11:44:46 +02:00
committed by GitHub
parent 9c25c1beae
commit d0759ad7cc
18 changed files with 13234 additions and 13369 deletions
File diff suppressed because it is too large Load Diff
@@ -53,7 +53,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: null,
options: null,
relationDefinition: {
__typename: 'RelationDefinition',
direction: 'ONE_TO_MANY',
@@ -114,7 +113,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: null,
options: null,
relationDefinition: null,
fromRelationMetadata: null,
toRelationMetadata: null,
@@ -137,7 +135,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: null,
options: null,
relationDefinition: null,
fromRelationMetadata: null,
toRelationMetadata: null,
@@ -160,7 +157,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: "''",
options: null,
relationDefinition: null,
fromRelationMetadata: null,
toRelationMetadata: null,
@@ -183,7 +179,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: 'now',
options: null,
relationDefinition: null,
fromRelationMetadata: null,
toRelationMetadata: null,
@@ -206,7 +201,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: 'now',
options: null,
relationDefinition: null,
fromRelationMetadata: null,
toRelationMetadata: null,
@@ -229,7 +223,6 @@ const customObjectMetadataItemEdge: ObjectEdge = {
createdAt: '2024-04-08T12:48:49.538Z',
updatedAt: '2024-04-08T12:48:49.538Z',
defaultValue: 'uuid',
options: null,
relationDefinition: null,
fromRelationMetadata: null,
toRelationMetadata: null,