(args: {
query: string | null;
variables?: string | null;
headers?: string | null;
})
| 344 | } |
| 345 | |
| 346 | function hashFromTabContents(args: { |
| 347 | query: string | null; |
| 348 | variables?: string | null; |
| 349 | headers?: string | null; |
| 350 | }): string { |
| 351 | return [args.query ?? '', args.variables ?? '', args.headers ?? ''].join('|'); |
| 352 | } |
| 353 | |
| 354 | export function fuzzyExtractOperationName(str: string): string | null { |
| 355 | const regex = /^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m; |
no outgoing calls
no test coverage detected