@data-client/endpoint
Version:
Declarative Network Interface Definitions
15 lines (14 loc) • 639 B
TypeScript
import { Visit } from '../interface.js';
export default class PolymorphicSchema {
private _schemaAttribute;
protected schema: any;
constructor(definition: any, schemaAttribute?: string | ((...args: any) => any));
get isSingleSchema(): boolean;
define(definition: any): void;
getSchemaAttribute(input: any, parent: any, key: any): any;
inferSchema(input: any, parent: any, key: any): any;
schemaKey(): string;
normalizeValue(value: any, parent: any, key: any, args: any[], visit: Visit): any;
denormalizeValue(value: any, unvisit: any): any;
}
//# sourceMappingURL=Polymorphic.d.ts.map