@magicbell/core
Version:
Official MagicBell API wrapper
27 lines (26 loc) • 493 B
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: any;
};
export type WebSocket = {
region: string;
channel: string;
authUrl: string;
};
export default interface IRemoteConfig {
channels: Channels;
inbox: Inbox;
ws: WebSocket;
}