convert about types from component to collection-type

This commit is contained in:
Schneider Roland
2025-01-19 21:57:33 +01:00
parent 741dd19588
commit c706a4c7d2
80 changed files with 2428 additions and 630 deletions

View File

@@ -9,6 +9,9 @@
aboutUs: {
fields: ['*']
},
contactUs: {
fields: ['*']
},
ourSpecialities: {
fields: ['*'] ,
populate: {

View File

@@ -1 +1 @@
/api/about?populate[header][fields][0]=header1&populate[header][fields][1]=description&populate[ourServices][fields][0]=*&populate[aboutUs][fields][0]=*&populate[ourSpecialities][fields][0]=*&populate[ourSpecialities][populate][specialityLeft1][fields][0]=*&populate[ourSpecialities][populate][specialityLeft2][fields][0]=*&populate[ourSpecialities][populate][specialityLeft3][fields][0]=*&populate[ourSpecialities][populate][specialityLeft4][fields][0]=*&populate[ourSpecialities][populate][specialityRight1][fields][0]=*&populate[ourSpecialities][populate][specialityRight2][fields][0]=*&populate[ourSpecialities][populate][specialityRight3][fields][0]=*&populate[ourSpecialities][populate][specialityRight4][fields][0]=*
/api/about?populate[header][fields][0]=header1&populate[header][fields][1]=description&populate[ourServices][fields][0]=*&populate[aboutUs][fields][0]=*&populate[contactUs][fields][0]=*&populate[ourSpecialities][fields][0]=*&populate[ourSpecialities][populate][specialityLeft1][fields][0]=*&populate[ourSpecialities][populate][specialityLeft2][fields][0]=*&populate[ourSpecialities][populate][specialityLeft3][fields][0]=*&populate[ourSpecialities][populate][specialityLeft4][fields][0]=*&populate[ourSpecialities][populate][specialityRight1][fields][0]=*&populate[ourSpecialities][populate][specialityRight2][fields][0]=*&populate[ourSpecialities][populate][specialityRight3][fields][0]=*&populate[ourSpecialities][populate][specialityRight4][fields][0]=*

View File

@@ -1,25 +1,32 @@
// Interface automatically generated by schemas-to-ts
import { HeaderB } from '../components/yoga-site/HeaderB';
import { OurServicesComponent } from '../components/yoga-site/OurServicesComponent';
import { AboutUs } from '../components/yoga-site/AboutUs';
import { OurSpecialitiesComponent } from '../components/yoga-site/OurSpecialitiesComponent';
import { YogaContactUs } from './yoga-contact-us';
import { YogaPriceComponent } from './yoga-price-component';
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 { HeaderB_Plain } from '../components/yoga-site/HeaderB';
import { OurServicesComponent_Plain } from '../components/yoga-site/OurServicesComponent';
import { AboutUs_Plain } from '../components/yoga-site/AboutUs';
import { OurSpecialitiesComponent_Plain } from '../components/yoga-site/OurSpecialitiesComponent';
import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaPriceComponent_Plain } from './yoga-price-component';
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 { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
import { OurServicesComponent_NoRelations } from '../components/yoga-site/OurServicesComponent';
import { AboutUs_NoRelations } from '../components/yoga-site/AboutUs';
import { OurSpecialitiesComponent_NoRelations } from '../components/yoga-site/OurSpecialitiesComponent';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface About {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB;
ourServices: OurServicesComponent;
aboutUs: AboutUs;
ourSpecialities?: OurSpecialitiesComponent;
contactUs?: { data: YogaContactUs };
prices?: { data: YogaPriceComponent };
ourSpecialities?: { data: YogaSpecialitiesComponent };
aboutUs?: { data: YogaAboutUsComponent };
feedbacks?: { data: YogaCustomerFeedbackComponent };
ourServices?: { data: YogaOurServicesComponent };
locale: string;
localizations?: { data: About[] };
};
@@ -27,9 +34,12 @@ export interface About {
export interface About_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
ourServices: OurServicesComponent_Plain;
aboutUs: AboutUs_Plain;
ourSpecialities?: OurSpecialitiesComponent_Plain;
contactUs?: YogaContactUs_Plain;
prices?: YogaPriceComponent_Plain;
ourSpecialities?: YogaSpecialitiesComponent_Plain;
aboutUs?: YogaAboutUsComponent_Plain;
feedbacks?: YogaCustomerFeedbackComponent_Plain;
ourServices?: YogaOurServicesComponent_Plain;
locale: string;
localizations?: About_Plain[];
}
@@ -37,9 +47,12 @@ export interface About_Plain {
export interface About_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_NoRelations;
ourServices: OurServicesComponent_NoRelations;
aboutUs: AboutUs_NoRelations;
ourSpecialities?: OurSpecialitiesComponent_NoRelations;
contactUs?: number;
prices?: number;
ourSpecialities?: number;
aboutUs?: number;
feedbacks?: number;
ourServices?: number;
locale: string;
localizations?: About[];
}
@@ -47,9 +60,12 @@ export interface About_NoRelations {
export interface About_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
ourServices: OurServicesComponent_Plain;
aboutUs: AboutUs_Plain;
ourSpecialities?: OurSpecialitiesComponent_Plain;
contactUs?: AdminPanelRelationPropertyModification<YogaContactUs_Plain>;
prices?: AdminPanelRelationPropertyModification<YogaPriceComponent_Plain>;
ourSpecialities?: AdminPanelRelationPropertyModification<YogaSpecialitiesComponent_Plain>;
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsComponent_Plain>;
feedbacks?: AdminPanelRelationPropertyModification<YogaCustomerFeedbackComponent_Plain>;
ourServices?: AdminPanelRelationPropertyModification<YogaOurServicesComponent_Plain>;
locale: string;
localizations?: About[];
}

View File

@@ -1,41 +0,0 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Quote } from '../components/shared/Quote';
import { Media_Plain } from '../components/shared/Media';
import { Quote_Plain } from '../components/shared/Quote';
import { Quote_NoRelations } from '../components/shared/Quote';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface Car {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
description?: string;
image?: { data: Media };
myquote: Quote[];
};
}
export interface Car_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
description?: string;
image?: Media_Plain;
myquote: Quote_Plain[];
}
export interface Car_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
description?: string;
image?: number;
myquote: Quote_NoRelations[];
}
export interface Car_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
description?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
myquote: Quote_Plain[];
}

