@ws-ui/roles-editor 1.13.0-dev.1 → 1.13.0-dev.2
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/dist/index.cjs.js +31 -31
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1594 -1580
- package/dist/index.es.js.map +1 -1
- package/dist/json-schema.json +12 -66
- package/dist/json-schema.json.d.ts +12 -66
- package/package.json +4 -4
package/dist/json-schema.json
CHANGED
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
},
|
|
69
69
|
"required": ["role"]
|
|
70
70
|
},
|
|
71
|
+
"PermissionEntry": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
71
77
|
"Permission": {
|
|
72
78
|
"type": "object",
|
|
73
79
|
"properties": {
|
|
@@ -97,82 +103,22 @@
|
|
|
97
103
|
]
|
|
98
104
|
},
|
|
99
105
|
"read": {
|
|
100
|
-
"
|
|
101
|
-
{
|
|
102
|
-
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"type": "array",
|
|
106
|
-
"items": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
]
|
|
106
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
111
107
|
},
|
|
112
108
|
"create": {
|
|
113
|
-
"
|
|
114
|
-
{
|
|
115
|
-
"type": "string"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"type": "array",
|
|
119
|
-
"items": {
|
|
120
|
-
"type": "string"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
109
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
124
110
|
},
|
|
125
111
|
"update": {
|
|
126
|
-
"
|
|
127
|
-
{
|
|
128
|
-
"type": "string"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"type": "array",
|
|
132
|
-
"items": {
|
|
133
|
-
"type": "string"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
]
|
|
112
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
137
113
|
},
|
|
138
114
|
"drop": {
|
|
139
|
-
"
|
|
140
|
-
{
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"type": "array",
|
|
145
|
-
"items": {
|
|
146
|
-
"type": "string"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
]
|
|
115
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
150
116
|
},
|
|
151
117
|
"execute": {
|
|
152
|
-
"
|
|
153
|
-
{
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"type": "array",
|
|
158
|
-
"items": {
|
|
159
|
-
"type": "string"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
]
|
|
118
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
163
119
|
},
|
|
164
120
|
"promote": {
|
|
165
|
-
"
|
|
166
|
-
{
|
|
167
|
-
"type": "string"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"type": "array",
|
|
171
|
-
"items": {
|
|
172
|
-
"type": "string"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
]
|
|
121
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
176
122
|
}
|
|
177
123
|
},
|
|
178
124
|
"required": ["applyTo", "type"]
|
|
@@ -68,6 +68,12 @@ declare const _default: {
|
|
|
68
68
|
},
|
|
69
69
|
"required": ["role"]
|
|
70
70
|
},
|
|
71
|
+
"PermissionEntry": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
71
77
|
"Permission": {
|
|
72
78
|
"type": "object",
|
|
73
79
|
"properties": {
|
|
@@ -97,82 +103,22 @@ declare const _default: {
|
|
|
97
103
|
]
|
|
98
104
|
},
|
|
99
105
|
"read": {
|
|
100
|
-
"
|
|
101
|
-
{
|
|
102
|
-
"type": "string"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"type": "array",
|
|
106
|
-
"items": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
]
|
|
106
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
111
107
|
},
|
|
112
108
|
"create": {
|
|
113
|
-
"
|
|
114
|
-
{
|
|
115
|
-
"type": "string"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"type": "array",
|
|
119
|
-
"items": {
|
|
120
|
-
"type": "string"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
109
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
124
110
|
},
|
|
125
111
|
"update": {
|
|
126
|
-
"
|
|
127
|
-
{
|
|
128
|
-
"type": "string"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"type": "array",
|
|
132
|
-
"items": {
|
|
133
|
-
"type": "string"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
]
|
|
112
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
137
113
|
},
|
|
138
114
|
"drop": {
|
|
139
|
-
"
|
|
140
|
-
{
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"type": "array",
|
|
145
|
-
"items": {
|
|
146
|
-
"type": "string"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
]
|
|
115
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
150
116
|
},
|
|
151
117
|
"execute": {
|
|
152
|
-
"
|
|
153
|
-
{
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"type": "array",
|
|
158
|
-
"items": {
|
|
159
|
-
"type": "string"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
]
|
|
118
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
163
119
|
},
|
|
164
120
|
"promote": {
|
|
165
|
-
"
|
|
166
|
-
{
|
|
167
|
-
"type": "string"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"type": "array",
|
|
171
|
-
"items": {
|
|
172
|
-
"type": "string"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
]
|
|
121
|
+
"$ref": "#/definitions/PermissionEntry"
|
|
176
122
|
}
|
|
177
123
|
},
|
|
178
124
|
"required": ["applyTo", "type"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/roles-editor",
|
|
3
|
-
"version": "1.13.0-dev.
|
|
3
|
+
"version": "1.13.0-dev.2",
|
|
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.13.0",
|
|
23
|
-
"@ws-ui/shared": "1.13.0-dev.
|
|
24
|
-
"@ws-ui/store": "1.13.0-dev.
|
|
22
|
+
"@ws-ui/icons": "1.13.0-dev.2",
|
|
23
|
+
"@ws-ui/shared": "1.13.0-dev.2",
|
|
24
|
+
"@ws-ui/store": "1.13.0-dev.2",
|
|
25
25
|
"classnames": "^2.3.1",
|
|
26
26
|
"dagre": "^0.8.5",
|
|
27
27
|
"downshift": "^6.1.3",
|