@supabase/realtime-js
Version:
Listen to realtime updates to your PostgreSQL database
33 lines (30 loc) • 621 B
text/typescript
export type {
Socket,
SocketOptions,
SocketState,
SocketOnOpen,
SocketOnError,
SocketOnMessage,
SocketOnClose,
SocketStateChangeCallbacks,
Channel,
ChannelState,
ChannelEvent,
ChannelBindingCallback,
ChannelFilterBindings,
ChannelOnMessage,
ChannelOnErrorCallback,
PresenceState,
Message,
Params,
Transport,
Timer,
Vsn,
Encode,
Decode,
HeartbeatCallback,
HeartbeatStatus,
} from '@supabase/phoenix'
import type { Channel, PresenceState } from '@supabase/phoenix'
export type Push = ReturnType<Channel['push']>
export type PresenceStates = Record<string, PresenceState>