Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
13 lines
755 B
Plaintext
13 lines
755 B
Plaintext
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;
|