Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 31, 2024
1 parent 21402fd commit a14ab8d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

### Pending Fixed

### v12.10.0 - 2024-10-31

- :rocket: Add a ton of new Sensor Attribute keys that were surfaced in CoT mining
- :data: Add Video Configuration object type

### v12.9.0 - 2024-10-26

- :bug: MissionChange can have no text in `creatorUid` Tag
Expand Down
12 changes: 12 additions & 0 deletions lib/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,18 @@ export const SensorAttributes = Type.Object({
azimuth: Type.Optional(Type.Number()),
north: Type.Optional(Type.Number()),

fovBlue: Type.Optional(Type.Number()),
fovAlpha: Type.Optional(Type.Number()),
fovGreen: Type.Optional(Type.Number()),
fovRed: Type.Optional(Type.Number()),
strokeWeight: Type.Optional(Type.Number()),
strokeColor: Type.Optional(Type.Number()),
rangeLines: Type.Optional(Type.Number()),
rangeLineStrokeWeight: Type.Optional(Type.Number()),
rangeLineStrokeColor: Type.Optional(Type.Number()),
displayMagneticReference: Type.Optional(Type.Number()),
hideFov: Type.Optional(Type.Boolean()),

type: Type.Optional(Type.String()),
version: Type.Optional(Type.String()),
model: Type.Optional(Type.String())
Expand Down
42 changes: 30 additions & 12 deletions test/cot-video.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@ test('Decode MultiMissionAircraft CoTs', (t) => {
_attributes: {
vfov: 45,
elevation: 0,
fovBlue: '1.0',
fovRed: '1.0',
strokeWeight: '0.0',
fovBlue: 1.0,
fovRed: 1.0,
strokeWeight: 0.0,
roll: 0,
range: 100,
azimuth: 270,
rangeLineStrokeWeight: '0.0',
rangeLineStrokeWeight: 0.0,
fov: 45,
hideFov: 'true',
rangeLineStrokeColor: '-3355444',
fovGreen: '1.0',
displayMagneticReference: '0',
strokeColor: '-16777216',
rangeLines: '100',
fovAlpha: '0.2980392156862745'
hideFov: true,
rangeLineStrokeColor: -3355444,
fovGreen: 1.0,
displayMagneticReference: 0,
strokeColor: -16777216,
rangeLines: 100,
fovAlpha: 0.2980392156862745
}
},
contact: { _attributes: { callsign: 'I-25 .8 mi S CO-45' } },
Expand All @@ -95,7 +95,25 @@ test('Decode MultiMissionAircraft CoTs', (t) => {
time: '2023-11-15T20:48:16.097Z',
start: '2023-11-15T20:48:16.097Z',
stale: '2024-11-14T20:48:16.097Z',
sensor: { vfov: 45, elevation: 0, fovBlue: '1.0', fovRed: '1.0', strokeWeight: '0.0', roll: 0, range: 100, azimuth: 270, rangeLineStrokeWeight: '0.0', fov: 45, hideFov: 'true', rangeLineStrokeColor: '-3355444', fovGreen: '1.0', displayMagneticReference: '0', strokeColor: '-16777216', rangeLines: '100', fovAlpha: '0.2980392156862745' },
sensor: {
vfov: 45,
elevation: 0,
fovBlue: 1.0,
fovRed: 1.0,
strokeWeight: 0.0,
roll: 0,
range: 100,
azimuth: 270,
rangeLineStrokeWeight: 0.0,
fov: 45,
hideFov: true,
rangeLineStrokeColor: -3355444,
fovGreen: 1.0,
displayMagneticReference: 0,
strokeColor: -16777216,
rangeLines: 100,
fovAlpha: 0.2980392156862745
},
video: { uid: '05bf6c59-c7ea-465f-8337-da16ddcc82d4', url: 'https://publicstreamer3.cotrip.org/rtplive/123/playlist.m3u8' },
archived: true,
status: { readiness: 'true' },
Expand Down

0 comments on commit a14ab8d

Please sign in to comment.