Update docs to reflect changes

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-05-03 18:54:28 +02:00
parent 7ff6a75575
commit 884c2bd54f
2 changed files with 19 additions and 4 deletions
+3 -3
View File
@@ -66,8 +66,8 @@ export class BitbucketUrlReader implements UrlReader {
// @public
export interface CacheClient {
delete(key: string): Promise<void>;
get(key: string): Promise<JsonValue>;
set(key: string, value: JsonValue, ttl?: number): Promise<void>;
get(key: string): Promise<JsonValue | undefined>;
set(key: string, value: JsonValue, options: CacheSetOptions): Promise<void>;
}
// @public
@@ -254,7 +254,7 @@ export function notFoundHandler(): RequestHandler;
// @public
export type PluginCacheManager = {
getClient: (ttl: number) => CacheClient;
getClient: (options: ClientOptions) => CacheClient;
};
// @public