@activepieces/pieces-framework 0.18.4 → 0.18.5
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/piece-metadata.d.ts +5 -5
- package/src/lib/property/authentication/custom-auth-prop.d.ts +2 -2
- package/src/lib/property/authentication/custom-auth-prop.js.map +1 -1
- package/src/lib/property/authentication/index.js +1 -1
- package/src/lib/property/authentication/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/pieces-framework",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@sinclair/typebox": "0.34.11",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"fast-glob": "3.3.3",
|
|
9
9
|
"nanoid": "3.3.8",
|
|
10
10
|
"semver": "7.6.0",
|
|
11
|
-
"@activepieces/shared": "0.
|
|
11
|
+
"@activepieces/shared": "0.20.0",
|
|
12
12
|
"tslib": "2.8.1"
|
|
13
13
|
},
|
|
14
14
|
"overrides": {
|
|
@@ -706,11 +706,11 @@ export declare const TriggerBase: import("@sinclair/typebox").TObject<{
|
|
|
706
706
|
}>;
|
|
707
707
|
}>>;
|
|
708
708
|
type: import("@sinclair/typebox").TEnum<typeof TriggerStrategy>;
|
|
709
|
+
sampleData: import("@sinclair/typebox").TUnknown;
|
|
709
710
|
handshakeConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
710
711
|
strategy: import("@sinclair/typebox").TEnum<typeof import("@activepieces/shared").WebhookHandshakeStrategy>;
|
|
711
712
|
paramName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
712
713
|
}>>;
|
|
713
|
-
sampleData: import("@sinclair/typebox").TUnknown;
|
|
714
714
|
renewConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
715
715
|
strategy: import("@sinclair/typebox").TLiteral<import("./trigger/trigger").WebhookRenewStrategy.CRON>;
|
|
716
716
|
cronExpression: import("@sinclair/typebox").TString;
|
|
@@ -1389,11 +1389,11 @@ export declare const PieceMetadata: import("@sinclair/typebox").TObject<{
|
|
|
1389
1389
|
}>;
|
|
1390
1390
|
}>>;
|
|
1391
1391
|
type: import("@sinclair/typebox").TEnum<typeof TriggerStrategy>;
|
|
1392
|
+
sampleData: import("@sinclair/typebox").TUnknown;
|
|
1392
1393
|
handshakeConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1393
1394
|
strategy: import("@sinclair/typebox").TEnum<typeof import("@activepieces/shared").WebhookHandshakeStrategy>;
|
|
1394
1395
|
paramName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1395
1396
|
}>>;
|
|
1396
|
-
sampleData: import("@sinclair/typebox").TUnknown;
|
|
1397
1397
|
renewConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
1398
1398
|
strategy: import("@sinclair/typebox").TLiteral<import("./trigger/trigger").WebhookRenewStrategy.CRON>;
|
|
1399
1399
|
cronExpression: import("@sinclair/typebox").TString;
|
|
@@ -1801,11 +1801,11 @@ export declare const PieceMetadataSummary: import("@sinclair/typebox").TObject<{
|
|
|
1801
1801
|
}>;
|
|
1802
1802
|
}>>;
|
|
1803
1803
|
type: import("@sinclair/typebox").TEnum<typeof TriggerStrategy>;
|
|
1804
|
+
sampleData: import("@sinclair/typebox").TUnknown;
|
|
1804
1805
|
handshakeConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1805
1806
|
strategy: import("@sinclair/typebox").TEnum<typeof import("@activepieces/shared").WebhookHandshakeStrategy>;
|
|
1806
1807
|
paramName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1807
1808
|
}>>;
|
|
1808
|
-
sampleData: import("@sinclair/typebox").TUnknown;
|
|
1809
1809
|
renewConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
1810
1810
|
strategy: import("@sinclair/typebox").TLiteral<import("./trigger/trigger").WebhookRenewStrategy.CRON>;
|
|
1811
1811
|
cronExpression: import("@sinclair/typebox").TString;
|
|
@@ -2763,11 +2763,11 @@ export declare const PieceMetadataModel: import("@sinclair/typebox").TObject<{
|
|
|
2763
2763
|
}>;
|
|
2764
2764
|
}>>;
|
|
2765
2765
|
type: import("@sinclair/typebox").TEnum<typeof TriggerStrategy>;
|
|
2766
|
+
sampleData: import("@sinclair/typebox").TUnknown;
|
|
2766
2767
|
handshakeConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2767
2768
|
strategy: import("@sinclair/typebox").TEnum<typeof import("@activepieces/shared").WebhookHandshakeStrategy>;
|
|
2768
2769
|
paramName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2769
2770
|
}>>;
|
|
2770
|
-
sampleData: import("@sinclair/typebox").TUnknown;
|
|
2771
2771
|
renewConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
2772
2772
|
strategy: import("@sinclair/typebox").TLiteral<import("./trigger/trigger").WebhookRenewStrategy.CRON>;
|
|
2773
2773
|
cronExpression: import("@sinclair/typebox").TString;
|
|
@@ -3177,11 +3177,11 @@ export declare const PieceMetadataModelSummary: import("@sinclair/typebox").TObj
|
|
|
3177
3177
|
}>;
|
|
3178
3178
|
}>>;
|
|
3179
3179
|
type: import("@sinclair/typebox").TEnum<typeof TriggerStrategy>;
|
|
3180
|
+
sampleData: import("@sinclair/typebox").TUnknown;
|
|
3180
3181
|
handshakeConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
3181
3182
|
strategy: import("@sinclair/typebox").TEnum<typeof import("@activepieces/shared").WebhookHandshakeStrategy>;
|
|
3182
3183
|
paramName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
3183
3184
|
}>>;
|
|
3184
|
-
sampleData: import("@sinclair/typebox").TUnknown;
|
|
3185
3185
|
renewConfiguration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
3186
3186
|
strategy: import("@sinclair/typebox").TLiteral<import("./trigger/trigger").WebhookRenewStrategy.CRON>;
|
|
3187
3187
|
cronExpression: import("@sinclair/typebox").TString;
|
|
@@ -3,12 +3,12 @@ import { PropertyType } from '../input/property-type';
|
|
|
3
3
|
import { LongTextProperty, ShortTextProperty } from '../input/text-property';
|
|
4
4
|
import { NumberProperty } from '../input/number-property';
|
|
5
5
|
import { CheckboxProperty } from '../input/checkbox-property';
|
|
6
|
-
import { StaticDropdownProperty } from '../input/dropdown/static-dropdown';
|
|
6
|
+
import { StaticDropdownProperty, StaticMultiSelectDropdownProperty } from '../input/dropdown/static-dropdown';
|
|
7
7
|
import { StaticPropsValue } from '..';
|
|
8
8
|
import { SecretTextProperty } from './secret-text-property';
|
|
9
9
|
import { BasePieceAuthSchema } from './common';
|
|
10
10
|
import { MarkDownProperty } from '../input/markdown-property';
|
|
11
|
-
export type CustomAuthProps = Record<string, ShortTextProperty<boolean> | LongTextProperty<boolean> | SecretTextProperty<boolean> | NumberProperty<boolean> | StaticDropdownProperty<unknown, boolean> | CheckboxProperty<boolean> | MarkDownProperty
|
|
11
|
+
export type CustomAuthProps = Record<string, ShortTextProperty<boolean> | LongTextProperty<boolean> | SecretTextProperty<boolean> | NumberProperty<boolean> | StaticDropdownProperty<unknown, boolean> | CheckboxProperty<boolean> | MarkDownProperty | StaticMultiSelectDropdownProperty<unknown, boolean>>;
|
|
12
12
|
export declare const CustomAuthProperty: import("@sinclair/typebox").TObject<{
|
|
13
13
|
[x: string]: import("@sinclair/typebox").TSchema;
|
|
14
14
|
[x: number]: import("@sinclair/typebox").TSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-auth-prop.js","sourceRoot":"","sources":["../../../../../../../../../packages/pieces/community/framework/src/lib/property/authentication/custom-auth-prop.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,4CAAiD;AACjD,0DAAsD;AACtD,0DAA6E;AAC7E,8DAA0D;AAC1D,kEAA8D;AAC9D,
|
|
1
|
+
{"version":3,"file":"custom-auth-prop.js","sourceRoot":"","sources":["../../../../../../../../../packages/pieces/community/framework/src/lib/property/authentication/custom-auth-prop.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,4CAAiD;AACjD,0DAAsD;AACtD,0DAA6E;AAC7E,8DAA0D;AAC1D,kEAA8D;AAC9D,uEAA8G;AAG9G,qCAA+C;AAG/C,MAAM,eAAe,GAAG,cAAI,CAAC,MAAM,CAAC,cAAI,CAAC,MAAM,EAAE,EAAE,cAAI,CAAC,KAAK,CAAC;IAC5D,iCAAiB;IACjB,gCAAgB;IAChB,gCAAc;IACd,oCAAgB;IAChB,wCAAsB;CACvB,CAAC,CAAC,CAAC;AAcS,QAAA,kBAAkB,GAAG,cAAI,CAAC,SAAS,CAAC;IAC/C,4BAAmB;IACnB,cAAI,CAAC,MAAM,CAAC;QACV,KAAK,EAAE,eAAe;KACvB,CAAC;IACF,IAAA,uBAAc,EAAC,cAAI,CAAC,OAAO,EAAE,EAAE,4BAAY,CAAC,WAAW,CAAC;CACzD,CAAC,CAAA"}
|
|
@@ -15,7 +15,7 @@ exports.PieceAuthProperty = typebox_1.Type.Union([
|
|
|
15
15
|
]);
|
|
16
16
|
exports.PieceAuth = {
|
|
17
17
|
SecretText(request) {
|
|
18
|
-
return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.SECRET_TEXT
|
|
18
|
+
return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.SECRET_TEXT });
|
|
19
19
|
},
|
|
20
20
|
OAuth2(request) {
|
|
21
21
|
return Object.assign(Object.assign({}, request), { valueSchema: undefined, type: property_type_1.PropertyType.OAUTH2, displayName: 'Connection' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/pieces/community/framework/src/lib/property/authentication/index.ts"],"names":[],"mappings":";;;AACA,+CAAyC;AACzC,uDAAsD;AACtD,yDAAyE;AACzE,iEAA4D;AAC5D,0DAAsD;AACtD,+CAA4D;AAE/C,QAAA,iBAAiB,GAAG,cAAI,CAAC,KAAK,CAAC;IAC1C,mCAAiB;IACjB,qCAAkB;IAClB,4BAAc;IACd,yCAAkB;CACnB,CAAC,CAAA;AAYW,QAAA,SAAS,GAAG;IACvB,UAAU,CACR,OAA0C;QAE1C,OAAO,gCACF,OAAO,KACV,WAAW,EAAE,SAAS,EACtB,IAAI,EAAE,4BAAY,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/pieces/community/framework/src/lib/property/authentication/index.ts"],"names":[],"mappings":";;;AACA,+CAAyC;AACzC,uDAAsD;AACtD,yDAAyE;AACzE,iEAA4D;AAC5D,0DAAsD;AACtD,+CAA4D;AAE/C,QAAA,iBAAiB,GAAG,cAAI,CAAC,KAAK,CAAC;IAC1C,mCAAiB;IACjB,qCAAkB;IAClB,4BAAc;IACd,yCAAkB;CACnB,CAAC,CAAA;AAYW,QAAA,SAAS,GAAG;IACvB,UAAU,CACR,OAA0C;QAE1C,OAAO,gCACF,OAAO,KACV,WAAW,EAAE,SAAS,EACtB,IAAI,EAAE,4BAAY,CAAC,WAAW,GACqD,CAAC;IACxF,CAAC;IACD,MAAM,CACJ,OAA0C;QAE1C,OAAO,gCACF,OAAO,KACV,WAAW,EAAE,SAAS,EACtB,IAAI,EAAE,4BAAY,CAAC,MAAM,EACzB,WAAW,EAAE,YAAY,GACM,CAAA;IACnC,CAAC;IACD,SAAS,CACP,OAA0C;QAE1C,OAAO,gCACF,OAAO,KACV,WAAW,EAAE,SAAS,EACtB,IAAI,EAAE,4BAAY,CAAC,UAAU,EAC7B,WAAW,EAAE,YAAY,EACzB,QAAQ,EAAE,IAAI,GACiB,CAAC;IACpC,CAAC;IACD,UAAU,CACR,OAA8C;QAE9C,OAAO,gCACF,OAAO,KACV,WAAW,EAAE,SAAS,EACtB,IAAI,EAAE,4BAAY,CAAC,WAAW,EAC9B,WAAW,EAAE,YAAY,GACU,CAAA;IACvC,CAAC;IACD,IAAI;QACF,OAAO,SAAS,CAAC;IACnB,CAAC;CACF,CAAC"}
|