@anttiviljami/dtsgenerator
Version:
TypeScript d.ts file generator for JSON Schema file
17 lines (16 loc) • 478 B
TypeScript
/// <reference types="node" />
import * as url from 'url';
export default class SchemaId {
readonly inputId: string;
private readonly absoluteId;
readonly id: url.Url;
static readonly empty: SchemaId;
constructor(inputId: string, parentIds?: string[]);
getAbsoluteId(): string;
isEmpty(): boolean;
isFetchable(): boolean;
getFileId(): string;
existsJsonPointerHash(): boolean;
getJsonPointerHash(): string;
toNames(): string[];
}