mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Provide auto repositories
This commit is contained in:
parent
a36c0788b3
commit
d2be1d61ce
4 changed files with 122 additions and 1 deletions
|
@ -2,6 +2,15 @@
|
|||
|
||||
location __PATH__/ {
|
||||
|
||||
# CORS support
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
||||
# Handling preflight requests
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header Access-Control-Allow-Methods *;
|
||||
add_header Access-Control-Allow-Headers *;
|
||||
}
|
||||
|
||||
# Path to source
|
||||
alias __DATA_DIR__/;
|
||||
|
||||
|
|
56
conf/repository-next.json
Normal file
56
conf/repository-next.json
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"$schema": "https://dont-code.net/schemas/v1/repository-schema.json",
|
||||
"name": "Next Repository __TENANT__",
|
||||
"description": "Repository provided by Dont-code offering next versions of all plugins",
|
||||
"webSocketUrl": "ws://__DOMAIN____PATH__/preview",
|
||||
"storeApiUrl": "https://__DOMAIN____PATH__/data",
|
||||
"projectApiUrl": "https://__DOMAIN____PATH__/project",
|
||||
"documentApiUrl": "https://__DOMAIN____PATH__/documents",
|
||||
"plugins": [
|
||||
{
|
||||
"id": "Basic",
|
||||
"display-name": "Basic plugin for editing entities",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugins/next/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Fields",
|
||||
"display-name": "Additional editors for entity properties",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugins/next/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Rest",
|
||||
"display-name": "Plugins to support datasources from Rest API",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugin-rest/next/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Report",
|
||||
"display-name": "Plugins to generate and display reports",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugin-report/next/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Commerce",
|
||||
"display-name": "Plugins to get prices from shops",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugin-commerce/next/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
]
|
||||
}
|
56
conf/repository-stable.json
Normal file
56
conf/repository-stable.json
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"$schema": "https://dont-code.net/schemas/v1/repository-schema.json",
|
||||
"name": "Stable Repository __TENANT__",
|
||||
"description": "Repository provided by Dont-code using stable versions of plugins",
|
||||
"webSocketUrl": "ws://__DOMAIN____PATH__/preview",
|
||||
"storeApiUrl": "https://__DOMAIN____PATH__/data",
|
||||
"projectApiUrl": "https://__DOMAIN____PATH__/project",
|
||||
"documentApiUrl": "https://__DOMAIN____PATH__/documents",
|
||||
"plugins": [
|
||||
{
|
||||
"id": "Basic",
|
||||
"display-name": "Basic plugin for editing entities",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugins/latest/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Fields",
|
||||
"display-name": "Additional editors for entity properties",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugins/latest/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Rest",
|
||||
"display-name": "Plugins to support datasources from Rest API",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugin-rest/latest/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Report",
|
||||
"display-name": "Plugins to generate and display reports",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugin-report/latest/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"id": "Commerce",
|
||||
"display-name": "Plugins to get prices from shops",
|
||||
"version": "1.0.0",
|
||||
"info": {
|
||||
"remote-entry":"https://dont-code.net/plugin-commerce/latest/remoteEntry.mjs"
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -7,7 +7,7 @@ name = "Dont-code Services"
|
|||
description.en = "Install services and databases needed to support Dont-code platform"
|
||||
description.fr = "Installe les services et base de données nécessaires pour utiliser la plateforme Dont-code"
|
||||
|
||||
version = "0.3.1~ynh1"
|
||||
version = "0.3.1~ynh2"
|
||||
|
||||
maintainers = ["Dont-code Team"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue