Files
wehub-resource-sync 2114b14ee0
Sync main into demo / sync (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:35:26 +08:00

23 lines
457 B
TypeScript

export type AlarmRepeat = 'once' | 'daily' | 'workday' | 'holiday' | 'weekday';
export interface Alarm {
id: string;
hour: number;
minute: number;
enabled: boolean;
repeat: AlarmRepeat;
note?: string;
/** 响铃时振动,默认 true */
vibrate: boolean;
/** 响铃后删除此闹钟,默认 false */
autoDelete: boolean;
}
export interface WorldCity {
id: string;
name: string;
country: string;
gmtOffsetMinutes: number;
}