mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
10 lines
350 B
TypeScript
10 lines
350 B
TypeScript
export interface BaseDriver {
|
|
new (config: Record<string, any>): void;
|
|
hasItem(key: string): Promise<boolean>;
|
|
setItem(key: string, value: Buffer): Promise<void>;
|
|
getItem(key: string): Promise<Buffer | null>;
|
|
removeItem(key: string): Promise<void>;
|
|
keys(prefix: string, recursive: boolean): Promise<string[]>;
|
|
clear(): Promise<void>;
|
|
}
|