@activepieces/pieces-framework 0.16.0 → 0.17.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/pieces-framework",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@ai-sdk/anthropic": "1.2.12",
@@ -13,7 +13,7 @@
13
13
  "fast-glob": "3.3.3",
14
14
  "nanoid": "3.3.8",
15
15
  "semver": "7.6.0",
16
- "@activepieces/shared": "0.17.5",
16
+ "@activepieces/shared": "0.17.6",
17
17
  "tslib": "2.8.1"
18
18
  },
19
19
  "overrides": {
@@ -22,8 +22,7 @@
22
22
  },
23
23
  "vite": {
24
24
  "rollup": "npm:@rollup/wasm-node"
25
- },
26
- "stylus": "0.0.1-security"
25
+ }
27
26
  },
28
27
  "resolutions": {
29
28
  "rollup": "npm:@rollup/wasm-node"
@@ -55,7 +55,7 @@ export type PauseHook = (params: {
55
55
  pauseMetadata: DelayPauseMetadata | Omit<WebhookPauseMetadata, 'requestId'>;
56
56
  }) => void;
57
57
  export type FlowsContext = {
58
- list(): Promise<SeekPage<PopulatedFlow>>;
58
+ list(params?: ListFlowsContextParams): Promise<SeekPage<PopulatedFlow>>;
59
59
  current: {
60
60
  id: string;
61
61
  version: {
@@ -63,6 +63,9 @@ export type FlowsContext = {
63
63
  };
64
64
  };
65
65
  };
66
+ export type ListFlowsContextParams = {
67
+ externalIds?: string[];
68
+ };
66
69
  export type PropertyContext = {
67
70
  server: ServerContext;
68
71
  project: {
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/framework/src/lib/context.ts"],"names":[],"mappings":";;;AAgOA,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":";;;AAmOA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iDAAiD;IACjD,oCAAsB,CAAA;IACtB,2BAAa,CAAA;AACf,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}