@ldsg/constants 0.3.9 → 0.3.17
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/dist/app-manifest.json +542 -1
- package/dist/files-in-app-template-module.json +165 -0
- package/dist/files-in-handler-template-module.json +57 -0
- package/dist/index.d.ts +57 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/resource-definition-related-resource-records.json +531 -1
- package/package.json +13 -5
- package/dist/files-in-handler-module.json +0 -1
- package/dist/files-in-root-module.json +0 -1
|
@@ -1 +1,531 @@
|
|
|
1
|
-
[{ "id": "application-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "application-resource-definition-handler", "title": "应用资源定义", "description": "", "kind": "application", "parentKind": "root" } }, { "id": "application-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "应用实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/application\";", "dependencies": [{ "name": "@ldsg/application" }] } }, { "id": "database-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "database-resource-definition-handler", "title": "数据库资源定义", "description": "", "kind": "database", "parentKind": "root" } }, { "id": "database-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "数据库实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/database\";", "dependencies": [{ "name": "@ldsg/database" }] } }, { "id": "field-type-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "field-type-resource-definition-handler", "title": "字段类型资源定义", "description": "", "kind": "field_type", "parentKind": "root" } }, { "id": "field-type-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "字段类型实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/field-type\";", "dependencies": [{ "name": "@ldsg/field-type" }] } }, { "id": "form-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "form-resource-definition-handler", "title": "表单资源定义", "description": "", "kind": "form", "parentKind": "forms" } }, { "id": "form-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "表单资源处理程序", "description": "", "code": "export * from \"@ldsg/form\";", "dependencies": [{ "name": "@ldsg/form" }] } }, { "id": "forms-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "forms-resource-definition-handler", "title": "表单组资源定义", "description": "", "kind": "forms", "parentKind": "application" } }, { "id": "forms-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "表单组实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/forms\";", "dependencies": [{ "name": "@ldsg/forms" }] } }, { "id": "graphql-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "graphql-resource-definition-handler", "title": "GraphQL资源定义", "description": "", "kind": "graphql", "parentKind": "application" } }, { "id": "graphql-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "GraphQL实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/graphql\";", "dependencies": [{ "name": "@ldsg/graphql" }] } }, { "id": "graphql-workflow-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "graphql-workflow-resource-definition-handler", "title": "GraphQL工作流资源定义", "description": "", "kind": "graphql-workflow", "parentKind": "graphql-workflows" } }, { "id": "graphql-workflow-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "GraphQL工作流实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/graphql-workflow\";", "dependencies": [{ "name": "@ldsg/graphql-workflow" }] } }, { "id": "graphql-workflows-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "graphql-workflows-resource-definition-handler", "title": "GraphQL工作流组资源定义", "description": "", "kind": "graphql-workflows", "parentKind": "graphql" } }, { "id": "graphql-workflows-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "GraphQL工作流组实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/graphql-workflows\";", "dependencies": [{ "name": "@ldsg/graphql-workflows" }] } }, { "id": "handler-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "handler-resource-definition-handler", "title": "处理程序资源定义", "description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。", "kind": "handler", "parentKind": "root" } }, { "id": "handler-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "处理程序实例化资源处理程序", "description": "包含处理程序相应的模块,此模块主要通过", "code": "export * from \"@ldsg/handler\";", "dependencies": [{ "name": "@ldsg/handler" }] } }, { "id": "key-value-cache-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "key-value-cache-resource-definition-handler", "title": "键值对缓存资源定义", "description": "", "kind": "key_value_cache", "parentKind": "root" } }, { "id": "key-value-cache-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "键值对缓存实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/key-value-cache\";", "dependencies": [{ "name": "@ldsg/key-value-cache" }] } }, { "id": "object-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "object-resource-definition-handler", "title": "对象资源定义", "description": "", "kind": "object", "parentKind": "root" } }, { "id": "object-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "对象实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/object\";", "dependencies": [{ "name": "@ldsg/object" }] } }, { "id": "object-field-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "object-field-resource-definition-handler", "title": "对象字段资源定义", "description": "", "kind": "object_field", "parentKind": "object" } }, { "id": "object-field-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "对象字段实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/object-field\";", "dependencies": [{ "name": "@ldsg/object-field" }] } }, { "id": "resource-definition-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "resource-definition-resource-definition-handler", "title": "资源定义资源定义", "description": "", "kind": "resource_definition", "parentKind": "root" } }, { "id": "resource-definition-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "资源定义实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/resource-definition\";", "dependencies": [{ "name": "@ldsg/resource-definition" }] } }, { "id": "route-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "route-resource-definition-handler", "title": "路由资源定义", "description": "", "kind": "route", "parentKind": "application" } }, { "id": "route-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "路由实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/route\";", "dependencies": [{ "name": "@ldsg/route" }] } }, { "id": "table-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "table-resource-definition-handler", "title": "表格资源定义", "description": "", "kind": "table", "parentKind": "tables" } }, { "id": "table-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "表格资源处理程序", "description": "", "code": "export * from \"@ldsg/table\";", "dependencies": [{ "name": "@ldsg/table" }] } }, { "id": "tables-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "tables-resource-definition-handler", "title": "表格组资源定义", "description": "", "kind": "tables", "parentKind": "application" } }, { "id": "tables-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "表格组实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/tables\";", "dependencies": [{ "name": "@ldsg/tables" }] } }, { "id": "workflow-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "workflow-resource-definition-handler", "title": "工作流资源定义", "description": "", "kind": "workflow", "parentKind": "root" } }, { "id": "workflow-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "工作流实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/workflow\";", "dependencies": [{ "name": "@ldsg/workflow" }] } }, { "id": "workflow-edge-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "workflow-edge-resource-definition-handler", "title": "工作流连线资源定义", "description": "", "kind": "workflow_edge", "parentKind": "workflow" } }, { "id": "workflow-edge-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "工作流节点类型实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/workflow-edge\";", "dependencies": [{ "name": "@ldsg/workflow-edge" }] } }, { "id": "workflow-node-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "workflow-node-resource-definition-handler", "title": "工作流节点资源定义", "description": "", "kind": "workflow_node", "parentKind": "workflow" } }, { "id": "workflow-node-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "工作流节点实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/workflow-node\";", "dependencies": [{ "name": "@ldsg/workflow-node" }] } }, { "id": "workflow-node-type-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "handlerResourceId": "workflow-node-type-resource-definition-handler", "title": "工作流节点类型资源定义", "description": "", "kind": "workflow_node_type", "parentKind": "root" } }, { "id": "workflow-node-type-resource-definition-handler", "kind": "handler", "parentId": "root", "settings": { "title": "工作流节点类型实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/workflow-node-type\";", "dependencies": [{ "name": "@ldsg/workflow-node-type" }] } }]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "application-resource-definition",
|
|
4
|
+
"kind": "resource_definition",
|
|
5
|
+
"parentId": "root",
|
|
6
|
+
"settings": {
|
|
7
|
+
"handlerResourceId": "application-resource-definition-handler",
|
|
8
|
+
"title": "应用资源定义",
|
|
9
|
+
"description": "",
|
|
10
|
+
"kind": "application",
|
|
11
|
+
"parentKind": "root"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "application-resource-definition-handler",
|
|
16
|
+
"kind": "handler",
|
|
17
|
+
"parentId": "root",
|
|
18
|
+
"settings": {
|
|
19
|
+
"title": "应用实例化资源处理程序",
|
|
20
|
+
"description": "",
|
|
21
|
+
"code": "export * from \"@ldsg/application\";",
|
|
22
|
+
"dependencies": [
|
|
23
|
+
{
|
|
24
|
+
"name": "@ldsg/application"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "database-resource-definition",
|
|
31
|
+
"kind": "resource_definition",
|
|
32
|
+
"parentId": "root",
|
|
33
|
+
"settings": {
|
|
34
|
+
"handlerResourceId": "database-resource-definition-handler",
|
|
35
|
+
"title": "数据库资源定义",
|
|
36
|
+
"description": "",
|
|
37
|
+
"kind": "database",
|
|
38
|
+
"parentKind": "root"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "database-resource-definition-handler",
|
|
43
|
+
"kind": "handler",
|
|
44
|
+
"parentId": "root",
|
|
45
|
+
"settings": {
|
|
46
|
+
"title": "数据库实例化资源处理程序",
|
|
47
|
+
"description": "",
|
|
48
|
+
"code": "export * from \"@ldsg/database\";",
|
|
49
|
+
"dependencies": [
|
|
50
|
+
{
|
|
51
|
+
"name": "@ldsg/database"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "field-type-resource-definition",
|
|
58
|
+
"kind": "resource_definition",
|
|
59
|
+
"parentId": "root",
|
|
60
|
+
"settings": {
|
|
61
|
+
"handlerResourceId": "field-type-resource-definition-handler",
|
|
62
|
+
"title": "字段类型资源定义",
|
|
63
|
+
"description": "",
|
|
64
|
+
"kind": "field_type",
|
|
65
|
+
"parentKind": "root"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "field-type-resource-definition-handler",
|
|
70
|
+
"kind": "handler",
|
|
71
|
+
"parentId": "root",
|
|
72
|
+
"settings": {
|
|
73
|
+
"title": "字段类型实例化资源处理程序",
|
|
74
|
+
"description": "",
|
|
75
|
+
"code": "export * from \"@ldsg/field-type\";",
|
|
76
|
+
"dependencies": [
|
|
77
|
+
{
|
|
78
|
+
"name": "@ldsg/field-type"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "form-resource-definition",
|
|
85
|
+
"kind": "resource_definition",
|
|
86
|
+
"parentId": "root",
|
|
87
|
+
"settings": {
|
|
88
|
+
"handlerResourceId": "form-resource-definition-handler",
|
|
89
|
+
"title": "表单资源定义",
|
|
90
|
+
"description": "",
|
|
91
|
+
"kind": "form"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "form-resource-definition-handler",
|
|
96
|
+
"kind": "handler",
|
|
97
|
+
"parentId": "root",
|
|
98
|
+
"settings": {
|
|
99
|
+
"title": "表单资源处理程序",
|
|
100
|
+
"description": "",
|
|
101
|
+
"code": "export * from \"@ldsg/form\";",
|
|
102
|
+
"dependencies": [
|
|
103
|
+
{
|
|
104
|
+
"name": "@ldsg/form"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "forms-resource-definition",
|
|
111
|
+
"kind": "resource_definition",
|
|
112
|
+
"parentId": "root",
|
|
113
|
+
"settings": {
|
|
114
|
+
"handlerResourceId": "forms-resource-definition-handler",
|
|
115
|
+
"title": "表单组资源定义",
|
|
116
|
+
"description": "",
|
|
117
|
+
"kind": "forms"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "forms-resource-definition-handler",
|
|
122
|
+
"kind": "handler",
|
|
123
|
+
"parentId": "root",
|
|
124
|
+
"settings": {
|
|
125
|
+
"title": "表单组实例化资源处理程序",
|
|
126
|
+
"description": "",
|
|
127
|
+
"code": "export * from \"@ldsg/forms\";",
|
|
128
|
+
"dependencies": [
|
|
129
|
+
{
|
|
130
|
+
"name": "@ldsg/forms"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "graphql-resource-definition",
|
|
137
|
+
"kind": "resource_definition",
|
|
138
|
+
"parentId": "root",
|
|
139
|
+
"settings": {
|
|
140
|
+
"handlerResourceId": "graphql-resource-definition-handler",
|
|
141
|
+
"title": "GraphQL资源定义",
|
|
142
|
+
"description": "",
|
|
143
|
+
"kind": "graphql"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "graphql-resource-definition-handler",
|
|
148
|
+
"kind": "handler",
|
|
149
|
+
"parentId": "root",
|
|
150
|
+
"settings": {
|
|
151
|
+
"title": "GraphQL实例化资源处理程序",
|
|
152
|
+
"description": "",
|
|
153
|
+
"code": "export * from \"@ldsg/graphql\";",
|
|
154
|
+
"dependencies": [
|
|
155
|
+
{
|
|
156
|
+
"name": "@ldsg/graphql"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "graphql-workflow-resource-definition",
|
|
163
|
+
"kind": "resource_definition",
|
|
164
|
+
"parentId": "root",
|
|
165
|
+
"settings": {
|
|
166
|
+
"handlerResourceId": "graphql-workflow-resource-definition-handler",
|
|
167
|
+
"title": "GraphQL工作流资源定义",
|
|
168
|
+
"description": "",
|
|
169
|
+
"kind": "graphql_workflow"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "graphql-workflow-resource-definition-handler",
|
|
174
|
+
"kind": "handler",
|
|
175
|
+
"parentId": "root",
|
|
176
|
+
"settings": {
|
|
177
|
+
"title": "GraphQL工作流实例化资源处理程序",
|
|
178
|
+
"description": "",
|
|
179
|
+
"code": "export * from \"@ldsg/graphql-workflow\";",
|
|
180
|
+
"dependencies": [
|
|
181
|
+
{
|
|
182
|
+
"name": "@ldsg/graphql-workflow"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "graphql-workflows-resource-definition",
|
|
189
|
+
"kind": "resource_definition",
|
|
190
|
+
"parentId": "root",
|
|
191
|
+
"settings": {
|
|
192
|
+
"handlerResourceId": "graphql-workflows-resource-definition-handler",
|
|
193
|
+
"title": "GraphQL工作流组资源定义",
|
|
194
|
+
"description": "",
|
|
195
|
+
"kind": "graphql_workflows"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "graphql-workflows-resource-definition-handler",
|
|
200
|
+
"kind": "handler",
|
|
201
|
+
"parentId": "root",
|
|
202
|
+
"settings": {
|
|
203
|
+
"title": "GraphQL工作流组实例化资源处理程序",
|
|
204
|
+
"description": "",
|
|
205
|
+
"code": "export * from \"@ldsg/graphql-workflows\";",
|
|
206
|
+
"dependencies": [
|
|
207
|
+
{
|
|
208
|
+
"name": "@ldsg/graphql-workflows"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "handler-resource-definition",
|
|
215
|
+
"kind": "resource_definition",
|
|
216
|
+
"parentId": "root",
|
|
217
|
+
"settings": {
|
|
218
|
+
"handlerResourceId": "handler-resource-definition-handler",
|
|
219
|
+
"title": "处理程序资源定义",
|
|
220
|
+
"description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
|
|
221
|
+
"kind": "handler",
|
|
222
|
+
"parentKind": "root"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "handler-resource-definition-handler",
|
|
227
|
+
"kind": "handler",
|
|
228
|
+
"parentId": "root",
|
|
229
|
+
"settings": {
|
|
230
|
+
"title": "处理程序实例化资源处理程序",
|
|
231
|
+
"description": "包含处理程序相应的模块,此模块主要通过",
|
|
232
|
+
"code": "export * from \"@ldsg/handler\";",
|
|
233
|
+
"dependencies": [
|
|
234
|
+
{
|
|
235
|
+
"name": "@ldsg/handler"
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "key-value-cache-resource-definition",
|
|
242
|
+
"kind": "resource_definition",
|
|
243
|
+
"parentId": "root",
|
|
244
|
+
"settings": {
|
|
245
|
+
"handlerResourceId": "key-value-cache-resource-definition-handler",
|
|
246
|
+
"title": "键值对缓存资源定义",
|
|
247
|
+
"description": "",
|
|
248
|
+
"kind": "key_value_cache",
|
|
249
|
+
"parentKind": "root"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "key-value-cache-resource-definition-handler",
|
|
254
|
+
"kind": "handler",
|
|
255
|
+
"parentId": "root",
|
|
256
|
+
"settings": {
|
|
257
|
+
"title": "键值对缓存实例化资源处理程序",
|
|
258
|
+
"description": "",
|
|
259
|
+
"code": "export * from \"@ldsg/key-value-cache\";",
|
|
260
|
+
"dependencies": [
|
|
261
|
+
{
|
|
262
|
+
"name": "@ldsg/key-value-cache"
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "object-resource-definition",
|
|
269
|
+
"kind": "resource_definition",
|
|
270
|
+
"parentId": "root",
|
|
271
|
+
"settings": {
|
|
272
|
+
"handlerResourceId": "object-resource-definition-handler",
|
|
273
|
+
"title": "对象资源定义",
|
|
274
|
+
"description": "",
|
|
275
|
+
"kind": "object",
|
|
276
|
+
"parentKind": "root"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"id": "object-resource-definition-handler",
|
|
281
|
+
"kind": "handler",
|
|
282
|
+
"parentId": "root",
|
|
283
|
+
"settings": {
|
|
284
|
+
"title": "对象实例化资源处理程序",
|
|
285
|
+
"description": "",
|
|
286
|
+
"code": "export * from \"@ldsg/object\";",
|
|
287
|
+
"dependencies": [
|
|
288
|
+
{
|
|
289
|
+
"name": "@ldsg/object"
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "object-field-resource-definition",
|
|
296
|
+
"kind": "resource_definition",
|
|
297
|
+
"parentId": "root",
|
|
298
|
+
"settings": {
|
|
299
|
+
"handlerResourceId": "object-field-resource-definition-handler",
|
|
300
|
+
"title": "对象字段资源定义",
|
|
301
|
+
"description": "",
|
|
302
|
+
"kind": "object_field"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": "object-field-resource-definition-handler",
|
|
307
|
+
"kind": "handler",
|
|
308
|
+
"parentId": "root",
|
|
309
|
+
"settings": {
|
|
310
|
+
"title": "对象字段实例化资源处理程序",
|
|
311
|
+
"description": "",
|
|
312
|
+
"code": "export * from \"@ldsg/object-field\";",
|
|
313
|
+
"dependencies": [
|
|
314
|
+
{
|
|
315
|
+
"name": "@ldsg/object-field"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"id": "resource-definition-resource-definition",
|
|
322
|
+
"kind": "resource_definition",
|
|
323
|
+
"parentId": "root",
|
|
324
|
+
"settings": {
|
|
325
|
+
"handlerResourceId": "resource-definition-resource-definition-handler",
|
|
326
|
+
"title": "资源定义资源定义",
|
|
327
|
+
"description": "",
|
|
328
|
+
"kind": "resource_definition",
|
|
329
|
+
"parentKind": "root"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "resource-definition-resource-definition-handler",
|
|
334
|
+
"kind": "handler",
|
|
335
|
+
"parentId": "root",
|
|
336
|
+
"settings": {
|
|
337
|
+
"title": "资源定义实例化资源处理程序",
|
|
338
|
+
"description": "",
|
|
339
|
+
"code": "export * from \"@ldsg/resource-definition\";",
|
|
340
|
+
"dependencies": [
|
|
341
|
+
{
|
|
342
|
+
"name": "@ldsg/resource-definition"
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "route-resource-definition",
|
|
349
|
+
"kind": "resource_definition",
|
|
350
|
+
"parentId": "root",
|
|
351
|
+
"settings": {
|
|
352
|
+
"handlerResourceId": "route-resource-definition-handler",
|
|
353
|
+
"title": "路由资源定义",
|
|
354
|
+
"description": "",
|
|
355
|
+
"kind": "route"
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"id": "route-resource-definition-handler",
|
|
360
|
+
"kind": "handler",
|
|
361
|
+
"parentId": "root",
|
|
362
|
+
"settings": {
|
|
363
|
+
"title": "路由实例化资源处理程序",
|
|
364
|
+
"description": "",
|
|
365
|
+
"code": "export * from \"@ldsg/route\";",
|
|
366
|
+
"dependencies": [
|
|
367
|
+
{
|
|
368
|
+
"name": "@ldsg/route"
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"id": "table-resource-definition",
|
|
375
|
+
"kind": "resource_definition",
|
|
376
|
+
"parentId": "root",
|
|
377
|
+
"settings": {
|
|
378
|
+
"handlerResourceId": "table-resource-definition-handler",
|
|
379
|
+
"title": "表格资源定义",
|
|
380
|
+
"description": "",
|
|
381
|
+
"kind": "table"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"id": "table-resource-definition-handler",
|
|
386
|
+
"kind": "handler",
|
|
387
|
+
"parentId": "root",
|
|
388
|
+
"settings": {
|
|
389
|
+
"title": "表格资源处理程序",
|
|
390
|
+
"description": "",
|
|
391
|
+
"code": "export * from \"@ldsg/table\";",
|
|
392
|
+
"dependencies": [
|
|
393
|
+
{
|
|
394
|
+
"name": "@ldsg/table"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"id": "tables-resource-definition",
|
|
401
|
+
"kind": "resource_definition",
|
|
402
|
+
"parentId": "root",
|
|
403
|
+
"settings": {
|
|
404
|
+
"handlerResourceId": "tables-resource-definition-handler",
|
|
405
|
+
"title": "表格组资源定义",
|
|
406
|
+
"description": "",
|
|
407
|
+
"kind": "tables"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"id": "tables-resource-definition-handler",
|
|
412
|
+
"kind": "handler",
|
|
413
|
+
"parentId": "root",
|
|
414
|
+
"settings": {
|
|
415
|
+
"title": "表格组实例化资源处理程序",
|
|
416
|
+
"description": "",
|
|
417
|
+
"code": "export * from \"@ldsg/tables\";",
|
|
418
|
+
"dependencies": [
|
|
419
|
+
{
|
|
420
|
+
"name": "@ldsg/tables"
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "workflow-resource-definition",
|
|
427
|
+
"kind": "resource_definition",
|
|
428
|
+
"parentId": "root",
|
|
429
|
+
"settings": {
|
|
430
|
+
"handlerResourceId": "workflow-resource-definition-handler",
|
|
431
|
+
"title": "工作流资源定义",
|
|
432
|
+
"description": "",
|
|
433
|
+
"kind": "workflow",
|
|
434
|
+
"parentKind": "root"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"id": "workflow-resource-definition-handler",
|
|
439
|
+
"kind": "handler",
|
|
440
|
+
"parentId": "root",
|
|
441
|
+
"settings": {
|
|
442
|
+
"title": "工作流实例化资源处理程序",
|
|
443
|
+
"description": "",
|
|
444
|
+
"code": "export * from \"@ldsg/workflow\";",
|
|
445
|
+
"dependencies": [
|
|
446
|
+
{
|
|
447
|
+
"name": "@ldsg/workflow"
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"id": "workflow-edge-resource-definition",
|
|
454
|
+
"kind": "resource_definition",
|
|
455
|
+
"parentId": "root",
|
|
456
|
+
"settings": {
|
|
457
|
+
"handlerResourceId": "workflow-edge-resource-definition-handler",
|
|
458
|
+
"title": "工作流连线资源定义",
|
|
459
|
+
"description": "",
|
|
460
|
+
"kind": "workflow_edge"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"id": "workflow-edge-resource-definition-handler",
|
|
465
|
+
"kind": "handler",
|
|
466
|
+
"parentId": "root",
|
|
467
|
+
"settings": {
|
|
468
|
+
"title": "工作流节点类型实例化资源处理程序",
|
|
469
|
+
"description": "",
|
|
470
|
+
"code": "export * from \"@ldsg/workflow-edge\";",
|
|
471
|
+
"dependencies": [
|
|
472
|
+
{
|
|
473
|
+
"name": "@ldsg/workflow-edge"
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": "workflow-node-resource-definition",
|
|
480
|
+
"kind": "resource_definition",
|
|
481
|
+
"parentId": "root",
|
|
482
|
+
"settings": {
|
|
483
|
+
"handlerResourceId": "workflow-node-resource-definition-handler",
|
|
484
|
+
"title": "工作流节点资源定义",
|
|
485
|
+
"description": "",
|
|
486
|
+
"kind": "workflow_node"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"id": "workflow-node-resource-definition-handler",
|
|
491
|
+
"kind": "handler",
|
|
492
|
+
"parentId": "root",
|
|
493
|
+
"settings": {
|
|
494
|
+
"title": "工作流节点实例化资源处理程序",
|
|
495
|
+
"description": "",
|
|
496
|
+
"code": "export * from \"@ldsg/workflow-node\";",
|
|
497
|
+
"dependencies": [
|
|
498
|
+
{
|
|
499
|
+
"name": "@ldsg/workflow-node"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"id": "workflow-node-type-resource-definition",
|
|
506
|
+
"kind": "resource_definition",
|
|
507
|
+
"parentId": "root",
|
|
508
|
+
"settings": {
|
|
509
|
+
"handlerResourceId": "workflow-node-type-resource-definition-handler",
|
|
510
|
+
"title": "工作流节点类型资源定义",
|
|
511
|
+
"description": "",
|
|
512
|
+
"kind": "workflow_node_type",
|
|
513
|
+
"parentKind": "root"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"id": "workflow-node-type-resource-definition-handler",
|
|
518
|
+
"kind": "handler",
|
|
519
|
+
"parentId": "root",
|
|
520
|
+
"settings": {
|
|
521
|
+
"title": "工作流节点类型实例化资源处理程序",
|
|
522
|
+
"description": "",
|
|
523
|
+
"code": "export * from \"@ldsg/workflow-node-type\";",
|
|
524
|
+
"dependencies": [
|
|
525
|
+
{
|
|
526
|
+
"name": "@ldsg/workflow-node-type"
|
|
527
|
+
}
|
|
528
|
+
]
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
]
|
package/package.json
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/constants",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "wanxger",
|
|
5
8
|
"main": "dist/index.js",
|
|
9
|
+
"types": "dist",
|
|
6
10
|
"files": [
|
|
7
11
|
"dist/"
|
|
8
12
|
],
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@types/jest": "^29.5.2",
|
|
15
|
+
"jest": "^29.5.0",
|
|
16
|
+
"supertest": "^6.3.4",
|
|
17
|
+
"ts-jest": "^29.1.5",
|
|
18
|
+
"ts-node": "^10.9.2",
|
|
19
|
+
"typescript": "^5.8.3"
|
|
20
|
+
},
|
|
13
21
|
"publishConfig": {
|
|
14
22
|
"access": "public"
|
|
15
23
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{ "path": "index.ts", "data": "export const handler = () => {};\n" }, { "path": "package.json", "data": { "name": "ldsg-handler-template", "version": "0.0.0", "description": "", "main": "dist/index.js", "files": ["dist/"], "types": "dist", "scripts": { "build": "tsc" }, "private": true, "license": "UNLICENSED", "dependencies": {} } }, { "path": "tsconfig.json", "data": { "compilerOptions": { "module": "commonjs", "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "allowSyntheticDefaultImports": true, "target": "ES2021", "sourceMap": true, "outDir": "./dist", "baseUrl": "./", "incremental": true, "skipLibCheck": true, "strictNullChecks": false, "noImplicitAny": false, "strictBindCallApply": false, "forceConsistentCasingInFileNames": false, "noFallthroughCasesInSwitch": false, "resolveJsonModule": true, "esModuleInterop": true }, "include": ["./index.ts"] } }]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{ "path": ".env", "data": "" }, { "path": "app.ts", "data": "import { createApp } from \"@ldsg/create-app\";\nimport MANIFEST_JSON from \"./manifest.json\";\n\nconst { resourceRecords } = MANIFEST_JSON;\n\nexport const app = createApp({\n resourceRecords,\n});\n" }, { "path": "index.ts", "data": "import { app } from \"./app\";\n\nconst port = process.env.PORT || \"3000\";\n\napp.listen(port, () => {\n console.log(`App listening on http://localhost:${port}`);\n\n console.log(`GraphQL listening on http://localhost:${port}/graphql`);\n});\n" }, { "path": "manifest.json", "data": { "resourceRecords": [{ "id": "resource-definition-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "title": "资源定义资源定义", "description": "", "kind": "resource_definition", "parentKind": "" } }, { "id": "resource-definition-resource-handler", "kind": "handler", "parentId": "resource-definition-resource-definition", "settings": { "title": "资源定义实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/resource-definition\";", "dependencies": [{ "name": "@ldsg/resource-definition" }] } }, { "id": "handler-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "title": "处理程序资源定义", "description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。", "kind": "handler", "parentKind": "" } }, { "id": "handler-resource-handler", "kind": "handler", "parentId": "handler-resource-definition", "settings": { "title": "处理程序实例化资源处理程序", "description": "包含处理程序相应的模块,此模块主要通过", "code": "export * from \"@ldsg/handler\";", "dependencies": [{ "name": "@ldsg/handler" }] } }, { "id": "application-resource-definition", "kind": "resource_definition", "parentId": "root", "settings": { "title": "应用资源定义", "description": "", "kind": "application", "parentKind": "" } }, { "id": "application-resource-handler", "kind": "handler", "parentId": "application-resource-definition", "settings": { "title": "应用实例化资源处理程序", "description": "", "code": "export * from \"@ldsg/application\";", "dependencies": [{ "name": "@ldsg/application" }] } }, { "id": "main-app", "kind": "application", "parentId": "root", "settings": { "title": "主要应用", "description": "" } }] } }, { "path": "package.json", "data": { "name": "ldsg-app-template", "version": "0.0.0", "description": "", "author": "", "private": true, "license": "UNLICENSED", "scripts": { "build": "pnpm run --workspace-root build:workspace-root && pnpm run --workspace-root build:recursive", "build:workspace-root": "tsc --project tsconfig.json", "build:recursive": "pnpm run --recursive build", "start": "node dist/index.js" }, "dependencies": { "@ldsg/create-app": "latest", "graphql": "^16.9.0", "graphql-middleware": "^6.1.35", "graphql-shield": "^7.6.5" }, "devDependencies": { "@types/node": "^22.1.0", "ts-loader": "^9.5.1", "tslib": "^2.6.3", "typescript": "^5.5.4" } } }, { "path": "pnpm-workspace.yaml", "data": "packages:\n - \"handlers/*\"\n" }, { "path": "tsconfig.json", "data": { "compilerOptions": { "module": "commonjs", "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "allowSyntheticDefaultImports": true, "target": "ES2021", "sourceMap": true, "outDir": "./dist", "baseUrl": "./", "incremental": true, "skipLibCheck": true, "strictNullChecks": false, "noImplicitAny": false, "strictBindCallApply": false, "forceConsistentCasingInFileNames": false, "noFallthroughCasesInSwitch": false, "resolveJsonModule": true, "esModuleInterop": true }, "include": ["./index.ts", "./service-records.json"] } }]
|