@codemation/core-nodes 1.0.0 → 1.0.1
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/CHANGELOG.md +23 -0
- package/dist/index.cjs +9 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/nodes/WebhookTriggerFactory.ts +1 -1
- package/src/nodes/aggregate.ts +1 -1
- package/src/nodes/httpRequest.ts +1 -0
- package/src/nodes/if.ts +1 -1
- package/src/nodes/mapData.ts +1 -0
- package/src/nodes/merge.ts +1 -1
- package/src/nodes/noOp.ts +1 -0
- package/src/nodes/split.ts +1 -1
- package/src/nodes/wait.ts +1 -0
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ export class WebhookTrigger<
|
|
|
13
13
|
> implements TriggerNodeConfig<unknown> {
|
|
14
14
|
readonly kind = "trigger" as const;
|
|
15
15
|
readonly type: TypeToken<unknown> = WebhookTriggerNode;
|
|
16
|
-
readonly icon = "lucide:
|
|
16
|
+
readonly icon = "lucide:webhook";
|
|
17
17
|
|
|
18
18
|
constructor(
|
|
19
19
|
public readonly name: string,
|
package/src/nodes/aggregate.ts
CHANGED
|
@@ -7,7 +7,7 @@ export class Aggregate<TIn = unknown, TOut = unknown> implements RunnableNodeCon
|
|
|
7
7
|
readonly type: TypeToken<unknown> = AggregateNode;
|
|
8
8
|
readonly execution = { hint: "local" } as const;
|
|
9
9
|
readonly keepBinaries = true as const;
|
|
10
|
-
readonly icon = "
|
|
10
|
+
readonly icon = "builtin:aggregate-rows" as const;
|
|
11
11
|
|
|
12
12
|
constructor(
|
|
13
13
|
public readonly name: string,
|
package/src/nodes/httpRequest.ts
CHANGED
|
@@ -23,6 +23,7 @@ export class HttpRequest<
|
|
|
23
23
|
readonly kind = "node" as const;
|
|
24
24
|
readonly type: TypeToken<unknown> = HttpRequestNode;
|
|
25
25
|
readonly execution = { hint: "local" } as const;
|
|
26
|
+
readonly icon = "lucide:globe" as const;
|
|
26
27
|
|
|
27
28
|
constructor(
|
|
28
29
|
public readonly name: string,
|
package/src/nodes/if.ts
CHANGED
|
@@ -6,7 +6,7 @@ export class If<TInputJson = unknown> implements RunnableNodeConfig<TInputJson,
|
|
|
6
6
|
readonly kind = "node" as const;
|
|
7
7
|
readonly type: TypeToken<unknown> = IfNode;
|
|
8
8
|
readonly execution = { hint: "local" } as const;
|
|
9
|
-
readonly icon = "lucide:split" as const;
|
|
9
|
+
readonly icon = "lucide:split@rot=90" as const;
|
|
10
10
|
readonly declaredOutputPorts = ["true", "false"] as const;
|
|
11
11
|
constructor(
|
|
12
12
|
public readonly name: string,
|
package/src/nodes/mapData.ts
CHANGED
|
@@ -16,6 +16,7 @@ export class MapData<TInputJson = unknown, TOutputJson = unknown> implements Run
|
|
|
16
16
|
readonly execution = { hint: "local" } as const;
|
|
17
17
|
/** Zero mapped items should still allow downstream nodes to run. */
|
|
18
18
|
readonly continueWhenEmptyOutput = true as const;
|
|
19
|
+
readonly icon = "lucide:square-pen" as const;
|
|
19
20
|
readonly keepBinaries: boolean;
|
|
20
21
|
|
|
21
22
|
constructor(
|
package/src/nodes/merge.ts
CHANGED
|
@@ -10,7 +10,7 @@ export class Merge<TInputJson = unknown, TOutputJson = TInputJson> implements Ru
|
|
|
10
10
|
> {
|
|
11
11
|
readonly kind = "node" as const;
|
|
12
12
|
readonly type: TypeToken<unknown> = MergeNode;
|
|
13
|
-
readonly icon = "lucide:
|
|
13
|
+
readonly icon = "lucide:merge@rot=90" as const;
|
|
14
14
|
|
|
15
15
|
constructor(
|
|
16
16
|
public readonly name: string,
|
package/src/nodes/noOp.ts
CHANGED
|
@@ -6,6 +6,7 @@ export class NoOp<TItemJson = unknown> implements RunnableNodeConfig<TItemJson,
|
|
|
6
6
|
readonly kind = "node" as const;
|
|
7
7
|
readonly type: TypeToken<unknown> = NoOpNode;
|
|
8
8
|
readonly execution = { hint: "local" } as const;
|
|
9
|
+
readonly icon = "lucide:circle-dashed" as const;
|
|
9
10
|
|
|
10
11
|
constructor(
|
|
11
12
|
public readonly name: string = "NoOp",
|
package/src/nodes/split.ts
CHANGED
|
@@ -12,7 +12,7 @@ export class Split<TIn = unknown, TElem = unknown> implements RunnableNodeConfig
|
|
|
12
12
|
* Mirrors {@link MapData}'s empty-output behavior.
|
|
13
13
|
*/
|
|
14
14
|
readonly continueWhenEmptyOutput = true as const;
|
|
15
|
-
readonly icon = "
|
|
15
|
+
readonly icon = "builtin:split-rows" as const;
|
|
16
16
|
|
|
17
17
|
constructor(
|
|
18
18
|
public readonly name: string,
|
package/src/nodes/wait.ts
CHANGED
|
@@ -8,6 +8,7 @@ export class Wait<TItemJson = unknown> implements RunnableNodeConfig<TItemJson,
|
|
|
8
8
|
readonly execution = { hint: "local" } as const;
|
|
9
9
|
/** Pass-through empty batches should still advance to downstream nodes. */
|
|
10
10
|
readonly continueWhenEmptyOutput = true as const;
|
|
11
|
+
readonly icon = "lucide:hourglass" as const;
|
|
11
12
|
|
|
12
13
|
constructor(
|
|
13
14
|
public readonly name: string,
|