@rfkit/charts 1.1.14 → 1.1.16

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/package.json CHANGED
@@ -5,6 +5,6 @@
5
5
  "types": "index.d.ts",
6
6
  "author": "Hxgh",
7
7
  "license": "MIT",
8
- "version": "1.1.14",
8
+ "version": "1.1.16",
9
9
  "private": false
10
10
  }
@@ -40,6 +40,7 @@ export interface SetMarker {
40
40
  event: MarkerEventType;
41
41
  data: number[];
42
42
  heatmapMode?: boolean;
43
+ clear?: boolean;
43
44
  }
44
45
  export interface SpectrumExtraData {
45
46
  [key: string]: Float32Array;
@@ -94,11 +95,14 @@ export interface PublishGauge {
94
95
  export interface Reset extends Finally {
95
96
  pstype: PSType.Reset;
96
97
  }
98
+ export interface Clear extends Finally {
99
+ pstype: PSType.Clear;
100
+ }
97
101
  export interface Render {
98
102
  pstype: PSType.Render;
99
103
  [key: string]: unknown;
100
104
  }
101
- export type PublishData = SetOption | SetSeries | SetSpectrumBandwidth | SetSegments | SetChannels | SetMarker | SetAntennaFactor | SetStationInfo | PublishSpectrum | PublishHeatmap | PublishOccupancy | PublishLevelStream | PublishIQ | PublishDial | PublishGauge | Reset | Render;
105
+ export type PublishData = SetOption | SetSeries | SetSpectrumBandwidth | SetSegments | SetChannels | SetMarker | SetAntennaFactor | SetStationInfo | PublishSpectrum | PublishHeatmap | PublishOccupancy | PublishLevelStream | PublishIQ | PublishDial | PublishGauge | Reset | Clear | Render;
102
106
  export type Publish = ((p: PublishData) => void) & {
103
107
  getSourceData: () => rawData;
104
108
  };