Skip to content

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Dec 20, 2023
1 parent 8b90f17 commit 51eda35
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 2 additions & 2 deletions apps/demo-renderer-app/src/components/LaunchContextPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion apps/demo-renderer-app/src/hooks/useLaunchContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion apps/demo-renderer-app/src/utils/humanName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down
3 changes: 2 additions & 1 deletion apps/demo-renderer-app/src/utils/populate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Empty file removed deployment/csiro/package.json
Empty file.

0 comments on commit 51eda35

Please sign in to comment.