mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
committed by
Kyle Spearrin
parent
49d3f22704
commit
a5476f12aa
7
src/abstractions/import.service.ts
Normal file
7
src/abstractions/import.service.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Importer } from '../importers/importer';
|
||||
export type ImportOptions = Array<{id: string, name: string}>;
|
||||
export abstract class ImportService {
|
||||
submit: (importer: Importer, fileContents: string) => Promise<Error>;
|
||||
getOptions: () => ImportOptions;
|
||||
getImporter: (format: string) => Importer;
|
||||
}
|
||||
Reference in New Issue
Block a user