From cd8edddbfa8374b945eeb53424a838d0e381dd45 Mon Sep 17 00:00:00 2001 From: Roar Larsen Date: Tue, 4 Jul 2023 10:30:49 +0200 Subject: [PATCH] fix: naming convention --- .../plugins/table/car_list/blueprints/Car.blueprint.json | 9 ++++++--- .../plugins/table/car_list/carList.entity.json | 6 +++--- .../recipes/plugins/table/car_list/carList.recipe.json | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/example/app/data/DemoDataSource/plugins/table/car_list/blueprints/Car.blueprint.json b/example/app/data/DemoDataSource/plugins/table/car_list/blueprints/Car.blueprint.json index 79203dcd8..f4f1d41e6 100644 --- a/example/app/data/DemoDataSource/plugins/table/car_list/blueprints/Car.blueprint.json +++ b/example/app/data/DemoDataSource/plugins/table/car_list/blueprints/Car.blueprint.json @@ -10,17 +10,20 @@ "optional": false }, { - "name": "Manufacturer", + "name": "manufacturer", + "label": "Manufacturer", "type": "CORE:BlueprintAttribute", "attributeType": "string" }, { - "name": "Model", + "name": "model", + "label": "Model", "type": "CORE:BlueprintAttribute", "attributeType": "string" }, { - "name": "Color", + "name": "color", + "label": "Color", "type": "CORE:BlueprintAttribute", "attributeType": "string", "optional": true diff --git a/example/app/data/DemoDataSource/plugins/table/car_list/carList.entity.json b/example/app/data/DemoDataSource/plugins/table/car_list/carList.entity.json index d5b96fcff..84aea844a 100644 --- a/example/app/data/DemoDataSource/plugins/table/car_list/carList.entity.json +++ b/example/app/data/DemoDataSource/plugins/table/car_list/carList.entity.json @@ -5,9 +5,9 @@ "cars": [ { "type": "./blueprints/Car", - "Manufacturer": "Volvo", - "Model": "XC40", - "Color": "White" + "manufacturer": "Volvo", + "model": "XC40", + "color": "White" } ] } diff --git a/example/app/data/DemoDataSource/recipes/plugins/table/car_list/carList.recipe.json b/example/app/data/DemoDataSource/recipes/plugins/table/car_list/carList.recipe.json index e6cb0054d..8624ebfa3 100644 --- a/example/app/data/DemoDataSource/recipes/plugins/table/car_list/carList.recipe.json +++ b/example/app/data/DemoDataSource/recipes/plugins/table/car_list/carList.recipe.json @@ -19,7 +19,7 @@ "plugin": "@development-framework/dm-core-plugins/table", "config": { "type": "PLUGINS:dm-core-plugins/table/TablePluginConfig", - "columns": ["Manufacturer", "Model", "Color"], + "columns": ["manufacturer", "model", "color"], "editableColumns": [], "functionality": { "type": "PLUGINS:dm-core-plugins/table/TableFunctionalityConfig",