diff --git a/types/generated/components.d.ts b/types/generated/components.d.ts index d001a31..c25850f 100644 --- a/types/generated/components.d.ts +++ b/types/generated/components.d.ts @@ -4,7 +4,7 @@ export interface HackspaceContacts extends Struct.ComponentSchema { collectionName: 'components_hackspace_contacts'; info: { description: ''; - displayName: 'Contacts'; + displayName: 'contacts'; icon: 'discuss'; }; attributes: { @@ -15,6 +15,7 @@ export interface HackspaceContacts extends Struct.ComponentSchema { identica: Schema.Attribute.String; irc: Schema.Attribute.String; issue_mail: Schema.Attribute.String; + keymasters: Schema.Attribute.Component<'hackspace.keymaster', true>; mastodon: Schema.Attribute.String; matrix: 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 { collectionName: 'components_state_state_icons'; info: { @@ -43,6 +93,9 @@ declare module '@strapi/strapi' { export module Public { export interface ComponentSchemas { 'hackspace.contacts': HackspaceContacts; + 'hackspace.keymaster': HackspaceKeymaster; + 'hackspace.location': HackspaceLocation; + 'location.area': LocationArea; 'state.state-icon': StateStateIcon; } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index a64091d..581f76d 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -392,6 +392,7 @@ export interface ApiHackspaceHackspace extends Struct.SingleTypeSchema { 'api::hackspace.hackspace' > & Schema.Attribute.Private; + location: Schema.Attribute.Component<'hackspace.location', false>; logo: Schema.Attribute.Media<'images'> & Schema.Attribute.Required; publishedAt: Schema.Attribute.DateTime; space: Schema.Attribute.String & Schema.Attribute.Required;