@gct-paas/api 6.0.0-dev.7 → 6.0.0-dev.9

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,23 +1,37 @@
1
+ import type { AppService } from './apis/app.service';
1
2
  import type { AuthService } from './apis/auth.service';
3
+ import type { BffService } from './apis/bff.service';
2
4
  import type { CamelService } from './apis/camel.service';
5
+ import type { CategoriesService } from './apis/categories.service';
3
6
  import type { CategoryService } from './apis/category.service';
4
7
  import type { ConnectorConfigService } from './apis/connector-config.service';
5
8
  import type { ConnectorLogService } from './apis/connector-log.service';
9
+ import type { FileService } from './apis/file.service';
6
10
  import type { FlowAppService } from './apis/flow-app.service';
7
11
  import type { FlowCategoryService } from './apis/flow-category.service';
8
12
  import type { FlowExtService } from './apis/flow-ext.service';
9
13
  import type { FlowService } from './apis/flow.service';
14
+ import type { KnowledgeService } from './apis/knowledge.service';
10
15
  import type { RuntimeService } from './apis/runtime.service';
16
+ import type { VariableDefService } from './apis/variable-def.service';
17
+ import type { VariableInstService } from './apis/variable-inst.service';
11
18
 
12
19
  export interface ApiManage {
20
+ readonly app: AppService;
13
21
  readonly auth: AuthService;
22
+ readonly bff: BffService;
14
23
  readonly camel: CamelService;
24
+ readonly categories: CategoriesService;
15
25
  readonly category: CategoryService;
16
26
  readonly connectorConfig: ConnectorConfigService;
17
27
  readonly connectorLog: ConnectorLogService;
28
+ readonly file: FileService;
18
29
  readonly flowApp: FlowAppService;
19
30
  readonly flowCategory: FlowCategoryService;
20
31
  readonly flowExt: FlowExtService;
21
32
  readonly flow: FlowService;
33
+ readonly knowledge: KnowledgeService;
22
34
  readonly runtime: RuntimeService;
35
+ readonly variableDef: VariableDefService;
36
+ readonly variableInst: VariableInstService;
23
37
  }
@@ -2025,7 +2025,8 @@ export const apiConfig = [
2025
2025
  {
2026
2026
  mode: "get",
2027
2027
  method: "getModuleAuth",
2028
- path: "moduleAuth"
2028
+ path: "moduleAuth",
2029
+ hasQuery: true
2029
2030
  },
2030
2031
  {
2031
2032
  mode: "get",
@@ -5695,7 +5696,8 @@ export const apiConfig = [
5695
5696
  {
5696
5697
  mode: "get",
5697
5698
  method: "getLicenseModuleAuth",
5698
- path: "license/moduleAuth"
5699
+ path: "license/moduleAuth",
5700
+ hasQuery: true
5699
5701
  },
5700
5702
  {
5701
5703
  mode: "post",
@@ -546,6 +546,12 @@ export interface getLicenseGetAppEffectiveLicenseQuery extends IObject {
546
546
  */
547
547
  env: string;
548
548
  }
549
+ export interface getLicenseModuleAuthQuery extends IObject {
550
+ /**
551
+ * 授权模块
552
+ */
553
+ module?: string;
554
+ }
549
555
  export interface getLoginSettingGetQuery extends IObject {
550
556
  /**
551
557
  * code
@@ -583,10 +589,6 @@ export interface getOauth2AuthorizeQuery extends IObject {
583
589
  * 环境参数:test/prod
584
590
  */
585
591
  env?: string;
586
- /**
587
- * 用户登录Token
588
- */
589
- token: string;
590
592
  }
591
593
  export interface postOauth2TokenQuery extends IObject {
592
594
  /**
@@ -1365,7 +1367,10 @@ export interface ApiService {
1365
1367
  /**
1366
1368
  * 判断对应模块是否已进行授权
1367
1369
  */
1368
- getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
1370
+ getLicenseModuleAuth(
1371
+ query: getLicenseModuleAuthQuery,
1372
+ config?: Partial<AxiosRequestConfig>,
1373
+ ): Promise<boolean>;
1369
1374
  /**
1370
1375
  * 用户登录日志分页查询
1371
1376
  */
@@ -219,6 +219,10 @@ export interface getModelMetaListQuery extends IObject {
219
219
  *
220
220
  */
221
221
  modifyUserName?: string;
222
+ /**
223
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
224
+ */
225
+ module?: string;
222
226
  /**
223
227
  *
224
228
  */
@@ -98,6 +98,12 @@ export interface getInfoQuery extends IObject {
98
98
  */
99
99
  licenseId: string;
100
100
  }
101
+ export interface getModuleAuthQuery extends IObject {
102
+ /**
103
+ * 授权模块
104
+ */
105
+ moduleType?: string;
106
+ }
101
107
  export interface getPageListQuery extends IObject {
102
108
  /**
103
109
  * 应用id
@@ -218,7 +224,10 @@ export interface LicenseService {
218
224
  /**
219
225
  * 判断对应模块是否已进行授权
220
226
  */
221
- getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
227
+ getModuleAuth(
228
+ query: getModuleAuthQuery,
229
+ config?: Partial<AxiosRequestConfig>,
230
+ ): Promise<boolean>;
222
231
  /**
223
232
  * 平台/应用,授权列表
224
233
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/api",
3
- "version": "6.0.0-dev.7",
3
+ "version": "6.0.0-dev.9",
4
4
  "description": "paas 平台底包",
5
5
  "type": "module",
6
6
  "keywords": [