@republicroad/seal-editor 1.19.0 → 1.21.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 +63 -6
- package/dist/index.js +1485 -1587
- package/dist/index.js.map +1 -1
- package/dist/schema.d.ts +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1307,6 +1307,27 @@ declare const en: {
|
|
|
1307
1307
|
readonly 'cf.instanceOverview': "Instances";
|
|
1308
1308
|
readonly 'cf.parallelHint': "runs in parallel";
|
|
1309
1309
|
readonly 'cf.duplicateKeyError': "Duplicate output key — parallel results will overwrite";
|
|
1310
|
+
readonly 'cf.modeTable': "Table";
|
|
1311
|
+
readonly 'cf.modeCode': "Code";
|
|
1312
|
+
readonly 'cf.codeInvalidJson': "Invalid JSON";
|
|
1313
|
+
readonly 'cf.modeLiteral': "Value";
|
|
1314
|
+
readonly 'cf.modeExpression': "Expression";
|
|
1315
|
+
readonly 'cf.modeReference': "Reference";
|
|
1316
|
+
readonly 'cf.addInstance': "Add instance";
|
|
1317
|
+
readonly 'cf.paramKey': "Output key";
|
|
1318
|
+
readonly 'cf.paramRequired': "required";
|
|
1319
|
+
readonly 'cf.paramSection': "Parameters";
|
|
1320
|
+
readonly 'cf.dependsOn': "Depends on";
|
|
1321
|
+
readonly 'cf.instanceEmpty': "No instances yet";
|
|
1322
|
+
readonly 'cf.selectInstance': "Select an instance on the left to edit";
|
|
1323
|
+
readonly 'cf.noParams': "This function declares no parameters";
|
|
1324
|
+
readonly 'cf.unknownFunction': "Function not in scope — pick one from the catalog";
|
|
1325
|
+
readonly 'cf.result': "Result";
|
|
1326
|
+
readonly 'cf.lastRunHint': "From the last simulation run — re-run after edits to refresh";
|
|
1327
|
+
readonly 'cf.noFunctionsInScope': "No functions in scope — host must provide a function catalog (customFunctions/schema)";
|
|
1328
|
+
readonly 'cf.orphanScopeHint': "Original namespace offline ({{kind}}) — all functions are selectable";
|
|
1329
|
+
readonly 'cf.field': "Field";
|
|
1330
|
+
readonly 'cf.fieldInsert': "Insert field path";
|
|
1310
1331
|
readonly 'request.noDefinitions': "No field definitions";
|
|
1311
1332
|
readonly 'request.schemaPriorityTooltip': "Schema has the highest priority. Definitions and example data sync into schema, but schema remains the source of truth.";
|
|
1312
1333
|
readonly 'request.simulateTooltip': "Open simulator";
|
|
@@ -1462,6 +1483,16 @@ export declare type FixturesRunner = (graph: DecisionGraphType, fixtures: Contra
|
|
|
1462
1483
|
declare const Function_2: default_2.FC<FunctionProps>;
|
|
1463
1484
|
export { Function_2 as Function }
|
|
1464
1485
|
|
|
1486
|
+
export declare type FunctionInstance = {
|
|
1487
|
+
id: string;
|
|
1488
|
+
key: string;
|
|
1489
|
+
call: {
|
|
1490
|
+
$call: string;
|
|
1491
|
+
kwargs: Record<string, unknown>;
|
|
1492
|
+
};
|
|
1493
|
+
dependsOn?: string[];
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1465
1496
|
declare type FunctionLibrary = {
|
|
1466
1497
|
name: string;
|
|
1467
1498
|
tagline: string;
|
|
@@ -1507,6 +1538,14 @@ export declare type FunctionProps = {
|
|
|
1507
1538
|
};
|
|
1508
1539
|
};
|
|
1509
1540
|
|
|
1541
|
+
declare type FunctionScope = {
|
|
1542
|
+
mode: FunctionScopeMode;
|
|
1543
|
+
functions: any[];
|
|
1544
|
+
orphanKind?: string;
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1547
|
+
declare type FunctionScopeMode = 'scoped' | 'legacy' | 'free';
|
|
1548
|
+
|
|
1510
1549
|
declare type GenerateNodeParams = {
|
|
1511
1550
|
index: number;
|
|
1512
1551
|
};
|
|
@@ -1714,6 +1753,24 @@ declare type InputTypeMap = {
|
|
|
1714
1753
|
text: string;
|
|
1715
1754
|
};
|
|
1716
1755
|
|
|
1756
|
+
declare type InstanceDriftSummary = {
|
|
1757
|
+
missing: number;
|
|
1758
|
+
unrecognized: number;
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
export declare const InstanceEditor: default_2.FC<InstanceEditorProps>;
|
|
1762
|
+
|
|
1763
|
+
declare type InstanceEditorProps = {
|
|
1764
|
+
instances: FunctionInstance[];
|
|
1765
|
+
functionScope: FunctionScope;
|
|
1766
|
+
disabled?: boolean;
|
|
1767
|
+
fieldPaths?: string[];
|
|
1768
|
+
driftByInstance?: Record<string, InstanceDriftSummary>;
|
|
1769
|
+
duplicateKeys?: string[];
|
|
1770
|
+
outputsByKey?: Record<string, unknown>;
|
|
1771
|
+
onChange: (instances: FunctionInstance[]) => void;
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1717
1774
|
declare type InterpolationParams = Record<string, string | number>;
|
|
1718
1775
|
|
|
1719
1776
|
export declare const JdmConfigProvider: default_2.FC<JdmConfigProviderProps>;
|
|
@@ -2705,8 +2762,10 @@ export declare const writeRequestInputContract: (content: RequestContentLike & R
|
|
|
2705
2762
|
export { }
|
|
2706
2763
|
|
|
2707
2764
|
|
|
2708
|
-
declare
|
|
2709
|
-
|
|
2765
|
+
declare global {
|
|
2766
|
+
interface Window {
|
|
2767
|
+
monaco?: Monaco;
|
|
2768
|
+
}
|
|
2710
2769
|
}
|
|
2711
2770
|
|
|
2712
2771
|
|
|
@@ -2717,10 +2776,8 @@ declare module '@gorules/zen-engine-wasm' {
|
|
|
2717
2776
|
}
|
|
2718
2777
|
|
|
2719
2778
|
|
|
2720
|
-
declare
|
|
2721
|
-
|
|
2722
|
-
monaco?: Monaco;
|
|
2723
|
-
}
|
|
2779
|
+
declare namespace ContextMenuSub {
|
|
2780
|
+
var displayName: string;
|
|
2724
2781
|
}
|
|
2725
2782
|
|
|
2726
2783
|
declare namespace console {
|