Squashed 'sample-front-end/' changes from 552f9c4..99ea3a6
99ea3a6 feat: Display next sync schedule information fb8d17a feat: Implement schedule settings and basic UI git-subtree-dir: sample-front-end git-subtree-split: 99ea3a68de98503b706d3ee5782baf4a66dc7134
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
export interface Track {
|
||||
id: string;
|
||||
title: string;
|
||||
@@ -40,6 +41,22 @@ export interface RegexReplacement {
|
||||
replacement: string;
|
||||
}
|
||||
|
||||
export enum ScheduleMode {
|
||||
DISABLED = 'DISABLED',
|
||||
CRON = 'CRON',
|
||||
DAILY = 'DAILY',
|
||||
WEEKLY = 'WEEKLY'
|
||||
}
|
||||
|
||||
export interface ScheduleSettings {
|
||||
mode: ScheduleMode;
|
||||
cronExpression: string;
|
||||
dailyTime: string;
|
||||
weeklyDays: number[]; // 0 = Sunday, 1 = Monday, etc.
|
||||
weeklyTime: string;
|
||||
autoWatch: boolean;
|
||||
}
|
||||
|
||||
export interface PlexLibrary {
|
||||
id: string;
|
||||
title: string;
|
||||
@@ -69,4 +86,4 @@ export interface ApiResponse<T> {
|
||||
data: T;
|
||||
status: 'success' | 'error';
|
||||
message?: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user