rage-framework
Version:
## How to Install *server-side* ```bash npm install @rage-framework/server ```
22 lines (21 loc) • 548 B
TypeScript
import { Metadata } from "../../decorators/interfaces/metadata";
export interface CacheLayerItem<T> {
key: string;
data: T;
}
export declare class CacheServiceConfigInterface {
deleteOnExpire?: string;
cacheFlushInterval?: number | null;
maxAge?: number | null;
localStorage?: boolean;
}
export interface CacheLayerInterface {
name: string;
config?: CacheServiceConfigInterface;
items?: any;
}
export interface Duplicates extends Metadata {
dupeName: string;
originalName: string;
class: Function;
}