koel/resources/assets/js/stubs/album.js
An Phan 3ca0009f73 Add a home (dashboard) view
A home/dashboard view has been added, which contains most
recently-played songs (in the current session), top songs, albums, and
artists. Song playback has also been revised with proper Vue's
reactivity, resulting in a much better and cleaner code base.
2016-02-08 19:25:44 +07:00

14 lines
242 B
JavaScript

import config from '../config';
import artist from './artist';
export default {
artist,
id: 0,
artist_id: 0,
name: '',
cover: config.unknownCover,
playCount: 0,
length: 0,
fmtLength: '00:00',
songs: []
};