226 lines
6.0 KiB
TypeScript
226 lines
6.0 KiB
TypeScript
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: {
|
|
anchor: Schema.Attribute.String;
|
|
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: {
|
|
anchor: Schema.Attribute.String;
|
|
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: {
|
|
displayName: 'HomeHero';
|
|
};
|
|
attributes: {
|
|
anchor: Schema.Attribute.String;
|
|
badge: Schema.Attribute.String;
|
|
description: Schema.Attribute.Text;
|
|
stats: Schema.Attribute.Component<'shared.attribute', true>;
|
|
title: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface SectionsServices extends Struct.ComponentSchema {
|
|
collectionName: 'components_sections_services';
|
|
info: {
|
|
displayName: 'Services';
|
|
};
|
|
attributes: {
|
|
anchor: Schema.Attribute.String;
|
|
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: {
|
|
anchor: Schema.Attribute.String;
|
|
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: {
|
|
displayName: 'Attribute';
|
|
};
|
|
attributes: {
|
|
key: Schema.Attribute.String;
|
|
value: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface SharedColor extends Struct.ComponentSchema {
|
|
collectionName: 'components_shared_colors';
|
|
info: {
|
|
displayName: 'Color';
|
|
};
|
|
attributes: {
|
|
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.color': SharedColor;
|
|
'shared.contact': SharedContact;
|
|
'shared.icon': SharedIcon;
|
|
'shared.string': SharedString;
|
|
}
|
|
}
|
|
}
|