Skip to content

Commit

Permalink
Merge pull request #37023 from Expensify/cmartins-addCustomUnitRateEn…
Browse files Browse the repository at this point in the history
…abled

Update customUnit and customUnitRate types
  • Loading branch information
luacmartins authored Feb 21, 2024
2 parents 20ca041 + 566c0e8 commit 70c65c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types/onyx/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type Rate = {
customUnitRateID?: string;
errors?: OnyxCommon.Errors;
pendingAction?: OnyxCommon.PendingAction;
enabled?: boolean;
};

type Attributes = {
Expand All @@ -22,6 +23,8 @@ type CustomUnit = {
customUnitID: string;
attributes: Attributes;
rates: Record<string, Rate>;
defaultCategory?: string;
enabled?: boolean;
pendingAction?: OnyxCommon.PendingAction;
errors?: OnyxCommon.Errors;
};
Expand Down

0 comments on commit 70c65c1

Please sign in to comment.