mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Sensor: Total Member Count
This commit is contained in:
parent
bb81b89795
commit
7861af8a03
5 changed files with 86 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "total_member_count_sensors",
|
||||
"info": {
|
||||
"singularName": "total-member-count-sensor",
|
||||
"pluralName": "total-member-count-sensors",
|
||||
"displayName": "Sensor: Total Member Count"
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"required": true
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"lastchange": {
|
||||
"type": "biginteger"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* total-member-count-sensor controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::total-member-count-sensor.total-member-count-sensor');
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* total-member-count-sensor router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::total-member-count-sensor.total-member-count-sensor');
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* total-member-count-sensor service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::total-member-count-sensor.total-member-count-sensor');
|
||||
Loading…
Add table
Add a link
Reference in a new issue