feat: call to action paragraph-a sortzen du

This commit is contained in:
txarli committed 2025-09-09 17:55:57 +02:00
1 parent 8c251caedb
commit 9929d0ef5a
8 files changed
+106 -4

No files matched your search

@@ -27,8 +27,8 @@
"type": "dynamiczone",
"components": [
"paragraph.testua",
"paragraph.youtube",
"paragraph.irudia"
"paragraph.irudia",
"paragraph.call-to-action"
]
}
}
@@ -0,0 +1,19 @@
{
"collectionName": "components_paragraph_call_to_actions",
"info": {
"displayName": "call to action",
"icon": "rocket"
},
"options": {},
"attributes": {
"url": {
"type": "string",
"required": true
},
"label": {
"type": "string",
"required": true
}
},
"config": {}
}
+13
View File
@@ -89,6 +89,18 @@ export interface HasieraUrl extends Struct.ComponentSchema {
};
}
export interface ParagraphCallToAction extends Struct.ComponentSchema {
collectionName: 'components_paragraph_call_to_actions';
info: {
displayName: 'call to action';
icon: 'rocket';
};
attributes: {
label: Schema.Attribute.String & Schema.Attribute.Required;
url: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface ParagraphIrudia extends Struct.ComponentSchema {
collectionName: 'components_paragraph_irudias';
info: {
@@ -135,6 +147,7 @@ declare module '@strapi/strapi' {
'hasiera.parte-hartu': HasieraParteHartu;
'hasiera.parte-hartzea': HasieraParteHartzea;
'hasiera.url': HasieraUrl;
'paragraph.call-to-action': ParagraphCallToAction;
'paragraph.irudia': ParagraphIrudia;
'paragraph.testua': ParagraphTestua;
'paragraph.youtube': ParagraphYoutube;
+1 -1
View File
@@ -495,7 +495,7 @@ export interface ApiOrriBasikoaOrriBasikoa extends Struct.CollectionTypeSchema {
Schema.Attribute.Private;
deskribapena: Schema.Attribute.Text;
edukiLibrea: Schema.Attribute.DynamicZone<
['paragraph.testua', 'paragraph.youtube', 'paragraph.irudia']
['paragraph.testua', 'paragraph.irudia', 'paragraph.call-to-action']
>;
izenburua: Schema.Attribute.String & Schema.Attribute.Required;
locale: Schema.Attribute.String & Schema.Attribute.Private;