mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
fix(plugins): hand a visit's stay_minutes to plugins in the assignment output contract (#3092)
This commit is contained in:
@@ -619,6 +619,7 @@ export const PLUGIN_ENTITY_FIELDS = {
|
||||
'accommodation_id',
|
||||
'tour_stage_key',
|
||||
'created_at',
|
||||
'stay_minutes',
|
||||
'participants',
|
||||
'tour_place_id',
|
||||
'tour_route_geometry',
|
||||
|
||||
@@ -275,6 +275,7 @@ export const PLUGIN_ENTITY_CONTRACT = {
|
||||
'accommodation_id',
|
||||
'tour_stage_key',
|
||||
'created_at',
|
||||
'stay_minutes',
|
||||
],
|
||||
withheld: [],
|
||||
// The assignment read model names its fields one by one, its `place` included.
|
||||
|
||||
Reference in New Issue
Block a user