mirror of
https://github.com/strapi/strapi.git
synced 2026-01-05 03:38:09 +00:00
52 lines
814 B
JSON
52 lines
814 B
JSON
{
|
|
"connection": "default",
|
|
"collectionName": "articles",
|
|
"info": {
|
|
"name": "article",
|
|
"description": ""
|
|
},
|
|
"options": {
|
|
"increments": true,
|
|
"timestamps": [
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"comment": ""
|
|
},
|
|
"attributes": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "text"
|
|
},
|
|
"json": {
|
|
"type": "string"
|
|
},
|
|
"number": {
|
|
"type": "integer"
|
|
},
|
|
"date": {
|
|
"type": "date"
|
|
},
|
|
"enum": {
|
|
"enum": [
|
|
"morning,",
|
|
"noon"
|
|
],
|
|
"type": "enumeration"
|
|
},
|
|
"pic": {
|
|
"model": "file",
|
|
"via": "related",
|
|
"plugin": "upload"
|
|
},
|
|
"bool": {
|
|
"type": "boolean"
|
|
},
|
|
"tags": {
|
|
"collection": "tag",
|
|
"via": "articles"
|
|
}
|
|
}
|
|
} |