-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add use_rent_override_receivable_type to service units
- Loading branch information
1 parent
a3280fe
commit fb1f3f3
Showing
7 changed files
with
35 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import type { Action } from "@/types"; | ||
export type ServiceUnit = { id: number, name: string }; | ||
export type ServiceUnits = Array<Record<string, any>>; | ||
export type ServiceUnit = { id: number, name: string, use_rent_override_receivable_type: boolean }; | ||
export type ServiceUnits = Array<ServiceUnit>; | ||
export type ServiceUnitState = { | ||
isFetching: boolean; | ||
serviceUnits: ServiceUnits; | ||
}; | ||
export type FetchServiceUnitsAction = Action<string, void>; | ||
export type ReceiveServiceUnitsAction = Action<string, ServiceUnits>; | ||
export type ServiceUnitsNotFoundAction = Action<string, void>; | ||
export type ServiceUnitsNotFoundAction = Action<string, void>; |