From e9c905d5ff3e833e674de85107510e18fa196315 Mon Sep 17 00:00:00 2001 From: Yevhenii Moroziuk Date: Fri, 14 Jun 2024 10:37:49 +0300 Subject: [PATCH] HCK-6355: Min and Max Properties fields should only be available for types Map and Object (#15) * HCK-6355: fix filed level config * HCK-6355: fix typo in localization --------- Co-authored-by: chulanovskyi-bs <56116665+chulanovskyi-bs@users.noreply.github.com> --- localization/en.json | 2 +- .../field_level/fieldLevelConfig.json | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/localization/en.json b/localization/en.json index 4eb516d..065d71f 100644 --- a/localization/en.json +++ b/localization/en.json @@ -16,7 +16,7 @@ "TOOLBAR___ADD_ATTRIBUTE": "Add Column", "TOOLBAR___INSERT_FIELD": "Insert Column", "TOOLBAR___APPEND_FIELD": "Append Column", - "TOOLBAR___TOGGLE_FIELD_DETAILS": "Toogle column details", + "TOOLBAR___TOGGLE_FIELD_DETAILS": "Toggle column details", "TOOLBAR___SHOW_FOREIGN_MASTER": "Toggle foreign master", "TOOLBAR___SHOW_MODEL_VIEW": "Toggle model views", "TOOLBAR___DISTRIBUTE_ORTHOGONALLY": "Distribute tables orthogonally", diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index 94197e1..c024727 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -2,9 +2,9 @@ * Copyright © 2016-2017 by IntegrIT S.A. dba Hackolade. All rights reserved. * * The copyright to the computer software herein is the property of IntegrIT S.A. -* The software may be used and/or copied only with the written permission of -* IntegrIT S.A. or in accordance with the terms and conditions stipulated in -* the agreement/contract under which the software has been supplied. +* The software may be used and/or copied only with the written permission of +* IntegrIT S.A. or in accordance with the terms and conditions stipulated in +* the agreement/contract under which the software has been supplied. In order to define custom properties for any object's properties pane, you may copy/paste from the following, @@ -226,7 +226,18 @@ making sure that you maintain a proper JSON format. ], "counter": "numeric", "boolean": "boolean", - "object": "document", + "object": [ + "schemaId", + "type", + "description", + "dependencies", + "required", + "primaryKey", + "minProperties", + "maxProperties", + "additionalProperties", + "comments" + ], "array": "array", "null": "null" }