1 Commits

Author SHA1 Message Date
Schneider Roland
56dda3233a [yoga-4] add new field: article 2025-05-20 07:46:17 +02:00
72 changed files with 63 additions and 823 deletions

View File

@@ -22,16 +22,3 @@ x
GET {{domain}}/api/yoga-blog-posts/wmhqy1n8japcfpy0of4hauwm GET {{domain}}/api/yoga-blog-posts/wmhqy1n8japcfpy0of4hauwm
Accept: application/json Accept: application/json
#Authorization: Bearer {{token}} #Authorization: Bearer {{token}}
### GET request with a header
GET {{domain}}/api/yoga-single-services?filters[name][$eq]=service4
Accept: application/json
### GET service page
GET {{domain}}/api/contact-page?fields[0]=*&populate[contactUs][fields][0]=*&populate[google_maps][fields][0]=*&populate[subscribe][fields][0]=*&populate[footer][fields][0]=*&populate[footer][populate][links][fields][0]=*&populate[footer][populate][contactUsEmail][fields][0]=*&populate[footer][populate][contactUsLocation][fields][0]=*&populate[footer][populate][contactUsPhoneNumber][fields][0]=*
Accept: application/json

5
dev.sh
View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
cd environment/dev/docker-compose/yogastic
docker compose up -d

View File

@@ -1 +1 @@
202505262234.f0f0a97 202505181151.77363d0

View File

@@ -9,4 +9,4 @@ echo "build image ${TAG} from folder ${PROJECT_ROOT}"
cd $PROJECT_ROOT cd $PROJECT_ROOT
docker build --build-arg NODE_ENV=production -t $TAG_INTERNAL -t $TAG_PUBLIC . docker build --build-arg NODE_ENV=production -t $TAG .

View File

@@ -6,5 +6,4 @@ echo "Reading version file: ${VERSION_FILE}"
export VERSION=$(cat "${VERSION_FILE}") export VERSION=$(cat "${VERSION_FILE}")
export TAG_PUBLIC=docker.rschneider.hu/infra/yoga-cms:$VERSION export TAG=docker.rschneider.hu/infra/yoga-cms:$VERSION
export TAG_INTERNAL=internal-docker.rschneider.hu/infra/yoga-cms:$VERSION

View File

@@ -3,7 +3,5 @@
CURRENT_DIR=$(dirname "$0") CURRENT_DIR=$(dirname "$0")
# push docker image # push docker image
source "${CURRENT_DIR}/build.docker.env.sh" source "${CURRENT_DIR}/build.docker.env.sh"
echo "push image ${TAG_INTERNAL}" echo "push image ${TAG}"
docker push $TAG_INTERNAL docker push $TAG
echo "push image ${TAG_PUBLIC}"
docker push $TAG_PUBLIC

View File

@@ -1 +1 @@
202505232026.6bb9365 202505180959.57552b3

View File

@@ -21,7 +21,7 @@ services:
networks: networks:
- yogastic - yogastic
app: app:
image: docker.rschneider.hu/infra/yoga-app:202505262234.f0f0a97 image: docker.rschneider.hu/infra/yoga-app:202505181151.77363d0
platform: linux/amd64 platform: linux/amd64
ports: ports:
- '4025:3000' - '4025:3000'
@@ -47,7 +47,7 @@ services:
- proxy_shared - proxy_shared
- yogastic - yogastic
cms: cms:
image: docker.rschneider.hu/infra/yoga-cms:202505232026.6bb9365 image: docker.rschneider.hu/infra/yoga-cms:202505180959.57552b3
ports: ports:
- '4026:1337' - '4026:1337'
environment: environment:
@@ -71,6 +71,7 @@ services:
- yogastic - yogastic
volumes: volumes:
- strapi-uploads:/opt/app/public/uploads - strapi-uploads:/opt/app/public/uploads
volumes: volumes:
next-db: {} next-db: {}
strapi-db: {} strapi-db: {}

View File

@@ -16,9 +16,9 @@ const eslintConfig = [
"next/core-web-vitals", "next/core-web-vitals",
"next/typescript", "next/typescript",
], ],
rules: { // rules: {
"@typescript-eslint/no-explicit-any": "off" // "@typescript-eslint/no-explicit-any": "off"
}, // },
} }
), ),
@@ -32,6 +32,6 @@ const eslintConfig = [
// } // }
]; ];
// console.info("eslint config",eslintConfig) console.info("eslint config",eslintConfig)
export default eslintConfig; export default eslintConfig;

View File

