mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
19 lines
381 B
TypeScript
19 lines
381 B
TypeScript
interface OverlayContentData {
|
|
title: string;
|
|
time: string;
|
|
mode: 'pomodoro' | 'focus' | 'task' | 'idle';
|
|
}
|
|
|
|
interface OverlayAPI {
|
|
setIgnoreMouseEvents: (ignore: boolean) => void;
|
|
showMainWindow: () => void;
|
|
onUpdateContent: (callback: (data: OverlayContentData) => void) => void;
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
overlayAPI: OverlayAPI;
|
|
}
|
|
}
|
|
|
|
export {};
|