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 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.0",
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, getCollectionDataPartialSchema } from "../utils.js";
2
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema } from "../utils.js";
3
3
 
4
4
  export type getAlbumServiceResponse = Album;
5
5
 
6
- export type getAlbumPartialSchema = getCollectionDataPartialSchema
6
+ export type getAlbumPartialServiceSchema = getCollectionDataPartialServiceSchema
7
7
 
8
- export interface getAlbumSchema extends baseMassQueueServiceWithResponseSchema {
8
+ export interface getAlbumServiceSchema extends baseMassQueueServiceWithResponseSchema {
9
9
  service: 'get_album';
10
- service_data: getAlbumPartialSchema;
10
+ service_data: getAlbumPartialServiceSchema;
11
11
  }
@@ -1,10 +1,10 @@
1
- import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialSchema, getTracksServiceResponse } from "../utils.js";
1
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema, getTracksServiceResponse } from "../utils.js";
2
2
 
3
3
  export type getAlbumTracksServiceResponse = getTracksServiceResponse;
4
4
 
5
- export type getAlbumTracksPartialSchema = getCollectionDataPartialSchema
5
+ export type getAlbumTracksPartialServiceSchema = getCollectionDataPartialServiceSchema
6
6
 
7
- export interface getAlbumTracksSchema extends baseMassQueueServiceWithResponseSchema {
7
+ export interface getAlbumTracksServiceSchema extends baseMassQueueServiceWithResponseSchema {
8
8
  service: 'get_album_tracks';
9
- service_data: getAlbumTracksPartialSchema;
9
+ service_data: getAlbumTracksPartialServiceSchema;
10
10
  }
@@ -1,11 +1,11 @@
1
1
  import { Artist } from "../types/media-items.js";
2
- import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialSchema } from "../utils.js";
2
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema } from "../utils.js";
3
3
 
4
4
  export type getArtistServiceResponse = Artist;
5
5
 
6
- export type getArtistPartialSchema = getCollectionDataPartialSchema
6
+ export type getArtistPartialServiceSchema = getCollectionDataPartialServiceSchema
7
7
 
8
- export interface getArtistSchema extends baseMassQueueServiceWithResponseSchema {
8
+ export interface getArtistServiceSchema extends baseMassQueueServiceWithResponseSchema {
9
9
  service: 'get_artist';
10
- service_data: getArtistPartialSchema;
10
+ service_data: getArtistPartialServiceSchema;
11
11
  }
@@ -1,10 +1,10 @@
1
- import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialSchema, getTracksServiceResponse } from "../utils.js";
1
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema, getTracksServiceResponse } from "../utils.js";
2
2
 
3
3
  export type getArtistTracksServiceResponse = getTracksServiceResponse;
4
4
 
5
- export type getArtistTracksPartialSchema = getCollectionDataPartialSchema
5
+ export type getArtistTracksPartialServiceSchema = getCollectionDataPartialServiceSchema
6
6
 
7
- export interface getArtistTracksSchema extends baseMassQueueServiceWithResponseSchema {
8
- service: 'get_artust_tracks';
9
- service_data: getArtistTracksPartialSchema;
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, getCollectionDataPartialSchema } from "../utils.js";
2
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema } from "../utils.js";
3
3
 
4
4
  export type getPlaylistServiceResponse = Playlist;
5
5
 
6
- export type getPlaylistPartialSchema = getCollectionDataPartialSchema
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, getCollectionDataPartialSchema, getTracksServiceResponse } from "../utils.js";
1
+ import { baseMassQueueServiceWithResponseSchema, getCollectionDataPartialServiceSchema, getTracksServiceResponse } from "../utils.js";
2
2
 
3
3
  export type getPlaylistTracksServiceResponse = getTracksServiceResponse;
4
4
 
5
- export type getPlaylistTracksPartialSchema = getCollectionDataPartialSchema
5
+ export type getPlaylistTracksPartialServiceSchema = getCollectionDataPartialServiceSchema
6
6
 
7
- export interface getPlaylistTracksSchema extends baseMassQueueServiceWithResponseSchema {
7
+ export interface getPlaylistTracksServiceSchema extends baseMassQueueServiceWithResponseSchema {
8
8
  service: 'get_playlist_tracks';
9
- service_data: getPlaylistTracksPartialSchema;
9
+ service_data: getPlaylistTracksPartialServiceSchema;
10
10
  }
@@ -31,7 +31,7 @@ export interface getTracksServiceResponse {
31
31
  };
32
32
  }
33
33
 
34
- export interface getCollectionDataPartialSchema {
34
+ export interface getCollectionDataPartialServiceSchema {
35
35
  uri: string;
36
36
  config_entry_id: string;
37
37
  }