Skip to content

Commit c24bbf2

Browse files
committed
rename FhirServerClient to AidboxClient
1 parent 1d1c210 commit c24bbf2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/aidbox-client/src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import type {
2525
import type { OperationOutcome } from "./fhir-types/hl7-fhir-r4-core";
2626
import { Err, Ok, type Result } from "./result";
2727
import type {
28+
AidboxClient,
2829
ClientParams,
29-
FhirServerClient,
3030
RequestParams,
3131
ResourceResponse,
3232
ResponseWithMeta,
@@ -101,7 +101,7 @@ const basePath = "fhir";
101101
export function makeClient<TBundle, TOperationOutcome, TUser>({
102102
baseUrl,
103103
authProvider,
104-
}: ClientParams): FhirServerClient<TBundle, TOperationOutcome, TUser> {
104+
}: ClientParams): AidboxClient<TBundle, TOperationOutcome, TUser> {
105105
const getBaseUrl = (): string => {
106106
return baseUrl;
107107
};

packages/aidbox-client/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class ErrorResponse extends Error {
9292
}
9393
}
9494

95-
export type FhirServerClient<
95+
export type AidboxClient<
9696
TBundle = Bundle,
9797
TOperationOutcome = OperationOutcome,
9898
TUser = User,

0 commit comments

Comments
 (0)