View File

@@ -0,0 +1,62 @@
// 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 YogaAboutUsComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: { data: Media };
name?: string;
buttonLink?: string;
locale: string;
localizations?: { data: YogaAboutUsComponent[] };
};
}
export interface YogaAboutUsComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: Media_Plain;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent_Plain[];
}
export interface YogaAboutUsComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: number;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent[];
}
export interface YogaAboutUsComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
content?: string;
buttonText?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
name?: string;
buttonLink?: string;
locale: string;
localizations?: YogaAboutUsComponent[];
}

View File

@@ -0,0 +1,58 @@
// Interface automatically generated by schemas-to-ts
export interface YogaContactUs {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: { data: YogaContactUs[] };
};
}
export interface YogaContactUs_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: YogaContactUs_Plain[];
}
export interface YogaContactUs_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: YogaContactUs[];
}
export interface YogaContactUs_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
firstName?: string;
lastName?: string;
phone?: string;
email?: string;
message?: string;
buttonText?: string;
locale: string;
localizations?: YogaContactUs[];
}

View File

@@ -0,0 +1,30 @@
// Interface automatically generated by schemas-to-ts
import { YogaCustomerFeedback } from './yoga-customer-feedback';
import { YogaCustomerFeedback_Plain } from './yoga-customer-feedback';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaCustomerFeedbackComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
feedbacks: { data: YogaCustomerFeedback[] };
};
}
export interface YogaCustomerFeedbackComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
feedbacks: YogaCustomerFeedback_Plain[];
}
export interface YogaCustomerFeedbackComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
feedbacks: number[];
}
export interface YogaCustomerFeedbackComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
feedbacks: AdminPanelRelationPropertyModification<YogaCustomerFeedback_Plain>;
}

View File

