@activepieces/pieces-framework 0.7.46 → 0.8.1

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 CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@activepieces/pieces-framework",
3
- "version": "0.7.46",
3
+ "version": "0.8.1",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "0.34.11",
7
7
  "deepmerge-ts": "7.1.0",
8
8
  "nanoid": "3.3.8",
9
9
  "semver": "7.6.0",
10
- "@activepieces/shared": "0.10.158",
10
+ "@activepieces/shared": "0.10.175",
11
11
  "tslib": "1.14.1"
12
12
  },
13
13
  "overrides": {
@@ -12,6 +12,7 @@ type BaseContext<PieceAuth extends PieceAuthProperty, Props extends InputPropert
12
12
  id: ProjectId;
13
13
  externalId: () => Promise<string | undefined>;
14
14
  };
15
+ connections: ConnectionsManager;
15
16
  };
16
17
  type AppWebhookTriggerHookContext<PieceAuth extends PieceAuthProperty, TriggerProps extends InputPropertyMap> = BaseContext<PieceAuth, TriggerProps> & {
17
18
  webhookUrl: string;
@@ -88,7 +89,6 @@ export type OnStartContext<PieceAuth extends PieceAuthProperty, TriggerProps ext
88
89
  };
89
90
  export type BaseActionContext<ET extends ExecutionType, PieceAuth extends PieceAuthProperty, ActionProps extends InputPropertyMap> = BaseContext<PieceAuth, ActionProps> & {
90
91
  executionType: ET;
91
- connections: ConnectionsManager;
92
92
  tags: TagsManager;
93
93
  server: ServerContext;
94
94
  files: FilesService;
@@ -96,6 +96,7 @@ export type BaseActionContext<ET extends ExecutionType, PieceAuth extends PieceA
96
96
  run: RunContext;
97
97
  generateResumeUrl: (params: {
98
98
  queryParams: Record<string, string>;
99
+ sync?: boolean;
99
100
  }) => string;
100
101
  };
101
102
  type BeginExecutionActionContext<PieceAuth extends PieceAuthProperty = PieceAuthProperty, ActionProps extends InputPropertyMap = InputPropertyMap> = BaseActionContext<ExecutionType.BEGIN, PieceAuth, ActionProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/framework/src/lib/context.ts"],"names":[],"mappings":";;;AAoNA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iDAAiD;IACjD,oCAAsB,CAAA;IACtB,2BAAa,CAAA;AACf,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/framework/src/lib/context.ts"],"names":[],"mappings":";;;AAqNA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iDAAiD;IACjD,oCAAsB,CAAA;IACtB,2BAAa,CAAA;AACf,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}