/** * @module typings/core */ import { IResponse } from './index'; export interface ICacheData { action?: CacheAction; request?: CacheRequest; status?: CacheStatus; target?: CacheTarget; } export type CacheRequest = Promise; export type CacheAction = 'init' | 'enter' | 'click' | 'prefetch'; export type CacheStatus = 'pending' | 'fulfilled' | 'rejected'; export type CacheTarget = string;