@hongtangyun/rooms-sdk
Version:
JavaScript SDK Client for hongtangyun rooms-sdk.
40 lines (39 loc) • 3.64 kB
TypeScript
import { JSONSchemaType } from 'ajv';
import { SystemActions, ClientActions, ChatActions, FileActions, CustomActions, RoomActions, RtcActions } from './types';
export declare const SYSTEM_ROOM_NOTIFICATION: JSONSchemaType<SystemActions['system.ROOM_NOTIFICATION']>;
export declare const SYSTEM_ROOM_INFO_ADD: JSONSchemaType<SystemActions['system.ROOM_INFO_ADD']>;
export declare const SYSTEM_ROOM_INFO_UPDATE: JSONSchemaType<SystemActions['system.ROOM_INFO_UPDATE']>;
export declare const SYSTEM_ROOM_INFO_DELETE: JSONSchemaType<SystemActions['system.ROOM_INFO_DELETE']>;
export declare const SYSTEM_ROOM_USER_ADD: JSONSchemaType<SystemActions['system.ROOM_USER_ADD']>;
export declare const SYSTEM_ROOM_USER_UPDATE: JSONSchemaType<SystemActions['system.ROOM_USER_UPDATE']>;
export declare const SYSTEM_ROOM_USER_DELETE: JSONSchemaType<SystemActions['system.ROOM_USER_DELETE']>;
export declare const SYSTEM_USER_OTHER_CONNECTED: JSONSchemaType<SystemActions['system.USER_OTHER_CONNECTED']>;
export declare const SYSTEM_USER_SQUEEZE_CONNECTED: JSONSchemaType<SystemActions['system.USER_SQUEEZE_CONNECTED']>;
export declare const SYSTEM_SERVER_TIME: JSONSchemaType<SystemActions['system.SERVER_TIME']>;
export declare const SYSTEM_RTC_RECORD_START: JSONSchemaType<SystemActions['system.RTC_RECORD_START']>;
export declare const SYSTEM_RTC_RECORD_STOP: JSONSchemaType<SystemActions['system.RTC_RECORD_STOP']>;
export declare const CLIENT_CONNECT: JSONSchemaType<ClientActions['client.connect']>;
export declare const CLIENT_CONNECT_ERROR: JSONSchemaType<ClientActions['client.connect_error']>;
export declare const CLIENT_DISCONNECT: JSONSchemaType<ClientActions['client.disconnect']>;
export declare const CLIENT_ERR: JSONSchemaType<ClientActions['client.err']>;
export declare const CHAT_SEND: JSONSchemaType<ChatActions['chat.send']>;
export declare const CHAT_READ: JSONSchemaType<ChatActions['chat.read']>;
export declare const FILE_SEND: JSONSchemaType<FileActions['file.send']>;
export declare const FILE_DELETE: JSONSchemaType<FileActions['file.delete']>;
export declare const CUSTOM_ACTIONS: JSONSchemaType<CustomActions['custom.action']>;
export declare const ROOM_JOIN: JSONSchemaType<RoomActions['room.join']>;
export declare const ROOM_LEAVE: JSONSchemaType<RoomActions['room.leave']>;
export declare const ROOM_JOIN_CUSTOM_ROOM: JSONSchemaType<RoomActions['room.customroom.join']>;
export declare const ROOM_LEAVE_CUSTOM_ROOM: JSONSchemaType<RoomActions['room.customroom.leave']>;
export declare const ROOM_LEAVE_CUSTOM_ALLROOMS: JSONSchemaType<RoomActions['room.customroom.allrooms']>;
export declare const ROOM_NOTICE_PUBLISH: JSONSchemaType<RoomActions['room.notice.publish']>;
export declare const ROOM_NOTICE_UNPUBLISH: JSONSchemaType<RoomActions['room.notice.unpublish']>;
export declare const ROOM_NOTICE_READ: JSONSchemaType<RoomActions['room.notice.read']>;
export declare const ROOM_ABBNORMAL_PUBLISH: JSONSchemaType<RoomActions['room.abnormal.publish']>;
export declare const ROOM_ABBNORMAL_READ: JSONSchemaType<RoomActions['room.abnormal.read']>;
export declare const ROOM_USER_ONLINE: JSONSchemaType<RoomActions['room.user.online']>;
export declare const ROOM_RECORD_START: JSONSchemaType<RoomActions['room.record.start']>;
export declare const ROOM_RECORD_STOP: JSONSchemaType<RoomActions['room.record.stop']>;
export declare const ROOM_RECORD_STATUS: JSONSchemaType<RoomActions['room.record.status']>;
export declare const RTC_CHANNEL_JOIN: JSONSchemaType<RtcActions['rtc.channel.join']>;
export declare const RTC_CHANNEL_CREATE: JSONSchemaType<RtcActions['rtc.channel.create']>;