mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 01:47: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": {
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
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 {
|
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'> &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue