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:
2025-11-29 08:23:31 +09:00
parent 74b37a062c
commit 06e49be1f9
5 changed files with 534 additions and 98 deletions
+18 -1
View File
@@ -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;
}
}