Files
klz-cables.com/.pnpm-store/v10/files/a1/879ccebb2b1024f3c4eaaa6e352a75caa76b6b6e6c35e711b0aae6f3ec22ac92e122237e0aa14d02c97235e0356bceb116433d35daae7cfbe8bcb36fb63d90
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

43 lines
1.2 KiB
Plaintext

/**
*
* audit/server
*
*/
import { Audit, AuditResult } from './common';
/**
* Options for server audits required to check GraphQL over HTTP spec conformance.
*
* @category Audits
*/
export interface ServerAuditOptions {
/**
* The URL of the GraphQL server for the audit.
*
* A function can be also supplied, in this case -
* every audit will invoke the function to get the URL.
*/
url: string | Promise<string> | (() => string | Promise<string>);
/**
* The Fetch function to use.
*
* For NodeJS environments consider using [`@whatwg-node/fetch`](https://github.com/ardatan/whatwg-node/tree/master/packages/fetch).
*
* @default global.fetch
*/
fetchFn?: unknown;
}
/**
* List of server audits required to check GraphQL over HTTP spec conformance.
*
* @category Audits
*/
export declare function serverAudits(opts: ServerAuditOptions): Audit[];
/**
* Performs the full list of server audits required for GraphQL over HTTP spec conformance.
*
* Please consult the `AuditResult` for more information.
*
* @category Audits
*/
export declare function auditServer(opts: ServerAuditOptions): Promise<AuditResult[]>;