Created the structure for the whole About page
This commit is contained in:
36
types/generated/components.d.ts
vendored
36
types/generated/components.d.ts
vendored
@@ -13,6 +13,23 @@ export interface AboutPage5Texts extends Schema.Component {
|
||||
};
|
||||
}
|
||||
|
||||
export interface AboutPageCapabilities extends Schema.Component {
|
||||
collectionName: 'components_about_page_capabilities';
|
||||
info: {
|
||||
displayName: 'Capabilities';
|
||||
description: '';
|
||||
};
|
||||
attributes: {
|
||||
Title: Attribute.String;
|
||||
Intro: Attribute.Text;
|
||||
Analytics: Attribute.Component<'section.title-with-text'>;
|
||||
Predictive: Attribute.Component<'section.title-with-text'>;
|
||||
NLP: Attribute.Component<'section.title-with-text'>;
|
||||
Engine: Attribute.Component<'section.title-with-text'>;
|
||||
ContinuousLearning: Attribute.Component<'section.title-with-text'>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface AboutPageCeoMessage extends Schema.Component {
|
||||
collectionName: 'components_about_page_ceo_messages';
|
||||
info: {
|
||||
@@ -26,6 +43,23 @@ export interface AboutPageCeoMessage extends Schema.Component {
|
||||
};
|
||||
}
|
||||
|
||||
export interface AboutPageExpertise extends Schema.Component {
|
||||
collectionName: 'components_about_page_expertise';
|
||||
info: {
|
||||
displayName: 'Expertise';
|
||||
description: '';
|
||||
};
|
||||
attributes: {
|
||||
Title: Attribute.String;
|
||||
Intro: Attribute.Text;
|
||||
Language: Attribute.Component<'section.title-with-text'>;
|
||||
IELTS: Attribute.Component<'section.title-with-text'>;
|
||||
Alignment: Attribute.Component<'section.title-with-text'>;
|
||||
Native: Attribute.Component<'section.title-with-text'>;
|
||||
KnowledgeExperience: Attribute.Component<'section.title-with-text'>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionTitleWithText extends Schema.Component {
|
||||
collectionName: 'components_section_title_with_texts';
|
||||
info: {
|
||||
@@ -54,7 +88,9 @@ declare module '@strapi/types' {
|
||||
export module Shared {
|
||||
export interface Components {
|
||||
'about-page.5-texts': AboutPage5Texts;
|
||||
'about-page.capabilities': AboutPageCapabilities;
|
||||
'about-page.ceo-message': AboutPageCeoMessage;
|
||||
'about-page.expertise': AboutPageExpertise;
|
||||
'section.title-with-text': SectionTitleWithText;
|
||||
'title.title-with-tag': TitleTitleWithTag;
|
||||
}
|
||||
|
||||
12
types/generated/contentTypes.d.ts
vendored
12
types/generated/contentTypes.d.ts
vendored
@@ -403,6 +403,18 @@ export interface ApiAboutAbout extends Schema.SingleType {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
Capabilities: Attribute.Component<'about-page.capabilities'> &
|
||||
Attribute.SetPluginOptions<{
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
Expertise: Attribute.Component<'about-page.expertise'> &
|
||||
Attribute.SetPluginOptions<{
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
publishedAt: Attribute.DateTime;
|
||||
|
||||
Reference in New Issue
Block a user