@foxglove/extension 2.30.0 → 2.31.1
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/README.md +1 -1
- package/package.json +1 -1
- package/src/stable.ts +5 -5
package/README.md
CHANGED
package/package.json
CHANGED
package/src/stable.ts
CHANGED
|
@@ -360,7 +360,7 @@ export type SubscribeMessageRangeArgs = {
|
|
|
360
360
|
* extension `panelElement` unmounts.
|
|
361
361
|
*
|
|
362
362
|
* See the [Creating a custom
|
|
363
|
-
* panel](https://docs.foxglove.dev/docs/
|
|
363
|
+
* panel](https://docs.foxglove.dev/docs/extensions/guides/create-custom-panel) guide
|
|
364
364
|
* for more details.
|
|
365
365
|
*
|
|
366
366
|
* @category Custom panels
|
|
@@ -415,7 +415,7 @@ export type PanelExtensionContext = {
|
|
|
415
415
|
/**
|
|
416
416
|
* Use `context.saveState` to save an arbitrary object as persisted panel state (also known as
|
|
417
417
|
* panel settings) in the current layout. You can view the current panel state using
|
|
418
|
-
* [Import/export settings](https://docs.foxglove.dev/docs/visualization/panels
|
|
418
|
+
* [Import/export settings](https://docs.foxglove.dev/docs/visualization/panels#importexport-settings).
|
|
419
419
|
*
|
|
420
420
|
* ```ts
|
|
421
421
|
* context.initialState = undefined; // your panel's initial state
|
|
@@ -1038,7 +1038,7 @@ type TopicConverterReturnType = (
|
|
|
1038
1038
|
* panel](https://docs.foxglove.dev/docs/visualization/panels/map).
|
|
1039
1039
|
*
|
|
1040
1040
|
* See the [Creating a topic
|
|
1041
|
-
* converter](https://docs.foxglove.dev/docs/
|
|
1041
|
+
* converter](https://docs.foxglove.dev/docs/extensions/guides/create-topic-converter)
|
|
1042
1042
|
* guide for more details.
|
|
1043
1043
|
*
|
|
1044
1044
|
* @category Message converters
|
|
@@ -1130,7 +1130,7 @@ export interface ExtensionContext {
|
|
|
1130
1130
|
* optional cleanup function to run when the extension `panelElement` unmounts.
|
|
1131
1131
|
*
|
|
1132
1132
|
* See the [Creating a custom
|
|
1133
|
-
* panel](https://docs.foxglove.dev/docs/
|
|
1133
|
+
* panel](https://docs.foxglove.dev/docs/extensions/guides/create-custom-panel)
|
|
1134
1134
|
* guide for more details.
|
|
1135
1135
|
*/
|
|
1136
1136
|
registerPanel(params: ExtensionPanelRegistration): void;
|
|
@@ -1325,7 +1325,7 @@ export type SettingsTreeFieldValue =
|
|
|
1325
1325
|
validTypes?: string[];
|
|
1326
1326
|
/** Only include paths from these topics in autocomplete suggestions */
|
|
1327
1327
|
validTopics?: string[];
|
|
1328
|
-
/** True if the input should allow math modifiers like @abs */
|
|
1328
|
+
/** True if the input should allow math modifiers like "@abs" */
|
|
1329
1329
|
supportsMathModifiers?: boolean;
|
|
1330
1330
|
}
|
|
1331
1331
|
| {
|