@bisrvn/utils
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -40,3 +40,3 @@ /** | ||
declare enum AP_TrackType { | ||
declare enum AirPlateType { | ||
AP_DRONE = "AirPlate", | ||
@@ -52,8 +52,8 @@ AP_PLANE = "airplane", | ||
type AP_TrackMap = { | ||
[AP_TrackType.AP_DRONE]: AirPlateDrone; | ||
[AP_TrackType.AP_SCANNER]: AirPlateScanner; | ||
[AP_TrackType.AP_PLANE]: unknown; | ||
[AirPlateType.AP_DRONE]: AirPlateDrone; | ||
[AirPlateType.AP_SCANNER]: AirPlateScanner; | ||
[AirPlateType.AP_PLANE]: AirPlateDrone; | ||
}; | ||
interface AP_Base { | ||
type: AP_TrackType; | ||
type: AirPlateType; | ||
location: AP_LatLng & { | ||
@@ -159,4 +159,4 @@ valid?: boolean; | ||
*/ | ||
type AirPlateDetermined<TKey extends keyof AP_TrackMap> = AP_Base & AP_TrackMap[TKey]; | ||
type AirPlateDetermined<TKey extends keyof AP_TrackMap> = AP_TrackMap[TKey]; | ||
export { type AirPlateDetermined, type AirPlateDrone, type AirPlateScanner, type AirPlateTrack, type AirPlateUndetermined, type AltitudeReference, type AltitudeUnit, ETrack, type EmitterMessage, type HeadingUnit, type SpeedUnit, type TimeUnit, type Track, from_buffer, to_buffer }; | ||
export { type AirPlateDetermined, type AirPlateDrone, type AirPlateScanner, type AirPlateTrack, AirPlateType, type AirPlateUndetermined, type AltitudeReference, type AltitudeUnit, ETrack, type EmitterMessage, type HeadingUnit, type SpeedUnit, type TimeUnit, type Track, from_buffer, to_buffer }; |
@@ -43,2 +43,3 @@ "use strict"; | ||
__export(lib_exports, { | ||
AirPlateType: () => AirPlateType, | ||
ETrack: () => ETrack, | ||
@@ -65,4 +66,13 @@ from_buffer: () => from_buffer, | ||
})(ETrack || {}); | ||
// lib/tracks/airplate.ts | ||
var AirPlateType = /* @__PURE__ */ ((AirPlateType2) => { | ||
AirPlateType2["AP_DRONE"] = "AirPlate"; | ||
AirPlateType2["AP_PLANE"] = "airplane"; | ||
AirPlateType2["AP_SCANNER"] = "scanned_DRI"; | ||
return AirPlateType2; | ||
})(AirPlateType || {}); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
AirPlateType, | ||
ETrack, | ||
@@ -69,0 +79,0 @@ from_buffer, |
{ | ||
"name": "@bisrvn/utils", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Interfaces and util functions", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22498
278