first
This commit is contained in:
12
node_modules/ajv/dist/compile/resolve.d.ts
generated
vendored
Normal file
12
node_modules/ajv/dist/compile/resolve.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { AnySchema, AnySchemaObject, UriResolver } from "../types";
|
||||
import type Ajv from "../ajv";
|
||||
import type { URIComponents } from "uri-js";
|
||||
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: URIComponents): 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;
|
||||
Reference in New Issue
Block a user