@calf/serializable
Version:
Serializable module of Calf framework.
25 lines (24 loc) • 642 B
TypeScript
import { ISchema } from "../interfaces/schema.interface";
import { IPropertyDefinition } from "../interfaces/property-definition.interface";
import { BaseParser } from "./base.parser";
/**
* Schema parser
*/
export declare class SchemaParser extends BaseParser<ISchema<IPropertyDefinition>> {
/**
* Parse target
* @param target
*/
parse(target: new () => any): ISchema<IPropertyDefinition>;
/**
* Map properties
* @param target
* @param schema
*/
private mapProperties;
/**
* Get property names
* @param target
*/
private getPropertyNames;
}