mass-queue-types 1.0.1 → 1.0.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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Custom Types and Interfaces for Music Assistant Queue Actions",
4
4
  "repository": "https://github.com/droans/mass-queue-types",
5
5
  "author": "Michael Carroll",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "module": "mass-queue-types.js",
8
8
  "keywords": [
9
9
  "home-assistant",
@@ -1,7 +1,14 @@
1
- import { baseMassQueueServiceWithResponseSchema, getCollectionDataServiceData, getTracksServiceResponse } from "../utils.js";
1
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataServiceData, getTracksServiceResponse, Track } from "../utils.js";
2
2
 
3
- export interface getPlaylistTracksServiceResponse extends getTracksServiceResponse {
4
- position: number
3
+
4
+ export interface PlaylistTrack extends Track {
5
+ position: number;
6
+ }
7
+
8
+ export interface getPlaylistTracksServiceResponse {
9
+ response: {
10
+ tracks: PlaylistTrack[];
11
+ }
5
12
  }
6
13
 
7
14
  export type getPlaylistTracksServiceData = getCollectionDataServiceData;