feat(plugin): more work on plugin schema

This commit is contained in:
Torkel Ödegaard
2016-01-09 08:12:27 +01:00
parent 3bb20dbf2e
commit 9943b9a226
5 changed files with 60 additions and 52 deletions
+16 -20
View File
@@ -1,7 +1,19 @@
{
"name": "App Example",
"id": "app-test",
"type": "app",
"name": "App Example",
"id": "app-example",
"staticRoot":" ./public",
"module": "app",
"pages": [
{"name": "Example1", "url": "/app-example", "reqRole": "Editor"}
],
"css": {
"light": "css/plugin.dark.css",
"dark": "css/plugin.light.css"
},
"info": {
"description": "Example Grafana App",
@@ -11,8 +23,8 @@
},
"keywords": ["example"],
"logos": {
"small": "{{.PluginPublicRoot}}/img/logo_small.png",
"large": "{{.PluginPublicRoot}}/logo_large.png"
"small": "img/logo_small.png",
"large": "img/logo_large.png"
},
"links": [
{"name": "Project site", "url": "http://project.com"},
@@ -22,22 +34,6 @@
"updated": "2015-02-10"
},
"css": {
"light": "plugin.dark.css",
"dark": "plugin.light.css"
},
"module": "app",
"pages": [
{"name": "Example1", "url": "/app-example", "reqRole": "Editor"}
],
"public": {
"urlFragment": "app-example",
"path": "./public"
},
"dependencies": {
"grafanaVersion": "2.6.x",
"plugins": [