13 lines
294 B
TypeScript
13 lines
294 B
TypeScript
import { List } from '../utils';
|
|
|
|
export interface DynamicCache {
|
|
readonly urls: List;
|
|
readonly methods: List;
|
|
readonly name: string;
|
|
readonly maxAge: number;
|
|
readonly maxSize: number;
|
|
readonly clearOnLogout?: boolean;
|
|
}
|
|
|
|
export type DynamicCaches = List<DynamicCache>;
|