alapa
Version:
A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.
16 lines (15 loc) • 478 B
TypeScript
export interface IStorageDriverError {
errorCode: number;
errorMessage: string;
timestamp: Date;
severity: "low" | "medium" | "high";
filePath?: string;
suggestedAction?: string;
}
export declare abstract class StorageDriver {
abstract name: string;
abstract absolutePath: string;
abstract absoluteURL: string;
abstract error: IStorageDriverError | null;
abstract saveFile(filePath: string, key: string): Promise<string | boolean>;
}