Compare commits

...

1 Commits

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

View File

@ -0,0 +1,6 @@
export default async function ServiceDetails() {
return (
<h1>hello </h1>
)
}

View File

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

View File

@ -4,7 +4,8 @@
"info": {
"singularName": "yoga-single-service",
"pluralName": "yoga-single-services",
"displayName": "YogaSingleService"
"displayName": "YogaSingleService",
"description": ""
},
"options": {
"draftAndPublish": true
@ -40,14 +41,15 @@
"type": "string"
},
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false,
"pluginOptions": {
"i18n": {
"localized": true
@ -69,6 +71,9 @@
}
},
"type": "string"
},
"article": {
"type": "richtext"
}
}
}

View File

@ -1677,6 +1677,7 @@ export interface ApiYogaSingleServiceYogaSingleService
extends Struct.CollectionTypeSchema {
collectionName: 'yoga_single_services';
info: {
description: '';
displayName: 'YogaSingleService';
pluralName: 'yoga-single-services';
singularName: 'yoga-single-service';
@ -1690,6 +1691,7 @@ export interface ApiYogaSingleServiceYogaSingleService
};
};
attributes: {
article: Schema.Attribute.RichText;
buttonLink: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {