@rfkit/charts 1.1.4 → 1.1.6

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.4",
8
+ "version": "1.1.6",
9
9
  "private": false
10
10
  }
@@ -87,9 +87,9 @@ export interface PublishDial {
87
87
  isNorthFacing?: boolean;
88
88
  }
89
89
  export interface PublishGauge {
90
- pstype?: PSType.Gauge;
91
- value: number;
92
- limit: number;
90
+ pstype: PSType.Gauge;
91
+ value?: number;
92
+ limit?: number;
93
93
  }
94
94
  export interface Reset extends Finally {
95
95
  pstype: PSType.Reset;
package/types/store.d.ts CHANGED
@@ -200,17 +200,17 @@ export interface BlazeProps {
200
200
  show: boolean;
201
201
  }
202
202
  export interface FrequencyAllocationItem {
203
- startFrequency: number;
204
- stopFrequency: number;
205
- defaultStep: number;
206
- defaultBandwidth: number;
203
+ startFrequency?: number | string;
204
+ stopFrequency?: number | string;
205
+ centerFrequency?: number | string;
206
+ stepFrequency: number | string;
207
+ bandwidth?: number | string;
207
208
  modulation: string;
208
- demodulation: string;
209
- allocation: string;
210
- status: string;
211
- color: string;
212
209
  title: string;
213
210
  description: string;
211
+ demodulation?: string;
212
+ status?: string;
213
+ color?: string;
214
214
  gradientColors?: [string, string];
215
215
  }
216
216
  export interface FrequencyAllocationProps {
@@ -1,3 +0,0 @@
1
- import type { FrequencyAllocationItem } from '../../types/store';
2
- export declare const originalFrequencyAllocationData: FrequencyAllocationItem[];
3
- export declare const frequencyAllocationData: FrequencyAllocationItem[];