@ldsg/form 0.3.40 → 0.3.41
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.
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`unit 1`] = `
|
|
4
|
+
{
|
|
5
|
+
"description": "",
|
|
6
|
+
"id": "test-form",
|
|
7
|
+
"inputObjectInfo": {
|
|
8
|
+
"description": "",
|
|
9
|
+
"fieldInfoList": [
|
|
10
|
+
{
|
|
11
|
+
"dbKey": "test_1",
|
|
12
|
+
"description": "",
|
|
13
|
+
"id": "test-object-1-field-1",
|
|
14
|
+
"name": "test1",
|
|
15
|
+
"slug": "test-1",
|
|
16
|
+
"title": "测试对象1测试字段1",
|
|
17
|
+
"typeInfo": {
|
|
18
|
+
"platformToTypeMap": {
|
|
19
|
+
"COMMON": {
|
|
20
|
+
"max": "10",
|
|
21
|
+
"type": "string",
|
|
22
|
+
},
|
|
23
|
+
"GRAPHQL": "String",
|
|
24
|
+
"JSON": undefined,
|
|
25
|
+
"MONGOOSE": undefined,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"dbKey": "test_2",
|
|
31
|
+
"description": "",
|
|
32
|
+
"id": "test-object-1-field-2",
|
|
33
|
+
"name": "test2",
|
|
34
|
+
"slug": "test-2",
|
|
35
|
+
"title": "测试对象1测试字段2",
|
|
36
|
+
"typeInfo": {
|
|
37
|
+
"platformToTypeMap": {
|
|
38
|
+
"COMMON": {
|
|
39
|
+
"max": "10",
|
|
40
|
+
"type": "string",
|
|
41
|
+
},
|
|
42
|
+
"GRAPHQL": "String",
|
|
43
|
+
"JSON": undefined,
|
|
44
|
+
"MONGOOSE": undefined,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"dbKey": "test_3",
|
|
50
|
+
"description": "",
|
|
51
|
+
"id": "test-object-1-field-3",
|
|
52
|
+
"name": "test3",
|
|
53
|
+
"slug": "test-3",
|
|
54
|
+
"title": "测试对象1测试字段3",
|
|
55
|
+
"typeInfo": {
|
|
56
|
+
"platformToTypeMap": {
|
|
57
|
+
"COMMON": {
|
|
58
|
+
"max": "10",
|
|
59
|
+
"type": "string",
|
|
60
|
+
},
|
|
61
|
+
"GRAPHQL": "String",
|
|
62
|
+
"JSON": undefined,
|
|
63
|
+
"MONGOOSE": undefined,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
"name": "testObject1",
|
|
69
|
+
"objectTypeName": "TestObject1",
|
|
70
|
+
"slug": "test-object-1",
|
|
71
|
+
"title": "测试对象1",
|
|
72
|
+
},
|
|
73
|
+
"name": "testForm",
|
|
74
|
+
"outputObjectInfo": {
|
|
75
|
+
"description": "",
|
|
76
|
+
"fieldInfoList": [
|
|
77
|
+
{
|
|
78
|
+
"dbKey": "test_1",
|
|
79
|
+
"description": "",
|
|
80
|
+
"id": "test-object-2-field-1",
|
|
81
|
+
"name": "test1",
|
|
82
|
+
"slug": "test-1",
|
|
83
|
+
"title": "测试对象2测试字段1",
|
|
84
|
+
"typeInfo": {
|
|
85
|
+
"platformToTypeMap": {
|
|
86
|
+
"COMMON": {
|
|
87
|
+
"max": "10",
|
|
88
|
+
"type": "string",
|
|
89
|
+
},
|
|
90
|
+
"GRAPHQL": "String",
|
|
91
|
+
"JSON": undefined,
|
|
92
|
+
"MONGOOSE": undefined,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
"name": "testObject2",
|
|
98
|
+
"objectTypeName": "TestObject2",
|
|
99
|
+
"slug": "test-object-2",
|
|
100
|
+
"title": "测试对象2",
|
|
101
|
+
},
|
|
102
|
+
"slug": "test-form",
|
|
103
|
+
"title": "测试表单",
|
|
104
|
+
}
|
|
105
|
+
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/form",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.41",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
18
|
"zod": "^4.1.11",
|
|
19
|
-
"@ldsg/field-type": "0.3.
|
|
20
|
-
"@ldsg/forms": "0.3.
|
|
21
|
-
"@ldsg/handler": "0.3.
|
|
22
|
-
"@ldsg/object": "0.3.
|
|
23
|
-
"@ldsg/object-field": "0.3.
|
|
24
|
-
"@ldsg/resource": "0.3.
|
|
25
|
-
"@ldsg/resource-definition": "0.3.
|
|
26
|
-
"@ldsg/types": "0.3.
|
|
27
|
-
"@ldsg/workflow": "0.3.
|
|
19
|
+
"@ldsg/field-type": "0.3.41",
|
|
20
|
+
"@ldsg/forms": "0.3.41",
|
|
21
|
+
"@ldsg/handler": "0.3.41",
|
|
22
|
+
"@ldsg/object": "0.3.41",
|
|
23
|
+
"@ldsg/object-field": "0.3.41",
|
|
24
|
+
"@ldsg/resource": "0.3.41",
|
|
25
|
+
"@ldsg/resource-definition": "0.3.41",
|
|
26
|
+
"@ldsg/types": "0.3.41",
|
|
27
|
+
"@ldsg/workflow": "0.3.41"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/jest": "^29.5.2",
|