@extrahorizon/exh-cli 1.8.0-dev-65-7ca3ef0 → 1.8.0-dev-67-853f087
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/CHANGELOG.md +1 -0
- package/build/config-json-schemas/Schema.json +96 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Extra Horizon CLI changelog
|
|
2
2
|
|
|
3
3
|
### v1.8.0
|
|
4
|
+
* Schemas: Updated the available access mode options to match data service 1.4.0 changes
|
|
4
5
|
* `exh data schemas sync` now also strips the description fields for conditions and actions in the creation transition
|
|
5
6
|
* Added priority to the transition task action in the schema validator
|
|
6
7
|
* Improved typing for the afterActions in the schema validator
|
|
@@ -6,34 +6,78 @@
|
|
|
6
6
|
"name": { "type": "string" },
|
|
7
7
|
"description": { "type": "string" },
|
|
8
8
|
"createMode": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
"oneOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "#/definitions/PermissionRequiredAccessMode"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"$ref": "#/definitions/AllUsersAccessMode"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"const": "default",
|
|
18
|
+
"description": "Deprecated! Use \"allUsers\" instead."
|
|
19
|
+
}
|
|
13
20
|
]
|
|
14
21
|
},
|
|
15
22
|
"deleteMode": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
"oneOf": [
|
|
24
|
+
{
|
|
25
|
+
"$ref": "#/definitions/PermissionRequiredAccessMode"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"$ref": "#/definitions/RelationalAccessModes"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"const": "linkedUsersOnly",
|
|
32
|
+
"description": "Deprecated! Use [\"linkedUsers\",\"linkedGroupStaff\"] instead."
|
|
33
|
+
}
|
|
20
34
|
]
|
|
21
35
|
},
|
|
22
36
|
"readMode": {
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
37
|
+
"oneOf": [
|
|
38
|
+
{
|
|
39
|
+
"$ref": "#/definitions/PermissionRequiredAccessMode"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"$ref": "#/definitions/AllUsersAccessMode"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"$ref": "#/definitions/RelationalAccessModes"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"const": "default",
|
|
49
|
+
"description": "Deprecated! Use [\"linkedUsers\",\"linkedGroupStaff\"] instead."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"const": "enlistedInLinkedGroups",
|
|
53
|
+
"description": "Deprecated! Use [\"linkedGroupPatients\",\"linkedGroupStaff\"] instead."
|
|
54
|
+
}
|
|
28
55
|
]
|
|
29
56
|
},
|
|
30
57
|
"updateMode": {
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
58
|
+
"oneOf": [
|
|
59
|
+
{
|
|
60
|
+
"$ref": "#/definitions/PermissionRequiredAccessMode"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"$ref": "#/definitions/RelationalAccessModes"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"const": "default",
|
|
67
|
+
"description": "Deprecated! Use [\"linkedUsers\",\"linkedGroupStaff\"] instead."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"const": "creatorOnly",
|
|
71
|
+
"description": "Deprecated! Use [\"creator\"] instead."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"const": "disabled",
|
|
75
|
+
"description": "Deprecated! Use \"permissionRequired\" instead."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"const": "linkedGroupsStaffOnly",
|
|
79
|
+
"description": "Deprecated! Use [\"linkedGroupStaff\"] instead."
|
|
80
|
+
}
|
|
37
81
|
]
|
|
38
82
|
},
|
|
39
83
|
"groupSyncMode": {
|
|
@@ -284,14 +328,10 @@
|
|
|
284
328
|
"const": "notifyAlgoQueueManager",
|
|
285
329
|
"description": "Deprecated! The notifyAlgoQueueManager action is deprecated and should not be used."
|
|
286
330
|
},
|
|
287
|
-
"description": { "type": "string" }
|
|
288
|
-
"id": { "type": "string" },
|
|
289
|
-
"version": { "type": "string" }
|
|
331
|
+
"description": { "type": "string" }
|
|
290
332
|
},
|
|
291
333
|
"required": [
|
|
292
|
-
"type"
|
|
293
|
-
"id",
|
|
294
|
-
"version"
|
|
334
|
+
"type"
|
|
295
335
|
],
|
|
296
336
|
"additionalProperties": false
|
|
297
337
|
},
|
|
@@ -646,6 +686,37 @@
|
|
|
646
686
|
"fields"
|
|
647
687
|
]
|
|
648
688
|
},
|
|
689
|
+
"PermissionRequiredAccessMode": {
|
|
690
|
+
"const": "permissionRequired",
|
|
691
|
+
"description": "Only users with the correct permission have the ability to perform the action."
|
|
692
|
+
},
|
|
693
|
+
"AllUsersAccessMode": {
|
|
694
|
+
"const": "allUsers",
|
|
695
|
+
"description": "All users will have the permission to perform the action on the documents in the schema collection. Regardless of their role or their permissions."
|
|
696
|
+
},
|
|
697
|
+
"RelationalAccessModes": {
|
|
698
|
+
"type": "array",
|
|
699
|
+
"items": {
|
|
700
|
+
"oneOf": [
|
|
701
|
+
{
|
|
702
|
+
"const": "creator",
|
|
703
|
+
"description": "The user that created the document can perform the action."
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"const": "linkedUsers",
|
|
707
|
+
"description": "All users where their user id is in the list of `userIds` of the document can perform the action."
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"const": "linkedGroupStaff",
|
|
711
|
+
"description": "All users that have a staff enlistment in a group that is in the list of `groupIds` of the document can perform the action."
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"const": "linkedGroupPatients",
|
|
715
|
+
"description": "All users that have a patient enlistment in a group that is in the list of `groupIds` of the document can perform the action."
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
},
|
|
649
720
|
"Any": {
|
|
650
721
|
"anyOf": [
|
|
651
722
|
{
|