@foxglove/embed 0.58.0 → 0.59.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.
@@ -120,7 +120,7 @@ export type StateTransitionsPanel = BasePanel & {
120
120
  */
121
121
  export type PlotSeries = PlotSeriesBase & {
122
122
  /**
123
- * Message path containing y-axis values for the series
123
+ * FoxQL expression containing y-axis values for the series
124
124
  */
125
125
  value?: string;
126
126
  /**
@@ -130,21 +130,21 @@ export type PlotSeries = PlotSeriesBase & {
130
130
  /**
131
131
  * For Timestamp plots, set which source of time information is used for message ordering:
132
132
  * - receiveTime is the standard timestamp used for playback message ordering across the app. For live connections, this is when the message was received; for recorded files, this is when the message was originally recorded
133
- * - customField is a message path which can point to any field within the message data containing sec and nsec integers
133
+ * - customField is a FoxQL expression which can point to any field within the message data containing sec and nsec integers
134
134
  * - headerStamp is a header.stamp ROS 1 or ROS 2 field containing sec and nsec integers (and special case of 'custom field', above). This typically represents when sensor data was captured
135
135
  * - publishTime is an optional MCAP-specific field representing when the event occurred
136
136
  */
137
137
  timestampMethod?: "receiveTime" | "publishTime" | "headerStamp" | "customField";
138
138
  /**
139
- * Message path containing a timestamp field on the same topic as the y-value path
139
+ * FoxQL expression containing a timestamp field on the same topic as the y-value expression
140
140
  */
141
141
  timestampPath?: string;
142
142
  /**
143
- * For Message path plots: message path containing x-axis values for the series. Overrides default x-axis values if set.
143
+ * For Expression plots: FoxQL expression containing x-axis values for the series. Overrides default x-axis values if set.
144
144
  */
145
145
  xValuePath?: string;
146
146
  /**
147
- * For Message path plots: controls whether this series shows all data or only latest data. When omitted, the panel time range is used.
147
+ * For Expression plots: controls whether this series shows all data or only latest data. When omitted, the panel time range is used.
148
148
  */
149
149
  timeRange?: "all" | "latest";
150
150
  /**
@@ -177,7 +177,7 @@ export type PlotSeries = PlotSeriesBase & {
177
177
  [k: string]: PlotDynamicSeriesOverride;
178
178
  };
179
179
  /**
180
- * For Timestamp plots where the y-value path resolves to an array of numbers: how to expand the array into series. "none" (the default) preserves the path's existing behavior: a [:] slice stays in one series, while a bare array path remains unplottable. "byIndex" plots one sub-series per array index, using the index as the sub-series label.
180
+ * For Timestamp plots where the y-value expression resolves to an array of numbers: how to expand the array into series. "none" (the default) preserves the expression's existing behavior: a [:] slice stays in one series, while a bare array expression remains unplottable. "byIndex" plots one sub-series per array index, using the index as the sub-series label.
181
181
  */
182
182
  arrayExpansion?: "none" | "byIndex";
183
183
  };
@@ -1297,7 +1297,7 @@ export type Layout = {
1297
1297
  content: Content;
1298
1298
  };
1299
1299
  /**
1300
- * A dictionary of variable values available in panels, message paths, user scripts, and extensions.
1300
+ * A dictionary of variable values available in panels, FoxQL expressions, user scripts, and extensions.
1301
1301
  *
1302
1302
  * This interface was referenced by `Layout`'s JSON-Schema
1303
1303
  * via the `definition` "Variables".
@@ -1466,7 +1466,7 @@ export type MarkdownConfig = {
1466
1466
  */
1467
1467
  renderMode?: "static" | "message";
1468
1468
  /**
1469
- * Message path to a field containing Markdown text as a string.
1469
+ * FoxQL expression for a field containing Markdown text as a string.
1470
1470
  */
1471
1471
  messagePath?: string;
1472
1472
  /**
@@ -1519,7 +1519,7 @@ export type StateTransitionsDiscreteCustomStates = {
1519
1519
  */
1520
1520
  export type StateTransitionsSeries = {
1521
1521
  /**
1522
- * Message path containing values for the series
1522
+ * FoxQL expression containing values for the series
1523
1523
  */
1524
1524
  value?: string;
1525
1525
  /**
@@ -1539,7 +1539,7 @@ export type StateTransitionsSeries = {
1539
1539
  */
1540
1540
  timestampMethod?: "receiveTime" | "publishTime" | "headerStamp" | "customField";
1541
1541
  /**
1542
- * Message path containing a timestamp field on the same topic as the y-value path
1542
+ * FoxQL expression containing a timestamp field on the same topic as the value expression
1543
1543
  */
1544
1544
  timestampPath?: string;
1545
1545
  customStates?: StateTransitionsCustomStates;
@@ -1718,14 +1718,14 @@ export type PlotComparisonSlotOverride = {
1718
1718
  enabled?: boolean;
1719
1719
  };
1720
1720
  /**
1721
- * For path-based values: the message path containing default x-axis values for the series. You can also set these individually for each series.
1721
+ * For Expression plots: the FoxQL expression containing default x-axis values for the series. You can also set these individually for each series.
1722
1722
  *
1723
1723
  * This interface was referenced by `Layout`'s JSON-Schema
1724
1724
  * via the `definition` "PlotXAxisPath".
1725
1725
  */
1726
1726
  export type PlotXAxisPath = {
1727
1727
  /**
1728
- * Message path containing y-axis values for the series
1728
+ * FoxQL expression containing x-axis values for the series
1729
1729
  */
1730
1730
  value?: string;
1731
1731
  /**
@@ -1791,12 +1791,12 @@ export type PlotConfig = {
1791
1791
  /**
1792
1792
  * Type and source of data for values plotted on the x-axis:
1793
1793
  * - Timestamp: x-values for time series data
1794
- * - Message path: numeric message fields for XY plots
1794
+ * - Expression: numeric message fields for XY plots
1795
1795
  * - Array index: integer indices of an array in the latest message
1796
1796
  */
1797
1797
  xAxisVal?: "timestamp" | "index" | "custom" | "currentCustom";
1798
1798
  /**
1799
- * For Message path plots:
1799
+ * For Expression plots:
1800
1800
  * - All shows data from the full time range
1801
1801
  * - Latest shows data from the most recent message.
1802
1802
  */
@@ -1830,7 +1830,7 @@ export type PlotConfig = {
1830
1830
  */
1831
1831
  sidebarDimension?: number;
1832
1832
  /**
1833
- * For Message path plots:
1833
+ * For Expression plots:
1834
1834
  * - Independent (the default) lets you configure min and max values for the scales independently.
1835
1835
  * - 1:1 is useful for when axes have the same units, and will keep the scales locked together. It hides the min/max axis settings and always zooms both axes simultaneously.
1836
1836
  */
@@ -2394,7 +2394,7 @@ export type IndicatorRule = {
2394
2394
  */
2395
2395
  export type IndicatorConfig = {
2396
2396
  /**
2397
- * Message path to the data
2397
+ * FoxQL expression for the data
2398
2398
  */
2399
2399
  path?: string;
2400
2400
  /**
@@ -2426,7 +2426,7 @@ export type IndicatorConfig = {
2426
2426
  */
2427
2427
  export type GaugeConfig = {
2428
2428
  /**
2429
- * Message path containing a numeric value (or string value that can be coerced to a numeric value)
2429
+ * FoxQL expression containing a numeric value (or string value that can be coerced to a numeric value)
2430
2430
  */
2431
2431
  path?: string;
2432
2432
  /**
@@ -2730,7 +2730,7 @@ export type RawMessagesConfig = {
2730
2730
  */
2731
2731
  diffMethod?: "custom" | "previous message";
2732
2732
  /**
2733
- * Topic path to use for diffing
2733
+ * FoxQL expression to diff against
2734
2734
  */
2735
2735
  diffTopicPath?: string;
2736
2736
  /**
@@ -2748,7 +2748,7 @@ export type RawMessagesConfig = {
2748
2748
  */
2749
2749
  showFullMessageForDiff?: boolean;
2750
2750
  /**
2751
- * Message path to display
2751
+ * FoxQL expression to display
2752
2752
  */
2753
2753
  topicPath?: string;
2754
2754
  /**
@@ -2832,7 +2832,7 @@ export type LogConfig = {
2832
2832
  */
2833
2833
  export type TableConfig = {
2834
2834
  /**
2835
- * Message path to display
2835
+ * FoxQL expression to display
2836
2836
  */
2837
2837
  topicPath?: string;
2838
2838
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxglove/embed",
3
- "version": "0.58.0",
3
+ "version": "0.59.0",
4
4
  "homepage": "https://foxglove.dev/",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -126,7 +126,7 @@ export type StateTransitionsPanel = BasePanel & {
126
126
  */
127
127
  export type PlotSeries = PlotSeriesBase & {
128
128
  /**
129
- * Message path containing y-axis values for the series
129
+ * FoxQL expression containing y-axis values for the series
130
130
  */
131
131
  value?: string;
132
132
  /**
@@ -136,21 +136,21 @@ export type PlotSeries = PlotSeriesBase & {
136
136
  /**
137
137
  * For Timestamp plots, set which source of time information is used for message ordering:
138
138
  * - receiveTime is the standard timestamp used for playback message ordering across the app. For live connections, this is when the message was received; for recorded files, this is when the message was originally recorded
139
- * - customField is a message path which can point to any field within the message data containing sec and nsec integers
139
+ * - customField is a FoxQL expression which can point to any field within the message data containing sec and nsec integers
140
140
  * - headerStamp is a header.stamp ROS 1 or ROS 2 field containing sec and nsec integers (and special case of 'custom field', above). This typically represents when sensor data was captured
141
141
  * - publishTime is an optional MCAP-specific field representing when the event occurred
142
142
  */
143
143
  timestampMethod?: "receiveTime" | "publishTime" | "headerStamp" | "customField";
144
144
  /**
145
- * Message path containing a timestamp field on the same topic as the y-value path
145
+ * FoxQL expression containing a timestamp field on the same topic as the y-value expression
146
146
  */
147
147
  timestampPath?: string;
148
148
  /**
149
- * For Message path plots: message path containing x-axis values for the series. Overrides default x-axis values if set.
149
+ * For Expression plots: FoxQL expression containing x-axis values for the series. Overrides default x-axis values if set.
150
150
  */
151
151
  xValuePath?: string;
152
152
  /**
153
- * For Message path plots: controls whether this series shows all data or only latest data. When omitted, the panel time range is used.
153
+ * For Expression plots: controls whether this series shows all data or only latest data. When omitted, the panel time range is used.
154
154
  */
155
155
  timeRange?: "all" | "latest";
156
156
  /**
@@ -183,7 +183,7 @@ export type PlotSeries = PlotSeriesBase & {
183
183
  [k: string]: PlotDynamicSeriesOverride;
184
184
  };
185
185
  /**
186
- * For Timestamp plots where the y-value path resolves to an array of numbers: how to expand the array into series. "none" (the default) preserves the path's existing behavior: a [:] slice stays in one series, while a bare array path remains unplottable. "byIndex" plots one sub-series per array index, using the index as the sub-series label.
186
+ * For Timestamp plots where the y-value expression resolves to an array of numbers: how to expand the array into series. "none" (the default) preserves the expression's existing behavior: a [:] slice stays in one series, while a bare array expression remains unplottable. "byIndex" plots one sub-series per array index, using the index as the sub-series label.
187
187
  */
188
188
  arrayExpansion?: "none" | "byIndex";
189
189
  };
@@ -1324,7 +1324,7 @@ export type Layout = {
1324
1324
  content: Content;
1325
1325
  }
1326
1326
  /**
1327
- * A dictionary of variable values available in panels, message paths, user scripts, and extensions.
1327
+ * A dictionary of variable values available in panels, FoxQL expressions, user scripts, and extensions.
1328
1328
  *
1329
1329
  * This interface was referenced by `Layout`'s JSON-Schema
1330
1330
  * via the `definition` "Variables".
@@ -1493,7 +1493,7 @@ export type MarkdownConfig = {
1493
1493
  */
1494
1494
  renderMode?: "static" | "message";
1495
1495
  /**
1496
- * Message path to a field containing Markdown text as a string.
1496
+ * FoxQL expression for a field containing Markdown text as a string.
1497
1497
  */
1498
1498
  messagePath?: string;
1499
1499
  /**
@@ -1546,7 +1546,7 @@ export type StateTransitionsDiscreteCustomStates = {
1546
1546
  */
1547
1547
  export type StateTransitionsSeries = {
1548
1548
  /**
1549
- * Message path containing values for the series
1549
+ * FoxQL expression containing values for the series
1550
1550
  */
1551
1551
  value?: string;
1552
1552
  /**
@@ -1566,7 +1566,7 @@ export type StateTransitionsSeries = {
1566
1566
  */
1567
1567
  timestampMethod?: "receiveTime" | "publishTime" | "headerStamp" | "customField";
1568
1568
  /**
1569
- * Message path containing a timestamp field on the same topic as the y-value path
1569
+ * FoxQL expression containing a timestamp field on the same topic as the value expression
1570
1570
  */
1571
1571
  timestampPath?: string;
1572
1572
  customStates?: StateTransitionsCustomStates;
@@ -1745,14 +1745,14 @@ export type PlotComparisonSlotOverride = {
1745
1745
  enabled?: boolean;
1746
1746
  }
1747
1747
  /**
1748
- * For path-based values: the message path containing default x-axis values for the series. You can also set these individually for each series.
1748
+ * For Expression plots: the FoxQL expression containing default x-axis values for the series. You can also set these individually for each series.
1749
1749
  *
1750
1750
  * This interface was referenced by `Layout`'s JSON-Schema
1751
1751
  * via the `definition` "PlotXAxisPath".
1752
1752
  */
1753
1753
  export type PlotXAxisPath = {
1754
1754
  /**
1755
- * Message path containing y-axis values for the series
1755
+ * FoxQL expression containing x-axis values for the series
1756
1756
  */
1757
1757
  value?: string;
1758
1758
  /**
@@ -1818,12 +1818,12 @@ export type PlotConfig = {
1818
1818
  /**
1819
1819
  * Type and source of data for values plotted on the x-axis:
1820
1820
  * - Timestamp: x-values for time series data
1821
- * - Message path: numeric message fields for XY plots
1821
+ * - Expression: numeric message fields for XY plots
1822
1822
  * - Array index: integer indices of an array in the latest message
1823
1823
  */
1824
1824
  xAxisVal?: "timestamp" | "index" | "custom" | "currentCustom";
1825
1825
  /**
1826
- * For Message path plots:
1826
+ * For Expression plots:
1827
1827
  * - All shows data from the full time range
1828
1828
  * - Latest shows data from the most recent message.
1829
1829
  */
@@ -1857,7 +1857,7 @@ export type PlotConfig = {
1857
1857
  */
1858
1858
  sidebarDimension?: number;
1859
1859
  /**
1860
- * For Message path plots:
1860
+ * For Expression plots:
1861
1861
  * - Independent (the default) lets you configure min and max values for the scales independently.
1862
1862
  * - 1:1 is useful for when axes have the same units, and will keep the scales locked together. It hides the min/max axis settings and always zooms both axes simultaneously.
1863
1863
  */
@@ -2421,7 +2421,7 @@ export type IndicatorRule = {
2421
2421
  */
2422
2422
  export type IndicatorConfig = {
2423
2423
  /**
2424
- * Message path to the data
2424
+ * FoxQL expression for the data
2425
2425
  */
2426
2426
  path?: string;
2427
2427
  /**
@@ -2453,7 +2453,7 @@ export type IndicatorConfig = {
2453
2453
  */
2454
2454
  export type GaugeConfig = {
2455
2455
  /**
2456
- * Message path containing a numeric value (or string value that can be coerced to a numeric value)
2456
+ * FoxQL expression containing a numeric value (or string value that can be coerced to a numeric value)
2457
2457
  */
2458
2458
  path?: string;
2459
2459
  /**
@@ -2757,7 +2757,7 @@ export type RawMessagesConfig = {
2757
2757
  */
2758
2758
  diffMethod?: "custom" | "previous message";
2759
2759
  /**
2760
- * Topic path to use for diffing
2760
+ * FoxQL expression to diff against
2761
2761
  */
2762
2762
  diffTopicPath?: string;
2763
2763
  /**
@@ -2777,7 +2777,7 @@ export type RawMessagesConfig = {
2777
2777
  */
2778
2778
  showFullMessageForDiff?: boolean;
2779
2779
  /**
2780
- * Message path to display
2780
+ * FoxQL expression to display
2781
2781
  */
2782
2782
  topicPath?: string;
2783
2783
  /**
@@ -2861,7 +2861,7 @@ export type LogConfig = {
2861
2861
  */
2862
2862
  export type TableConfig = {
2863
2863
  /**
2864
- * Message path to display
2864
+ * FoxQL expression to display
2865
2865
  */
2866
2866
  topicPath?: string;
2867
2867
  }