UNPKG

@skyway-sdk/core

Version:

The official Next Generation JavaScript SDK for SkyWay

47 lines 1.25 kB
import type { Member } from '../member'; import type { Publication } from '../publication'; import type { Subscription } from '../subscription'; export type ChannelClosedEvent = Record<PropertyKey, unknown>; export type ChannelMetadataUpdatedEvent = { metadata: string; }; export type ListChangedEvent = Record<PropertyKey, unknown>; export type MemberJoinedEvent = { member: Member; }; export type MemberLeftEvent = { member: Member; }; export type MemberMetadataUpdatedEvent = { metadata: string; member: Member; }; export type MemberStateChangedEvent = { member: Member; }; export type StreamPublishedEvent = { publication: Publication; }; export type StreamUnpublishedEvent = { publication: Publication; }; export type PublicationMetadataUpdatedEvent = { publication: Publication; metadata: string; }; export type PublicationEnabledEvent = { publication: Publication; }; export type PublicationDisabledEvent = { publication: Publication; }; export type PublicationStateChangedEvent = { publication: Publication; }; export type StreamSubscribedEvent = { subscription: Subscription; }; export type StreamUnsubscribedEvent = { subscription: Subscription; }; //# sourceMappingURL=event.d.ts.map