@cran/gql.reflect
Version:
Cranberry Introspection Utilities for GraphQL
16 lines (15 loc) • 708 B
TypeScript
import type { ReflectSchema } from "./ReflectSchema";
import { ReflectElement } from "./ReflectElement";
import type { _Property } from "../input/_Property";
export declare class ReflectProperty<Property extends _Property = _Property, Source extends ReflectElement = ReflectElement> extends ReflectElement<Property> {
readonly source: Source;
readonly fqdn: string;
readonly required: boolean;
readonly list: boolean;
readonly strict: boolean;
readonly typeName: string;
constructor($: ReflectSchema, _: Property, source: Source);
get type(): import("./ReflectNamedType").ReflectNamedType<import("../input/_Type")._TypeNamed>;
private getModifiers;
private getFqdn;
}