mass-queue-types 1.1.0 → 1.1.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.1.
|
|
6
|
+
"version": "1.1.2",
|
|
7
7
|
"module": "mass-queue-types.js",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"home-assistant",
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { baseMassQueueServiceWithResponseSchema, getCollectionDataServiceData,
|
|
1
|
+
import { baseMassQueueServiceWithResponseSchema, getCollectionDataServiceData, Track } from "../utils.js";
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export interface getPodcastEpisodesServiceRespnse {
|
|
4
|
+
response: {
|
|
5
|
+
episodes: Track[];
|
|
6
|
+
}
|
|
7
|
+
};
|
|
4
8
|
|
|
5
9
|
export type getPodcastEpisodeServiceData = getCollectionDataServiceData;
|
|
6
10
|
|
|
7
11
|
export interface getPodcastEpisodeServiceSchema extends baseMassQueueServiceWithResponseSchema {
|
|
8
|
-
service: '
|
|
12
|
+
service: 'get_podcast_episodes';
|
|
9
13
|
service_data: getPodcastEpisodeServiceData;
|
|
10
14
|
}
|
package/rollup.config.dev.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import typescript from '@rollup/plugin-typescript';
|
|
2
|
-
import commonjs from 'rollup-plugin-commonjs';
|
|
3
|
-
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
|
4
|
-
import serve from 'rollup-plugin-serve';
|
|
5
|
-
import terser from '@rollup/plugin-terser';
|
|
6
|
-
import json from '@rollup/plugin-json';
|
|
7
|
-
|
|
8
|
-
export default {
|
|
9
|
-
input: ['src/main.ts'],
|
|
10
|
-
output: {
|
|
11
|
-
file: '../www/mass-queue-types.js',
|
|
12
|
-
format: 'es',
|
|
13
|
-
},
|
|
14
|
-
plugins: [
|
|
15
|
-
nodeResolve(),
|
|
16
|
-
commonjs(),
|
|
17
|
-
typescript(),
|
|
18
|
-
json(),
|
|
19
|
-
terser(),
|
|
20
|
-
serve({
|
|
21
|
-
contentBase: '../www',
|
|
22
|
-
host: '0.0.0.0',
|
|
23
|
-
port: 5001,
|
|
24
|
-
headers: {
|
|
25
|
-
'Access-Control-Allow-Origin': '*',
|
|
26
|
-
},
|
|
27
|
-
}),
|
|
28
|
-
],
|
|
29
|
-
onwarn(warning, warn) {
|
|
30
|
-
warn(warning);
|
|
31
|
-
},
|
|
32
|
-
};
|
package/rollup.config.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import typescript from '@rollup/plugin-typescript';
|
|
2
|
-
import commonjs from 'rollup-plugin-commonjs';
|
|
3
|
-
import nodeResolve from '@rollup/plugin-node-resolve';
|
|
4
|
-
import terser from '@rollup/plugin-terser';
|
|
5
|
-
import json from '@rollup/plugin-json';
|
|
6
|
-
|
|
7
|
-
export default [
|
|
8
|
-
{
|
|
9
|
-
input: 'src/main.ts',
|
|
10
|
-
output: {
|
|
11
|
-
file: './dist/mass-queue-types.js',
|
|
12
|
-
format: 'es',
|
|
13
|
-
},
|
|
14
|
-
plugins: [
|
|
15
|
-
nodeResolve(),
|
|
16
|
-
commonjs(),
|
|
17
|
-
typescript(),
|
|
18
|
-
json(),
|
|
19
|
-
terser(),
|
|
20
|
-
],
|
|
21
|
-
onwarn(warning, warn) {
|
|
22
|
-
warn(warning);
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
];
|