@medplum/definitions 2.0.4 → 2.0.6

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.
@@ -738,6 +738,17 @@
738
738
  "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Project"]
739
739
  }]
740
740
  },
741
+ {
742
+ "id" : "ProjectMembership.invitedBy",
743
+ "path" : "ProjectMembership.invitedBy",
744
+ "definition" : "The project administrator who invited the user to the project.",
745
+ "min" : 0,
746
+ "max" : "1",
747
+ "type" : [{
748
+ "code" : "Reference",
749
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/User"]
750
+ }]
751
+ },
741
752
  {
742
753
  "id" : "ProjectMembership.user",
743
754
  "path" : "ProjectMembership.user",
@@ -1922,6 +1933,46 @@
1922
1933
  "type" : [{
1923
1934
  "code" : "string"
1924
1935
  }]
1936
+ },
1937
+ {
1938
+ "id" : "AccessPolicy.ipAccessRule",
1939
+ "path" : "AccessPolicy.ipAccessRule",
1940
+ "definition" : "Use IP Access Rules to allowlist, block, and challenge traffic based on the visitor IP address.",
1941
+ "min" : 0,
1942
+ "max" : "*",
1943
+ "type" : [{
1944
+ "code" : "BackboneElement"
1945
+ }]
1946
+ },
1947
+ {
1948
+ "id" : "AccessPolicy.ipAccessRule.name",
1949
+ "path" : "AccessPolicy.ipAccessRule.name",
1950
+ "definition" : "Friendly name that will make it easy for you to identify the IP Access Rule in the future.",
1951
+ "min" : 0,
1952
+ "max" : "1",
1953
+ "type" : [{
1954
+ "code" : "string"
1955
+ }]
1956
+ },
1957
+ {
1958
+ "id" : "AccessPolicy.ipAccessRule.value",
1959
+ "path" : "AccessPolicy.ipAccessRule.value",
1960
+ "definition" : "An IP Access rule will apply a certain action to incoming traffic based on the visitor IP address or IP range.",
1961
+ "min" : 1,
1962
+ "max" : "1",
1963
+ "type" : [{
1964
+ "code" : "string"
1965
+ }]
1966
+ },
1967
+ {
1968
+ "id" : "AccessPolicy.ipAccessRule.action",
1969
+ "path" : "AccessPolicy.ipAccessRule.action",
1970
+ "definition" : "Access rule can perform one of the following actions: \"allow\" | \"block\".",
1971
+ "min" : 1,
1972
+ "max" : "1",
1973
+ "type" : [{
1974
+ "code" : "string"
1975
+ }]
1925
1976
  }
1926
1977
  ]
1927
1978
  }
@@ -48205,7 +48205,7 @@
48205
48205
  "max" : "1"
48206
48206
  },
48207
48207
  "type" : [{
48208
- "code" : "Resource"
48208
+ "code" : "OperationOutcome"
48209
48209
  }],
48210
48210
  "isModifier" : false,
48211
48211
  "isSummary" : true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Medplum Data Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "scripts": {
14
14
  "clean": "rimraf dist/index.js dist/index.d.ts",
15
- "build": "npm run clean && tsc",
15
+ "build": "npm run clean && tsc --project tsconfig.build.json",
16
16
  "test": "jest"
17
17
  },
18
18
  "main": "dist/index.js",
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "dist",
5
+ "noEmit": false
6
+ },
7
+ "exclude": ["**/*.test.ts"]
8
+ }