strap about page custom query

This commit is contained in:
Schneider Roland
2025-01-12 21:56:22 +01:00
parent 574d623746
commit 741dd19588
36 changed files with 878 additions and 89 deletions

View File

@@ -73,6 +73,104 @@ export interface SharedSlider extends Struct.ComponentSchema {
};
}
export interface SharedTitleDescription extends Struct.ComponentSchema {
collectionName: 'components_shared_title_descriptions';
info: {
displayName: 'TitleDescription';
};
attributes: {
description: Schema.Attribute.Text;
title: Schema.Attribute.String;
};
}
export interface YogaSiteAboutUs extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_aboutuses';
info: {
displayName: 'aboutUs';
};
attributes: {
buttonLabel: Schema.Attribute.String;
buttonLink: Schema.Attribute.String;
content: Schema.Attribute.Text;
description: Schema.Attribute.Text;
header: Schema.Attribute.String;
title: Schema.Attribute.String;
};
}
export interface YogaSiteHeaderB extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_header_bs';
info: {
description: '';
displayName: 'HeaderB';
};
attributes: {
description: Schema.Attribute.Text;
header1: Schema.Attribute.String;
header2: Schema.Attribute.String;
};
}
export interface YogaSiteOurServicesComponent extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_our_services_components';
info: {
description: '';
displayName: 'OurServicesComponent';
};
attributes: {
description: Schema.Attribute.Text;
header: Schema.Attribute.String;
title: Schema.Attribute.String;
};
}
export interface YogaSiteOurSpecialitiesComponent
extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_our_specialities_components';
info: {
description: '';
displayName: 'OurSpecialitiesComponent';
};
attributes: {
description: Schema.Attribute.Text;
header: Schema.Attribute.String;
specialityLeft1: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityLeft2: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityLeft3: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityLeft4: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight1: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight2: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight3: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight4: Schema.Attribute.Component<
'shared.title-description',
false
>;
title: Schema.Attribute.String;
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
@@ -82,6 +180,11 @@ declare module '@strapi/strapi' {
'shared.rich-text': SharedRichText;
'shared.seo': SharedSeo;
'shared.slider': SharedSlider;
'shared.title-description': SharedTitleDescription;
'yoga-site.about-us': YogaSiteAboutUs;
'yoga-site.header-b': YogaSiteHeaderB;
'yoga-site.our-services-component': YogaSiteOurServicesComponent;
'yoga-site.our-specialities-component': YogaSiteOurSpecialitiesComponent;
}
}
}

View File

@@ -380,17 +380,50 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
aboutUs: Schema.Attribute.Component<'yoga-site.about-us', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Blocks;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::about.about'> &
Schema.Attribute.Private;
header: Schema.Attribute.Component<'yoga-site.header-b', false> &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::about.about'>;
ourServices: Schema.Attribute.Component<
'yoga-site.our-services-component',
false
> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
ourSpecialities: Schema.Attribute.Component<
'yoga-site.our-specialities-component',
false
> &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
title: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;