UNPKG

ngx-store

Version:

Angular decorators to automagically keep variables in HTML5 LocalStorage, SessionStorage, cookies; injectable services for managing and listening to data changes and a bit more.

15 lines (14 loc) 483 B
import { WebStorageServiceInterface } from '../service/webstorage.interface'; import { WebStorageUtility } from '../utility/webstorage.utility'; import { DecoratorConfig } from '../ngx-store.types'; export interface CacheItemInterface { key: string; name: string; targets: Array<object>; services: Array<WebStorageServiceInterface>; utilities: Array<UtilityEntry>; } export interface UtilityEntry { utility: WebStorageUtility; config?: DecoratorConfig; }