main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
755 bytes
|
Line | |
---|
1 | import type { AnySchema, AnySchemaObject, UriResolver } from "../types";
|
---|
2 | import type Ajv from "../ajv";
|
---|
3 | import type { URIComponent } from "fast-uri";
|
---|
4 | export type LocalRefs = {
|
---|
5 | [Ref in string]?: AnySchemaObject;
|
---|
6 | };
|
---|
7 | export declare function inlineRef(schema: AnySchema, limit?: boolean | number): boolean;
|
---|
8 | export declare function getFullPath(resolver: UriResolver, id?: string, normalize?: boolean): string;
|
---|
9 | export declare function _getFullPath(resolver: UriResolver, p: URIComponent): string;
|
---|
10 | export declare function normalizeId(id: string | undefined): string;
|
---|
11 | export declare function resolveUrl(resolver: UriResolver, baseId: string, id: string): string;
|
---|
12 | export declare function getSchemaRefs(this: Ajv, schema: AnySchema, baseId: string): LocalRefs;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.