@steedos/schemas 2.1.61 → 2.1.65
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/History.md +0 -3
- package/package.json +2 -2
- package/permission/schema.json +30 -0
package/History.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/schemas",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.65",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "https://github.com/steedos/schemas.git",
|
|
6
6
|
"author": "sunhaolin <sunhaolin@hotoa.com>",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "7686d4138d9031fd85653cffdaa207ffd718ca84"
|
|
13
13
|
}
|
package/permission/schema.json
CHANGED
|
@@ -114,6 +114,36 @@
|
|
|
114
114
|
"uneditable_related_list": {
|
|
115
115
|
"type": "array",
|
|
116
116
|
"description": "关联对象只读"
|
|
117
|
+
},
|
|
118
|
+
"field_permissions": {
|
|
119
|
+
"anyOf": [
|
|
120
|
+
{
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"required": [
|
|
124
|
+
"field"
|
|
125
|
+
],
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"properties": {
|
|
128
|
+
"field": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"title": "字段 Api 名称"
|
|
131
|
+
},
|
|
132
|
+
"readable": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"title": "允许查看"
|
|
135
|
+
},
|
|
136
|
+
"editable": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"title": "允许编辑"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"type": "array",
|
|
143
|
+
"title": "字段权限"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"description": "字段权限"
|
|
117
147
|
}
|
|
118
148
|
}
|
|
119
149
|
}
|