add sections
This commit is contained in:
185
types/generated/components.d.ts
vendored
185
types/generated/components.d.ts
vendored
@@ -1,5 +1,87 @@
|
||||
import type { Schema, Struct } from '@strapi/strapi';
|
||||
|
||||
export interface CardsAdvantage extends Struct.ComponentSchema {
|
||||
collectionName: 'components_cards_advantages';
|
||||
info: {
|
||||
displayName: 'Advantage';
|
||||
};
|
||||
attributes: {
|
||||
color: Schema.Attribute.Component<'shared.color', false>;
|
||||
description: Schema.Attribute.Text;
|
||||
icon: Schema.Attribute.Component<'shared.icon', false>;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface CardsCase extends Struct.ComponentSchema {
|
||||
collectionName: 'components_cards_cases';
|
||||
info: {
|
||||
displayName: 'Case';
|
||||
};
|
||||
attributes: {
|
||||
badge: Schema.Attribute.String;
|
||||
color: Schema.Attribute.Component<'shared.color', false>;
|
||||
description: Schema.Attribute.Text;
|
||||
footnote: Schema.Attribute.String;
|
||||
icon: Schema.Attribute.Component<'shared.icon', false>;
|
||||
pretitle: Schema.Attribute.String;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface CardsService extends Struct.ComponentSchema {
|
||||
collectionName: 'components_cards_services';
|
||||
info: {
|
||||
displayName: 'Service';
|
||||
};
|
||||
attributes: {
|
||||
category: Schema.Attribute.Relation<'oneToOne', 'api::category.category'>;
|
||||
color: Schema.Attribute.Component<'shared.color', false>;
|
||||
description: Schema.Attribute.Text;
|
||||
icon: Schema.Attribute.Component<'shared.icon', false>;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface CardsSolution extends Struct.ComponentSchema {
|
||||
collectionName: 'components_cards_solutions';
|
||||
info: {
|
||||
displayName: 'Solution';
|
||||
};
|
||||
attributes: {
|
||||
category: Schema.Attribute.Relation<'oneToOne', 'api::category.category'>;
|
||||
description: Schema.Attribute.Text;
|
||||
footnote: Schema.Attribute.String;
|
||||
icon: Schema.Attribute.Component<'shared.icon', false>;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionsAbout extends Struct.ComponentSchema {
|
||||
collectionName: 'components_sections_abouts';
|
||||
info: {
|
||||
displayName: 'About';
|
||||
};
|
||||
attributes: {
|
||||
cards: Schema.Attribute.Component<'cards.advantage', true>;
|
||||
description: Schema.Attribute.Text;
|
||||
partners: Schema.Attribute.Component<'shared.string', true>;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionsCases extends Struct.ComponentSchema {
|
||||
collectionName: 'components_sections_cases';
|
||||
info: {
|
||||
displayName: 'Cases';
|
||||
};
|
||||
attributes: {
|
||||
cards: Schema.Attribute.Component<'cards.case', true>;
|
||||
description: Schema.Attribute.String;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionsHomeHero extends Struct.ComponentSchema {
|
||||
collectionName: 'components_sections_home_heroes';
|
||||
info: {
|
||||
@@ -13,6 +95,30 @@ export interface SectionsHomeHero extends Struct.ComponentSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionsServices extends Struct.ComponentSchema {
|
||||
collectionName: 'components_sections_services';
|
||||
info: {
|
||||
displayName: 'Services';
|
||||
};
|
||||
attributes: {
|
||||
cards: Schema.Attribute.Component<'cards.service', true>;
|
||||
description: Schema.Attribute.String;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionsSolutions extends Struct.ComponentSchema {
|
||||
collectionName: 'components_sections_solutions';
|
||||
info: {
|
||||
displayName: 'Solutions';
|
||||
};
|
||||
attributes: {
|
||||
cards: Schema.Attribute.Component<'cards.solution', true>;
|
||||
description: Schema.Attribute.Text;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedAttribute extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_attributes';
|
||||
info: {
|
||||
@@ -24,22 +130,91 @@ export interface SharedAttribute extends Struct.ComponentSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedProduct extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_products';
|
||||
export interface SharedColor extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_colors';
|
||||
info: {
|
||||
displayName: 'Product';
|
||||
displayName: 'Color';
|
||||
};
|
||||
attributes: {
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
value: Schema.Attribute.Enumeration<
|
||||
['blue', 'violet', 'emerald', 'orange', 'pink', 'indigo', 'cyan']
|
||||
>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedContact extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_contacts';
|
||||
info: {
|
||||
displayName: 'Contact';
|
||||
};
|
||||
attributes: {
|
||||
displayValue: Schema.Attribute.String;
|
||||
type: Schema.Attribute.Enumeration<
|
||||
['phone', 'working-hours', 'email', 'address']
|
||||
> &
|
||||
Schema.Attribute.Required;
|
||||
value: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedIcon extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_icons';
|
||||
info: {
|
||||
displayName: 'Icon';
|
||||
};
|
||||
attributes: {
|
||||
value: Schema.Attribute.Enumeration<
|
||||
[
|
||||
'cloud',
|
||||
'shield',
|
||||
'cpu',
|
||||
'database',
|
||||
'server',
|
||||
'settings',
|
||||
'building',
|
||||
'shopping-cart',
|
||||
'factory',
|
||||
'heart',
|
||||
'graduation-cap',
|
||||
'landmark',
|
||||
'rocket',
|
||||
'zap',
|
||||
'award',
|
||||
'users',
|
||||
'check-circle',
|
||||
'package',
|
||||
]
|
||||
>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedString extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_strings';
|
||||
info: {
|
||||
displayName: 'String';
|
||||
};
|
||||
attributes: {
|
||||
value: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
declare module '@strapi/strapi' {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
'cards.advantage': CardsAdvantage;
|
||||
'cards.case': CardsCase;
|
||||
'cards.service': CardsService;
|
||||
'cards.solution': CardsSolution;
|
||||
'sections.about': SectionsAbout;
|
||||
'sections.cases': SectionsCases;
|
||||
'sections.home-hero': SectionsHomeHero;
|
||||
'sections.services': SectionsServices;
|
||||
'sections.solutions': SectionsSolutions;
|
||||
'shared.attribute': SharedAttribute;
|
||||
'shared.product': SharedProduct;
|
||||
'shared.color': SharedColor;
|
||||
'shared.contact': SharedContact;
|
||||
'shared.icon': SharedIcon;
|
||||
'shared.string': SharedString;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user