strap about page custom query
This commit is contained in:
103
yoga-cms/types/generated/components.d.ts
vendored
103
yoga-cms/types/generated/components.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
45
yoga-cms/types/generated/contentTypes.d.ts
vendored
45
yoga-cms/types/generated/contentTypes.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user