@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.
@@ -1,7 +1,7 @@
1
1
  export const apiConfig = [
2
2
  {
3
3
  name: "medPro",
4
- entityName: "med-pro",
4
+ entityName: "medPro",
5
5
  apis: [
6
6
  {
7
7
  mode: "post",
@@ -6,43 +6,71 @@ import type {
6
6
  } from '../entities';
7
7
 
8
8
  export interface getModelMetaGetSysConfigQuery {
9
- key: string; // key
9
+ /**
10
+ * key
11
+ */
12
+ key: string;
10
13
  }
11
14
  export interface getModelMetaHasDataAssociationQuery {
12
- id: string; // id
13
- modelKey: string; // modelKey
15
+ /**
16
+ * id
17
+ */
18
+ id: string;
19
+ /**
20
+ * modelKey
21
+ */
22
+ modelKey: string;
14
23
  }
15
24
  export interface getModelMetaModelDataAssociationQuery {
16
- id: string; // id
17
- modelKey: string; // modelKey
25
+ /**
26
+ * id
27
+ */
28
+ id: string;
29
+ /**
30
+ * modelKey
31
+ */
32
+ modelKey: string;
18
33
  }
19
34
  export interface getEdhrAttachmentGetEdhrAttachmentQuery {
20
- materialNo: string; // materialNo
35
+ /**
36
+ * materialNo
37
+ */
38
+ materialNo: string;
21
39
  }
22
- export interface MedproService {
23
- // 关联模型数据查询
40
+ export interface MedProService {
41
+ /**
42
+ * 关联模型数据查询
43
+ */
24
44
  postModelMetaDataAssociation(
25
45
  data: modelDataAssociationRequest,
26
46
  config?: Partial<AxiosRequestConfig>,
27
- ): Promise<IHttpResponse<object>>;
28
- // 获取系统配置
47
+ ): Promise<object>;
48
+ /**
49
+ * 获取系统配置
50
+ */
29
51
  getModelMetaGetSysConfig(
30
52
  query: getModelMetaGetSysConfigQuery,
31
53
  config?: Partial<AxiosRequestConfig>,
32
- ): Promise<IHttpResponse<boolean>>;
33
- // 存在关联数据
54
+ ): Promise<boolean>;
55
+ /**
56
+ * 存在关联数据
57
+ */
34
58
  getModelMetaHasDataAssociation(
35
59
  query: getModelMetaHasDataAssociationQuery,
36
60
  config?: Partial<AxiosRequestConfig>,
37
- ): Promise<IHttpResponse<boolean>>;
38
- // 关联数据信息列表
61
+ ): Promise<boolean>;
62
+ /**
63
+ * 关联数据信息列表
64
+ */
39
65
  getModelMetaModelDataAssociation(
40
66
  query: getModelMetaModelDataAssociationQuery,
41
67
  config?: Partial<AxiosRequestConfig>,
42
- ): Promise<IHttpResponse<ModelAssociationResponse[]>>;
43
- // 获取Edhr附录接口
68
+ ): Promise<ModelAssociationResponse[]>;
69
+ /**
70
+ * 获取Edhr附录接口
71
+ */
44
72
  getEdhrAttachmentGetEdhrAttachment(
45
73
  query: getEdhrAttachmentGetEdhrAttachmentQuery,
46
74
  config?: Partial<AxiosRequestConfig>,
47
- ): Promise<IHttpResponse<OnlineFormInstance[]>>;
75
+ ): Promise<OnlineFormInstance[]>;
48
76
  }
@@ -1,4 +1,4 @@
1
- import type { MedProService } from './apis/med-pro.service';
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
  */
@@ -81,10 +81,6 @@ export interface getUserPageListQuery {
81
81
  * 排序方式:ASC/DESC, 不传默认 ASC
82
82
  */
83
83
  sortType?: string;
84
- /**
85
- * 参数来源,0企业后台管理、1租户后台管理
86
- */
87
- source?: number;
88
84
  /**
89
85
  * 创建开始时间
90
86
  */
@@ -131,10 +131,6 @@ export interface getManagementOrgUserPageListQuery {
131
131
  * 排序方式:ASC/DESC, 不传默认 ASC
132
132
  */
133
133
  sortType?: string;
134
- /**
135
- * 参数来源,0企业后台管理、1租户后台管理
136
- */
137
- source?: number;
138
134
  /**
139
135
  * 创建开始时间
140
136
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "0.1.4-dev.2",
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.12",
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",