add content, add swagger

This commit is contained in:
Zotov Ivan Yuryevich
2026-04-05 15:06:27 +03:00
parent 981a01e8ef
commit 2ed71cfa30
24 changed files with 11889 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
{
"collectionName": "components_sections_home_heroes",
"info": {
"displayName": "HomeHero"
},
"options": {},
"attributes": {
"title": {
"type": "string"
},
"description": {
"type": "text"
},
"badge": {
"type": "string"
},
"stats": {
"type": "component",
"component": "shared.attribute",
"repeatable": true
}
},
"config": {}
}

View File

@@ -0,0 +1,18 @@
{
"collectionName": "components_shared_attributes",
"info": {
"displayName": "Attribute"
},
"options": {},
"attributes": {
"key": {
"type": "string",
"required": false
},
"value": {
"type": "string",
"required": false
}
},
"config": {}
}

View File

@@ -0,0 +1,14 @@
{
"collectionName": "components_shared_products",
"info": {
"displayName": "Product"
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true
}
},
"config": {}
}