@gct-paas/api 6.0.0-dev.6 → 6.0.0-dev.8
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/index.esm.min.js +1 -1
- package/es/apaas/service/apis/api.service.d.ts +4 -0
- package/es/apaas/service/apis/app-global-settings.service.d.ts +2 -2
- package/es/apaas/service/apis/app-org.service.d.ts +0 -4
- package/es/apaas/service/apis/category.service.d.ts +8 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +0 -8
- package/es/apaas/service/apis/excel.service.d.ts +0 -12
- package/es/apaas/service/apis/online-form-instance.service.d.ts +8 -0
- package/es/apaas/service/entities.d.ts +39 -9
- package/es/ipaas/service/api-config.mjs +381 -0
- package/es/ipaas/service/apis/app.service.d.ts +26 -0
- package/es/ipaas/service/apis/bff.service.d.ts +15 -0
- package/es/ipaas/service/apis/categories.service.d.ts +9 -0
- package/es/ipaas/service/apis/category.service.d.ts +33 -1
- package/es/ipaas/service/apis/file.service.d.ts +17 -0
- package/es/ipaas/service/apis/flow.service.d.ts +234 -1
- package/es/ipaas/service/apis/knowledge.service.d.ts +196 -0
- package/es/ipaas/service/apis/variable-def.service.d.ts +87 -0
- package/es/ipaas/service/apis/variable-inst.service.d.ts +63 -0
- package/es/ipaas/service/entities.d.ts +1386 -37
- package/es/ipaas/service/index.d.ts +14 -0
- package/es/platform/service/api-config.mjs +7 -2
- package/es/platform/service/apis/api.service.d.ts +1 -10
- package/es/platform/service/apis/dashboard.service.d.ts +4 -0
- package/es/platform/service/apis/license.service.d.ts +1 -1
- package/es/platform/service/apis/third-party-app.service.d.ts +38 -1
- package/es/platform/service/entities.d.ts +26 -0
- package/es/service/api-service.interface.d.ts +9 -0
- package/es/service/index.mjs +2 -0
- package/package.json +1 -1
|
@@ -34,6 +34,10 @@ export interface getListQuery extends IObject {
|
|
|
34
34
|
* 结束时间
|
|
35
35
|
*/
|
|
36
36
|
endTime?: string;
|
|
37
|
+
/**
|
|
38
|
+
* 所属模块(实体、枚举、web页面)
|
|
39
|
+
*/
|
|
40
|
+
module?: string;
|
|
37
41
|
/**
|
|
38
42
|
* 应用名称
|
|
39
43
|
*/
|
|
@@ -220,6 +224,10 @@ export interface getPageListQuery extends IObject {
|
|
|
220
224
|
* 结束时间
|
|
221
225
|
*/
|
|
222
226
|
endTime?: string;
|
|
227
|
+
/**
|
|
228
|
+
* 所属模块(实体、枚举、web页面)
|
|
229
|
+
*/
|
|
230
|
+
module?: string;
|
|
223
231
|
/**
|
|
224
232
|
* 应用名称
|
|
225
233
|
*/
|
|
@@ -87,10 +87,6 @@ export interface getPageListQuery extends IObject {
|
|
|
87
87
|
* 更新人id
|
|
88
88
|
*/
|
|
89
89
|
modifyUserId?: string;
|
|
90
|
-
/**
|
|
91
|
-
* 模块类型
|
|
92
|
-
*/
|
|
93
|
-
module?: string;
|
|
94
90
|
/**
|
|
95
91
|
* 操作人
|
|
96
92
|
*/
|
|
@@ -145,10 +141,6 @@ export interface getReversePageListQuery extends IObject {
|
|
|
145
141
|
* 工单id
|
|
146
142
|
*/
|
|
147
143
|
mfgOrderId?: string;
|
|
148
|
-
/**
|
|
149
|
-
* 模块类型
|
|
150
|
-
*/
|
|
151
|
-
module?: string;
|
|
152
144
|
/**
|
|
153
145
|
* 操作人
|
|
154
146
|
*/
|
|
@@ -85,22 +85,10 @@ export interface postDataValidateQuery extends IObject {
|
|
|
85
85
|
* 标题行号
|
|
86
86
|
*/
|
|
87
87
|
headerRowNo?: number;
|
|
88
|
-
/**
|
|
89
|
-
* 导入类型 1:普通导入,2:主子同时导
|
|
90
|
-
*/
|
|
91
|
-
importType?: number;
|
|
92
88
|
/**
|
|
93
89
|
* 模型key
|
|
94
90
|
*/
|
|
95
91
|
modelKey: string;
|
|
96
|
-
/**
|
|
97
|
-
* 数据起始行号
|
|
98
|
-
*/
|
|
99
|
-
startRowNo?: number;
|
|
100
|
-
/**
|
|
101
|
-
* 模板key
|
|
102
|
-
*/
|
|
103
|
-
tmplKey: string;
|
|
104
92
|
}
|
|
105
93
|
export interface ExcelService {
|
|
106
94
|
/**
|
|
@@ -71,6 +71,10 @@ export interface getDhrFormListQuery extends IObject {
|
|
|
71
71
|
* 工单ID
|
|
72
72
|
*/
|
|
73
73
|
mfgOrderId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 模块类型
|
|
76
|
+
*/
|
|
77
|
+
module?: string;
|
|
74
78
|
/**
|
|
75
79
|
* 类型(production/rework)
|
|
76
80
|
*/
|
|
@@ -377,6 +381,10 @@ export interface getRelateFormPageListQuery extends IObject {
|
|
|
377
381
|
* Lot/SN 编号
|
|
378
382
|
*/
|
|
379
383
|
materialNo: string;
|
|
384
|
+
/**
|
|
385
|
+
* 模块类型
|
|
386
|
+
*/
|
|
387
|
+
module?: string;
|
|
380
388
|
/**
|
|
381
389
|
* 页码
|
|
382
390
|
*/
|
|
@@ -921,6 +921,12 @@ export interface AppGlobalSettingsRequest {
|
|
|
921
921
|
* @type string
|
|
922
922
|
*/
|
|
923
923
|
source?: string;
|
|
924
|
+
/**
|
|
925
|
+
* 所属模块(详情页:detail_page)
|
|
926
|
+
*
|
|
927
|
+
* @type string
|
|
928
|
+
*/
|
|
929
|
+
subjectType?: string;
|
|
924
930
|
/**
|
|
925
931
|
* 类型:模态框/变量/事件等
|
|
926
932
|
*
|
|
@@ -995,6 +1001,12 @@ export interface AppGlobalSettingsResponse {
|
|
|
995
1001
|
* @type string
|
|
996
1002
|
*/
|
|
997
1003
|
source?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* 所属模块
|
|
1006
|
+
*
|
|
1007
|
+
* @type string
|
|
1008
|
+
*/
|
|
1009
|
+
subjectType?: string;
|
|
998
1010
|
/**
|
|
999
1011
|
* 类型:模态框/变量/事件
|
|
1000
1012
|
*
|
|
@@ -5354,29 +5366,29 @@ export interface DetailPageResponse {
|
|
|
5354
5366
|
*/
|
|
5355
5367
|
designerJson?: string;
|
|
5356
5368
|
/**
|
|
5357
|
-
*
|
|
5369
|
+
* 主键
|
|
5358
5370
|
*
|
|
5359
|
-
* @type
|
|
5371
|
+
* @type string
|
|
5360
5372
|
*/
|
|
5361
|
-
|
|
5373
|
+
id?: string;
|
|
5362
5374
|
/**
|
|
5363
|
-
*
|
|
5375
|
+
* 页面key
|
|
5364
5376
|
*
|
|
5365
5377
|
* @type string
|
|
5366
5378
|
*/
|
|
5367
|
-
|
|
5379
|
+
key?: string;
|
|
5368
5380
|
/**
|
|
5369
|
-
*
|
|
5381
|
+
* 锁定页面人员id
|
|
5370
5382
|
*
|
|
5371
5383
|
* @type string
|
|
5372
5384
|
*/
|
|
5373
|
-
|
|
5385
|
+
lockUserId?: string;
|
|
5374
5386
|
/**
|
|
5375
|
-
*
|
|
5387
|
+
* 锁定页面人员名称
|
|
5376
5388
|
*
|
|
5377
5389
|
* @type string
|
|
5378
5390
|
*/
|
|
5379
|
-
|
|
5391
|
+
lockUserName?: string;
|
|
5380
5392
|
/**
|
|
5381
5393
|
*
|
|
5382
5394
|
*
|
|
@@ -5401,6 +5413,12 @@ export interface DetailPageResponse {
|
|
|
5401
5413
|
* @type string
|
|
5402
5414
|
*/
|
|
5403
5415
|
name?: string;
|
|
5416
|
+
/**
|
|
5417
|
+
* newLogId
|
|
5418
|
+
*
|
|
5419
|
+
* @type string
|
|
5420
|
+
*/
|
|
5421
|
+
newLogId?: string;
|
|
5404
5422
|
/**
|
|
5405
5423
|
* 运行时json
|
|
5406
5424
|
*
|
|
@@ -11317,12 +11335,24 @@ export interface FileResourceResponse {
|
|
|
11317
11335
|
url?: string;
|
|
11318
11336
|
}
|
|
11319
11337
|
export interface FileTaskDTO {
|
|
11338
|
+
/**
|
|
11339
|
+
* eDHR类型(可选,为空时不细分)
|
|
11340
|
+
*
|
|
11341
|
+
* @type string
|
|
11342
|
+
*/
|
|
11343
|
+
eDHRType?: string;
|
|
11320
11344
|
/**
|
|
11321
11345
|
* 是否包含半成品批次(当type为EDHR时使用,用于判断打印时是否需要打印半成品批次eDHR)
|
|
11322
11346
|
*
|
|
11323
11347
|
* @type boolean
|
|
11324
11348
|
*/
|
|
11325
11349
|
includeSemi?: boolean;
|
|
11350
|
+
/**
|
|
11351
|
+
* eDHR列表-灭菌批/物料收检 批次
|
|
11352
|
+
*
|
|
11353
|
+
* @type string
|
|
11354
|
+
*/
|
|
11355
|
+
materialNo?: string;
|
|
11326
11356
|
/**
|
|
11327
11357
|
* 模板实例id
|
|
11328
11358
|
*
|
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
export const apiConfig = [
|
|
2
|
+
{
|
|
3
|
+
name: "app",
|
|
4
|
+
entityName: "app",
|
|
5
|
+
apis: [
|
|
6
|
+
{
|
|
7
|
+
mode: "put",
|
|
8
|
+
method: "putAid",
|
|
9
|
+
path: "{aid}",
|
|
10
|
+
hasPathParams: true,
|
|
11
|
+
hasData: true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
mode: "delete",
|
|
15
|
+
method: "deleteAid",
|
|
16
|
+
path: "{aid}",
|
|
17
|
+
hasPathParams: true
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
2
21
|
{
|
|
3
22
|
name: "auth",
|
|
4
23
|
entityName: "auth",
|
|
@@ -23,6 +42,18 @@ export const apiConfig = [
|
|
|
23
42
|
}
|
|
24
43
|
]
|
|
25
44
|
},
|
|
45
|
+
{
|
|
46
|
+
name: "bff",
|
|
47
|
+
entityName: "bff",
|
|
48
|
+
apis: [
|
|
49
|
+
{
|
|
50
|
+
mode: "get",
|
|
51
|
+
method: "getFlowFuuid",
|
|
52
|
+
path: "flow/{fuuid}",
|
|
53
|
+
hasPathParams: true
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
26
57
|
{
|
|
27
58
|
name: "camel",
|
|
28
59
|
entityName: "camel",
|
|
@@ -69,15 +100,49 @@ export const apiConfig = [
|
|
|
69
100
|
}
|
|
70
101
|
]
|
|
71
102
|
},
|
|
103
|
+
{
|
|
104
|
+
name: "categories",
|
|
105
|
+
entityName: "categories",
|
|
106
|
+
apis: [
|
|
107
|
+
{
|
|
108
|
+
mode: "get",
|
|
109
|
+
method: "get",
|
|
110
|
+
path: ""
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
72
114
|
{
|
|
73
115
|
name: "category",
|
|
74
116
|
entityName: "category",
|
|
75
117
|
apis: [
|
|
118
|
+
{
|
|
119
|
+
mode: "post",
|
|
120
|
+
method: "postApp",
|
|
121
|
+
path: "app",
|
|
122
|
+
hasData: true
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
mode: "get",
|
|
126
|
+
method: "getApps",
|
|
127
|
+
path: "apps"
|
|
128
|
+
},
|
|
76
129
|
{
|
|
77
130
|
mode: "post",
|
|
78
131
|
method: "postFlow",
|
|
79
132
|
path: "flow",
|
|
80
133
|
hasData: true
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
mode: "get",
|
|
137
|
+
method: "getTree",
|
|
138
|
+
path: "tree"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
mode: "put",
|
|
142
|
+
method: "putCidDrag",
|
|
143
|
+
path: "{cid}/drag",
|
|
144
|
+
hasPathParams: true,
|
|
145
|
+
hasData: true
|
|
81
146
|
}
|
|
82
147
|
]
|
|
83
148
|
},
|
|
@@ -177,6 +242,20 @@ export const apiConfig = [
|
|
|
177
242
|
}
|
|
178
243
|
]
|
|
179
244
|
},
|
|
245
|
+
{
|
|
246
|
+
name: "file",
|
|
247
|
+
entityName: "file",
|
|
248
|
+
apis: [
|
|
249
|
+
{
|
|
250
|
+
mode: "post",
|
|
251
|
+
method: "postUpload",
|
|
252
|
+
path: "upload",
|
|
253
|
+
hasUpload: true,
|
|
254
|
+
hasQuery: true,
|
|
255
|
+
hasData: true
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
180
259
|
{
|
|
181
260
|
name: "flowApp",
|
|
182
261
|
entityName: "flow-app",
|
|
@@ -332,6 +411,29 @@ export const apiConfig = [
|
|
|
332
411
|
name: "flow",
|
|
333
412
|
entityName: "flow",
|
|
334
413
|
apis: [
|
|
414
|
+
{
|
|
415
|
+
mode: "post",
|
|
416
|
+
method: "postDef",
|
|
417
|
+
path: "def"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
mode: "post",
|
|
421
|
+
method: "postDefCopy",
|
|
422
|
+
path: "def/copy",
|
|
423
|
+
hasData: true
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
mode: "put",
|
|
427
|
+
method: "putDefFuuid",
|
|
428
|
+
path: "def/{fuuid}",
|
|
429
|
+
hasPathParams: true
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
mode: "get",
|
|
433
|
+
method: "getDefFuuidVersion",
|
|
434
|
+
path: "def/{fuuid}/{version}",
|
|
435
|
+
hasPathParams: true
|
|
436
|
+
},
|
|
335
437
|
{
|
|
336
438
|
mode: "post",
|
|
337
439
|
method: "postExport",
|
|
@@ -350,6 +452,22 @@ export const apiConfig = [
|
|
|
350
452
|
hasQuery: true,
|
|
351
453
|
hasData: true
|
|
352
454
|
},
|
|
455
|
+
{
|
|
456
|
+
mode: "get",
|
|
457
|
+
method: "getInvokeMethods",
|
|
458
|
+
path: "invoke/methods"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
mode: "get",
|
|
462
|
+
method: "getInvokeStatus",
|
|
463
|
+
path: "invoke/status"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
mode: "get",
|
|
467
|
+
method: "getList",
|
|
468
|
+
path: "list",
|
|
469
|
+
hasQuery: true
|
|
470
|
+
},
|
|
353
471
|
{
|
|
354
472
|
mode: "get",
|
|
355
473
|
method: "getListCategoryOnline",
|
|
@@ -362,30 +480,226 @@ export const apiConfig = [
|
|
|
362
480
|
path: "list/online",
|
|
363
481
|
hasQuery: true
|
|
364
482
|
},
|
|
483
|
+
{
|
|
484
|
+
mode: "get",
|
|
485
|
+
method: "getLogExport",
|
|
486
|
+
path: "log/export",
|
|
487
|
+
hasQuery: true
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
mode: "get",
|
|
491
|
+
method: "getLogPageList",
|
|
492
|
+
path: "log/page/list",
|
|
493
|
+
hasQuery: true
|
|
494
|
+
},
|
|
365
495
|
{
|
|
366
496
|
mode: "get",
|
|
367
497
|
method: "getLogPageSearch",
|
|
368
498
|
path: "log/page/search",
|
|
369
499
|
hasQuery: true
|
|
370
500
|
},
|
|
501
|
+
{
|
|
502
|
+
mode: "post",
|
|
503
|
+
method: "postNodeLog",
|
|
504
|
+
path: "node/log",
|
|
505
|
+
hasData: true
|
|
506
|
+
},
|
|
371
507
|
{
|
|
372
508
|
mode: "get",
|
|
373
509
|
method: "getNodeLogReqId",
|
|
374
510
|
path: "node/log/{reqId}",
|
|
375
511
|
hasPathParams: true
|
|
376
512
|
},
|
|
513
|
+
{
|
|
514
|
+
mode: "put",
|
|
515
|
+
method: "putOffline",
|
|
516
|
+
path: "offline",
|
|
517
|
+
hasData: true
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
mode: "put",
|
|
521
|
+
method: "putOnline",
|
|
522
|
+
path: "online",
|
|
523
|
+
hasData: true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
mode: "get",
|
|
527
|
+
method: "getOnlineFuuid",
|
|
528
|
+
path: "online/{fuuid}",
|
|
529
|
+
hasPathParams: true,
|
|
530
|
+
hasQuery: true
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
mode: "put",
|
|
534
|
+
method: "putOnofflineFuuid",
|
|
535
|
+
path: "onoffline/{fuuid}",
|
|
536
|
+
hasPathParams: true
|
|
537
|
+
},
|
|
377
538
|
{
|
|
378
539
|
mode: "get",
|
|
379
540
|
method: "getPageList",
|
|
380
541
|
path: "page/list",
|
|
381
542
|
hasQuery: true
|
|
382
543
|
},
|
|
544
|
+
{
|
|
545
|
+
mode: "put",
|
|
546
|
+
method: "putPublish",
|
|
547
|
+
path: "publish",
|
|
548
|
+
hasData: true
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
mode: "get",
|
|
552
|
+
method: "getFuuid",
|
|
553
|
+
path: "{fuuid}",
|
|
554
|
+
hasPathParams: true
|
|
555
|
+
},
|
|
383
556
|
{
|
|
384
557
|
mode: "put",
|
|
385
558
|
method: "putFuuid",
|
|
386
559
|
path: "{fuuid}",
|
|
387
560
|
hasPathParams: true,
|
|
388
561
|
hasData: true
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
mode: "delete",
|
|
565
|
+
method: "deleteFuuid",
|
|
566
|
+
path: "{fuuid}",
|
|
567
|
+
hasPathParams: true
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
mode: "delete",
|
|
571
|
+
method: "deleteFuuidVersionVersion",
|
|
572
|
+
path: "{fuuid}/version/{version}",
|
|
573
|
+
hasPathParams: true
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: "knowledge",
|
|
579
|
+
entityName: "knowledge",
|
|
580
|
+
apis: [
|
|
581
|
+
{
|
|
582
|
+
mode: "post",
|
|
583
|
+
method: "postApp",
|
|
584
|
+
path: "app",
|
|
585
|
+
hasData: true
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
mode: "post",
|
|
589
|
+
method: "postBizinterface",
|
|
590
|
+
path: "bizinterface",
|
|
591
|
+
hasData: true
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
mode: "put",
|
|
595
|
+
method: "putBizinterface",
|
|
596
|
+
path: "bizinterface",
|
|
597
|
+
hasData: true
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
mode: "post",
|
|
601
|
+
method: "postBizinterfaceSearch",
|
|
602
|
+
path: "bizinterface/search",
|
|
603
|
+
hasQuery: true,
|
|
604
|
+
hasData: true
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
mode: "get",
|
|
608
|
+
method: "getBizinterfaceId",
|
|
609
|
+
path: "bizinterface/{id}",
|
|
610
|
+
hasPathParams: true
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
mode: "delete",
|
|
614
|
+
method: "deleteBizinterfaceId",
|
|
615
|
+
path: "bizinterface/{id}",
|
|
616
|
+
hasPathParams: true
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
mode: "post",
|
|
620
|
+
method: "postBrand",
|
|
621
|
+
path: "brand",
|
|
622
|
+
hasData: true
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
mode: "get",
|
|
626
|
+
method: "getCategoriesApps",
|
|
627
|
+
path: "categories/apps"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
mode: "get",
|
|
631
|
+
method: "getCategoriesCategory",
|
|
632
|
+
path: "categories/category"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
mode: "get",
|
|
636
|
+
method: "getCategoriesList",
|
|
637
|
+
path: "categories/list"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
mode: "get",
|
|
641
|
+
method: "getCategoriesTree",
|
|
642
|
+
path: "categories/tree"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
mode: "post",
|
|
646
|
+
method: "postCategory",
|
|
647
|
+
path: "category",
|
|
648
|
+
hasData: true
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
mode: "post",
|
|
652
|
+
method: "postCategorySearch",
|
|
653
|
+
path: "category/search",
|
|
654
|
+
hasQuery: true,
|
|
655
|
+
hasData: true
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
mode: "get",
|
|
659
|
+
method: "getCategoryVersionVid",
|
|
660
|
+
path: "category/version/{vid}",
|
|
661
|
+
hasPathParams: true
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
mode: "post",
|
|
665
|
+
method: "postDesc",
|
|
666
|
+
path: "desc",
|
|
667
|
+
hasData: true
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
mode: "delete",
|
|
671
|
+
method: "deleteDescCid",
|
|
672
|
+
path: "desc/{cid}",
|
|
673
|
+
hasPathParams: true
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
mode: "delete",
|
|
677
|
+
method: "deletePicCid",
|
|
678
|
+
path: "pic/{cid}",
|
|
679
|
+
hasPathParams: true
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
mode: "post",
|
|
683
|
+
method: "postTag",
|
|
684
|
+
path: "tag",
|
|
685
|
+
hasData: true
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
mode: "delete",
|
|
689
|
+
method: "deleteTag",
|
|
690
|
+
path: "tag",
|
|
691
|
+
hasData: true
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
mode: "get",
|
|
695
|
+
method: "getTags",
|
|
696
|
+
path: "tags"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
mode: "post",
|
|
700
|
+
method: "postVersion",
|
|
701
|
+
path: "version",
|
|
702
|
+
hasData: true
|
|
389
703
|
}
|
|
390
704
|
]
|
|
391
705
|
},
|
|
@@ -417,5 +731,72 @@ export const apiConfig = [
|
|
|
417
731
|
hasData: true
|
|
418
732
|
}
|
|
419
733
|
]
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: "variableDef",
|
|
737
|
+
entityName: "variable-def",
|
|
738
|
+
apis: [
|
|
739
|
+
{
|
|
740
|
+
mode: "post",
|
|
741
|
+
method: "post",
|
|
742
|
+
path: "",
|
|
743
|
+
hasData: true
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
mode: "delete",
|
|
747
|
+
method: "delete",
|
|
748
|
+
path: "",
|
|
749
|
+
hasQuery: true
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
mode: "get",
|
|
753
|
+
method: "getInfo",
|
|
754
|
+
path: "info",
|
|
755
|
+
hasQuery: true
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
mode: "get",
|
|
759
|
+
method: "getInstanceCount",
|
|
760
|
+
path: "instance-count",
|
|
761
|
+
hasQuery: true
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
mode: "get",
|
|
765
|
+
method: "getPageList",
|
|
766
|
+
path: "page/list",
|
|
767
|
+
hasQuery: true
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
mode: "put",
|
|
771
|
+
method: "putId",
|
|
772
|
+
path: "{id}",
|
|
773
|
+
hasPathParams: true,
|
|
774
|
+
hasData: true
|
|
775
|
+
}
|
|
776
|
+
]
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
name: "variableInst",
|
|
780
|
+
entityName: "variable-inst",
|
|
781
|
+
apis: [
|
|
782
|
+
{
|
|
783
|
+
mode: "delete",
|
|
784
|
+
method: "delete",
|
|
785
|
+
path: "",
|
|
786
|
+
hasQuery: true
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
mode: "get",
|
|
790
|
+
method: "getInfo",
|
|
791
|
+
path: "info",
|
|
792
|
+
hasQuery: true
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
mode: "get",
|
|
796
|
+
method: "getPageList",
|
|
797
|
+
path: "page/list",
|
|
798
|
+
hasQuery: true
|
|
799
|
+
}
|
|
800
|
+
]
|
|
420
801
|
}
|
|
421
802
|
];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { FlowAppUpdateReq } from '../entities';
|
|
3
|
+
|
|
4
|
+
export interface putAidPathParams {
|
|
5
|
+
aid: string;
|
|
6
|
+
}
|
|
7
|
+
export interface deleteAidPathParams {
|
|
8
|
+
aid: string;
|
|
9
|
+
}
|
|
10
|
+
export interface AppService {
|
|
11
|
+
/**
|
|
12
|
+
* 更新应用
|
|
13
|
+
*/
|
|
14
|
+
putAid(
|
|
15
|
+
path: putAidPathParams,
|
|
16
|
+
data: FlowAppUpdateReq,
|
|
17
|
+
config?: Partial<AxiosRequestConfig>,
|
|
18
|
+
): Promise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* 删除应用
|
|
21
|
+
*/
|
|
22
|
+
deleteAid(
|
|
23
|
+
path: deleteAidPathParams,
|
|
24
|
+
config?: Partial<AxiosRequestConfig>,
|
|
25
|
+
): Promise<string>;
|
|
26
|
+
}
|