KawAnime/store/state.js

74 lines
1.1 KiB
JavaScript
Raw Normal View History

/**
* Created by Kylart on 26/07/2017.
*/
import moment from 'moment'
export default {
NODE_ENV: '',
platform: '',
isConnected: false,
drawer: false,
autoRefreshReleases: true,
fansubList: [
'HorribleSubs',
'Erai-raws',
'PuyaSubs!',
'Fuyu',
'DurandalSubs',
'DefinitelyNotMe'
],
releaseFansub: '',
releaseQuality: '',
releases: [],
releasesUpdateTime: moment(),
releaseParams: {
fansub: '',
quality: '',
choice: 'si'
},
infoSnackbar: {
show: false,
text: ''
},
downloaderForm: {
name: '',
fromEp: '',
untilEp: '',
quality: '',
loading: false
},
downloaderModal: {
show: false,
title: '',
text: ''
},
seasons: [],
seasonsStats: {},
year: 0,
season: '',
news: [],
localFiles: [],
resettingLocal: false,
refreshingLocal: false,
watchLists: {
watchList: [],
watching: [],
seen: [],
onHold: [],
dropped: []
},
config: {},
history: {},
historyModal: false,
infoModal: false,
2017-08-02 19:12:47 +00:00
info: {
info: {},
error: '',
loading: true,
show: false,
term: ''
},
addToChoice: false
}