debian-mirror-gitlab/app/assets/javascripts/cycle_analytics/store/state.js
2021-06-08 01:23:25 +05:30

17 lines
351 B
JavaScript

import { DEFAULT_DAYS_TO_DISPLAY } from '../constants';
export default () => ({
requestPath: '',
startDate: DEFAULT_DAYS_TO_DISPLAY,
stages: [],
summary: [],
analytics: [],
stats: [],
selectedStage: {},
selectedStageEvents: [],
medians: {},
hasError: false,
isLoading: false,
isLoadingStage: false,
isEmptyStage: false,
});