UNPKG

@graphql-inspector/action

Version:

GraphQL Inspector functionality for GitHub Actions

10 lines (9 loc) 457 B
import * as core from '@actions/core'; import { Rule } from '@graphql-inspector/core'; 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 getInputAsArray(name: string, options?: core.InputOptions): string[]; export declare function resolveRule(name: string): Rule | undefined;