@rkmodules/rules 0.0.66 → 0.0.68

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.
@@ -38,6 +38,7 @@ export declare function isSingleTon(value: Tree<any>): boolean;
38
38
  */
39
39
  export declare function broadCast<T>(value: T | T[] | Tree<T>): Tree<T>;
40
40
  export declare function getBranch<T>(tree: Tree<T>, path: string): T[] | void;
41
+ export declare function getPaths<T>(tree: Tree<T>): string[];
41
42
  /**
42
43
  * maps a tree, the tree branches are flatmapped, so if an array is returned for each item in the list, a flat list is returned
43
44
  * @param tree
@@ -96,7 +97,7 @@ export declare function binaryOnTreeBranch<T, U, V>(treeA: Tree<T>, treeB: Tree<
96
97
  * @param fn
97
98
  * @returns
98
99
  */
99
- export declare function binaryOnTree<T, U, V>(treeA: Tree<T>, treeB: Tree<U>, fn: (itemA: T, itemB: U, pathA: string, pathB: string, index: number) => V | V[], fill?: boolean): Tree<V>;
100
+ export declare function binaryOnTree<T, U, V>(treeA: Tree<T>, treeB: Tree<U>, fn: (itemA: T | undefined, itemB: U | undefined, pathA: string, pathB: string, index: number) => V | V[], fill?: boolean): Tree<V>;
100
101
  export declare function treeSize<T>(tree: Tree<T>): number;
101
102
  export declare function sameShape(a: Tree<any>, b: Tree<any>): boolean;
102
103
  /**
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const cartesianGroups: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const cosDeg: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const modulo: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const pow: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const sinDeg: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const sqrt: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine/types";
2
+ export declare const tanDeg: PrimitiveFunction;
@@ -0,0 +1,2 @@
1
+ import { PrimitiveFunction } from "../../Engine";
2
+ export declare const simplifyTree: PrimitiveFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkmodules/rules",
3
- "version": "0.0.66",
3
+ "version": "0.0.68",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",