mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Events: remove timestamp
This commit is contained in:
parent
f583b2e3e6
commit
d664afb574
2 changed files with 3 additions and 6 deletions
|
|
@ -4,7 +4,8 @@
|
|||
"info": {
|
||||
"singularName": "event",
|
||||
"pluralName": "events",
|
||||
"displayName": "Event"
|
||||
"displayName": "Event",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": false
|
||||
|
|
@ -18,10 +19,6 @@
|
|||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "biginteger",
|
||||
"required": true
|
||||
},
|
||||
"extra": {
|
||||
"type": "text"
|
||||
}
|
||||
|
|
|
|||
2
types/generated/contentTypes.d.ts
vendored
2
types/generated/contentTypes.d.ts
vendored
|
|
@ -547,6 +547,7 @@ export interface ApiDoorLockedSensorDoorLockedSensor
|
|||
export interface ApiEventEvent extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'events';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Event';
|
||||
pluralName: 'events';
|
||||
singularName: 'event';
|
||||
|
|
@ -564,7 +565,6 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
|
|||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
timestamp: Schema.Attribute.BigInteger & Schema.Attribute.Required;
|
||||
type: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue