gg-express 1.0.1 → 1.0.3
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/GGExpress.d.ts +1 -1
- package/dist/GGExpress.js +2 -2
- package/package.json +2 -2
- package/src/GGExpress.ts +1 -1
package/dist/GGExpress.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ type MyResponse<DT extends responseStructure["dataType"], T extends responseStru
|
|
|
35
35
|
[key in K]: numberOrString<T[key]>;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
|
-
export default class
|
|
38
|
+
export default class GGExpress {
|
|
39
39
|
express: Express.Express;
|
|
40
40
|
private outputPath;
|
|
41
41
|
constructor(app: Express.Express, outputPath: string[]);
|
package/dist/GGExpress.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const fs_1 = __importDefault(require("fs"));
|
|
7
7
|
const myExpressRouteList = [];
|
|
8
|
-
class
|
|
8
|
+
class GGExpress {
|
|
9
9
|
constructor(app, outputPath) {
|
|
10
10
|
this.express = app;
|
|
11
11
|
this.outputPath = outputPath;
|
|
@@ -114,4 +114,4 @@ class MyExpress {
|
|
|
114
114
|
// fs.writeFileSync(myAppFilePath, content)
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
exports.default =
|
|
117
|
+
exports.default = GGExpress;
|
package/package.json
CHANGED
package/src/GGExpress.ts
CHANGED
|
@@ -72,7 +72,7 @@ const myExpressRouteList: {
|
|
|
72
72
|
responseStructure: responseStructure
|
|
73
73
|
}[] = []
|
|
74
74
|
|
|
75
|
-
export default class
|
|
75
|
+
export default class GGExpress {
|
|
76
76
|
public express: Express.Express
|
|
77
77
|
private outputPath: string[]
|
|
78
78
|
constructor(app: Express.Express, outputPath: string[]) {
|