@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/dist/index.d.cts CHANGED
@@ -1615,6 +1615,7 @@ declare class HttpRequest<TInputJson$1 = Readonly<{
1615
1615
  readonly execution: {
1616
1616
  readonly hint: "local";
1617
1617
  };
1618
+ readonly icon: "lucide:globe";
1618
1619
  constructor(name: string, args?: Readonly<{
1619
1620
  method?: string;
1620
1621
  urlField?: string;
@@ -1647,7 +1648,7 @@ declare class Aggregate<TIn = unknown, TOut = unknown> implements RunnableNodeCo
1647
1648
  readonly hint: "local";
1648
1649
  };
1649
1650
  readonly keepBinaries: true;
1650
- readonly icon: "lucide:layers";
1651
+ readonly icon: "builtin:aggregate-rows";
1651
1652
  constructor(name: string, aggregate: (items: Items<TIn>, ctx: NodeExecutionContext<Aggregate<TIn, TOut>>) => TOut | Promise<TOut>, id?: string | undefined);
1652
1653
  }
1653
1654
  //#endregion
@@ -1688,7 +1689,7 @@ declare class If<TInputJson$1 = unknown> implements RunnableNodeConfig<TInputJso
1688
1689
  readonly execution: {
1689
1690
  readonly hint: "local";
1690
1691
  };
1691
- readonly icon: "lucide:split";
1692
+ readonly icon: "lucide:split@rot=90";
1692
1693
  readonly declaredOutputPorts: readonly ["true", "false"];
1693
1694
  constructor(name: string, predicate: (item: Item<TInputJson$1>, index: number, items: Items<TInputJson$1>, ctx: NodeExecutionContext<If<TInputJson$1>>) => boolean, id?: string | undefined);
1694
1695
  }
@@ -1749,7 +1750,7 @@ declare class Split<TIn = unknown, TElem = unknown> implements RunnableNodeConfi
1749
1750
  * Mirrors {@link MapData}'s empty-output behavior.
1750
1751
  */
1751
1752
  readonly continueWhenEmptyOutput: true;
1752
- readonly icon: "lucide:ungroup";
1753
+ readonly icon: "builtin:split-rows";
1753
1754
  constructor(name: string, getElements: (item: Item<TIn>, ctx: NodeExecutionContext<Split<TIn, TElem>>) => readonly TElem[], id?: string | undefined);
1754
1755
  }
1755
1756
  //#endregion
@@ -1809,6 +1810,7 @@ declare class MapData<TInputJson$1 = unknown, TOutputJson$1 = unknown> implement
1809
1810
  };
1810
1811
  /** Zero mapped items should still allow downstream nodes to run. */
1811
1812
  readonly continueWhenEmptyOutput: true;
1813
+ readonly icon: "lucide:square-pen";
1812
1814
  readonly keepBinaries: boolean;
1813
1815
  constructor(name: string, map: (item: Item<TInputJson$1>, ctx: NodeExecutionContext<MapData<TInputJson$1, TOutputJson$1>>) => TOutputJson$1, options?: MapDataOptions);
1814
1816
  get id(): string | undefined;
@@ -1836,7 +1838,7 @@ declare class Merge<TInputJson$1 = unknown, TOutputJson$1 = TInputJson$1> implem
1836
1838
  readonly id?: string | undefined;
1837
1839
  readonly kind: "node";
1838
1840
  readonly type: TypeToken<unknown>;
