@activepieces/pieces-framework 0.3.23 → 0.3.24
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 +2 -2
- package/src/lib/context.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/pieces-framework",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.24",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@sinclair/typebox": "0.26.8",
|
|
7
7
|
"lodash": "4.17.21",
|
|
8
8
|
"nanoid": "3.3.4",
|
|
9
|
-
"@activepieces/shared": "0.3.
|
|
9
|
+
"@activepieces/shared": "0.3.41",
|
|
10
10
|
"tslib": "2.4.1"
|
|
11
11
|
},
|
|
12
12
|
"main": "./src/index.js",
|
package/src/lib/context.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppConnectionValue, ExecutionType, PauseMetadata, ScheduleOptions, TriggerPayload } from "@activepieces/shared";
|
|
1
|
+
import { AppConnectionValue, ExecutionType, PauseMetadata, ScheduleOptions, StopResponse, TriggerPayload } from "@activepieces/shared";
|
|
2
2
|
import { TriggerStrategy } from "./trigger/trigger";
|
|
3
3
|
export declare type TriggerHookContext<T, S extends TriggerStrategy> = S extends TriggerStrategy.APP_WEBHOOK ? {
|
|
4
4
|
webhookUrl: string;
|
|
@@ -25,7 +25,7 @@ export interface TriggerContext<T> {
|
|
|
25
25
|
store: Store;
|
|
26
26
|
}
|
|
27
27
|
export declare type StopHookParams = {
|
|
28
|
-
response
|
|
28
|
+
response: StopResponse;
|
|
29
29
|
};
|
|
30
30
|
export declare type StopHook = (params: StopHookParams) => void;
|
|
31
31
|
export declare type PauseHookPauseMetadata = Omit<PauseMetadata, 'resumeStepMetadata'>;
|