mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 01:47:24 +00:00
SpaceAPI: network_traffic: BigInt no more
This commit is contained in:
parent
781aef6643
commit
f6887ba417
4 changed files with 13 additions and 9 deletions
|
|
@ -350,7 +350,7 @@ export default ({ strapi }: { strapi: Core.Strapi }) => ({
|
|||
'description',
|
||||
'lastchange',
|
||||
],
|
||||
['properties.bits_per_second', 'properties.packets_per_second'],
|
||||
['properties', 'properties.bits_per_second', 'properties.packets_per_second'],
|
||||
)
|
||||
).map(
|
||||
(sensor: {
|
||||
|
|
|
|||
|
|
@ -2,16 +2,17 @@
|
|||
"collectionName": "components_network_bits_per_seconds",
|
||||
"info": {
|
||||
"displayName": "Bits per Second",
|
||||
"icon": "oneToOne"
|
||||
"icon": "oneToOne",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "biginteger",
|
||||
"type": "integer",
|
||||
"required": true
|
||||
},
|
||||
"maximum": {
|
||||
"type": "biginteger"
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,12 +2,13 @@
|
|||
"collectionName": "components_network_packets_per_seconds",
|
||||
"info": {
|
||||
"displayName": "Packets per Second",
|
||||
"icon": "oneToOne"
|
||||
"icon": "oneToOne",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "biginteger",
|
||||
"type": "integer",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue