@ltht-react/utils
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.0.6](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/utils@0.0.5...@ltht-react/utils@0.0.6) (2020-01-17) | ||
**Note:** Version bump only for package @ltht-react/utils | ||
## [0.0.4](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/utils@0.0.3...@ltht-react/utils@0.0.4) (2020-01-07) | ||
@@ -8,0 +16,0 @@ |
@@ -1,4 +0,5 @@ | ||
import { CodeableConcept } from '@ltht-react/types'; | ||
import { CodeableConcept, Maybe } from '@ltht-react/types'; | ||
declare const codeableConceptDisplaySummary: (codeableConcept?: CodeableConcept) => string; | ||
declare const codeableConceptCodeSummary: (codeableConcept?: CodeableConcept) => string; | ||
export { codeableConceptDisplaySummary, codeableConceptCodeSummary }; | ||
declare const codeableConceptTextSummary: (codeableConcept?: Maybe<CodeableConcept>[]) => string; | ||
export { codeableConceptDisplaySummary, codeableConceptCodeSummary, codeableConceptTextSummary }; |
@@ -27,2 +27,13 @@ "use strict"; | ||
exports.codeableConceptCodeSummary = codeableConceptCodeSummary; | ||
var codeableConceptTextSummary = function (codeableConcept) { | ||
if (codeableConcept === void 0) { codeableConcept = []; } | ||
var textSummary = codeableConcept | ||
.map(function (item) { | ||
var _a; | ||
return (_a = item) === null || _a === void 0 ? void 0 : _a.text; | ||
}) | ||
.join(', '); | ||
return textSummary; | ||
}; | ||
exports.codeableConceptTextSummary = codeableConceptTextSummary; | ||
//# sourceMappingURL=codeable-concept.js.map |
{ | ||
"name": "@ltht-react/utils", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "> TODO: description", | ||
@@ -30,5 +30,5 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>", | ||
"dependencies": { | ||
"@ltht-react/types": "^0.0.5" | ||
"@ltht-react/types": "^0.0.6" | ||
}, | ||
"gitHead": "5fd8016ae3d0996170492f82a2e0d60df41e4229" | ||
"gitHead": "2e7dd5fc7844c09a1d8d6a748744802b3d117ca6" | ||
} |
Sorry, the diff of this file is not supported yet
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
14401
177
297
10
18
2
82
+ Added@ltht-react/types@0.0.6(transitive)
- Removed@ltht-react/types@0.0.5(transitive)
Updated@ltht-react/types@^0.0.6