@get-bb/plugin-sdk 0.4.55 → 0.4.56
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.
|
@@ -577,6 +577,18 @@ interface PluginFileOpenerSource {
|
|
|
577
577
|
interface PluginFileOpenerProps {
|
|
578
578
|
path: string;
|
|
579
579
|
source: PluginFileOpenerSource;
|
|
580
|
+
/**
|
|
581
|
+
* One-based, inclusive lines requested by the latest file open, or null when
|
|
582
|
+
* untargeted. BB supplies a new object for each targeted open, including an
|
|
583
|
+
* identical target in the active tab. Observe object identity to navigate
|
|
584
|
+
* again; keep the editor model intact. Older hosts may omit this prop.
|
|
585
|
+
*
|
|
586
|
+
* @experimental Audit navigation, remount, and persistence semantics before stabilizing.
|
|
587
|
+
*/
|
|
588
|
+
experimental_lineRange?: {
|
|
589
|
+
startLineNumber: number;
|
|
590
|
+
endLineNumber: number;
|
|
591
|
+
} | null;
|
|
580
592
|
/**
|
|
581
593
|
* BB's file preview, bound to this file. Render it to delegate conditionally
|
|
582
594
|
* without re-entering plugin replacement resolution.
|
|
@@ -14356,6 +14356,18 @@ interface PluginFileOpenerSource {
|
|
|
14356
14356
|
interface PluginFileOpenerProps {
|
|
14357
14357
|
path: string;
|
|
14358
14358
|
source: PluginFileOpenerSource;
|
|
14359
|
+
/**
|
|
14360
|
+
* One-based, inclusive lines requested by the latest file open, or null when
|
|
14361
|
+
* untargeted. BB supplies a new object for each targeted open, including an
|
|
14362
|
+
* identical target in the active tab. Observe object identity to navigate
|
|
14363
|
+
* again; keep the editor model intact. Older hosts may omit this prop.
|
|
14364
|
+
*
|
|
14365
|
+
* @experimental Audit navigation, remount, and persistence semantics before stabilizing.
|
|
14366
|
+
*/
|
|
14367
|
+
experimental_lineRange?: {
|
|
14368
|
+
startLineNumber: number;
|
|
14369
|
+
endLineNumber: number;
|
|
14370
|
+
} | null;
|
|
14359
14371
|
/**
|
|
14360
14372
|
* BB's file preview, bound to this file. Render it to delegate conditionally
|
|
14361
14373
|
* without re-entering plugin replacement resolution.
|