Added playlist

This commit is contained in:
Torben Pi Jensen 2024-02-03 14:45:02 +01:00
parent 04253f753a
commit 807cd568e1
3 changed files with 4 additions and 6 deletions

View File

@ -27,11 +27,7 @@ export class Playlist {
} }
} }
export class PlaylistDescription { export class PlaylistDescription {
public title: string; constructor(public title: string, public listener: string) {
public listener: string;
constructor(title: string, listener: string) {
this.title = title; this.title = title;
this.listener = listener; this.listener = listener;
} }

2
dist/dataTypes.js vendored
View File

@ -65,6 +65,8 @@ var PlaylistDescription = /** @class */ (function () {
function PlaylistDescription(title, listener) { function PlaylistDescription(title, listener) {
this.title = title; this.title = title;
this.listener = listener; this.listener = listener;
this.title = title;
this.listener = listener;
} }
return PlaylistDescription; return PlaylistDescription;
}()); }());

View File

@ -1,6 +1,6 @@
{ {
"name": "stuen-common", "name": "stuen-common",
"version": "1.2.2", "version": "1.2.3",
"main": "dist/common.js", "main": "dist/common.js",
"type": "commonjs", "type": "commonjs",
"types": "dist/common.d.ts", "types": "dist/common.d.ts",