@ldsg/constants 0.3.38 → 0.3.40

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.
@@ -6,6 +6,7 @@
6
6
  "parentId": "root",
7
7
  "settings": {
8
8
  "handlerResourceId": "ali-oss-resource-definition-handler",
9
+ "slug": "ali-oss-resource-definition",
9
10
  "title": "阿里云 OSS 资源定义",
10
11
  "description": "",
11
12
  "kind": "ali_oss"
@@ -16,6 +17,7 @@
16
17
  "kind": "handler",
17
18
  "parentId": "root",
18
19
  "settings": {
20
+ "slug": "ali-oss-instantiate-resource-handler",
19
21
  "title": "阿里云 OSS 实例化资源处理程序",
20
22
  "description": "",
21
23
  "code": "export * from \"@ldsg/ali-oss\";",
@@ -32,6 +34,7 @@
32
34
  "parentId": "root",
33
35
  "settings": {
34
36
  "handlerResourceId": "application-resource-definition-handler",
37
+ "slug": "application-resource-definition",
35
38
  "title": "应用资源定义",
36
39
  "description": "",
37
40
  "kind": "application"
@@ -42,6 +45,7 @@
42
45
  "kind": "handler",
43
46
  "parentId": "root",
44
47
  "settings": {
48
+ "slug": "application-instantiate-resource-handler",
45
49
  "title": "应用实例化资源处理程序",
46
50
  "description": "",
47
51
  "code": "export * from \"@ldsg/application\";",
@@ -58,6 +62,7 @@
58
62
  "parentId": "root",
59
63
  "settings": {
60
64
  "handlerResourceId": "database-resource-definition-handler",
65
+ "slug": "database-resource-definition",
61
66
  "title": "数据库资源定义",
62
67
  "description": "",
63
68
  "kind": "database"
@@ -68,6 +73,7 @@
68
73
  "kind": "handler",
69
74
  "parentId": "root",
70
75
  "settings": {
76
+ "slug": "database-instantiate-resource-handler",
71
77
  "title": "数据库实例化资源处理程序",
72
78
  "description": "",
73
79
  "code": "export * from \"@ldsg/database\";",
@@ -84,6 +90,7 @@
84
90
  "parentId": "root",
85
91
  "settings": {
86
92
  "handlerResourceId": "field-type-resource-definition-handler",
93
+ "slug": "field-type-resource-definition",
87
94
  "title": "字段类型资源定义",
88
95
  "description": "",
89
96
  "kind": "field_type"
@@ -94,6 +101,7 @@
94
101
  "kind": "handler",
95
102
  "parentId": "root",
96
103
  "settings": {
104
+ "slug": "field-type-instantiate-resource-handler",
97
105
  "title": "字段类型实例化资源处理程序",
98
106
  "description": "",
99
107
  "code": "export * from \"@ldsg/field-type\";",
@@ -110,6 +118,7 @@
110
118
  "parentId": "root",
111
119
  "settings": {
112
120
  "handlerResourceId": "form-resource-definition-handler",
121
+ "slug": "form-resource-definition",
113
122
  "title": "表单资源定义",
114
123
  "description": "",
115
124
  "kind": "form"
@@ -120,6 +129,7 @@
120
129
  "kind": "handler",
121
130
  "parentId": "root",
122
131
  "settings": {
132
+ "slug": "form-instantiate-resource-handler",
123
133
  "title": "表单资源处理程序",
124
134
  "description": "",
125
135
  "code": "export * from \"@ldsg/form\";",
@@ -136,6 +146,7 @@
136
146
  "parentId": "root",
137
147
  "settings": {
138
148
  "handlerResourceId": "forms-resource-definition-handler",
149
+ "slug": "forms-resource-definition",
139
150
  "title": "表单组资源定义",
140
151
  "description": "",
141
152
  "kind": "forms"
@@ -146,6 +157,7 @@
146
157
  "kind": "handler",
147
158
  "parentId": "root",
148
159
  "settings": {
160
+ "slug": "forms-instantiate-resource-handler",
149
161
  "title": "表单组实例化资源处理程序",
150
162
  "description": "",
151
163
  "code": "export * from \"@ldsg/forms\";",
@@ -162,6 +174,7 @@
162
174
  "parentId": "root",
163
175
  "settings": {
164
176
  "handlerResourceId": "graphql-resource-definition-handler",
177
+ "slug": "graphql-resource-definition",
165
178
  "title": "GraphQL资源定义",
166
179
  "description": "",
167
180
  "kind": "graphql"
@@ -172,6 +185,7 @@
172
185
  "kind": "handler",
173
186
  "parentId": "root",
174
187
  "settings": {
188
+ "slug": "graphql-instantiate-resource-handler",
175
189
  "title": "GraphQL实例化资源处理程序",
176
190
  "description": "",
177
191
  "code": "export * from \"@ldsg/graphql\";",
@@ -188,6 +202,7 @@
188
202
  "parentId": "root",
189
203
  "settings": {
190
204
  "handlerResourceId": "graphql-workflow-resource-definition-handler",
205
+ "slug": "graphql-workflow-resource-definition",
191
206
  "title": "GraphQL工作流资源定义",
192
207
  "description": "",
193
208
  "kind": "graphql_workflow"
@@ -198,6 +213,7 @@
198
213
  "kind": "handler",
199
214
  "parentId": "root",
200
215
  "settings": {
216
+ "slug": "graphql-workflow-instantiate-resource-handler",
201
217
  "title": "GraphQL工作流实例化资源处理程序",
202
218
  "description": "",
203
219
  "code": "export * from \"@ldsg/graphql-workflow\";",
@@ -214,6 +230,7 @@
214
230
  "parentId": "root",
215
231
  "settings": {
216
232
  "handlerResourceId": "graphql-workflows-resource-definition-handler",
233
+ "slug": "graphql-workflows-resource-definition",
217
234
  "title": "GraphQL工作流组资源定义",
218
235
  "description": "",
219
236
  "kind": "graphql_workflows"
@@ -224,6 +241,7 @@
224
241
  "kind": "handler",
225
242
  "parentId": "root",
226
243
  "settings": {
244
+ "slug": "graphql-workflows-instantiate-resource-handler",
227
245
  "title": "GraphQL工作流组实例化资源处理程序",
228
246
  "description": "",
229
247
  "code": "export * from \"@ldsg/graphql-workflows\";",
@@ -240,6 +258,7 @@
240
258
  "parentId": "root",
241
259
  "settings": {
242
260
  "handlerResourceId": "handler-resource-definition-handler",
261
+ "slug": "handler-resource-definition",
243
262
  "title": "处理程序资源定义",
244
263
  "description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
245
264
  "kind": "handler"
@@ -250,6 +269,7 @@
250
269
  "kind": "handler",
251
270
  "parentId": "root",
252
271
  "settings": {
272
+ "slug": "handler-instantiate-resource-handler",
253
273
  "title": "处理程序实例化资源处理程序",
254
274
  "description": "包含处理程序相应的模块,此模块主要通过",
255
275
  "code": "export * from \"@ldsg/handler\";",
@@ -266,6 +286,7 @@
266
286
  "parentId": "root",
267
287
  "settings": {
268
288
  "handlerResourceId": "key-value-cache-resource-definition-handler",
289
+ "slug": "key-value-cache-resource-definition",
269
290
  "title": "键值对缓存资源定义",
270
291
  "description": "",
271
292
  "kind": "key_value_cache"
@@ -276,6 +297,7 @@
276
297
  "kind": "handler",
277
298
  "parentId": "root",
278
299
  "settings": {
300
+ "slug": "key-value-cache-instantiate-resource-handler",
279
301
  "title": "键值对缓存实例化资源处理程序",
280
302
  "description": "",
281
303
  "code": "export * from \"@ldsg/key-value-cache\";",
@@ -292,6 +314,7 @@
292
314
  "parentId": "root",
293
315
  "settings": {
294
316
  "handlerResourceId": "object-resource-definition-handler",
317
+ "slug": "object-resource-definition",
295
318
  "title": "对象资源定义",
296
319
  "description": "",
297
320
  "kind": "object"
@@ -302,6 +325,7 @@
302
325
  "kind": "handler",
303
326
  "parentId": "root",
304
327
  "settings": {
328
+ "slug": "object-instantiate-resource-handler",
305
329
  "title": "对象实例化资源处理程序",
306
330
  "description": "",
307
331
  "code": "export * from \"@ldsg/object\";",
@@ -318,6 +342,7 @@
318
342
  "parentId": "root",
319
343
  "settings": {
320
344
  "handlerResourceId": "object-field-resource-definition-handler",
345
+ "slug": "object-field-resource-definition",
321
346
  "title": "对象字段资源定义",
322
347
  "description": "",
323
348
  "kind": "object_field"
@@ -328,6 +353,7 @@
328
353
  "kind": "handler",
329
354
  "parentId": "root",
330
355
  "settings": {
356
+ "slug": "object-field-instantiate-resource-handler",
331
357
  "title": "对象字段实例化资源处理程序",
332
358
  "description": "",
333
359
  "code": "export * from \"@ldsg/object-field\";",
@@ -344,6 +370,7 @@
344
370
  "parentId": "root",
345
371
  "settings": {
346
372
  "handlerResourceId": "resource-definition-resource-definition-handler",
373
+ "slug": "resource-definition-resource-definition",
347
374
  "title": "资源定义资源定义",
348
375
  "description": "",
349
376
  "kind": "resource_definition"
@@ -354,6 +381,7 @@
354
381
  "kind": "handler",
355
382
  "parentId": "root",
356
383
  "settings": {
384
+ "slug": "resource-definition-instantiate-resource-handler",
357
385
  "title": "资源定义实例化资源处理程序",
358
386
  "description": "",
359
387
  "code": "export * from \"@ldsg/resource-definition\";",
@@ -370,6 +398,7 @@
370
398
  "parentId": "root",
371
399
  "settings": {
372
400
  "handlerResourceId": "route-resource-definition-handler",
401
+ "slug": "route-resource-definition",
373
402
  "title": "路由资源定义",
374
403
  "description": "",
375
404
  "kind": "route"
@@ -380,6 +409,7 @@
380
409
  "kind": "handler",
381
410
  "parentId": "root",
382
411
  "settings": {
412
+ "slug": "route-instantiate-resource-handler",
383
413
  "title": "路由实例化资源处理程序",
384
414
  "description": "",
385
415
  "code": "export * from \"@ldsg/route\";",
@@ -396,6 +426,7 @@
396
426
  "parentId": "root",
397
427
  "settings": {
398
428
  "handlerResourceId": "schedule-resource-definition-handler",
429
+ "slug": "schedule-resource-definition",
399
430
  "title": "定时任务资源定义",
400
431
  "description": "",
401
432
  "kind": "schedule"
@@ -406,6 +437,7 @@
406
437
  "kind": "handler",
407
438
  "parentId": "root",
408
439
  "settings": {
440
+ "slug": "schedule-instantiate-resource-handler",
409
441
  "title": "定时任务实例化资源处理程序",
410
442
  "description": "",
411
443
  "code": "export * from \"@ldsg/schedule\";",
@@ -422,6 +454,7 @@
422
454
  "parentId": "root",
423
455
  "settings": {
424
456
  "handlerResourceId": "schedules-resource-definition-handler",
457
+ "slug": "schedules-resource-definition",
425
458
  "title": "定时任务组资源定义",
426
459
  "description": "",
427
460
  "kind": "schedules"
@@ -432,6 +465,7 @@
432
465
  "kind": "handler",
433
466
  "parentId": "root",
434
467
  "settings": {
468
+ "slug": "schedules-instantiate-resource-handler",
435
469
  "title": "定时任务组实例化资源处理程序",
436
470
  "description": "",
437
471
  "code": "export * from \"@ldsg/schedules\";",
@@ -448,6 +482,7 @@
448
482
  "parentId": "root",
449
483
  "settings": {
450
484
  "handlerResourceId": "table-resource-definition-handler",
485
+ "slug": "table-resource-definition",
451
486
  "title": "表格资源定义",
452
487
  "description": "",
453
488
  "kind": "table"
@@ -458,6 +493,7 @@
458
493
  "kind": "handler",
459
494
  "parentId": "root",
460
495
  "settings": {
496
+ "slug": "table-instantiate-resource-handler",
461
497
  "title": "表格资源处理程序",
462
498
  "description": "",
463
499
  "code": "export * from \"@ldsg/table\";",
@@ -474,6 +510,7 @@
474
510
  "parentId": "root",
475
511
  "settings": {
476
512
  "handlerResourceId": "tables-resource-definition-handler",
513
+ "slug": "tables-resource-definition",
477
514
  "title": "表格组资源定义",
478
515
  "description": "",
479
516
  "kind": "tables"
@@ -484,6 +521,7 @@
484
521
  "kind": "handler",
485
522
  "parentId": "root",
486
523
  "settings": {
524
+ "slug": "tables-instantiate-resource-handler",
487
525
  "title": "表格组实例化资源处理程序",
488
526
  "description": "",
489
527
  "code": "export * from \"@ldsg/tables\";",
@@ -500,6 +538,7 @@
500
538
  "parentId": "root",
501
539
  "settings": {
502
540
  "handlerResourceId": "workflow-resource-definition-handler",
541
+ "slug": "workflow-resource-definition",
503
542
  "title": "工作流资源定义",
504
543
  "description": "",
505
544
  "kind": "workflow"
@@ -510,6 +549,7 @@
510
549
  "kind": "handler",
511
550
  "parentId": "root",
512
551
  "settings": {
552
+ "slug": "workflow-instantiate-resource-handler",
513
553
  "title": "工作流实例化资源处理程序",
514
554
  "description": "",
515
555
  "code": "export * from \"@ldsg/workflow\";",
@@ -526,6 +566,7 @@
526
566
  "parentId": "root",
527
567
  "settings": {
528
568
  "handlerResourceId": "workflow-edge-resource-definition-handler",
569
+ "slug": "workflow-edge-resource-definition",
529
570
  "title": "工作流连线资源定义",
530
571
  "description": "",
531
572
  "kind": "workflow_edge"
@@ -536,6 +577,7 @@
536
577
  "kind": "handler",
537
578
  "parentId": "root",
538
579
  "settings": {
580
+ "slug": "workflow-edge-instantiate-resource-handler",
539
581
  "title": "工作流节点类型实例化资源处理程序",
540
582
  "description": "",
541
583
  "code": "export * from \"@ldsg/workflow-edge\";",
@@ -552,6 +594,7 @@
552
594
  "parentId": "root",
553
595
  "settings": {
554
596
  "handlerResourceId": "workflow-node-resource-definition-handler",
597
+ "slug": "workflow-node-resource-definition",
555
598
  "title": "工作流节点资源定义",
556
599
  "description": "",
557
600
  "kind": "workflow_node"
@@ -562,6 +605,7 @@
562
605
  "kind": "handler",
563
606
  "parentId": "root",
564
607
  "settings": {
608
+ "slug": "workflow-node-instantiate-resource-handler",
565
609
  "title": "工作流节点实例化资源处理程序",
566
610
  "description": "",
567
611
  "code": "export * from \"@ldsg/workflow-node\";",
@@ -578,6 +622,7 @@
578
622
  "parentId": "root",
579
623
  "settings": {
580
624
  "handlerResourceId": "workflow-node-type-resource-definition-handler",
625
+ "slug": "workflow-node-type-resource-definition",
581
626
  "title": "工作流节点类型资源定义",
582
627
  "description": "",
583
628
  "kind": "workflow_node_type"
@@ -588,6 +633,7 @@
588
633
  "kind": "handler",
589
634
  "parentId": "root",
590
635
  "settings": {
636
+ "slug": "workflow-node-type-instantiate-resource-handler",
591
637
  "title": "工作流节点类型实例化资源处理程序",
592
638
  "description": "",
593
639
  "code": "export * from \"@ldsg/workflow-node-type\";",
@@ -603,6 +649,7 @@
603
649
  "kind": "application",
604
650
  "parentId": "root",
605
651
  "settings": {
652
+ "slug": "main-app",
606
653
  "title": "主要应用",
607
654
  "description": ""
608
655
  }
@@ -108,7 +108,7 @@
108
108
  "author": "",
109
109
  "type": "module",
110
110
  "scripts": {
111
- "build": "tsc --project tsconfig.json",
111
+ "build": "vite build",
112
112
  "start": "node ./dist/index.js",
113
113
  "start:telemetry": "node --import @ldsg/opentelemetry-node ./dist/index.js"
114
114
  },
@@ -122,11 +122,8 @@
122
122
  "devDependencies": {
123
123
  "@types/express": "^4.17.17",
124
124
  "@types/node": "^22.1.0",
125
- "ts-loader": "^9.5.1",
126
- "ts-node": "~10.9.2",
127
- "tslib": "^2.6.3",
128
- "tsx": "~4.21.0",
129
- "typescript": "^5.5.4"
125
+ "typescript": "^5.5.4",
126
+ "vite": "^7.1.7"
130
127
  }
131
128
  }
132
129
  },
@@ -160,5 +157,9 @@
160
157
  },
161
158
  "include": ["./*.ts"]
162
159
  }
160
+ },
161
+ {
162
+ "path": "vite.config.ts",
163
+ "data": "import { defineConfig } from \"vite\";\n\nexport default defineConfig({\n build: {\n outDir: \"dist\",\n ssr: \"index.ts\",\n commonjsOptions: {\n /**\n * 把 workspace 符号链接的 CJS 依赖(如 @ldsg/*)也转成 ESM 一并打包\n */\n include: [/.*/],\n },\n rollupOptions: {\n output: {\n inlineDynamicImports: true,\n },\n },\n },\n ssr: {\n /**\n * 全量打包依赖进单文件,运行时无需 node_modules\n */\n noExternal: true,\n },\n plugins: [\n {\n /**\n * 把仅在桌面端使用的包(如 got@8 内引用的 electron)替换为空模块,\n * 避免服务端 bundle 启动时因找不到该包而报错\n */\n name: \"ldsg:shim-server-externals\",\n enforce: \"pre\",\n resolveId(id) {\n if (id === \"electron\") return \"\\0ldsg-shim:electron\";\n return null;\n },\n load(id) {\n if (id === \"\\0ldsg-shim:electron\") return \"export default {};\";\n return null;\n },\n },\n {\n /**\n * rollup 的 CJS interop 会把 graphql-compose 的 ObjectTypeComposer 类加上数字后缀\n * (如 ObjectTypeComposer2),破坏 graphql-compose-mongoose 基于 constructor.name\n * 的字符串校验(Second arg for Resolver count() should be instance of ObjectTypeComposer)。\n * 这里在产物里把类名恢复为 ObjectTypeComposer。\n */\n name: \"ldsg:restore-cjs-class-names\",\n enforce: \"post\",\n generateBundle(_options, bundle) {\n for (const file of Object.values(bundle)) {\n if (file.type === \"chunk\" && typeof file.code === \"string\") {\n file.code = file.code.replace(/\\bObjectTypeComposer\\d*\\b/g, \"ObjectTypeComposer\");\n }\n }\n },\n },\n ],\n});\n"
163
164
  }
164
165
  ]
package/dist/index.d.ts CHANGED
@@ -1,12 +1,11 @@
1
1
  export declare const BASE_RESOURCE_KINDS: string[];
2
- export declare const ROOT_RESOURCE_ID: string;
3
- export declare const ROOT_RESOURCE_KIND: string;
4
2
  export declare const RESOURCE_DEFINITION_RELATED_RESOURCE_RECORDS: ({
5
3
  id: string;
6
4
  kind: string;
7
5
  parentId: string;
8
6
  settings: {
9
7
  handlerResourceId: string;
8
+ slug: string;
10
9
  title: string;
11
10
  description: string;
12
11
  kind: string;
@@ -18,6 +17,7 @@ export declare const RESOURCE_DEFINITION_RELATED_RESOURCE_RECORDS: ({
18
17
  kind: string;
19
18
  parentId: string;
20
19
  settings: {
20
+ slug: string;
21
21
  title: string;
22
22
  description: string;
23
23
  code: string;
@@ -35,6 +35,7 @@ export declare const APP_MANIFEST: {
35
35
  parentId: string;
36
36
  settings: {
37
37
  handlerResourceId: string;
38
+ slug: string;
38
39
  title: string;
39
40
  description: string;
40
41
  kind: string;
@@ -46,6 +47,7 @@ export declare const APP_MANIFEST: {
46
47
  kind: string;
47
48
  parentId: string;
48
49
  settings: {
50
+ slug: string;
49
51
  title: string;
50
52
  description: string;
51
53
  code: string;
@@ -60,6 +62,7 @@ export declare const APP_MANIFEST: {
60
62
  kind: string;
61
63
  parentId: string;
62
64
  settings: {
65
+ slug: string;
63
66
  title: string;
64
67
  description: string;
65
68
  handlerResourceId?: undefined;
@@ -152,11 +155,8 @@ export declare const FILES_IN_APP_TEMPLATE_MODULE: ({
152
155
  devDependencies: {
153
156
  "@types/express": string;
154
157
  "@types/node": string;
155
- "ts-loader": string;
156
- "ts-node": string;
157
- tslib: string;
158
- tsx: string;
159
158
  typescript: string;
159
+ vite: string;
160
160
  };
161
161
  resourceRecords?: undefined;
162
162
  compilerOptions?: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,UAA2B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,QAAwB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,QAA0B,CAAC;AAE1D,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;IACN,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAC;AAE9C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,UAA2B,CAAC;AAE5D,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACN,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAC;AAE9C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAwC,CAAC"}
package/dist/index.js CHANGED
@@ -3,13 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FILES_IN_HANDLER_TEMPLATE_MODULE = exports.FILES_IN_APP_TEMPLATE_MODULE = exports.APP_MANIFEST = exports.RESOURCE_DEFINITION_RELATED_RESOURCE_RECORDS = exports.ROOT_RESOURCE_KIND = exports.ROOT_RESOURCE_ID = exports.BASE_RESOURCE_KINDS = void 0;
6
+ exports.FILES_IN_HANDLER_TEMPLATE_MODULE = exports.FILES_IN_APP_TEMPLATE_MODULE = exports.APP_MANIFEST = exports.RESOURCE_DEFINITION_RELATED_RESOURCE_RECORDS = exports.BASE_RESOURCE_KINDS = void 0;
7
7
  const base_resource_kinds_json_1 = __importDefault(require("./base-resource-kinds.json"));
8
8
  exports.BASE_RESOURCE_KINDS = base_resource_kinds_json_1.default;
9
- const root_resource_id_json_1 = __importDefault(require("./root-resource-id.json"));
10
- exports.ROOT_RESOURCE_ID = root_resource_id_json_1.default;
11
- const root_resource_kind_json_1 = __importDefault(require("./root-resource-kind.json"));
12
- exports.ROOT_RESOURCE_KIND = root_resource_kind_json_1.default;
13
9
  const resource_definition_related_resource_records_json_1 = __importDefault(require("./resource-definition-related-resource-records.json"));
14
10
  exports.RESOURCE_DEFINITION_RELATED_RESOURCE_RECORDS = resource_definition_related_resource_records_json_1.default;
15
11
  const app_manifest_json_1 = __importDefault(require("./app-manifest.json"));
@@ -5,6 +5,7 @@
5
5
  "parentId": "root",
6
6
  "settings": {
7
7
  "handlerResourceId": "ali-oss-resource-definition-handler",
8
+ "slug": "ali-oss-resource-definition",
8
9
  "title": "阿里云 OSS 资源定义",
9
10
  "description": "",
10
11
  "kind": "ali_oss"
@@ -15,6 +16,7 @@
15
16
  "kind": "handler",
16
17
  "parentId": "root",
17
18
  "settings": {
19
+ "slug": "ali-oss-instantiate-resource-handler",
18
20
  "title": "阿里云 OSS 实例化资源处理程序",
19
21
  "description": "",
20
22
  "code": "export * from \"@ldsg/ali-oss\";",
@@ -31,6 +33,7 @@
31
33
  "parentId": "root",
32
34
  "settings": {
33
35
  "handlerResourceId": "application-resource-definition-handler",
36
+ "slug": "application-resource-definition",
34
37
  "title": "应用资源定义",
35
38
  "description": "",
36
39
  "kind": "application"
@@ -41,6 +44,7 @@
41
44
  "kind": "handler",
42
45
  "parentId": "root",
43
46
  "settings": {
47
+ "slug": "application-instantiate-resource-handler",
44
48
  "title": "应用实例化资源处理程序",
45
49
  "description": "",
46
50
  "code": "export * from \"@ldsg/application\";",
@@ -57,6 +61,7 @@
57
61
  "parentId": "root",
58
62
  "settings": {
59
63
  "handlerResourceId": "database-resource-definition-handler",
64
+ "slug": "database-resource-definition",
60
65
  "title": "数据库资源定义",
61
66
  "description": "",
62
67
  "kind": "database"
@@ -67,6 +72,7 @@
67
72
  "kind": "handler",
68
73
  "parentId": "root",
69
74
  "settings": {
75
+ "slug": "database-instantiate-resource-handler",
70
76
  "title": "数据库实例化资源处理程序",
71
77
  "description": "",
72
78
  "code": "export * from \"@ldsg/database\";",
@@ -83,6 +89,7 @@
83
89
  "parentId": "root",
84
90
  "settings": {
85
91
  "handlerResourceId": "field-type-resource-definition-handler",
92
+ "slug": "field-type-resource-definition",
86
93
  "title": "字段类型资源定义",
87
94
  "description": "",
88
95
  "kind": "field_type"
@@ -93,6 +100,7 @@
93
100
  "kind": "handler",
94
101
  "parentId": "root",
95
102
  "settings": {
103
+ "slug": "field-type-instantiate-resource-handler",
96
104
  "title": "字段类型实例化资源处理程序",
97
105
  "description": "",
98
106
  "code": "export * from \"@ldsg/field-type\";",
@@ -109,6 +117,7 @@
109
117
  "parentId": "root",
110
118
  "settings": {
111
119
  "handlerResourceId": "form-resource-definition-handler",
120
+ "slug": "form-resource-definition",
112
121
  "title": "表单资源定义",
113
122
  "description": "",
114
123
  "kind": "form"
@@ -119,6 +128,7 @@
119
128
  "kind": "handler",
120
129
  "parentId": "root",
121
130
  "settings": {
131
+ "slug": "form-instantiate-resource-handler",
122
132
  "title": "表单资源处理程序",
123
133
  "description": "",
124
134
  "code": "export * from \"@ldsg/form\";",
@@ -135,6 +145,7 @@
135
145
  "parentId": "root",
136
146
  "settings": {
137
147
  "handlerResourceId": "forms-resource-definition-handler",
148
+ "slug": "forms-resource-definition",
138
149
  "title": "表单组资源定义",
139
150
  "description": "",
140
151
  "kind": "forms"
@@ -145,6 +156,7 @@
145
156
  "kind": "handler",
146
157
  "parentId": "root",
147
158
  "settings": {
159
+ "slug": "forms-instantiate-resource-handler",
148
160
  "title": "表单组实例化资源处理程序",
149
161
  "description": "",
150
162
  "code": "export * from \"@ldsg/forms\";",
@@ -161,6 +173,7 @@
161
173
  "parentId": "root",
162
174
  "settings": {
163
175
  "handlerResourceId": "graphql-resource-definition-handler",
176
+ "slug": "graphql-resource-definition",
164
177
  "title": "GraphQL资源定义",
165
178
  "description": "",
166
179
  "kind": "graphql"
@@ -171,6 +184,7 @@
171
184
  "kind": "handler",
172
185
  "parentId": "root",
173
186
  "settings": {
187
+ "slug": "graphql-instantiate-resource-handler",
174
188
  "title": "GraphQL实例化资源处理程序",
175
189
  "description": "",
176
190
  "code": "export * from \"@ldsg/graphql\";",
@@ -187,6 +201,7 @@
187
201
  "parentId": "root",
188
202
  "settings": {
189
203
  "handlerResourceId": "graphql-workflow-resource-definition-handler",
204
+ "slug": "graphql-workflow-resource-definition",
190
205
  "title": "GraphQL工作流资源定义",
191
206
  "description": "",
192
207
  "kind": "graphql_workflow"
@@ -197,6 +212,7 @@
197
212
  "kind": "handler",
198
213
  "parentId": "root",
199
214
  "settings": {
215
+ "slug": "graphql-workflow-instantiate-resource-handler",
200
216
  "title": "GraphQL工作流实例化资源处理程序",
201
217
  "description": "",
202
218
  "code": "export * from \"@ldsg/graphql-workflow\";",
@@ -213,6 +229,7 @@
213
229
  "parentId": "root",
214
230
  "settings": {
215
231
  "handlerResourceId": "graphql-workflows-resource-definition-handler",
232
+ "slug": "graphql-workflows-resource-definition",
216
233
  "title": "GraphQL工作流组资源定义",
217
234
  "description": "",
218
235
  "kind": "graphql_workflows"
@@ -223,6 +240,7 @@
223
240
  "kind": "handler",
224
241
  "parentId": "root",
225
242
  "settings": {
243
+ "slug": "graphql-workflows-instantiate-resource-handler",
226
244
  "title": "GraphQL工作流组实例化资源处理程序",
227
245
  "description": "",
228
246
  "code": "export * from \"@ldsg/graphql-workflows\";",
@@ -239,6 +257,7 @@
239
257
  "parentId": "root",
240
258
  "settings": {
241
259
  "handlerResourceId": "handler-resource-definition-handler",
260
+ "slug": "handler-resource-definition",
242
261
  "title": "处理程序资源定义",
243
262
  "description": "主要包含引入模块列表与相应的处理程序代码,处理程序类型资源无子级资源。",
244
263
  "kind": "handler"
@@ -249,6 +268,7 @@
249
268
  "kind": "handler",
250
269
  "parentId": "root",
251
270
  "settings": {
271
+ "slug": "handler-instantiate-resource-handler",
252
272
  "title": "处理程序实例化资源处理程序",
253
273
  "description": "包含处理程序相应的模块,此模块主要通过",
254
274
  "code": "export * from \"@ldsg/handler\";",
@@ -265,6 +285,7 @@
265
285
  "parentId": "root",
266
286
  "settings": {
267
287
  "handlerResourceId": "key-value-cache-resource-definition-handler",
288
+ "slug": "key-value-cache-resource-definition",
268
289
  "title": "键值对缓存资源定义",
269
290
  "description": "",
270
291
  "kind": "key_value_cache"
@@ -275,6 +296,7 @@
275
296
  "kind": "handler",
276
297
  "parentId": "root",
277
298
  "settings": {
299
+ "slug": "key-value-cache-instantiate-resource-handler",
278
300
  "title": "键值对缓存实例化资源处理程序",
279
301
  "description": "",
280
302
  "code": "export * from \"@ldsg/key-value-cache\";",
@@ -291,6 +313,7 @@
291
313
  "parentId": "root",
292
314
  "settings": {
293
315
  "handlerResourceId": "object-resource-definition-handler",
316
+ "slug": "object-resource-definition",
294
317
  "title": "对象资源定义",
295
318
  "description": "",
296
319
  "kind": "object"
@@ -301,6 +324,7 @@
301
324
  "kind": "handler",
302
325
  "parentId": "root",
303
326
  "settings": {
327
+ "slug": "object-instantiate-resource-handler",
304
328
  "title": "对象实例化资源处理程序",
305
329
  "description": "",
306
330
  "code": "export * from \"@ldsg/object\";",
@@ -317,6 +341,7 @@
317
341
  "parentId": "root",
318
342
  "settings": {
319
343
  "handlerResourceId": "object-field-resource-definition-handler",
344
+ "slug": "object-field-resource-definition",
320
345
  "title": "对象字段资源定义",
321
346
  "description": "",
322
347
  "kind": "object_field"
@@ -327,6 +352,7 @@
327
352
  "kind": "handler",
328
353
  "parentId": "root",
329
354
  "settings": {
355
+ "slug": "object-field-instantiate-resource-handler",
330
356
  "title": "对象字段实例化资源处理程序",
331
357
  "description": "",
332
358
  "code": "export * from \"@ldsg/object-field\";",
@@ -343,6 +369,7 @@
343
369
  "parentId": "root",
344
370
  "settings": {
345
371
  "handlerResourceId": "resource-definition-resource-definition-handler",
372
+ "slug": "resource-definition-resource-definition",
346
373
  "title": "资源定义资源定义",
347
374
  "description": "",
348
375
  "kind": "resource_definition"
@@ -353,6 +380,7 @@
353
380
  "kind": "handler",
354
381
  "parentId": "root",
355
382
  "settings": {
383
+ "slug": "resource-definition-instantiate-resource-handler",
356
384
  "title": "资源定义实例化资源处理程序",
357
385
  "description": "",
358
386
  "code": "export * from \"@ldsg/resource-definition\";",
@@ -369,6 +397,7 @@
369
397
  "parentId": "root",
370
398
  "settings": {
371
399
  "handlerResourceId": "route-resource-definition-handler",
400
+ "slug": "route-resource-definition",
372
401
  "title": "路由资源定义",
373
402
  "description": "",
374
403
  "kind": "route"
@@ -379,6 +408,7 @@
379
408
  "kind": "handler",
380
409
  "parentId": "root",
381
410
  "settings": {
411
+ "slug": "route-instantiate-resource-handler",
382
412
  "title": "路由实例化资源处理程序",
383
413
  "description": "",
384
414
  "code": "export * from \"@ldsg/route\";",
@@ -395,6 +425,7 @@
395
425
  "parentId": "root",
396
426
  "settings": {
397
427
  "handlerResourceId": "schedule-resource-definition-handler",
428
+ "slug": "schedule-resource-definition",
398
429
  "title": "定时任务资源定义",
399
430
  "description": "",
400
431
  "kind": "schedule"
@@ -405,6 +436,7 @@
405
436
  "kind": "handler",
406
437
  "parentId": "root",
407
438
  "settings": {
439
+ "slug": "schedule-instantiate-resource-handler",
408
440
  "title": "定时任务实例化资源处理程序",
409
441
  "description": "",
410
442
  "code": "export * from \"@ldsg/schedule\";",
@@ -421,6 +453,7 @@
421
453
  "parentId": "root",
422
454
  "settings": {
423
455
  "handlerResourceId": "schedules-resource-definition-handler",
456
+ "slug": "schedules-resource-definition",
424
457
  "title": "定时任务组资源定义",
425
458
  "description": "",
426
459
  "kind": "schedules"
@@ -431,6 +464,7 @@
431
464
  "kind": "handler",
432
465
  "parentId": "root",
433
466
  "settings": {
467
+ "slug": "schedules-instantiate-resource-handler",
434
468
  "title": "定时任务组实例化资源处理程序",
435
469
  "description": "",
436
470
  "code": "export * from \"@ldsg/schedules\";",
@@ -447,6 +481,7 @@
447
481
  "parentId": "root",
448
482
  "settings": {
449
483
  "handlerResourceId": "table-resource-definition-handler",
484
+ "slug": "table-resource-definition",
450
485
  "title": "表格资源定义",
451
486
  "description": "",
452
487
  "kind": "table"
@@ -457,6 +492,7 @@
457
492
  "kind": "handler",
458
493
  "parentId": "root",
459
494
  "settings": {
495
+ "slug": "table-instantiate-resource-handler",
460
496
  "title": "表格资源处理程序",
461
497
  "description": "",
462
498
  "code": "export * from \"@ldsg/table\";",
@@ -473,6 +509,7 @@
473
509
  "parentId": "root",
474
510
  "settings": {
475
511
  "handlerResourceId": "tables-resource-definition-handler",
512
+ "slug": "tables-resource-definition",
476
513
  "title": "表格组资源定义",
477
514
  "description": "",
478
515
  "kind": "tables"
@@ -483,6 +520,7 @@
483
520
  "kind": "handler",
484
521
  "parentId": "root",
485
522
  "settings": {
523
+ "slug": "tables-instantiate-resource-handler",
486
524
  "title": "表格组实例化资源处理程序",
487
525
  "description": "",
488
526
  "code": "export * from \"@ldsg/tables\";",
@@ -499,6 +537,7 @@
499
537
  "parentId": "root",
500
538
  "settings": {
501
539
  "handlerResourceId": "workflow-resource-definition-handler",
540
+ "slug": "workflow-resource-definition",
502
541
  "title": "工作流资源定义",
503
542
  "description": "",
504
543
  "kind": "workflow"
@@ -509,6 +548,7 @@
509
548
  "kind": "handler",
510
549
  "parentId": "root",
511
550
  "settings": {
551
+ "slug": "workflow-instantiate-resource-handler",
512
552
  "title": "工作流实例化资源处理程序",
513
553
  "description": "",
514
554
  "code": "export * from \"@ldsg/workflow\";",
@@ -525,6 +565,7 @@
525
565
  "parentId": "root",
526
566
  "settings": {
527
567
  "handlerResourceId": "workflow-edge-resource-definition-handler",
568
+ "slug": "workflow-edge-resource-definition",
528
569
  "title": "工作流连线资源定义",
529
570
  "description": "",
530
571
  "kind": "workflow_edge"
@@ -535,6 +576,7 @@
535
576
  "kind": "handler",
536
577
  "parentId": "root",
537
578
  "settings": {
579
+ "slug": "workflow-edge-instantiate-resource-handler",
538
580
  "title": "工作流节点类型实例化资源处理程序",
539
581
  "description": "",
540
582
  "code": "export * from \"@ldsg/workflow-edge\";",
@@ -551,6 +593,7 @@
551
593
  "parentId": "root",
552
594
  "settings": {
553
595
  "handlerResourceId": "workflow-node-resource-definition-handler",
596
+ "slug": "workflow-node-resource-definition",
554
597
  "title": "工作流节点资源定义",
555
598
  "description": "",
556
599
  "kind": "workflow_node"
@@ -561,6 +604,7 @@
561
604
  "kind": "handler",
562
605
  "parentId": "root",
563
606
  "settings": {
607
+ "slug": "workflow-node-instantiate-resource-handler",
564
608
  "title": "工作流节点实例化资源处理程序",
565
609
  "description": "",
566
610
  "code": "export * from \"@ldsg/workflow-node\";",
@@ -577,6 +621,7 @@
577
621
  "parentId": "root",
578
622
  "settings": {
579
623
  "handlerResourceId": "workflow-node-type-resource-definition-handler",
624
+ "slug": "workflow-node-type-resource-definition",
580
625
  "title": "工作流节点类型资源定义",
581
626
  "description": "",
582
627
  "kind": "workflow_node_type"
@@ -587,6 +632,7 @@
587
632
  "kind": "handler",
588
633
  "parentId": "root",
589
634
  "settings": {
635
+ "slug": "workflow-node-type-instantiate-resource-handler",
590
636
  "title": "工作流节点类型实例化资源处理程序",
591
637
  "description": "",
592
638
  "code": "export * from \"@ldsg/workflow-node-type\";",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/constants",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- "root"
@@ -1 +0,0 @@
1
- "root"