Types: generated

This commit is contained in:
He4eT 2025-04-01 10:43:11 +02:00
commit 64961b9de5
2 changed files with 24 additions and 5 deletions

View file

@ -1,10 +1,24 @@
import type { Schema, Struct } from '@strapi/strapi';
export interface HackspaceCamera extends Struct.ComponentSchema {
collectionName: 'components_hackspace_cameras';
info: {
description: '';
displayName: 'Camera';
icon: 'eye';
};
attributes: {
url: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.Unique;
};
}
export interface HackspaceContacts extends Struct.ComponentSchema {
collectionName: 'components_hackspace_contacts';
info: {
description: '';
displayName: 'contacts';
displayName: 'Contacts';
icon: 'discuss';
};
attributes: {
@ -30,7 +44,8 @@ export interface HackspaceContacts extends Struct.ComponentSchema {
export interface HackspaceKeymaster extends Struct.ComponentSchema {
collectionName: 'components_hackspace_keymasters';
info: {
displayName: 'keymaster';
description: '';
displayName: 'Keymaster';
icon: 'user';
};
attributes: {
@ -49,7 +64,7 @@ export interface HackspaceLocation extends Struct.ComponentSchema {
collectionName: 'components_hackspace_locations';
info: {
description: '';
displayName: 'location';
displayName: 'Location';
icon: 'pinMap';
};
attributes: {
@ -66,7 +81,8 @@ export interface HackspaceLocation extends Struct.ComponentSchema {
export interface HackspaceSpacefed extends Struct.ComponentSchema {
collectionName: 'components_hackspace_spacefeds';
info: {
displayName: 'spacefed';
description: '';
displayName: 'Spacefed';
icon: 'globe';
};
attributes: {
@ -78,7 +94,8 @@ export interface HackspaceSpacefed extends Struct.ComponentSchema {
export interface LocationArea extends Struct.ComponentSchema {
collectionName: 'components_location_areas';
info: {
displayName: 'area';
description: '';
displayName: 'Area';
icon: 'layout';
};
attributes: {
@ -104,6 +121,7 @@ export interface StateStateIcon extends Struct.ComponentSchema {
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'hackspace.camera': HackspaceCamera;
'hackspace.contacts': HackspaceContacts;
'hackspace.keymaster': HackspaceKeymaster;
'hackspace.location': HackspaceLocation;

View file

@ -381,6 +381,7 @@ export interface ApiHackspaceHackspace extends Struct.SingleTypeSchema {
draftAndPublish: false;
};
attributes: {
cam: Schema.Attribute.Component<'hackspace.camera', true>;
contact: Schema.Attribute.Component<'hackspace.contacts', false> &
Schema.Attribute.Required;
createdAt: Schema.Attribute.DateTime;