Multiple previous/next content for a content
This commit is contained in:
parent
cd0cc4c995
commit
4a2e013397
|
@ -58,6 +58,18 @@
|
|||
"relation": "manyToOne",
|
||||
"target": "api::contents-folder.contents-folder",
|
||||
"inversedBy": "contents"
|
||||
},
|
||||
"next_contents": {
|
||||
"type": "relation",
|
||||
"relation": "manyToMany",
|
||||
"target": "api::content.content",
|
||||
"inversedBy": "previous_contents"
|
||||
},
|
||||
"previous_contents": {
|
||||
"type": "relation",
|
||||
"relation": "manyToMany",
|
||||
"target": "api::content.content",
|
||||
"inversedBy": "next_contents"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,11 +41,6 @@
|
|||
"relation": "oneToMany",
|
||||
"target": "api::content.content",
|
||||
"mappedBy": "folder"
|
||||
},
|
||||
"sequence": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -558,6 +558,9 @@
|
|||
},
|
||||
"level_x": {
|
||||
"type": "string"
|
||||
},
|
||||
"player_name_tooltip": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,6 +30,21 @@
|
|||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::language.language"
|
||||
},
|
||||
"transcribers": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::recorder.recorder"
|
||||
},
|
||||
"translators": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::recorder.recorder"
|
||||
},
|
||||
"proofreaders": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::recorder.recorder"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue