From c24bbf2bc5064b5219ca5d3e1dca62b995fcddbf Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Wed, 3 Dec 2025 17:18:09 +0300 Subject: [PATCH] rename FhirServerClient to AidboxClient --- packages/aidbox-client/src/client.ts | 4 ++-- packages/aidbox-client/src/types.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/aidbox-client/src/client.ts b/packages/aidbox-client/src/client.ts index 30f9d214..e5c25e71 100644 --- a/packages/aidbox-client/src/client.ts +++ b/packages/aidbox-client/src/client.ts @@ -25,8 +25,8 @@ import type { import type { OperationOutcome } from "./fhir-types/hl7-fhir-r4-core"; import { Err, Ok, type Result } from "./result"; import type { + AidboxClient, ClientParams, - FhirServerClient, RequestParams, ResourceResponse, ResponseWithMeta, @@ -101,7 +101,7 @@ const basePath = "fhir"; export function makeClient({ baseUrl, authProvider, -}: ClientParams): FhirServerClient { +}: ClientParams): AidboxClient { const getBaseUrl = (): string => { return baseUrl; }; diff --git a/packages/aidbox-client/src/types.ts b/packages/aidbox-client/src/types.ts index 4c81c6b9..fa2fbb7d 100644 --- a/packages/aidbox-client/src/types.ts +++ b/packages/aidbox-client/src/types.ts @@ -92,7 +92,7 @@ export class ErrorResponse extends Error { } } -export type FhirServerClient< +export type AidboxClient< TBundle = Bundle, TOperationOutcome = OperationOutcome, TUser = User,