gg-express 1.0.153 → 1.0.156
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.
- package/dist/main.d.ts +1 -2
- package/dist/main.js +2 -3
- package/dist/v2/generateGGApi_v2.js +1 -1
- package/dist/v3/generateGGApi_v3.js +1 -1
- package/package.json +1 -1
- package/src/main.ts +2 -2
- package/src/v2/generateGGApi_v2.ts +1 -1
- package/src/v3/generateGGApi_v3.ts +1 -1
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -3,9 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GGExpressV3 = exports.GGExpressV2 =
|
|
7
|
-
|
|
8
|
-
exports.GGExpress = GGExpress_1.default;
|
|
6
|
+
exports.GGExpressV3 = exports.GGExpressV2 = void 0;
|
|
7
|
+
// import GGExpress from "./GGExpress"
|
|
9
8
|
const GGExpressV2_1 = __importDefault(require("./v2/GGExpressV2"));
|
|
10
9
|
exports.GGExpressV2 = GGExpressV2_1.default;
|
|
11
10
|
const GGExpressV3_1 = __importDefault(require("./v3/GGExpressV3"));
|
|
@@ -9,7 +9,7 @@ function generateGGApi_v2(appName, filePathWithFileName) {
|
|
|
9
9
|
const tempInterfaceName = `staticRouteInterface_${appName}_v2`;
|
|
10
10
|
const code = `
|
|
11
11
|
import axios from "axios"
|
|
12
|
-
import { ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
12
|
+
import type{ ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
13
13
|
|
|
14
14
|
export class GGApi_v2 {
|
|
15
15
|
urlPrefix : string
|
|
@@ -9,7 +9,7 @@ function generateGGApi_v3(appName, filePathWithFileName) {
|
|
|
9
9
|
const tempInterfaceName = `staticRouteInterface_${appName}_v3`;
|
|
10
10
|
const code = `
|
|
11
11
|
import axios from "axios"
|
|
12
|
-
import { ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
12
|
+
import type { ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
13
13
|
|
|
14
14
|
export class GGApi_v3 {
|
|
15
15
|
urlPrefix : string
|
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -7,7 +7,7 @@ export function generateGGApi_v2(
|
|
|
7
7
|
const tempInterfaceName = `staticRouteInterface_${appName}_v2`
|
|
8
8
|
const code = `
|
|
9
9
|
import axios from "axios"
|
|
10
|
-
import { ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
10
|
+
import type{ ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
11
11
|
|
|
12
12
|
export class GGApi_v2 {
|
|
13
13
|
urlPrefix : string
|
|
@@ -7,7 +7,7 @@ export function generateGGApi_v3(
|
|
|
7
7
|
const tempInterfaceName = `staticRouteInterface_${appName}_v3`
|
|
8
8
|
const code = `
|
|
9
9
|
import axios from "axios"
|
|
10
|
-
import { ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
10
|
+
import type { ${tempInterfaceName} } from "./${tempInterfaceName}"
|
|
11
11
|
|
|
12
12
|
export class GGApi_v3 {
|
|
13
13
|
urlPrefix : string
|