@medplum/core 0.9.17 → 0.9.18
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.js +5 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -7366,11 +7366,12 @@ function getTypedPropertyValue(input, path) {
|
|
|
7366
7366
|
}
|
|
7367
7367
|
const typeSchema = globalSchema.types[input.type];
|
|
7368
7368
|
if (typeSchema) {
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7369
|
+
const typedResult = getTypedPropertyValueWithSchema(input, path, typeSchema);
|
|
7370
|
+
if (typedResult) {
|
|
7371
|
+
return typedResult;
|
|
7372
|
+
}
|
|
7373
7373
|
}
|
|
7374
|
+
return getTypedPropertyValueWithoutSchema(input, path);
|
|
7374
7375
|
}
|
|
7375
7376
|
/**
|
|
7376
7377
|
* Returns the value of the property and the property type using a type schema.
|