diff --git a/packages/dm-core-plugins/docs/MetaPlugin/Documentation.md b/packages/dm-core-plugins/docs/MetaPlugin/Documentation.md new file mode 100644 index 000000000..6096f968f --- /dev/null +++ b/packages/dm-core-plugins/docs/MetaPlugin/Documentation.md @@ -0,0 +1,14 @@ +Plugin for displaying the `_meta_`-attribute of any entity. The entity it self will be displayed right under the meta-information. + +![MetaPlugin](./meta.png) + +## Usage + +```json +{ + "type": "CORE:UiRecipe", + "name": "Meta", + "plugin": "@development-framework/dm-core-plugins/meta" +} +``` +The plugin can be used on any type of entity, and has no configuration. \ No newline at end of file diff --git a/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json b/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json new file mode 100644 index 000000000..88cbe8594 --- /dev/null +++ b/packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json @@ -0,0 +1,28 @@ +{ + "title": "Example", + "description": "Minimal example of meta plugin", + "note": "", + "showDemo": true, + "blueprint": { + "type": "CORE:Blueprint", + "name": "Example", + "description": "", + "attributes": [ + { + "type": "dmss://system/SIMOS/BlueprintAttribute", + "name": "type", + "attributeType": "string", + "optional": false + } + ] + }, + "entity": { + "type": "./Example", + "_id": "1179c897-df62-445f-87e4-f393b4253936" + }, + "recipe": { + "type": "CORE:UiRecipe", + "name": "Meta", + "plugin": "@development-framework/dm-core-plugins/meta" + } +} diff --git a/packages/dm-core-plugins/docs/MetaPlugin/meta.png b/packages/dm-core-plugins/docs/MetaPlugin/meta.png new file mode 100644 index 000000000..9ec351ea7 Binary files /dev/null and b/packages/dm-core-plugins/docs/MetaPlugin/meta.png differ