@@ -0,0 +1,42 @@
// 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 YogaCustomerFeedback {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
customerName?: string;
feedback?: string;
customerImage?: { data: Media };
customerDescription?: string;
};
}
export interface YogaCustomerFeedback_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
customerName?: string;
feedback?: string;
customerImage?: Media_Plain;
customerDescription?: string;
}
export interface YogaCustomerFeedback_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
customerName?: string;
feedback?: string;
customerImage?: number;
customerDescription?: string;
}
export interface YogaCustomerFeedback_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name?: string;
customerName?: string;
feedback?: string;
customerImage?: AdminPanelRelationPropertyModification<Media_Plain>;
customerDescription?: string;
}

View File

@@ -0,0 +1,50 @@
// Interface automatically generated by schemas-to-ts
import { YogaSingleService } from './yoga-single-service';
import { YogaSingleService_Plain } from './yoga-single-service';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaOurServicesComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
services: { data: YogaSingleService[] };
name?: string;
locale: string;
localizations?: { data: YogaOurServicesComponent[] };
};
}
export interface YogaOurServicesComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
services: YogaSingleService_Plain[];
name?: string;
locale: string;
localizations?: YogaOurServicesComponent_Plain[];
}
export interface YogaOurServicesComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
services: number[];
name?: string;
locale: string;
localizations?: YogaOurServicesComponent[];
}
export interface YogaOurServicesComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
services: AdminPanelRelationPropertyModification<YogaSingleService_Plain>;
name?: string;
locale: string;
localizations?: YogaOurServicesComponent[];
}

View File

@@ -0,0 +1,46 @@
// Interface automatically generated by schemas-to-ts
import { YogaPrice } from './yoga-price';
import { YogaPrice_Plain } from './yoga-price';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaPriceComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: { data: YogaPrice[] };
locale: string;
localizations?: { data: YogaPriceComponent[] };
};
}
export interface YogaPriceComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: YogaPrice_Plain[];
locale: string;
localizations?: YogaPriceComponent_Plain[];
}
export interface YogaPriceComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: number[];
locale: string;
localizations?: YogaPriceComponent[];
}
export interface YogaPriceComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
prices: AdminPanelRelationPropertyModification<YogaPrice_Plain>;
locale: string;
localizations?: YogaPriceComponent[];
}

View File

@@ -0,0 +1,50 @@
// 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 YogaPrice {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: { data: Media };
image?: { data: Media };
};
}
export interface YogaPrice_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: Media_Plain;
image?: Media_Plain;
}
export interface YogaPrice_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: number;
image?: number;
}
export interface YogaPrice_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
option1?: string;
option2?: string;
buttonText?: string;
price?: number;
icon?: AdminPanelRelationPropertyModification<Media_Plain>;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
}

View File

@@ -0,0 +1,54 @@
// 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 YogaSingleService {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: { data: Media };
imageAlt?: string;
name?: string;
locale: string;
localizations?: { data: YogaSingleService[] };
};
}
export interface YogaSingleService_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: Media_Plain;
imageAlt?: string;
name?: string;
locale: string;
localizations?: YogaSingleService_Plain[];
}
export interface YogaSingleService_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: number;
imageAlt?: string;
name?: string;
locale: string;
localizations?: YogaSingleService[];
}
export interface YogaSingleService_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
description?: string;
buttonLink?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
imageAlt?: string;
name?: string;
locale: string;
localizations?: YogaSingleService[];
}

View File

@@ -0,0 +1,38 @@
// Interface automatically generated by schemas-to-ts
export interface YogaSingleSpeciality {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: { data: YogaSingleSpeciality[] };
};
}
export interface YogaSingleSpeciality_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: YogaSingleSpeciality_Plain[];
}
export interface YogaSingleSpeciality_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: YogaSingleSpeciality[];
}
export interface YogaSingleSpeciality_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
description?: string;
name: string;
locale: string;
localizations?: YogaSingleSpeciality[];
}

View File

