blog component
This commit is contained in:
11
yoga-cms/types/generated/components.d.ts
vendored
11
yoga-cms/types/generated/components.d.ts
vendored
@@ -110,6 +110,16 @@ export interface YogaSiteOurServicesComponent extends Struct.ComponentSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface YogaSiteTag extends Struct.ComponentSchema {
|
||||
collectionName: 'components_yoga_site_tags';
|
||||
info: {
|
||||
displayName: 'tag';
|
||||
};
|
||||
attributes: {
|
||||
tag: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
declare module '@strapi/strapi' {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
@@ -122,6 +132,7 @@ declare module '@strapi/strapi' {
|
||||
'shared.title-description': SharedTitleDescription;
|
||||
'yoga-site.header-b': YogaSiteHeaderB;
|
||||
'yoga-site.our-services-component': YogaSiteOurServicesComponent;
|
||||
'yoga-site.tag': YogaSiteTag;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
107
yoga-cms/types/generated/contentTypes.d.ts
vendored
107
yoga-cms/types/generated/contentTypes.d.ts
vendored
@@ -390,6 +390,10 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
|
||||
'oneToOne',
|
||||
'api::yoga-about-us-component.yoga-about-us-component'
|
||||
>;
|
||||
blogs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||
>;
|
||||
contactUs: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'api::yoga-contact-us.yoga-contact-us'
|
||||
@@ -704,6 +708,78 @@ export interface ApiYogaAboutUsComponentYogaAboutUsComponent
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaBlogPostYogaBlogPost
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_blog_posts';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'YogaBlogPost';
|
||||
pluralName: 'yoga-blog-posts';
|
||||
singularName: 'yoga-blog-post';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
article: Schema.Attribute.RichText;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
header: Schema.Attribute.String;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-blog-post.yoga-blog-post'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
tags: Schema.Attribute.Relation<'oneToMany', 'api::yoga-tag.yoga-tag'>;
|
||||
teaserImage: Schema.Attribute.Media<
|
||||
'images' | 'files' | 'videos' | 'audios'
|
||||
>;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaBlogPostsComponentYogaBlogPostsComponent
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_blog_posts_components';
|
||||
info: {
|
||||
displayName: 'YogaBlogPostsComponent';
|
||||
pluralName: 'yoga-blog-posts-components';
|
||||
singularName: 'yoga-blog-posts-component';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
description: Schema.Attribute.Text;
|
||||
header: Schema.Attribute.String;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String;
|
||||
posts: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-blog-post.yoga-blog-post'
|
||||
>;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
title: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaContactUsYogaContactUs
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_contact_uses';
|
||||
@@ -1212,6 +1288,34 @@ export interface ApiYogaSpecialitiesComponentYogaSpecialitiesComponent
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiYogaTagYogaTag extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'yoga_tags';
|
||||
info: {
|
||||
displayName: 'YogaTag';
|
||||
pluralName: 'yoga-tags';
|
||||
singularName: 'yoga-tag';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
};
|
||||
attributes: {
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::yoga-tag.yoga-tag'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
tag: Schema.Attribute.String;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface PluginContentReleasesRelease
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'strapi_releases';
|
||||
@@ -1729,6 +1833,8 @@ declare module '@strapi/strapi' {
|
||||
'api::page.page': ApiPagePage;
|
||||
'api::person.person': ApiPersonPerson;
|
||||
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
|
||||
'api::yoga-blog-post.yoga-blog-post': ApiYogaBlogPostYogaBlogPost;
|
||||
'api::yoga-blog-posts-component.yoga-blog-posts-component': ApiYogaBlogPostsComponentYogaBlogPostsComponent;
|
||||
'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs;
|
||||
'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent;
|
||||
'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback;
|
||||
@@ -1738,6 +1844,7 @@ declare module '@strapi/strapi' {
|
||||
'api::yoga-single-service.yoga-single-service': ApiYogaSingleServiceYogaSingleService;
|
||||
'api::yoga-single-speciality.yoga-single-speciality': ApiYogaSingleSpecialityYogaSingleSpeciality;
|
||||
'api::yoga-specialities-component.yoga-specialities-component': ApiYogaSpecialitiesComponentYogaSpecialitiesComponent;
|
||||
'api::yoga-tag.yoga-tag': ApiYogaTagYogaTag;
|
||||
'plugin::content-releases.release': PluginContentReleasesRelease;
|
||||
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
||||
'plugin::i18n.locale': PluginI18NLocale;
|
||||
|
||||
Reference in New Issue
Block a user