@uploadista/flow-utility-nodes 0.0.20-beta.1 → 0.0.20-beta.3
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/nodes/index.d.cts +13 -13
- package/package.json +6 -6
package/dist/nodes/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as MergeParams, r as MultiplexParams, s as ConditionalParams, t as ZipParams } from "../zip-node-c3Z0LkjZ.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _uploadista_core_flow0 from "@uploadista/core/flow";
|
|
3
3
|
import { NodeType, ZipPlugin } from "@uploadista/core/flow";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
import * as zod0 from "zod";
|
|
@@ -15,7 +15,7 @@ declare function createConditionalNode(id: string, {
|
|
|
15
15
|
field,
|
|
16
16
|
operator,
|
|
17
17
|
value
|
|
18
|
-
}: ConditionalParams): Effect.Effect<
|
|
18
|
+
}: ConditionalParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
|
|
19
19
|
inputSchema: zod0.ZodType<UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<UploadFile, unknown>>;
|
|
20
20
|
outputSchema: zod0.ZodType<UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<UploadFile, unknown>>;
|
|
21
21
|
run: (args: {
|
|
@@ -25,7 +25,7 @@ declare function createConditionalNode(id: string, {
|
|
|
25
25
|
flowId: string;
|
|
26
26
|
inputs?: Record<string, unknown>;
|
|
27
27
|
clientId: string | null;
|
|
28
|
-
}) => Effect.Effect<
|
|
28
|
+
}) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<UploadFile>, _uploadista_core_errors0.UploadistaError, never>;
|
|
29
29
|
condition?: {
|
|
30
30
|
field: string;
|
|
31
31
|
operator: string;
|
|
@@ -39,7 +39,7 @@ declare function createConditionalNode(id: string, {
|
|
|
39
39
|
retryDelay?: number;
|
|
40
40
|
exponentialBackoff?: boolean;
|
|
41
41
|
};
|
|
42
|
-
circuitBreaker?:
|
|
42
|
+
circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
|
|
43
43
|
} & {
|
|
44
44
|
type: NodeType;
|
|
45
45
|
}, _uploadista_core_errors0.UploadistaError, never>;
|
|
@@ -48,7 +48,7 @@ declare function createConditionalNode(id: string, {
|
|
|
48
48
|
declare function createMergeNode(id: string, {
|
|
49
49
|
strategy,
|
|
50
50
|
separator: _separator
|
|
51
|
-
}: MergeParams): Effect.Effect<
|
|
51
|
+
}: MergeParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
|
|
52
52
|
inputSchema: z.ZodType<Record<string, UploadFile>, unknown, z.core.$ZodTypeInternals<Record<string, UploadFile>, unknown>>;
|
|
53
53
|
outputSchema: z.ZodType<UploadFile, unknown, z.core.$ZodTypeInternals<UploadFile, unknown>>;
|
|
54
54
|
run: (args: {
|
|
@@ -58,7 +58,7 @@ declare function createMergeNode(id: string, {
|
|
|
58
58
|
flowId: string;
|
|
59
59
|
inputs?: Record<string, unknown>;
|
|
60
60
|
clientId: string | null;
|
|
61
|
-
}) => Effect.Effect<
|
|
61
|
+
}) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<UploadFile>, UploadistaError, never>;
|
|
62
62
|
condition?: {
|
|
63
63
|
field: string;
|
|
64
64
|
operator: string;
|
|
@@ -72,7 +72,7 @@ declare function createMergeNode(id: string, {
|
|
|
72
72
|
retryDelay?: number;
|
|
73
73
|
exponentialBackoff?: boolean;
|
|
74
74
|
};
|
|
75
|
-
circuitBreaker?:
|
|
75
|
+
circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
|
|
76
76
|
} & {
|
|
77
77
|
type: NodeType;
|
|
78
78
|
}, UploadistaError, UploadServer>;
|
|
@@ -81,7 +81,7 @@ declare function createMergeNode(id: string, {
|
|
|
81
81
|
declare function createMultiplexNode(id: string, {
|
|
82
82
|
outputCount: _outputCount,
|
|
83
83
|
strategy
|
|
84
|
-
}: MultiplexParams): Effect.Effect<
|
|
84
|
+
}: MultiplexParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
|
|
85
85
|
inputSchema: zod0.ZodType<UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<UploadFile, unknown>>;
|
|
86
86
|
outputSchema: zod0.ZodType<UploadFile, unknown, zod_v4_core0.$ZodTypeInternals<UploadFile, unknown>>;
|
|
87
87
|
run: (args: {
|
|
@@ -91,7 +91,7 @@ declare function createMultiplexNode(id: string, {
|
|
|
91
91
|
flowId: string;
|
|
92
92
|
inputs?: Record<string, unknown>;
|
|
93
93
|
clientId: string | null;
|
|
94
|
-
}) => Effect.Effect<
|
|
94
|
+
}) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<UploadFile>, UploadistaError, never>;
|
|
95
95
|
condition?: {
|
|
96
96
|
field: string;
|
|
97
97
|
operator: string;
|
|
@@ -105,7 +105,7 @@ declare function createMultiplexNode(id: string, {
|
|
|
105
105
|
retryDelay?: number;
|
|
106
106
|
exponentialBackoff?: boolean;
|
|
107
107
|
};
|
|
108
|
-
circuitBreaker?:
|
|
108
|
+
circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
|
|
109
109
|
} & {
|
|
110
110
|
type: NodeType;
|
|
111
111
|
}, UploadistaError, UploadServer>;
|
|
@@ -114,7 +114,7 @@ declare function createMultiplexNode(id: string, {
|
|
|
114
114
|
declare function createZipNode(id: string, {
|
|
115
115
|
zipName,
|
|
116
116
|
includeMetadata
|
|
117
|
-
}: ZipParams): Effect.Effect<
|
|
117
|
+
}: ZipParams): Effect.Effect<_uploadista_core_flow0.FlowNodeData & {
|
|
118
118
|
inputSchema: z.ZodType<Record<string, UploadFile>, unknown, z.core.$ZodTypeInternals<Record<string, UploadFile>, unknown>>;
|
|
119
119
|
outputSchema: z.ZodType<UploadFile, unknown, z.core.$ZodTypeInternals<UploadFile, unknown>>;
|
|
120
120
|
run: (args: {
|
|
@@ -124,7 +124,7 @@ declare function createZipNode(id: string, {
|
|
|
124
124
|
flowId: string;
|
|
125
125
|
inputs?: Record<string, unknown>;
|
|
126
126
|
clientId: string | null;
|
|
127
|
-
}) => Effect.Effect<
|
|
127
|
+
}) => Effect.Effect<_uploadista_core_flow0.NodeExecutionResult<UploadFile>, UploadistaError, never>;
|
|
128
128
|
condition?: {
|
|
129
129
|
field: string;
|
|
130
130
|
operator: string;
|
|
@@ -138,7 +138,7 @@ declare function createZipNode(id: string, {
|
|
|
138
138
|
retryDelay?: number;
|
|
139
139
|
exponentialBackoff?: boolean;
|
|
140
140
|
};
|
|
141
|
-
circuitBreaker?:
|
|
141
|
+
circuitBreaker?: _uploadista_core_flow0.FlowCircuitBreakerConfig;
|
|
142
142
|
} & {
|
|
143
143
|
type: NodeType;
|
|
144
144
|
}, UploadistaError, UploadServer | ZipPlugin>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadista/flow-utility-nodes",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.20-beta.
|
|
4
|
+
"version": "0.0.20-beta.3",
|
|
5
5
|
"description": "Utility nodes for Uploadista Flow",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Uploadista",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@uploadista/core": "0.0.20-beta.
|
|
23
|
+
"@uploadista/core": "0.0.20-beta.3"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"effect": "^3.0.0",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@effect/vitest": "0.27.0",
|
|
31
|
-
"@types/node": "24.10.
|
|
32
|
-
"effect": "3.19.
|
|
33
|
-
"tsdown": "0.17.
|
|
31
|
+
"@types/node": "24.10.2",
|
|
32
|
+
"effect": "3.19.10",
|
|
33
|
+
"tsdown": "0.17.2",
|
|
34
34
|
"vitest": "4.0.15",
|
|
35
35
|
"zod": "4.1.13",
|
|
36
|
-
"@uploadista/typescript-config": "0.0.20-beta.
|
|
36
|
+
"@uploadista/typescript-config": "0.0.20-beta.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsdown",
|