@ldsg/constants 0.2.2 → 0.2.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/dist/app-manifest.json
CHANGED
|
@@ -1 +1,401 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"resourceRecords": [
|
|
3
|
+
{
|
|
4
|
+
"id": "application-resource-definition",
|
|
5
|
+
"kind": "resource_definition",
|
|
6
|
+
"parentId": "root",
|
|
7
|
+
"settings": {
|
|
8
|
+
"handlerResourceId": "application-resource-definition-handler",
|
|
9
|
+
"title": "应用资源定义",
|
|
10
|
+
"description": "",
|
|
11
|
+
"kind": "application",
|
|
12
|
+
"parentKind": "root"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "application-resource-definition-handler",
|
|
17
|
+
"kind": "handler",
|
|
18
|
+
"parentId": "root",
|
|
19
|
+
"settings": {
|
|
20
|
+
"title": "应用实例化资源处理程序",
|
|
21
|
+
"description": "",
|
|
22
|
+
"code": "export * from \"@ldsg/application\";",
|
|
23
|
+
"dependencies": [{ "name": "@ldsg/application" }]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "database-resource-definition",
|
|
28
|
+
"kind": "resource_definition",
|
|
29
|
+
"parentId": "root",
|
|
30
|
+
"settings": {
|
|
31
|
+
"handlerResourceId": "database-resource-definition-handler",
|
|
32
|
+
"title": "数据库资源定义",
|
|
33
|
+
"description": "",
|
|
34
|
+
"kind": "database",
|
|
35
|
+
"parentKind": "root"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "database-resource-definition-handler",
|
|
40
|
+
"kind": "handler",
|
|
41
|
+
"parentId": "root",
|
|
42
|
+
"settings": {
|
|
43
|
+
"title": "数据库实例化资源处理程序",
|
|
44
|
+
"description": "",
|
|
45
|
+
"code": "export * from \"@ldsg/database\";",
|
|
46
|
+
"dependencies": [{ "name": "@ldsg/database" }]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "field-type-resource-definition",
|
|
51
|
+
"kind": "resource_definition",
|
|
52
|
+
"parentId": "root",
|
|
53
|
+
"settings": {
|
|
54
|
+
"handlerResourceId": "field-type-resource-definition-handler",
|
|
55
|
+
"title": "字段类型资源定义",
|
|
56
|
+
"description": "",
|
|
57
|
+
"kind": "field_type",
|
|
58
|
+
"parentKind": "root"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "field-type-resource-definition-handler",
|
|
63
|
+
"kind": "handler",
|
|
64
|
+
"parentId": "root",
|
|
65
|
+
"settings": {
|
|
66
|
+
"title": "字段类型实例化资源处理程序",
|
|
67
|
+
"description": "",
|
|
68
|
+
"code": "export * from \"@ldsg/field-type\";",
|
|
69
|
+
"dependencies": [{ "name": "@ldsg/field-type" }]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "form-resource-definition",
|
|
74
|
+
"kind": "resource_definition",
|
|
75
|
+
"parentId": "root",
|
|
76
|
+
"settings": {
|
|
77
|
+
"handlerResourceId": "form-resource-definition-handler",
|
|
78
|
+
"title": "表单资源定义",
|
|
79
|
+
"description": "",
|
|
80
|
+
"kind": "form",
|
|
81
|
+
"parentKind": "forms"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "form-resource-definition-handler",
|
|
86
|
+
"kind": "handler",
|
|
87
|
+
"parentId": "root",
|
|
88
|
+
"settings": {
|
|
89
|
+
"title": "表单资源处理程序",
|
|
90
|
+
"description": "",
|
|
91
|
+
"code": "export * from \"@ldsg/form\";",
|
|
92
|
+
"dependencies": [{ "name": "@ldsg/form" }]
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "forms-resource-definition",
|
|
97
|
+
"kind": "resource_definition",
|
|
98
|
+
"parentId": "root",
|
|
99
|
+
"settings": {
|
|
100
|
+
"handlerResourceId": "forms-resource-definition-handler",
|
|
101
|
+
"title": "表单组资源定义",
|
|
102
|
+
"description": "",
|
|
103
|
+
"kind": "forms",
|
|
104
|
+
"parentKind": "application"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "forms-resource-definition-handler",
|
|
109
|
+
"kind": "handler",
|
|
110
|
+
"parentId": "root",
|
|
111
|
+
"settings": {
|
|
112
|
+
"title": "表单组实例化资源处理程序",
|
|
113
|
+
"description": "",
|
|
114
|
+
"code": "export * from \"@ldsg/forms\";",
|
|
115
|
+
"dependencies": [{ "name": "@ldsg/forms" }]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "graphql-resource-definition",
|
|
120
|
+
"kind": "resource_definition",
|
|
121
|
+
"parentId": "root",
|
|
122
|
+
"settings": {
|
|
123
|
+
"handlerResourceId": "graphql-resource-definition-handler",
|
|
124
|
+
"title": "GraphQL资源定义",
|
|
125
|
+
"description": "",
|
|
126
|
+
"kind": "graphql",
|
|
127
|
+
"parentKind": "application"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "graphql-resource-definition-handler",
|
|
132
|
+
"kind": "handler",
|
|
133
|
+
"parentId": "root",
|
|
134
|
+
"settings": {
|
|
135
|
+
"title": "GraphQL实例化资源处理程序",
|
|
136
|
+
"description": "",
|
|
137
|
+
"code": "export * from \"@ldsg/graphql\";",
|
|
138
|
+
"dependencies": [{ "name": "@ldsg/graphql" }]
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "handler-resource-definition",
|
|
143
|
+
"kind": "resource_definition",
|
|
144
|
+
"parentId": "root",
|
|
145
|
+
"settings": {
|
|
146
|
+
"handlerResourceId": "handler-resource-definition-handler",
|
|
147
|
+
"title": "处理程序资源定义",
|
|
148
|
+
"description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
|
|
149
|
+
"kind": "handler",
|
|
150
|
+
"parentKind": "root"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "handler-resource-definition-handler",
|
|
155
|
+
"kind": "handler",
|
|
156
|
+
"parentId": "root",
|
|
157
|
+
"settings": {
|
|
158
|
+
"title": "处理程序实例化资源处理程序",
|
|
159
|
+
"description": "包含处理程序相应的模块,此模块主要通过",
|
|
160
|
+
"code": "export * from \"@ldsg/handler\";",
|
|
161
|
+
"dependencies": [{ "name": "@ldsg/handler" }]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "object-resource-definition",
|
|
166
|
+
"kind": "resource_definition",
|
|
167
|
+
"parentId": "root",
|
|
168
|
+
"settings": {
|
|
169
|
+
"handlerResourceId": "object-resource-definition-handler",
|
|
170
|
+
"title": "对象资源定义",
|
|
171
|
+
"description": "",
|
|
172
|
+
"kind": "object",
|
|
173
|
+
"parentKind": "root"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "object-resource-definition-handler",
|
|
178
|
+
"kind": "handler",
|
|
179
|
+
"parentId": "root",
|
|
180
|
+
"settings": {
|
|
181
|
+
"title": "对象实例化资源处理程序",
|
|
182
|
+
"description": "",
|
|
183
|
+
"code": "export * from \"@ldsg/object\";",
|
|
184
|
+
"dependencies": [{ "name": "@ldsg/object" }]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "object-field-resource-definition",
|
|
189
|
+
"kind": "resource_definition",
|
|
190
|
+
"parentId": "root",
|
|
191
|
+
"settings": {
|
|
192
|
+
"handlerResourceId": "object-field-resource-definition-handler",
|
|
193
|
+
"title": "对象字段资源定义",
|
|
194
|
+
"description": "",
|
|
195
|
+
"kind": "object_field",
|
|
196
|
+
"parentKind": "object"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "object-field-resource-definition-handler",
|
|
201
|
+
"kind": "handler",
|
|
202
|
+
"parentId": "root",
|
|
203
|
+
"settings": {
|
|
204
|
+
"title": "对象字段实例化资源处理程序",
|
|
205
|
+
"description": "",
|
|
206
|
+
"code": "export * from \"@ldsg/object-field\";",
|
|
207
|
+
"dependencies": [{ "name": "@ldsg/object-field" }]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "resource-definition-resource-definition",
|
|
212
|
+
"kind": "resource_definition",
|
|
213
|
+
"parentId": "root",
|
|
214
|
+
"settings": {
|
|
215
|
+
"handlerResourceId": "resource-definition-resource-definition-handler",
|
|
216
|
+
"title": "资源定义资源定义",
|
|
217
|
+
"description": "",
|
|
218
|
+
"kind": "resource_definition",
|
|
219
|
+
"parentKind": "root"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "resource-definition-resource-definition-handler",
|
|
224
|
+
"kind": "handler",
|
|
225
|
+
"parentId": "root",
|
|
226
|
+
"settings": {
|
|
227
|
+
"title": "资源定义实例化资源处理程序",
|
|
228
|
+
"description": "",
|
|
229
|
+
"code": "export * from \"@ldsg/resource-definition\";",
|
|
230
|
+
"dependencies": [{ "name": "@ldsg/resource-definition" }]
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": "route-resource-definition",
|
|
235
|
+
"kind": "resource_definition",
|
|
236
|
+
"parentId": "root",
|
|
237
|
+
"settings": {
|
|
238
|
+
"handlerResourceId": "route-resource-definition-handler",
|
|
239
|
+
"title": "路由资源定义",
|
|
240
|
+
"description": "",
|
|
241
|
+
"kind": "route",
|
|
242
|
+
"parentKind": "application"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "route-resource-definition-handler",
|
|
247
|
+
"kind": "handler",
|
|
248
|
+
"parentId": "root",
|
|
249
|
+
"settings": {
|
|
250
|
+
"title": "路由实例化资源处理程序",
|
|
251
|
+
"description": "",
|
|
252
|
+
"code": "export * from \"@ldsg/route\";",
|
|
253
|
+
"dependencies": [{ "name": "@ldsg/route" }]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"id": "table-resource-definition",
|
|
258
|
+
"kind": "resource_definition",
|
|
259
|
+
"parentId": "root",
|
|
260
|
+
"settings": {
|
|
261
|
+
"handlerResourceId": "table-resource-definition-handler",
|
|
262
|
+
"title": "表格资源定义",
|
|
263
|
+
"description": "",
|
|
264
|
+
"kind": "table",
|
|
265
|
+
"parentKind": "tables"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"id": "table-resource-definition-handler",
|
|
270
|
+
"kind": "handler",
|
|
271
|
+
"parentId": "root",
|
|
272
|
+
"settings": {
|
|
273
|
+
"title": "表格资源处理程序",
|
|
274
|
+
"description": "",
|
|
275
|
+
"code": "export * from \"@ldsg/table\";",
|
|
276
|
+
"dependencies": [{ "name": "@ldsg/table" }]
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"id": "tables-resource-definition",
|
|
281
|
+
"kind": "resource_definition",
|
|
282
|
+
"parentId": "root",
|
|
283
|
+
"settings": {
|
|
284
|
+
"handlerResourceId": "tables-resource-definition-handler",
|
|
285
|
+
"title": "表格组资源定义",
|
|
286
|
+
"description": "",
|
|
287
|
+
"kind": "tables",
|
|
288
|
+
"parentKind": "application"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "tables-resource-definition-handler",
|
|
293
|
+
"kind": "handler",
|
|
294
|
+
"parentId": "root",
|
|
295
|
+
"settings": {
|
|
296
|
+
"title": "表格组实例化资源处理程序",
|
|
297
|
+
"description": "",
|
|
298
|
+
"code": "export * from \"@ldsg/tables\";",
|
|
299
|
+
"dependencies": [{ "name": "@ldsg/tables" }]
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "workflow-resource-definition",
|
|
304
|
+
"kind": "resource_definition",
|
|
305
|
+
"parentId": "root",
|
|
306
|
+
"settings": {
|
|
307
|
+
"handlerResourceId": "workflow-resource-definition-handler",
|
|
308
|
+
"title": "工作流资源定义",
|
|
309
|
+
"description": "",
|
|
310
|
+
"kind": "workflow",
|
|
311
|
+
"parentKind": "root"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"id": "workflow-resource-definition-handler",
|
|
316
|
+
"kind": "handler",
|
|
317
|
+
"parentId": "root",
|
|
318
|
+
"settings": {
|
|
319
|
+
"title": "工作流实例化资源处理程序",
|
|
320
|
+
"description": "",
|
|
321
|
+
"code": "export * from \"@ldsg/workflow\";",
|
|
322
|
+
"dependencies": [{ "name": "@ldsg/workflow" }]
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "workflow-edge-resource-definition",
|
|
327
|
+
"kind": "resource_definition",
|
|
328
|
+
"parentId": "root",
|
|
329
|
+
"settings": {
|
|
330
|
+
"handlerResourceId": "workflow-edge-resource-definition-handler",
|
|
331
|
+
"title": "工作流连线资源定义",
|
|
332
|
+
"description": "",
|
|
333
|
+
"kind": "workflow_edge",
|
|
334
|
+
"parentKind": "workflow"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"id": "workflow-edge-resource-definition-handler",
|
|
339
|
+
"kind": "handler",
|
|
340
|
+
"parentId": "root",
|
|
341
|
+
"settings": {
|
|
342
|
+
"title": "工作流节点类型实例化资源处理程序",
|
|
343
|
+
"description": "",
|
|
344
|
+
"code": "export * from \"@ldsg/workflow-edge\";",
|
|
345
|
+
"dependencies": [{ "name": "@ldsg/workflow-edge" }]
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "workflow-node-resource-definition",
|
|
350
|
+
"kind": "resource_definition",
|
|
351
|
+
"parentId": "root",
|
|
352
|
+
"settings": {
|
|
353
|
+
"handlerResourceId": "workflow-node-resource-definition-handler",
|
|
354
|
+
"title": "工作流节点资源定义",
|
|
355
|
+
"description": "",
|
|
356
|
+
"kind": "workflow_node",
|
|
357
|
+
"parentKind": "workflow"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"id": "workflow-node-resource-definition-handler",
|
|
362
|
+
"kind": "handler",
|
|
363
|
+
"parentId": "root",
|
|
364
|
+
"settings": {
|
|
365
|
+
"title": "工作流节点实例化资源处理程序",
|
|
366
|
+
"description": "",
|
|
367
|
+
"code": "export * from \"@ldsg/workflow-node\";",
|
|
368
|
+
"dependencies": [{ "name": "@ldsg/workflow-node" }]
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"id": "workflow-node-type-resource-definition",
|
|
373
|
+
"kind": "resource_definition",
|
|
374
|
+
"parentId": "root",
|
|
375
|
+
"settings": {
|
|
376
|
+
"handlerResourceId": "workflow-node-type-resource-definition-handler",
|
|
377
|
+
"title": "工作流节点类型资源定义",
|
|
378
|
+
"description": "",
|
|
379
|
+
"kind": "workflow_node_type",
|
|
380
|
+
"parentKind": "root"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"id": "workflow-node-type-resource-definition-handler",
|
|
385
|
+
"kind": "handler",
|
|
386
|
+
"parentId": "root",
|
|
387
|
+
"settings": {
|
|
388
|
+
"title": "工作流节点类型实例化资源处理程序",
|
|
389
|
+
"description": "",
|
|
390
|
+
"code": "export * from \"@ldsg/workflow-node-type\";",
|
|
391
|
+
"dependencies": [{ "name": "@ldsg/workflow-node-type" }]
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"id": "main-app",
|
|
396
|
+
"kind": "application",
|
|
397
|
+
"parentId": "root",
|
|
398
|
+
"settings": { "title": "主要应用", "description": "" }
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
}
|
|
@@ -1 +1,143 @@
|
|
|
1
|
-
[
|
|
1
|
+
[
|
|
2
|
+
{ "path": ".env", "data": "" },
|
|
3
|
+
{
|
|
4
|
+
"path": "index.ts",
|
|
5
|
+
"data": "import { createApp } from \"@ldsg/create-app\";\nimport MANIFEST_JSON from \"./manifest.json\";\n\nconst { resourceRecords } = MANIFEST_JSON;\n\nconst app = createApp({\n resourceRecords,\n});\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"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"path": "manifest.json",
|
|
9
|
+
"data": {
|
|
10
|
+
"resourceRecords": [
|
|
11
|
+
{
|
|
12
|
+
"id": "resource-definition-resource-definition",
|
|
13
|
+
"kind": "resource_definition",
|
|
14
|
+
"parentId": "root",
|
|
15
|
+
"settings": {
|
|
16
|
+
"title": "资源定义资源定义",
|
|
17
|
+
"description": "",
|
|
18
|
+
"kind": "resource_definition",
|
|
19
|
+
"parentKind": ""
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "resource-definition-resource-handler",
|
|
24
|
+
"kind": "handler",
|
|
25
|
+
"parentId": "resource-definition-resource-definition",
|
|
26
|
+
"settings": {
|
|
27
|
+
"title": "资源定义实例化资源处理程序",
|
|
28
|
+
"description": "",
|
|
29
|
+
"code": "export * from \"@ldsg/resource-definition\";",
|
|
30
|
+
"dependencies": [{ "name": "@ldsg/resource-definition" }]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "handler-resource-definition",
|
|
35
|
+
"kind": "resource_definition",
|
|
36
|
+
"parentId": "root",
|
|
37
|
+
"settings": {
|
|
38
|
+
"title": "处理程序资源定义",
|
|
39
|
+
"description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
|
|
40
|
+
"kind": "handler",
|
|
41
|
+
"parentKind": ""
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "handler-resource-handler",
|
|
46
|
+
"kind": "handler",
|
|
47
|
+
"parentId": "handler-resource-definition",
|
|
48
|
+
"settings": {
|
|
49
|
+
"title": "处理程序实例化资源处理程序",
|
|
50
|
+
"description": "包含处理程序相应的模块,此模块主要通过",
|
|
51
|
+
"code": "export * from \"@ldsg/handler\";",
|
|
52
|
+
"dependencies": [{ "name": "@ldsg/handler" }]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "application-resource-definition",
|
|
57
|
+
"kind": "resource_definition",
|
|
58
|
+
"parentId": "root",
|
|
59
|
+
"settings": {
|
|
60
|
+
"title": "应用资源定义",
|
|
61
|
+
"description": "",
|
|
62
|
+
"kind": "application",
|
|
63
|
+
"parentKind": ""
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "application-resource-handler",
|
|
68
|
+
"kind": "handler",
|
|
69
|
+
"parentId": "application-resource-definition",
|
|
70
|
+
"settings": {
|
|
71
|
+
"title": "应用实例化资源处理程序",
|
|
72
|
+
"description": "",
|
|
73
|
+
"code": "export * from \"@ldsg/application\";",
|
|
74
|
+
"dependencies": [{ "name": "@ldsg/application" }]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "main-app",
|
|
79
|
+
"kind": "application",
|
|
80
|
+
"parentId": "root",
|
|
81
|
+
"settings": { "title": "主要应用", "description": "" }
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "package.json",
|
|
88
|
+
"data": {
|
|
89
|
+
"name": "ldsg-app-template",
|
|
90
|
+
"version": "0.0.0",
|
|
91
|
+
"description": "",
|
|
92
|
+
"author": "",
|
|
93
|
+
"private": true,
|
|
94
|
+
"license": "UNLICENSED",
|
|
95
|
+
"scripts": {
|
|
96
|
+
"build": "pnpm run --workspace-root build:workspace-root && pnpm run --workspace-root build:recursive",
|
|
97
|
+
"build:workspace-root": "tsc --project tsconfig.json",
|
|
98
|
+
"build:recursive": "pnpm run --recursive build",
|
|
99
|
+
"start": "node dist/index.js"
|
|
100
|
+
},
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@ldsg/create-app": "latest",
|
|
103
|
+
"graphql": "^16.9.0",
|
|
104
|
+
"graphql-middleware": "^6.1.35",
|
|
105
|
+
"graphql-shield": "^7.6.5"
|
|
106
|
+
},
|
|
107
|
+
"devDependencies": {
|
|
108
|
+
"@types/node": "^22.1.0",
|
|
109
|
+
"ts-loader": "^9.5.1",
|
|
110
|
+
"tslib": "^2.6.3",
|
|
111
|
+
"typescript": "^5.5.4"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{ "path": "pnpm-workspace.yaml", "data": "packages:\n - \"handlers/*\"\n" },
|
|
116
|
+
{
|
|
117
|
+
"path": "tsconfig.json",
|
|
118
|
+
"data": {
|
|
119
|
+
"compilerOptions": {
|
|
120
|
+
"module": "commonjs",
|
|
121
|
+
"declaration": true,
|
|
122
|
+
"removeComments": true,
|
|
123
|
+
"emitDecoratorMetadata": true,
|
|
124
|
+
"experimentalDecorators": true,
|
|
125
|
+
"allowSyntheticDefaultImports": true,
|
|
126
|
+
"target": "ES2021",
|
|
127
|
+
"sourceMap": true,
|
|
128
|
+
"outDir": "./dist",
|
|
129
|
+
"baseUrl": "./",
|
|
130
|
+
"incremental": true,
|
|
131
|
+
"skipLibCheck": true,
|
|
132
|
+
"strictNullChecks": false,
|
|
133
|
+
"noImplicitAny": false,
|
|
134
|
+
"strictBindCallApply": false,
|
|
135
|
+
"forceConsistentCasingInFileNames": false,
|
|
136
|
+
"noFallthroughCasesInSwitch": false,
|
|
137
|
+
"resolveJsonModule": true,
|
|
138
|
+
"esModuleInterop": true
|
|
139
|
+
},
|
|
140
|
+
"include": ["./index.ts", "./service-records.json"]
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
@@ -1 +1,393 @@
|
|
|
1
|
-
[
|
|
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": [{ "name": "@ldsg/application" }]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "database-resource-definition",
|
|
27
|
+
"kind": "resource_definition",
|
|
28
|
+
"parentId": "root",
|
|
29
|
+
"settings": {
|
|
30
|
+
"handlerResourceId": "database-resource-definition-handler",
|
|
31
|
+
"title": "数据库资源定义",
|
|
32
|
+
"description": "",
|
|
33
|
+
"kind": "database",
|
|
34
|
+
"parentKind": "root"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "database-resource-definition-handler",
|
|
39
|
+
"kind": "handler",
|
|
40
|
+
"parentId": "root",
|
|
41
|
+
"settings": {
|
|
42
|
+
"title": "数据库实例化资源处理程序",
|
|
43
|
+
"description": "",
|
|
44
|
+
"code": "export * from \"@ldsg/database\";",
|
|
45
|
+
"dependencies": [{ "name": "@ldsg/database" }]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "field-type-resource-definition",
|
|
50
|
+
"kind": "resource_definition",
|
|
51
|
+
"parentId": "root",
|
|
52
|
+
"settings": {
|
|
53
|
+
"handlerResourceId": "field-type-resource-definition-handler",
|
|
54
|
+
"title": "字段类型资源定义",
|
|
55
|
+
"description": "",
|
|
56
|
+
"kind": "field_type",
|
|
57
|
+
"parentKind": "root"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "field-type-resource-definition-handler",
|
|
62
|
+
"kind": "handler",
|
|
63
|
+
"parentId": "root",
|
|
64
|
+
"settings": {
|
|
65
|
+
"title": "字段类型实例化资源处理程序",
|
|
66
|
+
"description": "",
|
|
67
|
+
"code": "export * from \"@ldsg/field-type\";",
|
|
68
|
+
"dependencies": [{ "name": "@ldsg/field-type" }]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "form-resource-definition",
|
|
73
|
+
"kind": "resource_definition",
|
|
74
|
+
"parentId": "root",
|
|
75
|
+
"settings": {
|
|
76
|
+
"handlerResourceId": "form-resource-definition-handler",
|
|
77
|
+
"title": "表单资源定义",
|
|
78
|
+
"description": "",
|
|
79
|
+
"kind": "form",
|
|
80
|
+
"parentKind": "forms"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "form-resource-definition-handler",
|
|
85
|
+
"kind": "handler",
|
|
86
|
+
"parentId": "root",
|
|
87
|
+
"settings": {
|
|
88
|
+
"title": "表单资源处理程序",
|
|
89
|
+
"description": "",
|
|
90
|
+
"code": "export * from \"@ldsg/form\";",
|
|
91
|
+
"dependencies": [{ "name": "@ldsg/form" }]
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "forms-resource-definition",
|
|
96
|
+
"kind": "resource_definition",
|
|
97
|
+
"parentId": "root",
|
|
98
|
+
"settings": {
|
|
99
|
+
"handlerResourceId": "forms-resource-definition-handler",
|
|
100
|
+
"title": "表单组资源定义",
|
|
101
|
+
"description": "",
|
|
102
|
+
"kind": "forms",
|
|
103
|
+
"parentKind": "application"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "forms-resource-definition-handler",
|
|
108
|
+
"kind": "handler",
|
|
109
|
+
"parentId": "root",
|
|
110
|
+
"settings": {
|
|
111
|
+
"title": "表单组实例化资源处理程序",
|
|
112
|
+
"description": "",
|
|
113
|
+
"code": "export * from \"@ldsg/forms\";",
|
|
114
|
+
"dependencies": [{ "name": "@ldsg/forms" }]
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "graphql-resource-definition",
|
|
119
|
+
"kind": "resource_definition",
|
|
120
|
+
"parentId": "root",
|
|
121
|
+
"settings": {
|
|
122
|
+
"handlerResourceId": "graphql-resource-definition-handler",
|
|
123
|
+
"title": "GraphQL资源定义",
|
|
124
|
+
"description": "",
|
|
125
|
+
"kind": "graphql",
|
|
126
|
+
"parentKind": "application"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "graphql-resource-definition-handler",
|
|
131
|
+
"kind": "handler",
|
|
132
|
+
"parentId": "root",
|
|
133
|
+
"settings": {
|
|
134
|
+
"title": "GraphQL实例化资源处理程序",
|
|
135
|
+
"description": "",
|
|
136
|
+
"code": "export * from \"@ldsg/graphql\";",
|
|
137
|
+
"dependencies": [{ "name": "@ldsg/graphql" }]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "handler-resource-definition",
|
|
142
|
+
"kind": "resource_definition",
|
|
143
|
+
"parentId": "root",
|
|
144
|
+
"settings": {
|
|
145
|
+
"handlerResourceId": "handler-resource-definition-handler",
|
|
146
|
+
"title": "处理程序资源定义",
|
|
147
|
+
"description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
|
|
148
|
+
"kind": "handler",
|
|
149
|
+
"parentKind": "root"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "handler-resource-definition-handler",
|
|
154
|
+
"kind": "handler",
|
|
155
|
+
"parentId": "root",
|
|
156
|
+
"settings": {
|
|
157
|
+
"title": "处理程序实例化资源处理程序",
|
|
158
|
+
"description": "包含处理程序相应的模块,此模块主要通过",
|
|
159
|
+
"code": "export * from \"@ldsg/handler\";",
|
|
160
|
+
"dependencies": [{ "name": "@ldsg/handler" }]
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "object-resource-definition",
|
|
165
|
+
"kind": "resource_definition",
|
|
166
|
+
"parentId": "root",
|
|
167
|
+
"settings": {
|
|
168
|
+
"handlerResourceId": "object-resource-definition-handler",
|
|
169
|
+
"title": "对象资源定义",
|
|
170
|
+
"description": "",
|
|
171
|
+
"kind": "object",
|
|
172
|
+
"parentKind": "root"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "object-resource-definition-handler",
|
|
177
|
+
"kind": "handler",
|
|
178
|
+
"parentId": "root",
|
|
179
|
+
"settings": {
|
|
180
|
+
"title": "对象实例化资源处理程序",
|
|
181
|
+
"description": "",
|
|
182
|
+
"code": "export * from \"@ldsg/object\";",
|
|
183
|
+
"dependencies": [{ "name": "@ldsg/object" }]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "object-field-resource-definition",
|
|
188
|
+
"kind": "resource_definition",
|
|
189
|
+
"parentId": "root",
|
|
190
|
+
"settings": {
|
|
191
|
+
"handlerResourceId": "object-field-resource-definition-handler",
|
|
192
|
+
"title": "对象字段资源定义",
|
|
193
|
+
"description": "",
|
|
194
|
+
"kind": "object_field",
|
|
195
|
+
"parentKind": "object"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "object-field-resource-definition-handler",
|
|
200
|
+
"kind": "handler",
|
|
201
|
+
"parentId": "root",
|
|
202
|
+
"settings": {
|
|
203
|
+
"title": "对象字段实例化资源处理程序",
|
|
204
|
+
"description": "",
|
|
205
|
+
"code": "export * from \"@ldsg/object-field\";",
|
|
206
|
+
"dependencies": [{ "name": "@ldsg/object-field" }]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "resource-definition-resource-definition",
|
|
211
|
+
"kind": "resource_definition",
|
|
212
|
+
"parentId": "root",
|
|
213
|
+
"settings": {
|
|
214
|
+
"handlerResourceId": "resource-definition-resource-definition-handler",
|
|
215
|
+
"title": "资源定义资源定义",
|
|
216
|
+
"description": "",
|
|
217
|
+
"kind": "resource_definition",
|
|
218
|
+
"parentKind": "root"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "resource-definition-resource-definition-handler",
|
|
223
|
+
"kind": "handler",
|
|
224
|
+
"parentId": "root",
|
|
225
|
+
"settings": {
|
|
226
|
+
"title": "资源定义实例化资源处理程序",
|
|
227
|
+
"description": "",
|
|
228
|
+
"code": "export * from \"@ldsg/resource-definition\";",
|
|
229
|
+
"dependencies": [{ "name": "@ldsg/resource-definition" }]
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "route-resource-definition",
|
|
234
|
+
"kind": "resource_definition",
|
|
235
|
+
"parentId": "root",
|
|
236
|
+
"settings": {
|
|
237
|
+
"handlerResourceId": "route-resource-definition-handler",
|
|
238
|
+
"title": "路由资源定义",
|
|
239
|
+
"description": "",
|
|
240
|
+
"kind": "route",
|
|
241
|
+
"parentKind": "application"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "route-resource-definition-handler",
|
|
246
|
+
"kind": "handler",
|
|
247
|
+
"parentId": "root",
|
|
248
|
+
"settings": {
|
|
249
|
+
"title": "路由实例化资源处理程序",
|
|
250
|
+
"description": "",
|
|
251
|
+
"code": "export * from \"@ldsg/route\";",
|
|
252
|
+
"dependencies": [{ "name": "@ldsg/route" }]
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "table-resource-definition",
|
|
257
|
+
"kind": "resource_definition",
|
|
258
|
+
"parentId": "root",
|
|
259
|
+
"settings": {
|
|
260
|
+
"handlerResourceId": "table-resource-definition-handler",
|
|
261
|
+
"title": "表格资源定义",
|
|
262
|
+
"description": "",
|
|
263
|
+
"kind": "table",
|
|
264
|
+
"parentKind": "tables"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "table-resource-definition-handler",
|
|
269
|
+
"kind": "handler",
|
|
270
|
+
"parentId": "root",
|
|
271
|
+
"settings": {
|
|
272
|
+
"title": "表格资源处理程序",
|
|
273
|
+
"description": "",
|
|
274
|
+
"code": "export * from \"@ldsg/table\";",
|
|
275
|
+
"dependencies": [{ "name": "@ldsg/table" }]
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "tables-resource-definition",
|
|
280
|
+
"kind": "resource_definition",
|
|
281
|
+
"parentId": "root",
|
|
282
|
+
"settings": {
|
|
283
|
+
"handlerResourceId": "tables-resource-definition-handler",
|
|
284
|
+
"title": "表格组资源定义",
|
|
285
|
+
"description": "",
|
|
286
|
+
"kind": "tables",
|
|
287
|
+
"parentKind": "application"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"id": "tables-resource-definition-handler",
|
|
292
|
+
"kind": "handler",
|
|
293
|
+
"parentId": "root",
|
|
294
|
+
"settings": {
|
|
295
|
+
"title": "表格组实例化资源处理程序",
|
|
296
|
+
"description": "",
|
|
297
|
+
"code": "export * from \"@ldsg/tables\";",
|
|
298
|
+
"dependencies": [{ "name": "@ldsg/tables" }]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "workflow-resource-definition",
|
|
303
|
+
"kind": "resource_definition",
|
|
304
|
+
"parentId": "root",
|
|
305
|
+
"settings": {
|
|
306
|
+
"handlerResourceId": "workflow-resource-definition-handler",
|
|
307
|
+
"title": "工作流资源定义",
|
|
308
|
+
"description": "",
|
|
309
|
+
"kind": "workflow",
|
|
310
|
+
"parentKind": "root"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "workflow-resource-definition-handler",
|
|
315
|
+
"kind": "handler",
|
|
316
|
+
"parentId": "root",
|
|
317
|
+
"settings": {
|
|
318
|
+
"title": "工作流实例化资源处理程序",
|
|
319
|
+
"description": "",
|
|
320
|
+
"code": "export * from \"@ldsg/workflow\";",
|
|
321
|
+
"dependencies": [{ "name": "@ldsg/workflow" }]
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "workflow-edge-resource-definition",
|
|
326
|
+
"kind": "resource_definition",
|
|
327
|
+
"parentId": "root",
|
|
328
|
+
"settings": {
|
|
329
|
+
"handlerResourceId": "workflow-edge-resource-definition-handler",
|
|
330
|
+
"title": "工作流连线资源定义",
|
|
331
|
+
"description": "",
|
|
332
|
+
"kind": "workflow_edge",
|
|
333
|
+
"parentKind": "workflow"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"id": "workflow-edge-resource-definition-handler",
|
|
338
|
+
"kind": "handler",
|
|
339
|
+
"parentId": "root",
|
|
340
|
+
"settings": {
|
|
341
|
+
"title": "工作流节点类型实例化资源处理程序",
|
|
342
|
+
"description": "",
|
|
343
|
+
"code": "export * from \"@ldsg/workflow-edge\";",
|
|
344
|
+
"dependencies": [{ "name": "@ldsg/workflow-edge" }]
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "workflow-node-resource-definition",
|
|
349
|
+
"kind": "resource_definition",
|
|
350
|
+
"parentId": "root",
|
|
351
|
+
"settings": {
|
|
352
|
+
"handlerResourceId": "workflow-node-resource-definition-handler",
|
|
353
|
+
"title": "工作流节点资源定义",
|
|
354
|
+
"description": "",
|
|
355
|
+
"kind": "workflow_node",
|
|
356
|
+
"parentKind": "workflow"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"id": "workflow-node-resource-definition-handler",
|
|
361
|
+
"kind": "handler",
|
|
362
|
+
"parentId": "root",
|
|
363
|
+
"settings": {
|
|
364
|
+
"title": "工作流节点实例化资源处理程序",
|
|
365
|
+
"description": "",
|
|
366
|
+
"code": "export * from \"@ldsg/workflow-node\";",
|
|
367
|
+
"dependencies": [{ "name": "@ldsg/workflow-node" }]
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"id": "workflow-node-type-resource-definition",
|
|
372
|
+
"kind": "resource_definition",
|
|
373
|
+
"parentId": "root",
|
|
374
|
+
"settings": {
|
|
375
|
+
"handlerResourceId": "workflow-node-type-resource-definition-handler",
|
|
376
|
+
"title": "工作流节点类型资源定义",
|
|
377
|
+
"description": "",
|
|
378
|
+
"kind": "workflow_node_type",
|
|
379
|
+
"parentKind": "root"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"id": "workflow-node-type-resource-definition-handler",
|
|
384
|
+
"kind": "handler",
|
|
385
|
+
"parentId": "root",
|
|
386
|
+
"settings": {
|
|
387
|
+
"title": "工作流节点类型实例化资源处理程序",
|
|
388
|
+
"description": "",
|
|
389
|
+
"code": "export * from \"@ldsg/workflow-node-type\";",
|
|
390
|
+
"dependencies": [{ "name": "@ldsg/workflow-node-type" }]
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
]
|