@activepieces/shared
Advanced tools
Comparing version 0.3.17 to 0.3.18
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.17", | ||
"version": "0.3.18", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -37,3 +37,2 @@ export * from "./lib/flows/actions/action"; | ||
export { Trigger, EmptyTrigger, PieceTriggerSettings, PieceTrigger, WebhookTrigger, TriggerType } from './lib/flows/triggers/trigger'; | ||
export { Collection, CollectionId, CollectionListDto, CollectionStatus } from './lib/collections/collection'; | ||
export { FlowVersion, FlowVersionState, FlowVersionId } from './lib/flows/flow-version'; | ||
@@ -46,6 +45,3 @@ export { Flow, FlowId } from './lib/flows/flow'; | ||
export { Project, ProjectId } from './lib/project/project'; | ||
export { ListCollectionsRequest, } from './lib/collections/dto/list-collections-request'; | ||
export { ListFlowsRequest } from './lib/flows/dto/list-flows-request'; | ||
export { CreateCollectionRequest } from './lib/collections/dto/create-collection-request'; | ||
export { UpdateCollectionRequest } from './lib/collections/dto/update-collection-request'; | ||
export * from './lib/flows/dto/create-flow-request'; | ||
@@ -58,2 +54,6 @@ export { CloneFlowVersionRequest } from './lib/flows/dto/clone-flow-version-request'; | ||
export { SampleDataSettings } from './lib/flows/sample-data'; | ||
export * from './lib/flows/dto/count-flows-request'; | ||
export * from './lib/common/base-model'; | ||
export * from './lib/flows/flow-instances'; | ||
export * from "./lib/flows/folders/folder"; | ||
export * from "./lib/flows/folders/folder-requests"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ApId = exports.apId = exports.UpdateCollectionRequest = exports.CreateCollectionRequest = exports.ListFlowsRequest = exports.ListCollectionsRequest = exports.ExecutionState = exports.RunEnvironment = exports.FlowVersionState = exports.CollectionStatus = exports.CollectionListDto = exports.Collection = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.CreateFlowRunRequest = exports.CodeActionSettings = exports.ActionType = exports.Action = exports.LoopOnItemsActionSettings = exports.PieceActionSettings = exports.PrincipalType = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.CodeRunStatus = exports.StepOutputStatus = void 0; | ||
exports.ApId = exports.apId = exports.ListFlowsRequest = exports.ExecutionState = exports.RunEnvironment = exports.FlowVersionState = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.CreateFlowRunRequest = exports.CodeActionSettings = exports.ActionType = exports.Action = exports.LoopOnItemsActionSettings = exports.PieceActionSettings = exports.PrincipalType = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.CodeRunStatus = exports.StepOutputStatus = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -55,6 +55,2 @@ tslib_1.__exportStar(require("./lib/flows/actions/action"), exports); | ||
Object.defineProperty(exports, "TriggerType", { enumerable: true, get: function () { return trigger_1.TriggerType; } }); | ||
var collection_1 = require("./lib/collections/collection"); | ||
Object.defineProperty(exports, "Collection", { enumerable: true, get: function () { return collection_1.Collection; } }); | ||
Object.defineProperty(exports, "CollectionListDto", { enumerable: true, get: function () { return collection_1.CollectionListDto; } }); | ||
Object.defineProperty(exports, "CollectionStatus", { enumerable: true, get: function () { return collection_1.CollectionStatus; } }); | ||
var flow_version_1 = require("./lib/flows/flow-version"); | ||
@@ -67,10 +63,4 @@ Object.defineProperty(exports, "FlowVersionState", { enumerable: true, get: function () { return flow_version_1.FlowVersionState; } }); | ||
Object.defineProperty(exports, "ExecutionState", { enumerable: true, get: function () { return execution_state_1.ExecutionState; } }); | ||
var list_collections_request_1 = require("./lib/collections/dto/list-collections-request"); | ||
Object.defineProperty(exports, "ListCollectionsRequest", { enumerable: true, get: function () { return list_collections_request_1.ListCollectionsRequest; } }); | ||
var list_flows_request_1 = require("./lib/flows/dto/list-flows-request"); | ||
Object.defineProperty(exports, "ListFlowsRequest", { enumerable: true, get: function () { return list_flows_request_1.ListFlowsRequest; } }); | ||
var create_collection_request_1 = require("./lib/collections/dto/create-collection-request"); | ||
Object.defineProperty(exports, "CreateCollectionRequest", { enumerable: true, get: function () { return create_collection_request_1.CreateCollectionRequest; } }); | ||
var update_collection_request_1 = require("./lib/collections/dto/update-collection-request"); | ||
Object.defineProperty(exports, "UpdateCollectionRequest", { enumerable: true, get: function () { return update_collection_request_1.UpdateCollectionRequest; } }); | ||
tslib_1.__exportStar(require("./lib/flows/dto/create-flow-request"), exports); | ||
@@ -82,3 +72,7 @@ var id_generator_1 = require("./lib/common/id-generator"); | ||
tslib_1.__exportStar(require("./lib/flows/trigger-events/trigger-event"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/dto/count-flows-request"), exports); | ||
tslib_1.__exportStar(require("./lib/common/base-model"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/flow-instances"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/folders/folder"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/folders/folder-requests"), exports); | ||
const system_1 = require("@sinclair/typebox/system"); | ||
@@ -85,0 +79,0 @@ // Look at https://github.com/sinclairzx81/typebox/issues/350 |
import { ApId } from '../../common/id-generator'; | ||
import { PrincipalType } from './principal-type'; | ||
import { CollectionId } from "../../collections/collection"; | ||
import { ProjectId } from '../../project/project'; | ||
@@ -10,3 +9,2 @@ export declare type Principal = WorkerPrincipal | UserPrincipal; | ||
export interface WorkerPrincipal extends BasePrincipal<PrincipalType.WORKER> { | ||
collectionId: CollectionId; | ||
projectId: ProjectId; | ||
@@ -13,0 +11,0 @@ } |
import { AppConnectionId } from "../app-connection/app-connection"; | ||
import { CollectionId } from "../collections/collection"; | ||
import { FileId } from "../file/file"; | ||
@@ -13,3 +12,3 @@ import { FlowRunId } from "../flow-run/flow-run"; | ||
} | ||
declare type ErrorParams = CollectionNotFoundErrorParams | ConfigNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | InstanceNotFoundErrorParams | InvalidBearerTokenParams | InvalidCredentialsErrorParams | JobRemovalFailureErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | StepNotFoundErrorParams | AppConnectionNotFoundErrorParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidJwtTokenErrorParams | TaskQuotaExeceededErrorParams | TriggerFailedErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | OpenAiFailedErrorParams | TestTriggerFailedErrorParams | FlowOperationErrorParams | EntityNotFoundErrorParams | ValidationErrorParams; | ||
declare type ErrorParams = ConfigNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowNotFoundErrorParams | FlowRunNotFoundErrorParams | FlowVersionNotFoundErrorParams | FlowInstanceNotFoundErrorParams | InvalidBearerTokenParams | InvalidCredentialsErrorParams | JobRemovalFailureErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | StepNotFoundErrorParams | AppConnectionNotFoundErrorParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidJwtTokenErrorParams | TaskQuotaExeceededErrorParams | TriggerFailedErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | OpenAiFailedErrorParams | TestTriggerFailedErrorParams | FlowOperationErrorParams | EntityNotFoundErrorParams | ValidationErrorParams; | ||
export interface BaseErrorParams<T, V> { | ||
@@ -40,10 +39,6 @@ code: T; | ||
}>; | ||
export declare type CollectionNotFoundErrorParams = BaseErrorParams<ErrorCode.COLLECTION_NOT_FOUND, { | ||
id: CollectionId; | ||
}>; | ||
export declare type InstanceNotFoundErrorParams = BaseErrorParams<ErrorCode.INSTANCE_NOT_FOUND, { | ||
export declare type FlowInstanceNotFoundErrorParams = BaseErrorParams<ErrorCode.FLOW_INSTANCE_NOT_FOUND, { | ||
id?: InstanceId; | ||
collectionId?: CollectionId; | ||
}>; | ||
export declare type FlowRunNotFoundErrorParams = BaseErrorParams<ErrorCode.INSTANCE_NOT_FOUND, { | ||
export declare type FlowRunNotFoundErrorParams = BaseErrorParams<ErrorCode.FLOW_RUN_NOT_FOUND, { | ||
id: FlowRunId; | ||
@@ -110,4 +105,2 @@ }>; | ||
export declare enum ErrorCode { | ||
COLLECTION_NOT_FOUND = "COLLECTION_NOT_FOUND", | ||
COLLECTION_VERSION_NOT_FOUND = "COLLECTION_VERSION_NOT_FOUND", | ||
CONFIG_NOT_FOUND = "CONFIG_NOT_FOUND", | ||
@@ -120,3 +113,3 @@ EXISTING_USER = "EXISTING_USER", | ||
FLOW_VERSION_NOT_FOUND = "FLOW_VERSION_NOT_FOUND", | ||
INSTANCE_NOT_FOUND = "INSTANCE_NOT_FOUND", | ||
FLOW_INSTANCE_NOT_FOUND = "INSTANCE_NOT_FOUND", | ||
INVALID_BEARER_TOKEN = "INVALID_BEARER_TOKEN", | ||
@@ -123,0 +116,0 @@ INVALID_CREDENTIALS = "INVALID_CREDENTIALS", |
@@ -13,4 +13,2 @@ "use strict"; | ||
(function (ErrorCode) { | ||
ErrorCode["COLLECTION_NOT_FOUND"] = "COLLECTION_NOT_FOUND"; | ||
ErrorCode["COLLECTION_VERSION_NOT_FOUND"] = "COLLECTION_VERSION_NOT_FOUND"; | ||
ErrorCode["CONFIG_NOT_FOUND"] = "CONFIG_NOT_FOUND"; | ||
@@ -23,3 +21,3 @@ ErrorCode["EXISTING_USER"] = "EXISTING_USER"; | ||
ErrorCode["FLOW_VERSION_NOT_FOUND"] = "FLOW_VERSION_NOT_FOUND"; | ||
ErrorCode["INSTANCE_NOT_FOUND"] = "INSTANCE_NOT_FOUND"; | ||
ErrorCode["FLOW_INSTANCE_NOT_FOUND"] = "INSTANCE_NOT_FOUND"; | ||
ErrorCode["INVALID_BEARER_TOKEN"] = "INVALID_BEARER_TOKEN"; | ||
@@ -26,0 +24,0 @@ ErrorCode["INVALID_CREDENTIALS"] = "INVALID_CREDENTIALS"; |
@@ -1,2 +0,1 @@ | ||
import { CollectionId } from "../collections/collection"; | ||
import { RunEnvironment } from "../flow-run/flow-run"; | ||
@@ -6,12 +5,3 @@ import { FlowId } from "../flows/flow"; | ||
import { UserId } from "../user/user"; | ||
interface CollectionCreated { | ||
collectionId: CollectionId; | ||
projectId: ProjectId; | ||
} | ||
interface CollectionEnabled { | ||
collectionId: CollectionId; | ||
projectId: ProjectId; | ||
} | ||
interface FlowCreated { | ||
collectionId: CollectionId; | ||
flowId: FlowId; | ||
@@ -22,5 +12,7 @@ } | ||
flowId: FlowId; | ||
collectionId: CollectionId; | ||
environment: RunEnvironment; | ||
} | ||
interface FlowPublished { | ||
flowId: FlowId; | ||
} | ||
interface SignedUp { | ||
@@ -34,7 +26,6 @@ userId: UserId; | ||
export declare enum TelemetryEventName { | ||
COLLECTION_ENABLED = "collection.enabled", | ||
SIGNED_UP = "signed.up", | ||
FLOW_CREATED = "flow.created", | ||
COLLECTION_CREATED = "collection.created", | ||
FLOW_RUN_CREATED = "run.created" | ||
FLOW_RUN_CREATED = "run.created", | ||
FLOW_PUBLISHED = "flow.published" | ||
} | ||
@@ -45,3 +36,3 @@ interface BaseTelemetryEvent<T, P> { | ||
} | ||
export declare type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.COLLECTION_CREATED, CollectionCreated> | BaseTelemetryEvent<TelemetryEventName.COLLECTION_ENABLED, CollectionEnabled> | BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.FLOW_RUN_CREATED, RunCreated> | BaseTelemetryEvent<TelemetryEventName.FLOW_CREATED, FlowCreated>; | ||
export declare type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.FLOW_RUN_CREATED, RunCreated> | BaseTelemetryEvent<TelemetryEventName.FLOW_PUBLISHED, FlowPublished> | BaseTelemetryEvent<TelemetryEventName.FLOW_CREATED, FlowCreated>; | ||
export {}; |
@@ -6,8 +6,7 @@ "use strict"; | ||
(function (TelemetryEventName) { | ||
TelemetryEventName["COLLECTION_ENABLED"] = "collection.enabled"; | ||
TelemetryEventName["SIGNED_UP"] = "signed.up"; | ||
TelemetryEventName["FLOW_CREATED"] = "flow.created"; | ||
TelemetryEventName["COLLECTION_CREATED"] = "collection.created"; | ||
TelemetryEventName["FLOW_RUN_CREATED"] = "run.created"; | ||
TelemetryEventName["FLOW_PUBLISHED"] = "flow.published"; | ||
})(TelemetryEventName = exports.TelemetryEventName || (exports.TelemetryEventName = {})); | ||
//# sourceMappingURL=telemetry.js.map |
@@ -1,2 +0,1 @@ | ||
import { CollectionId } from "../collections/collection"; | ||
import { FlowVersion, FlowVersionId } from "../flows/flow-version"; | ||
@@ -24,3 +23,2 @@ import { ProjectId } from "../project/project"; | ||
projectId: ProjectId; | ||
collectionId: CollectionId; | ||
workerToken?: string; | ||
@@ -36,3 +34,2 @@ apiUrl?: string; | ||
projectId: ProjectId; | ||
collectionId: CollectionId; | ||
apiUrl?: string; | ||
@@ -43,3 +40,2 @@ workerToken?: string; | ||
flowVersionId: FlowVersionId; | ||
collectionId: CollectionId; | ||
projectId: ProjectId; | ||
@@ -56,3 +52,2 @@ triggerPayload: unknown; | ||
projectId: ProjectId; | ||
collectionId: CollectionId; | ||
workerToken?: string; | ||
@@ -59,0 +54,0 @@ apiUrl?: string; |
@@ -5,4 +5,3 @@ import { Static } from '@sinclair/typebox'; | ||
payload: import("@sinclair/typebox").TAny; | ||
collectionId: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export declare type CreateFlowRunRequest = Static<typeof CreateFlowRunRequest>; |
@@ -8,4 +8,3 @@ "use strict"; | ||
payload: typebox_1.Type.Any(), | ||
collectionId: typebox_1.Type.String(), | ||
}); | ||
//# sourceMappingURL=create-flow-run-request.js.map |
@@ -5,3 +5,2 @@ import { BaseModel } from '../common/base-model'; | ||
import { FileId } from '../file/file'; | ||
import { CollectionId } from '../collections/collection'; | ||
import { ApId } from '../common/id-generator'; | ||
@@ -15,6 +14,4 @@ import { ExecutionOutput, ExecutionOutputStatus } from './execution/execution-output'; | ||
flowId: FlowId; | ||
collectionId: CollectionId; | ||
flowVersionId: FlowVersionId; | ||
flowDisplayName: string; | ||
collectionDisplayName: string; | ||
logsFileId: FileId | null; | ||
@@ -21,0 +18,0 @@ status: ExecutionOutputStatus; |
import { Static } from "@sinclair/typebox"; | ||
import { CollectionId } from "../../collections/collection"; | ||
export declare const CreateFlowRequest: import("@sinclair/typebox").TObject<{ | ||
displayName: import("@sinclair/typebox").TString<string>; | ||
collectionId: import("@sinclair/typebox").TString<string>; | ||
folderId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export declare type CreateFlowRequest = Omit<Static<typeof CreateFlowRequest>, "collectionId"> & { | ||
collectionId: CollectionId; | ||
}; | ||
export declare type CreateFlowRequest = Static<typeof CreateFlowRequest>; | ||
export declare const GuessFlowRequest: import("@sinclair/typebox").TObject<{ | ||
prompt: import("@sinclair/typebox").TString<string>; | ||
displayName: import("@sinclair/typebox").TString<string>; | ||
collectionId: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export declare type GuessFlowRequest = Static<typeof GuessFlowRequest>; |
@@ -7,9 +7,8 @@ "use strict"; | ||
displayName: typebox_1.Type.String({}), | ||
collectionId: typebox_1.Type.String({}) | ||
folderId: typebox_1.Type.Optional(typebox_1.Type.String({})) | ||
}); | ||
exports.GuessFlowRequest = typebox_1.Type.Object({ | ||
prompt: typebox_1.Type.String({}), | ||
displayName: typebox_1.Type.String({}), | ||
collectionId: typebox_1.Type.String({}), | ||
displayName: typebox_1.Type.String({}) | ||
}); | ||
//# sourceMappingURL=create-flow-request.js.map |
import { Static } from "@sinclair/typebox"; | ||
import { CollectionId } from "../../collections/collection"; | ||
import { Cursor } from "../../common/seek-page"; | ||
export declare const ListFlowsRequest: import("@sinclair/typebox").TObject<{ | ||
collectionId: import("@sinclair/typebox").TString<string>; | ||
folderId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>; | ||
cursor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export declare type ListFlowsRequest = Omit<Omit<Static<typeof ListFlowsRequest>, "collectionId">, "cursor"> & { | ||
collectionId: CollectionId; | ||
export declare type ListFlowsRequest = Omit<Static<typeof ListFlowsRequest>, "cursor"> & { | ||
cursor: Cursor | undefined; | ||
}; |
@@ -6,3 +6,3 @@ "use strict"; | ||
exports.ListFlowsRequest = typebox_1.Type.Object({ | ||
collectionId: typebox_1.Type.String({}), | ||
folderId: typebox_1.Type.Optional(typebox_1.Type.String()), | ||
limit: typebox_1.Type.Optional(typebox_1.Type.Number({})), | ||
@@ -9,0 +9,0 @@ cursor: typebox_1.Type.Optional(typebox_1.Type.String({})), |
import { Static } from "@sinclair/typebox"; | ||
export declare enum FlowOperationType { | ||
CHANGE_FOLDER = "CHANGE_FOLDER", | ||
CHANGE_NAME = "CHANGE_NAME", | ||
@@ -16,2 +17,6 @@ IMPORT_FLOW = "IMPORT_FLOW", | ||
} | ||
export declare const ChangeFolderRequest: import("@sinclair/typebox").TObject<{ | ||
folderId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export declare type ChangeFolderRequest = Static<typeof ChangeFolderRequest>; | ||
export declare const ChangeNameRequest: import("@sinclair/typebox").TObject<{ | ||
@@ -348,3 +353,8 @@ displayName: import("@sinclair/typebox").TString<string>; | ||
}>]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
type: import("@sinclair/typebox").TLiteral<FlowOperationType.CHANGE_FOLDER>; | ||
request: import("@sinclair/typebox").TObject<{ | ||
folderId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
}>]>; | ||
export declare type FlowOperationRequest = Static<typeof FlowOperationRequest>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FlowOperationRequest = exports.UpdateTriggerRequest = exports.AddActionRequest = exports.UpdateActionRequest = exports.DeleteActionRequest = exports.ChangeNameRequest = exports.StepLocationRelativeToParent = exports.FlowOperationType = void 0; | ||
exports.FlowOperationRequest = exports.UpdateTriggerRequest = exports.AddActionRequest = exports.UpdateActionRequest = exports.DeleteActionRequest = exports.ChangeNameRequest = exports.ChangeFolderRequest = exports.StepLocationRelativeToParent = exports.FlowOperationType = void 0; | ||
const action_1 = require("./actions/action"); | ||
@@ -9,2 +9,3 @@ const trigger_1 = require("./triggers/trigger"); | ||
(function (FlowOperationType) { | ||
FlowOperationType["CHANGE_FOLDER"] = "CHANGE_FOLDER"; | ||
FlowOperationType["CHANGE_NAME"] = "CHANGE_NAME"; | ||
@@ -24,2 +25,5 @@ FlowOperationType["IMPORT_FLOW"] = "IMPORT_FLOW"; | ||
})(StepLocationRelativeToParent = exports.StepLocationRelativeToParent || (exports.StepLocationRelativeToParent = {})); | ||
exports.ChangeFolderRequest = typebox_1.Type.Object({ | ||
folderId: typebox_1.Type.Optional(typebox_1.Type.String({})), | ||
}); | ||
exports.ChangeNameRequest = typebox_1.Type.Object({ | ||
@@ -58,4 +62,8 @@ displayName: typebox_1.Type.String({}), | ||
request: exports.UpdateTriggerRequest | ||
}), | ||
typebox_1.Type.Object({ | ||
type: typebox_1.Type.Literal(FlowOperationType.CHANGE_FOLDER), | ||
request: exports.ChangeFolderRequest | ||
}) | ||
]); | ||
//# sourceMappingURL=flow-operations.js.map |
import { BaseModel } from "../common/base-model"; | ||
import { CollectionId } from "../collections/collection"; | ||
import { ApId } from "../common/id-generator"; | ||
import { FlowVersion } from "./flow-version"; | ||
import { ProjectId } from "../project/project"; | ||
import { FolderId } from "./folders/folder"; | ||
import { FlowInstanceStatus } from "./flow-instances"; | ||
export declare type FlowId = ApId; | ||
export interface Flow extends BaseModel<FlowId> { | ||
projectId: ProjectId; | ||
collectionId: CollectionId; | ||
folderId?: FolderId | null; | ||
version: FlowVersion; | ||
status: FlowInstanceStatus; | ||
} |
export declare const CreateStepRunRequestBody: import("@sinclair/typebox").TObject<{ | ||
collectionId: import("@sinclair/typebox").TString<string>; | ||
flowVersionId: import("@sinclair/typebox").TString<string>; | ||
stepName: import("@sinclair/typebox").TString<string>; | ||
}>; |
@@ -6,3 +6,2 @@ "use strict"; | ||
exports.CreateStepRunRequestBody = typebox_1.Type.Object({ | ||
collectionId: typebox_1.Type.String(), | ||
flowVersionId: typebox_1.Type.String(), | ||
@@ -9,0 +8,0 @@ stepName: typebox_1.Type.String(), |
@@ -1,2 +0,1 @@ | ||
export * from './dto'; | ||
export * from './model'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./dto"), exports); | ||
tslib_1.__exportStar(require("./model"), exports); | ||
//# sourceMappingURL=index.js.map |
import { BaseModel } from "../../common/base-model"; | ||
import { CollectionId } from "../../collections/collection"; | ||
import { FlowVersionId } from "../../flows/flow-version"; | ||
@@ -10,3 +9,2 @@ import { ProjectId } from "../../project/project"; | ||
projectId: ProjectId; | ||
collectionId: CollectionId; | ||
flowIdToVersionId: Record<FlowId, FlowVersionId>; | ||
@@ -13,0 +11,0 @@ status: InstanceStatus; |
@@ -7,4 +7,3 @@ import { Static } from "@sinclair/typebox"; | ||
input: import("@sinclair/typebox").TAny; | ||
collectionId: import("@sinclair/typebox").TString<string>; | ||
}>; | ||
export declare type PieceOptionRequest = Static<typeof PieceOptionRequest>; |
@@ -10,5 +10,4 @@ "use strict"; | ||
propertyName: typebox_1.Type.String({}), | ||
input: typebox_1.Type.Any({}), | ||
collectionId: typebox_1.Type.String({}), | ||
input: typebox_1.Type.Any({}) | ||
}); | ||
//# sourceMappingURL=piece-option-request.js.map |
import { BaseModel } from "../common/base-model"; | ||
import { ApId } from "../common/id-generator"; | ||
import { CollectionId } from "../collections/collection"; | ||
import { ProjectId } from "../project/project"; | ||
export declare type StoreEntryId = ApId; | ||
export interface StoreEntry extends BaseModel<StoreEntryId> { | ||
key: string; | ||
collectionId: CollectionId; | ||
projectId: ProjectId; | ||
value: unknown; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
197689
2889