@leyyo/cache
Version:
Common cache library
14 lines (13 loc) • 741 B
TypeScript
import { CacheAbstractPropImpl } from "../prop";
import { CacheEntityProp, CacheEntityPropData, CacheEntityPropDef, CacheEntityPropSecure } from "./types";
import { CacheSegmentPropData } from "../segment";
import { OneOrMore } from "../types";
export declare class CacheEntityPropImpl<A> extends CacheAbstractPropImpl implements CacheEntityProp<A>, CacheEntityPropSecure<A> {
property: OneOrMore<keyof A>;
constructor(data: CacheSegmentPropData | CacheEntityPropData<A>, parent: CacheSegmentPropData);
get $flat(): CacheEntityPropDef;
get $secure(): CacheEntityPropSecure<A>;
get $back(): CacheEntityProp<A>;
get $pure(): Partial<CacheEntityPropData<A>>;
$setPure(pure: Partial<CacheEntityPropData<A>>): void;
}