mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
update docs and schema
This commit is contained in:
parent
2bb027dd9b
commit
63fdf21386
@ -65,9 +65,12 @@ Create a new `assets/my-extension.json` file in the library project root folder
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"$schema": "../../../extension.schema.json",
|
"$schema": "../../../extension.schema.json",
|
||||||
|
"$id": "my-extension",
|
||||||
"$version": "1.0.0",
|
"$version": "1.0.0",
|
||||||
|
"$vendor": "Your name or company name",
|
||||||
"$name": "plugin1",
|
"$name": "plugin1",
|
||||||
"$description": "demo plugin",
|
"$description": "demo plugin",
|
||||||
|
"$license": "MIT",
|
||||||
|
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
@ -186,7 +189,7 @@ export class AppExtensionsModule {}
|
|||||||
|
|
||||||
### Register plugin
|
### Register plugin
|
||||||
|
|
||||||
Finally, update the `assets/app.extensions.json` file and add a reference to the new plugin:
|
Finally, update the `src/assets/app.extensions.json` file and add a reference to the new plugin:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -674,7 +674,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["$id", "$name", "$version", "$vendor", "$license", "$runtime"],
|
"required": ["$id", "$name", "$version", "$vendor", "$license"],
|
||||||
"properties": {
|
"properties": {
|
||||||
"$id": {
|
"$id": {
|
||||||
"description": "Unique identifier",
|
"description": "Unique identifier",
|
||||||
@ -697,7 +697,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"$runtime": {
|
"$runtime": {
|
||||||
"description": "Minimal extension runtime supported by extension",
|
"description": "(deprecated) Minimal extension runtime supported by extension",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"$description": {
|
"$description": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user