Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
v6.3.0: Type Enforcement Rules (#220)
Browse files Browse the repository at this point in the history
Updates shr-models and shr-text-import to support type enforcement rules

* An `Entry`'s parent must be an `Entry` or `Abstract`
* An `Element`'s parent must be an `Element`
* A `Group`'s parent must be a `Group`
* An `Abstract`'s parent must be an `Abstract`
* An `Element` can only declare or constrain a `Value`; it cannot declare or constrain `Property`s
* An `Element` cannot redeclare a `Value` if it has a parent; it must constrain `Value` instead
* A non-`Element` can only declare or constrain `Property`s; it cannot declare or constraint `Value`s
  • Loading branch information
cmoesel authored Jul 17, 2019
1 parent f0f0d28 commit 2487ba7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shr-cli",
"version": "6.2.2",
"version": "6.3.0",
"description": "Command-line interface for SHR tools",
"author": "",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,8 +28,8 @@
"shr-fhir-export": "^6.1.3",
"shr-json-javadoc": "^6.0.0",
"shr-json-schema-export": "^6.0.0",
"shr-models": "^6.0.0",
"shr-text-import": "^6.0.0"
"shr-models": "^6.1.0",
"shr-text-import": "^6.1.0"
},
"devDependencies": {
"eslint": "^4.6.1",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1301,15 +1301,15 @@ shr-json-schema-export@^6.0.0:
resolved "https://registry.yarnpkg.com/shr-json-schema-export/-/shr-json-schema-export-6.0.0.tgz#08e969c5debf5719b298c59c2b1ef83f1c52fa3e"
integrity sha512-megbVDNpi/PenTVFHFbkqgAmud8LwToveyUaKL0qabnEJ1QzwUuik3aZFz007kC7iidyAVKGo0GcKUBb0k1RQg==

shr-models@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/shr-models/-/shr-models-6.0.0.tgz#6ffe6a48ae6bcf6c20e25dbfcc5b2954fca7d661"
integrity sha512-k8tU/YghNoFdpHxzC1ZpfpHMEMAJPZyGGAMd9QfOcCqDsETUyK9u76GuXoSlhXHjDM5CXOCeq6LmxWCQhK95iw==

shr-text-import@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/shr-text-import/-/shr-text-import-6.0.0.tgz#79aea057d8be13571ea9c4c833172268f52e85a8"
integrity sha512-6OhJaV/3cr8eMaQ6fm7YtDM94tEHAJoq9O43/Neulq0JPAPOrzbSkdgUTryM3TzMH3Eaup93EwvBhKwla9xsqQ==
shr-models@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/shr-models/-/shr-models-6.1.0.tgz#9eaf7bae2a86e4ceb2419ae13b5014b29380ed9a"
integrity sha512-TuLiwRXD3oIVbvfFwf6maKM5GI9k5JjNQIAmzc1U1ziGfrHf6x6n4wfNzybUzBD7zbSHAA60Btk0grekMqS8Tg==

shr-text-import@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/shr-text-import/-/shr-text-import-6.1.0.tgz#94927d2cca1af4b7d5e8de61ce4582b47cceb28d"
integrity sha512-382GdvTMVrZ9oCF6QiyOXdFdaXoUG03EQQgoRnJaWRsx3Ct7rY1/C+N4WdK0VcS83ulcYUjg4vXw/zD7Wfy/fA==
dependencies:
antlr4 "~4.6.0"

Expand Down

0 comments on commit 2487ba7

Please sign in to comment.