@gct-paas/api 0.1.6-dev.12 → 0.1.6-dev.14

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.
@@ -917,7 +917,9 @@ export const apiConfig = [
917
917
  mode: "post",
918
918
  method: "postImportExcel",
919
919
  path: "importExcel",
920
- hasQuery: true
920
+ hasUpload: true,
921
+ hasQuery: true,
922
+ hasData: true
921
923
  }
922
924
  ]
923
925
  },
@@ -2598,7 +2600,9 @@ export const apiConfig = [
2598
2600
  mode: "post",
2599
2601
  method: "postDataImport",
2600
2602
  path: "data/import",
2601
- hasQuery: true
2603
+ hasUpload: true,
2604
+ hasQuery: true,
2605
+ hasData: true
2602
2606
  },
2603
2607
  {
2604
2608
  mode: "get",
@@ -2616,7 +2620,9 @@ export const apiConfig = [
2616
2620
  mode: "post",
2617
2621
  method: "postDataValidate",
2618
2622
  path: "data/validate",
2619
- hasQuery: true
2623
+ hasUpload: true,
2624
+ hasQuery: true,
2625
+ hasData: true
2620
2626
  }
2621
2627
  ]
2622
2628
  },
@@ -8340,8 +8346,10 @@ export const apiConfig = [
8340
8346
  mode: "post",
8341
8347
  method: "postModelComprehensiveBizServiceModelCategoryModelKeyUpload",
8342
8348
  path: "model-comprehensive/biz-service/{modelCategory}/{modelKey}/upload",
8349
+ hasUpload: true,
8343
8350
  hasPathParams: true,
8344
- hasQuery: true
8351
+ hasQuery: true,
8352
+ hasData: true
8345
8353
  },
8346
8354
  {
8347
8355
  mode: "get",
@@ -682,8 +682,9 @@ export interface ApiService {
682
682
  postModelComprehensiveBizServiceModelCategoryModelKeyUpload(
683
683
  path: postModelComprehensiveBizServiceModelCategoryModelKeyUploadPathParams,
684
684
  query: postModelComprehensiveBizServiceModelCategoryModelKeyUploadQuery,
685
+ data: UploadFileData,
685
686
  config?: Partial<AxiosRequestConfig>,
686
- ): Promise<object>;
687
+ ): Promise<IHttpResponse<object>>;
687
688
  /**
688
689
  * 业务服务get请求接口
689
690
  */
@@ -15,6 +15,7 @@ export interface ChatService {
15
15
  */
16
16
  postImportExcel(
17
17
  query: postImportExcelQuery,
18
+ data: UploadFileData,
18
19
  config?: Partial<AxiosRequestConfig>,
19
- ): Promise<object>;
20
+ ): Promise<IHttpResponse<object>>;
20
21
  }
