@rkmodules/rules 0.0.116 → 0.0.118

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.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { NodeProps } from "@xyflow/react";
3
+ import { FunctionNode } from "../types";
4
+ export declare const DynamicInput: React.MemoExoticComponent<({ id, data, selected }: NodeProps<FunctionNode>) => React.JSX.Element>;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { NodeProps } from "@xyflow/react";
3
+ import { FunctionNode } from "../types";
4
+ export declare const DynamicOutput: React.MemoExoticComponent<({ id, data, selected }: NodeProps<FunctionNode>) => React.JSX.Element>;
@@ -2,7 +2,8 @@ export declare const nodeTypes: {
2
2
  Default: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
3
3
  Calc: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
4
4
  Log: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
5
- Merge: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
5
+ DynamicInput: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
6
+ DynamicOutput: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
6
7
  Input: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
7
8
  Output: import("react").MemoExoticComponent<({ id, data, selected }: import("@xyflow/react").NodeProps<import("..").FunctionNode>) => import("react").JSX.Element>;
8
9
  };
@@ -6,6 +6,7 @@ import { WidgetProps } from "./Components/Control";
6
6
  import { Prompts, Updater } from "./types";
7
7
  import "./style/xyflow.css";
8
8
  export * from "./types";
9
+ export { GenericNode } from "./Components/GenericNode";
9
10
  interface FlowProps {
10
11
  function: GraphedFunction;
11
12
  positions?: Record<string, XYPosition>;
@@ -0,0 +1,3 @@
1
+ import { PrimitiveFunction } from "../../Engine";
2
+ declare const primitives: Record<string, PrimitiveFunction>;
3
+ export default primitives;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine";
2
+ export declare const listToArray: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine";
2
+ export declare const mergeObject: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine";
2
+ export declare const object: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine";
2
+ export declare const objectEntries: PrimitiveFunction;
@@ -8,5 +8,6 @@ export declare const Lib: {
8
8
  Sequence: Record<string, PrimitiveFunction>;
9
9
  Logic: Record<string, PrimitiveFunction>;
10
10
  IO: Record<string, PrimitiveFunction>;
11
+ Json: Record<string, PrimitiveFunction>;
11
12
  };
12
13
  export declare const primitives: Record<string, PrimitiveFunction>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkmodules/rules",
3
- "version": "0.0.116",
3
+ "version": "0.0.118",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { NodeProps } from "@xyflow/react";
3
- import { FunctionNode } from "../types";
4
- export declare const Merge: React.MemoExoticComponent<({ id, data, selected }: NodeProps<FunctionNode>) => React.JSX.Element>;