mass-queue-types 0.10.0 → 0.10.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 +1 -1
- package/packages/mass_queue/actions/get_album.ts +4 -4
- package/packages/mass_queue/actions/get_album_tracks.ts +4 -4
- package/packages/mass_queue/actions/get_artist.ts +4 -4
- package/packages/mass_queue/actions/get_artist_tracks.ts +5 -5
- package/packages/mass_queue/actions/get_playlist.ts +2 -2
- package/packages/mass_queue/actions/get_playlist_tracks.ts +4 -4
- package/packages/mass_queue/utils.ts +1 -1
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": "0.10.
|
|
6
|
+
"version": "0.10.2",
|
|
7
7
|
"module": "mass-queue-types.js",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"home-assistant",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Album } from "../types/media-items.js";
|
|
2
|
-
import { baseMassQueueServiceWithResponseSchema,
|
|
2
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema } from "../utils.js";
|
|
3
3
|
|
|
4
4
|
export type getAlbumServiceResponse = Album;
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type getAlbumPartialServiceSchema = getCollectionDataPartialServiceSchema
|
|
7
7
|
|
|
8
|
-
export interface
|
|
8
|
+
export interface getAlbumServiceSchema extends baseMassQueueServiceWithResponseSchema {
|
|
9
9
|
service: 'get_album';
|
|
10
|
-
service_data:
|
|
10
|
+
service_data: getAlbumPartialServiceSchema;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { baseMassQueueServiceWithResponseSchema,
|
|
1
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema, getTracksServiceResponse } from "../utils.js";
|
|
2
2
|
|
|
3
3
|
export type getAlbumTracksServiceResponse = getTracksServiceResponse;
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type getAlbumTracksPartialServiceSchema = getCollectionDataPartialServiceSchema
|
|
6
6
|
|
|
7
|
-
export interface
|
|
7
|
+
export interface getAlbumTracksServiceSchema extends baseMassQueueServiceWithResponseSchema {
|
|
8
8
|
service: 'get_album_tracks';
|
|
9
|
-
service_data:
|
|
9
|
+
service_data: getAlbumTracksPartialServiceSchema;
|
|
10
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Artist } from "../types/media-items.js";
|
|
2
|
-
import { baseMassQueueServiceWithResponseSchema,
|
|
2
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema } from "../utils.js";
|
|
3
3
|
|
|
4
4
|
export type getArtistServiceResponse = Artist;
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type getArtistPartialServiceSchema = getCollectionDataPartialServiceSchema
|
|
7
7
|
|
|
8
|
-
export interface
|
|
8
|
+
export interface getArtistServiceSchema extends baseMassQueueServiceWithResponseSchema {
|
|
9
9
|
service: 'get_artist';
|
|
10
|
-
service_data:
|
|
10
|
+
service_data: getArtistPartialServiceSchema;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { baseMassQueueServiceWithResponseSchema,
|
|
1
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema, getTracksServiceResponse } from "../utils.js";
|
|
2
2
|
|
|
3
3
|
export type getArtistTracksServiceResponse = getTracksServiceResponse;
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type getArtistTracksPartialServiceSchema = getCollectionDataPartialServiceSchema
|
|
6
6
|
|
|
7
|
-
export interface
|
|
8
|
-
service: '
|
|
9
|
-
service_data:
|
|
7
|
+
export interface getArtistTracksServiceSchema extends baseMassQueueServiceWithResponseSchema {
|
|
8
|
+
service: 'get_artist_tracks';
|
|
9
|
+
service_data: getArtistTracksPartialServiceSchema;
|
|
10
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Playlist } from "../types/media-items.js";
|
|
2
|
-
import { baseMassQueueServiceWithResponseSchema,
|
|
2
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema } from "../utils.js";
|
|
3
3
|
|
|
4
4
|
export type getPlaylistServiceResponse = Playlist;
|
|
5
5
|
|
|
6
|
-
export type getPlaylistPartialSchema =
|
|
6
|
+
export type getPlaylistPartialSchema = getCollectionDataPartialServiceSchema
|
|
7
7
|
|
|
8
8
|
export interface getPlaylistSchema extends baseMassQueueServiceWithResponseSchema {
|
|
9
9
|
service: 'get_playlist';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { baseMassQueueServiceWithResponseSchema,
|
|
1
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema, getTracksServiceResponse } from "../utils.js";
|
|
2
2
|
|
|
3
3
|
export type getPlaylistTracksServiceResponse = getTracksServiceResponse;
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type getPlaylistTracksPartialServiceSchema = getCollectionDataPartialServiceSchema
|
|
6
6
|
|
|
7
|
-
export interface
|
|
7
|
+
export interface getPlaylistTracksServiceSchema extends baseMassQueueServiceWithResponseSchema {
|
|
8
8
|
service: 'get_playlist_tracks';
|
|
9
|
-
service_data:
|
|
9
|
+
service_data: getPlaylistTracksPartialServiceSchema;
|
|
10
10
|
}
|