UNPKG

vue-plugin-kuzzle

Version:

A Vuejs plugin shipping the Kuzzle SDK in your components

21 lines (20 loc) 483 B
import { HttpRoutes, JSONObject } from 'kuzzle-sdk'; export declare enum KuzzleProtocol { HTTP = "http", WEBSOCKET = "websocket" } export interface Backend { host: string; protocol: KuzzleProtocol; options: { port: number; sslConnection: boolean; headers?: JSONObject; reconnectionDelay?: number; pingInterval?: number; customRoutes?: HttpRoutes; }; } export interface Backends { [name: string]: Backend; }