@aloma.io/integration-sdk 3.7.43 → 3.7.44
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.
@@ -4,6 +4,7 @@ export declare abstract class AbstractController {
|
|
4
4
|
protected start(): Promise<void>;
|
5
5
|
protected stop(isShutdown?: boolean): Promise<void>;
|
6
6
|
protected configQuery(arg: any): Promise<any>;
|
7
|
+
protected autocomplete(arg: any): Promise<any>;
|
7
8
|
protected fallback(arg: any): Promise<any>;
|
8
9
|
protected endpoint(arg: any): Promise<any>;
|
9
10
|
protected newTask(name: string, data: any): Promise<string>;
|
@@ -32,6 +33,7 @@ export declare abstract class AbstractController {
|
|
32
33
|
protected healthCheck(): Promise<any>;
|
33
34
|
__endpoint(arg: any): Promise<any | null>;
|
34
35
|
__configQuery(arg: any): Promise<any | null>;
|
36
|
+
__autocomplete(arg: any): Promise<any | null>;
|
35
37
|
__default(arg: any): Promise<any | null>;
|
36
38
|
__healthCheck(): Promise<any>;
|
37
39
|
_doStart(config: any, client: any, newTask: any, updateTask: any, getClient: any, getBlob: any, getBlobContent: any, createBlob: any): Promise<void>;
|
@@ -6,6 +6,9 @@ export class AbstractController {
|
|
6
6
|
configQuery(arg) {
|
7
7
|
return Promise.resolve({});
|
8
8
|
}
|
9
|
+
autocomplete(arg) {
|
10
|
+
return Promise.resolve({});
|
11
|
+
}
|
9
12
|
fallback(arg) {
|
10
13
|
throw new Error("method not found");
|
11
14
|
}
|
@@ -39,6 +42,9 @@ export class AbstractController {
|
|
39
42
|
async __configQuery(arg) {
|
40
43
|
return this.configQuery(arg);
|
41
44
|
}
|
45
|
+
async __autocomplete(arg) {
|
46
|
+
return this.autocomplete(arg);
|
47
|
+
}
|
42
48
|
async __default(arg) {
|
43
49
|
return this.fallback(arg);
|
44
50
|
}
|
package/package.json
CHANGED
package/src/controller/index.mts
CHANGED
@@ -9,6 +9,10 @@ export abstract class AbstractController {
|
|
9
9
|
protected configQuery(arg: any): Promise<any> {
|
10
10
|
return Promise.resolve({});
|
11
11
|
}
|
12
|
+
|
13
|
+
protected autocomplete(arg: any): Promise<any> {
|
14
|
+
return Promise.resolve({});
|
15
|
+
}
|
12
16
|
|
13
17
|
protected fallback(arg: any): Promise<any> {
|
14
18
|
throw new Error("method not found");
|
@@ -81,6 +85,10 @@ export abstract class AbstractController {
|
|
81
85
|
async __configQuery(arg: any): Promise<any | null> {
|
82
86
|
return this.configQuery(arg);
|
83
87
|
}
|
88
|
+
|
89
|
+
async __autocomplete(arg: any): Promise<any | null> {
|
90
|
+
return this.autocomplete(arg);
|
91
|
+
}
|
84
92
|
|
85
93
|
async __default(arg: any): Promise<any | null> {
|
86
94
|
return this.fallback(arg);
|