@uploadista/flow-videos-nodes 0.1.3 → 0.2.0

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.
@@ -1,30 +1,33 @@
1
1
 
2
- > @uploadista/flow-videos-nodes@0.1.3 build /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/videos/nodes
2
+ > @uploadista/flow-videos-nodes@0.2.0 build /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/videos/nodes
3
3
  > tsc --noEmit && tsdown
4
4
 
5
- ℹ tsdown v0.20.1 powered by rolldown v1.0.0-rc.1
5
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
6
6
  ℹ config file: /home/runner/work/uploadista-sdk/uploadista-sdk/packages/flow/videos/nodes/tsdown.config.ts
7
7
  ℹ entry: src/index.ts
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
- ℹ [CJS] dist/index.cjs 5.29 kB │ gzip: 1.60 kB
11
- ℹ [CJS] 1 files, total: 5.29 kB
12
- [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugin `tsdown:external`. See https://rolldown.rs/options/checks#plugintimings for more details.
10
+ ℹ [CJS] dist/index.cjs 5.35 kB │ gzip: 1.65 kB
11
+ ℹ [CJS] 1 files, total: 5.35 kB
12
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
13
+ - tsdown:shebang (61%)
14
+ - tsdown:external (39%)
15
+ See https://rolldown.rs/options/checks#plugintimings for more details.
16
+
17
+ ℹ [CJS] dist/index.d.cts.map  1.58 kB │ gzip: 0.42 kB
18
+ ℹ [CJS] dist/index.d.cts 13.68 kB │ gzip: 2.06 kB
19
+ ℹ [CJS] 2 files, total: 15.27 kB
20
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
21
+ - rolldown-plugin-dts:generate (47%)
22
+ - rolldown-plugin-dts:resolver (45%)
23
+ See https://rolldown.rs/options/checks#plugintimings for more details.
13
24
 
25
+ ✔ Build complete in 12240ms
14
26
  ℹ [ESM] dist/index.mjs  4.91 kB │ gzip: 1.62 kB
15
27
  ℹ [ESM] dist/index.mjs.map 26.39 kB │ gzip: 5.07 kB
16
- ℹ [ESM] dist/index.d.mts.map  1.58 kB │ gzip: 0.41 kB
17
- ℹ [ESM] dist/index.d.mts 13.70 kB │ gzip: 2.07 kB
18
- ℹ [ESM] 4 files, total: 46.58 kB
28
+ ℹ [ESM] dist/index.d.mts.map  1.58 kB │ gzip: 0.42 kB
29
+ ℹ [ESM] dist/index.d.mts 13.68 kB │ gzip: 2.06 kB
30
+ ℹ [ESM] 4 files, total: 46.57 kB
19
31
  [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugin `rolldown-plugin-dts:generate`. See https://rolldown.rs/options/checks#plugintimings for more details.
20
32
 
21
- ✔ Build complete in 13177ms
22
- ℹ [CJS] dist/index.d.cts.map  1.58 kB │ gzip: 0.41 kB
23
- ℹ [CJS] dist/index.d.cts 13.70 kB │ gzip: 2.07 kB
24
- ℹ [CJS] 2 files, total: 15.28 kB
25
- [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
26
- - rolldown-plugin-dts:generate (56%)
27
- - rolldown-plugin-dts:resolver (38%)
28
- See https://rolldown.rs/options/checks#plugintimings for more details.
29
-
30
- ✔ Build complete in 13191ms
33
+ ✔ Build complete in 12253ms
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- let e=require(`@uploadista/core/flow`),t=require(`effect`),n=require(`@uploadista/core/errors`);function r(n,r){return t.Effect.gen(function*(){let i=yield*e.VideoPlugin;return yield*(0,e.createTransformNode)({id:n,name:`Describe Video`,description:`Extracts video metadata (duration, resolution, codec, etc.)`,nodeTypeId:`describe-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:r?.keepOutput,transform:(e,n)=>t.Effect.gen(function*(){let t=yield*i.describe(e);return{bytes:e,metadata:{...n.metadata,videoInfo:t}}})})})}const i={fileSizeThreshold:1e7,chunkSize:1048576};function a(n,r,a){return t.Effect.gen(function*(){let o=yield*e.VideoPlugin,s=o.supportsStreaming??!1,c=a?.mode??`auto`,l=c===`buffered`?`buffered`:s?c:`buffered`,u={...i,...a?.streamingConfig},d=a?.naming?{...a.naming,autoSuffix:a.naming.autoSuffix??(e=>`${e.width??r.width}x${e.height??r.height}`)}:void 0;return yield*(0,e.createTransformNode)({id:n,name:`Resize Video`,description:`Changes video resolution`,nodeTypeId:`resize-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:a?.keepOutput,naming:d,nodeType:`resize-video`,namingVars:{width:r.width,height:r.height},mode:l,streamingConfig:u,transform:e=>t.Effect.map(o.resize(e,r),e=>({bytes:e})),streamingTransform:o.resizeStream?e=>t.Effect.gen(function*(){let t=o.resizeStream;if(!t)throw Error(`resizeStream not available`);return{stream:yield*t(e,r)}}):void 0})})}function o(n,r,i){return t.Effect.gen(function*(){let a=yield*e.VideoPlugin,o=r.format||`jpeg`;return yield*(0,e.createTransformNode)({id:n,name:`Generate Thumbnail`,description:`Extracts a frame from video as an image`,nodeTypeId:`thumbnail-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:i?.keepOutput,nodeType:`thumbnail`,namingVars:{format:o},transform:(s,c)=>t.Effect.map(a.extractFrame(s,r),t=>{let r=o===`png`?`image/png`:`image/jpeg`,a=o===`png`?`png`:`jpg`,s=c.metadata?.fileName,l;if(s&&typeof s==`string`)if(i?.naming){let t={...i.naming,autoSuffix:i.naming.autoSuffix??(()=>`thumb`)};l=`${(0,e.getBaseName)((0,e.applyFileNaming)(c,(0,e.buildNamingContext)(c,{flowId:c.flow?.flowId??``,jobId:c.flow?.jobId??``,nodeId:n,nodeType:`thumbnail`},{format:o}),t))}.${a}`}else l=s.replace(/\.[^.]+$/,`.${a}`);return{bytes:t,type:r,fileName:l}})})})}const s={fileSizeThreshold:1e7,chunkSize:1048576},c={mp4:`video/mp4`,webm:`video/webm`,mov:`video/quicktime`,avi:`video/x-msvideo`},l={mp4:`mp4`,webm:`webm`,mov:`mov`,avi:`avi`};function u(n,r,i){return t.Effect.gen(function*(){let a=yield*e.VideoPlugin,o=a.supportsStreaming??!1,u=i?.mode??`auto`,d=u===`buffered`?`buffered`:o?u:`buffered`,f={...s,...i?.streamingConfig},p=t=>{let a=c[r.format],o=l[r.format],s=t.metadata?.fileName,u;if(s&&typeof s==`string`)if(i?.naming){let a={...i.naming,autoSuffix:i.naming.autoSuffix??(e=>e.format??r.format)};u=`${(0,e.getBaseName)((0,e.applyFileNaming)(t,(0,e.buildNamingContext)(t,{flowId:t.flow?.flowId??``,jobId:t.flow?.jobId??``,nodeId:n,nodeType:`transcode`},{format:r.format}),a))}.${o}`}else u=s.replace(/\.[^.]+$/,`.${o}`);return{newType:a,newFileName:u}};return yield*(0,e.createTransformNode)({id:n,name:`Transcode`,description:`Converts video to specified format and codec`,nodeTypeId:`transcode-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:i?.keepOutput,nodeType:`transcode`,namingVars:{format:r.format},mode:d,streamingConfig:f,transform:(e,n)=>t.Effect.map(a.transcode(e,r),e=>{let{newType:t,newFileName:r}=p(n);return{bytes:e,type:t,fileName:r}}),streamingTransform:a.transcodeStream?(e,n)=>t.Effect.gen(function*(){let t=a.transcodeStream;if(!t)throw Error(`transcodeStream not available`);let i=yield*t(e,r),{newType:o,newFileName:s}=p(n);return{stream:i,type:o,fileName:s}}):void 0})})}const d={fileSizeThreshold:1e7,chunkSize:1048576};function f(r,i,a){return t.Effect.gen(function*(){let o=yield*e.VideoPlugin;if(i.endTime!==void 0&&i.endTime<=i.startTime)return yield*n.UploadistaError.fromCode(`VALIDATION_ERROR`,{body:`endTime must be greater than startTime`,details:{params:i}}).toEffect();if(i.duration!==void 0&&i.endTime!==void 0&&i.duration!==i.endTime-i.startTime)return yield*n.UploadistaError.fromCode(`VALIDATION_ERROR`,{body:`Cannot specify both endTime and duration with conflicting values`,details:{params:i}}).toEffect();if(i.duration!==void 0&&i.duration<=0)return yield*n.UploadistaError.fromCode(`VALIDATION_ERROR`,{body:`duration must be greater than 0`,details:{params:i}}).toEffect();let s=o.supportsStreaming??!1,c=a?.mode??`auto`,l=c===`buffered`?`buffered`:s?c:`buffered`,u={...d,...a?.streamingConfig},f=a?.naming?{...a.naming,autoSuffix:a.naming.autoSuffix??(()=>`trimmed`)}:void 0;return yield*(0,e.createTransformNode)({id:r,name:`Trim Video`,description:`Extracts a segment from the video`,nodeTypeId:`trim-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:a?.keepOutput,naming:f,nodeType:`trim`,mode:l,streamingConfig:u,transform:e=>t.Effect.map(o.trim(e,i),e=>({bytes:e})),streamingTransform:o.trimStream?e=>t.Effect.gen(function*(){let t=o.trimStream;if(!t)throw Error(`trimStream not available`);return{stream:yield*t(e,i)}}):void 0})})}exports.createDescribeVideoNode=r,exports.createTranscodeVideoNode=u,exports.createTrimVideoNode=f,exports.createVideoResizeNode=a,exports.createVideoThumbnailNode=o;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require(`@uploadista/core/flow`),t=require(`effect`),n=require(`@uploadista/core/errors`);function r(n,r){return t.Effect.gen(function*(){let i=yield*e.VideoPlugin;return yield*(0,e.createTransformNode)({id:n,name:`Describe Video`,description:`Extracts video metadata (duration, resolution, codec, etc.)`,nodeTypeId:`describe-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:r?.keepOutput,transform:(e,n)=>t.Effect.gen(function*(){let t=yield*i.describe(e);return{bytes:e,metadata:{...n.metadata,videoInfo:t}}})})})}const i={fileSizeThreshold:1e7,chunkSize:1048576};function a(n,r,a){return t.Effect.gen(function*(){let o=yield*e.VideoPlugin,s=o.supportsStreaming??!1,c=a?.mode??`auto`,l=c===`buffered`?`buffered`:s?c:`buffered`,u={...i,...a?.streamingConfig},d=a?.naming?{...a.naming,autoSuffix:a.naming.autoSuffix??(e=>`${e.width??r.width}x${e.height??r.height}`)}:void 0;return yield*(0,e.createTransformNode)({id:n,name:`Resize Video`,description:`Changes video resolution`,nodeTypeId:`resize-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:a?.keepOutput,naming:d,nodeType:`resize-video`,namingVars:{width:r.width,height:r.height},mode:l,streamingConfig:u,transform:e=>t.Effect.map(o.resize(e,r),e=>({bytes:e})),streamingTransform:o.resizeStream?e=>t.Effect.gen(function*(){let t=o.resizeStream;if(!t)throw Error(`resizeStream not available`);return{stream:yield*t(e,r)}}):void 0})})}function o(n,r,i){return t.Effect.gen(function*(){let a=yield*e.VideoPlugin,o=r.format||`jpeg`;return yield*(0,e.createTransformNode)({id:n,name:`Generate Thumbnail`,description:`Extracts a frame from video as an image`,nodeTypeId:`thumbnail-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:i?.keepOutput,nodeType:`thumbnail`,namingVars:{format:o},transform:(s,c)=>t.Effect.map(a.extractFrame(s,r),t=>{let r=o===`png`?`image/png`:`image/jpeg`,a=o===`png`?`png`:`jpg`,s=c.metadata?.fileName,l;if(s&&typeof s==`string`)if(i?.naming){let t={...i.naming,autoSuffix:i.naming.autoSuffix??(()=>`thumb`)};l=`${(0,e.getBaseName)((0,e.applyFileNaming)(c,(0,e.buildNamingContext)(c,{flowId:c.flow?.flowId??``,jobId:c.flow?.jobId??``,nodeId:n,nodeType:`thumbnail`},{format:o}),t))}.${a}`}else l=s.replace(/\.[^.]+$/,`.${a}`);return{bytes:t,type:r,fileName:l}})})})}const s={fileSizeThreshold:1e7,chunkSize:1048576},c={mp4:`video/mp4`,webm:`video/webm`,mov:`video/quicktime`,avi:`video/x-msvideo`},l={mp4:`mp4`,webm:`webm`,mov:`mov`,avi:`avi`};function u(n,r,i){return t.Effect.gen(function*(){let a=yield*e.VideoPlugin,o=a.supportsStreaming??!1,u=i?.mode??`auto`,d=u===`buffered`?`buffered`:o?u:`buffered`,f={...s,...i?.streamingConfig},p=t=>{let a=c[r.format],o=l[r.format],s=t.metadata?.fileName,u;if(s&&typeof s==`string`)if(i?.naming){let a={...i.naming,autoSuffix:i.naming.autoSuffix??(e=>e.format??r.format)};u=`${(0,e.getBaseName)((0,e.applyFileNaming)(t,(0,e.buildNamingContext)(t,{flowId:t.flow?.flowId??``,jobId:t.flow?.jobId??``,nodeId:n,nodeType:`transcode`},{format:r.format}),a))}.${o}`}else u=s.replace(/\.[^.]+$/,`.${o}`);return{newType:a,newFileName:u}};return yield*(0,e.createTransformNode)({id:n,name:`Transcode`,description:`Converts video to specified format and codec`,nodeTypeId:`transcode-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:i?.keepOutput,nodeType:`transcode`,namingVars:{format:r.format},mode:d,streamingConfig:f,transform:(e,n)=>t.Effect.map(a.transcode(e,r),e=>{let{newType:t,newFileName:r}=p(n);return{bytes:e,type:t,fileName:r}}),streamingTransform:a.transcodeStream?(e,n)=>t.Effect.gen(function*(){let t=a.transcodeStream;if(!t)throw Error(`transcodeStream not available`);let i=yield*t(e,r),{newType:o,newFileName:s}=p(n);return{stream:i,type:o,fileName:s}}):void 0})})}const d={fileSizeThreshold:1e7,chunkSize:1048576};function f(r,i,a){return t.Effect.gen(function*(){let o=yield*e.VideoPlugin;if(i.endTime!==void 0&&i.endTime<=i.startTime)return yield*n.UploadistaError.fromCode(`VALIDATION_ERROR`,{body:`endTime must be greater than startTime`,details:{params:i}}).toEffect();if(i.duration!==void 0&&i.endTime!==void 0&&i.duration!==i.endTime-i.startTime)return yield*n.UploadistaError.fromCode(`VALIDATION_ERROR`,{body:`Cannot specify both endTime and duration with conflicting values`,details:{params:i}}).toEffect();if(i.duration!==void 0&&i.duration<=0)return yield*n.UploadistaError.fromCode(`VALIDATION_ERROR`,{body:`duration must be greater than 0`,details:{params:i}}).toEffect();let s=o.supportsStreaming??!1,c=a?.mode??`auto`,l=c===`buffered`?`buffered`:s?c:`buffered`,u={...d,...a?.streamingConfig},f=a?.naming?{...a.naming,autoSuffix:a.naming.autoSuffix??(()=>`trimmed`)}:void 0;return yield*(0,e.createTransformNode)({id:r,name:`Trim Video`,description:`Extracts a segment from the video`,nodeTypeId:`trim-video`,outputTypeId:e.STORAGE_OUTPUT_TYPE_ID,keepOutput:a?.keepOutput,naming:f,nodeType:`trim`,mode:l,streamingConfig:u,transform:e=>t.Effect.map(o.trim(e,i),e=>({bytes:e})),streamingTransform:o.trimStream?e=>t.Effect.gen(function*(){let t=o.trimStream;if(!t)throw Error(`trimStream not available`);return{stream:yield*t(e,i)}}):void 0})})}exports.createDescribeVideoNode=r,exports.createTranscodeVideoNode=u,exports.createTrimVideoNode=f,exports.createVideoResizeNode=a,exports.createVideoThumbnailNode=o;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import * as _uploadista_core_flow3 from "@uploadista/core/flow";
1
+ import * as _uploadista_core_flow0 from "@uploadista/core/flow";
2
2
  import { DescribeVideoMetadata, ExtractFrameVideoParams, ExtractFrameVideoParams as ExtractFrameVideoParams$1, FileNamingConfig, ResizeVideoParams, ResizeVideoParams as ResizeVideoParams$1, StreamingConfig, TranscodeVideoParams, TranscodeVideoParams as TranscodeVideoParams$1, TransformMode, TrimVideoParams, TrimVideoParams as TrimVideoParams$1, VideoPlugin } from "@uploadista/core/flow";
3
- import * as _uploadista_core_types5 from "@uploadista/core/types";
4
- import * as zod_v4_core1 from "zod/v4/core";
5
- import * as zod1 from "zod";
3
+ import * as _uploadista_core_types0 from "@uploadista/core/types";
4
+ import * as zod_v4_core0 from "zod/v4/core";
5
+ import * as zod from "zod";
6
6
  import * as _uploadista_core_errors0 from "@uploadista/core/errors";
7
7
  import { UploadistaError } from "@uploadista/core/errors";
8
8
  import * as _uploadista_core_upload0 from "@uploadista/core/upload";
@@ -26,17 +26,17 @@ import { Effect } from "effect";
26
26
  */
27
27
  declare function createDescribeVideoNode(id: string, options?: {
28
28
  keepOutput?: boolean;
29
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
30
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
31
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
29
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
30
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
31
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
32
32
  run: (args: {
33
- data: _uploadista_core_types5.UploadFile;
33
+ data: _uploadista_core_types0.UploadFile;
34
34
  jobId: string;
35
35
  storageId: string;
36
36
  flowId: string;
37
37
  inputs?: Record<string, unknown>;
38
38
  clientId: string | null;
39
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
39
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
40
40
  condition?: {
41
41
  field: string;
42
42
  operator: string;
@@ -50,9 +50,9 @@ declare function createDescribeVideoNode(id: string, options?: {
50
50
  retryDelay?: number;
51
51
  exponentialBackoff?: boolean;
52
52
  };
53
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
53
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
54
54
  } & {
55
- type: _uploadista_core_flow3.NodeType;
55
+ type: _uploadista_core_flow0.NodeType;
56
56
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
57
57
  //#endregion
58
58
  //#region src/resize-node.d.ts
@@ -109,17 +109,17 @@ declare function createVideoResizeNode(id: string, params: ResizeVideoParams$1,
109
109
  naming?: FileNamingConfig;
110
110
  mode?: TransformMode;
111
111
  streamingConfig?: StreamingConfig;
112
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
113
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
114
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
112
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
113
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
114
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
115
115
  run: (args: {
116
- data: _uploadista_core_types5.UploadFile;
116
+ data: _uploadista_core_types0.UploadFile;
117
117
  jobId: string;
118
118
  storageId: string;
119
119
  flowId: string;
120
120
  inputs?: Record<string, unknown>;
121
121
  clientId: string | null;
122
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
122
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
123
123
  condition?: {
124
124
  field: string;
125
125
  operator: string;
@@ -133,9 +133,9 @@ declare function createVideoResizeNode(id: string, params: ResizeVideoParams$1,
133
133
  retryDelay?: number;
134
134
  exponentialBackoff?: boolean;
135
135
  };
136
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
136
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
137
137
  } & {
138
- type: _uploadista_core_flow3.NodeType;
138
+ type: _uploadista_core_flow0.NodeType;
139
139
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
140
140
  //#endregion
141
141
  //#region src/thumbnail-node.d.ts
@@ -165,17 +165,17 @@ declare function createVideoResizeNode(id: string, params: ResizeVideoParams$1,
165
165
  declare function createVideoThumbnailNode(id: string, params: ExtractFrameVideoParams$1, options?: {
166
166
  keepOutput?: boolean;
167
167
  naming?: FileNamingConfig;
168
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
169
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
170
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
168
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
169
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
170
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
171
171
  run: (args: {
172
- data: _uploadista_core_types5.UploadFile;
172
+ data: _uploadista_core_types0.UploadFile;
173
173
  jobId: string;
174
174
  storageId: string;
175
175
  flowId: string;
176
176
  inputs?: Record<string, unknown>;
177
177
  clientId: string | null;
178
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
178
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
179
179
  condition?: {
180
180
  field: string;
181
181
  operator: string;
@@ -189,9 +189,9 @@ declare function createVideoThumbnailNode(id: string, params: ExtractFrameVideoP
189
189
  retryDelay?: number;
190
190
  exponentialBackoff?: boolean;
191
191
  };
192
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
192
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
193
193
  } & {
194
- type: _uploadista_core_flow3.NodeType;
194
+ type: _uploadista_core_flow0.NodeType;
195
195
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
196
196
  //#endregion
197
197
  //#region src/transcode-node.d.ts
@@ -247,17 +247,17 @@ declare function createTranscodeVideoNode(id: string, params: TranscodeVideoPara
247
247
  naming?: FileNamingConfig;
248
248
  mode?: TransformMode;
249
249
  streamingConfig?: StreamingConfig;
250
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
251
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
252
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
250
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
251
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
252
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
253
253
  run: (args: {
254
- data: _uploadista_core_types5.UploadFile;
254
+ data: _uploadista_core_types0.UploadFile;
255
255
  jobId: string;
256
256
  storageId: string;
257
257
  flowId: string;
258
258
  inputs?: Record<string, unknown>;
259
259
  clientId: string | null;
260
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
260
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
261
261
  condition?: {
262
262
  field: string;
263
263
  operator: string;
@@ -271,9 +271,9 @@ declare function createTranscodeVideoNode(id: string, params: TranscodeVideoPara
271
271
  retryDelay?: number;
272
272
  exponentialBackoff?: boolean;
273
273
  };
274
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
274
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
275
275
  } & {
276
- type: _uploadista_core_flow3.NodeType;
276
+ type: _uploadista_core_flow0.NodeType;
277
277
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
278
278
  //#endregion
279
279
  //#region src/trim-node.d.ts
@@ -328,17 +328,17 @@ declare function createTrimVideoNode(id: string, params: TrimVideoParams$1, opti
328
328
  naming?: FileNamingConfig;
329
329
  mode?: TransformMode;
330
330
  streamingConfig?: StreamingConfig;
331
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
332
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
333
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
331
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
332
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
333
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
334
334
  run: (args: {
335
- data: _uploadista_core_types5.UploadFile;
335
+ data: _uploadista_core_types0.UploadFile;
336
336
  jobId: string;
337
337
  storageId: string;
338
338
  flowId: string;
339
339
  inputs?: Record<string, unknown>;
340
340
  clientId: string | null;
341
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, UploadistaError, never>;
341
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, UploadistaError, never>;
342
342
  condition?: {
343
343
  field: string;
344
344
  operator: string;
@@ -352,9 +352,9 @@ declare function createTrimVideoNode(id: string, params: TrimVideoParams$1, opti
352
352
  retryDelay?: number;
353
353
  exponentialBackoff?: boolean;
354
354
  };
355
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
355
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
356
356
  } & {
357
- type: _uploadista_core_flow3.NodeType;
357
+ type: _uploadista_core_flow0.NodeType;
358
358
  }, UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
359
359
  //#endregion
360
360
  export { type DescribeVideoMetadata, type ExtractFrameVideoParams, type ResizeVideoParams, type TranscodeVideoParams, type TrimVideoParams, createDescribeVideoNode, createTranscodeVideoNode, createTrimVideoNode, createVideoResizeNode, createVideoThumbnailNode };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/describe-video-node.ts","../src/resize-node.ts","../src/thumbnail-node.ts","../src/transcode-node.ts","../src/trim-node.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA;;;;;;iBAAgB,uBAAA,CACd,EAAA,UACA,OAAA;EAAY,UAAA;AAAA,IAAsB,MAAA,CAAA,MAAA,CAFG,sBAAA,CAEH,YAAA;4BAAA,uBAAA,CAAA,UAAA;;;;;;;aA8But/M,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhC3v/M;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC2CgB,qBAAA,CACd,EAAA,UACA,MAAA,EAAQ,mBAAA,EACR,OAAA;EACE,UAAA;EACA,MAAA,GAAS,gBAAA;EACT,IAAA,GAAO,aAAA;EACP,eAAA,GAAkB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BAAA,CAAA,UAAA;;;;;;;aAiHgm4M,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AHtLnm4M;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBI0CgB,mBAAA,CACd,EAAA,UACA,MAAA,EAAQ,iBAAA,EACR,OAAA;EACE,UAAA;EACA,MAAA,GAAS,gBAAA;EACT,IAAA,GAAO,aAAA;EACP,eAAA,GAAkB,eAAA;AAAA,IACnB,MAAA,CAAA,MAAA,CADkC,sBAAA,CAClC,YAAA;2BAAA,uBAAA,CAAA,UAAA;;;;;;;aAwFw46M,MAAA;;iEAAA,uBAAA,CAAA,UAAA"}
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import * as _uploadista_core_flow3 from "@uploadista/core/flow";
1
+ import * as _uploadista_core_flow0 from "@uploadista/core/flow";
2
2
  import { DescribeVideoMetadata, ExtractFrameVideoParams, ExtractFrameVideoParams as ExtractFrameVideoParams$1, FileNamingConfig, ResizeVideoParams, ResizeVideoParams as ResizeVideoParams$1, StreamingConfig, TranscodeVideoParams, TranscodeVideoParams as TranscodeVideoParams$1, TransformMode, TrimVideoParams, TrimVideoParams as TrimVideoParams$1, VideoPlugin } from "@uploadista/core/flow";
3
3
  import { Effect } from "effect";
4
4
  import * as _uploadista_core_errors0 from "@uploadista/core/errors";
5
5
  import { UploadistaError } from "@uploadista/core/errors";
6
- import * as _uploadista_core_types5 from "@uploadista/core/types";
7
- import * as zod_v4_core1 from "zod/v4/core";
8
- import * as zod1 from "zod";
6
+ import * as _uploadista_core_types0 from "@uploadista/core/types";
7
+ import * as zod_v4_core0 from "zod/v4/core";
8
+ import * as zod from "zod";
9
9
  import * as _uploadista_core_upload0 from "@uploadista/core/upload";
10
10
 
11
11
  //#region src/describe-video-node.d.ts
@@ -26,17 +26,17 @@ import * as _uploadista_core_upload0 from "@uploadista/core/upload";
26
26
  */
27
27
  declare function createDescribeVideoNode(id: string, options?: {
28
28
  keepOutput?: boolean;
29
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
30
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
31
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
29
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
30
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
31
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
32
32
  run: (args: {
33
- data: _uploadista_core_types5.UploadFile;
33
+ data: _uploadista_core_types0.UploadFile;
34
34
  jobId: string;
35
35
  storageId: string;
36
36
  flowId: string;
37
37
  inputs?: Record<string, unknown>;
38
38
  clientId: string | null;
39
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
39
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
40
40
  condition?: {
41
41
  field: string;
42
42
  operator: string;
@@ -50,9 +50,9 @@ declare function createDescribeVideoNode(id: string, options?: {
50
50
  retryDelay?: number;
51
51
  exponentialBackoff?: boolean;
52
52
  };
53
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
53
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
54
54
  } & {
55
- type: _uploadista_core_flow3.NodeType;
55
+ type: _uploadista_core_flow0.NodeType;
56
56
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
57
57
  //#endregion
58
58
  //#region src/resize-node.d.ts
@@ -109,17 +109,17 @@ declare function createVideoResizeNode(id: string, params: ResizeVideoParams$1,
109
109
  naming?: FileNamingConfig;
110
110
  mode?: TransformMode;
111
111
  streamingConfig?: StreamingConfig;
112
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
113
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
114
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
112
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
113
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
114
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
115
115
  run: (args: {
116
- data: _uploadista_core_types5.UploadFile;
116
+ data: _uploadista_core_types0.UploadFile;
117
117
  jobId: string;
118
118
  storageId: string;
119
119
  flowId: string;
120
120
  inputs?: Record<string, unknown>;
121
121
  clientId: string | null;
122
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
122
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
123
123
  condition?: {
124
124
  field: string;
125
125
  operator: string;
@@ -133,9 +133,9 @@ declare function createVideoResizeNode(id: string, params: ResizeVideoParams$1,
133
133
  retryDelay?: number;
134
134
  exponentialBackoff?: boolean;
135
135
  };
136
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
136
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
137
137
  } & {
138
- type: _uploadista_core_flow3.NodeType;
138
+ type: _uploadista_core_flow0.NodeType;
139
139
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
140
140
  //#endregion
141
141
  //#region src/thumbnail-node.d.ts
@@ -165,17 +165,17 @@ declare function createVideoResizeNode(id: string, params: ResizeVideoParams$1,
165
165
  declare function createVideoThumbnailNode(id: string, params: ExtractFrameVideoParams$1, options?: {
166
166
  keepOutput?: boolean;
167
167
  naming?: FileNamingConfig;
168
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
169
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
170
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
168
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
169
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
170
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
171
171
  run: (args: {
172
- data: _uploadista_core_types5.UploadFile;
172
+ data: _uploadista_core_types0.UploadFile;
173
173
  jobId: string;
174
174
  storageId: string;
175
175
  flowId: string;
176
176
  inputs?: Record<string, unknown>;
177
177
  clientId: string | null;
178
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
178
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
179
179
  condition?: {
180
180
  field: string;
181
181
  operator: string;
@@ -189,9 +189,9 @@ declare function createVideoThumbnailNode(id: string, params: ExtractFrameVideoP
189
189
  retryDelay?: number;
190
190
  exponentialBackoff?: boolean;
191
191
  };
192
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
192
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
193
193
  } & {
194
- type: _uploadista_core_flow3.NodeType;
194
+ type: _uploadista_core_flow0.NodeType;
195
195
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
196
196
  //#endregion
197
197
  //#region src/transcode-node.d.ts
@@ -247,17 +247,17 @@ declare function createTranscodeVideoNode(id: string, params: TranscodeVideoPara
247
247
  naming?: FileNamingConfig;
248
248
  mode?: TransformMode;
249
249
  streamingConfig?: StreamingConfig;
250
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
251
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
252
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
250
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
251
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
252
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
253
253
  run: (args: {
254
- data: _uploadista_core_types5.UploadFile;
254
+ data: _uploadista_core_types0.UploadFile;
255
255
  jobId: string;
256
256
  storageId: string;
257
257
  flowId: string;
258
258
  inputs?: Record<string, unknown>;
259
259
  clientId: string | null;
260
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
260
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
261
261
  condition?: {
262
262
  field: string;
263
263
  operator: string;
@@ -271,9 +271,9 @@ declare function createTranscodeVideoNode(id: string, params: TranscodeVideoPara
271
271
  retryDelay?: number;
272
272
  exponentialBackoff?: boolean;
273
273
  };
274
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
274
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
275
275
  } & {
276
- type: _uploadista_core_flow3.NodeType;
276
+ type: _uploadista_core_flow0.NodeType;
277
277
  }, _uploadista_core_errors0.UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
278
278
  //#endregion
279
279
  //#region src/trim-node.d.ts
@@ -328,17 +328,17 @@ declare function createTrimVideoNode(id: string, params: TrimVideoParams$1, opti
328
328
  naming?: FileNamingConfig;
329
329
  mode?: TransformMode;
330
330
  streamingConfig?: StreamingConfig;
331
- }): Effect.Effect<_uploadista_core_flow3.FlowNodeData & {
332
- inputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
333
- outputSchema: zod1.ZodType<_uploadista_core_types5.UploadFile, unknown, zod_v4_core1.$ZodTypeInternals<_uploadista_core_types5.UploadFile, unknown>>;
331
+ }): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
332
+ inputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
333
+ outputSchema: zod.ZodType<_uploadista_core_types0.UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<_uploadista_core_types0.UploadFile, unknown>>;
334
334
  run: (args: {
335
- data: _uploadista_core_types5.UploadFile;
335
+ data: _uploadista_core_types0.UploadFile;
336
336
  jobId: string;
337
337
  storageId: string;
338
338
  flowId: string;
339
339
  inputs?: Record<string, unknown>;
340
340
  clientId: string | null;
341
- }) => Effect.Effect<_uploadista_core_flow3.NodeExecutionResult<_uploadista_core_types5.UploadFile>, UploadistaError, never>;
341
+ }) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<_uploadista_core_types0.UploadFile>, UploadistaError, never>;
342
342
  condition?: {
343
343
  field: string;
344
344
  operator: string;
@@ -352,9 +352,9 @@ declare function createTrimVideoNode(id: string, params: TrimVideoParams$1, opti
352
352
  retryDelay?: number;
353
353
  exponentialBackoff?: boolean;
354
354
  };
355
- circuitBreaker?: _uploadista_core_flow3.FlowCircuitBreakerConfig;
355
+ circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
356
356
  } & {
357
- type: _uploadista_core_flow3.NodeType;
357
+ type: _uploadista_core_flow0.NodeType;
358
358
  }, UploadistaError, VideoPlugin | _uploadista_core_upload0.UploadEngine>;
359
359
  //#endregion
360
360
  export { type DescribeVideoMetadata, type ExtractFrameVideoParams, type ResizeVideoParams, type TranscodeVideoParams, type TrimVideoParams, createDescribeVideoNode, createTranscodeVideoNode, createTrimVideoNode, createVideoResizeNode, createVideoThumbnailNode };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/describe-video-node.ts","../src/resize-node.ts","../src/thumbnail-node.ts","../src/transcode-node.ts","../src/trim-node.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA;;;;;;iBAAgB,uBAAA,CACd,EAAA,UACA,OAAA;EAAY,UAAA;AAAA,IAAsB,MAAA,CAAA,MAAA,CAFG,sBAAA,CAEH,YAAA;4BAAA,uBAAA,CAAA,UAAA;;;;;;;aA8But/M,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhC3v/M;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC2CgB,qBAAA,CACd,EAAA,UACA,MAAA,EAAQ,mBAAA,EACR,OAAA;EACE,UAAA;EACA,MAAA,GAAS,gBAAA;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","names":[],"sources":["../src/describe-video-node.ts","../src/resize-node.ts","../src/thumbnail-node.ts","../src/transcode-node.ts","../src/trim-node.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsBA;;;;;;iBAAgB,uBAAA,CACd,EAAA,UACA,OAAA;EAAY,UAAA;AAAA,IAAsB,MAAA,CAAA,MAAA,CAFG,sBAAA,CAEH,YAAA;2BAAA,uBAAA,CAAA,UAAA;;;;;;;aA8BsthN,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhC1vhN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC2CgB,qBAAA,CACd,EAAA,UACA,MAAA,EAAQ,mBAAA,EACR,OAAA;EACE,UAAA;EACA,MAAA,GAAS,gBAAA;EACT,IAAA,GAAO,aAAA;EACP,eAAA,GAAkB,eAAA;AAAA,IACnB,MAAA,CAAA,MAAA,CADkC,sBAAA,CAClC,YAAA;2BAAA,uBAAA,CAAA,UAAA;;;;;;;aAkEuh8M,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ADrH1h8M;;;;;;;;;;;;;;iBEagB,wBAAA,CACd,EAAA,UACA,MAAA,EAAQ,yBAAA,EACR,OAAA;EAAY,UAAA;EAAsB,MAAA,GAAS,gBAAA;AAAA,IAAkB,MAAA,CAAA,MAAA,CAAF,sBAAA,CAAE,YAAA;2BAAA,uBAAA,CAAA,UAAA;;;;;;;aAsE+09M,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AFtF949M;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBG6DgB,wBAAA,CACd,EAAA,UACA,MAAA,EAAQ,sBAAA,EACR,OAAA;EACE,UAAA;EACA,MAAA,GAAS,gBAAA;EACT,IAAA,GAAO,aAAA;EACP,eAAA,GAAkB,eAAA;AAAA,IACnB,MAAA,CAAA,MAAA,CADkC,sBAAA,CAClC,YAAA;2BAAA,uBAAA,CAAA,UAAA;;;;;;;aAiHgm4M,MAAA;;iEAAA,uBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AHtLnm4M;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBI0CgB,mBAAA,CACd,EAAA,UACA,MAAA,EAAQ,iBAAA,EACR,OAAA;EACE,UAAA;EACA,MAAA,GAAS,gBAAA;EACT,IAAA,GAAO,aAAA;EACP,eAAA,GAAkB,eAAA;AAAA,IACnB,MAAA,CAAA,MAAA,CADkC,sBAAA,CAClC,YAAA;2BAAA,uBAAA,CAAA,UAAA;;;;;;;aAwFw46M,MAAA;;iEAAA,uBAAA,CAAA,UAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uploadista/flow-videos-nodes",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.2.0",
5
5
  "description": "Video processing nodes for Uploadista Flow",
6
6
  "license": "MIT",
7
7
  "author": "Uploadista",
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@uploadista/core": "0.1.3"
17
+ "@uploadista/core": "0.2.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "effect": "^3.0.0",
@@ -23,11 +23,11 @@
23
23
  "devDependencies": {
24
24
  "@effect/vitest": "0.27.0",
25
25
  "@types/node": "24.10.9",
26
- "effect": "3.19.15",
27
- "tsdown": "0.20.1",
26
+ "effect": "3.19.17",
27
+ "tsdown": "0.20.3",
28
28
  "vitest": "4.0.18",
29
29
  "zod": "4.3.6",
30
- "@uploadista/typescript-config": "0.1.3"
30
+ "@uploadista/typescript-config": "0.2.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsc --noEmit && tsdown",