@republicroad/seal-editor 1.7.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 +29 -7
- package/dist/index.js +1935 -1895
- package/dist/index.js.map +1 -1
- package/dist/schema.d.ts +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ declare type BaseNode<Component extends string, InputName extends string, Inputs
|
|
|
72
72
|
displayName: string;
|
|
73
73
|
shortDescription?: string;
|
|
74
74
|
group?: string;
|
|
75
|
+
searchKeywords?: string[];
|
|
75
76
|
handleLeft?: boolean;
|
|
76
77
|
handleRight?: boolean;
|
|
77
78
|
inputs?: [...Inputs];
|
|
@@ -267,6 +268,7 @@ export declare type CustomNodeSpecification<Data extends object, Component exten
|
|
|
267
268
|
group?: string;
|
|
268
269
|
documentationUrl?: string;
|
|
269
270
|
shortDescription?: string;
|
|
271
|
+
searchKeywords?: string[];
|
|
270
272
|
renderTab?: (props: {
|
|
271
273
|
id: string;
|
|
272
274
|
user?: string;
|
|
@@ -1884,6 +1886,7 @@ export declare type NodeSpecification<T = any> = {
|
|
|
1884
1886
|
displayName: string | default_2.ReactNode;
|
|
1885
1887
|
documentationUrl?: string;
|
|
1886
1888
|
shortDescription?: string;
|
|
1889
|
+
searchKeywords?: string[];
|
|
1887
1890
|
helper?: string | default_2.ReactNode;
|
|
1888
1891
|
renderTab?: (props: {
|
|
1889
1892
|
id: string;
|
|
@@ -2142,6 +2145,8 @@ declare type SetDecisionGraphOptions = {
|
|
|
2142
2145
|
skipOnChangeEvent?: boolean;
|
|
2143
2146
|
};
|
|
2144
2147
|
|
|
2148
|
+
export declare const setUdfCompletions: (tools: UdfCompletionTool[]) => void;
|
|
2149
|
+
|
|
2145
2150
|
export declare type Simulation = {
|
|
2146
2151
|
result?: SimulationOk;
|
|
2147
2152
|
} & {
|
|
@@ -2392,6 +2397,23 @@ declare type TraceFunctionLog = {
|
|
|
2392
2397
|
|
|
2393
2398
|
declare type TranslationKey = keyof typeof en;
|
|
2394
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
|
+
|
|
2395
2417
|
export declare const updateRequestSchemaExamples: (schemaValue: unknown, examples: Array<Record<string, unknown>>, examplesMeta?: RequestExampleMeta[]) => string;
|
|
2396
2418
|
|
|
2397
2419
|
export declare function useDecisionGraphActions(): DecisionGraphStoreType['actions'];
|
|
@@ -2478,6 +2500,13 @@ declare type ViewConfigPermission = 'edit:values' | 'edit:rules' | 'edit:full';
|
|
|
2478
2500
|
export { }
|
|
2479
2501
|
|
|
2480
2502
|
|
|
2503
|
+
declare module '@gorules/zen-engine-wasm' {
|
|
2504
|
+
interface VariableType {
|
|
2505
|
+
__hash: string;
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2509
|
+
|
|
2481
2510
|
declare global {
|
|
2482
2511
|
interface Window {
|
|
2483
2512
|
monaco?: Monaco;
|
|
@@ -2489,13 +2518,6 @@ declare namespace ContextMenuSub {
|
|
|
2489
2518
|
var displayName: string;
|
|
2490
2519
|
}
|
|
2491
2520
|
|
|
2492
|
-
|
|
2493
|
-
declare module '@gorules/zen-engine-wasm' {
|
|
2494
|
-
interface VariableType {
|
|
2495
|
-
__hash: string;
|
|
2496
|
-
}
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
2521
|
declare namespace console {
|
|
2500
2522
|
function log(...args: any[]): void;
|
|
2501
2523
|
async function sleep(durationMs: number): Promise<void>;
|