From 6dbc81eb6db46db01a1251838042d1b412a61592 Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Wed, 31 Jan 2024 13:33:31 +0200 Subject: [PATCH 1/2] Add newest auto reporting frequency --- src/CONST.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CONST.ts b/src/CONST.ts index 1ccdfd9a82a8..f434aa281866 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -1301,6 +1301,7 @@ const CONST = { USER: 'user', }, AUTO_REPORTING_FREQUENCIES: { + INSTANT: 'instant', IMMEDIATE: 'immediate', WEEKLY: 'weekly', SEMI_MONTHLY: 'semimonthly', From c9113e75123723f3a225234ed2d60431472f96fd Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Wed, 31 Jan 2024 13:33:48 +0200 Subject: [PATCH 2/2] Fix comment typo --- src/types/onyx/Policy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/onyx/Policy.ts b/src/types/onyx/Policy.ts index eca7e9d1ee06..2a3477ba7c2c 100644 --- a/src/types/onyx/Policy.ts +++ b/src/types/onyx/Policy.ts @@ -85,7 +85,7 @@ type Policy = { /** Whether the auto reporting is enabled */ autoReporting?: boolean; - /** The scheduled submit frequency set up on the this policy */ + /** The scheduled submit frequency set up on this policy */ autoReportingFrequency?: ValueOf; /** Whether the scheduled submit is enabled */