@medplum/core 2.1.5 → 2.1.7
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/types/client.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ReadablePromise } from './readablepromise';
|
|
|
8
8
|
import { ClientStorage } from './storage';
|
|
9
9
|
import { CodeChallengeMethod, ProfileResource } from './utils';
|
|
10
10
|
export declare const MEDPLUM_VERSION: string;
|
|
11
|
+
export declare const DEFAULT_ACCEPT: string;
|
|
11
12
|
/**
|
|
12
13
|
* The MedplumClientOptions interface defines configuration options for MedplumClient.
|
|
13
14
|
*
|
package/dist/types/outcomes.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare function validationError(details: string): OperationOutcome;
|
|
|
14
14
|
export declare function serverError(err: Error): OperationOutcome;
|
|
15
15
|
export declare function isOperationOutcome(value: unknown): value is OperationOutcome;
|
|
16
16
|
export declare function isOk(outcome: OperationOutcome): boolean;
|
|
17
|
+
export declare function isCreated(outcome: OperationOutcome): boolean;
|
|
17
18
|
export declare function isAccepted(outcome: OperationOutcome): boolean;
|
|
18
19
|
export declare function isNotFound(outcome: OperationOutcome): boolean;
|
|
19
20
|
export declare function isGone(outcome: OperationOutcome): boolean;
|
|
@@ -22,4 +22,4 @@ export declare const fhirTypeToJsType: {
|
|
|
22
22
|
readonly xhtml: "string";
|
|
23
23
|
readonly 'http://hl7.org/fhirpath/System.String': "string";
|
|
24
24
|
};
|
|
25
|
-
export declare function
|
|
25
|
+
export declare function validateResource(resource: Resource, profile?: StructureDefinition): void;
|