@@ -9,7 +9,6 @@
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^6.7.2", "@fortawesome/fontawesome-free": "^6.7.2",
"@strapi/blocks-react-renderer": "^1.0.2",
"@strapi/database": "^5.10.3", "@strapi/database": "^5.10.3",
"@types/aos": "^3.0.7", "@types/aos": "^3.0.7",
"@types/bcrypt": "^5.0.2", "@types/bcrypt": "^5.0.2",
@@ -1394,16 +1393,6 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/@strapi/blocks-react-renderer": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@strapi/blocks-react-renderer/-/blocks-react-renderer-1.0.2.tgz",
"integrity": "sha512-pRV/WMreo5wyrLg7J0pw1DM9lg8U8m+QA7Bd8CPN3beUBTdDhYrFTTNZh3XveEdnURZNJu1X0aWXAg4SzVg7QA==",
"hasInstallScript": true,
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
}
},
"node_modules/@strapi/database": { "node_modules/@strapi/database": {
"version": "5.10.3", "version": "5.10.3",
"resolved": "https://registry.npmjs.org/@strapi/database/-/database-5.10.3.tgz", "resolved": "https://registry.npmjs.org/@strapi/database/-/database-5.10.3.tgz",

View File

@@ -11,7 +11,6 @@
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^6.7.2", "@fortawesome/fontawesome-free": "^6.7.2",
"@strapi/blocks-react-renderer": "^1.0.2",
"@strapi/database": "^5.10.3", "@strapi/database": "^5.10.3",
"@types/aos": "^3.0.7", "@types/aos": "^3.0.7",
"@types/bcrypt": "^5.0.2", "@types/bcrypt": "^5.0.2",

View File

@@ -1,17 +1,8 @@
{ {
"populate": { "populate": {
"header": { "header": {
"fields": ["header1","description"] "fields": ["header1","description"]
}, },
"common": {
"fields": ["*"],
"populate": {
"logoImage": {
"fields": ["name","mime","url"]
}
}
},
"aboutUs": { "aboutUs": {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {

View File

@@ -1,14 +1,6 @@
{ {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {
"common": {
"fields": ["*"],
"populate": {
"logoImage": {
"fields": ["name","mime","url"]
}
}
},
"contactUs": { "contactUs": {
"fields": ["*"] "fields": ["*"]
}, },

View File

@@ -1,14 +1,6 @@
{ {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {
"common": {
"fields": ["*"],
"populate": {
"logoImage": {
"fields": ["name","mime","url"]
}
}
},
"questionsAndAnswers": { "questionsAndAnswers": {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {

View File

@@ -1,14 +1,6 @@
{ {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {
"common": {
"fields": ["*"],
"populate": {
"logoImage": {
"fields": ["name","mime","url"]
}
}
},
"price": { "price": {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {

View File

@@ -1,33 +0,0 @@
{
"fields": ["*"],
"populate": {
"common": {
"fields": ["*"],
"populate": {
"logoImage": {
"fields": ["name","mime","url"]
}
}
},
"subscribeNow": {
"fields": ["*"]
},
"footer": {
"fields": ["*"],
"populate": {
"links": {
"fields": ["*"]
},
"contactUsEmail": {
"fields": ["*"]
},
"contactUsLocation": {
"fields": ["*"]
},
"contactUsPhoneNumber": {
"fields": ["*"]
}
}
}
}
}

View File

@@ -1,14 +1,6 @@
{ {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {
"common": {
"fields": ["*"],
"populate": {
"logoImage": {
"fields": ["name","mime","url"]
}
}
},
"ourServices": { "ourServices": {
"fields": ["*"], "fields": ["*"],
"populate": { "populate": {

View File

@@ -4,7 +4,6 @@ import qs from "qs";
import aboutQuery from "@/api/strapi/query/about.json"; import aboutQuery from "@/api/strapi/query/about.json";
import homeQuery from "@/api/strapi/query/home.json"; import homeQuery from "@/api/strapi/query/home.json";
import servicesQuery from "@/api/strapi/query/services.json"; import servicesQuery from "@/api/strapi/query/services.json";
import serviceQuery from "@/api/strapi/query/service.json";
import pricesQuery from "@/api/strapi/query/prices.json"; import pricesQuery from "@/api/strapi/query/prices.json";
import faqQuery from "@/api/strapi/query/faq.json"; import faqQuery from "@/api/strapi/query/faq.json";
import contactQuery from "@/api/strapi/query/contact.json"; import contactQuery from "@/api/strapi/query/contact.json";
@@ -14,8 +13,6 @@ import {ServicesPage_Plain} from "@/types/generated-strapi-interfaces/api/servic
import {PricesPage_Plain} from "@/types/generated-strapi-interfaces/api/prices-page"; import {PricesPage_Plain} from "@/types/generated-strapi-interfaces/api/prices-page";
import {FaqPage_Plain} from "@/types/generated-strapi-interfaces/api/faq-page"; import {FaqPage_Plain} from "@/types/generated-strapi-interfaces/api/faq-page";
import {ContactPage_Plain} from "@/types/generated-strapi-interfaces/api/contact-page"; import {ContactPage_Plain} from "@/types/generated-strapi-interfaces/api/contact-page";
import {YogaSingleService_Plain} from "@/types/generated-strapi-interfaces/api/yoga-single-service";
import {ServicePage_Plain} from "@/types/generated-strapi-interfaces/api/service-page";
class StrapiApi{ class StrapiApi{
@@ -45,20 +42,6 @@ class StrapiApi{
return this.getJson("/api/services-page?",servicesQuery); return this.getJson("/api/services-page?",servicesQuery);
} }
public getServicePage(): Promise<ServicePage_Plain>{
return this.getJson("/api/service-page?",serviceQuery);
}
public getService(name: string): Promise<YogaSingleService_Plain[]>{
return this.getJson("/api/yoga-single-services?", {
filters: {
name: {
$eq: name,
},
},
});
}
public getPricesPage(): Promise<PricesPage_Plain>{ public getPricesPage(): Promise<PricesPage_Plain>{
return this.getJson("/api/prices-page?",pricesQuery); return this.getJson("/api/prices-page?",pricesQuery);
} }

View File

@@ -14,7 +14,6 @@ class StrapiClient{
return '/image/'+ imagePath; return '/image/'+ imagePath;
} }
public async httpGet(path: string){ public async httpGet(path: string){
console.info("httpGet", path);
return await httpClient.httpGet(this.strapiUrl + path); return await httpClient.httpGet(this.strapiUrl + path);
} }
public async httpGetJson<T>(url: string): Promise<Payload<T>>{ public async httpGetJson<T>(url: string): Promise<Payload<T>>{

View File

@@ -24,16 +24,13 @@ export default async function About() {
blogs, blogs,
subscribeNow, subscribeNow,
footer, footer,
common
} = pageData; } = pageData;
console.info("about us", JSON.stringify(aboutUs))
return ( return (
<> <>
{ header && <SubHeaderComponent header={header} common={common}/> } { header && <SubHeaderComponent header1={header?.header1} header2={header?.header2} description={header?.description}/> }
{ aboutUs && <AboutUsWithBoxesComponent config={aboutUs}/>} { aboutUs && <AboutUsWithBoxesComponent config={aboutUs}/>}
{ discount && <YogaDiscountComponent config={discount}/>} { discount && <YogaDiscountComponent config={discount}/>}

View File

@@ -16,12 +16,11 @@ export default async function ContactPage(){
contactUs, contactUs,
google_maps, google_maps,
subscribe, subscribe,
footer, footer
common
} = await strapiApi.getContactPage(); } = await strapiApi.getContactPage();
return ( return (
<> <>
{ <SubHeaderComponent header={{header1:header,description}} common={common}/> } { <SubHeaderComponent header1={header} description={description} /> }
{ contactUs && <ContactUsComponent contactUs={contactUs} /> } { contactUs && <ContactUsComponent contactUs={contactUs} /> }
{ google_maps && <GoogleMapsComponent config={google_maps} /> } { google_maps && <GoogleMapsComponent config={google_maps} /> }
{ subscribe && <SubscribeComponent config={subscribe} styleClass={"contact_subscribe_section"} /> } { subscribe && <SubscribeComponent config={subscribe} styleClass={"contact_subscribe_section"} /> }

View File

@@ -15,12 +15,11 @@ export default async function About() {
questionsAndAnswers, questionsAndAnswers,
blogs, blogs,
subscribe, subscribe,
footer, footer
common
} = await strapiApi.getFaqPage(); } = await strapiApi.getFaqPage();
return ( return (
<> <>xxxxx
{ <SubHeaderComponent header={{header1:header,description}} common={common}/> } { <SubHeaderComponent header1={header} description={description} /> }
{ questionsAndAnswers && <FaqComponent config={questionsAndAnswers} /> } { questionsAndAnswers && <FaqComponent config={questionsAndAnswers} /> }
{ blogs && <BlogPostsComponent config={blogs} /> } { blogs && <BlogPostsComponent config={blogs} /> }
{ subscribe && <SubscribeComponent config={subscribe} /> } { subscribe && <SubscribeComponent config={subscribe} /> }

View File

@@ -16,6 +16,8 @@ import webApi from "@/api/web-client/web-api";
export default async function Home() { export default async function Home() {
const pageData = await webApi.getHomePage(); const pageData = await webApi.getHomePage();
console.info(JSON.stringify(pageData))
const { const {
header, header,
ourServices, ourServices,

View File

@@ -21,12 +21,11 @@ export default async function PricesPage( ) {
discount, discount,
blogs, blogs,
subscribe, subscribe,
footer, footer
common
} = await strapiApi.getPricesPage(); } = await strapiApi.getPricesPage();
return ( return (
<> <>
<SubHeaderComponent header={{header1:header,description}} common={common}/> <SubHeaderComponent header1={header} description={description}/>
{ price && <PricingComponent config={price}/> } { price && <PricingComponent config={price}/> }
{ discount && <YogaDiscountComponent config={discount} /> } { discount && <YogaDiscountComponent config={discount} /> }
{ blogs && <BlogPostsComponent config={blogs} /> } { blogs && <BlogPostsComponent config={blogs} /> }

View File

@@ -1,11 +0,0 @@
import Link from 'next/link'
export default function NotFound() {
return (
<div>
<h2>Nem található</h2>
<p>Could not find requested resource</p>
<Link href="/">Vissza a kezdőoldalra</Link>
</div>
)
}

View File

@@ -1,3 +0,0 @@
.article h1{
color: black;
}

View File

@@ -1,69 +1,6 @@
import React from "react";
import strapiApi from "@/api/strapi/strapi-api";
import {BlocksContent} from "@strapi/blocks-react-renderer";
import SubscribeComponent from "@/components/subscribe.component";
import FooterComponent from "@/components/footer.component";
import SubHeaderComponent from "@/components/subHeader.component";
import AosComponent from "@/components/aos.component";
import styles from './page.module.css'
import NextBlocksRenderer from "@/components/next.blocks.renderer";
import clsx from "clsx";
import {notFound} from "next/navigation";
const rewriteStrapiImageUrlToNextImageUrl = (content: BlocksContent) =>{
console.info("content", content);
for(const item of content){
if ( item.type == 'image'){
const imageData = item.image;
const url = new URL(imageData.url);
imageData.url = strapiApi.getImageUrl(url.pathname);
}
}
return content;
}
export default async function ServiceArticlePage({params}: {
params: Promise<{ slug: string }>
}) {
const {slug} = await params
const servicePage = await strapiApi.getServicePage();
if (!servicePage) {
return notFound()
}
const {subscribeNow, footer, common} = servicePage;
const servicesByName = await strapiApi.getService(slug);
if (!servicesByName || servicesByName.length === 0) {
return notFound();
}
const selectedService = servicesByName[0];
if ( !selectedService?.article?.length ) {
return notFound();
}
const article: BlocksContent = rewriteStrapiImageUrlToNextImageUrl( selectedService.article);
export default async function ServiceDetails() {
return ( return (
<> <h1>hello </h1>
{selectedService && selectedService.header && selectedService.description && )
<SubHeaderComponent header={{header1:selectedService.header, description: selectedService.description}} common={common}/>}
<section className={clsx( styles.article, 'mb-3')}>
<div className="container">
<div className={"row"}>
<div className={"col-lg-12 col-md-12 col-sm-12 col-xs-12"}>
<NextBlocksRenderer
content={article as BlocksContent}
/>
</div>
</div>
</div>
</section>
{subscribeNow && <SubscribeComponent config={subscribeNow}/>}
{footer && <FooterComponent config={footer}/>}
<AosComponent/>
</>
);
} }
export const dynamic = 'force-dynamic'

View File

@@ -20,12 +20,11 @@ export default async function Services() {
feedbacks, feedbacks,
blogs, blogs,
footer, footer,
subscribe, subscribe
common
} = await strapiApi.getServicesPage(); } = await strapiApi.getServicesPage();
return ( return (
<> <>
<SubHeaderComponent header={{header1:header,description}} common={common}/> {header && description && <SubHeaderComponent header1={header} description={description} />}
{ ourServices && <OurServicesComponent config={ourServices} /> } { ourServices && <OurServicesComponent config={ourServices} /> }
{ contactUs && <ContactUsComponent contactUs={contactUs} />} { contactUs && <ContactUsComponent contactUs={contactUs} />}
{ ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> } { ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> }

View File

@@ -2,8 +2,6 @@ import YogaImageComponent from "@/components/yoga.image.component";
import {YogaMainHeaderComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-main-header-component"; import {YogaMainHeaderComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-main-header-component";
import {MAIN_MENU} from "@/util/const"; import {MAIN_MENU} from "@/util/const";
import Nav from "@/components/nav.component"; import Nav from "@/components/nav.component";
import {StrapiFile} from "@/types/types";
import strapiApi from "@/api/strapi/strapi-api";
export interface Props{ export interface Props{
config: YogaMainHeaderComponent_Plain config: YogaMainHeaderComponent_Plain
} }
@@ -12,18 +10,14 @@ const MainHeaderComponent = ({ config: {
header, header,
description, description,
button, button,
headerIType, headerIType
image
}}: Props) => { }}: Props) => {
const imageFile: StrapiFile = image as StrapiFile;
const imageSrc = imageFile ? strapiApi.getImageUrl(imageFile?.url): undefined;
return ( return (
<div className="banner-section-outer"> <div className="banner-section-outer">
<header> <header>
<Nav menuItems={MAIN_MENU} imageSrc={imageSrc} /> <Nav menuItems={MAIN_MENU} />
</header> </header>
{/*<!-- SOCIAL ICONS -->*/} {/*<!-- SOCIAL ICONS -->*/}
<div className="social-icons left_icons float-left d-table" data-aos="fade-down"> <div className="social-icons left_icons float-left d-table" data-aos="fade-down">

View File

@@ -13,10 +13,11 @@ export interface MenuItem{
} }
export interface Props{ export interface Props{
menuItems: MenuItem[]; menuItems: MenuItem[];
imageSrc?: string;
} }
const Nav: FC<Props> = ({menuItems, imageSrc}:Props) => { const Nav: FC<Props> = ({menuItems}:Props) => {
return ( return (
<header> <header>
@@ -24,7 +25,7 @@ const Nav: FC<Props> = ({menuItems, imageSrc}:Props) => {
<div className="container-fluid"> <div className="container-fluid">
<nav className="navbar navbar-expand-lg navbar-light p-0"> <nav className="navbar navbar-expand-lg navbar-light p-0">
<Link className="navbar-brand" href="/"> <Link className="navbar-brand" href="/">
<figure className="mb-0"> {imageSrc && <YogaImageComponent src={imageSrc} alt=""/>} <figure className="mb-0"><YogaImageComponent src="/assets/images/yogastic_logo.png" alt=""/>
</figure> </figure>
</Link> </Link>
<button className="navbar-toggler collapsed" type="button" data-toggle="collapse" <button className="navbar-toggler collapsed" type="button" data-toggle="collapse"

View File

@@ -1,28 +0,0 @@
'use client';
import {BlocksContent, BlocksRenderer} from "@strapi/blocks-react-renderer";
import React from "react";
import YogaImageComponent from "@/components/yoga.image.component";
export interface Props{
content: BlocksContent;
}
const NextBlocksRenderer = ({ content }: Props) => {
return (
<BlocksRenderer
content={content}
blocks={{
image: ({image}) => {
return (
<YogaImageComponent
src={image.url}
// width={image.width}
// height={image.height}
alt={image.alternativeText || ""}
/>
);
}
}}
/>);
}
export default NextBlocksRenderer;

View File

@@ -3,18 +3,13 @@ import {YogaSingleService_Plain} from "@/types/generated-strapi-interfaces/api/y
import {StrapiFile} from "@/types/types"; import {StrapiFile} from "@/types/types";
import strapiApi from "@/api/strapi/strapi-api"; import strapiApi from "@/api/strapi/strapi-api";
import styles from './our.services.item.component.module.css' import styles from './our.services.item.component.module.css'
import Link from "next/link";
export interface Props { export interface Props {
config: YogaSingleService_Plain config: YogaSingleService_Plain
} }
const OurServiceItemComponent = ({config: {header,description,image,name}}: Props) => { const OurServiceItemComponent = ({config: {header,description,image}}: Props) => {
const imageFile: StrapiFile = image as StrapiFile; const imageFile: StrapiFile = image as StrapiFile;
if (!imageFile || !imageFile.url) {
return null
}
const path = '/services/' + name;
return ( return (
<div className={styles.serviceSlide}> <div className={styles.serviceSlide}>
@@ -22,15 +17,15 @@ const OurServiceItemComponent = ({config: {header,description,image,name}}: Prop
<div className="services_box_content"> <div className="services_box_content">
<div className="services_box_upper_portion"> <div className="services_box_upper_portion">
<figure className="mb-0"> <figure className="mb-0">
<YogaImageComponent src={strapiApi.getImageUrl(imageFile.url)} alt="" className="img-fluid"/> <YogaImageComponent src={strapiApi.getImageUrl(imageFile?.url)} alt="" className="img-fluid"/>
</figure> </figure>
</div> </div>
<div className="services_box_lower_portion"> <div className="services_box_lower_portion">
<h3>{header}</h3> <h3>{header}</h3>
<p>{description}</p> <p>{description}</p>
<div className="btn_wrapper"> <div className="btn_wrapper">
<Link href={path} className="text-decoration-none"><i <a href="/services" className="text-decoration-none"><i
className="fa-solid fa-arrow-right" aria-hidden="true"></i></Link> className="fa-solid fa-arrow-right" aria-hidden="true"></i></a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -7,7 +7,7 @@ export interface Props{
config: YogaPrice_Plain config: YogaPrice_Plain
} }
export function PriceItemComponent({config: {header, description, option1,option2,price,pricePostfix, icon, image,buttonText}} : Props){ export function PriceItemComponent({config: {header,option1,option2,price,icon, image,buttonText}} : Props){
// there are some issues with the strapi generated types // there are some issues with the strapi generated types
const iconFile: StrapiFile = icon as StrapiFile; const iconFile: StrapiFile = icon as StrapiFile;
const imageFile: StrapiFile = image as StrapiFile; const imageFile: StrapiFile = image as StrapiFile;
@@ -28,7 +28,6 @@ export function PriceItemComponent({config: {header, description, option1,option
</div> </div>
<div className="pricing_plans_box_lower_portion"> <div className="pricing_plans_box_lower_portion">
<h3>{header}</h3> <h3>{header}</h3>
<p className={'text-center'}>{description}</p>
<ul className="list-unstyled"> <ul className="list-unstyled">
<li> <li>
<i className="fa-solid fa-check" aria-hidden="true"></i>{option1} <i className="fa-solid fa-check" aria-hidden="true"></i>{option1}
@@ -39,7 +38,7 @@ export function PriceItemComponent({config: {header, description, option1,option
</ul> </ul>
<div className="pricing_plans_span_wrapper"> <div className="pricing_plans_span_wrapper">
<span className="price">{price} FT</span> <span className="price">{price} FT</span>
{ pricePostfix && <span className="per_month">{pricePostfix}</span> } <span className="per_month">/per month</span>
</div> </div>
<div className="btn_wrapper"> <div className="btn_wrapper">
<a className="enroll_now_btn text-decoration-none" href="/pricing.html">{buttonText}</a> <a className="enroll_now_btn text-decoration-none" href="/pricing.html">{buttonText}</a>

View File

@@ -3,33 +3,14 @@ import Nav from "@/components/nav.component";
import {MAIN_MENU} from "@/util/const"; import {MAIN_MENU} from "@/util/const";
import {HeaderB} from "@/types/generated-strapi-interfaces/components/yoga-site/HeaderB"; import {HeaderB} from "@/types/generated-strapi-interfaces/components/yoga-site/HeaderB";
import NextBreadcrumb from "@/components/breadcrumbs.component"; import NextBreadcrumb from "@/components/breadcrumbs.component";
import {YogaCommon_Plain} from "@/types/generated-strapi-interfaces/api/yoga-common";
import strapiApi from "@/api/strapi/strapi-api";
import {StrapiFile} from "@/types/types";
export type Props = { export type Props = HeaderB ;
header: HeaderB,
common?: YogaCommon_Plain
} ;
const SubHeaderComponent = ( {
header:{ header1,description},common }: Props) =>{
let logoImageSrc: string|undefined = undefined;
const logoImage = common && common.logoImage;
if ( logoImage ){
const logoImageFile: StrapiFile = logoImage as StrapiFile;
logoImageSrc = strapiApi.getImageUrl(logoImageFile?.url) ;
}
console.info("image", logoImageSrc);
const SubHeaderComponent = ({header1,description}: Props) =>{
return ( return (
<div className="sub-banner-section"> <div className="sub-banner-section">
<Nav menuItems={MAIN_MENU} imageSrc={logoImageSrc} /> <Nav menuItems={MAIN_MENU} />
<section className="banner-section"> <section className="banner-section">
<div className="container"> <div className="container">
<div className="row"> <div className="row">
@@ -61,6 +42,3 @@ const SubHeaderComponent = ( {
} }
export default SubHeaderComponent; export default SubHeaderComponent;
export const dynamic = 'force-dynamic'

View File

@@ -8,7 +8,6 @@ import { YogaAboutUsWithBoxesComponent } from './yoga-about-us-with-boxes-compon
import { YogaDiscountComponent } from './yoga-discount-component'; import { YogaDiscountComponent } from './yoga-discount-component';
import { YogaTextWithImageComponent } from './yoga-text-with-image-component'; import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
import { YogaAchivementsComponent } from './yoga-achivements-component'; import { YogaAchivementsComponent } from './yoga-achivements-component';
import { YogaCommon } from './yoga-common';
import { HeaderB_Plain } from '../components/yoga-site/HeaderB'; import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
@@ -17,7 +16,6 @@ import { YogaAboutUsWithBoxesComponent_Plain } from './yoga-about-us-with-boxes-
import { YogaDiscountComponent_Plain } from './yoga-discount-component'; import { YogaDiscountComponent_Plain } from './yoga-discount-component';
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component'; import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component'; import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
import { YogaCommon_Plain } from './yoga-common';
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB'; import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
@@ -33,7 +31,6 @@ export interface About {
ourMission?: { data: YogaTextWithImageComponent }; ourMission?: { data: YogaTextWithImageComponent };
ourVision?: { data: YogaTextWithImageComponent }; ourVision?: { data: YogaTextWithImageComponent };
achievements?: { data: YogaAchivementsComponent }; achievements?: { data: YogaAchivementsComponent };
common?: { data: YogaCommon };
locale: string; locale: string;
localizations?: { data: About[] }; localizations?: { data: About[] };
}; };
@@ -49,7 +46,6 @@ export interface About_Plain {
ourMission?: YogaTextWithImageComponent_Plain; ourMission?: YogaTextWithImageComponent_Plain;
ourVision?: YogaTextWithImageComponent_Plain; ourVision?: YogaTextWithImageComponent_Plain;
achievements?: YogaAchivementsComponent_Plain; achievements?: YogaAchivementsComponent_Plain;
common?: YogaCommon_Plain;
locale: string; locale: string;
localizations?: About_Plain[]; localizations?: About_Plain[];
} }
@@ -65,7 +61,6 @@ export interface About_NoRelations {
ourMission?: number; ourMission?: number;
ourVision?: number; ourVision?: number;
achievements?: number; achievements?: number;
common?: number;
locale: string; locale: string;
localizations?: About[]; localizations?: About[];
} }
@@ -81,7 +76,6 @@ export interface About_AdminPanelLifeCycle {
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>; ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>; ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>; achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
locale: string; locale: string;
localizations?: About[]; localizations?: About[];
} }

View File

@@ -17,7 +17,7 @@ export interface Article {
cover?: { data: Media }; cover?: { data: Media };
author?: { data: Author }; author?: { data: Author };
category?: { data: Category }; category?: { data: Category };
blocks?: any; blocks?: object;
}; };
} }
export interface Article_Plain { export interface Article_Plain {
@@ -28,7 +28,7 @@ export interface Article_Plain {
cover?: Media_Plain; cover?: Media_Plain;
author?: Author_Plain; author?: Author_Plain;
category?: Category_Plain; category?: Category_Plain;
blocks?: any; blocks?: object;
} }
export interface Article_NoRelations { export interface Article_NoRelations {
@@ -39,7 +39,7 @@ export interface Article_NoRelations {
cover?: number; cover?: number;
author?: number; author?: number;
category?: number; category?: number;
blocks?: any; blocks?: object;
} }
export interface Article_AdminPanelLifeCycle { export interface Article_AdminPanelLifeCycle {
@@ -50,5 +50,5 @@ export interface Article_AdminPanelLifeCycle {
cover?: AdminPanelRelationPropertyModification<Media_Plain>; cover?: AdminPanelRelationPropertyModification<Media_Plain>;
author?: AdminPanelRelationPropertyModification<Author_Plain>; author?: AdminPanelRelationPropertyModification<Author_Plain>;
category?: AdminPanelRelationPropertyModification<Category_Plain>; category?: AdminPanelRelationPropertyModification<Category_Plain>;
blocks?: any; blocks?: object;
} }

View File

@@ -4,12 +4,10 @@ import { YogaContactUs } from './yoga-contact-us';
import { YogaGoogleMapsComponent } from './yoga-google-maps-component'; import { YogaGoogleMapsComponent } from './yoga-google-maps-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaContactUs_Plain } from './yoga-contact-us'; import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component'; import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface ContactPage { export interface ContactPage {
@@ -21,7 +19,6 @@ export interface ContactPage {
google_maps?: { data: YogaGoogleMapsComponent }; google_maps?: { data: YogaGoogleMapsComponent };
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
common?: { data: YogaCommon };
}; };
} }
export interface ContactPage_Plain { export interface ContactPage_Plain {
@@ -32,7 +29,6 @@ export interface ContactPage_Plain {
google_maps?: YogaGoogleMapsComponent_Plain; google_maps?: YogaGoogleMapsComponent_Plain;
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
} }
export interface ContactPage_NoRelations { export interface ContactPage_NoRelations {
@@ -43,7 +39,6 @@ export interface ContactPage_NoRelations {
google_maps?: number; google_maps?: number;
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
common?: number;
} }
export interface ContactPage_AdminPanelLifeCycle { export interface ContactPage_AdminPanelLifeCycle {
@@ -54,5 +49,4 @@ export interface ContactPage_AdminPanelLifeCycle {
google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>; google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>;
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -5,13 +5,11 @@ import { YogaAchivementsComponent } from './yoga-achivements-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaFaqComponent_Plain } from './yoga-faq-component'; import { YogaFaqComponent_Plain } from './yoga-faq-component';
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component'; import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface FaqPage { export interface FaqPage {
@@ -24,7 +22,6 @@ export interface FaqPage {
blogs?: { data: YogaBlogPostsComponent }; blogs?: { data: YogaBlogPostsComponent };
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
common?: { data: YogaCommon };
}; };
} }
export interface FaqPage_Plain { export interface FaqPage_Plain {
@@ -36,7 +33,6 @@ export interface FaqPage_Plain {
blogs?: YogaBlogPostsComponent_Plain; blogs?: YogaBlogPostsComponent_Plain;
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
} }
export interface FaqPage_NoRelations { export interface FaqPage_NoRelations {
@@ -48,7 +44,6 @@ export interface FaqPage_NoRelations {
blogs?: number; blogs?: number;
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
common?: number;
} }
export interface FaqPage_AdminPanelLifeCycle { export interface FaqPage_AdminPanelLifeCycle {
@@ -60,5 +55,4 @@ export interface FaqPage_AdminPanelLifeCycle {
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>; blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -14,7 +14,6 @@ export interface Global {
favicon?: { data: Media }; favicon?: { data: Media };
siteDescription: string; siteDescription: string;
defaultSeo?: Seo; defaultSeo?: Seo;
logoImage?: { data: Media };
}; };
} }
export interface Global_Plain { export interface Global_Plain {
@@ -23,7 +22,6 @@ export interface Global_Plain {
favicon?: Media_Plain; favicon?: Media_Plain;
siteDescription: string; siteDescription: string;
defaultSeo?: Seo_Plain; defaultSeo?: Seo_Plain;
logoImage?: Media_Plain;
} }
export interface Global_NoRelations { export interface Global_NoRelations {
@@ -32,7 +30,6 @@ export interface Global_NoRelations {
favicon?: number; favicon?: number;
siteDescription: string; siteDescription: string;
defaultSeo?: Seo_NoRelations; defaultSeo?: Seo_NoRelations;
logoImage?: number;
} }
export interface Global_AdminPanelLifeCycle { export interface Global_AdminPanelLifeCycle {
@@ -41,5 +38,4 @@ export interface Global_AdminPanelLifeCycle {
favicon?: AdminPanelRelationPropertyModification<Media_Plain>; favicon?: AdminPanelRelationPropertyModification<Media_Plain>;
siteDescription: string; siteDescription: string;
defaultSeo?: Seo_Plain; defaultSeo?: Seo_Plain;
logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
} }

View File

@@ -5,13 +5,11 @@ import { YogaDiscountComponent } from './yoga-discount-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaPriceComponent_Plain } from './yoga-price-component'; import { YogaPriceComponent_Plain } from './yoga-price-component';
import { YogaDiscountComponent_Plain } from './yoga-discount-component'; import { YogaDiscountComponent_Plain } from './yoga-discount-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface PricesPage { export interface PricesPage {
@@ -24,7 +22,6 @@ export interface PricesPage {
blogs?: { data: YogaBlogPostsComponent }; blogs?: { data: YogaBlogPostsComponent };
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
common?: { data: YogaCommon };
}; };
} }
export interface PricesPage_Plain { export interface PricesPage_Plain {
@@ -36,7 +33,6 @@ export interface PricesPage_Plain {
blogs?: YogaBlogPostsComponent_Plain; blogs?: YogaBlogPostsComponent_Plain;
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
} }
export interface PricesPage_NoRelations { export interface PricesPage_NoRelations {
@@ -48,7 +44,6 @@ export interface PricesPage_NoRelations {
blogs?: number; blogs?: number;
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
common?: number;
} }
export interface PricesPage_AdminPanelLifeCycle { export interface PricesPage_AdminPanelLifeCycle {
@@ -60,5 +55,4 @@ export interface PricesPage_AdminPanelLifeCycle {
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>; blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -1,46 +0,0 @@
// Interface automatically generated by schemas-to-ts
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface ServicePage {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter };
common?: { data: YogaCommon };
};
}
export interface ServicePage_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
}
export interface ServicePage_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: number;
footer?: number;
common?: number;
}
export interface ServicePage_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
}

View File

@@ -7,7 +7,6 @@ import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-componen
import { YogaBlogPostsComponent } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component'; import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
import { YogaContactUs_Plain } from './yoga-contact-us'; import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component'; import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
@@ -15,7 +14,6 @@ import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-co
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface ServicesPage { export interface ServicesPage {
@@ -31,7 +29,6 @@ export interface ServicesPage {
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
title?: string; title?: string;
common?: { data: YogaCommon };
}; };
} }
export interface ServicesPage_Plain { export interface ServicesPage_Plain {
@@ -46,7 +43,6 @@ export interface ServicesPage_Plain {
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
title?: string; title?: string;
common?: YogaCommon_Plain;
} }
export interface ServicesPage_NoRelations { export interface ServicesPage_NoRelations {
@@ -61,7 +57,6 @@ export interface ServicesPage_NoRelations {
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
title?: string; title?: string;
common?: number;
} }
export interface ServicesPage_AdminPanelLifeCycle { export interface ServicesPage_AdminPanelLifeCycle {
@@ -76,5 +71,4 @@ export interface ServicesPage_AdminPanelLifeCycle {
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
title?: string; title?: string;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -1,26 +0,0 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Media_Plain } from '../components/shared/Media';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaCommon {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: { data: Media };
};
}
export interface YogaCommon_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: Media_Plain;
}
export interface YogaCommon_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: number;
}
export interface YogaCommon_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
}

View File

@@ -14,8 +14,6 @@ export interface YogaPrice {
price?: number; price?: number;
icon?: { data: Media }; icon?: { data: Media };
image?: { data: Media }; image?: { data: Media };
pricePostfix?: string;
description?: string;
}; };
} }
export interface YogaPrice_Plain { export interface YogaPrice_Plain {
@@ -27,8 +25,6 @@ export interface YogaPrice_Plain {
price?: number; price?: number;
icon?: Media_Plain; icon?: Media_Plain;
image?: Media_Plain; image?: Media_Plain;
pricePostfix?: string;
description?: string;
} }
export interface YogaPrice_NoRelations { export interface YogaPrice_NoRelations {
@@ -40,8 +36,6 @@ export interface YogaPrice_NoRelations {
price?: number; price?: number;
icon?: number; icon?: number;
image?: number; image?: number;
pricePostfix?: string;
description?: string;
} }
export interface YogaPrice_AdminPanelLifeCycle { export interface YogaPrice_AdminPanelLifeCycle {
@@ -53,6 +47,4 @@ export interface YogaPrice_AdminPanelLifeCycle {
price?: number; price?: number;
icon?: AdminPanelRelationPropertyModification<Media_Plain>; icon?: AdminPanelRelationPropertyModification<Media_Plain>;
image?: AdminPanelRelationPropertyModification<Media_Plain>; image?: AdminPanelRelationPropertyModification<Media_Plain>;
pricePostfix?: string;
description?: string;
} }

View File

@@ -13,7 +13,6 @@ export interface YogaSingleService {
image?: { data: Media }; image?: { data: Media };
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any;
locale: string; locale: string;
localizations?: { data: YogaSingleService[] }; localizations?: { data: YogaSingleService[] };
}; };
@@ -26,7 +25,6 @@ export interface YogaSingleService_Plain {
image?: Media_Plain; image?: Media_Plain;
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any;
locale: string; locale: string;
localizations?: YogaSingleService_Plain[]; localizations?: YogaSingleService_Plain[];
} }
@@ -39,7 +37,6 @@ export interface YogaSingleService_NoRelations {
image?: number; image?: number;
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any;
locale: string; locale: string;
localizations?: YogaSingleService[]; localizations?: YogaSingleService[];
} }
@@ -52,7 +49,6 @@ export interface YogaSingleService_AdminPanelLifeCycle {
image?: AdminPanelRelationPropertyModification<Media_Plain>; image?: AdminPanelRelationPropertyModification<Media_Plain>;
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any;
locale: string; locale: string;
localizations?: YogaSingleService[]; localizations?: YogaSingleService[];
} }

View File

@@ -8,7 +8,6 @@ import { YogaAboutUsWithBoxesComponent } from './yoga-about-us-with-boxes-compon
import { YogaDiscountComponent } from './yoga-discount-component'; import { YogaDiscountComponent } from './yoga-discount-component';
import { YogaTextWithImageComponent } from './yoga-text-with-image-component'; import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
import { YogaAchivementsComponent } from './yoga-achivements-component'; import { YogaAchivementsComponent } from './yoga-achivements-component';
import { YogaCommon } from './yoga-common';
import { HeaderB_Plain } from '../components/yoga-site/HeaderB'; import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
@@ -17,7 +16,6 @@ import { YogaAboutUsWithBoxesComponent_Plain } from './yoga-about-us-with-boxes-
import { YogaDiscountComponent_Plain } from './yoga-discount-component'; import { YogaDiscountComponent_Plain } from './yoga-discount-component';
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component'; import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component'; import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
import { YogaCommon_Plain } from './yoga-common';
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB'; import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
@@ -33,7 +31,6 @@ export interface About {
ourMission?: { data: YogaTextWithImageComponent }; ourMission?: { data: YogaTextWithImageComponent };
ourVision?: { data: YogaTextWithImageComponent }; ourVision?: { data: YogaTextWithImageComponent };
achievements?: { data: YogaAchivementsComponent }; achievements?: { data: YogaAchivementsComponent };
common?: { data: YogaCommon };
locale: string; locale: string;
localizations?: { data: About[] }; localizations?: { data: About[] };
}; };
@@ -49,7 +46,6 @@ export interface About_Plain {
ourMission?: YogaTextWithImageComponent_Plain; ourMission?: YogaTextWithImageComponent_Plain;
ourVision?: YogaTextWithImageComponent_Plain; ourVision?: YogaTextWithImageComponent_Plain;
achievements?: YogaAchivementsComponent_Plain; achievements?: YogaAchivementsComponent_Plain;
common?: YogaCommon_Plain;
locale: string; locale: string;
localizations?: About_Plain[]; localizations?: About_Plain[];
} }
@@ -65,7 +61,6 @@ export interface About_NoRelations {
ourMission?: number; ourMission?: number;
ourVision?: number; ourVision?: number;
achievements?: number; achievements?: number;
common?: number;
locale: string; locale: string;
localizations?: About[]; localizations?: About[];
} }
@@ -81,7 +76,6 @@ export interface About_AdminPanelLifeCycle {
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>; ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>; ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>; achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
locale: string; locale: string;
localizations?: About[]; localizations?: About[];
} }

View File

@@ -4,12 +4,10 @@ import { YogaContactUs } from './yoga-contact-us';
import { YogaGoogleMapsComponent } from './yoga-google-maps-component'; import { YogaGoogleMapsComponent } from './yoga-google-maps-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaContactUs_Plain } from './yoga-contact-us'; import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component'; import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface ContactPage { export interface ContactPage {
@@ -21,7 +19,6 @@ export interface ContactPage {
google_maps?: { data: YogaGoogleMapsComponent }; google_maps?: { data: YogaGoogleMapsComponent };
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
common?: { data: YogaCommon };
}; };
} }
export interface ContactPage_Plain { export interface ContactPage_Plain {
@@ -32,7 +29,6 @@ export interface ContactPage_Plain {
google_maps?: YogaGoogleMapsComponent_Plain; google_maps?: YogaGoogleMapsComponent_Plain;
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
} }
export interface ContactPage_NoRelations { export interface ContactPage_NoRelations {
@@ -43,7 +39,6 @@ export interface ContactPage_NoRelations {
google_maps?: number; google_maps?: number;
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
common?: number;
} }
export interface ContactPage_AdminPanelLifeCycle { export interface ContactPage_AdminPanelLifeCycle {
@@ -54,5 +49,4 @@ export interface ContactPage_AdminPanelLifeCycle {
google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>; google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>;
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -5,13 +5,11 @@ import { YogaAchivementsComponent } from './yoga-achivements-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaFaqComponent_Plain } from './yoga-faq-component'; import { YogaFaqComponent_Plain } from './yoga-faq-component';
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component'; import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface FaqPage { export interface FaqPage {
@@ -24,7 +22,6 @@ export interface FaqPage {
blogs?: { data: YogaBlogPostsComponent }; blogs?: { data: YogaBlogPostsComponent };
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
common?: { data: YogaCommon };
}; };
} }
export interface FaqPage_Plain { export interface FaqPage_Plain {
@@ -36,7 +33,6 @@ export interface FaqPage_Plain {
blogs?: YogaBlogPostsComponent_Plain; blogs?: YogaBlogPostsComponent_Plain;
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
} }
export interface FaqPage_NoRelations { export interface FaqPage_NoRelations {
@@ -48,7 +44,6 @@ export interface FaqPage_NoRelations {
blogs?: number; blogs?: number;
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
common?: number;
} }
export interface FaqPage_AdminPanelLifeCycle { export interface FaqPage_AdminPanelLifeCycle {
@@ -60,5 +55,4 @@ export interface FaqPage_AdminPanelLifeCycle {
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>; blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -14,7 +14,6 @@ export interface Global {
favicon?: { data: Media }; favicon?: { data: Media };
siteDescription: string; siteDescription: string;
defaultSeo?: Seo; defaultSeo?: Seo;
logoImage?: { data: Media };
}; };
} }
export interface Global_Plain { export interface Global_Plain {
@@ -23,7 +22,6 @@ export interface Global_Plain {
favicon?: Media_Plain; favicon?: Media_Plain;
siteDescription: string; siteDescription: string;
defaultSeo?: Seo_Plain; defaultSeo?: Seo_Plain;
logoImage?: Media_Plain;
} }
export interface Global_NoRelations { export interface Global_NoRelations {
@@ -32,7 +30,6 @@ export interface Global_NoRelations {
favicon?: number; favicon?: number;
siteDescription: string; siteDescription: string;
defaultSeo?: Seo_NoRelations; defaultSeo?: Seo_NoRelations;
logoImage?: number;
} }
export interface Global_AdminPanelLifeCycle { export interface Global_AdminPanelLifeCycle {
@@ -41,5 +38,4 @@ export interface Global_AdminPanelLifeCycle {
favicon?: AdminPanelRelationPropertyModification<Media_Plain>; favicon?: AdminPanelRelationPropertyModification<Media_Plain>;
siteDescription: string; siteDescription: string;
defaultSeo?: Seo_Plain; defaultSeo?: Seo_Plain;
logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
} }

View File

@@ -5,13 +5,11 @@ import { YogaDiscountComponent } from './yoga-discount-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaPriceComponent_Plain } from './yoga-price-component'; import { YogaPriceComponent_Plain } from './yoga-price-component';
import { YogaDiscountComponent_Plain } from './yoga-discount-component'; import { YogaDiscountComponent_Plain } from './yoga-discount-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface PricesPage { export interface PricesPage {
@@ -24,7 +22,6 @@ export interface PricesPage {
blogs?: { data: YogaBlogPostsComponent }; blogs?: { data: YogaBlogPostsComponent };
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
common?: { data: YogaCommon };
}; };
} }
export interface PricesPage_Plain { export interface PricesPage_Plain {
@@ -36,7 +33,6 @@ export interface PricesPage_Plain {
blogs?: YogaBlogPostsComponent_Plain; blogs?: YogaBlogPostsComponent_Plain;
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
} }
export interface PricesPage_NoRelations { export interface PricesPage_NoRelations {
@@ -48,7 +44,6 @@ export interface PricesPage_NoRelations {
blogs?: number; blogs?: number;
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
common?: number;
} }
export interface PricesPage_AdminPanelLifeCycle { export interface PricesPage_AdminPanelLifeCycle {
@@ -60,5 +55,4 @@ export interface PricesPage_AdminPanelLifeCycle {
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>; blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -1,46 +0,0 @@
// Interface automatically generated by schemas-to-ts
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface ServicePage {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter };
common?: { data: YogaCommon };
};
}
export interface ServicePage_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain;
common?: YogaCommon_Plain;
}
export interface ServicePage_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: number;
footer?: number;
common?: number;
}
export interface ServicePage_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
}

View File

@@ -7,7 +7,6 @@ import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-componen
import { YogaBlogPostsComponent } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer'; import { YogaFooter } from './yoga-footer';
import { YogaCommon } from './yoga-common';
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component'; import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
import { YogaContactUs_Plain } from './yoga-contact-us'; import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component'; import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
@@ -15,7 +14,6 @@ import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-co
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component'; import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component'; import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer'; import { YogaFooter_Plain } from './yoga-footer';
import { YogaCommon_Plain } from './yoga-common';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification'; import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface ServicesPage { export interface ServicesPage {
@@ -31,7 +29,6 @@ export interface ServicesPage {
subscribe?: { data: YogaSubscribeNowComponent }; subscribe?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter }; footer?: { data: YogaFooter };
title?: string; title?: string;
common?: { data: YogaCommon };
}; };
} }
export interface ServicesPage_Plain { export interface ServicesPage_Plain {
@@ -46,7 +43,6 @@ export interface ServicesPage_Plain {
subscribe?: YogaSubscribeNowComponent_Plain; subscribe?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain; footer?: YogaFooter_Plain;
title?: string; title?: string;
common?: YogaCommon_Plain;
} }
export interface ServicesPage_NoRelations { export interface ServicesPage_NoRelations {
@@ -61,7 +57,6 @@ export interface ServicesPage_NoRelations {
subscribe?: number; subscribe?: number;
footer?: number; footer?: number;
title?: string; title?: string;
common?: number;
} }
export interface ServicesPage_AdminPanelLifeCycle { export interface ServicesPage_AdminPanelLifeCycle {
@@ -76,5 +71,4 @@ export interface ServicesPage_AdminPanelLifeCycle {
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>; subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>; footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
title?: string; title?: string;
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
} }

View File

@@ -1,30 +0,0 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Media_Plain } from '../components/shared/Media';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaCommon {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: { data: Media };
name: string;
};
}
export interface YogaCommon_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: Media_Plain;
name: string;
}
export interface YogaCommon_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: number;
name: string;
}
export interface YogaCommon_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
name: string;
}

View File

@@ -14,8 +14,6 @@ export interface YogaPrice {
price?: number; price?: number;
icon?: { data: Media }; icon?: { data: Media };
image?: { data: Media }; image?: { data: Media };
pricePostfix?: string;
description?: string;
}; };
} }
export interface YogaPrice_Plain { export interface YogaPrice_Plain {
@@ -27,8 +25,6 @@ export interface YogaPrice_Plain {
price?: number; price?: number;
icon?: Media_Plain; icon?: Media_Plain;
image?: Media_Plain; image?: Media_Plain;
pricePostfix?: string;
description?: string;
} }
export interface YogaPrice_NoRelations { export interface YogaPrice_NoRelations {
@@ -40,8 +36,6 @@ export interface YogaPrice_NoRelations {
price?: number; price?: number;
icon?: number; icon?: number;
image?: number; image?: number;
pricePostfix?: string;
description?: string;
} }
export interface YogaPrice_AdminPanelLifeCycle { export interface YogaPrice_AdminPanelLifeCycle {
@@ -53,6 +47,4 @@ export interface YogaPrice_AdminPanelLifeCycle {
price?: number; price?: number;
icon?: AdminPanelRelationPropertyModification<Media_Plain>; icon?: AdminPanelRelationPropertyModification<Media_Plain>;
image?: AdminPanelRelationPropertyModification<Media_Plain>; image?: AdminPanelRelationPropertyModification<Media_Plain>;
pricePostfix?: string;
description?: string;
} }

View File

@@ -13,7 +13,7 @@ export interface YogaSingleService {
image?: { data: Media }; image?: { data: Media };
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any; article?: string;
locale: string; locale: string;
localizations?: { data: YogaSingleService[] }; localizations?: { data: YogaSingleService[] };
}; };
@@ -26,7 +26,7 @@ export interface YogaSingleService_Plain {
image?: Media_Plain; image?: Media_Plain;
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any; article?: string;
locale: string; locale: string;
localizations?: YogaSingleService_Plain[]; localizations?: YogaSingleService_Plain[];
} }
@@ -39,7 +39,7 @@ export interface YogaSingleService_NoRelations {
image?: number; image?: number;
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any; article?: string;
locale: string; locale: string;
localizations?: YogaSingleService[]; localizations?: YogaSingleService[];
} }
@@ -52,7 +52,7 @@ export interface YogaSingleService_AdminPanelLifeCycle {
image?: AdminPanelRelationPropertyModification<Media_Plain>; image?: AdminPanelRelationPropertyModification<Media_Plain>;
imageAlt?: string; imageAlt?: string;
name?: string; name?: string;
article?: any; article?: string;
locale: string; locale: string;
localizations?: YogaSingleService[]; localizations?: YogaSingleService[];
} }

View File

@@ -65,11 +65,6 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::yoga-achivements-component.yoga-achivements-component" "target": "api::yoga-achivements-component.yoga-achivements-component"
},
"common": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-common.yoga-common"
} }
} }
} }

View File

@@ -37,11 +37,6 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::yoga-footer.yoga-footer" "target": "api::yoga-footer.yoga-footer"
},
"common": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-common.yoga-common"
} }
} }
} }

View File

@@ -42,11 +42,6 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::yoga-footer.yoga-footer" "target": "api::yoga-footer.yoga-footer"
},
"common": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-common.yoga-common"
} }
} }
} }

View File

@@ -20,11 +20,7 @@
"type": "media", "type": "media",
"multiple": false, "multiple": false,
"required": false, "required": false,
"allowedTypes": [ "allowedTypes": ["images", "files", "videos"]
"images",
"files",
"videos"
]
}, },
"siteDescription": { "siteDescription": {
"type": "text", "type": "text",
@@ -34,17 +30,6 @@
"type": "component", "type": "component",
"repeatable": false, "repeatable": false,
"component": "shared.seo" "component": "shared.seo"
},
"logoImage": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
} }
} }
} }

View File

@@ -4,8 +4,7 @@
"info": { "info": {
"singularName": "prices-page", "singularName": "prices-page",
"pluralName": "prices-pages", "pluralName": "prices-pages",
"displayName": "PricesPage", "displayName": "PricesPage"
"description": ""
}, },
"options": { "options": {
"draftAndPublish": true "draftAndPublish": true
@@ -42,11 +41,6 @@
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToOne",
"target": "api::yoga-footer.yoga-footer" "target": "api::yoga-footer.yoga-footer"
},
"common": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-common.yoga-common"
} }
} }
} }

View File

@@ -1,36 +0,0 @@
{
"kind": "singleType",
"collectionName": "service_pages",
"info": {
"singularName": "service-page",
"pluralName": "service-pages",
"displayName": "ServicePage",
"description": ""
},
"options": {
"draftAndPublish": true
},
"attributes": {
"header": {
"type": "string"
},
"description": {
"type": "text"
},
"subscribeNow": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-subscribe-now-component.yoga-subscribe-now-component"
},
"footer": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-footer.yoga-footer"
},
"common": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-common.yoga-common"
}
}
}

View File

@@ -1,7 +0,0 @@
/**
* service-page controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::service-page.service-page');

View File

@@ -1,7 +0,0 @@
/**
* service-page router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::service-page.service-page');

View File

@@ -1,7 +0,0 @@
/**
* service-page service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::service-page.service-page');

View File

@@ -55,11 +55,6 @@
}, },
"title": { "title": {
"type": "string" "type": "string"
},
"common": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-common.yoga-common"
} }
} }
} }

View File

@@ -1,30 +0,0 @@
{
"kind": "collectionType",
"collectionName": "yoga_commons",
"info": {
"singularName": "yoga-common",
"pluralName": "yoga-commons",
"displayName": "YogaCommon",
"description": ""
},
"options": {
"draftAndPublish": true
},
"attributes": {
"logoImage": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
},
"name": {
"type": "string",
"required": true
}
}
}

View File

@@ -1,7 +0,0 @@
/**
* yoga-common controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::yoga-common.yoga-common');

View File

@@ -1,7 +0,0 @@
/**
* yoga-common router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::yoga-common.yoga-common');

View File

@@ -1,7 +0,0 @@
/**
* yoga-common service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::yoga-common.yoga-common');

View File

@@ -4,8 +4,7 @@
"info": { "info": {
"singularName": "yoga-price", "singularName": "yoga-price",
"pluralName": "yoga-prices", "pluralName": "yoga-prices",
"displayName": "YogaPrice", "displayName": "YogaPrice"
"description": ""
}, },
"options": { "options": {
"draftAndPublish": true "draftAndPublish": true
@@ -28,32 +27,24 @@
"type": "integer" "type": "integer"
}, },
"icon": { "icon": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [ "allowedTypes": [
"images", "images",
"files", "files",
"videos", "videos",
"audios" "audios"
] ],
"type": "media",
"multiple": false
}, },
"image": { "image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [ "allowedTypes": [
"images", "images",
"files", "files",
"videos", "videos",
"audios" "audios"
] ],
}, "type": "media",
"pricePostfix": { "multiple": false
"type": "string"
},
"description": {
"type": "text"
} }
} }
} }

View File

@@ -73,7 +73,7 @@
"type": "string" "type": "string"
}, },
"article": { "article": {
"type": "blocks" "type": "richtext"
} }
} }
} }

View File

@@ -402,10 +402,6 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
'oneToOne', 'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component' 'api::yoga-blog-posts-component.yoga-blog-posts-component'
>; >;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private; Schema.Attribute.Private;
@@ -560,10 +556,6 @@ export interface ApiContactPageContactPage extends Struct.SingleTypeSchema {
draftAndPublish: true; draftAndPublish: true;
}; };
attributes: { attributes: {
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
contactUs: Schema.Attribute.Relation< contactUs: Schema.Attribute.Relation<
'oneToOne', 'oneToOne',
'api::yoga-contact-us.yoga-contact-us' 'api::yoga-contact-us.yoga-contact-us'
@@ -618,10 +610,6 @@ export interface ApiFaqPageFaqPage extends Struct.SingleTypeSchema {
'oneToOne', 'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component' 'api::yoga-blog-posts-component.yoga-blog-posts-component'
>; >;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private; Schema.Attribute.Private;
@@ -675,7 +663,6 @@ export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
'api::global.global' 'api::global.global'
> & > &
Schema.Attribute.Private; Schema.Attribute.Private;
logoImage: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
siteDescription: Schema.Attribute.Text & Schema.Attribute.Required; siteDescription: Schema.Attribute.Text & Schema.Attribute.Required;
siteName: Schema.Attribute.String & Schema.Attribute.Required; siteName: Schema.Attribute.String & Schema.Attribute.Required;
@@ -816,7 +803,6 @@ export interface ApiPersonPerson extends Struct.SingleTypeSchema {
export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema { export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
collectionName: 'prices_pages'; collectionName: 'prices_pages';
info: { info: {
description: '';
displayName: 'PricesPage'; displayName: 'PricesPage';
pluralName: 'prices-pages'; pluralName: 'prices-pages';
singularName: 'prices-page'; singularName: 'prices-page';
@@ -829,10 +815,6 @@ export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
'oneToOne', 'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component' 'api::yoga-blog-posts-component.yoga-blog-posts-component'
>; >;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private; Schema.Attribute.Private;
@@ -867,48 +849,6 @@ export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
}; };
} }
export interface ApiServicePageServicePage extends Struct.SingleTypeSchema {
collectionName: 'service_pages';
info: {
description: '';
displayName: 'ServicePage';
pluralName: 'service-pages';
singularName: 'service-page';
};
options: {
draftAndPublish: true;
};
attributes: {
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text;
footer: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-footer.yoga-footer'
>;
header: Schema.Attribute.String;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::service-page.service-page'
> &
Schema.Attribute.Private;
publishedAt: Schema.Attribute.DateTime;
subscribeNow: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-subscribe-now-component.yoga-subscribe-now-component'
>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiServicesPageServicesPage extends Struct.SingleTypeSchema { export interface ApiServicesPageServicesPage extends Struct.SingleTypeSchema {
collectionName: 'services_pages'; collectionName: 'services_pages';
info: { info: {
@@ -925,10 +865,6 @@ export interface ApiServicesPageServicesPage extends Struct.SingleTypeSchema {
'oneToOne', 'oneToOne',
'api::yoga-blog-posts-component.yoga-blog-posts-component' 'api::yoga-blog-posts-component.yoga-blog-posts-component'
>; >;
common: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-common.yoga-common'
>;
contactUs: Schema.Attribute.Relation< contactUs: Schema.Attribute.Relation<
'oneToOne', 'oneToOne',
'api::yoga-contact-us.yoga-contact-us' 'api::yoga-contact-us.yoga-contact-us'
@@ -1234,36 +1170,6 @@ export interface ApiYogaBlogPostsComponentYogaBlogPostsComponent
}; };
} }
export interface ApiYogaCommonYogaCommon extends Struct.CollectionTypeSchema {
collectionName: 'yoga_commons';
info: {
description: '';
displayName: 'YogaCommon';
pluralName: 'yoga-commons';
singularName: 'yoga-common';
};
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-common.yoga-common'
> &
Schema.Attribute.Private;
logoImage: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
name: Schema.Attribute.String & Schema.Attribute.Required;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaContactUsYogaContactUs export interface ApiYogaContactUsYogaContactUs
extends Struct.CollectionTypeSchema { extends Struct.CollectionTypeSchema {
collectionName: 'yoga_contact_uses'; collectionName: 'yoga_contact_uses';
@@ -1736,7 +1642,6 @@ export interface ApiYogaPriceComponentYogaPriceComponent
export interface ApiYogaPriceYogaPrice extends Struct.CollectionTypeSchema { export interface ApiYogaPriceYogaPrice extends Struct.CollectionTypeSchema {
collectionName: 'yoga_prices'; collectionName: 'yoga_prices';
info: { info: {
description: '';
displayName: 'YogaPrice'; displayName: 'YogaPrice';
pluralName: 'yoga-prices'; pluralName: 'yoga-prices';
singularName: 'yoga-price'; singularName: 'yoga-price';
@@ -1749,7 +1654,6 @@ export interface ApiYogaPriceYogaPrice extends Struct.CollectionTypeSchema {
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private; Schema.Attribute.Private;
description: Schema.Attribute.Text;
header: Schema.Attribute.String; header: Schema.Attribute.String;
icon: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>; icon: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>; image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
@@ -1762,7 +1666,6 @@ export interface ApiYogaPriceYogaPrice extends Struct.CollectionTypeSchema {
option1: Schema.Attribute.String; option1: Schema.Attribute.String;
option2: Schema.Attribute.String; option2: Schema.Attribute.String;
price: Schema.Attribute.Integer; price: Schema.Attribute.Integer;
pricePostfix: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime; updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
@@ -1788,7 +1691,7 @@ export interface ApiYogaSingleServiceYogaSingleService
}; };
}; };
attributes: { attributes: {
article: Schema.Attribute.Blocks; article: Schema.Attribute.RichText;
buttonLink: Schema.Attribute.String & buttonLink: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -2600,7 +2503,6 @@ declare module '@strapi/strapi' {
'api::page.page': ApiPagePage; 'api::page.page': ApiPagePage;
'api::person.person': ApiPersonPerson; 'api::person.person': ApiPersonPerson;
'api::prices-page.prices-page': ApiPricesPagePricesPage; 'api::prices-page.prices-page': ApiPricesPagePricesPage;
'api::service-page.service-page': ApiServicePageServicePage;
'api::services-page.services-page': ApiServicesPageServicesPage; 'api::services-page.services-page': ApiServicesPageServicesPage;
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent; 'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
'api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component': ApiYogaAboutUsWithBoxesComponentYogaAboutUsWithBoxesComponent; 'api::yoga-about-us-with-boxes-component.yoga-about-us-with-boxes-component': ApiYogaAboutUsWithBoxesComponentYogaAboutUsWithBoxesComponent;
@@ -2608,7 +2510,6 @@ declare module '@strapi/strapi' {
'api::yoga-achivements-component.yoga-achivements-component': ApiYogaAchivementsComponentYogaAchivementsComponent; 'api::yoga-achivements-component.yoga-achivements-component': ApiYogaAchivementsComponentYogaAchivementsComponent;
'api::yoga-blog-post.yoga-blog-post': ApiYogaBlogPostYogaBlogPost; 'api::yoga-blog-post.yoga-blog-post': ApiYogaBlogPostYogaBlogPost;
'api::yoga-blog-posts-component.yoga-blog-posts-component': ApiYogaBlogPostsComponentYogaBlogPostsComponent; 'api::yoga-blog-posts-component.yoga-blog-posts-component': ApiYogaBlogPostsComponentYogaBlogPostsComponent;
'api::yoga-common.yoga-common': ApiYogaCommonYogaCommon;
'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs; 'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs;
'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent; 'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent;
'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback; 'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback;