You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
959 B
JSON
54 lines
959 B
JSON
{
|
|
"kind": "collectionType",
|
|
"collectionName": "functions",
|
|
"info": {
|
|
"name": "function",
|
|
"description": ""
|
|
},
|
|
"options": {
|
|
"increments": true,
|
|
"timestamps": true,
|
|
"draftAndPublish": true
|
|
},
|
|
"pluginOptions": {},
|
|
"attributes": {
|
|
"name": {
|
|
"type": "string",
|
|
"unique": true,
|
|
"required": true
|
|
},
|
|
"script": {
|
|
"model": "file",
|
|
"via": "related",
|
|
"allowedTypes": [
|
|
"files",
|
|
"images",
|
|
"videos"
|
|
],
|
|
"plugin": "upload",
|
|
"required": true,
|
|
"pluginOptions": {}
|
|
},
|
|
"input": {
|
|
"type": "dynamiczone",
|
|
"components": [
|
|
"argument.input"
|
|
],
|
|
"required": true,
|
|
"min": 1
|
|
},
|
|
"output": {
|
|
"type": "dynamiczone",
|
|
"components": [
|
|
"argument.input"
|
|
],
|
|
"required": true,
|
|
"min": 1
|
|
},
|
|
"description": {
|
|
"type": "richtext",
|
|
"required": true
|
|
}
|
|
}
|
|
}
|