@uploadista/core 0.0.10 → 0.0.11
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/dist/flow/index.d.cts +2 -2
- package/dist/flow/index.d.mts +2 -2
- package/dist/flow-DEohelFR.mjs.map +1 -1
- package/dist/{index-BQ8Ns-NS.d.mts → index-CDzzqysG.d.mts} +392 -102
- package/dist/index-CDzzqysG.d.mts.map +1 -0
- package/dist/{index-Bg1HsPC1.d.cts → index-DyUMSQeo.d.cts} +392 -102
- package/dist/index-DyUMSQeo.d.cts.map +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/upload/index.d.cts +1 -1
- package/dist/upload/index.d.mts +1 -1
- package/package.json +2 -2
- package/src/flow/index.ts +2 -0
- package/src/flow/plugins/credential-provider.ts +7 -1
- package/src/flow/plugins/image-ai-plugin.ts +5 -3
- package/src/flow/plugins/image-plugin.ts +6 -4
- package/src/flow/plugins/plugins.ts +19 -0
- package/src/flow/plugins/zip-plugin.ts +4 -2
- package/src/flow/typed-flow.ts +199 -60
- package/src/flow/types/index.ts +3 -0
- package/src/flow/types/type-utils.ts +166 -0
- package/type-tests/type-utils.test-d.ts +235 -0
- package/dist/index-BQ8Ns-NS.d.mts.map +0 -1
- package/dist/index-Bg1HsPC1.d.cts.map +0 -1
package/dist/flow/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../uploadista-error-B4dn0Ch6.cjs";
|
|
2
2
|
import "../index-BtBZHVmz.cjs";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as storageParamsSchema, $n as ConditionOperator, A as ZipPluginLayer, An as FlowNodeData, B as ImageAiPlugin, Bn as FlowEventFlowEnd, C as DescribeImageParams, Cn as FlowExecutionResult, D as ZipInput, Dn as createFlowEdge, E as PluginLayer, En as FlowEdge, F as ResizeParams, Fn as completeNodeExecution, G as CredentialProviderShape, Gn as FlowEventJobStart, H as ImageAiPluginShape, Hn as FlowEventFlowPause, I as resizeParamsSchema, In as waitingNodeExecution, J as ParallelSchedulerConfig, Jn as FlowEventNodePause, K as ExecutionLevel, Kn as FlowEventNodeEnd, L as OptimizeParams, Ln as EventType, M as ImagePlugin, Mn as NodeExecutionResult, N as ImagePluginLayer, Nn as NodeTypeMap, O as ZipParams, On as FlowConfig, P as ImagePluginShape, Pn as TypeCompatibilityChecker, Q as createStorageNode, Qn as ConditionField, R as optimizeParamsSchema, Rn as FlowEvent, S as removeBackgroundParamsSchema, Sn as FlowData, T as Plugin, Tn as getFlowData, U as CredentialProvider, Un as FlowEventFlowStart, V as ImageAiPluginLayer, Vn as FlowEventFlowError, W as CredentialProviderLayer, Wn as FlowEventJobEnd, X as createTransformNode, Xn as FlowEventNodeResume, Y as TransformNodeConfig, Yn as FlowEventNodeResponse, Z as StorageParams, Zn as FlowEventNodeStart, _ as ExtractLayerService, _t as FlowJobTask, a as FlowInputMap, at as FlowProvider, b as FlowCondition, c as FlowRequirements, ct as FlowServerLayer, d as TypedFlow, dt as FlowWaitUntil, er as ConditionValue, et as InputData, f as TypedFlowConfig, ft as WaitUntilCallback, g as ExtractEffectRequirements, gt as FlowJobStatus, h as ExtractEffectError, ht as FlowJob, i as runArgsSchema, it as inputNodeParamsSchema, j as ZipPluginShape, jn as NodeConnectionValidator, k as ZipPlugin, kn as FlowNode, l as NodeDefinition, lt as FlowServerOptions, m as createFlow, mt as flowServer, n as resolveUploadMetadata, nr as createFlowNode, nt as createInputNode, o as FlowOutputMap, ot as FlowProviderShape, p as TypedFlowEdge, pt as createFlowServer, q as ParallelScheduler, qn as FlowEventNodeError, r as RunArgs, rr as getNodeData, rt as inputDataSchema, s as FlowPluginRequirements, st as FlowServer, t as ResolvedUploadMetadata, tr as NodeType, tt as InputNodeParams, u as NodeDefinitionsRecord, ut as FlowServerShape, v as ExtractLayerServices, vt as FlowJobTaskStatus, w as describeImageParamsSchema, wn as createFlowWithSchema, x as RemoveBackgroundParams, xn as Flow, y as ResolveEffect, z as ImageAiContext, zn as FlowEventFlowCancel } from "../index-DyUMSQeo.cjs";
|
|
4
4
|
import "../index-eLYBkDBH.cjs";
|
|
5
5
|
import "../index-6oHIyVO9.cjs";
|
|
6
|
-
export { ConditionField, ConditionOperator, ConditionValue, CredentialProvider, CredentialProviderShape, DescribeImageParams, EventType, ExecutionLevel, Flow, FlowCondition, FlowConfig, FlowData, FlowEdge, FlowEvent, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowRequirements, FlowServer, FlowServerLayer, FlowServerOptions, FlowServerShape, FlowWaitUntil, ImageAiContext, ImageAiPlugin, ImageAiPluginShape, ImagePlugin, ImagePluginShape, InputData, InputNodeParams, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OptimizeParams, ParallelScheduler, ParallelSchedulerConfig, RemoveBackgroundParams, ResizeParams, ResolvedUploadMetadata, RunArgs, StorageParams, TransformNodeConfig, TypeCompatibilityChecker, TypedFlow, TypedFlowConfig, TypedFlowEdge, WaitUntilCallback, ZipInput, ZipParams, ZipPlugin, ZipPluginShape, completeNodeExecution, createFlow, createFlowEdge, createFlowNode, createFlowServer, createFlowWithSchema, createInputNode, createStorageNode, createTransformNode, describeImageParamsSchema, flowServer, getFlowData, getNodeData, inputDataSchema, inputNodeParamsSchema, optimizeParamsSchema, removeBackgroundParamsSchema, resizeParamsSchema, resolveUploadMetadata, runArgsSchema, storageParamsSchema, waitingNodeExecution };
|
|
6
|
+
export { ConditionField, ConditionOperator, ConditionValue, CredentialProvider, CredentialProviderLayer, CredentialProviderShape, DescribeImageParams, EventType, ExecutionLevel, ExtractEffectError, ExtractEffectRequirements, ExtractLayerService, ExtractLayerServices, Flow, FlowCondition, FlowConfig, FlowData, FlowEdge, FlowEvent, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowRequirements, FlowServer, FlowServerLayer, FlowServerOptions, FlowServerShape, FlowWaitUntil, ImageAiContext, ImageAiPlugin, ImageAiPluginLayer, ImageAiPluginShape, ImagePlugin, ImagePluginLayer, ImagePluginShape, InputData, InputNodeParams, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OptimizeParams, ParallelScheduler, ParallelSchedulerConfig, Plugin, PluginLayer, RemoveBackgroundParams, ResizeParams, ResolveEffect, ResolvedUploadMetadata, RunArgs, StorageParams, TransformNodeConfig, TypeCompatibilityChecker, TypedFlow, TypedFlowConfig, TypedFlowEdge, WaitUntilCallback, ZipInput, ZipParams, ZipPlugin, ZipPluginLayer, ZipPluginShape, completeNodeExecution, createFlow, createFlowEdge, createFlowNode, createFlowServer, createFlowWithSchema, createInputNode, createStorageNode, createTransformNode, describeImageParamsSchema, flowServer, getFlowData, getNodeData, inputDataSchema, inputNodeParamsSchema, optimizeParamsSchema, removeBackgroundParamsSchema, resizeParamsSchema, resolveUploadMetadata, runArgsSchema, storageParamsSchema, waitingNodeExecution };
|
package/dist/flow/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../uploadista-error-DHajuvP1.mjs";
|
|
2
2
|
import "../index-DEHBdV_z.mjs";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as storageParamsSchema, $n as ConditionOperator, A as ZipPluginLayer, An as FlowNodeData, B as ImageAiPlugin, Bn as FlowEventFlowEnd, C as DescribeImageParams, Cn as FlowExecutionResult, D as ZipInput, Dn as createFlowEdge, E as PluginLayer, En as FlowEdge, F as ResizeParams, Fn as completeNodeExecution, G as CredentialProviderShape, Gn as FlowEventJobStart, H as ImageAiPluginShape, Hn as FlowEventFlowPause, I as resizeParamsSchema, In as waitingNodeExecution, J as ParallelSchedulerConfig, Jn as FlowEventNodePause, K as ExecutionLevel, Kn as FlowEventNodeEnd, L as OptimizeParams, Ln as EventType, M as ImagePlugin, Mn as NodeExecutionResult, N as ImagePluginLayer, Nn as NodeTypeMap, O as ZipParams, On as FlowConfig, P as ImagePluginShape, Pn as TypeCompatibilityChecker, Q as createStorageNode, Qn as ConditionField, R as optimizeParamsSchema, Rn as FlowEvent, S as removeBackgroundParamsSchema, Sn as FlowData, T as Plugin, Tn as getFlowData, U as CredentialProvider, Un as FlowEventFlowStart, V as ImageAiPluginLayer, Vn as FlowEventFlowError, W as CredentialProviderLayer, Wn as FlowEventJobEnd, X as createTransformNode, Xn as FlowEventNodeResume, Y as TransformNodeConfig, Yn as FlowEventNodeResponse, Z as StorageParams, Zn as FlowEventNodeStart, _ as ExtractLayerService, _t as FlowJobTask, a as FlowInputMap, at as FlowProvider, b as FlowCondition, c as FlowRequirements, ct as FlowServerLayer, d as TypedFlow, dt as FlowWaitUntil, er as ConditionValue, et as InputData, f as TypedFlowConfig, ft as WaitUntilCallback, g as ExtractEffectRequirements, gt as FlowJobStatus, h as ExtractEffectError, ht as FlowJob, i as runArgsSchema, it as inputNodeParamsSchema, j as ZipPluginShape, jn as NodeConnectionValidator, k as ZipPlugin, kn as FlowNode, l as NodeDefinition, lt as FlowServerOptions, m as createFlow, mt as flowServer, n as resolveUploadMetadata, nr as createFlowNode, nt as createInputNode, o as FlowOutputMap, ot as FlowProviderShape, p as TypedFlowEdge, pt as createFlowServer, q as ParallelScheduler, qn as FlowEventNodeError, r as RunArgs, rr as getNodeData, rt as inputDataSchema, s as FlowPluginRequirements, st as FlowServer, t as ResolvedUploadMetadata, tr as NodeType, tt as InputNodeParams, u as NodeDefinitionsRecord, ut as FlowServerShape, v as ExtractLayerServices, vt as FlowJobTaskStatus, w as describeImageParamsSchema, wn as createFlowWithSchema, x as RemoveBackgroundParams, xn as Flow, y as ResolveEffect, z as ImageAiContext, zn as FlowEventFlowCancel } from "../index-CDzzqysG.mjs";
|
|
4
4
|
import "../index-C2nrn_49.mjs";
|
|
5
5
|
import "../index-CsLVxsad.mjs";
|
|
6
|
-
export { ConditionField, ConditionOperator, ConditionValue, CredentialProvider, CredentialProviderShape, DescribeImageParams, EventType, ExecutionLevel, Flow, FlowCondition, FlowConfig, FlowData, FlowEdge, FlowEvent, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowRequirements, FlowServer, FlowServerLayer, FlowServerOptions, FlowServerShape, FlowWaitUntil, ImageAiContext, ImageAiPlugin, ImageAiPluginShape, ImagePlugin, ImagePluginShape, InputData, InputNodeParams, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OptimizeParams, ParallelScheduler, ParallelSchedulerConfig, RemoveBackgroundParams, ResizeParams, ResolvedUploadMetadata, RunArgs, StorageParams, TransformNodeConfig, TypeCompatibilityChecker, TypedFlow, TypedFlowConfig, TypedFlowEdge, WaitUntilCallback, ZipInput, ZipParams, ZipPlugin, ZipPluginShape, completeNodeExecution, createFlow, createFlowEdge, createFlowNode, createFlowServer, createFlowWithSchema, createInputNode, createStorageNode, createTransformNode, describeImageParamsSchema, flowServer, getFlowData, getNodeData, inputDataSchema, inputNodeParamsSchema, optimizeParamsSchema, removeBackgroundParamsSchema, resizeParamsSchema, resolveUploadMetadata, runArgsSchema, storageParamsSchema, waitingNodeExecution };
|
|
6
|
+
export { ConditionField, ConditionOperator, ConditionValue, CredentialProvider, CredentialProviderLayer, CredentialProviderShape, DescribeImageParams, EventType, ExecutionLevel, ExtractEffectError, ExtractEffectRequirements, ExtractLayerService, ExtractLayerServices, Flow, FlowCondition, FlowConfig, FlowData, FlowEdge, FlowEvent, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowRequirements, FlowServer, FlowServerLayer, FlowServerOptions, FlowServerShape, FlowWaitUntil, ImageAiContext, ImageAiPlugin, ImageAiPluginLayer, ImageAiPluginShape, ImagePlugin, ImagePluginLayer, ImagePluginShape, InputData, InputNodeParams, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OptimizeParams, ParallelScheduler, ParallelSchedulerConfig, Plugin, PluginLayer, RemoveBackgroundParams, ResizeParams, ResolveEffect, ResolvedUploadMetadata, RunArgs, StorageParams, TransformNodeConfig, TypeCompatibilityChecker, TypedFlow, TypedFlowConfig, TypedFlowEdge, WaitUntilCallback, ZipInput, ZipParams, ZipPlugin, ZipPluginLayer, ZipPluginShape, completeNodeExecution, createFlow, createFlowEdge, createFlowNode, createFlowServer, createFlowWithSchema, createInputNode, createStorageNode, createTransformNode, describeImageParamsSchema, flowServer, getFlowData, getNodeData, inputDataSchema, inputNodeParamsSchema, optimizeParamsSchema, removeBackgroundParamsSchema, resizeParamsSchema, resolveUploadMetadata, runArgsSchema, storageParamsSchema, waitingNodeExecution };
|