@@ -0,0 +1,78 @@
// Interface automatically generated by schemas-to-ts
import { YogaSingleSpeciality } from './yoga-single-speciality';
import { YogaSingleSpeciality_Plain } from './yoga-single-speciality';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaSpecialitiesComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: { data: YogaSingleSpeciality };
left2?: { data: YogaSingleSpeciality };
left3?: { data: YogaSingleSpeciality };
left4?: { data: YogaSingleSpeciality };
right1?: { data: YogaSingleSpeciality };
right2?: { data: YogaSingleSpeciality };
right3?: { data: YogaSingleSpeciality };
right4?: { data: YogaSingleSpeciality };
locale: string;
localizations?: { data: YogaSpecialitiesComponent[] };
};
}
export interface YogaSpecialitiesComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: YogaSingleSpeciality_Plain;
left2?: YogaSingleSpeciality_Plain;
left3?: YogaSingleSpeciality_Plain;
left4?: YogaSingleSpeciality_Plain;
right1?: YogaSingleSpeciality_Plain;
right2?: YogaSingleSpeciality_Plain;
right3?: YogaSingleSpeciality_Plain;
right4?: YogaSingleSpeciality_Plain;
locale: string;
localizations?: YogaSpecialitiesComponent_Plain[];
}
export interface YogaSpecialitiesComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: number;
left2?: number;
left3?: number;
left4?: number;
right1?: number;
right2?: number;
right3?: number;
right4?: number;
locale: string;
localizations?: YogaSpecialitiesComponent[];
}
export interface YogaSpecialitiesComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
left1?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
left2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
left3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
left4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right1?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
right4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
locale: string;
localizations?: YogaSpecialitiesComponent[];
}

View File

@@ -1,28 +0,0 @@
// Interface automatically generated by schemas-to-ts
export interface AboutUs {
title?: string;
header?: string;
description?: string;
content?: string;
buttonLabel?: string;
buttonLink?: string;
}
export interface AboutUs_Plain {
title?: string;
header?: string;
description?: string;
content?: string;
buttonLabel?: string;
buttonLink?: string;
}
export interface AboutUs_NoRelations {
title?: string;
header?: string;
description?: string;
content?: string;
buttonLabel?: string;
buttonLink?: string;
}

View File

@@ -26,37 +26,35 @@
}
}
},
"ourServices": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "yoga-site.our-services-component",
"required": true
"contactUs": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-contact-us.yoga-contact-us"
},
"aboutUs": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "yoga-site.about-us",
"required": true
"prices": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-price-component.yoga-price-component"
},
"ourSpecialities": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "yoga-site.our-specialities-component"
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-specialities-component.yoga-specialities-component"
},
"aboutUs": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-about-us-component.yoga-about-us-component"
},
"feedbacks": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-customer-feedback-component.yoga-customer-feedback-component"
},
"ourServices": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-our-services-component.yoga-our-services-component"
}
}
}

View File

