@lcap/nasl 2.20.0-beta.1 → 2.20.0-beta.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/out/automate/engine/index.d.ts +1 -1
- package/out/automate/engine/index.js +7 -7
- package/out/automate/engine/index.js.map +1 -1
- package/out/automate/engine/uniqueName.d.ts +1 -1
- package/out/automate/engine/uniqueName.js +3 -3
- package/out/automate/engine/uniqueName.js.map +1 -1
- package/out/automate/template/myProcess.js +1 -1
- package/out/automate/template/myProcess.js.map +1 -1
- package/out/bak/translator.js +38 -85
- package/out/bak/translator.js.map +1 -1
- package/out/common/BaseNode.d.ts +10 -6
- package/out/common/BaseNode.js +53 -7
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +1 -0
- package/out/concepts/AnonymousFunction__.js +40 -2
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/App__.d.ts +89 -261
- package/out/concepts/App__.js +315 -367
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Assignee__.js.map +1 -1
- package/out/concepts/AssignmentLine__.d.ts +5 -5
- package/out/concepts/AssignmentLine__.js +6 -6
- package/out/concepts/AssignmentLine__.js.map +1 -1
- package/out/concepts/Assignment__.js +1 -2
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/BatchAssignment__.d.ts +62 -60
- package/out/concepts/BatchAssignment__.js +113 -42
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts +24 -0
- package/out/concepts/BindAttribute__.js +54 -4
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +5 -0
- package/out/concepts/BindDirective__.js +6 -0
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +5 -0
- package/out/concepts/BindEvent__.js +6 -0
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BindStyle__.d.ts +7 -2
- package/out/concepts/BindStyle__.js +9 -3
- package/out/concepts/BindStyle__.js.map +1 -1
- package/out/concepts/BooleanLiteral__.js +0 -8
- package/out/concepts/BooleanLiteral__.js.map +1 -1
- package/out/concepts/CallFunction__.js +90 -38
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +7 -0
- package/out/concepts/CallInterface__.js +54 -7
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +2 -1
- package/out/concepts/CallLogic__.js +171 -37
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.js +16 -1
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/CompletionProperty__.js +3 -0
- package/out/concepts/CompletionProperty__.js.map +1 -1
- package/out/concepts/ConfigGroup__.js.map +1 -1
- package/out/concepts/ConfigProperty__.js.map +1 -1
- package/out/concepts/Configuration__.js.map +1 -1
- package/out/concepts/Constant__.d.ts +5 -0
- package/out/concepts/Constant__.js +6 -0
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/DataSource__.d.ts +8 -0
- package/out/concepts/DataSource__.js +96 -1
- package/out/concepts/DataSource__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +11 -2
- package/out/concepts/Destination__.js +156 -51
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +21 -8
- package/out/concepts/EntityProperty__.js +109 -23
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +32 -0
- package/out/concepts/Entity__.js +117 -2
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/Enum__.js +0 -4
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/ExternalDestination__.d.ts +73 -0
- package/out/concepts/ExternalDestination__.js +264 -0
- package/out/concepts/ExternalDestination__.js.map +1 -0
- package/out/concepts/ForEachStatement__.d.ts +0 -4
- package/out/concepts/ForEachStatement__.js +4 -8
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +370 -0
- package/out/concepts/Frontend__.js +669 -0
- package/out/concepts/Frontend__.js.map +1 -0
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/Identifier__.d.ts +1 -0
- package/out/concepts/Identifier__.js +33 -10
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/IfStatement__.d.ts +8 -0
- package/out/concepts/IfStatement__.js +22 -0
- package/out/concepts/IfStatement__.js.map +1 -1
- package/out/concepts/InterfaceParam__.js.map +1 -1
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +6 -1
- package/out/concepts/LogicItem__.js +6 -0
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +91 -80
- package/out/concepts/Logic__.js +178 -59
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MatchCase__.d.ts +1 -1
- package/out/concepts/MatchCase__.js +15 -8
- package/out/concepts/MatchCase__.js.map +1 -1
- package/out/concepts/Match__.d.ts +21 -19
- package/out/concepts/Match__.js +118 -26
- package/out/concepts/Match__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +4 -1
- package/out/concepts/MemberExpression__.js +30 -15
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/Namespace__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +345 -0
- package/out/concepts/NewComposite__.js +1068 -0
- package/out/concepts/NewComposite__.js.map +1 -0
- package/out/concepts/NewList__.d.ts +130 -0
- package/out/concepts/NewList__.js +349 -0
- package/out/concepts/NewList__.js.map +1 -0
- package/out/concepts/NewMap__.d.ts +221 -0
- package/out/concepts/NewMap__.js +480 -0
- package/out/concepts/NewMap__.js.map +1 -0
- package/out/concepts/New__.d.ts +19 -0
- package/out/concepts/New__.js +66 -0
- package/out/concepts/New__.js.map +1 -0
- package/out/concepts/NumericLiteral__.js +1 -1
- package/out/concepts/NumericLiteral__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.d.ts +7 -3
- package/out/concepts/OqlQueryComponent__.js +56 -95
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/Param__.d.ts +8 -1
- package/out/concepts/Param__.js +85 -6
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/ProcessComponent__.js.map +1 -1
- package/out/concepts/ProcessElement__.js +42 -13
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcomes__.d.ts +30 -0
- package/out/concepts/ProcessOutcomes__.js +87 -0
- package/out/concepts/ProcessOutcomes__.js.map +1 -0
- package/out/concepts/Process__.d.ts +4 -20
- package/out/concepts/Process__.js +0 -7
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/QueryOrderByExpression__.d.ts +3 -3
- package/out/concepts/QueryOrderByExpression__.js +3 -3
- package/out/concepts/QueryOrderByExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/Return__.d.ts +5 -0
- package/out/concepts/Return__.js +45 -2
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/SelectMembers__.d.ts +1 -1
- package/out/concepts/SelectMembers__.js +5 -5
- package/out/concepts/SelectMembers__.js.map +1 -1
- package/out/concepts/SqlQueryComponent__.d.ts +2 -4
- package/out/concepts/SqlQueryComponent__.js +9 -88
- package/out/concepts/SqlQueryComponent__.js.map +1 -1
- package/out/concepts/StringInterpolation__.d.ts +113 -0
- package/out/concepts/StringInterpolation__.js +227 -0
- package/out/concepts/StringInterpolation__.js.map +1 -0
- package/out/concepts/StringLiteral__.js +0 -7
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/Transactional__.d.ts +5 -0
- package/out/concepts/Transactional__.js +6 -0
- package/out/concepts/Transactional__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +4 -0
- package/out/concepts/TypeAnnotation__.js +67 -15
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.d.ts +1 -0
- package/out/concepts/TypeParam__.js +2 -0
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.js +6 -9
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/ValidationRule__.js +87 -22
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +5 -0
- package/out/concepts/Variable__.js +46 -3
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewComponent__.js.map +1 -1
- package/out/concepts/ViewElement__.d.ts +35 -29
- package/out/concepts/ViewElement__.js +138 -54
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +10 -3
- package/out/concepts/View__.js +116 -86
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/WhileStatement__.js +1 -1
- package/out/concepts/WhileStatement__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.browser.js +50 -0
- package/out/concepts/basics/stdlib/nasl.browser.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.logging.js +5 -0
- package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.ui.js +38 -4
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +214 -62
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/index__.d.ts +9 -0
- package/out/concepts/index__.js +9 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/enums/KEYWORDS.d.ts +1 -0
- package/out/enums/KEYWORDS.js +9 -1
- package/out/enums/KEYWORDS.js.map +1 -1
- package/out/generator/genBundleFiles.d.ts +10 -4
- package/out/generator/genBundleFiles.js +127 -162
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.d.ts +2 -11
- package/out/generator/genMetaData.js +185 -51
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/genReleaseBody.d.ts +57 -0
- package/out/generator/genReleaseBody.js +380 -0
- package/out/generator/genReleaseBody.js.map +1 -0
- package/out/generator/index.d.ts +2 -0
- package/out/generator/index.js +2 -0
- package/out/generator/index.js.map +1 -1
- package/out/generator/permission.d.ts +17 -0
- package/out/generator/permission.js +221 -0
- package/out/generator/permission.js.map +1 -0
- package/out/index.d.ts +3 -2
- package/out/index.js +7 -1
- package/out/index.js.map +1 -1
- package/out/server/entity2LogicNamespace.js +100 -20
- package/out/server/entity2LogicNamespace.js.map +1 -1
- package/out/server/extendBaseNode.js +33 -20
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.d.ts +1 -2
- package/out/server/formatTsUtils.js +46 -64
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getLogics.d.ts +2 -1
- package/out/server/getLogics.js +24 -6
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.js +11 -11
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/getProcesses.d.ts +1 -1
- package/out/server/getProcesses.js +1 -1
- package/out/server/getProcesses.js.map +1 -1
- package/out/server/index.d.ts +0 -1
- package/out/server/index.js +2 -27
- package/out/server/index.js.map +1 -1
- package/out/server/naslServer.d.ts +50 -8
- package/out/server/naslServer.js +816 -429
- package/out/server/naslServer.js.map +1 -1
- package/out/server/naslStdlibMap.js +30 -28
- package/out/server/naslStdlibMap.js.map +1 -1
- package/out/server/process2LogicNamespace.js +8 -0
- package/out/server/process2LogicNamespace.js.map +1 -1
- package/out/server/translator.js +90 -12
- package/out/server/translator.js.map +1 -1
- package/out/service/creator/add.configs.js +4 -0
- package/out/service/creator/add.configs.js.map +1 -1
- package/out/service/datasource/api.d.ts +12 -0
- package/out/service/datasource/api.js +14 -0
- package/out/service/datasource/api.js.map +1 -0
- package/out/service/datasource/index.d.ts +2 -0
- package/out/service/datasource/index.js +10 -0
- package/out/service/datasource/index.js.map +1 -0
- package/out/service/defaultErrorMessage.json +97 -0
- package/out/service/logic/api.d.ts +9 -0
- package/out/service/logic/api.js +11 -0
- package/out/service/logic/api.js.map +1 -0
- package/out/service/logic/index.d.ts +2 -0
- package/out/service/logic/index.js +10 -0
- package/out/service/logic/index.js.map +1 -0
- package/out/service/storage/init.js +48 -7
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +6 -4
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +7 -4
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.js +7 -5
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genEditTableBlock.js +4 -5
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genEnumSelectBlock.js +5 -2
- package/out/templator/genEnumSelectBlock.js.map +1 -1
- package/out/templator/genGetBlock.js +4 -3
- package/out/templator/genGetBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.js +18 -16
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.js +7 -7
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genQueryComponent.d.ts +2 -2
- package/out/templator/genQueryComponent.js +4 -1
- package/out/templator/genQueryComponent.js.map +1 -1
- package/out/templator/genTableBlock.js +8 -12
- package/out/templator/genTableBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +4 -3
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/out/templator/utils.js +1 -1
- package/out/templator/utils.js.map +1 -1
- package/out/test/integration/node-nasl-server.js +10 -38
- package/out/test/integration/node-nasl-server.js.map +1 -1
- package/out/translator/index.d.ts +1 -0
- package/out/translator/index.js +1 -1
- package/out/translator/index.js.map +1 -1
- package/out/utils/index.d.ts +1 -0
- package/out/utils/index.js +38 -1
- package/out/utils/index.js.map +1 -1
- package/out/utils/string.d.ts +15 -2
- package/out/utils/string.js +18 -3
- package/out/utils/string.js.map +1 -1
- package/package.json +1 -1
- package/src/concepts/App__.ts +11 -36
- package/src/concepts/Frontend__.ts +8 -0
- package/src/concepts/ViewElement__.ts +7 -28
- package/src/concepts/View__.ts +1 -1
- package/src/server/getLogics.ts +2 -2
- package/src/server/naslServer.ts +8 -8
- package/src/service/storage/init.ts +3 -4
|
@@ -14,7 +14,8 @@ const NumericLiteral__1 = __importDefault(require("../../NumericLiteral__"));
|
|
|
14
14
|
const Identifier__1 = __importDefault(require("../../Identifier__"));
|
|
15
15
|
const BooleanLiteral__1 = __importDefault(require("../../BooleanLiteral__"));
|
|
16
16
|
const StringLiteral__1 = __importDefault(require("../../StringLiteral__"));
|
|
17
|
-
const AnonymousFunction__1 = __importDefault(require("
|
|
17
|
+
const AnonymousFunction__1 = __importDefault(require("../../AnonymousFunction__"));
|
|
18
|
+
const StringInterpolation__1 = __importDefault(require("../../StringInterpolation__"));
|
|
18
19
|
exports.default = new Namespace__1.default({
|
|
19
20
|
name: 'util',
|
|
20
21
|
logics: [
|
|
@@ -24,6 +25,7 @@ exports.default = new Namespace__1.default({
|
|
|
24
25
|
new Param__1.default({
|
|
25
26
|
name: 'arg',
|
|
26
27
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
28
|
+
defaultExpression: new StringInterpolation__1.default(),
|
|
27
29
|
}),
|
|
28
30
|
],
|
|
29
31
|
}),
|
|
@@ -75,6 +77,7 @@ exports.default = new Namespace__1.default({
|
|
|
75
77
|
params: [
|
|
76
78
|
new Param__1.default({
|
|
77
79
|
name: 'value',
|
|
80
|
+
description: '选择变量或常量',
|
|
78
81
|
// typeAnnotation: new TypeAnnotation()
|
|
79
82
|
defaultExpression: new Identifier__1.default(),
|
|
80
83
|
}),
|
|
@@ -86,25 +89,63 @@ exports.default = new Namespace__1.default({
|
|
|
86
89
|
}),
|
|
87
90
|
],
|
|
88
91
|
}),
|
|
92
|
+
new Function__1.default({
|
|
93
|
+
name: 'ToString',
|
|
94
|
+
description: '各类型转换成字符串',
|
|
95
|
+
params: [
|
|
96
|
+
new Param__1.default({
|
|
97
|
+
name: 'value',
|
|
98
|
+
defaultExpression: new Identifier__1.default(),
|
|
99
|
+
}),
|
|
100
|
+
],
|
|
101
|
+
returns: [
|
|
102
|
+
new Return__1.default({
|
|
103
|
+
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
104
|
+
}),
|
|
105
|
+
],
|
|
106
|
+
}),
|
|
107
|
+
new Function__1.default({
|
|
108
|
+
name: 'FromString',
|
|
109
|
+
description: '字符串转换成其他类型',
|
|
110
|
+
typeParams: [
|
|
111
|
+
new TypeParam__1.default({
|
|
112
|
+
name: 'T',
|
|
113
|
+
}),
|
|
114
|
+
],
|
|
115
|
+
params: [
|
|
116
|
+
new Param__1.default({
|
|
117
|
+
name: 'value',
|
|
118
|
+
defaultExpression: new Identifier__1.default(),
|
|
119
|
+
}),
|
|
120
|
+
],
|
|
121
|
+
returns: [
|
|
122
|
+
new Return__1.default({
|
|
123
|
+
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
124
|
+
}),
|
|
125
|
+
],
|
|
126
|
+
}),
|
|
89
127
|
new Function__1.default({
|
|
90
128
|
name: 'IndexOf',
|
|
91
129
|
description: '搜索字符串位置',
|
|
92
130
|
params: [
|
|
93
131
|
new Param__1.default({
|
|
94
132
|
name: 'str',
|
|
133
|
+
description: '指定字符串',
|
|
95
134
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
96
135
|
}),
|
|
97
136
|
new Param__1.default({
|
|
98
137
|
name: 'search',
|
|
138
|
+
description: '指定需要搜索的字段,String类型',
|
|
99
139
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
100
140
|
}),
|
|
101
141
|
new Param__1.default({
|
|
102
142
|
name: 'fromIndex',
|
|
143
|
+
description: '开始搜索的索引值,Integer类型,用数字表示第几项,项数索引从0开始',
|
|
103
144
|
defaultExpression: new NumericLiteral__1.default({ value: '0' }),
|
|
104
145
|
}),
|
|
105
146
|
new Param__1.default({
|
|
106
147
|
name: 'ignoreCase',
|
|
107
|
-
description: '
|
|
148
|
+
description: '是否忽略大小写,true为忽略,false为不忽略',
|
|
108
149
|
defaultExpression: new BooleanLiteral__1.default({ value: 'true' }),
|
|
109
150
|
options: [
|
|
110
151
|
{ text: 'true', value: 'true' },
|
|
@@ -124,16 +165,18 @@ exports.default = new Namespace__1.default({
|
|
|
124
165
|
params: [
|
|
125
166
|
new Param__1.default({
|
|
126
167
|
name: 'str',
|
|
168
|
+
description: '指定字符串',
|
|
127
169
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
128
170
|
}),
|
|
129
171
|
new Param__1.default({
|
|
130
172
|
name: 'search',
|
|
173
|
+
description: '指定需要搜索的字段,String类型',
|
|
131
174
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
132
175
|
}),
|
|
133
176
|
new Param__1.default({
|
|
134
177
|
name: 'ignoreCase',
|
|
135
|
-
description: '
|
|
136
|
-
defaultExpression: new BooleanLiteral__1.default({ value: '
|
|
178
|
+
description: '是否忽略大小写,true为忽略,false为不忽略',
|
|
179
|
+
defaultExpression: new BooleanLiteral__1.default({ value: 'true' }),
|
|
137
180
|
options: [
|
|
138
181
|
{ text: 'true', value: 'true' },
|
|
139
182
|
{ text: 'false', value: 'false' },
|
|
@@ -148,18 +191,21 @@ exports.default = new Namespace__1.default({
|
|
|
148
191
|
}),
|
|
149
192
|
new Function__1.default({
|
|
150
193
|
name: 'Replace',
|
|
151
|
-
description: '
|
|
194
|
+
description: '字符串替换。返回替换后的新字符串。',
|
|
152
195
|
params: [
|
|
153
196
|
new Param__1.default({
|
|
154
197
|
name: 'str',
|
|
198
|
+
description: '指定原始字符串',
|
|
155
199
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
156
200
|
}),
|
|
157
201
|
new Param__1.default({
|
|
158
202
|
name: 'search',
|
|
203
|
+
description: '指定原始字符串中需要被替换的字符串',
|
|
159
204
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
160
205
|
}),
|
|
161
206
|
new Param__1.default({
|
|
162
207
|
name: 'replace',
|
|
208
|
+
description: '指定进行替换操作的字符串',
|
|
163
209
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
164
210
|
}),
|
|
165
211
|
],
|
|
@@ -171,38 +217,82 @@ exports.default = new Namespace__1.default({
|
|
|
171
217
|
}),
|
|
172
218
|
new Function__1.default({
|
|
173
219
|
name: 'SubString',
|
|
174
|
-
description: '
|
|
220
|
+
description: '字符串截取。返回截取的字符串。',
|
|
175
221
|
params: [
|
|
176
222
|
new Param__1.default({
|
|
177
223
|
name: 'str',
|
|
224
|
+
description: '指定需要截取的字符串',
|
|
178
225
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
179
226
|
}),
|
|
180
227
|
new Param__1.default({
|
|
181
228
|
name: 'start',
|
|
229
|
+
description: 'int类型,输入数字指定开始截取的位置',
|
|
182
230
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
183
231
|
}),
|
|
184
232
|
new Param__1.default({
|
|
185
233
|
name: 'length',
|
|
234
|
+
description: '指定截取的字符串长度',
|
|
186
235
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
187
236
|
}),
|
|
188
237
|
],
|
|
189
238
|
returns: [
|
|
190
239
|
new Return__1.default({
|
|
191
|
-
typeAnnotation: TypeAnnotation__1.default.
|
|
240
|
+
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
192
241
|
}),
|
|
193
242
|
],
|
|
194
243
|
}),
|
|
195
244
|
new Function__1.default({
|
|
196
|
-
name: '
|
|
245
|
+
name: 'EnumToList',
|
|
246
|
+
description: '返回枚举value和text的List集合',
|
|
247
|
+
typeParams: [
|
|
248
|
+
new TypeParam__1.default({
|
|
249
|
+
name: 'enum',
|
|
250
|
+
useComponent: { type: 's-enum-select' },
|
|
251
|
+
}),
|
|
252
|
+
],
|
|
253
|
+
returns: [
|
|
254
|
+
new Return__1.default({
|
|
255
|
+
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
256
|
+
typeArguments: [TypeAnnotation__1.default.createPrimitive('String')],
|
|
257
|
+
}),
|
|
258
|
+
}),
|
|
259
|
+
],
|
|
260
|
+
}),
|
|
261
|
+
new Function__1.default({
|
|
262
|
+
name: 'EnumValueToText',
|
|
197
263
|
description: '返回枚举指定value的标题字符串',
|
|
264
|
+
typeParams: [
|
|
265
|
+
new TypeParam__1.default({
|
|
266
|
+
name: 'enum',
|
|
267
|
+
useComponent: { type: 's-enum-select' },
|
|
268
|
+
}),
|
|
269
|
+
],
|
|
198
270
|
params: [
|
|
199
271
|
new Param__1.default({
|
|
200
|
-
name: '
|
|
272
|
+
name: 'value',
|
|
273
|
+
description: '指定需要将枚举值转换为标题的字段',
|
|
201
274
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
275
|
+
}),
|
|
276
|
+
],
|
|
277
|
+
returns: [
|
|
278
|
+
new Return__1.default({
|
|
279
|
+
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
280
|
+
}),
|
|
281
|
+
],
|
|
282
|
+
}),
|
|
283
|
+
new Function__1.default({
|
|
284
|
+
name: 'StringToEnumValue',
|
|
285
|
+
description: '在指定enum中找到与参数str相同的枚举值并返回。',
|
|
286
|
+
typeParams: [
|
|
287
|
+
new TypeParam__1.default({
|
|
288
|
+
name: 'enum',
|
|
202
289
|
useComponent: { type: 's-enum-select' },
|
|
203
290
|
}),
|
|
291
|
+
],
|
|
292
|
+
params: [
|
|
204
293
|
new Param__1.default({
|
|
205
294
|
name: 'value',
|
|
295
|
+
description: '指定一个字符串',
|
|
206
296
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
207
297
|
}),
|
|
208
298
|
],
|
|
@@ -218,10 +308,12 @@ exports.default = new Namespace__1.default({
|
|
|
218
308
|
params: [
|
|
219
309
|
new Param__1.default({
|
|
220
310
|
name: 'str',
|
|
311
|
+
description: '指定字符串',
|
|
221
312
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
222
313
|
}),
|
|
223
314
|
new Param__1.default({
|
|
224
315
|
name: 'separator',
|
|
316
|
+
description: '指定字符串中作为分隔符的参数',
|
|
225
317
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
226
318
|
}),
|
|
227
319
|
],
|
|
@@ -239,12 +331,14 @@ exports.default = new Namespace__1.default({
|
|
|
239
331
|
params: [
|
|
240
332
|
new Param__1.default({
|
|
241
333
|
name: 'list',
|
|
334
|
+
description: '指定列表',
|
|
242
335
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
243
336
|
typeArguments: [TypeAnnotation__1.default.createPrimitive('String')],
|
|
244
337
|
}),
|
|
245
338
|
}),
|
|
246
339
|
new Param__1.default({
|
|
247
340
|
name: 'separator',
|
|
341
|
+
description: '连接符,用于连接列表中的项',
|
|
248
342
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
249
343
|
}),
|
|
250
344
|
],
|
|
@@ -260,10 +354,12 @@ exports.default = new Namespace__1.default({
|
|
|
260
354
|
params: [
|
|
261
355
|
new Param__1.default({
|
|
262
356
|
name: 'str1',
|
|
357
|
+
description: '指定字符串1',
|
|
263
358
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
264
359
|
}),
|
|
265
360
|
new Param__1.default({
|
|
266
361
|
name: 'str2',
|
|
362
|
+
description: '指定字符串2',
|
|
267
363
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
268
364
|
}),
|
|
269
365
|
],
|
|
@@ -275,10 +371,11 @@ exports.default = new Namespace__1.default({
|
|
|
275
371
|
}),
|
|
276
372
|
new Function__1.default({
|
|
277
373
|
name: 'Length',
|
|
278
|
-
description: '
|
|
374
|
+
description: '返回String或Map或List的长度',
|
|
279
375
|
params: [
|
|
280
376
|
new Param__1.default({
|
|
281
377
|
name: 'param',
|
|
378
|
+
description: '指定字符串',
|
|
282
379
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
283
380
|
}),
|
|
284
381
|
],
|
|
@@ -294,6 +391,7 @@ exports.default = new Namespace__1.default({
|
|
|
294
391
|
params: [
|
|
295
392
|
new Param__1.default({
|
|
296
393
|
name: 'str1',
|
|
394
|
+
description: '指定字符串',
|
|
297
395
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
298
396
|
}),
|
|
299
397
|
],
|
|
@@ -309,6 +407,7 @@ exports.default = new Namespace__1.default({
|
|
|
309
407
|
params: [
|
|
310
408
|
new Param__1.default({
|
|
311
409
|
name: 'str1',
|
|
410
|
+
description: '指定字符串',
|
|
312
411
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
313
412
|
}),
|
|
314
413
|
],
|
|
@@ -320,10 +419,11 @@ exports.default = new Namespace__1.default({
|
|
|
320
419
|
}),
|
|
321
420
|
new Function__1.default({
|
|
322
421
|
name: 'Trim',
|
|
323
|
-
description: '
|
|
422
|
+
description: '删除字符串的前后空格。返回裁剪后的新字符串。',
|
|
324
423
|
params: [
|
|
325
424
|
new Param__1.default({
|
|
326
425
|
name: 'str1',
|
|
426
|
+
description: '指定字符串',
|
|
327
427
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
328
428
|
}),
|
|
329
429
|
],
|
|
@@ -339,12 +439,14 @@ exports.default = new Namespace__1.default({
|
|
|
339
439
|
params: [
|
|
340
440
|
new Param__1.default({
|
|
341
441
|
name: 'list',
|
|
442
|
+
description: '指定列表',
|
|
342
443
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
343
444
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
344
445
|
}),
|
|
345
446
|
}),
|
|
346
447
|
new Param__1.default({
|
|
347
448
|
name: 'index',
|
|
449
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
348
450
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
349
451
|
}),
|
|
350
452
|
],
|
|
@@ -356,20 +458,23 @@ exports.default = new Namespace__1.default({
|
|
|
356
458
|
}),
|
|
357
459
|
new Function__1.default({
|
|
358
460
|
name: 'Set',
|
|
359
|
-
description: '
|
|
461
|
+
description: '(修改原数据)为列表的指定索引项赋值(覆盖原索引项)',
|
|
360
462
|
params: [
|
|
361
463
|
new Param__1.default({
|
|
362
464
|
name: 'list',
|
|
465
|
+
description: '指定列表',
|
|
363
466
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
364
467
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
365
468
|
}),
|
|
366
469
|
}),
|
|
367
470
|
new Param__1.default({
|
|
368
471
|
name: 'index',
|
|
472
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
369
473
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
370
474
|
}),
|
|
371
475
|
new Param__1.default({
|
|
372
476
|
name: 'item',
|
|
477
|
+
description: '列表指定索引下的新项',
|
|
373
478
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
374
479
|
}),
|
|
375
480
|
],
|
|
@@ -385,12 +490,14 @@ exports.default = new Namespace__1.default({
|
|
|
385
490
|
params: [
|
|
386
491
|
new Param__1.default({
|
|
387
492
|
name: 'list',
|
|
493
|
+
description: '指定列表',
|
|
388
494
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
389
495
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
390
496
|
}),
|
|
391
497
|
}),
|
|
392
498
|
new Param__1.default({
|
|
393
499
|
name: 'item',
|
|
500
|
+
description: '指定项',
|
|
394
501
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
395
502
|
}),
|
|
396
503
|
],
|
|
@@ -402,32 +509,36 @@ exports.default = new Namespace__1.default({
|
|
|
402
509
|
}),
|
|
403
510
|
new Function__1.default({
|
|
404
511
|
name: 'Add',
|
|
405
|
-
description: '
|
|
512
|
+
description: '(修改原数据)在列表末尾追加项。',
|
|
406
513
|
params: [
|
|
407
514
|
new Param__1.default({
|
|
408
515
|
name: 'list',
|
|
516
|
+
description: '指定列表',
|
|
409
517
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
410
518
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
411
519
|
}),
|
|
412
520
|
}),
|
|
413
521
|
new Param__1.default({
|
|
414
522
|
name: 'item',
|
|
523
|
+
description: '指定需要在列表末尾增加的项',
|
|
415
524
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
416
525
|
}),
|
|
417
526
|
],
|
|
418
527
|
}),
|
|
419
528
|
new Function__1.default({
|
|
420
529
|
name: 'AddAll',
|
|
421
|
-
description: '
|
|
530
|
+
description: '(修改原数据)为一个列表添加另一列表中的多项内容。返回新列表的长度',
|
|
422
531
|
params: [
|
|
423
532
|
new Param__1.default({
|
|
424
533
|
name: 'list',
|
|
534
|
+
description: '指定列表1',
|
|
425
535
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
426
536
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
427
537
|
}),
|
|
428
538
|
}),
|
|
429
539
|
new Param__1.default({
|
|
430
540
|
name: 'addList',
|
|
541
|
+
description: '指定列表2',
|
|
431
542
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
432
543
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
433
544
|
}),
|
|
@@ -441,52 +552,59 @@ exports.default = new Namespace__1.default({
|
|
|
441
552
|
}),
|
|
442
553
|
new Function__1.default({
|
|
443
554
|
name: 'Insert',
|
|
444
|
-
description: '
|
|
555
|
+
description: '(修改原数据)在列表的指定索引处插入新项(原索引项依次后推)',
|
|
445
556
|
params: [
|
|
446
557
|
new Param__1.default({
|
|
447
558
|
name: 'list',
|
|
559
|
+
description: '指定列表',
|
|
448
560
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
449
561
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
450
562
|
}),
|
|
451
563
|
}),
|
|
452
564
|
new Param__1.default({
|
|
453
565
|
name: 'index',
|
|
566
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
454
567
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
455
568
|
}),
|
|
456
569
|
new Param__1.default({
|
|
457
570
|
name: 'item',
|
|
571
|
+
description: '待插入项',
|
|
458
572
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
459
573
|
}),
|
|
460
574
|
],
|
|
461
575
|
}),
|
|
462
576
|
new Function__1.default({
|
|
463
577
|
name: 'Remove',
|
|
464
|
-
description: '
|
|
578
|
+
description: '(修改原数据)删除列表的某项',
|
|
465
579
|
params: [
|
|
466
580
|
new Param__1.default({
|
|
467
581
|
name: 'list',
|
|
582
|
+
description: '指定列表',
|
|
468
583
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
469
584
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
470
585
|
}),
|
|
471
586
|
}),
|
|
472
587
|
new Param__1.default({
|
|
473
588
|
name: 'item',
|
|
589
|
+
description: '指定项',
|
|
474
590
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
475
591
|
}),
|
|
476
592
|
],
|
|
477
593
|
}),
|
|
478
594
|
new Function__1.default({
|
|
479
595
|
name: 'RemoveAt',
|
|
480
|
-
description: '
|
|
596
|
+
description: '(修改原数据)在列表中删除位于指定索引的项。返回被删除的项',
|
|
481
597
|
params: [
|
|
482
598
|
new Param__1.default({
|
|
483
599
|
name: 'list',
|
|
600
|
+
description: '指定列表',
|
|
484
601
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
485
602
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
486
603
|
}),
|
|
487
604
|
}),
|
|
488
605
|
new Param__1.default({
|
|
489
606
|
name: 'index',
|
|
607
|
+
description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
490
608
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
491
609
|
}),
|
|
492
610
|
],
|
|
@@ -502,6 +620,7 @@ exports.default = new Namespace__1.default({
|
|
|
502
620
|
params: [
|
|
503
621
|
new Param__1.default({
|
|
504
622
|
name: 'list',
|
|
623
|
+
description: '指定列表',
|
|
505
624
|
}),
|
|
506
625
|
],
|
|
507
626
|
returns: [
|
|
@@ -516,6 +635,7 @@ exports.default = new Namespace__1.default({
|
|
|
516
635
|
params: [
|
|
517
636
|
new Param__1.default({
|
|
518
637
|
name: 'list',
|
|
638
|
+
description: '指定列表',
|
|
519
639
|
}),
|
|
520
640
|
],
|
|
521
641
|
returns: [
|
|
@@ -530,6 +650,7 @@ exports.default = new Namespace__1.default({
|
|
|
530
650
|
params: [
|
|
531
651
|
new Param__1.default({
|
|
532
652
|
name: 'list',
|
|
653
|
+
description: '指定列表',
|
|
533
654
|
}),
|
|
534
655
|
],
|
|
535
656
|
returns: [
|
|
@@ -546,11 +667,11 @@ exports.default = new Namespace__1.default({
|
|
|
546
667
|
params: [
|
|
547
668
|
new Param__1.default({
|
|
548
669
|
name: 'list',
|
|
670
|
+
description: '指定列表',
|
|
549
671
|
}),
|
|
550
672
|
new Param__1.default({
|
|
551
673
|
name: 'by',
|
|
552
|
-
description:
|
|
553
|
-
<div>(\${0}) → V</div>`,
|
|
674
|
+
description: `根据项的属性及其本身进行key和value的定义`,
|
|
554
675
|
defaultExpression: new AnonymousFunction__1.default({
|
|
555
676
|
params: [
|
|
556
677
|
new Param__1.default({
|
|
@@ -577,14 +698,15 @@ exports.default = new Namespace__1.default({
|
|
|
577
698
|
}),
|
|
578
699
|
new Function__1.default({
|
|
579
700
|
name: 'ListTransform',
|
|
580
|
-
description: '对列表的每一项调用函数 by
|
|
701
|
+
description: '对列表的每一项调用函数 by,得到新项;返回新项构成的列表',
|
|
581
702
|
params: [
|
|
582
703
|
new Param__1.default({
|
|
583
704
|
name: 'list',
|
|
705
|
+
description: '指定列表',
|
|
584
706
|
}),
|
|
585
707
|
new Param__1.default({
|
|
586
708
|
name: 'by',
|
|
587
|
-
description: '
|
|
709
|
+
description: '指定对列表中项的某个属性或项本身的处理方式,支持算数运算和比较运算',
|
|
588
710
|
defaultExpression: new AnonymousFunction__1.default({
|
|
589
711
|
params: [
|
|
590
712
|
new Param__1.default({
|
|
@@ -609,6 +731,7 @@ exports.default = new Namespace__1.default({
|
|
|
609
731
|
params: [
|
|
610
732
|
new Param__1.default({
|
|
611
733
|
name: 'list',
|
|
734
|
+
description: '指定列表',
|
|
612
735
|
}),
|
|
613
736
|
],
|
|
614
737
|
returns: [
|
|
@@ -623,6 +746,7 @@ exports.default = new Namespace__1.default({
|
|
|
623
746
|
params: [
|
|
624
747
|
new Param__1.default({
|
|
625
748
|
name: 'list',
|
|
749
|
+
description: '指定数值类型列表',
|
|
626
750
|
}),
|
|
627
751
|
],
|
|
628
752
|
returns: [
|
|
@@ -637,6 +761,7 @@ exports.default = new Namespace__1.default({
|
|
|
637
761
|
params: [
|
|
638
762
|
new Param__1.default({
|
|
639
763
|
name: 'list',
|
|
764
|
+
description: '指定数值类型列表',
|
|
640
765
|
}),
|
|
641
766
|
],
|
|
642
767
|
returns: [
|
|
@@ -651,6 +776,7 @@ exports.default = new Namespace__1.default({
|
|
|
651
776
|
params: [
|
|
652
777
|
new Param__1.default({
|
|
653
778
|
name: 'list',
|
|
779
|
+
description: '指定数值类型列表',
|
|
654
780
|
}),
|
|
655
781
|
],
|
|
656
782
|
returns: [
|
|
@@ -665,6 +791,7 @@ exports.default = new Namespace__1.default({
|
|
|
665
791
|
params: [
|
|
666
792
|
new Param__1.default({
|
|
667
793
|
name: 'list',
|
|
794
|
+
description: '指定数值类型列表',
|
|
668
795
|
}),
|
|
669
796
|
],
|
|
670
797
|
returns: [
|
|
@@ -679,6 +806,7 @@ exports.default = new Namespace__1.default({
|
|
|
679
806
|
params: [
|
|
680
807
|
new Param__1.default({
|
|
681
808
|
name: 'map',
|
|
809
|
+
description: '指定映射',
|
|
682
810
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
683
811
|
typeArguments: [
|
|
684
812
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -688,6 +816,7 @@ exports.default = new Namespace__1.default({
|
|
|
688
816
|
}),
|
|
689
817
|
new Param__1.default({
|
|
690
818
|
name: 'key',
|
|
819
|
+
description: '指定参数key',
|
|
691
820
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
692
821
|
}),
|
|
693
822
|
],
|
|
@@ -699,10 +828,11 @@ exports.default = new Namespace__1.default({
|
|
|
699
828
|
}),
|
|
700
829
|
new Function__1.default({
|
|
701
830
|
name: 'MapPut',
|
|
702
|
-
description: '
|
|
831
|
+
description: '(修改原数据)为Map中添加键值对',
|
|
703
832
|
params: [
|
|
704
833
|
new Param__1.default({
|
|
705
834
|
name: 'map',
|
|
835
|
+
description: '指定映射',
|
|
706
836
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
707
837
|
typeArguments: [
|
|
708
838
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -712,20 +842,23 @@ exports.default = new Namespace__1.default({
|
|
|
712
842
|
}),
|
|
713
843
|
new Param__1.default({
|
|
714
844
|
name: 'key',
|
|
845
|
+
description: '指定参数key',
|
|
715
846
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
716
847
|
}),
|
|
717
848
|
new Param__1.default({
|
|
718
849
|
name: 'value',
|
|
850
|
+
description: '指定参数value',
|
|
719
851
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('V'),
|
|
720
852
|
}),
|
|
721
853
|
],
|
|
722
854
|
}),
|
|
723
855
|
new Function__1.default({
|
|
724
856
|
name: 'MapRemove',
|
|
725
|
-
description: '
|
|
857
|
+
description: '(修改原数据)删除Map中的键值对',
|
|
726
858
|
params: [
|
|
727
859
|
new Param__1.default({
|
|
728
860
|
name: 'map',
|
|
861
|
+
description: '指定列表',
|
|
729
862
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
730
863
|
typeArguments: [
|
|
731
864
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -735,16 +868,18 @@ exports.default = new Namespace__1.default({
|
|
|
735
868
|
}),
|
|
736
869
|
new Param__1.default({
|
|
737
870
|
name: 'key',
|
|
871
|
+
description: '指定参数key',
|
|
738
872
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
739
873
|
}),
|
|
740
874
|
],
|
|
741
875
|
}),
|
|
742
876
|
new Function__1.default({
|
|
743
877
|
name: 'MapContains',
|
|
744
|
-
description: '
|
|
878
|
+
description: '判断Map中是否存在参数指定的键值对',
|
|
745
879
|
params: [
|
|
746
880
|
new Param__1.default({
|
|
747
881
|
name: 'map',
|
|
882
|
+
description: '指定映射',
|
|
748
883
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
749
884
|
typeArguments: [
|
|
750
885
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -754,6 +889,7 @@ exports.default = new Namespace__1.default({
|
|
|
754
889
|
}),
|
|
755
890
|
new Param__1.default({
|
|
756
891
|
name: 'key',
|
|
892
|
+
description: '指定参数key',
|
|
757
893
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('K'),
|
|
758
894
|
}),
|
|
759
895
|
],
|
|
@@ -769,6 +905,7 @@ exports.default = new Namespace__1.default({
|
|
|
769
905
|
params: [
|
|
770
906
|
new Param__1.default({
|
|
771
907
|
name: 'map',
|
|
908
|
+
description: '指定映射',
|
|
772
909
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
773
910
|
typeArguments: [
|
|
774
911
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -791,6 +928,7 @@ exports.default = new Namespace__1.default({
|
|
|
791
928
|
params: [
|
|
792
929
|
new Param__1.default({
|
|
793
930
|
name: 'map',
|
|
931
|
+
description: '指定映射',
|
|
794
932
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('map', {
|
|
795
933
|
typeArguments: [
|
|
796
934
|
TypeAnnotation__1.default.createTypeParam('K'),
|
|
@@ -813,10 +951,11 @@ exports.default = new Namespace__1.default({
|
|
|
813
951
|
params: [
|
|
814
952
|
new Param__1.default({
|
|
815
953
|
name: 'map',
|
|
954
|
+
description: '指定映射',
|
|
816
955
|
}),
|
|
817
956
|
new Param__1.default({
|
|
818
957
|
name: 'by',
|
|
819
|
-
description: '
|
|
958
|
+
description: '针对键值对的参数key和value设置过滤条件,支持算数运算、比较运算和逻辑运算',
|
|
820
959
|
defaultExpression: new AnonymousFunction__1.default({
|
|
821
960
|
name: '',
|
|
822
961
|
description: '',
|
|
@@ -850,11 +989,11 @@ exports.default = new Namespace__1.default({
|
|
|
850
989
|
params: [
|
|
851
990
|
new Param__1.default({
|
|
852
991
|
name: 'map',
|
|
992
|
+
description: '指定映射',
|
|
853
993
|
}),
|
|
854
994
|
new Param__1.default({
|
|
855
995
|
name: 'by',
|
|
856
|
-
description:
|
|
857
|
-
<div>(\${0}, \${1}) → V</div>`,
|
|
996
|
+
description: `指定映射中键值对的参数处理方式,支持算数运算和比较运算`,
|
|
858
997
|
defaultExpression: new AnonymousFunction__1.default({
|
|
859
998
|
params: [
|
|
860
999
|
new Param__1.default({
|
|
@@ -931,11 +1070,12 @@ exports.default = new Namespace__1.default({
|
|
|
931
1070
|
params: [
|
|
932
1071
|
new Param__1.default({
|
|
933
1072
|
name: 'date',
|
|
1073
|
+
description: '指定需要格式化日期的字段',
|
|
934
1074
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Date'),
|
|
935
1075
|
}),
|
|
936
1076
|
new Param__1.default({
|
|
937
1077
|
name: 'formatter',
|
|
938
|
-
defaultValue: 'yyyy-MM-dd',
|
|
1078
|
+
defaultValue: '格式化规则,默认为yyyy-MM-dd,即年月日格式',
|
|
939
1079
|
defaultExpression: new StringLiteral__1.default({ value: 'yyyy-MM-dd' }),
|
|
940
1080
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
941
1081
|
}),
|
|
@@ -952,12 +1092,13 @@ exports.default = new Namespace__1.default({
|
|
|
952
1092
|
params: [
|
|
953
1093
|
new Param__1.default({
|
|
954
1094
|
name: 'date',
|
|
1095
|
+
description: '指定需要格式化日期时间的字段',
|
|
955
1096
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
956
1097
|
}),
|
|
957
1098
|
new Param__1.default({
|
|
958
1099
|
name: 'formatter',
|
|
959
1100
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
960
|
-
defaultValue: 'yyyy-MM-dd
|
|
1101
|
+
defaultValue: '格式化规则,默认为yyyy-MM-dd',
|
|
961
1102
|
defaultExpression: new StringLiteral__1.default({ value: 'yyyy-MM-dd HH:mm:ss' }),
|
|
962
1103
|
}),
|
|
963
1104
|
],
|
|
@@ -973,6 +1114,7 @@ exports.default = new Namespace__1.default({
|
|
|
973
1114
|
params: [
|
|
974
1115
|
new Param__1.default({
|
|
975
1116
|
name: 'value',
|
|
1117
|
+
description: '指定需要格式化小数位数的字段',
|
|
976
1118
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Decimal'),
|
|
977
1119
|
defaultExpression: new Identifier__1.default(),
|
|
978
1120
|
}),
|
|
@@ -985,6 +1127,7 @@ exports.default = new Namespace__1.default({
|
|
|
985
1127
|
}),
|
|
986
1128
|
new Param__1.default({
|
|
987
1129
|
name: 'showGroups',
|
|
1130
|
+
description: '是否显示千分位:true显示,false不显示',
|
|
988
1131
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
989
1132
|
defaultValue: 'false',
|
|
990
1133
|
defaultExpression: new BooleanLiteral__1.default({ value: 'false' }),
|
|
@@ -992,7 +1135,6 @@ exports.default = new Namespace__1.default({
|
|
|
992
1135
|
{ text: 'true', value: 'true' },
|
|
993
1136
|
{ text: 'false', value: 'false' },
|
|
994
1137
|
],
|
|
995
|
-
description: '是否显示千分位:true显示,false不显示',
|
|
996
1138
|
}),
|
|
997
1139
|
],
|
|
998
1140
|
returns: [
|
|
@@ -1007,10 +1149,12 @@ exports.default = new Namespace__1.default({
|
|
|
1007
1149
|
params: [
|
|
1008
1150
|
new Param__1.default({
|
|
1009
1151
|
name: 'dateTime',
|
|
1152
|
+
description: '指定日期时间',
|
|
1010
1153
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1011
1154
|
}),
|
|
1012
1155
|
new Param__1.default({
|
|
1013
1156
|
name: 'amount',
|
|
1157
|
+
description: '增加的天数',
|
|
1014
1158
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1015
1159
|
}),
|
|
1016
1160
|
],
|
|
@@ -1026,29 +1170,12 @@ exports.default = new Namespace__1.default({
|
|
|
1026
1170
|
params: [
|
|
1027
1171
|
new Param__1.default({
|
|
1028
1172
|
name: 'dateTime',
|
|
1173
|
+
description: '指定日期时间',
|
|
1029
1174
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1030
1175
|
}),
|
|
1031
1176
|
new Param__1.default({
|
|
1032
1177
|
name: 'amount',
|
|
1033
|
-
|
|
1034
|
-
}),
|
|
1035
|
-
],
|
|
1036
|
-
returns: [
|
|
1037
|
-
new Return__1.default({
|
|
1038
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1039
|
-
}),
|
|
1040
|
-
],
|
|
1041
|
-
}),
|
|
1042
|
-
new Function__1.default({
|
|
1043
|
-
name: 'SubDays',
|
|
1044
|
-
description: '返回日期天数减法计算结果',
|
|
1045
|
-
params: [
|
|
1046
|
-
new Param__1.default({
|
|
1047
|
-
name: 'dateTime',
|
|
1048
|
-
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1049
|
-
}),
|
|
1050
|
-
new Param__1.default({
|
|
1051
|
-
name: 'amount',
|
|
1178
|
+
description: '增加的月数',
|
|
1052
1179
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1053
1180
|
}),
|
|
1054
1181
|
],
|
|
@@ -1064,17 +1191,19 @@ exports.default = new Namespace__1.default({
|
|
|
1064
1191
|
params: [
|
|
1065
1192
|
new Param__1.default({
|
|
1066
1193
|
name: 'dateTime1',
|
|
1194
|
+
description: '指定日期时间1',
|
|
1067
1195
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1068
1196
|
defaultExpression: new Identifier__1.default(),
|
|
1069
1197
|
}),
|
|
1070
1198
|
new Param__1.default({
|
|
1071
1199
|
name: 'dateTime2',
|
|
1200
|
+
description: '指定日期时间2',
|
|
1072
1201
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('DateTime'),
|
|
1073
1202
|
defaultExpression: new Identifier__1.default(),
|
|
1074
1203
|
}),
|
|
1075
1204
|
new Param__1.default({
|
|
1076
1205
|
name: 'calcType',
|
|
1077
|
-
description: '
|
|
1206
|
+
description: '计算类型。计算两个日期时间之间的差值,支持年数、季度数、月数、星期数、天数、小时数、分钟数、秒数',
|
|
1078
1207
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('String'),
|
|
1079
1208
|
defaultValue: 'd',
|
|
1080
1209
|
defaultExpression: new StringLiteral__1.default({ value: 'd' }),
|
|
@@ -1102,6 +1231,7 @@ exports.default = new Namespace__1.default({
|
|
|
1102
1231
|
params: [
|
|
1103
1232
|
new Param__1.default({
|
|
1104
1233
|
name: 'struct',
|
|
1234
|
+
description: '指定对象',
|
|
1105
1235
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
1106
1236
|
}),
|
|
1107
1237
|
],
|
|
@@ -1113,10 +1243,11 @@ exports.default = new Namespace__1.default({
|
|
|
1113
1243
|
}),
|
|
1114
1244
|
new Function__1.default({
|
|
1115
1245
|
name: 'Clear',
|
|
1116
|
-
description: '
|
|
1246
|
+
description: '(修改原数据)清除复杂对象数据(不支持清除 Integer 等基础类型的值)',
|
|
1117
1247
|
params: [
|
|
1118
1248
|
new Param__1.default({
|
|
1119
1249
|
name: 'struct',
|
|
1250
|
+
description: '指定对象',
|
|
1120
1251
|
typeAnnotation: TypeAnnotation__1.default.createTypeParam('T'),
|
|
1121
1252
|
}),
|
|
1122
1253
|
],
|
|
@@ -1151,12 +1282,14 @@ exports.default = new Namespace__1.default({
|
|
|
1151
1282
|
params: [
|
|
1152
1283
|
new Param__1.default({
|
|
1153
1284
|
name: 'list',
|
|
1285
|
+
description: '指定列表',
|
|
1154
1286
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1155
1287
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1156
1288
|
}),
|
|
1157
1289
|
}),
|
|
1158
1290
|
new Param__1.default({
|
|
1159
1291
|
name: 'total',
|
|
1292
|
+
description: '指定数据条数',
|
|
1160
1293
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1161
1294
|
}),
|
|
1162
1295
|
],
|
|
@@ -1170,16 +1303,18 @@ exports.default = new Namespace__1.default({
|
|
|
1170
1303
|
}),
|
|
1171
1304
|
new Function__1.default({
|
|
1172
1305
|
name: 'ListSort',
|
|
1173
|
-
description: '
|
|
1306
|
+
description: '(修改原数据)为列表按指定规则排序',
|
|
1174
1307
|
params: [
|
|
1175
1308
|
new Param__1.default({
|
|
1176
1309
|
name: 'list',
|
|
1310
|
+
description: '指定列表',
|
|
1177
1311
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1178
1312
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1179
1313
|
}),
|
|
1180
1314
|
}),
|
|
1181
1315
|
new Param__1.default({
|
|
1182
1316
|
name: 'by',
|
|
1317
|
+
description: '指定列表中项的某个属性或项本身,支持算数运算和比较运算',
|
|
1183
1318
|
defaultExpression: new Function__1.default({
|
|
1184
1319
|
name: '',
|
|
1185
1320
|
description: '',
|
|
@@ -1193,13 +1328,13 @@ exports.default = new Namespace__1.default({
|
|
|
1193
1328
|
}),
|
|
1194
1329
|
new Param__1.default({
|
|
1195
1330
|
name: 'sort',
|
|
1196
|
-
description: '
|
|
1331
|
+
description: '支持升序或降序设置,asc为升序,desc为降序。',
|
|
1197
1332
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Boolean'),
|
|
1198
1333
|
defaultValue: 'asc',
|
|
1199
1334
|
defaultExpression: new BooleanLiteral__1.default({ value: 'true' }),
|
|
1200
1335
|
options: [
|
|
1201
|
-
{ text: 'asc', value: 'true' },
|
|
1202
|
-
{ text: 'desc', value: 'false' },
|
|
1336
|
+
{ text: 'asc(升序)', value: 'true' },
|
|
1337
|
+
{ text: 'desc(降序)', value: 'false' },
|
|
1203
1338
|
],
|
|
1204
1339
|
}),
|
|
1205
1340
|
],
|
|
@@ -1211,12 +1346,14 @@ exports.default = new Namespace__1.default({
|
|
|
1211
1346
|
params: [
|
|
1212
1347
|
new Param__1.default({
|
|
1213
1348
|
name: 'list',
|
|
1349
|
+
description: '指定列表',
|
|
1214
1350
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1215
1351
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1216
1352
|
}),
|
|
1217
1353
|
}),
|
|
1218
1354
|
new Param__1.default({
|
|
1219
1355
|
name: 'by',
|
|
1356
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1220
1357
|
defaultExpression: new Function__1.default({
|
|
1221
1358
|
name: '',
|
|
1222
1359
|
description: '',
|
|
@@ -1241,12 +1378,14 @@ exports.default = new Namespace__1.default({
|
|
|
1241
1378
|
params: [
|
|
1242
1379
|
new Param__1.default({
|
|
1243
1380
|
name: 'list',
|
|
1381
|
+
description: '指定列表',
|
|
1244
1382
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1245
1383
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1246
1384
|
}),
|
|
1247
1385
|
}),
|
|
1248
1386
|
new Param__1.default({
|
|
1249
1387
|
name: 'by',
|
|
1388
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1250
1389
|
defaultExpression: new Function__1.default({
|
|
1251
1390
|
name: '',
|
|
1252
1391
|
description: '',
|
|
@@ -1267,14 +1406,15 @@ exports.default = new Namespace__1.default({
|
|
|
1267
1406
|
}),
|
|
1268
1407
|
new Function__1.default({
|
|
1269
1408
|
name: 'ListFilter',
|
|
1270
|
-
description: '
|
|
1409
|
+
description: '筛选列表中符合条件的所有项,返回这些项构成的新的列表',
|
|
1271
1410
|
params: [
|
|
1272
1411
|
new Param__1.default({
|
|
1273
1412
|
name: 'list',
|
|
1413
|
+
description: '指定列表',
|
|
1274
1414
|
}),
|
|
1275
1415
|
new Param__1.default({
|
|
1276
1416
|
name: 'by',
|
|
1277
|
-
description: '
|
|
1417
|
+
description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
|
|
1278
1418
|
defaultExpression: new AnonymousFunction__1.default({
|
|
1279
1419
|
params: [
|
|
1280
1420
|
new Param__1.default({
|
|
@@ -1296,10 +1436,11 @@ exports.default = new Namespace__1.default({
|
|
|
1296
1436
|
}),
|
|
1297
1437
|
new Function__1.default({
|
|
1298
1438
|
name: 'ListReverse',
|
|
1299
|
-
description: '
|
|
1439
|
+
description: '(修改原数据)将列表的所有项反向排列(例如第一项变为最后一项)',
|
|
1300
1440
|
params: [
|
|
1301
1441
|
new Param__1.default({
|
|
1302
1442
|
name: 'list',
|
|
1443
|
+
description: '指定列表',
|
|
1303
1444
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1304
1445
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1305
1446
|
}),
|
|
@@ -1309,10 +1450,11 @@ exports.default = new Namespace__1.default({
|
|
|
1309
1450
|
}),
|
|
1310
1451
|
new Function__1.default({
|
|
1311
1452
|
name: 'ListDistinct',
|
|
1312
|
-
description: '
|
|
1453
|
+
description: '(修改原数据)为列表去除重复项',
|
|
1313
1454
|
params: [
|
|
1314
1455
|
new Param__1.default({
|
|
1315
1456
|
name: 'list',
|
|
1457
|
+
description: '指定列表',
|
|
1316
1458
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1317
1459
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1318
1460
|
}),
|
|
@@ -1322,18 +1464,20 @@ exports.default = new Namespace__1.default({
|
|
|
1322
1464
|
}),
|
|
1323
1465
|
new Function__1.default({
|
|
1324
1466
|
name: 'ListDistinctBy',
|
|
1325
|
-
description: '
|
|
1467
|
+
description: '按某个属性为列表去除重复项。返回去除重复项后的列表',
|
|
1326
1468
|
params: [
|
|
1327
1469
|
new Param__1.default({
|
|
1328
1470
|
name: 'list',
|
|
1471
|
+
description: '指定列表',
|
|
1329
1472
|
}),
|
|
1330
1473
|
new Param__1.default({
|
|
1331
1474
|
name: 'by',
|
|
1332
|
-
description: '
|
|
1475
|
+
description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
|
|
1333
1476
|
defaultExpression: new AnonymousFunction__1.default({
|
|
1334
1477
|
params: [
|
|
1335
1478
|
new Param__1.default({
|
|
1336
1479
|
name: 'item',
|
|
1480
|
+
description: '是否忽略大小写',
|
|
1337
1481
|
typeAnnotation: null,
|
|
1338
1482
|
}),
|
|
1339
1483
|
],
|
|
@@ -1355,14 +1499,16 @@ exports.default = new Namespace__1.default({
|
|
|
1355
1499
|
params: [
|
|
1356
1500
|
new Param__1.default({
|
|
1357
1501
|
name: 'list',
|
|
1502
|
+
description: '指定列表',
|
|
1358
1503
|
}),
|
|
1359
1504
|
new Param__1.default({
|
|
1360
1505
|
name: 'by',
|
|
1361
|
-
description: '
|
|
1506
|
+
description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
|
|
1362
1507
|
defaultExpression: new AnonymousFunction__1.default({
|
|
1363
1508
|
params: [
|
|
1364
1509
|
new Param__1.default({
|
|
1365
1510
|
name: 'item',
|
|
1511
|
+
description: '是否忽略大小写',
|
|
1366
1512
|
typeAnnotation: null,
|
|
1367
1513
|
}),
|
|
1368
1514
|
],
|
|
@@ -1387,16 +1533,19 @@ exports.default = new Namespace__1.default({
|
|
|
1387
1533
|
params: [
|
|
1388
1534
|
new Param__1.default({
|
|
1389
1535
|
name: 'list',
|
|
1536
|
+
description: '指定列表',
|
|
1390
1537
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1391
1538
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1392
1539
|
}),
|
|
1393
1540
|
}),
|
|
1394
1541
|
new Param__1.default({
|
|
1395
1542
|
name: 'start',
|
|
1543
|
+
description: '切片起始的索引,integer类型,项数索引从0开始',
|
|
1396
1544
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1397
1545
|
}),
|
|
1398
1546
|
new Param__1.default({
|
|
1399
1547
|
name: 'end',
|
|
1548
|
+
description: '切片结束的索引,integer类型,用数字表示第几项,项数索引从0开始',
|
|
1400
1549
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1401
1550
|
}),
|
|
1402
1551
|
],
|
|
@@ -1414,16 +1563,19 @@ exports.default = new Namespace__1.default({
|
|
|
1414
1563
|
params: [
|
|
1415
1564
|
new Param__1.default({
|
|
1416
1565
|
name: 'list',
|
|
1566
|
+
description: '指定列表',
|
|
1417
1567
|
typeAnnotation: TypeAnnotation__1.default.createGeneric('List', {
|
|
1418
1568
|
typeArguments: [TypeAnnotation__1.default.createTypeParam('T')],
|
|
1419
1569
|
}),
|
|
1420
1570
|
}),
|
|
1421
1571
|
new Param__1.default({
|
|
1422
1572
|
name: 'page',
|
|
1573
|
+
description: '页数,integer类型,从1开始',
|
|
1423
1574
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1424
1575
|
}),
|
|
1425
1576
|
new Param__1.default({
|
|
1426
1577
|
name: 'size',
|
|
1578
|
+
description: '每页的大小,integer类型',
|
|
1427
1579
|
typeAnnotation: TypeAnnotation__1.default.createPrimitive('Integer'),
|
|
1428
1580
|
}),
|
|
1429
1581
|
],
|