@republicroad/seal-editor 1.27.0 → 1.29.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 +8 -1
- package/dist/index.js +2596 -2526
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -467,6 +467,8 @@ declare type DecisionGraphStoreType = {
|
|
|
467
467
|
goToNode: (id: string) => void;
|
|
468
468
|
setActivePanel: (panel?: string) => void;
|
|
469
469
|
pushSimulateRun: (entry: SimulateRunEntry) => void;
|
|
470
|
+
setSimulateRunPinned: (id: string, pinned: boolean) => void;
|
|
471
|
+
hydrateSimulateRuns: (entries: SimulateRunEntry[]) => void;
|
|
470
472
|
clearSimulateRuns: () => void;
|
|
471
473
|
setCompactMode: (mode: boolean) => void;
|
|
472
474
|
toggleCompactMode: () => void;
|
|
@@ -1207,6 +1209,9 @@ declare const en: {
|
|
|
1207
1209
|
readonly 'dg.simulation.toastOk': "Simulation finished";
|
|
1208
1210
|
readonly 'dg.simulation.toastErr': "Simulation failed";
|
|
1209
1211
|
readonly 'dg.simulation.runsEmpty': "No runs yet — run a simulation to build history";
|
|
1212
|
+
readonly 'dg.simulation.pin': "Pin run (keep output across reloads)";
|
|
1213
|
+
readonly 'dg.simulation.unpin': "Unpin run";
|
|
1214
|
+
readonly 'dg.simulation.payloadEvicted': "Run payload evicted (unpinned) — re-run to inspect";
|
|
1210
1215
|
readonly 'dg.simulation.runsClear': "Clear history";
|
|
1211
1216
|
readonly 'dg.toolbar.schema': "JSON Schema";
|
|
1212
1217
|
readonly 'dg.tabs.close': "Close";
|
|
@@ -1680,6 +1685,7 @@ declare type GraphRef = DecisionGraphStoreType['actions'] & {
|
|
|
1680
1685
|
export declare const GraphSimulator: default_2.FC<GraphSimulatorProps>;
|
|
1681
1686
|
|
|
1682
1687
|
export declare type GraphSimulatorProps = {
|
|
1688
|
+
runsPersistenceKey?: string;
|
|
1683
1689
|
onClear?: () => void;
|
|
1684
1690
|
loading?: boolean;
|
|
1685
1691
|
simulationFooter?: default_2.ReactNode;
|
|
@@ -2458,7 +2464,8 @@ declare type SimulateRunEntry = {
|
|
|
2458
2464
|
ok: boolean;
|
|
2459
2465
|
performance?: string;
|
|
2460
2466
|
error?: string;
|
|
2461
|
-
|
|
2467
|
+
pinned?: boolean;
|
|
2468
|
+
snapshot?: Simulation;
|
|
2462
2469
|
};
|
|
2463
2470
|
|
|
2464
2471
|
export declare type Simulation = {
|