Skip to content

Commit

Permalink
Merge pull request #148 from Vizzuality/remove_temporary_1-1_resource…
Browse files Browse the repository at this point in the history
…_type

Revert "Temporarily add back 1-1 relationship for backwards compatibility"
  • Loading branch information
Agnieszka Figiel authored Jan 22, 2024
2 parents 52f67af + e4c4494 commit cea4daf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions cms/src/api/data-tool/content-types/data-tool/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
"target": "api::data-tool-language.data-tool-language",
"mappedBy": "data_tool"
},
"data_tool_resource_type": {
"type": "relation",
"relation": "oneToOne",
"target": "api::data-tool-resource-type.data-tool-resource-type"
},
"data_tool_resource_types": {
"type": "relation",
"relation": "oneToMany",
Expand Down
5 changes: 0 additions & 5 deletions cms/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,11 +765,6 @@ export interface ApiDataToolDataTool extends Schema.CollectionType {
'oneToMany',
'api::data-tool-language.data-tool-language'
>;
data_tool_resource_type: Attribute.Relation<
'api::data-tool.data-tool',
'oneToOne',
'api::data-tool-resource-type.data-tool-resource-type'
>;
data_tool_resource_types: Attribute.Relation<
'api::data-tool.data-tool',
'oneToMany',
Expand Down

0 comments on commit cea4daf

Please sign in to comment.