File tree 4 files changed +39
-22
lines changed
4 files changed +39
-22
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "client": {
3
+ "sqle-ui": {
4
+ "project": "sqle-ui",
5
+ "output": "packages/shared/lib/api/sqle/service",
6
+ "branch": "main",
7
+ "swaggerPath": "",
8
+ "swaggerOutput": "",
9
+ "plugin": "dot-remove",
10
+ "template": "complex"
11
+ },
12
+ "dms-ui": {
13
+ "project": "dms-ui",
14
+ "output": "packages/shared/lib/api/base/service",
15
+ "branch": "main",
16
+ "swaggerPath": "",
17
+ "swaggerOutput": "",
18
+ "plugin": "simple-cleaner",
19
+ "template": "complex"
20
+ }
21
+ },
22
+ "mocks": {
23
+ "packages/shared/lib/api/sqle/service": {
24
+ "clientPath": "packages/shared/lib/api/sqle/service",
25
+ "output": "packages/sqle/src/testUtils/mockApi",
26
+ "utilsAlias": "@actiontech/shared/lib/testUtil/mockApi",
27
+ "serviceAlias": "@actiontech/shared/lib/api/sqle/service"
28
+ },
29
+ "packages/shared/lib/api/base/service": {
30
+ "clientPath": "packages/shared/lib/api/base/service",
31
+ "output": "packages/base/src/testUtils/mockApi",
32
+ "utilsAlias": "@actiontech/shared/lib/testUtil/mockApi",
33
+ "serviceAlias": "@actiontech/shared/lib/api/base/service"
34
+ }
35
+ }
36
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 28
28
"icon:docs:build" : " pnpm --filter @actiontech/icons docs:build" ,
29
29
"icon:build" : " pnpm --filter @actiontech/icons build" ,
30
30
"dms:g" : " pnpm --filter @actiontech/cli-create-dms-page build && create-dms-page" ,
31
- "api:g" : " sh ./scripts/api/gen_api.sh"
31
+ "api_client:g" : " sh ./scripts/api/gen_api.sh" ,
32
+ "api_mocks:g" : " npm_config_registry=http://10.186.18.19:4873 pnpx @actiontech/cli api-mocks -y"
32
33
},
33
34
"keywords" : [],
34
35
"author" : " " ,
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- npm_config_registry=http://10.186.18.19:4873 pnpx @actiontech/cli api-gen -y " $@ " && pnpm --filter @actiontech/shared api:exports:g
3
+ npm_config_registry=http://10.186.18.19:4873 pnpx @actiontech/cli api-client -y " $@ " && pnpm --filter @actiontech/shared api:exports:g
You can’t perform that action at this time.
0 commit comments