Files
klz-cables.com/.pnpm-store/v10/files/b3/9731a498d4475b583a10ff4e9577d7de900d265e447305fac53264484240490896077cd253fcba471e3870011432c04a871e4a8d13b830ada4368edd8fef2c
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
653 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.cts.map