DGLabGame/node_modules/ajv/dist/compile/validate/applicability.d.ts
3944Realms 41203ae1c6 feat: 初始化
添加用户准则界面
2026-03-09 01:20:32 +08:00

7 lines
456 B
TypeScript

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