UNPKG

@graphql-inspector/action

Version:

GraphQL Inspector functionality for GitHub Actions

12 lines (11 loc) • 615 B
import * as core from '@actions/core'; import { Rule } from '@graphql-inspector/core'; import { AnnotationFilterLevel } from '../helpers/types.cjs'; export declare function batch<T>(items: T[], limit: number): T[][]; /** * Treats non-falsy value as true */ export declare function castToBoolean(value: string | boolean, defaultValue?: boolean): boolean; export declare function isAnnotationFilterLevel(value: string): value is AnnotationFilterLevel; export declare function getInputAsArray(name: string, options?: core.InputOptions): string[]; export declare function resolveRule(name: string): Rule | undefined;