@republicroad/seal-editor 1.8.0 → 1.9.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
@@ -2145,6 +2145,8 @@ declare type SetDecisionGraphOptions = {
2145
2145
  skipOnChangeEvent?: boolean;
2146
2146
  };
2147
2147
 
2148
+ export declare const setUdfCompletions: (tools: UdfCompletionTool[]) => void;
2149
+
2148
2150
  export declare type Simulation = {
2149
2151
  result?: SimulationOk;
2150
2152
  } & {
@@ -2395,6 +2397,23 @@ declare type TraceFunctionLog = {
2395
2397
 
2396
2398
  declare type TranslationKey = keyof typeof en;
2397
2399
 
2400
+ export declare type UdfCompletionTool = {
2401
+ name: string;
2402
+ title?: string;
2403
+ description?: string;
2404
+ deprecated?: {
2405
+ since?: string;
2406
+ note?: string;
2407
+ };
2408
+ parameters?: {
2409
+ properties?: Record<string, {
2410
+ type?: string;
2411
+ description?: string;
2412
+ }>;
2413
+ required?: string[];
2414
+ };
2415
+ };
2416
+
2398
2417
  export declare const updateRequestSchemaExamples: (schemaValue: unknown, examples: Array<Record<string, unknown>>, examplesMeta?: RequestExampleMeta[]) => string;
2399
2418
 
2400
2419
  export declare function useDecisionGraphActions(): DecisionGraphStoreType['actions'];
@@ -2481,8 +2500,10 @@ declare type ViewConfigPermission = 'edit:values' | 'edit:rules' | 'edit:full';
2481
2500
  export { }
2482
2501
 
2483
2502
 
2484
- declare namespace ContextMenuSub {
2485
- var displayName: string;
2503
+ declare module '@gorules/zen-engine-wasm' {
2504
+ interface VariableType {
2505
+ __hash: string;
2506
+ }
2486
2507
  }
2487
2508
 
2488
2509
 
@@ -2493,10 +2514,8 @@ declare global {
2493
2514
  }
2494
2515
 
2495
2516
 
2496
- declare module '@gorules/zen-engine-wasm' {
2497
- interface VariableType {
2498
- __hash: string;
2499
- }
2517
+ declare namespace ContextMenuSub {
2518
+ var displayName: string;
2500
2519
  }
2501
2520
 
2502
2521
  declare namespace console {