armisa-models
Version:
models of armisa!
27 lines (26 loc) • 820 B
TypeScript
import { IResultOfValidate } from "../..";
import { IMainStateFactory } from "../Types";
export declare class Cach {
value: any;
hasChange: any;
validation: any;
constructor(value: any, hasChange: any, validation: any);
static isCached(obj: {
mainStateFactory: IMainStateFactory;
factoryFieldName: string;
}): any;
static getCached(obj: {
mainStateFactory: IMainStateFactory;
factoryFieldName: string;
}): Cach;
static clear(obj: {
mainStateFactory: IMainStateFactory;
factoryFieldName: string;
}): void;
static setValue(obj: {
mainStateFactory: IMainStateFactory;
factoryFieldName: string;
hasChange: boolean;
validation: IResultOfValidate;
}, value: any): void;
}