123456789101112 |
- import type { AnySchema, AnySchemaObject, UriResolver } from "../types";
- import type Ajv from "../ajv";
- import type { URIComponent } from "fast-uri";
- export type LocalRefs = {
- [Ref in string]?: AnySchemaObject;
- };
- export declare function inlineRef(schema: AnySchema, limit?: boolean | number): boolean;
- export declare function getFullPath(resolver: UriResolver, id?: string, normalize?: boolean): string;
- export declare function _getFullPath(resolver: UriResolver, p: URIComponent): string;
- export declare function normalizeId(id: string | undefined): string;
- export declare function resolveUrl(resolver: UriResolver, baseId: string, id: string): string;
- export declare function getSchemaRefs(this: Ajv, schema: AnySchema, baseId: string): LocalRefs;
|