el-beeswarm
Version:
<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;
13 lines (12 loc) • 656 B
TypeScript
import type { AnySchema, AnySchemaObject } from "../types";
import type Ajv from "../ajv";
import URI = require("uri-js");
export declare type LocalRefs = {
[Ref in string]?: AnySchemaObject;
};
export declare function inlineRef(schema: AnySchema, limit?: boolean | number): boolean;
export declare function getFullPath(id?: string, normalize?: boolean): string;
export declare function _getFullPath(p: URI.URIComponents): string;
export declare function normalizeId(id: string | undefined): string;
export declare function resolveUrl(baseId: string, id: string): string;
export declare function getSchemaRefs(this: Ajv, schema: AnySchema): LocalRefs;