Repair missing datatypes
This commit is contained in:
@@ -1929,7 +1929,7 @@ export class Frame implements IFrame {
|
||||
}
|
||||
|
||||
const payload: RawGPSPayload = {
|
||||
type: "raw-gps",
|
||||
type: DataType.RawGPS,
|
||||
sentence,
|
||||
};
|
||||
|
||||
@@ -2090,7 +2090,7 @@ export class Frame implements IFrame {
|
||||
.filter(Boolean);
|
||||
|
||||
const payload: StationCapabilitiesPayload = {
|
||||
type: "capabilities",
|
||||
type: DataType.StationCapabilities,
|
||||
capabilities: tokens,
|
||||
} as const;
|
||||
|
||||
@@ -2153,7 +2153,7 @@ export class Frame implements IFrame {
|
||||
}
|
||||
|
||||
const payloadObj = {
|
||||
type: "user-defined",
|
||||
type: DataType.UserDefined,
|
||||
userPacketType,
|
||||
data,
|
||||
} as const;
|
||||
@@ -2220,7 +2220,7 @@ export class Frame implements IFrame {
|
||||
}
|
||||
|
||||
const payloadObj: ThirdPartyPayload = {
|
||||
type: "third-party",
|
||||
type: DataType.ThirdParty,
|
||||
comment: rest,
|
||||
...(nestedFrame ? { frame: nestedFrame } : {}),
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user