mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Types: generated
This commit is contained in:
parent
b9293904a9
commit
64961b9de5
2 changed files with 24 additions and 5 deletions
28
types/generated/components.d.ts
vendored
28
types/generated/components.d.ts
vendored
|
|
@ -1,10 +1,24 @@
|
||||||
import type { Schema, Struct } from '@strapi/strapi';
|
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 {
|
export interface HackspaceContacts extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_hackspace_contacts';
|
collectionName: 'components_hackspace_contacts';
|
||||||
info: {
|
info: {
|
||||||
description: '';
|
description: '';
|
||||||
displayName: 'contacts';
|
displayName: 'Contacts';
|
||||||
icon: 'discuss';
|
icon: 'discuss';
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
@ -30,7 +44,8 @@ export interface HackspaceContacts extends Struct.ComponentSchema {
|
||||||
export interface HackspaceKeymaster extends Struct.ComponentSchema {
|
export interface HackspaceKeymaster extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_hackspace_keymasters';
|
collectionName: 'components_hackspace_keymasters';
|
||||||
info: {
|
info: {
|
||||||
displayName: 'keymaster';
|
description: '';
|
||||||
|
displayName: 'Keymaster';
|
||||||
icon: 'user';
|
icon: 'user';
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
@ -49,7 +64,7 @@ export interface HackspaceLocation extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_hackspace_locations';
|
collectionName: 'components_hackspace_locations';
|
||||||
info: {
|
info: {
|
||||||
description: '';
|
description: '';
|
||||||
displayName: 'location';
|
displayName: 'Location';
|
||||||
icon: 'pinMap';
|
icon: 'pinMap';
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
@ -66,7 +81,8 @@ export interface HackspaceLocation extends Struct.ComponentSchema {
|
||||||
export interface HackspaceSpacefed extends Struct.ComponentSchema {
|
export interface HackspaceSpacefed extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_hackspace_spacefeds';
|
collectionName: 'components_hackspace_spacefeds';
|
||||||
info: {
|
info: {
|
||||||
displayName: 'spacefed';
|
description: '';
|
||||||
|
displayName: 'Spacefed';
|
||||||
icon: 'globe';
|
icon: 'globe';
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
@ -78,7 +94,8 @@ export interface HackspaceSpacefed extends Struct.ComponentSchema {
|
||||||
export interface LocationArea extends Struct.ComponentSchema {
|
export interface LocationArea extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_location_areas';
|
collectionName: 'components_location_areas';
|
||||||
info: {
|
info: {
|
||||||
displayName: 'area';
|
description: '';
|
||||||
|
displayName: 'Area';
|
||||||
icon: 'layout';
|
icon: 'layout';
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|
@ -104,6 +121,7 @@ export interface StateStateIcon extends Struct.ComponentSchema {
|
||||||
declare module '@strapi/strapi' {
|
declare module '@strapi/strapi' {
|
||||||
export module Public {
|
export module Public {
|
||||||
export interface ComponentSchemas {
|
export interface ComponentSchemas {
|
||||||
|
'hackspace.camera': HackspaceCamera;
|
||||||
'hackspace.contacts': HackspaceContacts;
|
'hackspace.contacts': HackspaceContacts;
|
||||||
'hackspace.keymaster': HackspaceKeymaster;
|
'hackspace.keymaster': HackspaceKeymaster;
|
||||||
'hackspace.location': HackspaceLocation;
|
'hackspace.location': HackspaceLocation;
|
||||||
|
|
|
||||||
1
types/generated/contentTypes.d.ts
vendored
1
types/generated/contentTypes.d.ts
vendored
|
|
@ -381,6 +381,7 @@ export interface ApiHackspaceHackspace extends Struct.SingleTypeSchema {
|
||||||
draftAndPublish: false;
|
draftAndPublish: false;
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
cam: Schema.Attribute.Component<'hackspace.camera', true>;
|
||||||
contact: Schema.Attribute.Component<'hackspace.contacts', false> &
|
contact: Schema.Attribute.Component<'hackspace.contacts', false> &
|
||||||
Schema.Attribute.Required;
|
Schema.Attribute.Required;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue