Added next, previous content

This commit is contained in:
DrMint 2022-05-14 15:46:03 +02:00
parent c4a0b27ac3
commit b77f893f42
1 changed files with 12 additions and 0 deletions

View File

@ -65,6 +65,18 @@
"allowedTypes": [ "allowedTypes": [
"images" "images"
] ]
},
"next_recommended": {
"type": "relation",
"relation": "oneToOne",
"target": "api::content.content",
"inversedBy": "previous_recommended"
},
"previous_recommended": {
"type": "relation",
"relation": "oneToOne",
"target": "api::content.content",
"inversedBy": "next_recommended"
} }
} }
} }