From 6a4644534223fdb9c15e73701bf351a105dbe68c Mon Sep 17 00:00:00 2001 From: He4eT Date: Sat, 5 Apr 2025 01:21:14 +0200 Subject: [PATCH] Sensors: remove lastchange field --- .../account-balance-sensor/schema.json | 3 --- .../barometer-sensor/schema.json | 8 +++---- .../content-types/beverage-supply/schema.json | 3 --- .../carbondioxide-sensor/schema.json | 6 ++---- .../door-locked-sensor/schema.json | 6 ++---- .../content-types/humidity-sensor/schema.json | 3 --- .../network-connections-sensor/schema.json | 3 --- .../network-traffic-sensor/schema.json | 3 --- .../people-now-present-sensor/schema.json | 3 --- .../power-consumption-sensor/schema.json | 6 ++---- .../power-generation-sensor/schema.json | 6 ++---- .../radiation-sensor/schema.json | 6 ++---- .../temperature-sensor/schema.json | 3 --- .../total-member-count-sensor/schema.json | 3 --- .../content-types/wind-sensor/schema.json | 3 --- types/generated/contentTypes.d.ts | 21 ++++++------------- 16 files changed, 19 insertions(+), 67 deletions(-) diff --git a/src/api/account-balance-sensor/content-types/account-balance-sensor/schema.json b/src/api/account-balance-sensor/content-types/account-balance-sensor/schema.json index 9b43a60..adbb593 100644 --- a/src/api/account-balance-sensor/content-types/account-balance-sensor/schema.json +++ b/src/api/account-balance-sensor/content-types/account-balance-sensor/schema.json @@ -28,9 +28,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/barometer-sensor/content-types/barometer-sensor/schema.json b/src/api/barometer-sensor/content-types/barometer-sensor/schema.json index 95d1d3e..9334c85 100644 --- a/src/api/barometer-sensor/content-types/barometer-sensor/schema.json +++ b/src/api/barometer-sensor/content-types/barometer-sensor/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "barometer-sensor", "pluralName": "barometer-sensors", - "displayName": "Sensor: Barometer" + "displayName": "Sensor: Barometer", + "description": "" }, "options": { "draftAndPublish": false @@ -30,9 +31,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } -} + } } diff --git a/src/api/beverage-supply/content-types/beverage-supply/schema.json b/src/api/beverage-supply/content-types/beverage-supply/schema.json index 45fea39..5766de0 100644 --- a/src/api/beverage-supply/content-types/beverage-supply/schema.json +++ b/src/api/beverage-supply/content-types/beverage-supply/schema.json @@ -31,9 +31,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/carbondioxide-sensor/content-types/carbondioxide-sensor/schema.json b/src/api/carbondioxide-sensor/content-types/carbondioxide-sensor/schema.json index 447a39a..9c1a3ac 100644 --- a/src/api/carbondioxide-sensor/content-types/carbondioxide-sensor/schema.json +++ b/src/api/carbondioxide-sensor/content-types/carbondioxide-sensor/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "carbondioxide-sensor", "pluralName": "carbondioxide-sensors", - "displayName": "Sensor: CO2" + "displayName": "Sensor: CO2", + "description": "" }, "options": { "draftAndPublish": false @@ -31,9 +32,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/door-locked-sensor/content-types/door-locked-sensor/schema.json b/src/api/door-locked-sensor/content-types/door-locked-sensor/schema.json index e91f6a8..3ae37a8 100644 --- a/src/api/door-locked-sensor/content-types/door-locked-sensor/schema.json +++ b/src/api/door-locked-sensor/content-types/door-locked-sensor/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "door-locked-sensor", "pluralName": "door-locked-sensors", - "displayName": "Sensor: Door Locked" + "displayName": "Sensor: Door Locked", + "description": "" }, "options": { "draftAndPublish": false @@ -23,9 +24,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/humidity-sensor/content-types/humidity-sensor/schema.json b/src/api/humidity-sensor/content-types/humidity-sensor/schema.json index 8838e77..85cee0d 100644 --- a/src/api/humidity-sensor/content-types/humidity-sensor/schema.json +++ b/src/api/humidity-sensor/content-types/humidity-sensor/schema.json @@ -31,9 +31,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/network-connections-sensor/content-types/network-connections-sensor/schema.json b/src/api/network-connections-sensor/content-types/network-connections-sensor/schema.json index 5f993b9..6321b27 100644 --- a/src/api/network-connections-sensor/content-types/network-connections-sensor/schema.json +++ b/src/api/network-connections-sensor/content-types/network-connections-sensor/schema.json @@ -36,9 +36,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/network-traffic-sensor/content-types/network-traffic-sensor/schema.json b/src/api/network-traffic-sensor/content-types/network-traffic-sensor/schema.json index 7c31611..5ed89c8 100644 --- a/src/api/network-traffic-sensor/content-types/network-traffic-sensor/schema.json +++ b/src/api/network-traffic-sensor/content-types/network-traffic-sensor/schema.json @@ -25,9 +25,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/people-now-present-sensor/content-types/people-now-present-sensor/schema.json b/src/api/people-now-present-sensor/content-types/people-now-present-sensor/schema.json index ad13afa..f7a5efb 100644 --- a/src/api/people-now-present-sensor/content-types/people-now-present-sensor/schema.json +++ b/src/api/people-now-present-sensor/content-types/people-now-present-sensor/schema.json @@ -29,9 +29,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/power-consumption-sensor/content-types/power-consumption-sensor/schema.json b/src/api/power-consumption-sensor/content-types/power-consumption-sensor/schema.json index b8efd78..4114a39 100644 --- a/src/api/power-consumption-sensor/content-types/power-consumption-sensor/schema.json +++ b/src/api/power-consumption-sensor/content-types/power-consumption-sensor/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "power-consumption-sensor", "pluralName": "power-consumption-sensors", - "displayName": "Sensor: Power Consumption" + "displayName": "Sensor: Power Consumption", + "description": "" }, "options": { "draftAndPublish": false @@ -31,9 +32,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/power-generation-sensor/content-types/power-generation-sensor/schema.json b/src/api/power-generation-sensor/content-types/power-generation-sensor/schema.json index f163852..9ce8380 100644 --- a/src/api/power-generation-sensor/content-types/power-generation-sensor/schema.json +++ b/src/api/power-generation-sensor/content-types/power-generation-sensor/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "power-generation-sensor", "pluralName": "power-generation-sensors", - "displayName": "Sensor: Power Generation" + "displayName": "Sensor: Power Generation", + "description": "" }, "options": { "draftAndPublish": false @@ -31,9 +32,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/radiation-sensor/content-types/radiation-sensor/schema.json b/src/api/radiation-sensor/content-types/radiation-sensor/schema.json index d02014c..e953a4d 100644 --- a/src/api/radiation-sensor/content-types/radiation-sensor/schema.json +++ b/src/api/radiation-sensor/content-types/radiation-sensor/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "radiation-sensor", "pluralName": "radiation-sensors", - "displayName": "Sensor: Radiation" + "displayName": "Sensor: Radiation", + "description": "" }, "options": { "draftAndPublish": false @@ -49,9 +50,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/temperature-sensor/content-types/temperature-sensor/schema.json b/src/api/temperature-sensor/content-types/temperature-sensor/schema.json index ea2a3e6..3948bbe 100644 --- a/src/api/temperature-sensor/content-types/temperature-sensor/schema.json +++ b/src/api/temperature-sensor/content-types/temperature-sensor/schema.json @@ -38,9 +38,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/total-member-count-sensor/content-types/total-member-count-sensor/schema.json b/src/api/total-member-count-sensor/content-types/total-member-count-sensor/schema.json index a04c760..e08064e 100644 --- a/src/api/total-member-count-sensor/content-types/total-member-count-sensor/schema.json +++ b/src/api/total-member-count-sensor/content-types/total-member-count-sensor/schema.json @@ -24,9 +24,6 @@ }, "description": { "type": "text" - }, - "lastchange": { - "type": "biginteger" } } } diff --git a/src/api/wind-sensor/content-types/wind-sensor/schema.json b/src/api/wind-sensor/content-types/wind-sensor/schema.json index 600444f..b04d532 100644 --- a/src/api/wind-sensor/content-types/wind-sensor/schema.json +++ b/src/api/wind-sensor/content-types/wind-sensor/schema.json @@ -21,9 +21,6 @@ "description": { "type": "text" }, - "lastchange": { - "type": "biginteger" - }, "properties": { "displayName": "Properties", "type": "component", diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 8551ab7..4205e77 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -386,7 +386,6 @@ export interface ApiAccountBalanceSensorAccountBalanceSensor 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', @@ -408,6 +407,7 @@ export interface ApiBarometerSensorBarometerSensor extends Struct.CollectionTypeSchema { collectionName: 'barometer_sensors'; info: { + description: ''; displayName: 'Sensor: Barometer'; pluralName: 'barometer-sensors'; singularName: 'barometer-sensor'; @@ -420,7 +420,6 @@ export interface ApiBarometerSensorBarometerSensor 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', @@ -455,7 +454,6 @@ export interface ApiBeverageSupplyBeverageSupply 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', @@ -478,6 +476,7 @@ export interface ApiCarbondioxideSensorCarbondioxideSensor extends Struct.CollectionTypeSchema { collectionName: 'carbondioxide_sensors'; info: { + description: ''; displayName: 'Sensor: CO2'; pluralName: 'carbondioxide-sensors'; singularName: 'carbondioxide-sensor'; @@ -490,7 +489,6 @@ export interface ApiCarbondioxideSensorCarbondioxideSensor 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', @@ -513,6 +511,7 @@ export interface ApiDoorLockedSensorDoorLockedSensor extends Struct.CollectionTypeSchema { collectionName: 'door_locked_sensors'; info: { + description: ''; displayName: 'Sensor: Door Locked'; pluralName: 'door-locked-sensors'; singularName: 'door-locked-sensor'; @@ -525,7 +524,6 @@ export interface ApiDoorLockedSensorDoorLockedSensor 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', @@ -628,7 +626,6 @@ export interface ApiHumiditySensorHumiditySensor 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', @@ -664,7 +661,6 @@ export interface ApiNetworkConnectionsSensorNetworkConnectionsSensor 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', @@ -700,7 +696,6 @@ export interface ApiNetworkTrafficSensorNetworkTrafficSensor 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', @@ -738,7 +733,6 @@ export interface ApiPeopleNowPresentSensorPeopleNowPresentSensor 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', @@ -760,6 +754,7 @@ export interface ApiPowerConsumptionSensorPowerConsumptionSensor extends Struct.CollectionTypeSchema { collectionName: 'power_consumption_sensors'; info: { + description: ''; displayName: 'Sensor: Power Consumption'; pluralName: 'power-consumption-sensors'; singularName: 'power-consumption-sensor'; @@ -772,7 +767,6 @@ export interface ApiPowerConsumptionSensorPowerConsumptionSensor 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', @@ -794,6 +788,7 @@ export interface ApiPowerGenerationSensorPowerGenerationSensor extends Struct.CollectionTypeSchema { collectionName: 'power_generation_sensors'; info: { + description: ''; displayName: 'Sensor: Power Generation'; pluralName: 'power-generation-sensors'; singularName: 'power-generation-sensor'; @@ -806,7 +801,6 @@ export interface ApiPowerGenerationSensorPowerGenerationSensor 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', @@ -828,6 +822,7 @@ export interface ApiRadiationSensorRadiationSensor extends Struct.CollectionTypeSchema { collectionName: 'radiation_sensors'; info: { + description: ''; displayName: 'Sensor: Radiation'; pluralName: 'radiation-sensors'; singularName: 'radiation-sensor'; @@ -842,7 +837,6 @@ export interface ApiRadiationSensorRadiationSensor Schema.Attribute.Private; dead_time: Schema.Attribute.Decimal; description: Schema.Attribute.Text; - lastchange: Schema.Attribute.BigInteger; locale: Schema.Attribute.String & Schema.Attribute.Private; localizations: Schema.Attribute.Relation< 'oneToMany', @@ -912,7 +906,6 @@ export interface ApiTemperatureSensorTemperatureSensor 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', @@ -959,7 +952,6 @@ export interface ApiTotalMemberCountSensorTotalMemberCountSensor 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', @@ -992,7 +984,6 @@ export interface ApiWindSensorWindSensor extends Struct.CollectionTypeSchema { 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',