@activepieces/shared
Advanced tools
Comparing version 0.10.94 to 0.10.95
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.94", | ||
"version": "0.10.95", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -44,2 +44,3 @@ import { Static } from '@sinclair/typebox'; | ||
export declare const FlowRunResponse: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{ | ||
status: import("@sinclair/typebox").TLiteral<FlowRunStatus.PAUSED>; | ||
pauseMetadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{ | ||
@@ -66,4 +67,4 @@ type: import("@sinclair/typebox").TLiteral<PauseType.DELAY>; | ||
steps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TUnknown>; | ||
status: import("@sinclair/typebox").TLiteral<FlowRunStatus.PAUSED>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<FlowRunStatus.FAILED>, import("@sinclair/typebox").TLiteral<FlowRunStatus.SUCCEEDED>, import("@sinclair/typebox").TLiteral<FlowRunStatus.RUNNING>, import("@sinclair/typebox").TLiteral<FlowRunStatus.QUOTA_EXCEEDED>, import("@sinclair/typebox").TLiteral<FlowRunStatus.TIMEOUT>, import("@sinclair/typebox").TLiteral<FlowRunStatus.INTERNAL_ERROR>, import("@sinclair/typebox").TLiteral<FlowRunStatus.STOPPED>]>; | ||
duration: import("@sinclair/typebox").TNumber; | ||
@@ -82,4 +83,3 @@ tasks: import("@sinclair/typebox").TNumber; | ||
steps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TUnknown>; | ||
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<FlowRunStatus.FAILED>, import("@sinclair/typebox").TLiteral<FlowRunStatus.SUCCEEDED>, import("@sinclair/typebox").TLiteral<FlowRunStatus.RUNNING>, import("@sinclair/typebox").TLiteral<FlowRunStatus.QUOTA_EXCEEDED>, import("@sinclair/typebox").TLiteral<FlowRunStatus.TIMEOUT>, import("@sinclair/typebox").TLiteral<FlowRunStatus.INTERNAL_ERROR>, import("@sinclair/typebox").TLiteral<FlowRunStatus.STOPPED>]>; | ||
}>]>; | ||
export type FlowRunResponse = Static<typeof FlowRunResponse> & ExecutionState; |
@@ -37,3 +37,3 @@ "use strict"; | ||
}); | ||
const BaseExecutiionResponse = Object.assign(Object.assign({}, execution_output_1.ExecutionState), { duration: typebox_1.Type.Number(), tasks: typebox_1.Type.Number(), tags: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())), error: typebox_1.Type.Optional(typebox_1.Type.Object({ | ||
const BaseExecutionResponse = Object.assign(Object.assign({}, execution_output_1.ExecutionState), { duration: typebox_1.Type.Number(), tasks: typebox_1.Type.Number(), tags: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())), error: typebox_1.Type.Optional(typebox_1.Type.Object({ | ||
stepName: typebox_1.Type.String(), | ||
@@ -43,4 +43,4 @@ message: typebox_1.Type.String(), | ||
exports.FlowRunResponse = typebox_1.Type.Union([ | ||
typebox_1.Type.Object(Object.assign(Object.assign({ status: typebox_1.Type.Literal(FlowRunStatus.PAUSED) }, BaseExecutiionResponse), { pauseMetadata: typebox_1.Type.Optional(exports.PauseMetadata) })), | ||
typebox_1.Type.Object(Object.assign({ status: typebox_1.Type.Union([typebox_1.Type.Literal(FlowRunStatus.FAILED), | ||
typebox_1.Type.Object(Object.assign(Object.assign({}, BaseExecutionResponse), { status: typebox_1.Type.Literal(FlowRunStatus.PAUSED), pauseMetadata: typebox_1.Type.Optional(exports.PauseMetadata) })), | ||
typebox_1.Type.Object(Object.assign(Object.assign({}, BaseExecutionResponse), { status: typebox_1.Type.Union([typebox_1.Type.Literal(FlowRunStatus.FAILED), | ||
typebox_1.Type.Literal(FlowRunStatus.SUCCEEDED), | ||
@@ -52,4 +52,4 @@ typebox_1.Type.Literal(FlowRunStatus.RUNNING), | ||
typebox_1.Type.Literal(FlowRunStatus.STOPPED), | ||
]) }, BaseExecutiionResponse)), | ||
]) })), | ||
]); | ||
//# sourceMappingURL=flow-execution.js.map |
@@ -11,5 +11,5 @@ import { Static } from '@sinclair/typebox'; | ||
export type GetStoreEntryRequest = Static<typeof GetStoreEntryRequest>; | ||
export declare const DeletStoreEntryRequest: import("@sinclair/typebox").TObject<{ | ||
export declare const DeleteStoreEntryRequest: import("@sinclair/typebox").TObject<{ | ||
key: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export type DeletStoreEntryRequest = Static<typeof DeletStoreEntryRequest>; | ||
export type DeleteStoreEntryRequest = Static<typeof DeleteStoreEntryRequest>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DeletStoreEntryRequest = exports.GetStoreEntryRequest = exports.PutStoreEntryRequest = void 0; | ||
exports.DeleteStoreEntryRequest = exports.GetStoreEntryRequest = exports.PutStoreEntryRequest = void 0; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
@@ -15,5 +15,5 @@ const store_entry_1 = require("../store-entry"); | ||
}); | ||
exports.DeletStoreEntryRequest = typebox_1.Type.Object({ | ||
exports.DeleteStoreEntryRequest = typebox_1.Type.Object({ | ||
key: typebox_1.Type.String({}), | ||
}); | ||
//# sourceMappingURL=store-entry-request.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
482250