From 3c0e9210e7f8e48068377e86dd6c24fe61225107 Mon Sep 17 00:00:00 2001 From: Andrea Vesterhus Date: Wed, 19 Jun 2024 09:02:58 +0200 Subject: [PATCH] fix: add blueprint paths to recipe examples --- .../docs/DataGridPlugin/Examples/1D_Primitive_Array.json | 5 +++-- .../docs/DataGridPlugin/Examples/2D_Primitive_Array.json | 1 + .../DataGridPlugin/Examples/Multiple_Primitive_Arrays.json | 5 +++-- packages/dm-core-plugins/docs/FormPlugin/Examples/Basic.json | 1 + .../dm-core-plugins/docs/FormPlugin/Examples/Nested.json | 1 + .../docs/FormPlugin/Examples/WidgetExample.json | 1 + packages/dm-core-plugins/docs/ListPlugin/Examples/Basic.json | 1 + .../docs/MediaViewerPlugin/Examples/Basic.json | 1 + packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json | 1 + .../docs/ResponsiveGridPlugin/Examples/Basic.json | 1 + .../dm-core-plugins/docs/SidebarPlugin/Examples/Basic.json | 1 + .../dm-core-plugins/docs/StackPlugin/Examples/Basic.json | 1 + .../dm-core-plugins/docs/TablePlugin/Examples/Basic.json | 1 + .../dm-core-plugins/docs/TablePlugin/Examples/EditTable.json | 1 + .../dm-core-plugins/docs/TablePlugin/Examples/Nested.json | 1 + packages/dm-core-plugins/docs/TabsPlugin/Examples/Basic.json | 1 + 16 files changed, 20 insertions(+), 4 deletions(-) diff --git a/packages/dm-core-plugins/docs/DataGridPlugin/Examples/1D_Primitive_Array.json b/packages/dm-core-plugins/docs/DataGridPlugin/Examples/1D_Primitive_Array.json index a3464ddde..e7ea9ba1a 100644 --- a/packages/dm-core-plugins/docs/DataGridPlugin/Examples/1D_Primitive_Array.json +++ b/packages/dm-core-plugins/docs/DataGridPlugin/Examples/1D_Primitive_Array.json @@ -26,9 +26,10 @@ "colors": ["red", "blue", "green", "yellow", "black"] }, "recipe": { - "name": "cars", + "_blueprintPath_": "./ColorList", + "name": "colors", "type": "CORE:UiRecipe", - "description": "List of cars", + "description": "List of colors", "plugin": "@development-framework/dm-core-plugins/data_grid", "config": { "type": "PLUGINS:dm-core-plugins/data_grid/DataGridPluginConfig", diff --git a/packages/dm-core-plugins/docs/DataGridPlugin/Examples/2D_Primitive_Array.json b/packages/dm-core-plugins/docs/DataGridPlugin/Examples/2D_Primitive_Array.json index d36d7e569..e2f574c1a 100644 --- a/packages/dm-core-plugins/docs/DataGridPlugin/Examples/2D_Primitive_Array.json +++ b/packages/dm-core-plugins/docs/DataGridPlugin/Examples/2D_Primitive_Array.json @@ -30,6 +30,7 @@ ] }, "recipe": { + "_blueprintPath_": "./ColorList", "name": "colors", "type": "CORE:UiRecipe", "description": "List of colors", diff --git a/packages/dm-core-plugins/docs/DataGridPlugin/Examples/Multiple_Primitive_Arrays.json b/packages/dm-core-plugins/docs/DataGridPlugin/Examples/Multiple_Primitive_Arrays.json index 4932057f7..9d75ace97 100644 --- a/packages/dm-core-plugins/docs/DataGridPlugin/Examples/Multiple_Primitive_Arrays.json +++ b/packages/dm-core-plugins/docs/DataGridPlugin/Examples/Multiple_Primitive_Arrays.json @@ -40,9 +40,10 @@ "green": ["green", "#00FF00", "rgb(0, 255, 0)"] }, "recipe": { - "name": "cars", + "_blueprintPath_": "./ColorList", + "name": "colors", "type": "CORE:UiRecipe", - "description": "List of cars", + "description": "List of colors", "plugin": "@development-framework/dm-core-plugins/data_grid", "config": { "type": "PLUGINS:dm-core-plugins/data_grid/DataGridPluginConfig", diff --git a/packages/dm-core-plugins/docs/FormPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/FormPlugin/Examples/Basic.json index 49bc3623b..584961d4b 100644 --- a/packages/dm-core-plugins/docs/FormPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/FormPlugin/Examples/Basic.json @@ -44,6 +44,7 @@ "model": "XC40" }, "recipe": { + "_blueprintPath_": "./Car", "name": "car", "type": "CORE:UiRecipe", "description": "Car form", diff --git a/packages/dm-core-plugins/docs/FormPlugin/Examples/Nested.json b/packages/dm-core-plugins/docs/FormPlugin/Examples/Nested.json index c664e200e..49b226ca1 100644 --- a/packages/dm-core-plugins/docs/FormPlugin/Examples/Nested.json +++ b/packages/dm-core-plugins/docs/FormPlugin/Examples/Nested.json @@ -47,6 +47,7 @@ } }, "recipe": { + "_blueprintPath_": "./Person", "name": "person", "type": "CORE:UiRecipe", "description": "Person form", diff --git a/packages/dm-core-plugins/docs/FormPlugin/Examples/WidgetExample.json b/packages/dm-core-plugins/docs/FormPlugin/Examples/WidgetExample.json index 33c7c68a3..94d02d907 100644 --- a/packages/dm-core-plugins/docs/FormPlugin/Examples/WidgetExample.json +++ b/packages/dm-core-plugins/docs/FormPlugin/Examples/WidgetExample.json @@ -41,6 +41,7 @@ } }, "recipe": { + "_blueprintPath_": "./Person", "name": "person", "type": "CORE:UiRecipe", "description": "Person form", diff --git a/packages/dm-core-plugins/docs/ListPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/ListPlugin/Examples/Basic.json index 6b07ccf21..24e669841 100644 --- a/packages/dm-core-plugins/docs/ListPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/ListPlugin/Examples/Basic.json @@ -53,6 +53,7 @@ ] }, "recipe": { + "_blueprintPath_": "./CarList", "name": "cars", "type": "CORE:UiRecipe", "description": "List of cars", diff --git a/packages/dm-core-plugins/docs/MediaViewerPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/MediaViewerPlugin/Examples/Basic.json index aa8d47816..93e4e357b 100644 --- a/packages/dm-core-plugins/docs/MediaViewerPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/MediaViewerPlugin/Examples/Basic.json @@ -36,6 +36,7 @@ } }, "recipe": { + "_blueprintPath_": "./MediaViewer", "name": "MediaExample", "type": "CORE:UiRecipe", "description": "Media example with basic config", diff --git a/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json index 88cbe8594..938ad82a6 100644 --- a/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json @@ -21,6 +21,7 @@ "_id": "1179c897-df62-445f-87e4-f393b4253936" }, "recipe": { + "_blueprintPath_": "./Example", "type": "CORE:UiRecipe", "name": "Meta", "plugin": "@development-framework/dm-core-plugins/meta" diff --git a/packages/dm-core-plugins/docs/ResponsiveGridPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/ResponsiveGridPlugin/Examples/Basic.json index 5bf388e2b..6c7e54d23 100644 --- a/packages/dm-core-plugins/docs/ResponsiveGridPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/ResponsiveGridPlugin/Examples/Basic.json @@ -22,6 +22,7 @@ "_id": "1179c897-df62-445f-87e4-f393b4253936" }, "recipe": { + "_blueprintPath_": "./Example", "type": "CORE:UiRecipe", "name": "grid_example", "description": "Person form", diff --git a/packages/dm-core-plugins/docs/SidebarPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/SidebarPlugin/Examples/Basic.json index 1a8bbb681..dbf6aa6a7 100644 --- a/packages/dm-core-plugins/docs/SidebarPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/SidebarPlugin/Examples/Basic.json @@ -22,6 +22,7 @@ "_id": "1179c897-df62-445f-87e4-f393b4253936" }, "recipe": { + "_blueprintPath_": "./Section", "name": "UiRecipesSelector", "type": "CORE:UiRecipe", "plugin": "@development-framework/dm-core-plugins/view_selector/sidebar", diff --git a/packages/dm-core-plugins/docs/StackPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/StackPlugin/Examples/Basic.json index 905380210..265b61d55 100644 --- a/packages/dm-core-plugins/docs/StackPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/StackPlugin/Examples/Basic.json @@ -22,6 +22,7 @@ "_id": "1179c897-df62-445f-87e4-f393b4253936" }, "recipe": { + "_blueprintPath_": "Section", "name": "section", "type": "CORE:UiRecipe", "description": "stack recipe", diff --git a/packages/dm-core-plugins/docs/TablePlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/TablePlugin/Examples/Basic.json index 88cfc06f1..bb628cec6 100644 --- a/packages/dm-core-plugins/docs/TablePlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/TablePlugin/Examples/Basic.json @@ -53,6 +53,7 @@ ] }, "recipe": { + "_blueprintPath_": "CarList", "name": "cars", "type": "CORE:UiRecipe", "description": "List of cars", diff --git a/packages/dm-core-plugins/docs/TablePlugin/Examples/EditTable.json b/packages/dm-core-plugins/docs/TablePlugin/Examples/EditTable.json index 9b59378e7..feedab1db 100644 --- a/packages/dm-core-plugins/docs/TablePlugin/Examples/EditTable.json +++ b/packages/dm-core-plugins/docs/TablePlugin/Examples/EditTable.json @@ -53,6 +53,7 @@ ] }, "recipe": { + "_blueprintPath_": "EditTable", "name": "cars", "type": "CORE:UiRecipe", "description": "List of cars", diff --git a/packages/dm-core-plugins/docs/TablePlugin/Examples/Nested.json b/packages/dm-core-plugins/docs/TablePlugin/Examples/Nested.json index c1f3cdc00..bee2c6817 100644 --- a/packages/dm-core-plugins/docs/TablePlugin/Examples/Nested.json +++ b/packages/dm-core-plugins/docs/TablePlugin/Examples/Nested.json @@ -68,6 +68,7 @@ ] }, "recipe": { + "_blueprintPath_": "CarList", "name": "cars", "type": "CORE:UiRecipe", "description": "List of cars", diff --git a/packages/dm-core-plugins/docs/TabsPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/TabsPlugin/Examples/Basic.json index 6bad729db..57f01165b 100644 --- a/packages/dm-core-plugins/docs/TabsPlugin/Examples/Basic.json +++ b/packages/dm-core-plugins/docs/TabsPlugin/Examples/Basic.json @@ -22,6 +22,7 @@ "_id": "1179c897-df62-445f-87e4-f393b4253936" }, "recipe": { + "_blueprintPath_": "./Section", "name": "UiRecipesSelector", "type": "CORE:UiRecipe", "plugin": "@development-framework/dm-core-plugins/view_selector/tabs",