mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
30 lines
757 B
TypeScript
30 lines
757 B
TypeScript
import moment from 'moment';
|
|
import AppSectionState, {
|
|
AppSectionFilterState,
|
|
} from 'App/State/AppSectionState';
|
|
import { CalendarView } from 'Calendar/calendarViews';
|
|
import { CalendarItem } from 'typings/Calendar';
|
|
|
|
interface CalendarOptions {
|
|
showEpisodeInformation: boolean;
|
|
showFinaleIcon: boolean;
|
|
showSpecialIcon: boolean;
|
|
showCutoffUnmetIcon: boolean;
|
|
collapseMultipleEpisodes: boolean;
|
|
fullColorEvents: boolean;
|
|
}
|
|
|
|
interface CalendarAppState
|
|
extends AppSectionState<CalendarItem>,
|
|
AppSectionFilterState<CalendarItem> {
|
|
searchMissingCommandId: number | null;
|
|
start: moment.Moment;
|
|
end: moment.Moment;
|
|
dates: string[];
|
|
time: string;
|
|
view: CalendarView;
|
|
options: CalendarOptions;
|
|
}
|
|
|
|
export default CalendarAppState;
|