From 95fd88b79f60b1512b09c176101d5f874a2279d7 Mon Sep 17 00:00:00 2001 From: Garrett Rabian Date: Mon, 16 Oct 2023 13:06:56 -0400 Subject: [PATCH] update pccm types --- services/app-api/utils/types/reports.ts | 4 ++-- services/ui-src/src/types/reportContext.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/app-api/utils/types/reports.ts b/services/app-api/utils/types/reports.ts index f5e1e6805..c2ecc8fb2 100644 --- a/services/app-api/utils/types/reports.ts +++ b/services/app-api/utils/types/reports.ts @@ -1,4 +1,4 @@ -import { FormJson, ModalOverlayReportPageShape } from "./formFields"; +import { Choice, FormJson, ModalOverlayReportPageShape } from "./formFields"; import { AnyObject, CompletionData, CustomHtmlElement, State } from "./other"; // REPORT STRUCTURE @@ -151,7 +151,7 @@ export interface MCPARReportMetadata extends ReportMetadata { reportingPeriodEndDate: number; dueDate: number; combinedData: boolean; - programIsPCCM: AnyObject[]; + programIsPCCM: Choice[]; } /** diff --git a/services/ui-src/src/types/reportContext.ts b/services/ui-src/src/types/reportContext.ts index b7420b658..2249deb2f 100644 --- a/services/ui-src/src/types/reportContext.ts +++ b/services/ui-src/src/types/reportContext.ts @@ -1,6 +1,6 @@ // REPORT PROVIDER/CONTEXT -import { AnyObject, ReportJson } from "types"; +import { AnyObject, Choice, ReportJson } from "types"; export interface ReportKeys { reportType: string; @@ -28,7 +28,7 @@ export interface ReportMetadataShape extends ReportKeys { locked?: boolean; fieldDataId: string; copyFieldDataSourceId?: string; - programIsPCCM?: AnyObject[]; + programIsPCCM?: Choice[]; } export interface ReportShape extends ReportMetadataShape {