@graphql-inspector/action
Version:
GraphQL Inspector functionality for GitHub Actions
15 lines (14 loc) • 365 B
text/typescript
export interface Target {
typeId: string;
value: string;
}
export interface Rating {
target: Target;
rating: number;
}
export interface BestMatch {
ratings: Rating[];
bestMatch: Rating;
}
export declare function findBestMatch(mainString: string, targetStrings: Target[]): BestMatch;
export declare function safeString(obj: unknown): string;