applicability.d.ts 456 B

123456
  1. import type { AnySchemaObject } from "../../types";
  2. import type { SchemaObjCxt } from "..";
  3. import type { JSONType, RuleGroup, Rule } from "../rules";
  4. export declare function schemaHasRulesForType({ schema, self }: SchemaObjCxt, type: JSONType): boolean | undefined;
  5. export declare function shouldUseGroup(schema: AnySchemaObject, group: RuleGroup): boolean;
  6. export declare function shouldUseRule(schema: AnySchemaObject, rule: Rule): boolean | undefined;