1 | import { CriticalityLevel, Change } from '@graphql-inspector/core';
|
2 | import { Endpoint } from './config';
|
3 | export declare function bolderize(msg: string): string;
|
4 | export declare function quotesTransformer(msg: string, symbols?: string): string;
|
5 | export declare function slackCoderize(msg: string): string;
|
6 | export declare function discordCoderize(msg: string): string;
|
7 | export declare function filterChangesByLevel(level: CriticalityLevel): (change: Change) => boolean;
|
8 | export declare function createSummary(changes: Change[], summaryLimit: number, isLegacyConfig: boolean): string;
|
9 | export declare function isNil(val: any): val is undefined | null;
|
10 | export declare function parseEndpoint(endpoint: Endpoint): {
|
11 | url: string;
|
12 | method: 'GET' | 'get' | 'post' | 'POST';
|
13 | headers?: {
|
14 | [name: string]: string;
|
15 | };
|
16 | };
|
17 | export declare function batch<T>(items: T[], limit: number): T[][];
|
18 | export declare function objectFromEntries(iterable: any[]): any;
|