Adding motion recommendation extension references as relations

This commit is contained in:
Finn Stutzenstein 2020-08-11 15:14:11 +02:00
parent 37d3591d69
commit 5e0eda112d
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
2 changed files with 10 additions and 0 deletions

View File

@ -1198,6 +1198,8 @@
"forwarding_tree_motion_ids": [], "forwarding_tree_motion_ids": [],
"state_id": 1, "state_id": 1,
"recommendation_id": null, "recommendation_id": null,
"recommendation_extension_reference_ids": [],
"referenced_in_motion_recommendation_extension_ids": [],
"category_id": 2, "category_id": 2,
"block_id": null, "block_id": null,
"submitter_ids": [1], "submitter_ids": [1],
@ -1240,6 +1242,8 @@
"forwarding_tree_motion_ids": [], "forwarding_tree_motion_ids": [],
"state_id": 1, "state_id": 1,
"recommendation_id": null, "recommendation_id": null,
"recommendation_extension_reference_ids": [],
"referenced_in_motion_recommendation_extension_ids": [],
"category_id": 1, "category_id": 1,
"block_id": null, "block_id": null,
"submitter_ids": [2], "submitter_ids": [2],
@ -1282,6 +1286,8 @@
"forwarding_tree_motion_ids": [], "forwarding_tree_motion_ids": [],
"state_id": 1, "state_id": 1,
"recommendation_id": null, "recommendation_id": null,
"recommendation_extension_reference_ids": [],
"referenced_in_motion_recommendation_extension_ids": [],
"category_id": 2, "category_id": 2,
"block_id": 1, "block_id": 1,
"submitter_ids": [3], "submitter_ids": [3],
@ -1311,6 +1317,8 @@
"category_weight": 10000, "category_weight": 10000,
"state_extension": null, "state_extension": null,
"recommendation_extension": null, "recommendation_extension": null,
"recommendation_extension_reference_ids": [],
"referenced_in_motion_recommendation_extension_ids": [],
"sort_weight": 10000, "sort_weight": 10000,
"created": 1584512346, "created": 1584512346,
"last_modified": 1584512346, "last_modified": 1584512346,

View File

@ -430,6 +430,8 @@ Interface motion {
forwarding_tree_motion_ids: (Id)[]; // Calculated: All children (derived_motion_ids), grand children, ... and all parents (origin_id). forwarding_tree_motion_ids: (Id)[]; // Calculated: All children (derived_motion_ids), grand children, ... and all parents (origin_id).
state_id: motion_state/motion_ids; state_id: motion_state/motion_ids;
recommendation_id: motion_state/motion_recommendation_ids; recommendation_id: motion_state/motion_recommendation_ids;
recommendation_extension_reference_ids: (*/referenced_in_motion_recommendation_extension_ids)[]; // current option: motion
referenced_in_motion_recommendation_extension_ids: (motion/recommendation_extension_reference_ids)[];
category_id: motion_category/motion_ids; category_id: motion_category/motion_ids;
block_id: motion_block/motion_ids; block_id: motion_block/motion_ids;
submitter_ids: (motion_submitter/motion_id)[]; submitter_ids: (motion_submitter/motion_id)[];