Helper for cache related utilities (#6696)

Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
Apoorv Mishra
2024-03-22 05:19:38 +05:30
committed by GitHub
parent 3b7010337c
commit bd2b32f9d5
5 changed files with 97 additions and 60 deletions

View File

@@ -40,7 +40,7 @@ type PluginValueMap = {
[Hook.EmailTemplate]: typeof BaseEmail;
[Hook.Processor]: typeof BaseProcessor;
[Hook.Task]: typeof BaseTask<any>;
[Hook.UnfurlProvider]: UnfurlSignature;
[Hook.UnfurlProvider]: { unfurl: UnfurlSignature; cacheExpiry: number };
};
export type Plugin<T extends Hook> = {