Events: remove timestamp

This commit is contained in:
He4eT 2025-05-29 11:18:20 +02:00
commit d664afb574
2 changed files with 3 additions and 6 deletions

View file

@ -4,7 +4,8 @@
"info": { "info": {
"singularName": "event", "singularName": "event",
"pluralName": "events", "pluralName": "events",
"displayName": "Event" "displayName": "Event",
"description": ""
}, },
"options": { "options": {
"draftAndPublish": false "draftAndPublish": false
@ -18,10 +19,6 @@
"type": "string", "type": "string",
"required": true "required": true
}, },
"timestamp": {
"type": "biginteger",
"required": true
},
"extra": { "extra": {
"type": "text" "type": "text"
} }

View file

@ -547,6 +547,7 @@ export interface ApiDoorLockedSensorDoorLockedSensor
export interface ApiEventEvent extends Struct.CollectionTypeSchema { export interface ApiEventEvent extends Struct.CollectionTypeSchema {
collectionName: 'events'; collectionName: 'events';
info: { info: {
description: '';
displayName: 'Event'; displayName: 'Event';
pluralName: 'events'; pluralName: 'events';
singularName: 'event'; singularName: 'event';
@ -564,7 +565,6 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
Schema.Attribute.Private; Schema.Attribute.Private;
name: Schema.Attribute.String & Schema.Attribute.Required; name: Schema.Attribute.String & Schema.Attribute.Required;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
timestamp: Schema.Attribute.BigInteger & Schema.Attribute.Required;
type: Schema.Attribute.String & Schema.Attribute.Required; type: Schema.Attribute.String & Schema.Attribute.Required;
updatedAt: Schema.Attribute.DateTime; updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &