Minimalist schemas
This commit is contained in:
@@ -8,15 +8,12 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"increments": true,
|
|
||||||
"timestamps": true,
|
|
||||||
"draftAndPublish": true
|
"draftAndPublish": true
|
||||||
},
|
},
|
||||||
|
"pluginOptions": {},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"alias": {
|
"alias": {
|
||||||
"type": "string",
|
"type": "string"
|
||||||
"unique": true,
|
|
||||||
"required": true
|
|
||||||
},
|
},
|
||||||
"prenon": {
|
"prenon": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@@ -30,34 +27,8 @@
|
|||||||
"nesans": {
|
"nesans": {
|
||||||
"type": "date"
|
"type": "date"
|
||||||
},
|
},
|
||||||
"foto": {
|
|
||||||
"collection": "file",
|
|
||||||
"via": "related",
|
|
||||||
"allowedTypes": [
|
|
||||||
"images"
|
|
||||||
],
|
|
||||||
"plugin": "upload",
|
|
||||||
"required": false,
|
|
||||||
"pluginOptions": {}
|
|
||||||
},
|
|
||||||
"teks": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::tek.tek",
|
|
||||||
"inversedBy": "awtis"
|
|
||||||
},
|
|
||||||
"users_permissions_user": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "plugin::users-permissions.user"
|
|
||||||
},
|
|
||||||
"slug": {
|
"slug": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
|
||||||
"admin_user": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "admin::user"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,29 +8,14 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"increments": true,
|
"draftAndPublish": true
|
||||||
"timestamps": true,
|
|
||||||
"draftAndPublish": true,
|
|
||||||
"privateAttributes": [
|
|
||||||
"createdAt",
|
|
||||||
"updatedAt"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
"pluginOptions": {},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"kontni": {
|
"kontni": {
|
||||||
"type": "richtext",
|
"type": "richtext",
|
||||||
"required": true
|
"required": true
|
||||||
},
|
},
|
||||||
"users_permissions_user": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "plugin::users-permissions.user"
|
|
||||||
},
|
|
||||||
"teks": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "api::tek.tek"
|
|
||||||
},
|
|
||||||
"sentAt": {
|
"sentAt": {
|
||||||
"type": "datetime",
|
"type": "datetime",
|
||||||
"required": true
|
"required": true
|
||||||
|
|||||||
@@ -8,10 +8,9 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"increments": true,
|
|
||||||
"timestamps": true,
|
|
||||||
"draftAndPublish": true
|
"draftAndPublish": true
|
||||||
},
|
},
|
||||||
|
"pluginOptions": {},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"tit": {
|
"tit": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -21,69 +20,23 @@
|
|||||||
"type": "richtext",
|
"type": "richtext",
|
||||||
"required": true
|
"required": true
|
||||||
},
|
},
|
||||||
"tradiksyon": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": false,
|
|
||||||
"component": "trad.traductions"
|
|
||||||
},
|
|
||||||
"lanne": {
|
"lanne": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"lyen": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": true,
|
|
||||||
"component": "url.liens"
|
|
||||||
},
|
|
||||||
"awtis": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::awti.awti",
|
|
||||||
"mappedBy": "teks"
|
|
||||||
},
|
|
||||||
"kouteyAchtey": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": true,
|
|
||||||
"component": "store.store"
|
|
||||||
},
|
|
||||||
"slug": {
|
"slug": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"kouveti": {
|
|
||||||
"model": "file",
|
|
||||||
"via": "related",
|
|
||||||
"allowedTypes": [
|
|
||||||
"images"
|
|
||||||
],
|
|
||||||
"plugin": "upload",
|
|
||||||
"required": false,
|
|
||||||
"pluginOptions": {}
|
|
||||||
},
|
|
||||||
"okiMizikID": {
|
"okiMizikID": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"users_permissions_user": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "plugin::users-permissions.user"
|
|
||||||
},
|
|
||||||
"eksplisit": {
|
"eksplisit": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"komante": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "api::komant.komant"
|
|
||||||
},
|
|
||||||
"forceSlug": {
|
"forceSlug": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"tradiksyonOtomatik": {
|
"tradiksyonOtomatik": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
|
||||||
"admin_user": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToOne",
|
|
||||||
"target": "admin::user"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user