@kogeet/scapin-core-agent 0.1.2 → 0.1.4

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.
Files changed (42) hide show
  1. package/bin/core/app.sagent.d.ts +4 -1
  2. package/bin/core/app.sagent.d.ts.map +1 -0
  3. package/bin/core/app.sagent.js +3 -1
  4. package/bin/core/context.d.ts +5 -3
  5. package/bin/core/context.d.ts.map +1 -0
  6. package/bin/core/context.js +2 -1
  7. package/bin/core/jison.parser.d.ts +1 -0
  8. package/bin/core/jison.parser.d.ts.map +1 -0
  9. package/bin/core/report.d.ts +3 -1
  10. package/bin/core/report.d.ts.map +1 -0
  11. package/bin/core/report.js +3 -1
  12. package/bin/core/runstep.d.ts +1 -0
  13. package/bin/core/runstep.d.ts.map +1 -0
  14. package/bin/core/runstep.js +1 -0
  15. package/bin/core/runsteps.d.ts +2 -1
  16. package/bin/core/runsteps.d.ts.map +1 -0
  17. package/bin/core/step.context.d.ts +3 -2
  18. package/bin/core/step.context.d.ts.map +1 -0
  19. package/bin/core/wsocket.io.d.ts +1 -0
  20. package/bin/core/wsocket.io.d.ts.map +1 -0
  21. package/bin/core/wsocket.io.js +1 -1
  22. package/bin/index.d.ts +9 -6
  23. package/bin/index.d.ts.map +1 -0
  24. package/bin/index.js +6 -7
  25. package/bin/jison/calc.grammar.d.ts +1 -0
  26. package/bin/jison/calc.grammar.d.ts.map +1 -0
  27. package/bin/jison/datetime.grammar.d.ts +1 -0
  28. package/bin/jison/datetime.grammar.d.ts.map +1 -0
  29. package/bin/jison/logical.grammar.d.ts +1 -0
  30. package/bin/jison/logical.grammar.d.ts.map +1 -0
  31. package/bin/jison/option.grammar.d.ts +1 -0
  32. package/bin/jison/option.grammar.d.ts.map +1 -0
  33. package/bin/jison/string.grammar.d.ts +1 -0
  34. package/bin/jison/string.grammar.d.ts.map +1 -0
  35. package/bin/jison/variable.grammar.d.ts +1 -0
  36. package/bin/jison/variable.grammar.d.ts.map +1 -0
  37. package/bin/models/parameter.model.d.ts +1 -0
  38. package/bin/models/parameter.model.d.ts.map +1 -0
  39. package/bin/models/run.model.d.ts +4 -3
  40. package/bin/models/run.model.d.ts.map +1 -0
  41. package/bin/models/run.model.js +1 -0
  42. package/package.json +1 -1
