2018-04-29 18:23:46 +02:00
|
|
|
const emptyData = {
|
|
|
|
data: [],
|
|
|
|
}
|
|
|
|
|
2017-12-25 17:45:28 +01:00
|
|
|
export default {
|
|
|
|
message: '',
|
2018-01-01 11:10:39 +01:00
|
|
|
messages: [],
|
2017-12-25 17:45:28 +01:00
|
|
|
user: {
|
|
|
|
id: '',
|
|
|
|
username: '',
|
|
|
|
email: '',
|
|
|
|
createdAt: '',
|
|
|
|
isAdmin: false,
|
|
|
|
isAuthenticated: false,
|
2018-01-01 16:59:46 +01:00
|
|
|
firstName: '',
|
|
|
|
lastName: '',
|
|
|
|
bio: '',
|
|
|
|
location: '',
|
2018-01-01 21:54:03 +01:00
|
|
|
birthDate: '',
|
|
|
|
picture: false
|
2017-12-25 17:45:28 +01:00
|
|
|
},
|
|
|
|
formData: {
|
|
|
|
formData: {
|
2018-01-01 16:59:46 +01:00
|
|
|
username: '',
|
|
|
|
email: '',
|
|
|
|
password: '',
|
|
|
|
passwordConf: '',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
formProfile: {
|
|
|
|
formProfile: {
|
|
|
|
firstName: '',
|
|
|
|
lastName: '',
|
|
|
|
bio: '',
|
|
|
|
location: '',
|
2018-01-01 17:50:12 +01:00
|
|
|
birthDate: '',
|
|
|
|
password: '',
|
2018-01-01 21:54:03 +01:00
|
|
|
passwordConf: '',
|
2017-12-25 17:45:28 +01:00
|
|
|
}
|
|
|
|
},
|
2018-05-02 19:02:39 +02:00
|
|
|
activities: {
|
|
|
|
...emptyData,
|
|
|
|
},
|
2018-05-28 15:33:56 +02:00
|
|
|
chartData: [],
|
2018-05-03 21:42:54 +02:00
|
|
|
// check if storing gpx content is OK
|
|
|
|
gpx: null,
|
2018-05-20 13:12:35 +02:00
|
|
|
records: {
|
|
|
|
...emptyData,
|
|
|
|
},
|
2018-04-29 18:23:46 +02:00
|
|
|
sports: {
|
|
|
|
...emptyData,
|
|
|
|
}
|
2017-12-25 17:45:28 +01:00
|
|
|
}
|