@gct-paas/api 0.1.4-dev.2 → 0.1.4-dev.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/index.esm.min.js +1 -1
- package/dist/index.system.min.js +1 -1
- package/es/apaas/service/api-config.mjs +1 -1
- package/es/apaas/service/apis/medPro.service.d.ts +45 -17
- package/es/apaas/service/index.d.ts +1 -1
- package/es/platform/service/api-config.mjs +2 -4
- package/es/platform/service/apis/api.service.d.ts +1 -10
- package/es/platform/service/apis/license.service.d.ts +1 -10
- 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 +2 -2
|
@@ -6,43 +6,71 @@ import type {
|
|
|
6
6
|
} from '../entities';
|
|
7
7
|
|
|
8
8
|
export interface getModelMetaGetSysConfigQuery {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* key
|
|
11
|
+
*/
|
|
12
|
+
key: string;
|
|
10
13
|
}
|
|
11
14
|
export interface getModelMetaHasDataAssociationQuery {
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
/**
|
|
16
|
+
* id
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* modelKey
|
|
21
|
+
*/
|
|
22
|
+
modelKey: string;
|
|
14
23
|
}
|
|
15
24
|
export interface getModelMetaModelDataAssociationQuery {
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
/**
|
|
26
|
+
* id
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* modelKey
|
|
31
|
+
*/
|
|
32
|
+
modelKey: string;
|
|
18
33
|
}
|
|
19
34
|
export interface getEdhrAttachmentGetEdhrAttachmentQuery {
|
|
20
|
-
|
|
35
|
+
/**
|
|
36
|
+
* materialNo
|
|
37
|
+
*/
|
|
38
|
+
materialNo: string;
|
|
21
39
|
}
|
|
22
|
-
export interface
|
|
23
|
-
|
|
40
|
+
export interface MedProService {
|
|
41
|
+
/**
|
|
42
|
+
* 关联模型数据查询
|
|
43
|
+
*/
|
|
24
44
|
postModelMetaDataAssociation(
|
|
25
45
|
data: modelDataAssociationRequest,
|
|
26
46
|
config?: Partial<AxiosRequestConfig>,
|
|
27
|
-
): Promise<
|
|
28
|
-
|
|
47
|
+
): Promise<object>;
|
|
48
|
+
/**
|
|
49
|
+
* 获取系统配置
|
|
50
|
+
*/
|
|
29
51
|
getModelMetaGetSysConfig(
|
|
30
52
|
query: getModelMetaGetSysConfigQuery,
|
|
31
53
|
config?: Partial<AxiosRequestConfig>,
|
|
32
|
-
): Promise<
|
|
33
|
-
|
|
54
|
+
): Promise<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* 存在关联数据
|
|
57
|
+
*/
|
|
34
58
|
getModelMetaHasDataAssociation(
|
|
35
59
|
query: getModelMetaHasDataAssociationQuery,
|
|
36
60
|
config?: Partial<AxiosRequestConfig>,
|
|
37
|
-
): Promise<
|
|
38
|
-
|
|
61
|
+
): Promise<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* 关联数据信息列表
|
|
64
|
+
*/
|
|
39
65
|
getModelMetaModelDataAssociation(
|
|
40
66
|
query: getModelMetaModelDataAssociationQuery,
|
|
41
67
|
config?: Partial<AxiosRequestConfig>,
|
|
42
|
-
): Promise<
|
|
43
|
-
|
|
68
|
+
): Promise<ModelAssociationResponse[]>;
|
|
69
|
+
/**
|
|
70
|
+
* 获取Edhr附录接口
|
|
71
|
+
*/
|
|
44
72
|
getEdhrAttachmentGetEdhrAttachment(
|
|
45
73
|
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
46
74
|
config?: Partial<AxiosRequestConfig>,
|
|
47
|
-
): Promise<
|
|
75
|
+
): Promise<OnlineFormInstance[]>;
|
|
48
76
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MedProService } from './apis/
|
|
1
|
+
import type { MedProService } from './apis/medPro.service';
|
|
2
2
|
import type { AppBranchService } from './apis/app-branch.service';
|
|
3
3
|
import type { AppGlobalSettingsService } from './apis/app-global-settings.service';
|
|
4
4
|
import type { AppGrantedUserService } from './apis/app-granted-user.service';
|
|
@@ -2015,8 +2015,7 @@ export const apiConfig = [
|
|
|
2015
2015
|
{
|
|
2016
2016
|
mode: "get",
|
|
2017
2017
|
method: "getModuleAuth",
|
|
2018
|
-
path: "moduleAuth"
|
|
2019
|
-
hasQuery: true
|
|
2018
|
+
path: "moduleAuth"
|
|
2020
2019
|
},
|
|
2021
2020
|
{
|
|
2022
2021
|
mode: "get",
|
|
@@ -5585,8 +5584,7 @@ export const apiConfig = [
|
|
|
5585
5584
|
{
|
|
5586
5585
|
mode: "get",
|
|
5587
5586
|
method: "getLicenseModuleAuth",
|
|
5588
|
-
path: "license/moduleAuth"
|
|
5589
|
-
hasQuery: true
|
|
5587
|
+
path: "license/moduleAuth"
|
|
5590
5588
|
},
|
|
5591
5589
|
{
|
|
5592
5590
|
mode: "post",
|
|
@@ -509,12 +509,6 @@ export interface getLicenseGetAppEffectiveLicenseQuery {
|
|
|
509
509
|
*/
|
|
510
510
|
env: string;
|
|
511
511
|
}
|
|
512
|
-
export interface getLicenseModuleAuthQuery {
|
|
513
|
-
/**
|
|
514
|
-
* 授权模块
|
|
515
|
-
*/
|
|
516
|
-
module?: string;
|
|
517
|
-
}
|
|
518
512
|
export interface getLoginSsoOauth2AuthorizeQuery {
|
|
519
513
|
/**
|
|
520
514
|
* 授权码
|
|
@@ -1254,10 +1248,7 @@ export interface ApiService {
|
|
|
1254
1248
|
/**
|
|
1255
1249
|
* 判断对应模块是否已进行授权
|
|
1256
1250
|
*/
|
|
1257
|
-
getLicenseModuleAuth(
|
|
1258
|
-
query: getLicenseModuleAuthQuery,
|
|
1259
|
-
config?: Partial<AxiosRequestConfig>,
|
|
1260
|
-
): Promise<boolean>;
|
|
1251
|
+
getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
1261
1252
|
/**
|
|
1262
1253
|
* 用户登录日志分页查询
|
|
1263
1254
|
*/
|
|
@@ -98,12 +98,6 @@ export interface getInfoQuery {
|
|
|
98
98
|
*/
|
|
99
99
|
licenseId: string;
|
|
100
100
|
}
|
|
101
|
-
export interface getModuleAuthQuery {
|
|
102
|
-
/**
|
|
103
|
-
* 授权模块
|
|
104
|
-
*/
|
|
105
|
-
module?: string;
|
|
106
|
-
}
|
|
107
101
|
export interface getPageListQuery {
|
|
108
102
|
/**
|
|
109
103
|
* 应用id
|
|
@@ -223,10 +217,7 @@ export interface LicenseService {
|
|
|
223
217
|
/**
|
|
224
218
|
* 判断对应模块是否已进行授权
|
|
225
219
|
*/
|
|
226
|
-
getModuleAuth(
|
|
227
|
-
query: getModuleAuthQuery,
|
|
228
|
-
config?: Partial<AxiosRequestConfig>,
|
|
229
|
-
): Promise<boolean>;
|
|
220
|
+
getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
230
221
|
/**
|
|
231
222
|
* 平台/应用,授权列表
|
|
232
223
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/api",
|
|
3
|
-
"version": "0.1.4-dev.
|
|
3
|
+
"version": "0.1.4-dev.3",
|
|
4
4
|
"description": "paas 平台底包",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@babel/preset-env": "^7.28.6",
|
|
81
81
|
"@commitlint/cli": "^20.3.1",
|
|
82
82
|
"@gct-paas/build": "^0.1.7",
|
|
83
|
-
"@gct-paas/cli": "^0.1.
|
|
83
|
+
"@gct-paas/cli": "^0.1.13",
|
|
84
84
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
85
85
|
"@rollup/plugin-json": "^6.1.0",
|
|
86
86
|
"@rollup/plugin-node-resolve": "^16.0.3",
|