UNPKG

node-ttv

Version:

A Node.js wrapper for Twitch.tv's helix API.

48 lines 2.77 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Scopes for user authenticated apps. * Find more info on Twitch.tv's documentation: https://dev.twitch.tv/docs/authentication#scopes */ var Scopes; (function (Scopes) { Scopes["ANALYTICS_READ_EXTENTSIONS"] = "analytics:read:extensions"; Scopes["ANALYTICS_READ_GAMES"] = "analytics:read:games"; Scopes["BITS_READ"] = "bits:read"; Scopes["CHANNEL_EDIT_COMMERCIAL"] = "channel:edit:commercial"; Scopes["CHANNEL_MANAGE_BROADCAST"] = "channel:manage:broadcast"; Scopes["CHANNEL_MANAGE_EXTENSIONS"] = "channel:manage:extensions"; Scopes["CHANNEL_MANAGE_POLLS"] = "channel:manage:polls"; Scopes["CHANNEL_MANAGE_PREDICTIONS"] = "channel:manage:predictions"; Scopes["CHANNEL_MANAGE_RAIDS"] = "channel:manage:raids"; Scopes["CHANNEL_MANAGE_REDEMPTION"] = "channel:manage:redemptions"; Scopes["CHANNEL_MANAGE_SCHEDULE"] = "channel:manage:schedule"; Scopes["CHANNEL_MANAGE_VIDEOS"] = "channel:manage:videos"; Scopes["CHANNEL_READ_EDITORS"] = "channel:read:editors"; Scopes["CHANNEL_READ_GOALS"] = "channel:read:goals"; Scopes["CHANNEL_READ_HYPE_TRAIN"] = "channel:read:hype_train"; Scopes["CHANNEL_READ_POLLS"] = "channel:read:polls"; Scopes["CHANNEL_READ_PREDICTIONS"] = "channel:read:predictions"; Scopes["CHANNEL_READ_REDEMPTIONS"] = "channel:read:redemptions"; Scopes["CHANNEL_READ_STREAM_KEY"] = "channel:read:stream_key"; Scopes["CHANNEL_READ_SUBSCRIPTIONS"] = "channel:read:subscriptions"; Scopes["CLIPS_EDIT"] = "clips:edit"; Scopes["MODERATION_READ"] = "moderation:read"; Scopes["MODERATOR_MANAGE_BANNED_USERS"] = "moderator:manage:banned_users"; Scopes["MODERATOR_READ_BLOCKED_TERMS"] = "moderator:read:blocked_terms"; Scopes["MODERATOR_MANAGE_BLOCKED_TERMS"] = "moderator:manage:blocked_terms"; Scopes["MODERATOR_MANAGE_AUTOMOD"] = "moderator:manage:automod"; Scopes["MODERATOR_READ_AUTOMOD_SETTINGS"] = "moderator:read:automod_settings"; Scopes["MODERATOR_MANAGE_AUTOMOD_SETTINGS"] = "moderator:manage:automod_settings"; Scopes["MODERATOR_READ_CHAT_SETTINGS"] = "moderator:read:chat_settings"; Scopes["MODERATOR_MANAGE_CHAT_SETTINGS"] = "moderator:manage:chat_settings"; Scopes["USER_EDIT"] = "user:edit"; Scopes["USER_MANAGE_BLOCKED_USERS"] = "user:manage:blocked_users"; Scopes["USER_READ_BLOCKED_USERS"] = "user:read:blocked_users"; Scopes["USER_READ_BROADCAST"] = "user:read:broadcast"; Scopes["USER_READ_EMAIL"] = "user:read:email"; Scopes["USER_READ_FOLLOWS"] = "user:read:follows"; Scopes["USER_READ_SUBSCRIPTIONS"] = "user:read:subscriptions"; })(Scopes || (Scopes = {})); exports.default = Scopes; //# sourceMappingURL=Scopes.js.map