@cross-check/schema
Advanced tools
Comparing version 0.11.4 to 0.11.5
@@ -124,3 +124,2 @@ "use strict"; | ||
} | ||
/** @internal */ | ||
getPrimitive(name) { | ||
@@ -137,3 +136,2 @@ let override = this.types.PrimitiveFactory.get(name); | ||
} | ||
/** @internal */ | ||
setRecord(name, dictionary, metadata, options) { | ||
@@ -148,7 +146,5 @@ if ("default" in options) { | ||
} | ||
/** @internal */ | ||
setOther(name, other) { | ||
this.other.set(name, other); | ||
} | ||
/** @internal */ | ||
getRecordImpl(name, hydrator) { | ||
@@ -158,3 +154,2 @@ let { dictionary, metadata } = this.getRecord(name, hydrator); | ||
} | ||
/** @internal */ | ||
getRecord(name, hydrator) { | ||
@@ -176,3 +171,2 @@ let { dictionary: raw, metadata } = this.getRawRecord(name); | ||
} | ||
/** @internal */ | ||
getRawRecord(name) { | ||
@@ -190,3 +184,2 @@ let registered = this.types.Record.get(name); | ||
} | ||
/** @internal */ | ||
getBase(name) { | ||
@@ -201,3 +194,2 @@ let base = this.base.get(name); | ||
} | ||
/** @internal */ | ||
getOther(name) { | ||
@@ -207,3 +199,2 @@ let other = this.other.get(name); | ||
} | ||
/** @internal */ | ||
get(id) { | ||
@@ -216,2 +207,2 @@ let types = this.types[id.type]; | ||
exports.REGISTRY = Registry.create(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiZmlsZTovLy9Vc2Vycy9zb2hhcmEvY29kZS9jcm9zcy1jaGVjay9wYWNrYWdlcy9zY2hlbWEvIiwic291cmNlcyI6WyJyZWdpc3RyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG1DQUF3RTtBQUN4RSwrQ0FBd0U7QUFDeEUscUNBQXFEO0FBR3JELG1DQUE2QztBQWlDN0MsTUFBTSxJQUFJO0lBQ1IsWUFBcUIsSUFBWSxFQUFXLElBQTJCO1FBQWxELFNBQUksR0FBSixJ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UFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNoQyxPQUFPLGVBQU0sQ0FDWCxLQUFLLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsRUFDbEIsWUFBWSxFQUFFLENBQUMsSUFBSSxJQUFJLEVBQUUsQ0FBQyxJQUFJLG1DQUFtQyxDQUNsRSxDQUFDLFVBQVUsQ0FBQztJQUNmLENBQUM7Q0FDRjtBQTVLRCw0QkE0S0M7QUFFWSxRQUFBLFFBQVEsR0FBRyxRQUFRLENBQUMsTUFBTSxFQUFFLENBQUMifQ== |
@@ -122,3 +122,2 @@ import { assert, dict, expect } from "ts-std"; | ||
} | ||
/** @internal */ | ||
getPrimitive(name) { | ||
@@ -135,3 +134,2 @@ let override = this.types.PrimitiveFactory.get(name); | ||
} | ||
/** @internal */ | ||
setRecord(name, dictionary, metadata, options) { | ||
@@ -146,7 +144,5 @@ if ("default" in options) { | ||
} | ||
/** @internal */ | ||
setOther(name, other) { | ||
this.other.set(name, other); | ||
} | ||
/** @internal */ | ||
getRecordImpl(name, hydrator) { | ||
@@ -156,3 +152,2 @@ let { dictionary, metadata } = this.getRecord(name, hydrator); | ||
} | ||
/** @internal */ | ||
getRecord(name, hydrator) { | ||
@@ -174,3 +169,2 @@ let { dictionary: raw, metadata } = this.getRawRecord(name); | ||
} | ||
/** @internal */ | ||
getRawRecord(name) { | ||
@@ -188,3 +182,2 @@ let registered = this.types.Record.get(name); | ||
} | ||
/** @internal */ | ||
getBase(name) { | ||
@@ -199,3 +192,2 @@ let base = this.base.get(name); | ||
} | ||
/** @internal */ | ||
getOther(name) { | ||
@@ -205,3 +197,2 @@ let other = this.other.get(name); | ||
} | ||
/** @internal */ | ||
get(id) { | ||
@@ -213,2 +204,2 @@ let types = this.types[id.type]; | ||
export const REGISTRY = Registry.create(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0cnkuanMiLCJ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from "./descriptors"; | ||
import { RecordBuilder } from "./record"; | ||
import { HydrateParameters, Hydrator, dehydrated } from "./descriptors"; | ||
import { RecordBuilder, RecordImpl } from "./record"; | ||
import * as type from "./type"; | ||
@@ -72,3 +72,19 @@ import { DictionaryType } from "./types"; | ||
}): void; | ||
getPrimitive(name: string): PrimitiveRegistration; | ||
setRecord(name: string, dictionary: dehydrated.Dictionary, metadata: JSONObject | null, options: { | ||
default: true; | ||
} | { | ||
override: true; | ||
}): void; | ||
setOther(name: string, other: unknown): void; | ||
getRecordImpl(name: string, hydrator: Hydrator | HydrateParameters): RecordImpl; | ||
getRecord(name: string, hydrator: Hydrator | HydrateParameters): RegistryRecord; | ||
getRawRecord(name: string): { | ||
dictionary: dehydrated.Dictionary; | ||
metadata: JSONObject | null; | ||
}; | ||
getBase(name: string): PrimitiveRegistration; | ||
getOther(name: string): unknown; | ||
get<K extends RegistryName>(id: TypeID<K>): RegistryValue; | ||
} | ||
export declare const REGISTRY: Registry; |
{ | ||
"name": "@cross-check/schema", | ||
"version": "0.11.4", | ||
"version": "0.11.5", | ||
"description": "A library for schema validations", | ||
@@ -43,4 +43,4 @@ "contributors": [ | ||
"peerDependencies": { | ||
"@cross-check/core": "0.11.4", | ||
"@cross-check/dsl": "0.11.4", | ||
"@cross-check/core": "0.11.5", | ||
"@cross-check/dsl": "0.11.5", | ||
"no-show": "^0.6.2", | ||
@@ -47,0 +47,0 @@ "ts-std": "^0.7.0" |
@@ -40,3 +40,3 @@ import { Dict, JSONObject, Option, assert, dict, expect } from "ts-std"; | ||
class Base implements Copy { | ||
constructor(readonly name: string, readonly args: JSONValue | undefined) {} | ||
constructor(readonly name: string, readonly args: JSONValue | undefined) { } | ||
@@ -53,3 +53,3 @@ copy(): this { | ||
readonly metadata: JSONObject | null | ||
) {} | ||
) { } | ||
@@ -62,3 +62,3 @@ copy(): this { | ||
class Primitive { | ||
constructor(readonly registration: PrimitiveRegistration) {} | ||
constructor(readonly registration: PrimitiveRegistration) { } | ||
@@ -71,3 +71,3 @@ copy(): this { | ||
class Aliased<T extends dehydrated.Descriptor> implements Copy { | ||
constructor(readonly descriptor: T) {} | ||
constructor(readonly descriptor: T) { } | ||
@@ -84,3 +84,3 @@ copy(): this { | ||
class Type<T extends Copy> implements Copy { | ||
constructor(readonly instances: Dict<T> = dict()) {} | ||
constructor(readonly instances: Dict<T> = dict()) { } | ||
@@ -103,3 +103,3 @@ set(name: string, value: T): void { | ||
class ReferenceType implements Copy { | ||
constructor(readonly instances: Dict<unknown> = dict()) {} | ||
constructor(readonly instances: Dict<unknown> = dict()) { } | ||
@@ -189,3 +189,3 @@ set(name: string, value: unknown): void { | ||
private options: RegistryOptions | null = null | ||
) {} | ||
) { } | ||
@@ -242,3 +242,2 @@ clone(options?: RegistryOptions): Registry { | ||
/** @internal */ | ||
getPrimitive(name: string): PrimitiveRegistration { | ||
@@ -259,3 +258,2 @@ let override = this.types.PrimitiveFactory.get(name); | ||
/** @internal */ | ||
setRecord( | ||
@@ -282,3 +280,2 @@ name: string, | ||
/** @internal */ | ||
setOther(name: string, other: unknown): void { | ||
@@ -288,3 +285,2 @@ this.other.set(name, other); | ||
/** @internal */ | ||
getRecordImpl( | ||
@@ -298,3 +294,2 @@ name: string, | ||
/** @internal */ | ||
getRecord( | ||
@@ -321,3 +316,2 @@ name: string, | ||
/** @internal */ | ||
getRawRecord( | ||
@@ -340,3 +334,2 @@ name: string | ||
/** @internal */ | ||
getBase(name: string): PrimitiveRegistration { | ||
@@ -352,3 +345,2 @@ let base = this.base.get(name); | ||
/** @internal */ | ||
getOther(name: string): unknown { | ||
@@ -360,3 +352,2 @@ let other = this.other.get(name); | ||
/** @internal */ | ||
get<K extends RegistryName>(id: TypeID<K>): RegistryValue { | ||
@@ -363,0 +354,0 @@ let types = this.types[id.type]; |
517772
9758