@gct-paas/cli 0.1.2 → 0.1.3
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/CHANGELOG.md
CHANGED
|
@@ -42,8 +42,17 @@ class HelperFormatImportItem extends _helperBase.HelperBase {
|
|
|
42
42
|
const val = keys.join(",");
|
|
43
43
|
if (isType) {
|
|
44
44
|
if (type === "List") {
|
|
45
|
+
if (val === "Tree") {
|
|
46
|
+
return "IObject[]";
|
|
47
|
+
}
|
|
45
48
|
return val + "[]";
|
|
46
49
|
}
|
|
50
|
+
if (type === "PageBase") {
|
|
51
|
+
return `IPage<${val}>`;
|
|
52
|
+
}
|
|
53
|
+
if (type === "Tree") {
|
|
54
|
+
return "IObject";
|
|
55
|
+
}
|
|
47
56
|
}
|
|
48
57
|
return val;
|
|
49
58
|
}
|
|
@@ -36,8 +36,17 @@ export class HelperFormatImportItem extends HelperBase {
|
|
|
36
36
|
const val = keys.join(",");
|
|
37
37
|
if (isType) {
|
|
38
38
|
if (type === "List") {
|
|
39
|
+
if (val === "Tree") {
|
|
40
|
+
return "IObject[]";
|
|
41
|
+
}
|
|
39
42
|
return val + "[]";
|
|
40
43
|
}
|
|
44
|
+
if (type === "PageBase") {
|
|
45
|
+
return `IPage<${val}>`;
|
|
46
|
+
}
|
|
47
|
+
if (type === "Tree") {
|
|
48
|
+
return "IObject";
|
|
49
|
+
}
|
|
41
50
|
}
|
|
42
51
|
return val;
|
|
43
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台核心包",
|
|
6
6
|
"bin": {
|
|
@@ -64,6 +64,5 @@
|
|
|
64
64
|
"@types/node": "^22.13.9",
|
|
65
65
|
"typescript": "^5.8.2",
|
|
66
66
|
"unbuild": "^3.5.0"
|
|
67
|
-
}
|
|
68
|
-
"gitHead": "d16ad2d01b1f566243002c25c90615ae8a0b36c2"
|
|
67
|
+
}
|
|
69
68
|
}
|