Skip to content

Commit

Permalink
Merge pull request #35917 from Expensify/cmartins-addErrosToCategorie…
Browse files Browse the repository at this point in the history
…sType

[No QA] Add errors to Category type
  • Loading branch information
luacmartins authored Feb 7, 2024
2 parents f46c5df + d6fc2ea commit fe61eda
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types/onyx/PolicyCategory.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type * as OnyxCommon from './OnyxCommon';

type PolicyCategory = {
/** Name of a category */
name: string;
Expand All @@ -17,6 +19,9 @@ type PolicyCategory = {

/** The external accounting service that this category comes from */
origin: string;

/** A list of errors keyed by microtime */
errors?: OnyxCommon.Errors;
};

type PolicyCategories = Record<string, PolicyCategory>;
Expand Down

0 comments on commit fe61eda

Please sign in to comment.