Skip to content

Commit

Permalink
HCK-6355: Min and Max Properties fields should only be available for …
Browse files Browse the repository at this point in the history
…types Map and Object (#15)

* HCK-6355: fix filed level config

* HCK-6355: fix typo in localization

---------

Co-authored-by: chulanovskyi-bs <[email protected]>
  • Loading branch information
Nightlngale and chulanovskyi-bs authored Jun 14, 2024
1 parent a8cbd06 commit e9c905d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion localization/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
19 changes: 15 additions & 4 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit e9c905d

Please sign in to comment.