1839
- readonly icon: "lucide:git-merge";
1841
+ readonly icon: "lucide:merge@rot=90";
1840
1842
  constructor(name: string, cfg?: Readonly<{
1841
1843
  mode: MergeMode;
1842
1844
  /**
@@ -1863,6 +1865,7 @@ declare class NoOp<TItemJson = unknown> implements RunnableNodeConfig<TItemJson,
1863
1865
  readonly execution: {
1864
1866
  readonly hint: "local";
1865
1867
  };
1868
+ readonly icon: "lucide:circle-dashed";
1866
1869
  constructor(name?: string, id?: string | undefined);
1867
1870
  }
1868
1871
  //#endregion
@@ -1915,6 +1918,7 @@ declare class Wait<TItemJson = unknown> implements RunnableNodeConfig<TItemJson,
1915
1918
  };
1916
1919
  /** Pass-through empty batches should still advance to downstream nodes. */
1917
1920
  readonly continueWhenEmptyOutput: true;
1921
+ readonly icon: "lucide:hourglass";
1918
1922
  constructor(name: string, milliseconds: number, id?: string | undefined);
1919
1923
  }
1920
1924
  //#endregion
@@ -1945,7 +1949,7 @@ declare class WebhookTrigger<TSchema extends WebhookInputSchema | undefined = un
1945
1949
  readonly id?: string | undefined;
1946
1950
  readonly kind: "trigger";
1947
1951
  readonly type: TypeToken<unknown>;
1948
- readonly icon = "lucide:globe";
1952
+ readonly icon = "lucide:webhook";
1949
1953
  constructor(name: string, args: Readonly<{
1950
1954
  endpointKey: string;
1951
1955
  methods: ReadonlyArray<HttpMethod>;
package/dist/index.d.ts CHANGED
@@ -1615,6 +1615,7 @@ declare class HttpRequest<TInputJson$1 = Readonly<{
1615
1615
  readonly execution: {
1616
1616
  readonly hint: "local";
1617
1617
  };
1618
+ readonly icon: "lucide:globe";
1618
1619
  constructor(name: string, args?: Readonly<{
1619
1620
  method?: string;
1620
1621
  urlField?: string;
@@ -1647,7 +1648,7 @@ declare class Aggregate<TIn = unknown, TOut = unknown> implements RunnableNodeCo
1647
1648
  readonly hint: "local";
1648
1649
  };
1649
1650
  readonly keepBinaries: true;
1650
- readonly icon: "lucide:layers";
1651
+ readonly icon: "builtin:aggregate-rows";
1651
1652
  constructor(name: string, aggregate: (items: Items<TIn>, ctx: NodeExecutionContext<Aggregate<TIn, TOut>>) => TOut | Promise<TOut>, id?: string | undefined);
1652
1653
  }
1653
1654
  //#endregion
@@ -1688,7 +1689,7 @@ declare class If<TInputJson$1 = unknown> implements RunnableNodeConfig<TInputJso
1688
1689
  readonly execution: {
1689
1690
  readonly hint: "local";
1690
1691
  };
1691
- readonly icon: "lucide:split";
1692
+ readonly icon: "lucide:split@rot=90";
1692
1693
  readonly declaredOutputPorts: readonly ["true", "false"];
1693
1694
  constructor(name: string, predicate: (item: Item<TInputJson$1>, index: number, items: Items<TInputJson$1>, ctx: NodeExecutionContext<If<TInputJson$1>>) => boolean, id?: string | undefined);
1694
1695
  }
@@ -1749,7 +1750,7 @@ declare class Split<TIn = unknown, TElem = unknown> implements RunnableNodeConfi
1749
1750
  * Mirrors {@link MapData}'s empty-output behavior.
1750
1751
  */
1751
1752
  readonly continueWhenEmptyOutput: true;
1752
- readonly icon: "lucide:ungroup";
1753
+ readonly icon: "builtin:split-rows";
1753
1754
  constructor(name: string, getElements: (item: Item<TIn>, ctx: NodeExecutionContext<Split<TIn, TElem>>) => readonly TElem[], id?: string | undefined);
1754
1755
  }
1755
1756
  //#endregion
@@ -1809,6 +1810,7 @@ declare class MapData<TInputJson$1 = unknown, TOutputJson$1 = unknown> implement
1809
1810
  };
1810
1811
  /** Zero mapped items should still allow downstream nodes to run. */
1811
1812
  readonly continueWhenEmptyOutput: true;
1813
+ readonly icon: "lucide:square-pen";
1812
1814
  readonly keepBinaries: boolean;
1813
1815
  constructor(name: string, map: (item: Item<TInputJson$1>, ctx: NodeExecutionContext<MapData<TInputJson$1, TOutputJson$1>>) => TOutputJson$1, options?: MapDataOptions);
1814
1816
  get id(): string | undefined;
@@ -1836,7 +1838,7 @@ declare class Merge<TInputJson$1 = unknown, TOutputJson$1 = TInputJson$1> implem
1836
1838
  readonly id?: string | undefined;
1837
1839
  readonly kind: "node";
1838
1840
  readonly type: TypeToken<unknown>;
1839
- readonly icon: "lucide:git-merge";
1841
+ readonly icon: "lucide:merge@rot=90";
1840
1842
  constructor(name: string, cfg?: Readonly<{
1841
1843
  mode: MergeMode;
1842
1844
  /**
@@ -1863,6 +1865,7 @@ declare class NoOp<TItemJson = unknown> implements RunnableNodeConfig<TItemJson,
1863
1865
  readonly execution: {
1864
1866
  readonly hint: "local";
1865
1867
  };
1868
+ readonly icon: "lucide:circle-dashed";
1866
1869
  constructor(name?: string, id?: string | undefined);
1867
1870
  }
1868
1871
  //#endregion
@@ -1915,6 +1918,7 @@ declare class Wait<TItemJson = unknown> implements RunnableNodeConfig<TItemJson,
1915
1918
  };
1916
1919
  /** Pass-through empty batches should still advance to downstream nodes. */
1917
1920
  readonly continueWhenEmptyOutput: true;
1921
+ readonly icon: "lucide:hourglass";
1918
1922
  constructor(name: string, milliseconds: number, id?: string | undefined);
1919
1923
  }
1920
1924
  //#endregion
@@ -1945,7 +1949,7 @@ declare class WebhookTrigger<TSchema extends WebhookInputSchema | undefined = un
1945
1949
  readonly id?: string | undefined;
1946
1950
  readonly kind: "trigger";
1947
1951
  readonly type: TypeToken<unknown>;
1948
- readonly icon = "lucide:globe";
1952
+ readonly icon = "lucide:webhook";
1949
1953
  constructor(name: string, args: Readonly<{
1950
1954
  endpointKey: string;
1951
1955
  methods: ReadonlyArray<HttpMethod>;
package/dist/index.js CHANGED
@@ -4022,6 +4022,7 @@ var HttpRequest = class {
4022
4022
  kind = "node";
4023
4023
  type = HttpRequestNode;
4024
4024
  execution = { hint: "local" };
4025
+ icon = "lucide:globe";
4025
4026
  constructor(name, args = {}, retryPolicy = RetryPolicy.defaultForHttp) {
4026
4027
  this.name = name;
4027
4028
  this.args = args;
@@ -4063,7 +4064,7 @@ var Aggregate = class {
4063
4064
  type = AggregateNode;
4064
4065
  execution = { hint: "local" };
4065
4066
  keepBinaries = true;
4066
- icon = "lucide:layers";
4067
+ icon = "builtin:aggregate-rows";
4067
4068
  constructor(name, aggregate, id) {
4068
4069
  this.name = name;
4069
4070
  this.aggregate = aggregate;
@@ -4158,7 +4159,7 @@ var If = class {
4158
4159
  kind = "node";
4159
4160
  type = IfNode;
4160
4161
  execution = { hint: "local" };
4161
- icon = "lucide:split";
4162
+ icon = "lucide:split@rot=90";
4162
4163
  declaredOutputPorts = ["true", "false"];
4163
4164
  constructor(name, predicate, id) {
4164
4165
  this.name = name;
@@ -4223,7 +4224,7 @@ var Split = class {
4223
4224
  * Mirrors {@link MapData}'s empty-output behavior.
4224
4225
  */
4225
4226
  continueWhenEmptyOutput = true;
4226
- icon = "lucide:ungroup";
4227
+ icon = "builtin:split-rows";
4227
4228
  constructor(name, getElements, id) {
4228
4229
  this.name = name;
4229
4230
  this.getElements = getElements;
@@ -4294,6 +4295,7 @@ var MapData = class {
4294
4295
  execution = { hint: "local" };
4295
4296
  /** Zero mapped items should still allow downstream nodes to run. */
4296
4297
  continueWhenEmptyOutput = true;
4298
+ icon = "lucide:square-pen";
4297
4299
  keepBinaries;
4298
4300
  constructor(name, map, options = {}) {
4299
4301
  this.name = name;
@@ -4363,7 +4365,7 @@ MergeNode = __decorate([node({ packageName: "@codemation/core-nodes" })], MergeN
4363
4365
  var Merge = class {
4364
4366
  kind = "node";
4365
4367
  type = MergeNode;
4366
- icon = "lucide:git-merge";
4368
+ icon = "lucide:merge@rot=90";
4367
4369
  constructor(name, cfg = { mode: "passThrough" }, id) {
4368
4370
  this.name = name;
4369
4371
  this.cfg = cfg;
@@ -4388,6 +4390,7 @@ var NoOp = class {
4388
4390
  kind = "node";
4389
4391
  type = NoOpNode;
4390
4392
  execution = { hint: "local" };
4393
+ icon = "lucide:circle-dashed";
4391
4394
  constructor(name = "NoOp", id) {
4392
4395
  this.name = name;
4393
4396
  this.id = id;
@@ -4493,6 +4496,7 @@ var Wait = class {
4493
4496
  execution = { hint: "local" };
4494
4497
  /** Pass-through empty batches should still advance to downstream nodes. */
4495
4498
  continueWhenEmptyOutput = true;
4499
+ icon = "lucide:hourglass";
4496
4500
  constructor(name, milliseconds, id) {
4497
4501
  this.name = name;
4498
4502
  this.milliseconds = milliseconds;
@@ -4543,7 +4547,7 @@ WebhookTriggerNode = __decorate([node({ packageName: "@codemation/core-nodes" })
4543
4547
  var WebhookTrigger = class WebhookTrigger {
4544
4548
  kind = "trigger";
4545
4549
  type = WebhookTriggerNode;
4546
- icon = "lucide:globe";
4550
+ icon = "lucide:webhook";
4547
4551
  constructor(name, args, handler = WebhookTrigger.defaultHandler, id) {
4548
4552
  this.name = name;
4549
4553
  this.args = args;