@@ -1,38 +0,0 @@
{
"kind": "collectionType",
"collectionName": "cars",
"info": {
"singularName": "car",
"pluralName": "cars",
"displayName": "car",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string"
},
"description": {
"type": "text"
},
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
]
},
"myquote": {
"type": "component",
"repeatable": true,
"component": "shared.quote"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,90 @@
{
"kind": "collectionType",
"collectionName": "yoga_about_us_components",
"info": {
"singularName": "yoga-about-us-component",
"pluralName": "yoga-about-us-components",
"displayName": "YogaAboutUsComponent",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"header": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"description": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "text"
},
"content": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "text"
},
"buttonText": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files"
],
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"name": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"buttonLink": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,83 @@
{
"kind": "collectionType",
"collectionName": "yoga_contact_uses",
"info": {
"singularName": "yoga-contact-us",
"pluralName": "yoga-contact-uses",
"displayName": "YogaContactUs"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"header": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"firstName": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"lastName": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"phone": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"email": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"message": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "text"
},
"buttonText": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,23 @@
{
"kind": "collectionType",
"collectionName": "yoga_customer_feedback_components",
"info": {
"singularName": "yoga-customer-feedback-component",
"pluralName": "yoga-customer-feedback-components",
"displayName": "YogaCustomerFeedbackComponent"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string"
},
"feedbacks": {
"type": "relation",
"relation": "oneToMany",
"target": "api::yoga-customer-feedback.yoga-customer-feedback"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,37 @@
{
"kind": "collectionType",
"collectionName": "yoga_customer_feedbacks",
"info": {
"singularName": "yoga-customer-feedback",
"pluralName": "yoga-customer-feedbacks",
"displayName": "YogaCustomerFeedback"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string"
},
"customerName": {
"type": "string"
},
"feedback": {
"type": "text"
},
"customerImage": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
},
"customerDescription": {
"type": "string"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,57 @@
{
"kind": "collectionType",
"collectionName": "yoga_our_services_components",
"info": {
"singularName": "yoga-our-services-component",
"pluralName": "yoga-our-services-components",
"displayName": "YogaOurServicesComponent",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"header": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"description": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "text"
},
"services": {
"type": "relation",
"relation": "oneToMany",
"target": "api::yoga-single-service.yoga-single-service"
},
"name": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,49 @@
{
"kind": "collectionType",
"collectionName": "yoga_price_components",
"info": {
"singularName": "yoga-price-component",
"pluralName": "yoga-price-components",
"displayName": "YogaPriceComponent",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"header": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"description": {
"type": "text",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"prices": {
"type": "relation",
"relation": "oneToMany",
"target": "api::yoga-price.yoga-price"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,50 @@
{
"kind": "collectionType",
"collectionName": "yoga_prices",
"info": {
"singularName": "yoga-price",
"pluralName": "yoga-prices",
"displayName": "YogaPrice"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"header": {
"type": "string"
},
"option1": {
"type": "string"
},
"option2": {
"type": "string"
},
"buttonText": {
"type": "string"
},
"price": {
"type": "integer"
},
"icon": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
},
"image": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,74 @@
{
"kind": "collectionType",
"collectionName": "yoga_single_services",
"info": {
"singularName": "yoga-single-service",
"pluralName": "yoga-single-services",
"displayName": "YogaSingleService"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"header": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"description": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "text"
},
"buttonLink": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"image": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false,
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"imageAlt": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
},
"name": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,46 @@
{
"kind": "collectionType",
"collectionName": "yoga_single_specialities",
"info": {
"singularName": "yoga-single-speciality",
"pluralName": "yoga-single-specialities",
"displayName": "YogaSingleSpeciality",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"description": {
"type": "text",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"name": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string",
"required": true,
"unique": true
}
}
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,92 @@
{
"kind": "collectionType",
"collectionName": "yoga_specialities_components",
"info": {
"singularName": "yoga-specialities-component",
"pluralName": "yoga-specialities-components",
"displayName": "YogaSpecialitiesComponent",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {
"i18n": {
"localized": true
}
},
"attributes": {
"title": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"header": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"description": {
"type": "text",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"name": {
"type": "string",
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"left1": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"left2": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"left3": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"left4": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"right1": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"right2": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"right3": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
},
"right4": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-single-speciality.yoga-single-speciality"
}
}
}

View File

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

View File

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

View File

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

View File

@@ -1,27 +0,0 @@
{
"collectionName": "components_yoga_site_aboutuses",
"info": {
"displayName": "aboutUs"
},
"options": {},
"attributes": {
"title": {
"type": "string"
},
"header": {
"type": "string"
},
"description": {
"type": "text"
},
"content": {
"type": "text"
},
"buttonLabel": {
"type": "string"
},
"buttonLink": {
"type": "string"
}
}
}

View File

@@ -1,59 +0,0 @@
{
"collectionName": "components_yoga_site_our_specialities_components",
"info": {
"displayName": "OurSpecialitiesComponent",
"description": ""
},
"options": {},
"attributes": {
"title": {
"type": "string"
},
"header": {
"type": "string"
},
"description": {
"type": "text"
},
"specialityLeft1": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityLeft2": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityLeft3": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityLeft4": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityRight1": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityRight2": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityRight3": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
},
"specialityRight4": {
"type": "component",
"repeatable": false,
"component": "shared.title-description"
}
}
}

View File

@@ -84,21 +84,6 @@ export interface SharedTitleDescription extends Struct.ComponentSchema {
};
}
export interface YogaSiteAboutUs extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_aboutuses';
info: {
displayName: 'aboutUs';
};
attributes: {
buttonLabel: Schema.Attribute.String;
buttonLink: Schema.Attribute.String;
content: Schema.Attribute.Text;
description: Schema.Attribute.Text;
header: Schema.Attribute.String;
title: Schema.Attribute.String;
};
}
export interface YogaSiteHeaderB extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_header_bs';
info: {
@@ -125,52 +110,6 @@ export interface YogaSiteOurServicesComponent extends Struct.ComponentSchema {
};
}
export interface YogaSiteOurSpecialitiesComponent
extends Struct.ComponentSchema {
collectionName: 'components_yoga_site_our_specialities_components';
info: {
description: '';
displayName: 'OurSpecialitiesComponent';
};
attributes: {
description: Schema.Attribute.Text;
header: Schema.Attribute.String;
specialityLeft1: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityLeft2: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityLeft3: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityLeft4: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight1: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight2: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight3: Schema.Attribute.Component<
'shared.title-description',
false
>;
specialityRight4: Schema.Attribute.Component<
'shared.title-description',
false
>;
title: Schema.Attribute.String;
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
@@ -181,10 +120,8 @@ declare module '@strapi/strapi' {
'shared.seo': SharedSeo;
'shared.slider': SharedSlider;
'shared.title-description': SharedTitleDescription;
'yoga-site.about-us': YogaSiteAboutUs;
'yoga-site.header-b': YogaSiteHeaderB;
'yoga-site.our-services-component': YogaSiteOurServicesComponent;
'yoga-site.our-specialities-component': YogaSiteOurSpecialitiesComponent;
}
}
}

View File

@@ -386,16 +386,21 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
};
};
attributes: {
aboutUs: Schema.Attribute.Component<'yoga-site.about-us', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
aboutUs: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-about-us-component.yoga-about-us-component'
>;
contactUs: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-contact-us.yoga-contact-us'
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
feedbacks: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-customer-feedback-component.yoga-customer-feedback-component'
>;
header: Schema.Attribute.Component<'yoga-site.header-b', false> &
Schema.Attribute.SetPluginOptions<{
i18n: {
@@ -404,25 +409,18 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::about.about'>;
ourServices: Schema.Attribute.Component<
'yoga-site.our-services-component',
false
> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
ourSpecialities: Schema.Attribute.Component<
'yoga-site.our-specialities-component',
false
> &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
ourServices: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-our-services-component.yoga-our-services-component'
>;
ourSpecialities: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-specialities-component.yoga-specialities-component'
>;
prices: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-price-component.yoga-price-component'
>;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
@@ -502,35 +500,6 @@ export interface ApiAuthorAuthor extends Struct.CollectionTypeSchema {
};
}
export interface ApiCarCar extends Struct.CollectionTypeSchema {
collectionName: 'cars';
info: {
description: '';
displayName: 'car';
pluralName: 'cars';
singularName: 'car';
};
options: {
draftAndPublish: true;
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::car.car'> &
Schema.Attribute.Private;
myquote: Schema.Attribute.Component<'shared.quote', true>;
name: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiCategoryCategory extends Struct.CollectionTypeSchema {
collectionName: 'categories';
info: {
@@ -654,6 +623,595 @@ export interface ApiPersonPerson extends Struct.SingleTypeSchema {
};
}
export interface ApiYogaAboutUsComponentYogaAboutUsComponent
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_about_us_components';
info: {
description: '';
displayName: 'YogaAboutUsComponent';
pluralName: 'yoga-about-us-components';
singularName: 'yoga-about-us-component';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
buttonLink: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
buttonText: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
content: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
header: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
image: Schema.Attribute.Media<'images' | 'files'> &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-about-us-component.yoga-about-us-component'
>;
name: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
title: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaContactUsYogaContactUs
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_contact_uses';
info: {
displayName: 'YogaContactUs';
pluralName: 'yoga-contact-uses';
singularName: 'yoga-contact-us';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
buttonText: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
email: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
firstName: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
header: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
lastName: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-contact-us.yoga-contact-us'
>;
message: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
phone: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
title: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_customer_feedback_components';
info: {
displayName: 'YogaCustomerFeedbackComponent';
pluralName: 'yoga-customer-feedback-components';
singularName: 'yoga-customer-feedback-component';
};
options: {
draftAndPublish: true;
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
feedbacks: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-customer-feedback.yoga-customer-feedback'
>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-customer-feedback-component.yoga-customer-feedback-component'
> &
Schema.Attribute.Private;
name: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaCustomerFeedbackYogaCustomerFeedback
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_customer_feedbacks';
info: {
displayName: 'YogaCustomerFeedback';
pluralName: 'yoga-customer-feedbacks';
singularName: 'yoga-customer-feedback';
};
options: {
draftAndPublish: true;
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
customerDescription: Schema.Attribute.String;
customerImage: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios'
>;
customerName: Schema.Attribute.String;
feedback: Schema.Attribute.Text;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-customer-feedback.yoga-customer-feedback'
> &
Schema.Attribute.Private;
name: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaOurServicesComponentYogaOurServicesComponent
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_our_services_components';
info: {
description: '';
displayName: 'YogaOurServicesComponent';
pluralName: 'yoga-our-services-components';
singularName: 'yoga-our-services-component';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
header: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-our-services-component.yoga-our-services-component'
>;
name: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
services: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-single-service.yoga-single-service'
>;
title: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaPriceComponentYogaPriceComponent
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_price_components';
info: {
description: '';
displayName: 'YogaPriceComponent';
pluralName: 'yoga-price-components';
singularName: 'yoga-price-component';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
header: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-price-component.yoga-price-component'
>;
prices: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-price.yoga-price'
>;
publishedAt: Schema.Attribute.DateTime;
title: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaPriceYogaPrice extends Struct.CollectionTypeSchema {
collectionName: 'yoga_prices';
info: {
displayName: 'YogaPrice';
pluralName: 'yoga-prices';
singularName: 'yoga-price';
};
options: {
draftAndPublish: true;
};
attributes: {
buttonText: Schema.Attribute.String;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
header: Schema.Attribute.String;
icon: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-price.yoga-price'
> &
Schema.Attribute.Private;
option1: Schema.Attribute.String;
option2: Schema.Attribute.String;
price: Schema.Attribute.Integer;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaSingleServiceYogaSingleService
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_single_services';
info: {
displayName: 'YogaSingleService';
pluralName: 'yoga-single-services';
singularName: 'yoga-single-service';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
buttonLink: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
header: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'> &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
imageAlt: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-single-service.yoga-single-service'
>;
name: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaSingleSpecialityYogaSingleSpeciality
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_single_specialities';
info: {
description: '';
displayName: 'YogaSingleSpeciality';
pluralName: 'yoga-single-specialities';
singularName: 'yoga-single-speciality';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-single-speciality.yoga-single-speciality'
>;
name: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.Unique &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
title: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiYogaSpecialitiesComponentYogaSpecialitiesComponent
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_specialities_components';
info: {
description: '';
displayName: 'YogaSpecialitiesComponent';
pluralName: 'yoga-specialities-components';
singularName: 'yoga-specialities-component';
};
options: {
draftAndPublish: true;
};
pluginOptions: {
i18n: {
localized: true;
};
};
attributes: {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
header: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
left1: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
left2: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
left3: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
left4: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::yoga-specialities-component.yoga-specialities-component'
>;
name: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
publishedAt: Schema.Attribute.DateTime;
right1: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
right2: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
right3: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
right4: Schema.Attribute.Relation<
'oneToOne',
'api::yoga-single-speciality.yoga-single-speciality'
>;
title: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface PluginContentReleasesRelease
extends Struct.CollectionTypeSchema {
collectionName: 'strapi_releases';
@@ -1166,11 +1724,20 @@ declare module '@strapi/strapi' {
'api::about.about': ApiAboutAbout;
'api::article.article': ApiArticleArticle;
'api::author.author': ApiAuthorAuthor;
'api::car.car': ApiCarCar;
'api::category.category': ApiCategoryCategory;
'api::global.global': ApiGlobalGlobal;
'api::page.page': ApiPagePage;
'api::person.person': ApiPersonPerson;
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs;
'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent;
'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback;
'api::yoga-our-services-component.yoga-our-services-component': ApiYogaOurServicesComponentYogaOurServicesComponent;
'api::yoga-price-component.yoga-price-component': ApiYogaPriceComponentYogaPriceComponent;
'api::yoga-price.yoga-price': ApiYogaPriceYogaPrice;
'api::yoga-single-service.yoga-single-service': ApiYogaSingleServiceYogaSingleService;
'api::yoga-single-speciality.yoga-single-speciality': ApiYogaSingleSpecialityYogaSingleSpeciality;
'api::yoga-specialities-component.yoga-specialities-component': ApiYogaSpecialitiesComponentYogaSpecialitiesComponent;
'plugin::content-releases.release': PluginContentReleasesRelease;
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
'plugin::i18n.locale': PluginI18NLocale;