@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
38 lines (37 loc) • 1.58 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { ActivityLogEntryStartMessage } from './activity-log-entry-start-message';
import type { ActivityLogEntryStopMessage } from './activity-log-entry-stop-message';
import type { InboundKeepAliveMessage } from './inbound-keep-alive-message';
import type { ScheduledTasksInfoStartMessage } from './scheduled-tasks-info-start-message';
import type { ScheduledTasksInfoStopMessage } from './scheduled-tasks-info-stop-message';
import type { SessionsStartMessage } from './sessions-start-message';
import type { SessionsStopMessage } from './sessions-stop-message';
/**
* @type InboundWebSocketMessage
* Represents the list of possible inbound websocket types
* @export
*/
export type InboundWebSocketMessage = {
MessageType: 'ActivityLogEntryStart';
} & ActivityLogEntryStartMessage | {
MessageType: 'ActivityLogEntryStop';
} & ActivityLogEntryStopMessage | {
MessageType: 'KeepAlive';
} & InboundKeepAliveMessage | {
MessageType: 'ScheduledTasksInfoStart';
} & ScheduledTasksInfoStartMessage | {
MessageType: 'ScheduledTasksInfoStop';
} & ScheduledTasksInfoStopMessage | {
MessageType: 'SessionsStart';
} & SessionsStartMessage | {
MessageType: 'SessionsStop';
} & SessionsStopMessage;