Skip to content

Commit

Permalink
Merge pull request #97 from tago-io/add-connector-storage
Browse files Browse the repository at this point in the history
added storage and update sql lite version
  • Loading branch information
FabianoEger authored Nov 27, 2024
2 parents 149e66d + 426f8f1 commit e1efb94
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions decoders/connector/storage/database/connector.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "../../../../schema/connector.json",
"name": "Database",
"images": {
"logo": "./assets/logo.png"
},
"versions": {
"v1.0.0": {
"src": "./v1.0.0/payload.js",
"manifest": "./v1.0.0/payload-config.jsonc"
}
}
}
1 change: 1 addition & 0 deletions decoders/connector/storage/database/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
You can store any data to TagoIO! Use this connector to differentiate sensors and application data in your device list.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "../../../../../schema/connector_details.json",
"description": "../description.md",
"install_text": "It is recommended for you to use this connector with a device of type Managed Data (Mutable), which is set as default for this connector. Managed data allows you to perform delete and edit operations on the data, but does have a maximum amount of different variables it can store. Those are very important operations for data related to application information, user information and other commonly edited data",
"install_end_text": "",
"device_annotation": "",
"device_parameters": [],
"networks": ["../../../../network/storage/v1.0.0/payload.js"]
}
Empty file.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/validator": "13.11.10",
"ajv": "8.13.0",
"ajv-formats": "3.0.1",
"better-sqlite3": "10.0.0",
"better-sqlite3": "11.6.0",
"knex": "3.1.0",
"moment-timezone": "0.5.45",
"sqlite3": "5.1.7",
Expand All @@ -27,4 +27,4 @@
"vm2": "3.9.19",
"zod": "3.23.8"
}
}
}

0 comments on commit e1efb94

Please sign in to comment.