All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
deleteAssignment
in favour ofexpireAssignment
deleteDutyRecurrence
in favour ofexpireDutyRecurrence
models/Courthouse.location
has been removed as it was not being used
Original | New |
---|---|
GetCourthouses |
GetLocations |
CreateCourthouse |
CreateLocation |
GetCourthouseById |
GetLocationById |
UpdateCourthouse |
UpdateLocation |
DeleteCourthouse |
DeleteLocation |
GetRuns |
GetEscortRuns |
CreateRun |
CreateEscortRun |
GetRunById |
GetEscortRunById |
UpdateRun |
UpdateEscortRun |
DeleteRun |
DeleteEscortRun |
Original | New |
---|---|
Courthouse |
Location |
Courthouse.parentCourthouseId |
Location.parentLocationId |
Assignment.courthouseId |
Assignment.locationId |
Assignment.runId |
Assignment.escortRunId |
Sheriff.homeCourthouseId |
Sheriff.homeLocationId |
Sheriff.currentCourthouseId |
Sheriff.currentLocationId |
Courtroom.courthouseId |
Courtroom.locationId |
Run |
EscortRun |
Run.courthouseId |
EscortRun.locationId |
Shift.courthouseId |
Shift.locationId |
ShiftCopyOptions.courthouseId |
ShiftCopyOptions.locationId |
DutyImportDefaultsRequest.courthouseId |
DutyImportDefaultsRequest.locationId |
SheriffDutyAutoAssignRequest.courthouseId |
SheriffDutyAutoAssignRequest.locationId |
Type | Original | New |
---|---|---|
Service | CourthouseService |
LocationService |
Controller | CourthouseController |
LocationController |
Endpoint | /courthouses |
/locations |
Model Changes described above apply to both the client and backend of the API
- Added assignment id field to Shift to support auto assign feature
- order field to Sheriff Rank Codes to support sorting by rank of sheriffs
- New endpoint for auto assigning sheriffs to shifts
- Common data types (
TimeType
,DateType
,TimeRange
) - Time range utils