UNPKG

idea-toolbox

Version:
20 lines (19 loc) 560 B
import { Cacheable } from './cacheable.model'; import { epochDateTime } from './epoch'; import { Resource } from './resource.model'; /** * An abstract class to inherit to manage a resource model. * @deprecated */ export declare abstract class CacheableResource extends Resource implements Cacheable { /** * "Modified at" information on the resource. */ mAt: epochDateTime; constructor(x?: any, options?: any); /** * Update `mAt` after a change in the object. */ tick(): void; validate(options?: any): string[]; }