@auxcode/auxta 0.1.5 → 0.1.6
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/package.json +1 -1
- package/src/AuxTA.ts +3 -6
package/package.json
CHANGED
package/src/AuxTA.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import puppeteer, { Puppeteer } from "./puppeteer/puppeteer";
|
|
2
|
-
import
|
|
2
|
+
import { FunctionHelper } from "./macros/helpers/code.helper";
|
|
3
3
|
import path from "path";
|
|
4
4
|
import fs from "fs";
|
|
5
5
|
import StepStatusEnum from "./auxta/enums/step-status.enum";
|
|
@@ -11,13 +11,13 @@ import { createEmptyReport } from "./auxta/services/report.service";
|
|
|
11
11
|
|
|
12
12
|
dotenv.config();
|
|
13
13
|
|
|
14
|
-
class AuxTA {
|
|
14
|
+
class AuxTA extends FunctionHelper {
|
|
15
15
|
public puppeteer: Puppeteer = puppeteer;
|
|
16
|
-
public functions: FunctionHelper = f;
|
|
17
16
|
|
|
18
17
|
private readonly uploadModel: UploadModel;
|
|
19
18
|
|
|
20
19
|
constructor() {
|
|
20
|
+
super();
|
|
21
21
|
let file;
|
|
22
22
|
try {
|
|
23
23
|
//todo find a better way to load the file
|
|
@@ -72,7 +72,4 @@ export const StepStatus = StepStatusEnum;
|
|
|
72
72
|
|
|
73
73
|
const auxta: AuxTA = new AuxTA();
|
|
74
74
|
|
|
75
|
-
export const auxtaRun = auxta.run;
|
|
76
|
-
export const auxtaFunc = auxta.functions;
|
|
77
|
-
|
|
78
75
|
export default auxta;
|