{"size": 536, "ext": "js", "max_stars_repo_path": "src/store/modules/authentication/index.js", "max_stars_repo_name": "corpus-bilimsel-arastirma-projesi/corpus", "max_stars_repo_stars_event_min_datetime": "2019-07-18T22:52:09.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-14T07:30:13.000Z", "max_issues_repo_path": "src/store/modules/authentication/index.js", "max_issues_repo_name": "corpus-bilimsel-arastirma-projesi/corpus", "max_issues_repo_issues_event_min_datetime": "2019-06-11T15:32:47.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T11:36:06.000Z", "max_forks_repo_path": "src/store/modules/authentication/index.js", "max_forks_repo_name": "corpus-bilimsel-arastirma-projesi/corpus", "max_forks_repo_forks_event_min_datetime": "2019-08-02T20:22:33.000Z", "max_forks_repo_forks_event_max_datetime": "2019-08-02T20:22:33.000Z"}
{"max_stars_count": 4, "max_issues_count": 15, "max_forks_count": 1, "avg_line_length": 22.3333333333, "max_line_length": 66, "alphanum_fraction": 0.7126865672}
import actions from './actions';
import getters from './getters';
import mutations from './mutations';

const state = {
  EMAIL: '',
  JWT_ACCESS: localStorage.getItem('accessToken'),
  JWT_REFRESH: localStorage.getItem('refreshToken'),
  ACCESS_EXPIRY: parseInt(localStorage.getItem("accessExpiry")),
  REFRESH_EXPIRY: parseInt(localStorage.getItem("refreshExpiry")),
  ENDPOINTS: {
    OBTAIN_JWT: 'token/',
    REFRESH_JWT: 'token/refresh/'
  }
}

export default {
  namespaced: false,
  state,
  actions,
  getters,
  mutations,
};
