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
16 lines
519 B
Plaintext
16 lines
519 B
Plaintext
import { DirectusClient } from "../types/client.js";
|
|
import { WebSocketClient, WebSocketConfig } from "./types.js";
|
|
|
|
//#region src/realtime/composable.d.ts
|
|
|
|
/**
|
|
* Creates a client to communicate with a Directus REST WebSocket.
|
|
*
|
|
* @param config The optional configuration.
|
|
*
|
|
* @returns A Directus realtime client.
|
|
*/
|
|
declare function realtime(config?: WebSocketConfig): <Schema>(client: DirectusClient<Schema>) => WebSocketClient<Schema>;
|
|
//#endregion
|
|
export { realtime };
|
|
//# sourceMappingURL=composable.d.ts.map |