Initial commit
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"common": {
|
||||
"name": "sql",
|
||||
"title": "SQL History",
|
||||
"titleLang": {
|
||||
"en": "SQL logging"
|
||||
},
|
||||
"desc": {
|
||||
"en": "Logging of states into SQL DB"
|
||||
},
|
||||
"version": "1.9.2",
|
||||
"mode": "daemon",
|
||||
"platform": "Node.js",
|
||||
"loglevel": "info",
|
||||
"messagebox": true,
|
||||
"subscribe": "messagebox",
|
||||
"keywords": ["charts", "sql", "logging", "graphs", "archive"],
|
||||
"preserveSettings": "custom",
|
||||
"supportCustoms": true,
|
||||
"getHistory": true,
|
||||
"enabled": true,
|
||||
"stopBeforeUpdate": true,
|
||||
"materialize": true,
|
||||
"authors": [
|
||||
"bluefox <dogafox@gmail.com>",
|
||||
"Apollon77 <ingo@fischer-ka.de>"
|
||||
],
|
||||
"license": "MIT",
|
||||
"readme": "https://git.spacen.net/yunkong2/yunkong2.sql/blob/master/README.md",
|
||||
"icon": "sql.png",
|
||||
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.sql/raw/master/admin/sql.png",
|
||||
"type": "storage",
|
||||
"dependencies": [{"js-controller": ">=0.12.0","admin": ">=1.6.10"}],
|
||||
"supportStopInstance": 2000,
|
||||
"config":{
|
||||
"minWidth": 570,
|
||||
"width ": 435,
|
||||
"minHeight": 200,
|
||||
"height": 540
|
||||
}
|
||||
},
|
||||
"native": {
|
||||
"connLink": "",
|
||||
"debounce": 1000,
|
||||
"retention": 31536000,
|
||||
"host": "localhost",
|
||||
"port": 0,
|
||||
"user": "",
|
||||
"password": "",
|
||||
"dbtype": "sqlite",
|
||||
"fileName": "sqlite.db",
|
||||
"requestInterval": 0,
|
||||
"encrypt": false,
|
||||
"round": 4,
|
||||
"dbname": "yunkong2",
|
||||
"multiRequests": true,
|
||||
"changesRelogInterval": 0,
|
||||
"changesMinDelta": 0,
|
||||
"writeNulls": true
|
||||
},
|
||||
"instanceObjects": [
|
||||
{
|
||||
"_id": "info",
|
||||
"type": "channel",
|
||||
"common": {
|
||||
"name": "Information"
|
||||
},
|
||||
"native": {}
|
||||
},
|
||||
{
|
||||
"_id": "info.connection",
|
||||
"type": "state",
|
||||
"common": {
|
||||
"role": "indicator.connected",
|
||||
"name": "If connected to DB",
|
||||
"type": "boolean",
|
||||
"read": true,
|
||||
"write": false,
|
||||
"def": false
|
||||
},
|
||||
"native": {}
|
||||
}
|
||||
],
|
||||
"objects": [
|
||||
{
|
||||
"_id": "_design/custom",
|
||||
"language": "javascript",
|
||||
"views": {
|
||||
"state": {
|
||||
"map": "function(doc) { if (doc.type==='state' && (doc.common.custom || doc.common.history)) emit(doc._id, doc.common.custom || doc.common.history) }"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user