persona-community-5/.pnpm-store/v3/files/41/df8d785bc2cabcc3e9c26c2fe33c801efa846436907f068a36266fb5a29c102fbc593c7a898f81de55eeb48c742ed732db97c5fa410f15788d2369d9043644
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

28 lines
1019 B
Plaintext

import type { asserts, AssertionFn } from './asserts';
import type { Arazzo1Visitor, Async2Visitor, Async3Visitor, Oas2Visitor, Oas3Visitor, Overlay1Visitor } from '../../../visitors';
import type { RuleSeverity } from '../../../config';
export type AssertionLocators = {
filterInParentKeys?: (string | number)[];
filterOutParentKeys?: (string | number)[];
matchParentKeys?: string;
};
export type AssertionDefinition = {
subject: {
type: string;
property?: string | string[];
} & AssertionLocators;
assertions: {
[name in keyof typeof asserts]?: AssertionFn;
};
};
export type RawAssertion = AssertionDefinition & {
where?: AssertionDefinition[];
message?: string;
suggest?: string[];
severity?: RuleSeverity;
};
export type Assertion = RawAssertion & {
assertionId: string;
};
export declare const Assertions: (opts: Record<string, Assertion>) => (Oas3Visitor | Oas2Visitor | Async2Visitor | Async3Visitor | Arazzo1Visitor | Overlay1Visitor)[];