@medplum/fhir-router 3.2.18 → 3.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +32 -32
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +6 -2
- package/dist/esm/index.d.ts +6 -2
- package/dist/esm/index.mjs +32 -32
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +4 -4
package/dist/cjs/index.d.ts
CHANGED
|
@@ -200,12 +200,16 @@ export declare type FhirRequest = {
|
|
|
200
200
|
export declare type FhirRequestConfig = {
|
|
201
201
|
graphqlBatchedSearchSize?: number;
|
|
202
202
|
graphqlMaxDepth?: number;
|
|
203
|
-
graphqlMaxPageSize?: number;
|
|
204
203
|
graphqlMaxSearches?: number;
|
|
204
|
+
searchOnReader?: boolean;
|
|
205
205
|
transactions?: boolean;
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export declare type FhirResponse = [OperationOutcome] | [OperationOutcome, Resource];
|
|
208
|
+
export declare type FhirResponse = [OperationOutcome] | [OperationOutcome, Resource] | [OperationOutcome, Resource, FhirResponseOptions];
|
|
209
|
+
|
|
210
|
+
export declare type FhirResponseOptions = {
|
|
211
|
+
contentType?: string;
|
|
212
|
+
};
|
|
209
213
|
|
|
210
214
|
export declare type FhirRouteHandler = (req: FhirRequest, repo: FhirRepository, router: FhirRouter, options?: FhirRouteOptions) => Promise<FhirResponse>;
|
|
211
215
|
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -200,12 +200,16 @@ export declare type FhirRequest = {
|
|
|
200
200
|
export declare type FhirRequestConfig = {
|
|
201
201
|
graphqlBatchedSearchSize?: number;
|
|
202
202
|
graphqlMaxDepth?: number;
|
|
203
|
-
graphqlMaxPageSize?: number;
|
|
204
203
|
graphqlMaxSearches?: number;
|
|
204
|
+
searchOnReader?: boolean;
|
|
205
205
|
transactions?: boolean;
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export declare type FhirResponse = [OperationOutcome] | [OperationOutcome, Resource];
|
|
208
|
+
export declare type FhirResponse = [OperationOutcome] | [OperationOutcome, Resource] | [OperationOutcome, Resource, FhirResponseOptions];
|
|
209
|
+
|
|
210
|
+
export declare type FhirResponseOptions = {
|
|
211
|
+
contentType?: string;
|
|
212
|
+
};
|
|
209
213
|
|
|
210
214
|
export declare type FhirRouteHandler = (req: FhirRequest, repo: FhirRepository, router: FhirRouter, options?: FhirRouteOptions) => Promise<FhirResponse>;
|
|
211
215
|
|