@deadair/sdk 0.52.0 → 0.52.2

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.
@@ -52,10 +52,12 @@ export interface NowPlayingLyrics {
52
52
  onAir: boolean;
53
53
  /** The catalog record on air. Absent while the station is talking, and for a record the catalog has never held */
54
54
  trackId?: string;
55
- /** Unix epoch millis when the record went on air, the same instant `/nowplaying` reports */
55
+ /** Unix epoch millis when the record went on air, the same instant `/nowplaying` reports. Match on it before pairing these lyrics with a `/nowplaying` reading */
56
56
  startedAt?: number;
57
- /** Where in the file the record started playing. A line's `atMs` counts from the top of the file, so the position to highlight is now minus `startedAt` plus this. Absent means the record airs from the top */
57
+ /** Where in the file the record started playing. Absent means the top of the file */
58
58
  cueInMs?: number;
59
+ /** Where in the file the record stops playing. A line's `atMs` counts from the top of the file and the decoder's `remainingMs` counts down to this point, so the position to highlight is this (or the record's `durationMs` when absent) minus `remainingMs`. Absent for a record nothing has measured, which plays to the end of the file */
60
+ cueOutMs?: number;
59
61
  /** The station's answer for that record. Absent with no `trackId` */
60
62
  lyrics?: TrackLyrics;
61
63
  }
@@ -64,10 +66,12 @@ export interface NowPlayingLyricsInput {
64
66
  onAir: boolean;
65
67
  /** The catalog record on air. Absent while the station is talking, and for a record the catalog has never held */
66
68
  trackId?: string;
67
- /** Unix epoch millis when the record went on air, the same instant `/nowplaying` reports */
69
+ /** Unix epoch millis when the record went on air, the same instant `/nowplaying` reports. Match on it before pairing these lyrics with a `/nowplaying` reading */
68
70
  startedAt?: number;
69
- /** Where in the file the record started playing. A line's `atMs` counts from the top of the file, so the position to highlight is now minus `startedAt` plus this. Absent means the record airs from the top */
71
+ /** Where in the file the record started playing. Absent means the top of the file */
70
72
  cueInMs?: number;
73
+ /** Where in the file the record stops playing. A line's `atMs` counts from the top of the file and the decoder's `remainingMs` counts down to this point, so the position to highlight is this (or the record's `durationMs` when absent) minus `remainingMs`. Absent for a record nothing has measured, which plays to the end of the file */
74
+ cueOutMs?: number;
71
75
  /** The station's answer for that record. Absent with no `trackId` */
72
76
  lyrics?: TrackLyricsInput;
73
77
  }
@@ -1 +1 @@
1
- {"version":3,"file":"nowplaying.types.d.ts","sourceRoot":"","sources":["../../../src/nowplaying/types/nowplaying.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,2XAA2X;IAC3X,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,iJAAiJ;IACjJ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6MAA6M;IAC7M,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gFAAgF;IAChF,SAAS,EAAE,MAAM,CAAC;IAClB,+IAA+I;IAC/I,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,2HAA2H;IAC3H,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IAChD,gLAAgL;IAChL,IAAI,EAAE,MAAM,CAAC;IACb,8GAA8G;IAC9G,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B,sNAAsN;IACtN,IAAI,EAAE,MAAM,CAAC;IACb,oMAAoM;IACpM,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oOAAoO;IACpO,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,gEAAgE;IAChE,KAAK,EAAE,OAAO,CAAC;IACf,kHAAkH;IAClH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gNAAgN;IAChN,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,MAAM,CAAC,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IAClC,gEAAgE;IAChE,KAAK,EAAE,OAAO,CAAC;IACf,kHAAkH;IAClH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gNAAgN;IAChN,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACvB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,+HAA+H;IAC/H,KAAK,EAAE,OAAO,CAAC;IACf,uMAAuM;IACvM,SAAS,EAAE,MAAM,CAAC;IAClB,oVAAoV;IACpV,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,+JAA+J;IAC/J,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;CAC3B"}
1
+ {"version":3,"file":"nowplaying.types.d.ts","sourceRoot":"","sources":["../../../src/nowplaying/types/nowplaying.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,2XAA2X;IAC3X,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,iJAAiJ;IACjJ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6MAA6M;I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AAM,CAAC,EAAE,gBAAgB,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACvB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,+HAA+H;IAC/H,KAAK,EAAE,OAAO,CAAC;IACf,uMAAuM;IACvM,SAAS,EAAE,MAAM,CAAC;IAClB,oVAAoV;IACpV,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,+JAA+J;IAC/J,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;CAC3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deadair/sdk",
3
- "version": "0.52.0",
3
+ "version": "0.52.2",
4
4
  "description": "A typed client for the deadair station's HTTP API, generated from the same contracts the station serves.",
5
5
  "keywords": [
6
6
  "deadair",