Skip to content

Commit b380717

Browse files
authored
Merge pull request #46 from fleetbase/feat/waypoint-pod-notes-columns
feat(waypoint): add notes, pod_method, pod_required and time window attributes
2 parents 6063ad2 + eb2aed5 commit b380717

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

addon/models/waypoint.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,13 @@ export default class WaypointModel extends PlaceModel {
2121
@attr('string') status_code;
2222
@attr('string') type;
2323
@attr('number') order;
24+
// Orchestrator time windows
25+
@attr('date') time_window_start;
26+
@attr('date') time_window_end;
27+
@attr('number') service_time;
28+
// Per-stop POD and notes (mirrors order-level fields;
29+
// used as fallback until per-waypoint POD is implemented in driver app)
30+
@attr('string') notes;
31+
@attr('string') pod_method;
32+
@attr('boolean') pod_required;
2433
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fleetbase/fleetops-data",
3-
"version": "0.1.26",
3+
"version": "0.1.27",
44
"description": "Fleetbase Fleet-Ops based models, serializers, transforms, adapters and GeoJson utility functions.",
55
"keywords": [
66
"fleetbase-data",

0 commit comments

Comments
 (0)