mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 14:00:03 +00:00
14 lines
337 B
TypeScript
14 lines
337 B
TypeScript
import { Injectable } from '@angular/core'
|
|
|
|
@Injectable({ providedIn: 'root' })
|
|
export abstract class FileProvider {
|
|
name: string
|
|
|
|
async isAvailable (): Promise<boolean> {
|
|
return true
|
|
}
|
|
|
|
abstract selectAndStoreFile (description: string): Promise<string>
|
|
abstract retrieveFile (key: string): Promise<Buffer>
|
|
}
|