@ws-ui/roles-editor 1.14.4-dev.1 → 1.14.5

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.
@@ -1,127 +1,127 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "forceLogin": {
5
- "type": "boolean"
6
- },
7
- "restrictedByDefault": {
8
- "type": "boolean"
9
- },
10
- "privileges": {
11
- "type": "array",
12
- "items": {
13
- "$ref": "#/definitions/Privilege"
14
- }
15
- },
16
- "roles": {
17
- "type": "array",
18
- "items": {
19
- "$ref": "#/definitions/Role"
20
- }
21
- },
22
- "permissions": {
23
- "type": "object",
24
- "properties": {
25
- "allowed": {
26
- "type": "array",
27
- "items": {
28
- "$ref": "#/definitions/Permission"
29
- }
30
- }
31
- }
32
- }
33
- },
34
- "definitions": {
35
- "Privilege": {
36
- "type": "object",
37
- "properties": {
38
- "id": {
39
- "type": "string"
40
- },
41
- "privilege": {
42
- "type": "string"
43
- },
44
- "includes": {
45
- "type": "array",
46
- "items": {
47
- "type": "string"
48
- }
49
- }
50
- },
51
- "required": ["privilege"]
52
- },
53
- "Role": {
54
- "type": "object",
55
- "properties": {
56
- "id": {
57
- "type": "string"
58
- },
59
- "role": {
60
- "type": "string"
61
- },
62
- "privileges": {
63
- "type": "array",
64
- "items": {
65
- "type": "string"
66
- }
67
- }
68
- },
69
- "required": ["role"]
70
- },
71
- "PermissionEntry": {
72
- "type": "array",
73
- "items": {
74
- "type": "string"
75
- }
76
- },
77
- "Permission": {
78
- "type": "object",
79
- "properties": {
80
- "applyTo": {
81
- "type": "string"
82
- },
83
- "type": {
84
- "enum": [
85
- "dataclass",
86
- "method",
87
- "attribute",
88
- "datastore",
89
- "singleton",
90
- "singletonMethod",
91
- "dsMethod",
92
- "dataclassMethod",
93
- "entityMethod",
94
- "entityselMethod"
95
- ]
96
- },
97
- "subType": {
98
- "enum": [
99
- "dsMethod",
100
- "dataclassMethod",
101
- "entityMethod",
102
- "entityselMethod"
103
- ]
104
- },
105
- "read": {
106
- "$ref": "#/definitions/PermissionEntry"
107
- },
108
- "create": {
109
- "$ref": "#/definitions/PermissionEntry"
110
- },
111
- "update": {
112
- "$ref": "#/definitions/PermissionEntry"
113
- },
114
- "drop": {
115
- "$ref": "#/definitions/PermissionEntry"
116
- },
117
- "execute": {
118
- "$ref": "#/definitions/PermissionEntry"
119
- },
120
- "promote": {
121
- "$ref": "#/definitions/PermissionEntry"
122
- }
123
- },
124
- "required": ["applyTo", "type"]
125
- }
126
- }
127
- }
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "forceLogin": {
5
+ "type": "boolean"
6
+ },
7
+ "restrictedByDefault": {
8
+ "type": "boolean"
9
+ },
10
+ "privileges": {
11
+ "type": "array",
12
+ "items": {
13
+ "$ref": "#/definitions/Privilege"
14
+ }
15
+ },
16
+ "roles": {
17
+ "type": "array",
18
+ "items": {
19
+ "$ref": "#/definitions/Role"
20
+ }
21
+ },
22
+ "permissions": {
23
+ "type": "object",
24
+ "properties": {
25
+ "allowed": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/definitions/Permission"
29
+ }
30
+ }
31
+ }
32
+ }
33
+ },
34
+ "definitions": {
35
+ "Privilege": {
36
+ "type": "object",
37
+ "properties": {
38
+ "id": {
39
+ "type": "string"
40
+ },
41
+ "privilege": {
42
+ "type": "string"
43
+ },
44
+ "includes": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "string"
48
+ }
49
+ }
50
+ },
51
+ "required": ["privilege"]
52
+ },
53
+ "Role": {
54
+ "type": "object",
55
+ "properties": {
56
+ "id": {
57
+ "type": "string"
58
+ },
59
+ "role": {
60
+ "type": "string"
61
+ },
62
+ "privileges": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string"
66
+ }
67
+ }
68
+ },
69
+ "required": ["role"]
70
+ },
71
+ "PermissionEntry": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string"
75
+ }
76
+ },
77
+ "Permission": {
78
+ "type": "object",
79
+ "properties": {
80
+ "applyTo": {
81
+ "type": "string"
82
+ },
83
+ "type": {
84
+ "enum": [
85
+ "dataclass",
86
+ "method",
87
+ "attribute",
88
+ "datastore",
89
+ "singleton",
90
+ "singletonMethod",
91
+ "dsMethod",
92
+ "dataclassMethod",
93
+ "entityMethod",
94
+ "entityselMethod"
95
+ ]
96
+ },
97
+ "subType": {
98
+ "enum": [
99
+ "dsMethod",
100
+ "dataclassMethod",
101
+ "entityMethod",
102
+ "entityselMethod"
103
+ ]
104
+ },
105
+ "read": {
106
+ "$ref": "#/definitions/PermissionEntry"
107
+ },
108
+ "create": {
109
+ "$ref": "#/definitions/PermissionEntry"
110
+ },
111
+ "update": {
112
+ "$ref": "#/definitions/PermissionEntry"
113
+ },
114
+ "drop": {
115
+ "$ref": "#/definitions/PermissionEntry"
116
+ },
117
+ "execute": {
118
+ "$ref": "#/definitions/PermissionEntry"
119
+ },
120
+ "promote": {
121
+ "$ref": "#/definitions/PermissionEntry"
122
+ }
123
+ },
124
+ "required": ["applyTo", "type"]
125
+ }
126
+ }
127
+ }
@@ -1,130 +1,130 @@
1
- declare const _default: {
2
- "type": "object",
3
- "properties": {
4
- "forceLogin": {
5
- "type": "boolean"
6
- },
7
- "restrictedByDefault": {
8
- "type": "boolean"
9
- },
10
- "privileges": {
11
- "type": "array",
12
- "items": {
13
- "$ref": "#/definitions/Privilege"
14
- }
15
- },
16
- "roles": {
17
- "type": "array",
18
- "items": {
19
- "$ref": "#/definitions/Role"
20
- }
21
- },
22
- "permissions": {
23
- "type": "object",
24
- "properties": {
25
- "allowed": {
26
- "type": "array",
27
- "items": {
28
- "$ref": "#/definitions/Permission"
29
- }
30
- }
31
- }
32
- }
33
- },
34
- "definitions": {
35
- "Privilege": {
36
- "type": "object",
37
- "properties": {
38
- "id": {
39
- "type": "string"
40
- },
41
- "privilege": {
42
- "type": "string"
43
- },
44
- "includes": {
45
- "type": "array",
46
- "items": {
47
- "type": "string"
48
- }
49
- }
50
- },
51
- "required": ["privilege"]
52
- },
53
- "Role": {
54
- "type": "object",
55
- "properties": {
56
- "id": {
57
- "type": "string"
58
- },
59
- "role": {
60
- "type": "string"
61
- },
62
- "privileges": {
63
- "type": "array",
64
- "items": {
65
- "type": "string"
66
- }
67
- }
68
- },
69
- "required": ["role"]
70
- },
71
- "PermissionEntry": {
72
- "type": "array",
73
- "items": {
74
- "type": "string"
75
- }
76
- },
77
- "Permission": {
78
- "type": "object",
79
- "properties": {
80
- "applyTo": {
81
- "type": "string"
82
- },
83
- "type": {
84
- "enum": [
85
- "dataclass",
86
- "method",
87
- "attribute",
88
- "datastore",
89
- "singleton",
90
- "singletonMethod",
91
- "dsMethod",
92
- "dataclassMethod",
93
- "entityMethod",
94
- "entityselMethod"
95
- ]
96
- },
97
- "subType": {
98
- "enum": [
99
- "dsMethod",
100
- "dataclassMethod",
101
- "entityMethod",
102
- "entityselMethod"
103
- ]
104
- },
105
- "read": {
106
- "$ref": "#/definitions/PermissionEntry"
107
- },
108
- "create": {
109
- "$ref": "#/definitions/PermissionEntry"
110
- },
111
- "update": {
112
- "$ref": "#/definitions/PermissionEntry"
113
- },
114
- "drop": {
115
- "$ref": "#/definitions/PermissionEntry"
116
- },
117
- "execute": {
118
- "$ref": "#/definitions/PermissionEntry"
119
- },
120
- "promote": {
121
- "$ref": "#/definitions/PermissionEntry"
122
- }
123
- },
124
- "required": ["applyTo", "type"]
125
- }
126
- }
127
- }
1
+ declare const _default: {
2
+ "type": "object",
3
+ "properties": {
4
+ "forceLogin": {
5
+ "type": "boolean"
6
+ },
7
+ "restrictedByDefault": {
8
+ "type": "boolean"
9
+ },
10
+ "privileges": {
11
+ "type": "array",
12
+ "items": {
13
+ "$ref": "#/definitions/Privilege"
14
+ }
15
+ },
16
+ "roles": {
17
+ "type": "array",
18
+ "items": {
19
+ "$ref": "#/definitions/Role"
20
+ }
21
+ },
22
+ "permissions": {
23
+ "type": "object",
24
+ "properties": {
25
+ "allowed": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/definitions/Permission"
29
+ }
30
+ }
31
+ }
32
+ }
33
+ },
34
+ "definitions": {
35
+ "Privilege": {
36
+ "type": "object",
37
+ "properties": {
38
+ "id": {
39
+ "type": "string"
40
+ },
41
+ "privilege": {
42
+ "type": "string"
43
+ },
44
+ "includes": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "string"
48
+ }
49
+ }
50
+ },
51
+ "required": ["privilege"]
52
+ },
53
+ "Role": {
54
+ "type": "object",
55
+ "properties": {
56
+ "id": {
57
+ "type": "string"
58
+ },
59
+ "role": {
60
+ "type": "string"
61
+ },
62
+ "privileges": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string"
66
+ }
67
+ }
68
+ },
69
+ "required": ["role"]
70
+ },
71
+ "PermissionEntry": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string"
75
+ }
76
+ },
77
+ "Permission": {
78
+ "type": "object",
79
+ "properties": {
80
+ "applyTo": {
81
+ "type": "string"
82
+ },
83
+ "type": {
84
+ "enum": [
85
+ "dataclass",
86
+ "method",
87
+ "attribute",
88
+ "datastore",
89
+ "singleton",
90
+ "singletonMethod",
91
+ "dsMethod",
92
+ "dataclassMethod",
93
+ "entityMethod",
94
+ "entityselMethod"
95
+ ]
96
+ },
97
+ "subType": {
98
+ "enum": [
99
+ "dsMethod",
100
+ "dataclassMethod",
101
+ "entityMethod",
102
+ "entityselMethod"
103
+ ]
104
+ },
105
+ "read": {
106
+ "$ref": "#/definitions/PermissionEntry"
107
+ },
108
+ "create": {
109
+ "$ref": "#/definitions/PermissionEntry"
110
+ },
111
+ "update": {
112
+ "$ref": "#/definitions/PermissionEntry"
113
+ },
114
+ "drop": {
115
+ "$ref": "#/definitions/PermissionEntry"
116
+ },
117
+ "execute": {
118
+ "$ref": "#/definitions/PermissionEntry"
119
+ },
120
+ "promote": {
121
+ "$ref": "#/definitions/PermissionEntry"
122
+ }
123
+ },
124
+ "required": ["applyTo", "type"]
125
+ }
126
+ }
127
+ }
128
128
  ;
129
129
 
130
130
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ws-ui/roles-editor",
3
- "version": "1.14.4-dev.1",
3
+ "version": "1.14.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -19,9 +19,9 @@
19
19
  "@headlessui/react": "^1.7.19",
20
20
  "@radix-ui/react-hover-card": "^1.0.2",
21
21
  "@tanstack/react-virtual": "^3.0.0",
22
- "@ws-ui/icons": "1.14.4",
23
- "@ws-ui/shared": "1.14.4",
24
- "@ws-ui/store": "1.14.4",
22
+ "@ws-ui/icons": "1.14.5",
23
+ "@ws-ui/shared": "1.14.5",
24
+ "@ws-ui/store": "1.14.5",
25
25
  "@ws-ui/ui-components": "^1.0.36",
26
26
  "classnames": "^2.3.1",
27
27
  "dagre": "^0.8.5",