mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
f625b34a77
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
9 lines
307 B
TypeScript
9 lines
307 B
TypeScript
export interface BaseDriver {
|
|
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>;
|
|
}
|