Files
klz-cables.com/.pnpm-store/v10/files/e6/d994c0cdb4edc3ce915217bd72a2518e4fdcc32e16178f3d4040aecfb881795dd66803d67d5fd533419b36c42ed10123d7e53a683af36ef847e2b965747bbf
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

30 lines
754 B
Plaintext

import { ConsoleInterface, FetchInterface, UrlInterface, WebSocketConstructor } from "./globals.cjs";
//#region src/types/client.d.ts
/**
* empty directus client
*/
interface DirectusClient<Schema> {
url: URL;
globals: ClientGlobals;
with: <Extension extends object>(createExtension: (client: DirectusClient<Schema>) => Extension) => this & Extension;
}
/**
* All used globals for the client
*/
type ClientGlobals = {
fetch: FetchInterface;
WebSocket: WebSocketConstructor;
URL: UrlInterface;
logger: ConsoleInterface;
};
/**
* Available options on the client
*/
type ClientOptions = {
globals?: Partial<ClientGlobals>;
};
//#endregion
export { ClientGlobals, ClientOptions, DirectusClient };
//# sourceMappingURL=client.d.cts.map