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