@gct-paas/api 6.0.0-dev.7 → 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/category.service.d.ts +8 -0
- package/es/apaas/service/apis/online-form-instance.service.d.ts +8 -0
- 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 +2 -1
- package/es/platform/service/apis/license.service.d.ts +10 -1
- package/es/platform/service/apis/org.service.d.ts +0 -4
- package/es/platform/service/apis/tenant.service.d.ts +0 -4
- package/package.json +1 -1
|
@@ -108,6 +108,10 @@ export interface getListCompleteQuery extends IObject {
|
|
|
108
108
|
*
|
|
109
109
|
*/
|
|
110
110
|
modifyUserName?: string;
|
|
111
|
+
/**
|
|
112
|
+
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
|
|
113
|
+
*/
|
|
114
|
+
module?: string;
|
|
111
115
|
/**
|
|
112
116
|
*
|
|
113
117
|
*/
|
|
@@ -178,6 +182,10 @@ export interface getPageQuery extends IObject {
|
|
|
178
182
|
*
|
|
179
183
|
*/
|
|
180
184
|
modifyUserName?: string;
|
|
185
|
+
/**
|
|
186
|
+
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
|
|
187
|
+
*/
|
|
188
|
+
module?: string;
|
|
181
189
|
/**
|
|
182
190
|
*
|
|
183
191
|
*/
|
|
@@ -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
|
*/
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { BizFlowMainResp } from '../entities';
|
|
3
|
+
|
|
4
|
+
export interface getFlowFuuidPathParams {
|
|
5
|
+
fuuid: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BffService {
|
|
8
|
+
/**
|
|
9
|
+
* 获取流程
|
|
10
|
+
*/
|
|
11
|
+
getFlowFuuid(
|
|
12
|
+
path: getFlowFuuidPathParams,
|
|
13
|
+
config?: Partial<AxiosRequestConfig>,
|
|
14
|
+
): Promise<BizFlowMainResp>;
|
|
15
|
+
}
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
FlowAppReq,
|
|
4
|
+
FlowAppResp,
|
|
5
|
+
FlowCreateWithCategoryReq,
|
|
6
|
+
CategoryTreeResp,
|
|
7
|
+
FlowCategoryDragReq,
|
|
8
|
+
} from '../entities';
|
|
3
9
|
|
|
10
|
+
export interface putCidDragPathParams {
|
|
11
|
+
cid: string;
|
|
12
|
+
}
|
|
4
13
|
export interface CategoryService {
|
|
14
|
+
/**
|
|
15
|
+
* 新建应用
|
|
16
|
+
*/
|
|
17
|
+
postApp(
|
|
18
|
+
data: FlowAppReq,
|
|
19
|
+
config?: Partial<AxiosRequestConfig>,
|
|
20
|
+
): Promise<string>;
|
|
21
|
+
/**
|
|
22
|
+
* 获取应用列表
|
|
23
|
+
*/
|
|
24
|
+
getApps(config?: Partial<AxiosRequestConfig>): Promise<FlowAppResp[]>;
|
|
5
25
|
/**
|
|
6
26
|
* 新建数据流
|
|
7
27
|
*/
|
|
@@ -9,4 +29,16 @@ export interface CategoryService {
|
|
|
9
29
|
data: FlowCreateWithCategoryReq,
|
|
10
30
|
config?: Partial<AxiosRequestConfig>,
|
|
11
31
|
): Promise<string>;
|
|
32
|
+
/**
|
|
33
|
+
* 获取分类树
|
|
34
|
+
*/
|
|
35
|
+
getTree(config?: Partial<AxiosRequestConfig>): Promise<CategoryTreeResp[]>;
|
|
36
|
+
/**
|
|
37
|
+
* 分类拖拽
|
|
38
|
+
*/
|
|
39
|
+
putCidDrag(
|
|
40
|
+
path: putCidDragPathParams,
|
|
41
|
+
data: FlowCategoryDragReq,
|
|
42
|
+
config?: Partial<AxiosRequestConfig>,
|
|
43
|
+
): Promise<string>;
|
|
12
44
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
export interface postUploadQuery extends IObject {
|
|
3
|
+
/**
|
|
4
|
+
* args
|
|
5
|
+
*/
|
|
6
|
+
args: string;
|
|
7
|
+
}
|
|
8
|
+
export interface FileService {
|
|
9
|
+
/**
|
|
10
|
+
* 上传
|
|
11
|
+
*/
|
|
12
|
+
postUpload(
|
|
13
|
+
query: postUploadQuery,
|
|
14
|
+
data: UploadFileData,
|
|
15
|
+
config?: Partial<AxiosRequestConfig>,
|
|
16
|
+
): Promise<IHttpResponse<string>>;
|
|
17
|
+
}
|