You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/frontend/src/pages/Settings/Scheduler/options.ts

39 lines
1.1 KiB

import { SelectorOption } from "@/components";
export const seriesSyncOptions: SelectorOption<number>[] = [
{ label: "Manually", value: 52560000 },
{ label: "15 Minutes", value: 15 },
{ label: "1 Hour", value: 60 },
{ label: "3 Hours", value: 180 },
{ label: "6 Hours", value: 360 },
{ label: "12 Hours", value: 720 },
{ label: "24 Hours", value: 1440 },
];
export const moviesSyncOptions = seriesSyncOptions;
export const diskUpdateOptions: SelectorOption<string>[] = [
{ label: "Manually", value: "Manually" },
{ label: "Daily", value: "Daily" },
{ label: "Weekly", value: "Weekly" },
];
export const backupOptions = diskUpdateOptions;
export const dayOptions: SelectorOption<number>[] = [
{ label: "Monday", value: 0 },
{ label: "Tuesday", value: 1 },
{ label: "Wednesday", value: 2 },
{ label: "Thursday", value: 3 },
{ label: "Friday", value: 4 },
{ label: "Saturday", value: 5 },
{ label: "Sunday", value: 6 },
];
export const upgradeOptions: SelectorOption<number>[] = [
{ label: "Manually", value: 876000 },
{ label: "6 Hours", value: 6 },
{ label: "12 Hours", value: 12 },
{ label: "24 Hours", value: 24 },
];