mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Hackspace: add membership_plans
This commit is contained in:
parent
ffc7acade6
commit
14d08cd7b2
4 changed files with 65 additions and 0 deletions
20
types/generated/components.d.ts
vendored
20
types/generated/components.d.ts
vendored
|
|
@ -155,6 +155,25 @@ export interface LocationArea extends Struct.ComponentSchema {
|
|||
};
|
||||
}
|
||||
|
||||
export interface MembershipPlans extends Struct.ComponentSchema {
|
||||
collectionName: 'components_membership_plans';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Plan';
|
||||
icon: 'briefcase';
|
||||
};
|
||||
attributes: {
|
||||
billing_interval: Schema.Attribute.Enumeration<
|
||||
['yearly', 'quarterly', 'monthly', 'weekly', 'daily', 'hourly', 'other']
|
||||
> &
|
||||
Schema.Attribute.Required;
|
||||
currency: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
description: Schema.Attribute.Text;
|
||||
name: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
value: Schema.Attribute.Decimal & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StateStateIcon extends Struct.ComponentSchema {
|
||||
collectionName: 'components_state_state_icons';
|
||||
info: {
|
||||
|
|
@ -181,6 +200,7 @@ declare module '@strapi/strapi' {
|
|||
'hackspace.project': HackspaceProject;
|
||||
'hackspace.spacefed': HackspaceSpacefed;
|
||||
'location.area': LocationArea;
|
||||
'membership.plans': MembershipPlans;
|
||||
'state.state-icon': StateStateIcon;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1
types/generated/contentTypes.d.ts
vendored
1
types/generated/contentTypes.d.ts
vendored
|
|
@ -425,6 +425,7 @@ export interface ApiHackspaceHackspace extends Struct.SingleTypeSchema {
|
|||
Schema.Attribute.Private;
|
||||
location: Schema.Attribute.Component<'hackspace.location', false>;
|
||||
logo: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
|
||||
membership_plans: Schema.Attribute.Component<'membership.plans', true>;
|
||||
projects: Schema.Attribute.Component<'hackspace.project', true>;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
space: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue