blog component

This commit is contained in:
Schneider Roland
2025-01-20 22:21:03 +01:00
parent 1437ba2fe3
commit a068aeb375
38 changed files with 1679 additions and 44 deletions

View File

@@ -7,6 +7,7 @@ import { YogaSpecialitiesComponent } from './yoga-specialities-component';
import { YogaAboutUsComponent } from './yoga-about-us-component';
import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-component';
import { YogaOurServicesComponent } from './yoga-our-services-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaPriceComponent_Plain } from './yoga-price-component';
@@ -14,6 +15,7 @@ import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-component';
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
@@ -27,6 +29,7 @@ export interface About {
aboutUs?: { data: YogaAboutUsComponent };
feedbacks?: { data: YogaCustomerFeedbackComponent };
ourServices?: { data: YogaOurServicesComponent };
blogs?: { data: YogaBlogPostsComponent };
locale: string;
localizations?: { data: About[] };
};
@@ -40,6 +43,7 @@ export interface About_Plain {
aboutUs?: YogaAboutUsComponent_Plain;
feedbacks?: YogaCustomerFeedbackComponent_Plain;
ourServices?: YogaOurServicesComponent_Plain;
blogs?: YogaBlogPostsComponent_Plain;
locale: string;
localizations?: About_Plain[];
}
@@ -53,6 +57,7 @@ export interface About_NoRelations {
aboutUs?: number;
feedbacks?: number;
ourServices?: number;
blogs?: number;
locale: string;
localizations?: About[];
}
@@ -66,6 +71,7 @@ export interface About_AdminPanelLifeCycle {
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsComponent_Plain>;
feedbacks?: AdminPanelRelationPropertyModification<YogaCustomerFeedbackComponent_Plain>;
ourServices?: AdminPanelRelationPropertyModification<YogaOurServicesComponent_Plain>;
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
locale: string;
localizations?: About[];
}

View File

@@ -0,0 +1,44 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { YogaTag } from './yoga-tag';
import { Media_Plain } from '../components/shared/Media';
import { YogaTag_Plain } from './yoga-tag';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaBlogPost {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
header?: string;
teaserImage?: { data: Media };
article?: string;
tags: { data: YogaTag[] };
};
}
export interface YogaBlogPost_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
header?: string;
teaserImage?: Media_Plain;
article?: string;
tags: YogaTag_Plain[];
}
export interface YogaBlogPost_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
header?: string;
teaserImage?: number;
article?: string;
tags: number[];
}
export interface YogaBlogPost_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
header?: string;
teaserImage?: AdminPanelRelationPropertyModification<Media_Plain>;
article?: string;
tags: AdminPanelRelationPropertyModification<YogaTag_Plain>;
}

View File

@@ -0,0 +1,42 @@
// Interface automatically generated by schemas-to-ts
import { YogaBlogPost } from './yoga-blog-post';
import { YogaBlogPost_Plain } from './yoga-blog-post';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaBlogPostsComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
title?: string;
header?: string;
description?: string;
posts: { data: YogaBlogPost[] };
};
}
export interface YogaBlogPostsComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
title?: string;
header?: string;
description?: string;
posts: YogaBlogPost_Plain[];
}
export interface YogaBlogPostsComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
title?: string;
header?: string;
description?: string;
posts: number[];
}
export interface YogaBlogPostsComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
title?: string;
header?: string;
description?: string;
posts: AdminPanelRelationPropertyModification<YogaBlogPost_Plain>;
}

View File

@@ -0,0 +1,22 @@
// Interface automatically generated by schemas-to-ts
export interface YogaTag {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; tag?: string;
};
}
export interface YogaTag_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; tag?: string;
}
export interface YogaTag_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; tag?: string;
}
export interface YogaTag_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; tag?: string;
}

View File

@@ -0,0 +1,13 @@
// Interface automatically generated by schemas-to-ts
export interface Tag {
tag?: string;
}
export interface Tag_Plain {
tag?: string;
}
export interface Tag_NoRelations {
tag?: string;
}