Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@taskmagic/pieces-framework

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taskmagic/pieces-framework - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

src/lib/property/checkbox-property.d.ts

4

package.json
{
"name": "@taskmagic/pieces-framework",
"version": "1.0.7",
"version": "1.0.8",
"type": "commonjs",

@@ -14,5 +14,5 @@ "dependencies": {

"@taskmagic/shared": "0.10.30",
"tslib": "2.6.1"
"tslib": "2.6.2"
},
"main": "./src/index.js"
}

@@ -0,1 +1,2 @@

import { Static } from '@sinclair/typebox';
import { ActionContext } from '../context';

@@ -5,2 +6,13 @@ import { ActionBase } from '../piece-metadata';

export type ActionRunner<PieceAuth extends PieceAuthProperty, ActionProps extends NonAuthPiecePropertyMap> = (ctx: ActionContext<PieceAuth, ActionProps>) => Promise<unknown | void>;
export declare const ErrorHandlingOptionsParam: import("@sinclair/typebox").TObject<{
retryOnFailure: import("@sinclair/typebox").TObject<{
defaultValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
hide: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
}>;
continueOnFailure: import("@sinclair/typebox").TObject<{
defaultValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
hide: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
}>;
}>;
export type ErrorHandlingOptionsParam = Static<typeof ErrorHandlingOptionsParam>;
type CreateActionParams<PieceAuth extends PieceAuthProperty, ActionProps extends NonAuthPiecePropertyMap> = {

@@ -18,2 +30,3 @@ /**

requireAuth?: boolean;
errorHandlingOptions?: ErrorHandlingOptionsParam;
};

@@ -20,0 +33,0 @@ export declare class IAction<PieceAuth extends PieceAuthProperty, ActionProps extends NonAuthPiecePropertyMap> implements ActionBase {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createAction = exports.IAction = void 0;
exports.createAction = exports.IAction = exports.ErrorHandlingOptionsParam = void 0;
const typebox_1 = require("@sinclair/typebox");
exports.ErrorHandlingOptionsParam = typebox_1.Type.Object({
retryOnFailure: typebox_1.Type.Object({
defaultValue: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
hide: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
}),
continueOnFailure: typebox_1.Type.Object({
defaultValue: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
hide: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
}),
});
class IAction {

@@ -5,0 +16,0 @@ constructor(name, displayName, description, props, run, test, requireAuth) {

@@ -41,3 +41,3 @@ import { TestOrRunHookContext, TriggerHookContext } from '../context';

requireAuth?: boolean;
sampleData: unknown;
sampleData?: any;
};

@@ -44,0 +44,0 @@ export declare class ITrigger<TS extends TriggerStrategy, PieceAuth extends PieceAuthProperty, TriggerProps extends NonAuthPiecePropertyMap> implements TriggerBase {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc