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 CHANGED
@@ -1,4 +1,3 @@
1
- import GGExpress from "./GGExpress";
2
1
  import GGExpressV2 from "./v2/GGExpressV2";
3
2
  import GGExpressV3 from "./v3/GGExpressV3";
4
- export { GGExpress, GGExpressV2, GGExpressV3 };
3
+ export { GGExpressV2, GGExpressV3 };
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 = exports.GGExpress = void 0;
7
- const GGExpress_1 = __importDefault(require("./GGExpress"));
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg-express",
3
- "version": "1.0.153",
3
+ "version": "1.0.156",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "scripts": {
package/src/main.ts CHANGED
@@ -1,4 +1,4 @@
1
- import GGExpress from "./GGExpress"
1
+ // import GGExpress from "./GGExpress"
2
2
  import GGExpressV2 from "./v2/GGExpressV2"
3
3
  import GGExpressV3 from "./v3/GGExpressV3"
4
- export { GGExpress, GGExpressV2, GGExpressV3 }
4
+ export { GGExpressV2, GGExpressV3 }
@@ -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