@republicroad/seal-editor 1.35.0 → 1.36.0

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.ts CHANGED
@@ -72,6 +72,7 @@ declare type BaseNode<Component extends string, InputName extends string, Inputs
72
72
  icon?: default_2.ReactNode;
73
73
  color?: string;
74
74
  displayName: string;
75
+ documentationUrl?: string;
75
76
  shortDescription?: string;
76
77
  group?: string;
77
78
  searchKeywords?: string[];
@@ -402,6 +403,7 @@ declare type DecisionGraphEmptyType = {
402
403
  diffBaseline?: DecisionGraphType;
403
404
  components?: DecisionGraphStoreType['state']['components'];
404
405
  customNodes?: DecisionGraphStoreType['state']['customNodes'];
406
+ functionLibraries?: FunctionLibrary[];
405
407
  allowedNamespaces?: Set<string>;
406
408
  extraCommands?: Array<{
407
409
  id: string;
@@ -455,6 +457,7 @@ declare type DecisionGraphStoreType = {
455
457
  canUndo: boolean;
456
458
  canRedo: boolean;
457
459
  customNodes: CustomNodeSpecification<object, any>[];
460
+ functionLibraries: FunctionLibrary[];
458
461
  panels?: PanelType[];
459
462
  activePanel?: string;
460
463
  onPanelsChange?: (val?: string) => void;
@@ -1707,7 +1710,7 @@ export declare type FunctionInstance = {
1707
1710
  dependsOn?: string[];
1708
1711
  };
1709
1712
 
1710
- declare type FunctionLibrary = {
1713
+ export declare type FunctionLibrary = {
1711
1714
  name: string;
1712
1715
  tagline: string;
1713
1716
  typeDef: string;
@@ -3040,17 +3043,17 @@ declare global {
3040
3043
  }
3041
3044
 
3042
3045
 
3043
- declare namespace ContextMenuSub {
3044
- var displayName: string;
3045
- }
3046
-
3047
-
3048
3046
  declare module '@gorules/zen-engine-wasm' {
3049
3047
  interface VariableType {
3050
3048
  __hash: string;
3051
3049
  }
3052
3050
  }
3053
3051
 
3052
+
3053
+ declare namespace ContextMenuSub {
3054
+ var displayName: string;
3055
+ }
3056
+
3054
3057
  declare namespace console {
3055
3058
  function log(...args: any[]): void;
3056
3059
  async function sleep(durationMs: number): Promise<void>;