mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 01:47:24 +00:00
Types: generated
This commit is contained in:
parent
bccbdee349
commit
4d3e56d3c3
2 changed files with 55 additions and 1 deletions
55
types/generated/components.d.ts
vendored
55
types/generated/components.d.ts
vendored
|
|
@ -4,7 +4,7 @@ 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: {
|
||||||
|
|
@ -15,6 +15,7 @@ export interface HackspaceContacts extends Struct.ComponentSchema {
|
||||||
identica: Schema.Attribute.String;
|
identica: Schema.Attribute.String;
|
||||||
irc: Schema.Attribute.String;
|
irc: Schema.Attribute.String;
|
||||||
issue_mail: Schema.Attribute.String;
|
issue_mail: Schema.Attribute.String;
|
||||||
|
keymasters: Schema.Attribute.Component<'hackspace.keymaster', true>;
|
||||||
mastodon: Schema.Attribute.String;
|
mastodon: Schema.Attribute.String;
|
||||||
matrix: Schema.Attribute.String;
|
matrix: Schema.Attribute.String;
|
||||||
ml: Schema.Attribute.String;
|
ml: Schema.Attribute.String;
|
||||||
|
|
@ -26,6 +27,55 @@ export interface HackspaceContacts extends Struct.ComponentSchema {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface HackspaceKeymaster extends Struct.ComponentSchema {
|
||||||
|
collectionName: 'components_hackspace_keymasters';
|
||||||
|
info: {
|
||||||
|
displayName: 'keymaster';
|
||||||
|
icon: 'user';
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
email: Schema.Attribute.String;
|
||||||
|
irc_nick: Schema.Attribute.String;
|
||||||
|
mastodon: Schema.Attribute.String;
|
||||||
|
matrix: Schema.Attribute.String;
|
||||||
|
name: Schema.Attribute.String;
|
||||||
|
phone: Schema.Attribute.String;
|
||||||
|
twitter: Schema.Attribute.String;
|
||||||
|
xmpp: Schema.Attribute.String;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface HackspaceLocation extends Struct.ComponentSchema {
|
||||||
|
collectionName: 'components_hackspace_locations';
|
||||||
|
info: {
|
||||||
|
description: '';
|
||||||
|
displayName: 'location';
|
||||||
|
icon: 'pinMap';
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
address: Schema.Attribute.String;
|
||||||
|
areas: Schema.Attribute.Component<'location.area', true>;
|
||||||
|
country_code: Schema.Attribute.String;
|
||||||
|
hint: Schema.Attribute.Text;
|
||||||
|
lat: Schema.Attribute.Decimal;
|
||||||
|
lon: Schema.Attribute.Decimal;
|
||||||
|
timezone: Schema.Attribute.String;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface LocationArea extends Struct.ComponentSchema {
|
||||||
|
collectionName: 'components_location_areas';
|
||||||
|
info: {
|
||||||
|
displayName: 'area';
|
||||||
|
icon: 'layout';
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
description: Schema.Attribute.Text;
|
||||||
|
name: Schema.Attribute.String;
|
||||||
|
square_meters: Schema.Attribute.Decimal & Schema.Attribute.Required;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface StateStateIcon extends Struct.ComponentSchema {
|
export interface StateStateIcon extends Struct.ComponentSchema {
|
||||||
collectionName: 'components_state_state_icons';
|
collectionName: 'components_state_state_icons';
|
||||||
info: {
|
info: {
|
||||||
|
|
@ -43,6 +93,9 @@ declare module '@strapi/strapi' {
|
||||||
export module Public {
|
export module Public {
|
||||||
export interface ComponentSchemas {
|
export interface ComponentSchemas {
|
||||||
'hackspace.contacts': HackspaceContacts;
|
'hackspace.contacts': HackspaceContacts;
|
||||||
|
'hackspace.keymaster': HackspaceKeymaster;
|
||||||
|
'hackspace.location': HackspaceLocation;
|
||||||
|
'location.area': LocationArea;
|
||||||
'state.state-icon': StateStateIcon;
|
'state.state-icon': StateStateIcon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
types/generated/contentTypes.d.ts
vendored
1
types/generated/contentTypes.d.ts
vendored
|
|
@ -392,6 +392,7 @@ export interface ApiHackspaceHackspace extends Struct.SingleTypeSchema {
|
||||||
'api::hackspace.hackspace'
|
'api::hackspace.hackspace'
|
||||||
> &
|
> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
|
location: Schema.Attribute.Component<'hackspace.location', false>;
|
||||||
logo: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
|
logo: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
|
||||||
publishedAt: Schema.Attribute.DateTime;
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
space: Schema.Attribute.String & Schema.Attribute.Required;
|
space: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue