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