UNPKG

@magicbell/core

Version:
22 lines (16 loc) 443 B
export type WebPushConfig = { subscribeUrl: string; vapidAuthentication: { publicKey: string }; }; export interface Channel<T> { enabled: boolean; config: T; } export type Channels = { webPush: Channel<WebPushConfig> }; export type Inbox = { features }; export type WebSocket = { region: string; channel: string; authUrl: string }; export default interface IRemoteConfig { channels: Channels; inbox: Inbox; ws: WebSocket; }