Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
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;
|