1- import { n as __toESM , t as __commonJSMin } from "./chunk-BHnYVmJm.mjs" ;
2-
31//#region src/Keyword.d.ts
42type ValidationPath = {
53 pointer : string ;
@@ -211,6 +209,8 @@ declare const errors: {
211209 "unknown-property-error" : string ;
212210 "value-not-empty-error" : string ;
213211} ;
212+ //#endregion
213+ //#region src/getNode.d.ts
214214declare function getNode ( pointer : string , data : unknown , options : {
215215 withSchemaWarning : true ;
216216} & GetNodeOptions ) : NodeOrError ;
@@ -393,7 +393,7 @@ declare const SchemaNodeMethods: {
393393 * @returns SchemaNode representing the passed JSON Schema
394394 */
395395 readonly compileSchema : ( schema : JsonSchema , evaluationPath ?: string , schemaLocation ?: string , dynamicId ?: string ) => SchemaNode ;
396- readonly createError : < T$1 extends string = "additional-items-error" | "additional-properties-error" | "all-of-error" | "any-of-error" | "const-error" | "contains-any-error" | "contains-array-error" | "contains-error" | "contains-min-error" | "contains-max-error" | "enum-error" | "exclusive-maximum-error" | "exclusive-minimum-error" | "forbidden-property-error" | "format-date-error" | "format-date-time-error" | "format-duration-error" | "format-email-error" | "format-hostname-error" | "format-ipv4-error" | "format-ipv4-leading-zero-error" | "format-ipv6-error" | "format-ipv6-leading-zero-error" | "format-json-pointer-error" | "format-regex-error" | "format-time-error" | "format-uri-error" | "format-uri-reference-error" | "format-uri-template-error" | "format-url-error" | "format-uuid-error" | "invalid-data-error" | "invalid-property-name-error" | "maximum-error" | "max-items-error" | "max-length-error" | "max-properties-error" | "minimum-error" | "min-items-error" | "min-items-one-error" | "min-length-error" | "min-length-one-error" | "missing-one-of-declarator-error" | "min-properties-error" | "missing-array-item-error" | "missing-dependency-error" | "missing-one-of-property-error" | "multiple-of-error" | "multiple-one-of-error" | "no-additional-properties-error" | "not-error" | "one-of-error" | "one-of-property-error" | "pattern-error" | "pattern-properties-error" | "required-property-error" | "schema-warning" | "type-error" | "undefined-value-error" | "unevaluated-property-error" | "unevaluated-items-error" | "unique-items-error" | "unknown-property-error" | "value-not-empty-error" > ( code : T$1 , data : ErrorData , message ?: string ) => JsonError ;
396+ readonly createError : < T extends string = "additional-items-error" | "additional-properties-error" | "all-of-error" | "any-of-error" | "const-error" | "contains-any-error" | "contains-array-error" | "contains-error" | "contains-min-error" | "contains-max-error" | "enum-error" | "exclusive-maximum-error" | "exclusive-minimum-error" | "forbidden-property-error" | "format-date-error" | "format-date-time-error" | "format-duration-error" | "format-email-error" | "format-hostname-error" | "format-ipv4-error" | "format-ipv4-leading-zero-error" | "format-ipv6-error" | "format-ipv6-leading-zero-error" | "format-json-pointer-error" | "format-regex-error" | "format-time-error" | "format-uri-error" | "format-uri-reference-error" | "format-uri-template-error" | "format-url-error" | "format-uuid-error" | "invalid-data-error" | "invalid-property-name-error" | "maximum-error" | "max-items-error" | "max-length-error" | "max-properties-error" | "minimum-error" | "min-items-error" | "min-items-one-error" | "min-length-error" | "min-length-one-error" | "missing-one-of-declarator-error" | "min-properties-error" | "missing-array-item-error" | "missing-dependency-error" | "missing-one-of-property-error" | "multiple-of-error" | "multiple-one-of-error" | "no-additional-properties-error" | "not-error" | "one-of-error" | "one-of-property-error" | "pattern-error" | "pattern-properties-error" | "required-property-error" | "schema-warning" | "type-error" | "undefined-value-error" | "unevaluated-property-error" | "unevaluated-items-error" | "unique-items-error" | "unknown-property-error" | "value-not-empty-error" > ( code : T , data : ErrorData , message ?: string ) => JsonError ;
397397 readonly createSchema : typeof createSchema ;
398398 readonly getChildSelection : ( property : string | number ) => JsonError | SchemaNode [ ] ;
399399 readonly getNode : typeof getNode ;
@@ -435,7 +435,7 @@ declare const SchemaNodeMethods: {
435435 /**
436436 * @returns a list of values (including objects and arrays) and their corresponding JSON Schema as SchemaNode
437437 */
438- readonly toDataNodes : ( data : unknown , pointer ?: string ) => import_dist . DataNode [ ] ;
438+ readonly toDataNodes : ( data : unknown , pointer ?: string ) => DataNode [ ] ;
439439 readonly toJSON : ( ) => any ;
440440} ;
441441//#endregion
@@ -460,18 +460,18 @@ type NodeOrError = {
460460 node : undefined ;
461461 error : JsonError ;
462462} ;
463- type ErrorData < T$1 extends Record < string , unknown > = {
463+ type ErrorData < T extends Record < string , unknown > = {
464464 [ p : string ] : unknown ;
465- } > = T$1 & {
465+ } > = T & {
466466 pointer : string ;
467467 schema : JsonSchema ;
468468 value : unknown ;
469469} ;
470- type JsonError < T$1 extends ErrorData = ErrorData > = {
470+ type JsonError < T extends ErrorData = ErrorData > = {
471471 type : "error" ;
472472 code : ErrorConfig | string ;
473473 message : string ;
474- data : T$1 ;
474+ data : T ;
475475 [ p : string ] : unknown ;
476476} ;
477477/**
@@ -633,7 +633,7 @@ declare function getTypeOf(value: unknown): JSType;
633633declare function mergeNode ( a : SchemaNode , b ?: SchemaNode , ...omit : string [ ] ) : SchemaNode | undefined ;
634634//#endregion
635635//#region src/utils/mergeSchema.d.ts
636- declare function mergeSchema < T$1 extends JsonSchema > ( a : T$1 , b : T$1 , ...omit : string [ ] ) : T$1 ;
636+ declare function mergeSchema < T extends JsonSchema > ( a : T , b : T , ...omit : string [ ] ) : T ;
637637//#endregion
638638//#region src/utils/getSchemaType.d.ts
639639declare const SCHEMA_TYPES : string [ ] ;
0 commit comments