UNPKG

@twurple/api

Version:

Interact with Twitch's API.

31 lines (30 loc) 817 B
import { __decorate } from "tslib"; // import { Enumerable } from '@d-fischer/shared-utils'; import { DataObject, rawDataSymbol, rtfm } from '@twurple/common'; /** * Represents an EventSub conduit shard. */ let HelixEventSubConduitShard = class HelixEventSubConduitShard extends DataObject { /** * The ID of the shard. */ get id() { return this[rawDataSymbol].id; } /** * The status of the shard. */ get status() { return this[rawDataSymbol].status; } /** * The transport method of the shard. */ get transportMethod() { return this[rawDataSymbol].transport.method; } }; HelixEventSubConduitShard = __decorate([ rtfm('api', 'HelixEventSubConduitShard') ], HelixEventSubConduitShard); export { HelixEventSubConduitShard };