feat: menua eguneratzen du (#10)
* feat: menua eguneratzen du * ignore: komentarioa
This commit is contained in:
Binary file not shown.
@@ -20,46 +20,12 @@
|
||||
"type": "text",
|
||||
"required": true
|
||||
},
|
||||
"edariBeroak": {
|
||||
"displayName": "edaria",
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"infusioEkologikoak": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"edariHotzak": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"pikatzekoak": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"gozoak": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"anizkoJogurta": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"tostadak": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
},
|
||||
"konboak": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria"
|
||||
"menua": {
|
||||
"type": "dynamiczone",
|
||||
"components": [
|
||||
"kafetegia.produktu-taldea",
|
||||
"kafetegia.izenburua"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
15
back/src/components/kafetegia/izenburua.json
Normal file
15
back/src/components/kafetegia/izenburua.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"collectionName": "components_kafetegia_izenburuas",
|
||||
"info": {
|
||||
"displayName": "Izenburua",
|
||||
"icon": "strikeThrough",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"izenburuBalioa": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
19
back/src/components/kafetegia/produktu-taldea.json
Normal file
19
back/src/components/kafetegia/produktu-taldea.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"collectionName": "components_kafetegia_produktu_taldeas",
|
||||
"info": {
|
||||
"displayName": "Produktu taldea"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"izenburua": {
|
||||
"type": "string"
|
||||
},
|
||||
"produktuak": {
|
||||
"displayName": "produktuak",
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "kafetegia.edaria",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
26
back/types/generated/components.d.ts
vendored
26
back/types/generated/components.d.ts
vendored
@@ -67,6 +67,30 @@ export interface KafetegiaEdaria extends Schema.Component {
|
||||
};
|
||||
}
|
||||
|
||||
export interface KafetegiaIzenburua extends Schema.Component {
|
||||
collectionName: 'components_kafetegia_izenburuas';
|
||||
info: {
|
||||
displayName: 'Izenburua';
|
||||
icon: 'strikeThrough';
|
||||
description: '';
|
||||
};
|
||||
attributes: {
|
||||
izenburuBalioa: Attribute.String & Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface KafetegiaProduktuTaldea extends Schema.Component {
|
||||
collectionName: 'components_kafetegia_produktu_taldeas';
|
||||
info: {
|
||||
displayName: 'Produktu taldea';
|
||||
};
|
||||
attributes: {
|
||||
izenburua: Attribute.String;
|
||||
produktuak: Attribute.Component<'kafetegia.edaria', true> &
|
||||
Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface OrokorraDatuOrokorrak extends Schema.Component {
|
||||
collectionName: 'components_orokorra_datu_orokorraks';
|
||||
info: {
|
||||
@@ -97,6 +121,8 @@ declare module '@strapi/types' {
|
||||
export interface Components {
|
||||
'kafetegia.alergenoa': KafetegiaAlergenoa;
|
||||
'kafetegia.edaria': KafetegiaEdaria;
|
||||
'kafetegia.izenburua': KafetegiaIzenburua;
|
||||
'kafetegia.produktu-taldea': KafetegiaProduktuTaldea;
|
||||
'orokorra.datu-orokorrak': OrokorraDatuOrokorrak;
|
||||
'orokorra.helbidea': OrokorraHelbidea;
|
||||
}
|
||||
|
||||
11
back/types/generated/contentTypes.d.ts
vendored
11
back/types/generated/contentTypes.d.ts
vendored
@@ -724,14 +724,9 @@ export interface ApiKafetegiaKafetegia extends Schema.SingleType {
|
||||
attributes: {
|
||||
izenburua: Attribute.String & Attribute.Required;
|
||||
deskribapena: Attribute.Text & Attribute.Required;
|
||||
edariBeroak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
infusioEkologikoak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
edariHotzak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
pikatzekoak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
gozoak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
anizkoJogurta: Attribute.Component<'kafetegia.edaria'>;
|
||||
tostadak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
konboak: Attribute.Component<'kafetegia.edaria', true>;
|
||||
menua: Attribute.DynamicZone<
|
||||
['kafetegia.produktu-taldea', 'kafetegia.izenburua']
|
||||
>;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
publishedAt: Attribute.DateTime;
|
||||
|
||||
Reference in New Issue
Block a user