@activepieces/pieces-framework 0.3.13 → 0.3.15
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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/pieces-framework",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@sinclair/typebox": "0.26.8",
|
|
7
7
|
"nanoid": "3.3.4",
|
|
8
|
-
"@activepieces/shared": "0.3.
|
|
8
|
+
"@activepieces/shared": "0.3.16",
|
|
9
9
|
"tslib": "2.4.1"
|
|
10
10
|
},
|
|
11
11
|
"main": "./src/index.js",
|
package/src/lib/context.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export interface ConnectionsManager {
|
|
|
39
39
|
export interface Store {
|
|
40
40
|
put<T>(key: string, value: T, scope?: StoreScope): Promise<T>;
|
|
41
41
|
get<T>(key: string, scope?: StoreScope): Promise<T | null>;
|
|
42
|
+
delete(key: string, scope?: StoreScope): Promise<void>;
|
|
42
43
|
}
|
|
43
44
|
export declare enum StoreScope {
|
|
44
45
|
COLLECTION = "COLLECTION",
|
package/src/lib/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../packages/pieces/framework/src/lib/context.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../packages/pieces/framework/src/lib/context.ts"],"names":[],"mappings":";;;AAgDA,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,uCAAyB,CAAA;IACzB,2BAAa,CAAA;AACjB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB"}
|
|
@@ -13,6 +13,7 @@ export declare type OAuth2PropertySchema = BasePropertySchema & {
|
|
|
13
13
|
tokenUrl: string;
|
|
14
14
|
scope: string[];
|
|
15
15
|
pkce?: boolean;
|
|
16
|
+
authorizationMethod?: OAuth2AuthorizationMethod;
|
|
16
17
|
extra?: Record<string, unknown>;
|
|
17
18
|
};
|
|
18
19
|
export declare type OAuth2PropertyValue<T extends OAuth2Props = any> = {
|
|
@@ -21,4 +22,8 @@ export declare type OAuth2PropertyValue<T extends OAuth2Props = any> = {
|
|
|
21
22
|
data: Record<string, any>;
|
|
22
23
|
};
|
|
23
24
|
export declare type OAuth2Property<R extends boolean, T extends OAuth2Props> = OAuth2PropertySchema & TPropertyValue<OAuth2PropertyValue<T>, PropertyType.OAUTH2, R>;
|
|
25
|
+
export declare enum OAuth2AuthorizationMethod {
|
|
26
|
+
HEADER = "HEADER",
|
|
27
|
+
BODY = "BODY"
|
|
28
|
+
}
|
|
24
29
|
export {};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OAuth2AuthorizationMethod = void 0;
|
|
4
|
+
var OAuth2AuthorizationMethod;
|
|
5
|
+
(function (OAuth2AuthorizationMethod) {
|
|
6
|
+
OAuth2AuthorizationMethod["HEADER"] = "HEADER";
|
|
7
|
+
OAuth2AuthorizationMethod["BODY"] = "BODY";
|
|
8
|
+
})(OAuth2AuthorizationMethod = exports.OAuth2AuthorizationMethod || (exports.OAuth2AuthorizationMethod = {}));
|
|
3
9
|
//# sourceMappingURL=oauth2-prop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2-prop.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/framework/src/lib/property/oauth2-prop.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"oauth2-prop.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/framework/src/lib/property/oauth2-prop.ts"],"names":[],"mappings":";;;AAoCA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,8CAAiB,CAAA;IACjB,0CAAa,CAAA;AACd,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC"}
|