datatypes-validation
Version:
     
10 lines • 396 B
TypeScript
import { IRulesObject, IRulesSchema } from "../../interfaces/RulesInterface";
import { IFieldsObject } from "../../interfaces/FieldInterface";
export declare class Rules {
static checkRules(schema: IRulesSchema, data: any, options?: {
prefix?: string;
globalFields?: IFieldsObject;
}): Promise<IFieldsObject>;
rules: IRulesObject;
}
//# sourceMappingURL=Rules.d.ts.map