-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Llontop
committed
Jul 1, 2023
1 parent
294661a
commit 3d1c6ba
Showing
3 changed files
with
79 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {type StoredData} from 'keyv'; | ||
|
||
export type GetOutput<Value> = Promise<Value | undefined>; | ||
|
||
export type GetManyOutput<Value> = Promise<Array<StoredData<Value | undefined> | undefined>>; | ||
|
||
export type SetOutput = Promise<any>; | ||
|
||
export type DeleteOutput = Promise<boolean>; | ||
|
||
export type DeleteManyOutput = Promise<boolean>; | ||
|
||
export type ClearOutput = Promise<void>; | ||
|
||
export type HasOutput = Promise<boolean>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters