@activepieces/pieces-framework 0.7.29 → 0.7.30
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/property/index.d.ts +1 -1
- package/src/lib/property/index.js +3 -2
- package/src/lib/property/index.js.map +1 -1
- package/src/lib/property/input/dynamic-prop.d.ts +2 -3
- package/src/lib/property/input/dynamic-prop.js +3 -3
- package/src/lib/property/input/dynamic-prop.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/pieces-framework",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.30",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@sinclair/typebox": "0.26.8",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"lodash": "4.17.21",
|
|
11
11
|
"nanoid": "3.3.6",
|
|
12
12
|
"semver": "7.6.0",
|
|
13
|
-
"@activepieces/shared": "0.10.
|
|
13
|
+
"@activepieces/shared": "0.10.104",
|
|
14
14
|
"tslib": "1.14.1"
|
|
15
15
|
},
|
|
16
16
|
"main": "./src/index.js"
|
|
@@ -3,7 +3,7 @@ import { PieceAuthProperty } from './authentication';
|
|
|
3
3
|
export { ApFile } from './input/file-property';
|
|
4
4
|
export { DropdownProperty, MultiSelectDropdownProperty } from './input/dropdown/dropdown-prop';
|
|
5
5
|
export { DropdownState } from './input/dropdown/common';
|
|
6
|
-
export { DynamicProperties } from './input/dynamic-prop';
|
|
6
|
+
export { DynamicProperties, DynamicProp } from './input/dynamic-prop';
|
|
7
7
|
export { PropertyType } from './input/property-type';
|
|
8
8
|
export { Property } from './input';
|
|
9
9
|
export { PieceAuth } from './authentication';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InputPropertyMap = exports.PiecePropertyMap = exports.PieceProperty = exports.JsonProperty = exports.CustomAuthProperty = exports.SecretTextProperty = exports.BasicAuthProperty = exports.FileProperty = exports.OAuth2Property = exports.StaticDropdownProperty = exports.StaticMultiSelectDropdownProperty = exports.BasicAuthPropertyValue = exports.OAuth2AuthorizationMethod = exports.OAuth2Props = exports.ObjectProperty = exports.NumberProperty = exports.LongTextProperty = exports.DateTimeProperty = exports.CheckboxProperty = exports.BasePropertySchema = exports.ArrayProperty = exports.ShortTextProperty = exports.PieceAuthProperty = exports.OAuth2PropertyValue = exports.DropdownOption = exports.DynamicPropsValue = exports.PieceAuth = exports.Property = exports.PropertyType = exports.DynamicProperties = exports.DropdownState = exports.MultiSelectDropdownProperty = exports.DropdownProperty = exports.ApFile = void 0;
|
|
3
|
+
exports.InputPropertyMap = exports.PiecePropertyMap = exports.PieceProperty = exports.JsonProperty = exports.CustomAuthProperty = exports.SecretTextProperty = exports.BasicAuthProperty = exports.FileProperty = exports.OAuth2Property = exports.StaticDropdownProperty = exports.StaticMultiSelectDropdownProperty = exports.BasicAuthPropertyValue = exports.OAuth2AuthorizationMethod = exports.OAuth2Props = exports.ObjectProperty = exports.NumberProperty = exports.LongTextProperty = exports.DateTimeProperty = exports.CheckboxProperty = exports.BasePropertySchema = exports.ArrayProperty = exports.ShortTextProperty = exports.PieceAuthProperty = exports.OAuth2PropertyValue = exports.DropdownOption = exports.DynamicPropsValue = exports.PieceAuth = exports.Property = exports.PropertyType = exports.DynamicProp = exports.DynamicProperties = exports.DropdownState = exports.MultiSelectDropdownProperty = exports.DropdownProperty = exports.ApFile = void 0;
|
|
4
4
|
const input_1 = require("./input");
|
|
5
5
|
const authentication_1 = require("./authentication");
|
|
6
6
|
const typebox_1 = require("@sinclair/typebox");
|
|
7
|
-
// EXPORTED
|
|
7
|
+
// EXPORTED
|
|
8
8
|
var file_property_1 = require("./input/file-property");
|
|
9
9
|
Object.defineProperty(exports, "ApFile", { enumerable: true, get: function () { return file_property_1.ApFile; } });
|
|
10
10
|
var dropdown_prop_1 = require("./input/dropdown/dropdown-prop");
|
|
@@ -14,6 +14,7 @@ var common_1 = require("./input/dropdown/common");
|
|
|
14
14
|
Object.defineProperty(exports, "DropdownState", { enumerable: true, get: function () { return common_1.DropdownState; } });
|
|
15
15
|
var dynamic_prop_1 = require("./input/dynamic-prop");
|
|
16
16
|
Object.defineProperty(exports, "DynamicProperties", { enumerable: true, get: function () { return dynamic_prop_1.DynamicProperties; } });
|
|
17
|
+
Object.defineProperty(exports, "DynamicProp", { enumerable: true, get: function () { return dynamic_prop_1.DynamicProp; } });
|
|
17
18
|
var property_type_1 = require("./input/property-type");
|
|
18
19
|
Object.defineProperty(exports, "PropertyType", { enumerable: true, get: function () { return property_type_1.PropertyType; } });
|
|
19
20
|
var input_2 = require("./input");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/framework/src/lib/property/index.ts"],"names":[],"mappings":";;;AAAA,mCAAwC;AACxC,qDAAqD;AACrD,+CAAyC;AAEzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/framework/src/lib/property/index.ts"],"names":[],"mappings":";;;AAAA,mCAAwC;AACxC,qDAAqD;AACrD,+CAAyC;AAEzC,WAAW;AAEX,uDAA+C;AAAtC,uGAAA,MAAM,OAAA;AACf,gEAA+F;AAAtF,iHAAA,gBAAgB,OAAA;AAAE,4HAAA,2BAA2B,OAAA;AACtD,kDAAwD;AAA/C,uGAAA,aAAa,OAAA;AACtB,qDAAsE;AAA7D,iHAAA,iBAAiB,OAAA;AAAE,2GAAA,WAAW,OAAA;AACvC,uDAAqD;AAA5C,6GAAA,YAAY,OAAA;AACrB,iCAAmC;AAA1B,iGAAA,QAAQ,OAAA;AACjB,mDAA6C;AAApC,2GAAA,SAAS,OAAA;AAClB,qDAAyD;AAAhD,iHAAA,iBAAiB,OAAA;AAC1B,kDAAyD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@ -4,7 +4,7 @@ import { BasePropertySchema, TPropertyValue } from "./common";
|
|
|
4
4
|
import { PropertyContext } from "../../context";
|
|
5
5
|
import { ValidationInputType } from "../../validators/types";
|
|
6
6
|
import { PropertyType } from "./property-type";
|
|
7
|
-
declare const DynamicProp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TComposite<[import("@sinclair/typebox").TObject<{
|
|
7
|
+
export declare const DynamicProp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TComposite<[import("@sinclair/typebox").TObject<{
|
|
8
8
|
displayName: import("@sinclair/typebox").TString<string>;
|
|
9
9
|
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
10
10
|
}>, import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>]>, import("@sinclair/typebox").TComposite<[import("@sinclair/typebox").TObject<{
|
|
@@ -32,7 +32,7 @@ declare const DynamicProp: import("@sinclair/typebox").TUnion<[import("@sinclair
|
|
|
32
32
|
}>>;
|
|
33
33
|
}>;
|
|
34
34
|
}>, import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>]>]>;
|
|
35
|
-
type DynamicProp = ShortTextProperty<boolean> | StaticDropdownProperty<any, boolean> | StaticMultiSelectDropdownProperty<any, boolean>;
|
|
35
|
+
export type DynamicProp = ShortTextProperty<boolean> | StaticDropdownProperty<any, boolean> | StaticMultiSelectDropdownProperty<any, boolean>;
|
|
36
36
|
export declare const DynamicPropsValue: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TComposite<[import("@sinclair/typebox").TObject<{
|
|
37
37
|
displayName: import("@sinclair/typebox").TString<string>;
|
|
38
38
|
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
@@ -72,4 +72,3 @@ export type DynamicProperties<R extends boolean> = BasePropertySchema & {
|
|
|
72
72
|
props: (propsValue: Record<string, DynamicPropsValue>, ctx: PropertyContext) => Promise<Record<string, DynamicProp>>;
|
|
73
73
|
refreshers: string[];
|
|
74
74
|
} & TPropertyValue<DynamicPropsValue, PropertyType.DYNAMIC, ValidationInputType.ANY, R>;
|
|
75
|
-
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamicProperties = exports.DynamicPropsValue = void 0;
|
|
3
|
+
exports.DynamicProperties = exports.DynamicPropsValue = exports.DynamicProp = void 0;
|
|
4
4
|
const typebox_1 = require("@sinclair/typebox");
|
|
5
5
|
const static_dropdown_1 = require("./dropdown/static-dropdown");
|
|
6
6
|
const text_property_1 = require("./text-property");
|
|
7
7
|
const common_1 = require("./common");
|
|
8
8
|
const property_type_1 = require("./property-type");
|
|
9
|
-
|
|
9
|
+
exports.DynamicProp = typebox_1.Type.Union([
|
|
10
10
|
text_property_1.ShortTextProperty,
|
|
11
11
|
static_dropdown_1.StaticDropdownProperty,
|
|
12
12
|
static_dropdown_1.StaticMultiSelectDropdownProperty,
|
|
13
13
|
]);
|
|
14
|
-
exports.DynamicPropsValue = typebox_1.Type.Record(typebox_1.Type.String(), DynamicProp);
|
|
14
|
+
exports.DynamicPropsValue = typebox_1.Type.Record(typebox_1.Type.String(), exports.DynamicProp);
|
|
15
15
|
exports.DynamicProperties = typebox_1.Type.Composite([
|
|
16
16
|
typebox_1.Type.Object({
|
|
17
17
|
refreshers: typebox_1.Type.Array(typebox_1.Type.String()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-prop.js","sourceRoot":"","sources":["../../../../../../../../../packages/pieces/community/framework/src/lib/property/input/dynamic-prop.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,gEAAuG;AACvG,mDAAoD;AACpD,qCAA8D;AAG9D,mDAA+C;
|
|
1
|
+
{"version":3,"file":"dynamic-prop.js","sourceRoot":"","sources":["../../../../../../../../../packages/pieces/community/framework/src/lib/property/input/dynamic-prop.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,gEAAuG;AACvG,mDAAoD;AACpD,qCAA8D;AAG9D,mDAA+C;AAElC,QAAA,WAAW,GAAG,cAAI,CAAC,KAAK,CAAC;IACpC,iCAAiB;IACjB,wCAAsB;IACtB,mDAAiC;CAClC,CAAC,CAAA;AAOW,QAAA,iBAAiB,GAAG,cAAI,CAAC,MAAM,CAAC,cAAI,CAAC,MAAM,EAAE,EAAE,mBAAW,CAAC,CAAC;AAI5D,QAAA,iBAAiB,GAAG,cAAI,CAAC,SAAS,CAAC;IAC9C,cAAI,CAAC,MAAM,CAAC;QACV,UAAU,EAAE,cAAI,CAAC,KAAK,CAAC,cAAI,CAAC,MAAM,EAAE,CAAC;KACtC,CAAC;IACF,2BAAkB;IAClB,IAAA,uBAAc,EAAC,cAAI,CAAC,OAAO,EAAE,EAAE,4BAAY,CAAC,OAAO,CAAC;CACrD,CAAC,CAAA"}
|