@medplum/fhir-router 4.0.3 → 4.0.4
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 +22 -22
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +7 -4
- package/dist/esm/index.d.ts +7 -4
- package/dist/esm/index.mjs +18 -18
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +4 -4
package/dist/cjs/index.d.ts
CHANGED
|
@@ -210,6 +210,7 @@ export declare type FhirResponse = [OperationOutcome] | [OperationOutcome, Resou
|
|
|
210
210
|
|
|
211
211
|
export declare type FhirResponseOptions = {
|
|
212
212
|
contentType?: string;
|
|
213
|
+
forceRawBinaryResponse?: boolean;
|
|
213
214
|
};
|
|
214
215
|
|
|
215
216
|
export declare type FhirRouteHandler = (req: FhirRequest, repo: FhirRepository, router: FhirRouter, options?: FhirRouteOptions) => Promise<FhirResponse>;
|
|
@@ -267,10 +268,12 @@ export declare type PathSegment = {
|
|
|
267
268
|
param?: boolean;
|
|
268
269
|
};
|
|
269
270
|
|
|
270
|
-
export declare
|
|
271
|
-
READER
|
|
272
|
-
WRITER
|
|
273
|
-
}
|
|
271
|
+
export declare const RepositoryMode: {
|
|
272
|
+
readonly READER: "reader";
|
|
273
|
+
readonly WRITER: "writer";
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export declare type RepositoryMode = (typeof RepositoryMode)[keyof typeof RepositoryMode];
|
|
274
277
|
|
|
275
278
|
/** @see http://hl7.org/fhir/R4/codesystem-restful-interaction.html */
|
|
276
279
|
export declare type RestInteraction = CapabilityStatementRestInteraction['code'] | CapabilityStatementRestResourceInteraction['code'] | 'operation';
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -210,6 +210,7 @@ export declare type FhirResponse = [OperationOutcome] | [OperationOutcome, Resou
|
|
|
210
210
|
|
|
211
211
|
export declare type FhirResponseOptions = {
|
|
212
212
|
contentType?: string;
|
|
213
|
+
forceRawBinaryResponse?: boolean;
|
|
213
214
|
};
|
|
214
215
|
|
|
215
216
|
export declare type FhirRouteHandler = (req: FhirRequest, repo: FhirRepository, router: FhirRouter, options?: FhirRouteOptions) => Promise<FhirResponse>;
|
|
@@ -267,10 +268,12 @@ export declare type PathSegment = {
|
|
|
267
268
|
param?: boolean;
|
|
268
269
|
};
|
|
269
270
|
|
|
270
|
-
export declare
|
|
271
|
-
READER
|
|
272
|
-
WRITER
|
|
273
|
-
}
|
|
271
|
+
export declare const RepositoryMode: {
|
|
272
|
+
readonly READER: "reader";
|
|
273
|
+
readonly WRITER: "writer";
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export declare type RepositoryMode = (typeof RepositoryMode)[keyof typeof RepositoryMode];
|
|
274
277
|
|
|
275
278
|
/** @see http://hl7.org/fhir/R4/codesystem-restful-interaction.html */
|
|
276
279
|
export declare type RestInteraction = CapabilityStatementRestInteraction['code'] | CapabilityStatementRestResourceInteraction['code'] | 'operation';
|