UNPKG

schema-finder

Version:

A simple React component for viewing and exploring a JSONSchema

14 lines 572 B
import { JSONSchema7, R } from "./internal"; export declare type Deref = (ref?: string) => Promise<R<unknown>>; export declare type DerefBuilder = (root: JSONSchema7, options?: DerefOptions) => Deref; export interface DerefOptions { /** * Will allow resolving remote URI addresses in $ref over the network. * * **Do not** allow unless you know ahead of time the contents of the schema. * * @example {"$ref": "http://json-schema.org/draft-07/schema/#"} */ unsafeAllowRemoteUriResolution?: boolean; } //# sourceMappingURL=deref.d.ts.map