@@ -87,6 +87,10 @@ export interface getPageListQuery extends IObject {
87
87
  * 更新人id
88
88
  */
89
89
  modifyUserId?: string;
90
+ /**
91
+ * 模块类型
92
+ */
93
+ module?: string;
90
94
  /**
91
95
  * 操作人
92
96
  */
@@ -137,6 +141,10 @@ export interface getReversePageListQuery extends IObject {
137
141
  * 工单id
138
142
  */
139
143
  mfgOrderId?: string;
144
+ /**
145
+ * 模块类型
146
+ */
147
+ module?: string;
140
148
  /**
141
149
  * 操作人
142
150
  */
@@ -22,11 +22,11 @@ export interface getDataDoImportQuery extends IObject {
22
22
  /**
23
23
  * 引用主模型数据的字段KEY(仅子表导入需要传)
24
24
  */
25
- refFieldKey?: string;
25
+ refFieldKey_?: string;
26
26
  /**
27
27
  * 引用主模型数据的id_(仅子表导入需要传)
28
28
  */
29
- refMasterId?: string;
29
+ refMasterId_?: string;
30
30
  /**
31
31
  * 空值是否更新
32
32
  */
@@ -122,8 +122,9 @@ export interface ExcelService {
122
122
  */
123
123
  postDataImport(
124
124
  query: postDataImportQuery,
125
+ data: UploadFileData,
125
126
  config?: Partial<AxiosRequestConfig>,
126
- ): Promise<object>;
127
+ ): Promise<IHttpResponse<object>>;
127
128
  /**
128
129
  * excel数据导入数据预览
129
130
  */
@@ -143,6 +144,7 @@ export interface ExcelService {
143
144
  */
144
145
  postDataValidate(
145
146
  query: postDataValidateQuery,
147
+ data: UploadFileData,
146
148
  config?: Partial<AxiosRequestConfig>,
147
- ): Promise<ExcelValidateResponse>;
149
+ ): Promise<IHttpResponse<ExcelValidateResponse>>;
148
150
  }
@@ -33,6 +33,10 @@ export interface getAppendixFormListQuery extends IObject {
33
33
  * 工单ID
34
34
  */
35
35
  mfgOrderId?: string;
36
+ /**
37
+ * 模块类型
38
+ */
39
+ module?: string;
36
40
  }
37
41
  export interface getDataCollectionListAllQuery extends IObject {
38
42
  /**
@@ -81,6 +85,10 @@ export interface getDhrFormListQuery extends IObject {
81
85
  * 工单ID
82
86
  */
83
87
  mfgOrderId?: string;
88
+ /**
89
+ * 模块类型
90
+ */
91
+ module?: string;
84
92
  /**
85
93
  * 类型(production/rework)
86
94
  */
@@ -15,7 +15,7 @@ export interface getApproveHistoryQuery extends IObject {
15
15
  /**
16
16
  * id_
17
17
  */
18
- id: string;
18
+ id_: string;
19
19
  }
20
20
  export interface getInfoQuery extends IObject {
21
21
  /**
@@ -1969,7 +1969,9 @@ export const apiConfig = [
1969
1969
  mode: "post",
1970
1970
  method: "postActivatesOffline",
1971
1971
  path: "activatesOffline",
1972
- hasQuery: true
1972
+ hasUpload: true,
1973
+ hasQuery: true,
1974
+ hasData: true
1973
1975
  },
1974
1976
  {
1975
1977
  mode: "get",
@@ -2901,7 +2903,9 @@ export const apiConfig = [
2901
2903
  mode: "post",
2902
2904
  method: "postUploadZip",
2903
2905
  path: "uploadZip",
2904
- hasQuery: true
2906
+ hasUpload: true,
2907
+ hasQuery: true,
2908
+ hasData: true
2905
2909
  },
2906
2910
  {
2907
2911
  mode: "put",
@@ -172,8 +172,9 @@ export interface LicenseService {
172
172
  */
173
173
  postActivatesOffline(
174
174
  query: postActivatesOfflineQuery,
175
+ data: UploadFileData,
175
176
  config?: Partial<AxiosRequestConfig>,
176
- ): Promise<string>;
177
+ ): Promise<IHttpResponse<string>>;
177
178
  /**
178
179
  * 证书校验,用于平台登录前判断是否在有效期
179
180
  */
@@ -172,8 +172,9 @@ export interface PluginService {
172
172
  */
173
173
  postUploadZip(
174
174
  query: postUploadZipQuery,
175
+ data: UploadFileData,
175
176
  config?: Partial<AxiosRequestConfig>,
176
- ): Promise<PackageJson>;
177
+ ): Promise<IHttpResponse<PackageJson>>;
177
178
  /**
178
179
  * 修改
179
180
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "0.1.6-dev.12",
3
+ "version": "0.1.6-dev.14",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -80,8 +80,8 @@
80
80
  "devDependencies": {
81
81
  "@babel/preset-env": "^7.29.5",
82
82
  "@commitlint/cli": "^20.5.3",
83
- "@gct-paas/build": "^0.1.14",
84
- "@gct-paas/cli": "^0.1.21",
83
+ "@gct-paas/build": "^0.1.17",
84
+ "@gct-paas/cli": "^0.1.23",
85
85
  "@types/fs-extra": "^11.0.4",
86
86
  "@types/lodash-es": "^4.17.12",
87
87
  "@types/node": "^25.6.2",