@steedos/standard-object-database 2.7.18-beta.32 → 2.7.18-beta.34
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.
|
@@ -279,6 +279,9 @@ function onChangeName(oldName, newDoc){
|
|
|
279
279
|
//[Task]: 字段名允许输入大写字母 #6702
|
|
280
280
|
//只能包含字母、数字,必须以字母开头,不能以下划线字符结尾或包含两个连续的下划线字符 TODO 支持表格
|
|
281
281
|
function checkName(name){
|
|
282
|
+
if(name === '_id'){
|
|
283
|
+
return true;
|
|
284
|
+
}
|
|
282
285
|
var reg = new RegExp('^[a-zA-Z]([A-Za-z0-9]|_(?!_))*[A-Za-z0-9]$'); //支持表格类型的验证表达式(待优化.$.限制只能出现一次): new RegExp('^[a-z]([a-z0-9]|_(?!_))*(\\.\\$\\.\\w+)*[a-z0-9]$')
|
|
283
286
|
//TODO 撤销注释
|
|
284
287
|
if(!reg.test(name)){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.7.18-beta.
|
|
3
|
+
"version": "2.7.18-beta.34",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@steedos-widgets/amis-lib": "^1.0.22",
|
|
15
|
-
"@steedos/metadata-core": "2.7.18-beta.
|
|
16
|
-
"@steedos/service-object-mixin": "2.7.18-beta.
|
|
17
|
-
"@steedos/standard-objects": "2.7.18-beta.
|
|
15
|
+
"@steedos/metadata-core": "2.7.18-beta.34",
|
|
16
|
+
"@steedos/service-object-mixin": "2.7.18-beta.34",
|
|
17
|
+
"@steedos/standard-objects": "2.7.18-beta.34",
|
|
18
18
|
"amis-formula": "~6.3.0",
|
|
19
19
|
"clone": "^2.1.2",
|
|
20
20
|
"moleculer-bullmq": "3.0.0"
|
|
21
21
|
},
|
|
22
22
|
"repository": {},
|
|
23
23
|
"license": "MIT",
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "8b8cf7fe2b2d2f4ece334c71e90579d5ea066678"
|
|
25
25
|
}
|