Files
klz-cables.com/.pnpm-store/v10/files/33/9906ebd338197ef647c50657a8557ab71f460edd53b4b29059ac3c106bf9a75b8416792f204e7f384e6402e615715500ff9573cc7face91be7ef933158d562
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

12 lines
652 B
Plaintext

//#region src/graphql/types.d.ts
interface GraphqlClient<_Schema> {
query<Output extends object = Record<string, any>>(query: string, variables?: Record<string, unknown>, scope?: 'items' | 'system'): Promise<Output>;
}
interface GraphqlConfig {
credentials?: RequestCredentials;
}
type GqlResult<Schema extends object, Collection extends keyof Schema> = { [Key in Collection]: Schema[Collection][] };
type GqlSingletonResult<Schema extends object, Collection extends keyof Schema> = { [Key in Collection]: Schema[Collection] };
//#endregion
export { GqlResult, GqlSingletonResult, GraphqlClient, GraphqlConfig };
//# sourceMappingURL=types.d.ts.map