mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Sensor: Network Connections
This commit is contained in:
parent
95d6a5f4ac
commit
b758d4e4ec
7 changed files with 132 additions and 0 deletions
13
types/generated/components.d.ts
vendored
13
types/generated/components.d.ts
vendored
|
|
@ -186,6 +186,18 @@ export interface MembershipPlans extends Struct.ComponentSchema {
|
|||
};
|
||||
}
|
||||
|
||||
export interface NetworkMachine extends Struct.ComponentSchema {
|
||||
collectionName: 'components_network_machines';
|
||||
info: {
|
||||
displayName: 'Machine';
|
||||
icon: 'oneToMany';
|
||||
};
|
||||
attributes: {
|
||||
mac: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
name: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StateStateIcon extends Struct.ComponentSchema {
|
||||
collectionName: 'components_state_state_icons';
|
||||
info: {
|
||||
|
|
@ -270,6 +282,7 @@ declare module '@strapi/strapi' {
|
|||
'hackspace.spacefed': HackspaceSpacefed;
|
||||
'location.area': LocationArea;
|
||||
'membership.plans': MembershipPlans;
|
||||
'network.machine': NetworkMachine;
|
||||
'state.state-icon': StateStateIcon;
|
||||
'wind.direction': WindDirection;
|
||||
'wind.elevation': WindElevation;
|
||||
|
|
|
|||
37
types/generated/contentTypes.d.ts
vendored
37
types/generated/contentTypes.d.ts
vendored
|
|
@ -611,6 +611,42 @@ export interface ApiHumiditySensorHumiditySensor
|
|||
};
|
||||
}
|
||||
|
||||
export interface ApiNetworkConnectionsSensorNetworkConnectionsSensor
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'network_connections_sensors';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Sensor: Network Connections';
|
||||
pluralName: 'network-connections-sensors';
|
||||
singularName: 'network-connections-sensor';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
};
|
||||
attributes: {
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.Text;
|
||||
lastchange: Schema.Attribute.BigInteger;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::network-connections-sensor.network-connections-sensor'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
location: Schema.Attribute.String;
|
||||
machines: Schema.Attribute.Component<'network.machine', true>;
|
||||
name: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
type: Schema.Attribute.Enumeration<['wifi', 'cable', 'spacenet']>;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
value: Schema.Attribute.Integer & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiPowerConsumptionSensorPowerConsumptionSensor
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'power_consumption_sensors';
|
||||
|
|
@ -1348,6 +1384,7 @@ declare module '@strapi/strapi' {
|
|||
'api::event.event': ApiEventEvent;
|
||||
'api::hackspace.hackspace': ApiHackspaceHackspace;
|
||||
'api::humidity-sensor.humidity-sensor': ApiHumiditySensorHumiditySensor;
|
||||
'api::network-connections-sensor.network-connections-sensor': ApiNetworkConnectionsSensorNetworkConnectionsSensor;
|
||||
'api::power-consumption-sensor.power-consumption-sensor': ApiPowerConsumptionSensorPowerConsumptionSensor;
|
||||
'api::power-generation-sensor.power-generation-sensor': ApiPowerGenerationSensorPowerGenerationSensor;
|
||||
'api::radiation-sensor.radiation-sensor': ApiRadiationSensorRadiationSensor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue