@gct-paas/cli 0.1.3 → 0.1.4-dev.1
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 '
|
|
1
|
+
import type { IHttpResponse } from '@gct-paas/base';
|
|
2
2
|
{{#eq tag 'apaas'}}
|
|
3
|
-
import {
|
|
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'}}
|
|
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
|
+
"version": "0.1.4-dev.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台核心包",
|
|
6
6
|
"bin": {
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "npm run lint && unbuild",
|
|
38
38
|
"lint": "eslint src/",
|
|
39
|
-
"link2global": "pnpm link --global",
|
|
40
39
|
"publish:next": "npm run build && npm publish --access public --tag=next --registry=https://registry.npmjs.org/",
|
|
41
40
|
"publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
|
|
42
41
|
"publish:alpha": "npm run build && npm publish --access public --tag=alpha --registry=https://registry.npmjs.org/",
|
|
@@ -62,6 +61,7 @@
|
|
|
62
61
|
"@types/fs-extra": "^11.0.4",
|
|
63
62
|
"@types/lodash-es": "^4.17.12",
|
|
64
63
|
"@types/node": "^22.13.9",
|
|
64
|
+
"tsx": "^4.20.4",
|
|
65
65
|
"typescript": "^5.8.2",
|
|
66
66
|
"unbuild": "^3.5.0"
|
|
67
67
|
}
|