mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
update docs and schema
This commit is contained in:
@@ -65,9 +65,12 @@ Create a new `assets/my-extension.json` file in the library project root folder
|
||||
```json
|
||||
{
|
||||
"$schema": "../../../extension.schema.json",
|
||||
"$id": "my-extension",
|
||||
"$version": "1.0.0",
|
||||
"$vendor": "Your name or company name",
|
||||
"$name": "plugin1",
|
||||
"$description": "demo plugin",
|
||||
"$license": "MIT",
|
||||
|
||||
"routes": [
|
||||
{
|
||||
@@ -186,7 +189,7 @@ export class AppExtensionsModule {}
|
||||
|
||||
### 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
|
||||
{
|
||||
|
@@ -674,7 +674,7 @@
|
||||
},
|
||||
|
||||
"type": "object",
|
||||
"required": ["$id", "$name", "$version", "$vendor", "$license", "$runtime"],
|
||||
"required": ["$id", "$name", "$version", "$vendor", "$license"],
|
||||
"properties": {
|
||||
"$id": {
|
||||
"description": "Unique identifier",
|
||||
@@ -697,7 +697,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"$runtime": {
|
||||
"description": "Minimal extension runtime supported by extension",
|
||||
"description": "(deprecated) Minimal extension runtime supported by extension",
|
||||
"type": "string"
|
||||
},
|
||||
"$description": {
|
||||
|
Reference in New Issue
Block a user