@magicbell/core
Version:
Official MagicBell API wrapper
22 lines (16 loc) • 443 B
text/typescript
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;
}