add hudozka related apis and components
This commit is contained in:
1 parent
f8ff53355e
commit
6f7648e15d
14 files changed
+295
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"collectionName": "components_hudozka_documents",
|
||||
"info": {
|
||||
"name": "Document",
|
||||
"icon": "file"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"media": {
|
||||
"model": "file",
|
||||
"via": "related",
|
||||
"allowedTypes": [
|
||||
"files"
|
||||
],
|
||||
"plugin": "upload",
|
||||
"required": false
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"collectionName": "components_hudozka_embeds",
|
||||
"info": {
|
||||
"name": "Embed",
|
||||
"icon": "vial"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"src": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"collectionName": "components_hudozka_images",
|
||||
"info": {
|
||||
"name": "Image",
|
||||
"icon": "image"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"media": {
|
||||
"model": "file",
|
||||
"via": "related",
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"plugin": "upload",
|
||||
"required": true
|
||||
},
|
||||
"wide": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"collectionName": "components_hudozka_texts",
|
||||
"info": {
|
||||
"name": "Text",
|
||||
"icon": "candy-cane"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"text": {
|
||||
"type": "richtext",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user