mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Sensor: Network Traffic
This commit is contained in:
parent
8798126dc4
commit
c8f3481c42
9 changed files with 189 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "sensor_network_traffics",
|
||||
"info": {
|
||||
"singularName": "sensor-network-traffic",
|
||||
"pluralName": "sensor-network-traffics",
|
||||
"displayName": "Sensor: Network Traffic",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": false
|
||||
},
|
||||
"attributes": {
|
||||
"properties": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "network.traffic-properties",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"lastchange": {
|
||||
"type": "biginteger"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* sensor-network-traffic controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::sensor-network-traffic.sensor-network-traffic');
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* sensor-network-traffic router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::sensor-network-traffic.sensor-network-traffic');
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* sensor-network-traffic service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::sensor-network-traffic.sensor-network-traffic');
|
||||
Loading…
Add table
Add a link
Reference in a new issue