@uploadista/core 0.2.0 → 1.0.0-beta.2
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/{checksum-BjP9nb5b.mjs → checksum-BRjFmTRk.mjs} +2 -2
- package/dist/{checksum-BjP9nb5b.mjs.map → checksum-BRjFmTRk.mjs.map} +1 -1
- package/dist/{checksum-B7RDiO7V.cjs → checksum-BrjQ8GJL.cjs} +1 -1
- package/dist/errors/index.cjs +1 -1
- package/dist/errors/index.d.cts +1 -1
- package/dist/errors/index.d.mts +1 -1
- package/dist/errors/index.mjs +1 -1
- package/dist/flow/index.cjs +1 -1
- package/dist/flow/index.d.cts +3 -2
- package/dist/flow/index.d.mts +8 -5
- package/dist/flow/index.mjs +1 -1
- package/dist/generate-id-BAMRQzMr.d.cts +34 -0
- package/dist/generate-id-BAMRQzMr.d.cts.map +1 -0
- package/dist/generate-id-DuZwLm4m.d.mts +34 -0
- package/dist/generate-id-DuZwLm4m.d.mts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -5
- package/dist/index.d.mts +8 -5
- package/dist/index.mjs +1 -1
- package/dist/middleware-BlrOGKrp.d.cts +4129 -0
- package/dist/middleware-BlrOGKrp.d.cts.map +1 -0
- package/dist/middleware-BmRmwme_.d.mts +4129 -0
- package/dist/middleware-BmRmwme_.d.mts.map +1 -0
- package/dist/resolve-upload-metadata-B2C5e1y1.d.cts +4533 -0
- package/dist/resolve-upload-metadata-B2C5e1y1.d.cts.map +1 -0
- package/dist/resolve-upload-metadata-DbkBzxm8.d.mts +4533 -0
- package/dist/resolve-upload-metadata-DbkBzxm8.d.mts.map +1 -0
- package/dist/run-args-C4no7Ny4.cjs +1 -0
- package/dist/run-args-CIqI4Zc7.mjs +2 -0
- package/dist/run-args-CIqI4Zc7.mjs.map +1 -0
- package/dist/{stream-limiter-BCFULdAM.d.cts → stream-limiter-7wkBVLWT.d.mts} +2 -2
- package/dist/{stream-limiter-BCFULdAM.d.cts.map → stream-limiter-7wkBVLWT.d.mts.map} +1 -1
- package/dist/{stream-limiter-DZ22uIqf.cjs → stream-limiter-B-Y0DTgA.cjs} +1 -1
- package/dist/{stream-limiter-CTJPEJqE.mjs → stream-limiter-CvDuNIyd.mjs} +2 -2
- package/dist/{stream-limiter-CTJPEJqE.mjs.map → stream-limiter-CvDuNIyd.mjs.map} +1 -1
- package/dist/{stream-limiter-Bi7OTbRp.d.mts → stream-limiter-D1KC-6pK.d.cts} +2 -2
- package/dist/{stream-limiter-Bi7OTbRp.d.mts.map → stream-limiter-D1KC-6pK.d.cts.map} +1 -1
- package/dist/streams/index.cjs +1 -1
- package/dist/streams/index.d.cts +1 -1
- package/dist/streams/index.d.mts +2 -2
- package/dist/streams/index.mjs +1 -1
- package/dist/testing/index.cjs +1 -1
- package/dist/testing/index.d.cts +2 -1
- package/dist/testing/index.d.cts.map +1 -1
- package/dist/testing/index.d.mts +7 -4
- package/dist/testing/index.d.mts.map +1 -1
- package/dist/testing/index.mjs +1 -1
- package/dist/{throttle-Da0OA8JT.d.cts → throttle-3FRcr7MU.d.mts} +4 -34
- package/dist/throttle-3FRcr7MU.d.mts.map +1 -0
- package/dist/{throttle-ibiT6E4U.d.mts → throttle-BlH27EGu.d.cts} +4 -34
- package/dist/throttle-BlH27EGu.d.cts.map +1 -0
- package/dist/{throttle-KnkRgZPi.cjs → throttle-Dp59f37i.cjs} +1 -1
- package/dist/{throttle-CnDa3v1k.mjs → throttle-TFY-V41R.mjs} +2 -2
- package/dist/{throttle-CnDa3v1k.mjs.map → throttle-TFY-V41R.mjs.map} +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +3 -5
- package/dist/types/index.mjs +1 -1
- package/dist/upload/index.cjs +1 -1
- package/dist/upload/index.d.cts +1 -1
- package/dist/upload/index.d.mts +4 -4
- package/dist/upload/index.mjs +1 -1
- package/dist/{upload-strategy-negotiator-DfiQ0Fy0.cjs → upload-strategy-negotiator-5da9ZySO.cjs} +1 -1
- package/dist/{upload-strategy-negotiator-BuxPf1sa.mjs → upload-strategy-negotiator-ChKvppnA.mjs} +2 -2
- package/dist/{upload-strategy-negotiator-BuxPf1sa.mjs.map → upload-strategy-negotiator-ChKvppnA.mjs.map} +1 -1
- package/dist/upload-strategy-negotiator-EmOrc2bn.d.cts +455 -0
- package/dist/upload-strategy-negotiator-EmOrc2bn.d.cts.map +1 -0
- package/dist/upload-strategy-negotiator-a2O28qPf.d.mts +455 -0
- package/dist/upload-strategy-negotiator-a2O28qPf.d.mts.map +1 -0
- package/dist/{uploadista-error-B-geDgi8.cjs → uploadista-error-CZx1JU_L.cjs} +3 -1
- package/dist/{uploadista-error-Fsfvr2Bb.mjs → uploadista-error-DQ7V1FlX.mjs} +3 -1
- package/dist/uploadista-error-DQ7V1FlX.mjs.map +1 -0
- package/dist/{uploadista-error-BragVhIs.d.mts → uploadista-error-LtiZn-R_.d.mts} +2 -2
- package/dist/{uploadista-error-BragVhIs.d.mts.map → uploadista-error-LtiZn-R_.d.mts.map} +1 -1
- package/dist/{uploadista-error-Cj_pAFck.d.cts → uploadista-error-eZtG4iyf.d.cts} +2 -2
- package/dist/{uploadista-error-Cj_pAFck.d.cts.map → uploadista-error-eZtG4iyf.d.cts.map} +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +2 -1
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/websocket-Br0ijEZA.cjs +1 -0
- package/dist/websocket-DftnHFfN.mjs +2 -0
- package/dist/websocket-DftnHFfN.mjs.map +1 -0
- package/package.json +3 -3
- package/src/errors/uploadista-error.ts +11 -1
- package/src/flow/README.md +115 -0
- package/src/flow/flow-engine.ts +34 -2
- package/src/flow/flow-queue-store.ts +155 -0
- package/src/flow/flow-queue.ts +640 -0
- package/src/flow/index.ts +4 -0
- package/src/flow/types/flow-queue-item.ts +154 -0
- package/src/types/kv-store.ts +31 -1
- package/tests/flow-queue-store.test.ts +150 -0
- package/tests/flow-queue.test.ts +308 -0
- package/dist/resolve-upload-metadata-BUVl1LoS.d.cts +0 -8723
- package/dist/resolve-upload-metadata-BUVl1LoS.d.cts.map +0 -1
- package/dist/resolve-upload-metadata-MPDmDfOZ.d.mts +0 -8723
- package/dist/resolve-upload-metadata-MPDmDfOZ.d.mts.map +0 -1
- package/dist/run-args-WD1otVrz.mjs +0 -2
- package/dist/run-args-WD1otVrz.mjs.map +0 -1
- package/dist/run-args-g74p8pEZ.cjs +0 -1
- package/dist/throttle-Da0OA8JT.d.cts.map +0 -1
- package/dist/throttle-ibiT6E4U.d.mts.map +0 -1
- package/dist/uploadista-error-Fsfvr2Bb.mjs.map +0 -1
- package/dist/websocket-Avz4T8YB.cjs +0 -1
- package/dist/websocket-CdgVhVJs.mjs +0 -2
- package/dist/websocket-CdgVhVJs.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { a as isUploadistaError, i as httpFailure, n as UploadistaError, r as UploadistaErrorCode, t as ERROR_CATALOG } from "./uploadista-error-
|
|
1
|
+
import { a as isUploadistaError, i as httpFailure, n as UploadistaError, r as UploadistaErrorCode, t as ERROR_CATALOG } from "./uploadista-error-LtiZn-R_.mjs";
|
|
2
2
|
import "./errors/index.mjs";
|
|
3
|
-
import { $ as VideoPlugin, $
|
|
3
|
+
import { $ as VideoPlugin, $n as MemoryFlowQueueStore, $t as ImageAiPluginLayer, A as isImageDescriptionOutput, An as ExtractLayerServices, Ar as DistributedCircuitBreaker, At as Transformation, B as describeImageParamsSchema, Bn as FlowQueueServiceShape, Br as CircuitBreakerState, Bt as rotateTransformSchema, C as createTypeGuard, Cn as StreamingTransformResult, Cr as FlowData, Ct as OverlayPosition, D as getSingleOutputByType, Dn as ExtractEffectError, Dr as FlowEdge, Dt as SharpenTransform, E as getOutputByNodeId, En as createTransformNode, Er as getFlowData, Et as SepiaTransform, F as isUploadOperation, Fn as createInputNode, Fr as memoryCircuitBreakerStoreLayer, Ft as contrastTransformSchema, G as ZipPlugin, Gn as FlowLifecycleHook, Gt as transformationSchema, H as PluginLayer, Hn as FlowEngineLayer, Ht as sharpenTransformSchema, I as isUrlOperation, In as inputDataSchema, Ir as CircuitBreakerConfig, It as flipTransformSchema, J as ScanMetadata, Jn as FlowWaitUntil, Jt as resizeParamsSchema, K as ZipPluginLayer, Kn as FlowProvider, Kt as watermarkTransformSchema, L as RemoveBackgroundParams, Ln as inputNodeParamsSchema, Lr as CircuitBreakerEvent, Lt as grayscaleTransformSchema, M as isOcrOutput, Mn as FlowCondition, Mr as kvCircuitBreakerStoreLayer, Mt as WatermarkTransform, N as isStorageOutput, Nn as InputData, Nr as makeKvCircuitBreakerStore, Nt as blurTransformSchema, O as hasOutputOfType, On as ExtractEffectRequirements, Or as createFlowEdge, Ot as TextTransform, P as isUploadFile, Pn as InputNodeParams, Pr as makeMemoryCircuitBreakerStore, Pt as brightnessTransformSchema, Q as VirusScanPluginShape, Qn as FlowQueueStore, Qt as ImageAiPlugin, R as removeBackgroundParamsSchema, Rn as FlowQueueDispatchMarker, Rr as CircuitBreakerEventHandler, Rt as logoTransformSchema, S as NarrowedTypedOutput, Sn as StreamingTransformFn, Sr as Flow, St as LogoTransform, T as getFirstOutputByType, Tn as TransformNodeConfig, Tr as createFlowWithSchema, Tt as RotateTransform, U as ZipInput, Un as FlowEngineOptions, Ut as textTransformSchema, V as Plugin, Vn as FlowEngine, Vr as DEFAULT_CIRCUIT_BREAKER_CONFIG, Vt as sepiaTransformSchema, W as ZipParams, Wn as FlowEngineShape, Wt as transformImageParamsSchema, X as VirusScanPlugin, Xn as createFlowEngine, Xt as optimizeParamsSchema, Y as ScanResult, Yn as WaitUntilCallback, Yt as OptimizeParams, Z as VirusScanPluginLayer, Zn as flowEngine, Zt as ImageAiContext, _ as NodeDefinitionsRecord, _n as CredentialProviderLayer, _r as InputTypeDefinition, _t as BlurTransform, a as buildNamingContext, an as MergePdfParams, ar as ImageDescriptionOutput, at as trimVideoParamsSchema, b as TypedFlowEdge, bn as ParallelScheduler, br as inputTypeRegistry, bt as FlipTransform, c as interpolateFileName, cn as DocumentAiContext, cr as STORAGE_OUTPUT_TYPE_ID, ct as ResizeVideoParams, d as runArgsSchema, dn as DocumentAiPluginShape, dr as ocrOutputSchema, dt as extractFrameVideoParamsSchema, en as ImageAiPluginShape, er as DeadLetterQueueService, et as VideoPluginLayer, f as FlowInputMap, fn as OcrParams, fr as OutputTypeDefinition, ft as DescribeVideoMetadata, g as NodeDefinition, gn as CredentialProvider, gr as validateFlowOutput, gt as ImagePluginShape, h as FlowRequirements, hn as OcrTaskType, hr as outputTypeRegistry, ht as ImagePluginLayer, i as applyFileNaming, in as DocumentPluginShape, ir as IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, it as TrimVideoParams, j as isInitOperation, jn as ResolveEffect, jr as DistributedCircuitBreakerRegistry, jt as TransformationType, k as isFinalizeOperation, kn as ExtractLayerService, kr as AllowRequestResult, kt as TransformImageParams, l as validatePattern, ln as DocumentAiPlugin, lr as STREAMING_INPUT_TYPE_ID, lt as resizeVideoParamsSchema, m as FlowPluginRequirements, mn as OcrResult, mr as OutputValidationResult, mt as ImagePlugin, n as resolveUploadMetadata, nn as DocumentPlugin, nr as createDeadLetterQueueService, nt as VideoStreamInput, o as getBaseName, on as SplitPdfParams, or as OCR_OUTPUT_TYPE_ID, ot as TranscodeVideoParams, p as FlowOutputMap, pn as OcrResolution, pr as OutputTypeRegistry, pt as describeVideoMetadataSchema, q as ZipPluginShape, qn as FlowProviderShape, qt as ResizeParams, r as AVAILABLE_TEMPLATE_VARIABLES, rn as DocumentPluginLayer, rr as deadLetterQueueService, rt as VideoStreamOptions, s as getExtension, sn as SplitPdfResult, sr as OcrOutput, st as transcodeVideoParamsSchema, t as ResolvedUploadMetadata, tn as DocumentMetadata, tr as DeadLetterQueueServiceShape, tt as VideoPluginShape, u as RunArgs, un as DocumentAiPluginLayer, ur as imageDescriptionOutputSchema, ut as ExtractFrameVideoParams, v as TypedFlow, vn as CredentialProviderShape, vr as InputTypeRegistry, vt as BrightnessTransform, w as filterOutputsByType, wn as TransformMode, wr as FlowExecutionResult, wt as ResizeTransform, x as createFlow, xn as ParallelSchedulerConfig, xr as validateFlowInput, xt as GrayscaleTransform, y as TypedFlowConfig, yn as ExecutionLevel, yr as InputValidationResult, yt as ContrastTransform, z as DescribeImageParams, zn as FlowQueueService, zr as CircuitBreakerFallback, zt as resizeTransformSchema } from "./resolve-upload-metadata-DbkBzxm8.mjs";
|
|
4
|
+
import { $ as BaseKvStoreService, $t as calculateBackoffDelay, A as webSocketMessageSchema, An as JsonValue, At as FlowDeadLetterQueueConfig, B as DataStoreCapabilities, Bn as DeadLetterItemStatus, Bt as TypedOutput, C as TypedEventEmitter, Cn as FlowEventNodeStart, Ct as BuiltInTypedOutput, D as uploadEventEmitter, Dn as NodeType, Dt as FlowCircuitBreakerConfig, E as flowEventEmitter, En as ConditionValue, Et as FileNamingFunction, F as EventBroadcasterService, Fn as uploadFileSchema, Ft as NarrowTypedOutput, G as StreamingConfig, Gn as DeadLetterRetryAttempt, Gt as isStreamingInputV1, H as DataStoreWriteOptions, Hn as DeadLetterProcessResult, Ht as completeNodeExecution, I as BufferedUploadFileDataStore, In as DeadLetterCleanupOptions, It as NodeConnectionValidator, J as UploadFileDataStoresShape, Jn as CircuitBreakerStats, Jt as DEFAULT_RETRY_POLICY, K as UploadFileDataStore, Kn as CircuitBreakerStateData, Kt as waitingNodeExecution, L as DEFAULT_MULTIPART_PART_SIZE, Ln as DeadLetterCleanupResult, Lt as NodeExecutionResult, M as UploadEventType, Mn as UploadFileTraceContext, Mt as FlowNode, N as uploadEventSchema, Nn as jsonValueSchema, Nt as FlowNodeData, O as WebSocketConnection, On as createFlowNode, Ot as FlowCircuitBreakerFallback, P as EventBroadcaster, Pn as traceContextSchema, Pt as NamingContext, Q as BaseKvStore, Qt as RetryPolicy, R as DEFAULT_STREAMING_CONFIG, Rn as DeadLetterError, Rt as NodeTypeMap, S as FlowEventEmitter, Sn as FlowEventNodeResume, St as BuiltInNodeType, T as eventToMessageSerializer, Tn as ConditionOperator, Tt as FileNamingConfig, U as StreamWriteOptions, Un as DeadLetterQueueStats, Ut as createOutputGuard, V as DataStoreConfig, Vn as DeadLetterListOptions, Vt as TypedOutputGuard, W as StreamWriteResult, Wn as DeadLetterRetryAllResult, Wt as isStorageOutputV1, X as createDataStoreLayer, Xn as CircuitBreakerStoreService, Xt as FixedBackoff, Y as UploadStrategy, Yn as CircuitBreakerStore, Yt as ExponentialBackoff, Z as isDataStore, Zn as createInitialCircuitBreakerState, Zt as ImmediateBackoff, _ as formatHealthAsText, _n as FlowEventJobStart, _t as FlowJobStatus, a as MiddlewareServiceLive, an as FlowEventDlqItemAdded, at as UploadFileKVStore, b as BaseEventEmitterService, bn as FlowEventNodePause, bt as FlowJobTraceContext, c as CircuitBreakerHealthSummary, cn as FlowEventDlqRetryFailed, ct as flowQueueKvStore, d as DlqHealthSummary, dn as FlowEventFlowCancel, dt as DEFAULT_QUEUE_CONFIG, en as calculateExpirationDate, et as DeadLetterQueueKVStore, f as HealthCheckConfig, fn as FlowEventFlowEnd, ft as FlowQueueConfig, g as HealthStatus, gn as FlowEventJobEnd, gt as FlowJob, h as HealthResponseFormat, hn as FlowEventFlowStart, ht as FlowQueueStats, i as MiddlewareService, in as FlowEvent, it as TypedKvStore, j as UploadEvent, jn as UploadFile, k as WebSocketMessage, kn as getNodeData, kt as FlowConfig, l as ComponentHealth, ln as FlowEventDlqRetryStart, lt as jsonSerializer, m as HealthResponse, mn as FlowEventFlowPause, mt as FlowQueueItemStatus, n as MiddlewareContext, nn as DlqEvent, nt as FlowQueueKVStore, o as InputFile, on as FlowEventDlqItemExhausted, ot as deadLetterQueueKvStore, p as HealthComponents, pn as FlowEventFlowError, pt as FlowQueueItem, q as UploadFileDataStores, qn as CircuitBreakerStateValue, qt as BackoffStrategy, r as MiddlewareNext, rn as EventType, rt as KvStore, s as inputFileSchema, sn as FlowEventDlqItemResolved, st as flowJobKvStore, t as Middleware, tn as isErrorRetryable, tt as FlowJobKVStore, u as DEFAULT_HEALTH_CHECK_CONFIG, un as FlowEventDlqRetrySuccess, ut as uploadFileKvStore, v as getHealthResponseFormat, vn as FlowEventNodeEnd, vt as FlowJobTask, w as UploadEventEmitter, wn as ConditionField, wt as CustomTypedOutput, x as EventEmitter, xn as FlowEventNodeResponse, xt as AutoNamingSuffixGenerator, y as BaseEventEmitter, yn as FlowEventNodeError, yt as FlowJobTaskStatus, z as DataStore, zn as DeadLetterItem, zt as TypeCompatibilityChecker } from "./middleware-BmRmwme_.mjs";
|
|
4
5
|
import "./types/index.mjs";
|
|
5
|
-
import { a as
|
|
6
|
+
import { a as UploadEngineOptions, c as uploadEngine, i as UploadEngine, l as compareMimeTypes, n as UploadStrategyNegotiator, o as UploadEngineShape, r as UploadStrategyOptions, s as createUploadEngine, t as NegotiatedStrategy, u as detectMimeType } from "./upload-strategy-negotiator-a2O28qPf.mjs";
|
|
7
|
+
import { a as GenerateIdShape, i as GenerateIdService, n as GenerateIdLive, o as GenerateIdTimestamp, r as GenerateIdRandom, t as GenerateId } from "./generate-id-DuZwLm4m.mjs";
|
|
6
8
|
import "./upload/index.mjs";
|
|
7
|
-
import { n as streamLimiter, t as StreamLimiterEffect } from "./stream-limiter-
|
|
9
|
+
import { n as streamLimiter, t as StreamLimiterEffect } from "./stream-limiter-7wkBVLWT.mjs";
|
|
8
10
|
import "./streams/index.mjs";
|
|
11
|
+
import { a as Md5, c as isSupportedAlgorithm, i as once, n as throttle, o as ChecksumAlgorithm, r as OnceEffect, s as computeChecksum, t as ThrottleEffect } from "./throttle-3FRcr7MU.mjs";
|
|
9
12
|
import "./utils/index.mjs";
|
|
10
13
|
import "./flow/index.mjs";
|
|
11
|
-
export { AVAILABLE_TEMPLATE_VARIABLES, AllowRequestResult, AutoNamingSuffixGenerator, BackoffStrategy, BaseEventEmitter, BaseEventEmitterService, BaseKvStore, BaseKvStoreService, BlurTransform, BrightnessTransform, BufferedUploadFileDataStore, BuiltInNodeType, BuiltInTypedOutput, ChecksumAlgorithm, CircuitBreakerConfig, CircuitBreakerEvent, CircuitBreakerEventHandler, CircuitBreakerFallback, CircuitBreakerHealthSummary, CircuitBreakerState, CircuitBreakerStateData, CircuitBreakerStateValue, CircuitBreakerStats, CircuitBreakerStore, CircuitBreakerStoreService, ComponentHealth, ConditionField, ConditionOperator, ConditionValue, ContrastTransform, CredentialProvider, CredentialProviderLayer, CredentialProviderShape, CustomTypedOutput, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_HEALTH_CHECK_CONFIG, DEFAULT_MULTIPART_PART_SIZE, DEFAULT_RETRY_POLICY, DEFAULT_STREAMING_CONFIG, DataStore, DataStoreCapabilities, DataStoreConfig, DataStoreWriteOptions, DeadLetterCleanupOptions, DeadLetterCleanupResult, DeadLetterError, DeadLetterItem, DeadLetterItemStatus, DeadLetterListOptions, DeadLetterProcessResult, DeadLetterQueueKVStore, DeadLetterQueueService, DeadLetterQueueServiceShape, DeadLetterQueueStats, DeadLetterRetryAllResult, DeadLetterRetryAttempt, DescribeImageParams, DescribeVideoMetadata, DistributedCircuitBreaker, DistributedCircuitBreakerRegistry, DlqEvent, DlqHealthSummary, DocumentAiContext, DocumentAiPlugin, DocumentAiPluginLayer, DocumentAiPluginShape, DocumentMetadata, DocumentPlugin, DocumentPluginLayer, DocumentPluginShape, ERROR_CATALOG as ERRORS, ERROR_CATALOG, EventBroadcaster, EventBroadcasterService, EventEmitter, EventType, ExecutionLevel, ExponentialBackoff, ExtractEffectError, ExtractEffectRequirements, ExtractFrameVideoParams, ExtractLayerService, ExtractLayerServices, FileNamingConfig, FileNamingFunction, FixedBackoff, FlipTransform, Flow, FlowCircuitBreakerConfig, FlowCircuitBreakerFallback, FlowCondition, FlowConfig, FlowData, FlowDeadLetterQueueConfig, FlowEdge, FlowEngine, FlowEngineLayer, FlowEngineOptions, FlowEngineShape, FlowEvent, FlowEventDlqItemAdded, FlowEventDlqItemExhausted, FlowEventDlqItemResolved, FlowEventDlqRetryFailed, FlowEventDlqRetryStart, FlowEventDlqRetrySuccess, FlowEventEmitter, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobKVStore, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowJobTraceContext, FlowLifecycleHook, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowRequirements, FlowWaitUntil, GenerateId, GenerateIdLive, GenerateIdRandom, GenerateIdService, GenerateIdShape, GenerateIdTimestamp, GrayscaleTransform, HealthCheckConfig, HealthComponents, HealthResponse, HealthResponseFormat, HealthStatus, IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, ImageAiContext, ImageAiPlugin, ImageAiPluginLayer, ImageAiPluginShape, ImageDescriptionOutput, ImagePlugin, ImagePluginLayer, ImagePluginShape, ImmediateBackoff, InputData, InputFile, InputNodeParams, InputTypeDefinition, InputTypeRegistry, InputValidationResult, JsonValue, KvStore, LogoTransform, Md5, MergePdfParams, Middleware, MiddlewareContext, MiddlewareNext, MiddlewareService, MiddlewareServiceLive, NamingContext, NarrowTypedOutput, NarrowedTypedOutput, NegotiatedStrategy, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OCR_OUTPUT_TYPE_ID, OcrOutput, OcrParams, OcrResolution, OcrResult, OcrTaskType, OnceEffect, OptimizeParams, OutputTypeDefinition, OutputTypeRegistry, OutputValidationResult, OverlayPosition, ParallelScheduler, ParallelSchedulerConfig, Plugin, PluginLayer, RemoveBackgroundParams, ResizeParams, ResizeTransform, ResizeVideoParams, ResolveEffect, ResolvedUploadMetadata, RetryPolicy, RotateTransform, RunArgs, STORAGE_OUTPUT_TYPE_ID, STREAMING_INPUT_TYPE_ID, ScanMetadata, ScanResult, SepiaTransform, SharpenTransform, SplitPdfParams, SplitPdfResult, StreamLimiterEffect, StreamWriteOptions, StreamWriteResult, StreamingConfig, StreamingTransformFn, StreamingTransformResult, TextTransform, ThrottleEffect, TranscodeVideoParams, TransformImageParams, TransformMode, TransformNodeConfig, Transformation, TransformationType, TrimVideoParams, TypeCompatibilityChecker, TypedEventEmitter, TypedFlow, TypedFlowConfig, TypedFlowEdge, TypedKvStore, TypedOutput, TypedOutputGuard, UploadEngine, UploadEngineOptions, UploadEngineShape, UploadEvent, UploadEventEmitter, UploadEventType, UploadFile, UploadFileDataStore, UploadFileDataStores, UploadFileDataStoresShape, UploadFileKVStore, UploadFileTraceContext, UploadStrategy, UploadStrategyNegotiator, UploadStrategyOptions, UploadistaError, UploadistaErrorCode, VideoPlugin, VideoPluginLayer, VideoPluginShape, VideoStreamInput, VideoStreamOptions, VirusScanPlugin, VirusScanPluginLayer, VirusScanPluginShape, WaitUntilCallback, WatermarkTransform, WebSocketConnection, WebSocketMessage, ZipInput, ZipParams, ZipPlugin, ZipPluginLayer, ZipPluginShape, applyFileNaming, blurTransformSchema, brightnessTransformSchema, buildNamingContext, calculateBackoffDelay, calculateExpirationDate, compareMimeTypes, completeNodeExecution, computeChecksum, contrastTransformSchema, createDataStoreLayer, createDeadLetterQueueService, createFlow, createFlowEdge, createFlowEngine, createFlowNode, createFlowWithSchema, createInitialCircuitBreakerState, createInputNode, createOutputGuard, createTransformNode, createTypeGuard, createUploadEngine, deadLetterQueueKvStore, deadLetterQueueService, describeImageParamsSchema, describeVideoMetadataSchema, detectMimeType, eventToMessageSerializer, extractFrameVideoParamsSchema, filterOutputsByType, flipTransformSchema, flowEngine, flowEventEmitter, flowJobKvStore, formatHealthAsText, getBaseName, getExtension, getFirstOutputByType, getFlowData, getHealthResponseFormat, getNodeData, getOutputByNodeId, getSingleOutputByType, grayscaleTransformSchema, hasOutputOfType, httpFailure, imageDescriptionOutputSchema, inputDataSchema, inputFileSchema, inputNodeParamsSchema, inputTypeRegistry, interpolateFileName, isDataStore, isErrorRetryable, isFinalizeOperation, isImageDescriptionOutput, isInitOperation, isOcrOutput, isStorageOutput, isStorageOutputV1, isStreamingInputV1, isSupportedAlgorithm, isUploadFile, isUploadOperation, isUploadistaError, isUrlOperation, jsonSerializer, jsonValueSchema, kvCircuitBreakerStoreLayer, logoTransformSchema, makeKvCircuitBreakerStore, makeMemoryCircuitBreakerStore, memoryCircuitBreakerStoreLayer, ocrOutputSchema, once, optimizeParamsSchema, outputTypeRegistry, removeBackgroundParamsSchema, resizeParamsSchema, resizeTransformSchema, resizeVideoParamsSchema, resolveUploadMetadata, rotateTransformSchema, runArgsSchema, sepiaTransformSchema, sharpenTransformSchema, streamLimiter, textTransformSchema, throttle, traceContextSchema, transcodeVideoParamsSchema, transformImageParamsSchema, transformationSchema, trimVideoParamsSchema, uploadEngine, uploadEventEmitter, uploadEventSchema, uploadFileKvStore, uploadFileSchema, validateFlowInput, validateFlowOutput, validatePattern, waitingNodeExecution, watermarkTransformSchema, webSocketMessageSchema };
|
|
14
|
+
export { AVAILABLE_TEMPLATE_VARIABLES, AllowRequestResult, AutoNamingSuffixGenerator, BackoffStrategy, BaseEventEmitter, BaseEventEmitterService, BaseKvStore, BaseKvStoreService, BlurTransform, BrightnessTransform, BufferedUploadFileDataStore, BuiltInNodeType, BuiltInTypedOutput, ChecksumAlgorithm, CircuitBreakerConfig, CircuitBreakerEvent, CircuitBreakerEventHandler, CircuitBreakerFallback, CircuitBreakerHealthSummary, CircuitBreakerState, CircuitBreakerStateData, CircuitBreakerStateValue, CircuitBreakerStats, CircuitBreakerStore, CircuitBreakerStoreService, ComponentHealth, ConditionField, ConditionOperator, ConditionValue, ContrastTransform, CredentialProvider, CredentialProviderLayer, CredentialProviderShape, CustomTypedOutput, DEFAULT_CIRCUIT_BREAKER_CONFIG, DEFAULT_HEALTH_CHECK_CONFIG, DEFAULT_MULTIPART_PART_SIZE, DEFAULT_QUEUE_CONFIG, DEFAULT_RETRY_POLICY, DEFAULT_STREAMING_CONFIG, DataStore, DataStoreCapabilities, DataStoreConfig, DataStoreWriteOptions, DeadLetterCleanupOptions, DeadLetterCleanupResult, DeadLetterError, DeadLetterItem, DeadLetterItemStatus, DeadLetterListOptions, DeadLetterProcessResult, DeadLetterQueueKVStore, DeadLetterQueueService, DeadLetterQueueServiceShape, DeadLetterQueueStats, DeadLetterRetryAllResult, DeadLetterRetryAttempt, DescribeImageParams, DescribeVideoMetadata, DistributedCircuitBreaker, DistributedCircuitBreakerRegistry, DlqEvent, DlqHealthSummary, DocumentAiContext, DocumentAiPlugin, DocumentAiPluginLayer, DocumentAiPluginShape, DocumentMetadata, DocumentPlugin, DocumentPluginLayer, DocumentPluginShape, ERROR_CATALOG as ERRORS, ERROR_CATALOG, EventBroadcaster, EventBroadcasterService, EventEmitter, EventType, ExecutionLevel, ExponentialBackoff, ExtractEffectError, ExtractEffectRequirements, ExtractFrameVideoParams, ExtractLayerService, ExtractLayerServices, FileNamingConfig, FileNamingFunction, FixedBackoff, FlipTransform, Flow, FlowCircuitBreakerConfig, FlowCircuitBreakerFallback, FlowCondition, FlowConfig, FlowData, FlowDeadLetterQueueConfig, FlowEdge, FlowEngine, FlowEngineLayer, FlowEngineOptions, FlowEngineShape, FlowEvent, FlowEventDlqItemAdded, FlowEventDlqItemExhausted, FlowEventDlqItemResolved, FlowEventDlqRetryFailed, FlowEventDlqRetryStart, FlowEventDlqRetrySuccess, FlowEventEmitter, FlowEventFlowCancel, FlowEventFlowEnd, FlowEventFlowError, FlowEventFlowPause, FlowEventFlowStart, FlowEventJobEnd, FlowEventJobStart, FlowEventNodeEnd, FlowEventNodeError, FlowEventNodePause, FlowEventNodeResponse, FlowEventNodeResume, FlowEventNodeStart, FlowExecutionResult, FlowInputMap, FlowJob, FlowJobKVStore, FlowJobStatus, FlowJobTask, FlowJobTaskStatus, FlowJobTraceContext, FlowLifecycleHook, FlowNode, FlowNodeData, FlowOutputMap, FlowPluginRequirements, FlowProvider, FlowProviderShape, FlowQueueConfig, FlowQueueDispatchMarker, FlowQueueItem, FlowQueueItemStatus, FlowQueueKVStore, FlowQueueService, FlowQueueServiceShape, FlowQueueStats, FlowQueueStore, FlowRequirements, FlowWaitUntil, GenerateId, GenerateIdLive, GenerateIdRandom, GenerateIdService, GenerateIdShape, GenerateIdTimestamp, GrayscaleTransform, HealthCheckConfig, HealthComponents, HealthResponse, HealthResponseFormat, HealthStatus, IMAGE_DESCRIPTION_OUTPUT_TYPE_ID, ImageAiContext, ImageAiPlugin, ImageAiPluginLayer, ImageAiPluginShape, ImageDescriptionOutput, ImagePlugin, ImagePluginLayer, ImagePluginShape, ImmediateBackoff, InputData, InputFile, InputNodeParams, InputTypeDefinition, InputTypeRegistry, InputValidationResult, JsonValue, KvStore, LogoTransform, Md5, MemoryFlowQueueStore, MergePdfParams, Middleware, MiddlewareContext, MiddlewareNext, MiddlewareService, MiddlewareServiceLive, NamingContext, NarrowTypedOutput, NarrowedTypedOutput, NegotiatedStrategy, NodeConnectionValidator, NodeDefinition, NodeDefinitionsRecord, NodeExecutionResult, NodeType, NodeTypeMap, OCR_OUTPUT_TYPE_ID, OcrOutput, OcrParams, OcrResolution, OcrResult, OcrTaskType, OnceEffect, OptimizeParams, OutputTypeDefinition, OutputTypeRegistry, OutputValidationResult, OverlayPosition, ParallelScheduler, ParallelSchedulerConfig, Plugin, PluginLayer, RemoveBackgroundParams, ResizeParams, ResizeTransform, ResizeVideoParams, ResolveEffect, ResolvedUploadMetadata, RetryPolicy, RotateTransform, RunArgs, STORAGE_OUTPUT_TYPE_ID, STREAMING_INPUT_TYPE_ID, ScanMetadata, ScanResult, SepiaTransform, SharpenTransform, SplitPdfParams, SplitPdfResult, StreamLimiterEffect, StreamWriteOptions, StreamWriteResult, StreamingConfig, StreamingTransformFn, StreamingTransformResult, TextTransform, ThrottleEffect, TranscodeVideoParams, TransformImageParams, TransformMode, TransformNodeConfig, Transformation, TransformationType, TrimVideoParams, TypeCompatibilityChecker, TypedEventEmitter, TypedFlow, TypedFlowConfig, TypedFlowEdge, TypedKvStore, TypedOutput, TypedOutputGuard, UploadEngine, UploadEngineOptions, UploadEngineShape, UploadEvent, UploadEventEmitter, UploadEventType, UploadFile, UploadFileDataStore, UploadFileDataStores, UploadFileDataStoresShape, UploadFileKVStore, UploadFileTraceContext, UploadStrategy, UploadStrategyNegotiator, UploadStrategyOptions, UploadistaError, UploadistaErrorCode, VideoPlugin, VideoPluginLayer, VideoPluginShape, VideoStreamInput, VideoStreamOptions, VirusScanPlugin, VirusScanPluginLayer, VirusScanPluginShape, WaitUntilCallback, WatermarkTransform, WebSocketConnection, WebSocketMessage, ZipInput, ZipParams, ZipPlugin, ZipPluginLayer, ZipPluginShape, applyFileNaming, blurTransformSchema, brightnessTransformSchema, buildNamingContext, calculateBackoffDelay, calculateExpirationDate, compareMimeTypes, completeNodeExecution, computeChecksum, contrastTransformSchema, createDataStoreLayer, createDeadLetterQueueService, createFlow, createFlowEdge, createFlowEngine, createFlowNode, createFlowWithSchema, createInitialCircuitBreakerState, createInputNode, createOutputGuard, createTransformNode, createTypeGuard, createUploadEngine, deadLetterQueueKvStore, deadLetterQueueService, describeImageParamsSchema, describeVideoMetadataSchema, detectMimeType, eventToMessageSerializer, extractFrameVideoParamsSchema, filterOutputsByType, flipTransformSchema, flowEngine, flowEventEmitter, flowJobKvStore, flowQueueKvStore, formatHealthAsText, getBaseName, getExtension, getFirstOutputByType, getFlowData, getHealthResponseFormat, getNodeData, getOutputByNodeId, getSingleOutputByType, grayscaleTransformSchema, hasOutputOfType, httpFailure, imageDescriptionOutputSchema, inputDataSchema, inputFileSchema, inputNodeParamsSchema, inputTypeRegistry, interpolateFileName, isDataStore, isErrorRetryable, isFinalizeOperation, isImageDescriptionOutput, isInitOperation, isOcrOutput, isStorageOutput, isStorageOutputV1, isStreamingInputV1, isSupportedAlgorithm, isUploadFile, isUploadOperation, isUploadistaError, isUrlOperation, jsonSerializer, jsonValueSchema, kvCircuitBreakerStoreLayer, logoTransformSchema, makeKvCircuitBreakerStore, makeMemoryCircuitBreakerStore, memoryCircuitBreakerStoreLayer, ocrOutputSchema, once, optimizeParamsSchema, outputTypeRegistry, removeBackgroundParamsSchema, resizeParamsSchema, resizeTransformSchema, resizeVideoParamsSchema, resolveUploadMetadata, rotateTransformSchema, runArgsSchema, sepiaTransformSchema, sharpenTransformSchema, streamLimiter, textTransformSchema, throttle, traceContextSchema, transcodeVideoParamsSchema, transformImageParamsSchema, transformationSchema, trimVideoParamsSchema, uploadEngine, uploadEventEmitter, uploadEventSchema, uploadFileKvStore, uploadFileSchema, validateFlowInput, validateFlowOutput, validatePattern, waitingNodeExecution, watermarkTransformSchema, webSocketMessageSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as ee,n as te,r as e,t}from"./uploadista-error-
|
|
1
|
+
import{i as ee,n as te,r as e,t}from"./uploadista-error-DQ7V1FlX.mjs";import"./errors/index.mjs";import{$ as n,$t as r,A as i,At as a,B as o,Bt as s,C as c,Ct as l,D as u,Dt as d,E as f,Et as p,F as m,Ft as h,G as g,Gt as _,H as v,Ht as y,I as b,It as x,J as S,Jt as C,K as w,Kt as T,L as E,Lt as D,M as O,Mt as k,N as A,Nt as j,O as M,Ot as N,P,Pt as F,Q as I,Qt as L,R,Rt as z,S as B,St as V,T as H,Tt as U,U as W,Ut as G,V as K,Vt as q,W as J,Wt as Y,X,Xt as Z,Y as Q,Yt as ne,Z as re,Zt as ie,_ as ae,_t as oe,a as se,at as ce,b as le,bt as ue,c as de,ct as fe,d as pe,dt as me,en as he,et as ge,f as _e,ft as ve,g as ye,gt as be,h as xe,ht as Se,i as Ce,it as we,j as Te,jt as Ee,k as De,kt as Oe,l as ke,lt as Ae,m as je,mt as Me,n as Ne,nt as Pe,o as Fe,ot as Ie,p as Le,pt as Re,q as $,qt as ze,r as Be,rt as Ve,s as He,st as Ue,t as We,tt as Ge,u as Ke,ut as qe,v as Je,vt as Ye,w as Xe,wt as Ze,x as Qe,xt as $e,y as et,yt as tt,z as nt,zt as rt}from"./run-args-CIqI4Zc7.mjs";import{A as it,B as at,C as ot,D as st,E as ct,F as lt,I as ut,L as dt,M as ft,N as pt,O as mt,P as ht,R as gt,S as _t,T as vt,_ as yt,a as bt,b as xt,c as St,d as Ct,f as wt,g as Tt,h as Et,i as Dt,j as Ot,k as kt,l as At,m as jt,n as Mt,o as Nt,p as Pt,r as Ft,s as It,t as Lt,u as Rt,v as zt,w as Bt,x as Vt,y as Ht,z as Ut}from"./websocket-DftnHFfN.mjs";import"./types/index.mjs";import{c as Wt,i as Gt,n as Kt,r as qt,s as Jt,t as Yt}from"./upload-strategy-negotiator-ChKvppnA.mjs";import{a as Xt,i as Zt,n as Qt,o as $t,r as en,s as tn,t as nn}from"./checksum-BRjFmTRk.mjs";import{n as rn,t as an}from"./stream-limiter-CvDuNIyd.mjs";import"./upload/index.mjs";import"./flow/index.mjs";import"./streams/index.mjs";import{a as on,i as sn,n as cn,r as ln,t as un}from"./throttle-TFY-V41R.mjs";import"./utils/index.mjs";export{m as AVAILABLE_TEMPLATE_VARIABLES,Rt as BaseEventEmitterService,mt as BaseKvStoreService,zt as BufferedUploadFileDataStore,Ut as CircuitBreakerStoreService,A as CredentialProvider,he as DEFAULT_CIRCUIT_BREAKER_CONFIG,It as DEFAULT_HEALTH_CHECK_CONFIG,Ht as DEFAULT_MULTIPART_PART_SIZE,X as DEFAULT_QUEUE_CONFIG,Ye as DEFAULT_RETRY_POLICY,xt as DEFAULT_STREAMING_CONFIG,kt as DeadLetterQueueKVStore,Se as DeadLetterQueueService,C as DistributedCircuitBreaker,ne as DistributedCircuitBreakerRegistry,O as DocumentAiPlugin,Te as DocumentPlugin,t as ERRORS,t as ERROR_CATALOG,yt as EventBroadcasterService,T as EventType,J as FlowEngine,Ct as FlowEventEmitter,it as FlowJobKVStore,g as FlowLifecycleHook,w as FlowProvider,v as FlowQueueDispatchMarker,Ot as FlowQueueKVStore,W as FlowQueueService,$ as FlowWaitUntil,en as GenerateId,Zt as GenerateIdLive,Xt as GenerateIdRandom,$t as GenerateIdService,tn as GenerateIdTimestamp,V as IMAGE_DESCRIPTION_OUTPUT_TYPE_ID,i as ImageAiPlugin,De as ImagePlugin,G as InputTypeRegistry,on as Md5,re as MemoryFlowQueueStore,Dt as MiddlewareService,bt as MiddlewareServiceLive,D as NodeType,l as OCR_OUTPUT_TYPE_ID,ln as OnceEffect,s as OutputTypeRegistry,Me as ParallelScheduler,Ze as STORAGE_OUTPUT_TYPE_ID,U as STREAMING_INPUT_TYPE_ID,an as StreamLimiterEffect,un as ThrottleEffect,wt as TypedEventEmitter,ft as TypedKvStore,Kt as UploadEngine,Pt as UploadEventEmitter,Mt as UploadEventType,Vt as UploadFileDataStore,_t as UploadFileDataStores,pt as UploadFileKVStore,Yt as UploadStrategyNegotiator,te as UploadistaError,se as VideoPlugin,Ce as VirusScanPlugin,Be as ZipPlugin,b as applyFileNaming,He as blurTransformSchema,de as brightnessTransformSchema,E as buildNamingContext,tt as calculateBackoffDelay,ue as calculateExpirationDate,Jt as compareMimeTypes,k as completeNodeExecution,nn as computeChecksum,ke as contrastTransformSchema,ot as createDataStoreLayer,be as createDeadLetterQueueService,Ne as createFlow,ze as createFlowEdge,S as createFlowEngine,z as createFlowNode,I as createFlowWithSchema,at as createInitialCircuitBreakerState,N as createInputNode,j as createOutputGuard,P as createTransformNode,ge as createTypeGuard,qt as createUploadEngine,ht as deadLetterQueueKvStore,oe as deadLetterQueueService,M as describeImageParamsSchema,u as describeVideoMetadataSchema,Wt as detectMimeType,jt as eventToMessageSerializer,f as extractFrameVideoParamsSchema,Ge as filterOutputsByType,Ke as flipTransformSchema,Q as flowEngine,Et as flowEventEmitter,lt as flowJobKvStore,ut as flowQueueKvStore,St as formatHealthAsText,R as getBaseName,nt as getExtension,Pe as getFirstOutputByType,n as getFlowData,At as getHealthResponseFormat,rt as getNodeData,Ve as getOutputByNodeId,we as getSingleOutputByType,pe as grayscaleTransformSchema,ce as hasOutputOfType,e as httpFailure,p as imageDescriptionOutputSchema,Oe as inputDataSchema,Nt as inputFileSchema,a as inputNodeParamsSchema,Y as inputTypeRegistry,o as interpolateFileName,Bt as isDataStore,$e as isErrorRetryable,Ie as isFinalizeOperation,Ue as isImageDescriptionOutput,fe as isInitOperation,Ae as isOcrOutput,qe as isStorageOutput,F as isStorageOutputV1,h as isStreamingInputV1,Qt as isSupportedAlgorithm,me as isUploadFile,ve as isUploadOperation,ee as isUploadistaError,Re as isUrlOperation,dt as jsonSerializer,vt as jsonValueSchema,Z as kvCircuitBreakerStoreLayer,_e as logoTransformSchema,ie as makeKvCircuitBreakerStore,L as makeMemoryCircuitBreakerStore,r as memoryCircuitBreakerStoreLayer,d as ocrOutputSchema,sn as once,H as optimizeParamsSchema,q as outputTypeRegistry,Xe as removeBackgroundParamsSchema,c as resizeParamsSchema,Le as resizeTransformSchema,B as resizeVideoParamsSchema,Ee as resolveUploadMetadata,je as rotateTransformSchema,We as runArgsSchema,xe as sepiaTransformSchema,ye as sharpenTransformSchema,rn as streamLimiter,ae as textTransformSchema,cn as throttle,ct as traceContextSchema,Qe as transcodeVideoParamsSchema,Je as transformImageParamsSchema,et as transformationSchema,Fe as trimVideoParamsSchema,Gt as uploadEngine,Tt as uploadEventEmitter,Ft as uploadEventSchema,gt as uploadFileKvStore,st as uploadFileSchema,_ as validateFlowInput,y as validateFlowOutput,K as validatePattern,x as waitingNodeExecution,le as watermarkTransformSchema,Lt as webSocketMessageSchema};
|