Files
klz-cables.com/.pnpm-store/v10/files/ce/26029da6af663a43bf9aa896150155c6714e834f426950a86449f0e4d8d8b53fdd06a0cba419bb74efeb82677319fd6876d21fefea94a766c5ce1153f01558
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

23 lines
801 B
Plaintext

import type { DocumentNode, ExecutableDefinitionNode } from '../language/ast';
/**
* Wrapper type that contains DocumentNode and types that can be deduced from it.
*/
export interface TypedQueryDocumentNode<
TResponseData = {
[key: string]: any;
},
TRequestVariables = {
[key: string]: any;
},
> extends DocumentNode {
readonly definitions: ReadonlyArray<ExecutableDefinitionNode>;
/**
* This type is used to ensure that the variables you pass in to the query are assignable to Variables
* and that the Result is assignable to whatever you pass your result to. The method is never actually
* implemented, but the type is valid because we list it as optional
*/
__ensureTypesOfVariablesAndResultMatching?: (
variables: TRequestVariables,
) => TResponseData;
}