undergroundwires/privacy.sexy

View on GitHub
src/infrastructure/Dialog/Electron/ElectronSaveFileDialog.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { FileType, SaveFileOutcome } from '@/presentation/common/Dialog';

export interface ElectronSaveFileDialog {
  saveFile(
    fileContents: string,
    defaultFilename: string,
    type: FileType,
  ): Promise<SaveFileOutcome>;
}