UNPKG

@skyway-sdk/core

Version:

The official Next Generation JavaScript SDK for SkyWay

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