-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
|
||
 | ||
|
||
## 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. |
28 changes: 28 additions & 0 deletions
28
packages/dm-core-plugins/docs/MetaPlugin/Examples/Basic.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.