diff --git a/apps/demo-renderer-app/src/components/LaunchContextDetails.tsx b/apps/demo-renderer-app/src/components/LaunchContextDetails.tsx index 3a1f75adc..dc041d24d 100644 --- a/apps/demo-renderer-app/src/components/LaunchContextDetails.tsx +++ b/apps/demo-renderer-app/src/components/LaunchContextDetails.tsx @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Patient, Practitioner } from 'fhir/r4'; +import type { Patient, Practitioner } from 'fhir/r4'; import '../styles.css'; import { getDisplayName } from '../utils/humanName.ts'; diff --git a/apps/demo-renderer-app/src/components/LaunchContextPicker.tsx b/apps/demo-renderer-app/src/components/LaunchContextPicker.tsx index 24329bbdc..ec9e8232f 100644 --- a/apps/demo-renderer-app/src/components/LaunchContextPicker.tsx +++ b/apps/demo-renderer-app/src/components/LaunchContextPicker.tsx @@ -15,9 +15,9 @@ * limitations under the License. */ -import { Patient, Practitioner } from 'fhir/r4'; +import type { Patient, Practitioner } from 'fhir/r4'; import '../styles.css'; -import { ChangeEvent } from 'react'; +import type { ChangeEvent } from 'react'; import useLaunchContext from '../hooks/useLaunchContext.ts'; import { patientIsValid, practitionerIsValid } from '../utils/fetchResource.ts'; diff --git a/apps/demo-renderer-app/src/hooks/useLaunchContext.ts b/apps/demo-renderer-app/src/hooks/useLaunchContext.ts index 94f82015d..399887915 100644 --- a/apps/demo-renderer-app/src/hooks/useLaunchContext.ts +++ b/apps/demo-renderer-app/src/hooks/useLaunchContext.ts @@ -16,7 +16,7 @@ */ import { useQuery } from '@tanstack/react-query'; -import { Bundle } from 'fhir/r4'; +import type { Bundle } from 'fhir/r4'; import { fetchResource } from '../utils/fetchResource.ts'; import { PATIENT_QUERY, PRACTITIONER_QUERY } from '../utils/apiConstants.ts'; diff --git a/apps/demo-renderer-app/src/utils/humanName.ts b/apps/demo-renderer-app/src/utils/humanName.ts index c3ad09372..bf4fcfaae 100644 --- a/apps/demo-renderer-app/src/utils/humanName.ts +++ b/apps/demo-renderer-app/src/utils/humanName.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { HumanName } from 'fhir/r4'; +import type { HumanName } from 'fhir/r4'; export function getDisplayName(name: HumanName[] | undefined): string { if (name?.[0]['text']) { diff --git a/apps/demo-renderer-app/src/utils/populate.ts b/apps/demo-renderer-app/src/utils/populate.ts index 54adb0396..32e483594 100644 --- a/apps/demo-renderer-app/src/utils/populate.ts +++ b/apps/demo-renderer-app/src/utils/populate.ts @@ -33,7 +33,8 @@ import type { ResponseParameter } from '@aehrc/sdc-populate'; import { isInputParameters, isOutputParameters, populate } from '@aehrc/sdc-populate'; -import { fetchResourceCallback, RequestConfig } from './populateCallback'; +import type { RequestConfig } from './populateCallback'; +import { fetchResourceCallback } from './populateCallback'; import { createPopulateInputParameters } from './populateInputParams'; export const REQUEST_CONFIG: RequestConfig = { diff --git a/deployment/csiro/package.json b/deployment/csiro/package.json deleted file mode 100644 index e69de29bb..000000000