@aloma.io/integration-sdk 3.8.4 → 3.8.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.
@@ -30,7 +30,7 @@ export type ConfigField = {
30
30
  /**
31
31
  * a single line text field
32
32
  */
33
- | "text"
33
+ | "line"
34
34
  /**
35
35
  * a number field
36
36
  */
@@ -1,6 +1,9 @@
1
+ import Fetcher from "../internal/fetcher/fetcher.mjs";
1
2
  export declare abstract class AbstractController {
2
- protected config: any;
3
- protected client: any;
3
+ protected config: {
4
+ [key: string]: any;
5
+ };
6
+ protected client?: Fetcher;
4
7
  protected start(): Promise<void>;
5
8
  protected stop(isShutdown?: boolean): Promise<void>;
6
9
  protected configQuery(arg: any): Promise<any>;
@@ -1,5 +1,5 @@
1
1
  export class AbstractController {
2
- config;
2
+ config = {};
3
3
  client;
4
4
  async start() { }
5
5
  async stop(isShutdown = false) { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.8.4",
3
+ "version": "3.8.6",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -40,7 +40,7 @@ export type ConfigField = {
40
40
  /**
41
41
  * a single line text field
42
42
  */
43
- | "text"
43
+ | "line"
44
44
  /**
45
45
  * a number field
46
46
  */
@@ -1,6 +1,8 @@
1
+ import Fetcher from "../internal/fetcher/fetcher.mjs";
2
+
1
3
  export abstract class AbstractController {
2
- protected config;
3
- protected client;
4
+ protected config: {[key: string]: any} = {};
5
+ protected client?: Fetcher;
4
6
 
5
7
  protected async start(): Promise<void> {}
6
8