chore(client/ts): port services/file_watcher

This commit is contained in:
Elian Doran
2024-12-21 17:42:48 +02:00
parent 45a652828e
commit 6e8fa6d757
2 changed files with 21 additions and 6 deletions

View File

@@ -50,6 +50,12 @@ export type TriggerData = {
branchIdsToDelete: string[];
callback: (value: ResolveOptions) => void;
forceDeleteAllClones: boolean;
} | {
// For "openedFileUpdated"
entityType: string;
entityId: string;
lastModifiedMs: number;
filePath: string;
}
| PromptDialogOptions // For "showPromptDialog"
| ConfirmWithMessageOptions // For "showConfirmDialog"