Files
klz-cables.com/.pnpm-store/v10/files/2a/877d14eacfb0cca548bbeaf28581c1c7d0b36c98dfe9c02b94066303f98c0f5d16d9e5236872ed4a1d581f772dcc1e2bc0853413a423f9e34464b0c4178c2e
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
752 B
Plaintext

import { ConsoleInterface, FetchInterface, UrlInterface, WebSocketConstructor } from "./globals.js";
//#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.ts.map