@tsed/schema
Version:
JsonSchema module for Ts.ED Framework
21 lines (20 loc) • 721 B
TypeScript
import { Type } from "@tsed/core";
import type { JsonPropertyStore } from "../domain/JsonPropertyStore.js";
/**
* Return the list of properties including properties from inherited classes
* @param target
* @ignore
*/
export declare function getPropertiesStores<T extends JsonPropertyStore = JsonPropertyStore>(target: Type<any> | any): Map<string | symbol | number, T>;
/**
* @ignore
*/
export interface GetPropertiesOptions {
withIgnoredProps?: boolean;
groups?: string[] | false;
[type: string]: any;
}
/**
* @ignore
*/
export declare function getProperties<T extends JsonPropertyStore = JsonPropertyStore>(target: Type<any> | any, options?: GetPropertiesOptions): Map<string | number | symbol, T>;