@@ -1,6 +1,9 @@
1
- export default class AppSagent {
1
+ export declare class AppSagent {
2
2
  private EntryPoints;
3
3
  listen(): void;
4
4
  use(libName: string, entryPoints: Map<string, CallableFunction>): void;
5
5
  getStepFunction(lib: string, fn: string): CallableFunction | null;
6
6
  }
7
+ declare const sagent: AppSagent;
8
+ export default sagent;
9
+ //# sourceMappingURL=app.sagent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.sagent.d.ts","sourceRoot":"","sources":["../../src/core/app.sagent.ts"],"names":[],"mappings":"AAGA,qBAAa,SAAS;IACpB,OAAO,CAAC,WAAW,CAAmD;IAE/D,MAAM;IAIN,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAI/D,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;CAkB/C;AAED,QAAA,MAAM,MAAM,WAAkB,CAAA;AAC9B,eAAe,MAAM,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import wSocketIo from "./wsocket.io.js";
2
2
  import { report } from "../index.js";
3
- export default class AppSagent {
3
+ export class AppSagent {
4
4
  EntryPoints = new Map();
5
5
  listen() {
6
6
  wSocketIo.start();
@@ -28,3 +28,5 @@ export default class AppSagent {
28
28
  }
29
29
  }
30
30
  }
31
+ const sagent = new AppSagent();
32
+ export default sagent;
@@ -1,9 +1,9 @@
1
- import { RunParamModel } from '../models/run.model.js';
2
- import { varType } from '../models/parameter.model.js';
1
+ import type { RunParamModel } from '../models/run.model.js';
2
+ import { type varType } from '../models/parameter.model.js';
3
3
  /**
4
4
  * La classe **Context** stocke les variables utilisées lors du test
5
5
  */
6
- export default class Context {
6
+ export declare class Context {
7
7
  idxStep: number;
8
8
  private variables;
9
9
  getVariable(varname: string): varType;
@@ -13,3 +13,5 @@ export default class Context {
13
13
  dump(): [string, varType][];
14
14
  resetVariables(): void;
15
15
  }
16
+ export declare const context: Context;
17
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/core/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAgB,KAAK,OAAO,EAAC,MAAM,8BAA8B,CAAA;AAExE;;GAEG;AACH,qBAAa,OAAO;IACX,OAAO,EAAE,MAAM,CAAM;IAE5B,OAAO,CAAC,SAAS,CAA6B;IAEvC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;IAIrC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAM3C,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE;IAgBpC,QAAQ,CAAC,KAAK,EAAE,aAAa;IAiB7B,IAAI;IAIJ,cAAc;CAGtB;AAED,eAAO,MAAM,OAAO,SAAgB,CAAA"}
@@ -2,7 +2,7 @@ import { enumParamType } from '../models/parameter.model.js';
2
2
  /**
3
3
  * La classe **Context** stocke les variables utilisées lors du test
4
4
  */
5
- export default class Context {
5
+ export class Context {
6
6
  idxStep = -1;
7
7
  variables = new Map();
8
8
  getVariable(varname) {
@@ -51,3 +51,4 @@ export default class Context {
51
51
  this.variables.clear();
52
52
  }
53
53
  }
54
+ export const context = new Context();
@@ -13,3 +13,4 @@ export declare class JisonSolver {
13
13
  exec(exp: string): string | null;
14
14
  static builder(type: enumParamType, options: string[]): JisonSolver | null;
15
15
  }
16
+ //# sourceMappingURL=jison.parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jison.parser.d.ts","sourceRoot":"","sources":["../../src/core/jison.parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAU3D,qBAAa,WAAW;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC5B,MAAM,EAAE,KAAK,GAAC,IAAI,CAAQ;IACjC,OAAO,CAAC,OAAO,CAAoC;gBAGhC,OAAO,EAAE,OAAO;IAI5B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;WAiB5B,OAAO,CAAC,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE;CAS7D;AAED,qBAAa,WAAW;IACtB,OAAO,CAAC,OAAO,CAA8C;gBAE1C,OAAO,EAAE,OAAO;IAI5B,IAAI,CAAC,GAAG,EAAE,MAAM;WAaT,OAAO,CAAC,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE;CAQ7D"}
@@ -1,5 +1,5 @@
1
1
  import StepContext from './step.context.js';
2
- export default class Report {
2
+ export declare class Report {
3
3
  private oneStepLog;
4
4
  private start;
5
5
  private stepPos;
@@ -18,3 +18,5 @@ export default class Report {
18
18
  clearStepLog(): void;
19
19
  private log;
20
20
  }
21
+ export declare const report: Report;
22
+ //# sourceMappingURL=report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../src/core/report.ts"],"names":[],"mappings":"AAEA,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAG5C,qBAAa,MAAM;IACjB,OAAO,CAAC,UAAU,CAAe;IACjC,OAAO,CAAC,KAAK,CAAY;IACzB,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,eAAe,CAAiB;IAEjC,SAAS,CAAC,GAAG,EAAE,MAAM;IAOrB,OAAO,CAAC,IAAI,EAAE,OAAO;IA2BrB,IAAI,CAAC,OAAO,EAAE,MAAM;IAIpB,OAAO,CAAC,OAAO,EAAE,MAAM;IAIvB,KAAK,CAAC,OAAO,EAAE,MAAM;IAIrB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM;IActD,aAAa;IAIb,eAAe;IAIf,cAAc,CAAC,KAAK,EAAE,OAAO;IAI7B,cAAc;IAId,YAAY;IAInB,OAAO,CAAC,GAAG;CASZ;AAED,eAAO,MAAM,MAAM,QAAe,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { logLevel, stepStatus } from '../models/run.model.js';
2
+ import StepContext from './step.context.js';
2
3
  import { context } from "../index.js";
3
- export default class Report {
4
+ export class Report {
4
5
  oneStepLog = [];
5
6
  start = 0;
6
7
  stepPos = -1;
@@ -81,3 +82,4 @@ export default class Report {
81
82
  this.oneStepLog.push(log);
82
83
  }
83
84
  }
85
+ export const report = new Report();
@@ -8,3 +8,4 @@ export default class RunStep {
8
8
  */
9
9
  run(stepCtx: StepContext, lib: string, fn: string): Promise<boolean>;
10
10
  }
11
+ //# sourceMappingURL=runstep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runstep.d.ts","sourceRoot":"","sources":["../../src/core/runstep.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAG5C,MAAM,CAAC,OAAO,OAAO,OAAO;IAE1B;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAgBlF"}
@@ -1,3 +1,4 @@
1
+ import StepContext from './step.context.js';
1
2
  import { report, sagent } from "../index.js";
2
3
  export default class RunStep {
3
4
  /**
@@ -1,4 +1,4 @@
1
- import { RunDataStepModel } from '../models/run.model.js';
1
+ import type { RunDataStepModel } from '../models/run.model.js';
2
2
  export declare class RunSteps {
3
3
  private runstep;
4
4
  private stepCtx;
@@ -6,3 +6,4 @@ export declare class RunSteps {
6
6
  run(data: RunDataStepModel[] | RunDataStepModel | undefined): Promise<void>;
7
7
  private runAStep;
8
8
  }
9
+ //# sourceMappingURL=runsteps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runsteps.d.ts","sourceRoot":"","sources":["../../src/core/runsteps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAA;AAM5D,qBAAa,QAAQ;IACnB,OAAO,CAAC,OAAO,CAAU;IACzB,OAAO,CAAC,OAAO,CAA2B;IACnC,IAAI,EAAE,OAAO,CAAQ;IAEf,GAAG,CAAC,IAAI,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,GAAG,SAAS;YAwB1D,QAAQ;CAmBvB"}
@@ -1,5 +1,5 @@
1
- import { RunDataStepModel, RunParamModel } from '../models/run.model.js';
2
- import { varType } from '../models/parameter.model.js';
1
+ import type { RunDataStepModel, RunParamModel } from '../models/run.model.js';
2
+ import { type varType } from '../models/parameter.model.js';
3
3
  /**
4
4
  * La classe **StepContext** gère les paramètres.
5
5
  *
@@ -21,3 +21,4 @@ export default class StepContext {
21
21
  private get;
22
22
  private solveParams;
23
23
  }
24
+ //# sourceMappingURL=step.context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step.context.d.ts","sourceRoot":"","sources":["../../src/core/step.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,wBAAwB,CAAA;AAC3E,OAAO,EAAgB,KAAK,OAAO,EAAC,MAAM,8BAA8B,CAAC;AAIzE;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,WAAW;IACvB,KAAK,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,SAAgB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;gBAE1B,IAAI,EAAE,gBAAgB;IAa3B,YAAY;IAIZ,aAAa;IAIb,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,OAAmB,GAAG,OAAO;IAI3D,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,GAAC,SAAqB,GAAG,MAAM;IAIzE,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,OAAmB,GAAG,OAAO;IAInE,OAAO,CAAC,GAAG;IAKX,OAAO,CAAC,WAAW;CAiCpB"}
@@ -18,3 +18,4 @@ declare class WsocketIo {
18
18
  }
19
19
  declare const wSocketIo: WsocketIo;
20
20
  export default wSocketIo;
21
+ //# sourceMappingURL=wsocket.io.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wsocket.io.d.ts","sourceRoot":"","sources":["../../src/core/wsocket.io.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAW5C,cAAM,SAAS;IACN,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAO;IACrC,OAAO,CAAC,QAAQ,CAAwB;IACxC,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,MAAM,CAAa;IAEpB,KAAK;IAgDL,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAQjD;;OAEG;IACI,GAAG;IAQV,OAAO,CAAC,OAAO,CAUd;IAED,OAAO,CAAC,SAAS,CAQhB;IAED,OAAO,CAAC,QAAQ,CAIf;IAED,OAAO,CAAC,MAAM,CAGb;IAED,OAAO,CAAC,SAAS,CAOhB;CAEF;AAED,QAAA,MAAM,SAAS,WAAkB,CAAA;AACjC,eAAe,SAAS,CAAA"}
@@ -1,4 +1,4 @@
1
- import { io } from "socket.io-client";
1
+ import { io, Socket } from "socket.io-client";
2
2
  import { RunSteps } from './runsteps.js';
3
3
  import { report } from "../index.js";
4
4
  const url = process.env.ScapinServerURL || 'https://scapin.loicg.com';
package/bin/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import AppSagent from "./core/app.sagent.js";
2
- import Context from "./core/context.js";
3
- import Report from "./core/report.js";
4
- export declare const sagent: AppSagent;
5
- export declare const context: Context;
6
- export declare const report: Report;
1
+ import { Context, context } from "./core/context.js";
2
+ import { Report, report } from "./core/report.js";
3
+ import sagent from "./core/app.sagent.js";
4
+ import wSocketIo from "./core/wsocket.io.js";
5
+ import StepContext from "./core/step.context.js";
6
+ import type { RunParamModel } from "./models/run.model.js";
7
+ export { sagent, context, Context, report, Report, wSocketIo, StepContext };
8
+ export type { RunParamModel };
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAS,EACT,WAAW,EACZ,CAAA;AAED,YAAY,EAAE,aAAa,EAAE,CAAA"}
package/bin/index.js CHANGED
@@ -1,7 +1,6 @@
1
- import AppSagent from "./core/app.sagent.js";
2
- import Context from "./core/context.js";
3
- import Report from "./core/report.js";
4
- export const sagent = new AppSagent();
5
- export const context = new Context();
6
- export const report = new Report;
7
- // sagent.listen()
1
+ import { Context, context } from "./core/context.js";
2
+ import { Report, report } from "./core/report.js";
3
+ import sagent from "./core/app.sagent.js";
4
+ import wSocketIo from "./core/wsocket.io.js";
5
+ import StepContext from "./core/step.context.js";
6
+ export { sagent, context, Context, report, Report, wSocketIo, StepContext };
@@ -17,3 +17,4 @@ export declare const xxxGrammar: {
17
17
  operators: never[];
18
18
  bnf: {};
19
19
  };
20
+ //# sourceMappingURL=calc.grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calc.grammar.d.ts","sourceRoot":"","sources":["../../src/jison/calc.grammar.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,KAAK,GAAE,OAAe;;;;;;;;;;;EAyDjD;AAGC,eAAO,MAAM,UAAU;;;;;;CAStB,CAAC"}
@@ -8,3 +8,4 @@ export declare function datetimeGrammar(solve: boolean): {
8
8
  e: string[][];
9
9
  };
10
10
  };
11
+ //# sourceMappingURL=datetime.grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datetime.grammar.d.ts","sourceRoot":"","sources":["../../src/jison/datetime.grammar.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO;;;;;;;;;EA2C7C"}
@@ -8,3 +8,4 @@ export declare function logicalGrammar(solve: boolean): {
8
8
  e: string[][];
9
9
  };
10
10
  };
11
+ //# sourceMappingURL=logical.grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logical.grammar.d.ts","sourceRoot":"","sources":["../../src/jison/logical.grammar.ts"],"names":[],"mappings":"AACA,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO;;;;;;;;;EAsC5C"}
@@ -8,3 +8,4 @@ export declare function optionGrammar(solve: boolean, options: string[]): {
8
8
  e: string[][];
9
9
  };
10
10
  };
11
+ //# sourceMappingURL=option.grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"option.grammar.d.ts","sourceRoot":"","sources":["../../src/jison/option.grammar.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE;;;;;;;;;EAyB9D"}
@@ -8,3 +8,4 @@ export declare function stringGrammar(solve: boolean): {
8
8
  e: string[][];
9
9
  };
10
10
  };
11
+ //# sourceMappingURL=string.grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.grammar.d.ts","sourceRoot":"","sources":["../../src/jison/string.grammar.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO;;;;;;;;;EA+B3C"}
@@ -7,3 +7,4 @@ export declare const variableGrammar: {
7
7
  expressions: string[][];
8
8
  };
9
9
  };
10
+ //# sourceMappingURL=variable.grammar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variable.grammar.d.ts","sourceRoot":"","sources":["../../src/jison/variable.grammar.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe;;;;;;;;CAa3B,CAAC"}
@@ -18,3 +18,4 @@ export declare enum enumParamType {
18
18
  options = "Options"
19
19
  }
20
20
  export type varType = string | number | boolean | null | undefined;
21
+ //# sourceMappingURL=parameter.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameter.model.d.ts","sourceRoot":"","sources":["../../src/models/parameter.model.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,GAAG,EAAE,MAAM,CAAC;CACb;AAKD,oBAAY,aAAa;IACvB,QAAQ,YAAY;IACpB,QAAQ,WAAW;IACnB,QAAQ,SAAS;IACjB,QAAQ,aAAa;IACrB,OAAO,aAAa;IACpB,OAAO,YAAa;CACrB;AAED,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAA"}
@@ -1,4 +1,4 @@
1
- import { enumParamType, varType } from './parameter.model.js';
1
+ import { enumParamType, type varType } from './parameter.model.js';
2
2
  export interface WsDataMessage {
3
3
  logs: RunReportStep;
4
4
  ctx: [string, varType][];
@@ -46,11 +46,12 @@ export declare const stepStatus: Readonly<{
46
46
  cancel: 0;
47
47
  pass: 1;
48
48
  fail: 2;
49
- toString(n: number | undefined): "cancel" | "pass" | "fail" | "";
49
+ toString(n: number | undefined): "" | "fail" | "cancel" | "pass";
50
50
  }>;
51
51
  export declare const logLevel: Readonly<{
52
52
  info: 0;
53
53
  warning: 1;
54
54
  error: 2;
55
- toString(n: number | undefined): "" | "info" | "warning" | "error";
55
+ toString(n: number | undefined): "error" | "" | "info" | "warning";
56
56
  }>;
57
+ //# sourceMappingURL=run.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.model.d.ts","sourceRoot":"","sources":["../../src/models/run.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,KAAK,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAEjE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,aAAa,CAAA;IACnB,GAAG,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;IACxB,MAAM,EAAE,aAAa,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,aAAa,EAAE,CAAC;IAG5B,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,eAAO,MAAM,UAAU;;;;gBAIT,MAAM,GAAG,SAAS;EAQ9B,CAAA;AAEF,eAAO,MAAM,QAAQ;;;;gBAIP,MAAM,GAAG,SAAS;EAQ9B,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { enumParamType } from './parameter.model.js';
1
2
  export const stepStatus = Object.freeze({
2
3
  cancel: 0,
3
4
  pass: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kogeet/scapin-core-agent",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Scapin Core Agent",
5
5
  "author": "Loïc Griveau",
6
6
  "license": "MIT",