@gct-paas/cli 0.1.3 → 0.1.4-dev.0

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.
@@ -22,6 +22,7 @@ class GenApiAction {
22
22
  configs = {
23
23
  platform: "/gct-platform/v2/api-docs?group=%E7%AE%A1%E7%90%86%E5%B9%B3%E5%8F%B0API",
24
24
  apaas: "/gct-apaas/v2/api-docs?group=apaas%E5%B9%B3%E5%8F%B0API",
25
+ ipaas: "/gct-ipaas/v2/api-docs?group=ipaas%E5%B9%B3%E5%8F%B0API",
25
26
  rag: "/gct-rag/v2/api-docs?group=%E7%AE%A1%E7%90%86%E5%B9%B3%E5%8F%B0API"
26
27
  };
27
28
  /**
@@ -13,6 +13,7 @@ export class GenApiAction {
13
13
  configs = {
14
14
  platform: "/gct-platform/v2/api-docs?group=%E7%AE%A1%E7%90%86%E5%B9%B3%E5%8F%B0API",
15
15
  apaas: "/gct-apaas/v2/api-docs?group=apaas%E5%B9%B3%E5%8F%B0API",
16
+ ipaas: "/gct-ipaas/v2/api-docs?group=ipaas%E5%B9%B3%E5%8F%B0API",
16
17
  rag: "/gct-rag/v2/api-docs?group=%E7%AE%A1%E7%90%86%E5%B9%B3%E5%8F%B0API"
17
18
  };
18
19
  /**
@@ -1,6 +1,9 @@
1
- import type { IHttpResponse } from '../../interface';
1
+ import type { IHttpResponse } from '@gct-paas/core';
2
2
  {{#eq tag 'apaas'}}
3
- import { ApaasBaseService } from '../base/apaas-base.service';
3
+ import { APaasBaseService } from '../base/apaas-base.service';
4
+ {{/eq}}
5
+ {{#eq tag 'ipaas'}}
6
+ import { IPaasBaseService } from '../base/ipaas-base.service';
4
7
  {{/eq}}
5
8
  {{#eq tag 'platform'}}
6
9
  import { PlatformBaseService } from '../base/platform-base.service';
@@ -21,7 +24,7 @@ export interface {{ method.mode }}{{#if method.name}}{{pascalCase (camelCase met
21
24
  }
22
25
  {{/gt}}
23
26
  {{/each}}
24
- export class {{pascalCase (camelCase entityName) }}Service extends {{#eq tag 'apaas'}}ApaasBaseService{{/eq}}{{#eq tag 'platform'}}PlatformBaseService{{/eq}}{{#eq tag 'rag'}}RagBaseService{{/eq}} {
27
+ export class {{pascalCase (camelCase entityName) }}Service extends {{#eq tag 'apaas'}}APaasBaseService{{/eq}}{{#eq tag 'platform'}}PlatformBaseService{{/eq}}{{#eq tag 'rag'}}RagBaseService{{/eq}}{{#eq tag 'ipaas'}}IPaasBaseService{{/eq}} {
25
28
  constructor() {
26
29
  super('{{ entityName }}');
27
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4-dev.0",
4
4
  "type": "module",
5
5
  "description": "paas 平台核心包",
6
6
  "bin": {
@@ -62,7 +62,9 @@
62
62
  "@types/fs-extra": "^11.0.4",
63
63
  "@types/lodash-es": "^4.17.12",
64
64
  "@types/node": "^22.13.9",
65
+ "tsx": "^4.20.4",
65
66
  "typescript": "^5.8.2",
66
67
  "unbuild": "^3.5.0"
67
- }
68
+ },
69
+ "gitHead": "c9621d762856690ccbe36c93a3cf50dd1060602a"
68
70
  }