@lumiastream/lumia-types 3.4.4 → 3.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert.types.d.ts +1 -0
- package/dist/alert.types.js +191 -72
- package/dist/custom-code/helper-functions.md +1 -2
- package/dist/esm/alert.types.js +191 -72
- package/dist/esm/eventlist.types.js +32 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/variables.types.js +18 -16
- package/dist/eventlist.types.d.ts +2 -0
- package/dist/eventlist.types.js +34 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/variables.types.js +18 -16
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { LumiaStreamingSites, LumiaActivityCommandTypes, LumiaExternalActivityCommandTypes, LumiaAlertValues, LumiaAlertFriendlyValues, LumiaActivityOriginTypes, LumiaActivityApiValueType, LumiaActivityNoValueTypes, LumiaActivityTestType, } from './activity.types.js';
|
|
2
2
|
export { LumiaVariationConditions, LumiaVariationCurrency, VariationCurrencySymbol, LumiaRedemptionCurrency, LumiaRedemptionCurrencySymbol, LumiaAlertConfigs, } from './alert.types.js';
|
|
3
3
|
export { LumiaIntegrations, LumiaEventTypes, } from './event.types.js';
|
|
4
|
-
export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter, PlatformsToFilter } from './eventlist.types.js';
|
|
4
|
+
export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter, PlatformsToFilter, LumiaEventListTypeColors, getEventListCategoryColor } from './eventlist.types.js';
|
|
5
5
|
export { SystemVariables, ReservedVariables, AllVariables, getAcceptedVariableName, getAcceptedVariableNames, } from './variables.types.js';
|
|
6
6
|
export { formatCondition } from './helpers.js';
|
|
7
7
|
export { KickKicksData } from './kick_kicks.js';
|
|
@@ -2099,7 +2099,7 @@ export const AllVariables = {
|
|
|
2099
2099
|
entrance: ['username', 'userId', 'displayname', 'avatar', 'message'],
|
|
2100
2100
|
follower: ['username'],
|
|
2101
2101
|
sessionFollowers: ['total', 'previousTotal'],
|
|
2102
|
-
subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
|
|
2102
|
+
subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName', 'amount'],
|
|
2103
2103
|
sessionSubs: ['total', 'previousTotal'],
|
|
2104
2104
|
subscriptionGift: [
|
|
2105
2105
|
'username',
|
|
@@ -2119,7 +2119,7 @@ export const AllVariables = {
|
|
|
2119
2119
|
sessionGiftSubscriptions: ['total', 'previousTotal'],
|
|
2120
2120
|
kicks: ['username', 'avatar', 'amount', 'name', 'type', 'tier', 'id', 'message'],
|
|
2121
2121
|
sessionKicks: ['total', 'previousTotal'],
|
|
2122
|
-
host: ['username', 'avatar', 'viewers'],
|
|
2122
|
+
host: ['username', 'avatar', 'viewers', 'amount'],
|
|
2123
2123
|
banned: ['username', 'userId', 'bannedByUsername', 'bannedByUserId', 'expires'],
|
|
2124
2124
|
unbanned: ['username', 'userId', 'unbannedByUsername', 'unbannedByUserId'],
|
|
2125
2125
|
},
|
|
@@ -2299,11 +2299,11 @@ export const AllVariables = {
|
|
|
2299
2299
|
entrance: ['username', 'userId', 'displayname', 'avatar', 'message'],
|
|
2300
2300
|
follower: ['username', 'userId', 'displayname', 'avatar'],
|
|
2301
2301
|
superFan: ['username', 'displayname', 'avatar', 'userId'],
|
|
2302
|
-
gift: ['username', 'userId', 'avatar', 'coins', 'diamonds', 'giftId', 'giftName', 'giftPictureUrl', 'giftType', 'giftAmount'],
|
|
2303
|
-
like: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
|
|
2304
|
-
totalLikes: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
|
|
2302
|
+
gift: ['username', 'userId', 'avatar', 'coins', 'diamonds', 'giftId', 'giftName', 'giftPictureUrl', 'giftType', 'giftAmount', 'amount'],
|
|
2303
|
+
like: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount', 'amount'],
|
|
2304
|
+
totalLikes: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount', 'amount'],
|
|
2305
2305
|
share: ['username', 'userId', 'displayname', 'avatar'],
|
|
2306
|
-
treasureChest: ['username', 'userId', 'avatar', 'envelopeId', 'diamondCount', 'peopleCount', 'unpackAt'],
|
|
2306
|
+
treasureChest: ['username', 'userId', 'avatar', 'envelopeId', 'diamondCount', 'peopleCount', 'unpackAt', 'amount'],
|
|
2307
2307
|
question: ['username', 'userId', 'displayname', 'avatar', 'question', 'questionId', 'answerStatus'],
|
|
2308
2308
|
poll: ['pollId', 'title', 'pollKind', 'pollDuration', 'timeRemain', 'pollSponsor', 'userCount'],
|
|
2309
2309
|
superFanBox: ['username', 'displayname', 'avatar', 'userId'],
|
|
@@ -2326,6 +2326,7 @@ export const AllVariables = {
|
|
|
2326
2326
|
'repeatCount',
|
|
2327
2327
|
'totalDiamondCount',
|
|
2328
2328
|
'battleStatus',
|
|
2329
|
+
'amount',
|
|
2329
2330
|
],
|
|
2330
2331
|
battleEnd: ['battleId', 'battleLabel', 'creatorUsername', 'opponentUsername', 'creatorScore', 'opponentScore', 'result', 'winnerUsername', 'loserUsername'],
|
|
2331
2332
|
streamEnd: ['eventTime'],
|
|
@@ -2468,6 +2469,7 @@ export const AllVariables = {
|
|
|
2468
2469
|
'avatar',
|
|
2469
2470
|
'tier',
|
|
2470
2471
|
'giftAmount',
|
|
2472
|
+
'amount',
|
|
2471
2473
|
'recipients',
|
|
2472
2474
|
TWITCH_RECIPIENTS_RAW_EXAMPLE,
|
|
2473
2475
|
'gifter',
|
|
@@ -2482,12 +2484,12 @@ export const AllVariables = {
|
|
|
2482
2484
|
bits: ['username', 'avatar', 'amount', 'message'],
|
|
2483
2485
|
bitsCombo: ['username', 'avatar', 'amount', 'bitsType', 'message'],
|
|
2484
2486
|
sessionBits: ['total', 'previousTotal'],
|
|
2485
|
-
raid: ['username', 'avatar', 'viewers'],
|
|
2486
|
-
raidOut: ['username', 'avatar', 'viewers'],
|
|
2487
|
-
hypetrainStarted: ['total', 'progress', 'goal'],
|
|
2488
|
-
hypetrainProgressed: ['level', 'total', 'progress', 'goal'],
|
|
2489
|
-
hypetrainLevelProgressed: ['level', 'total', 'progress', 'goal'],
|
|
2490
|
-
hypetrainEnded: ['level', 'total'],
|
|
2487
|
+
raid: ['username', 'avatar', 'viewers', 'amount'],
|
|
2488
|
+
raidOut: ['username', 'avatar', 'viewers', 'amount'],
|
|
2489
|
+
hypetrainStarted: ['total', 'progress', 'goal', 'amount'],
|
|
2490
|
+
hypetrainProgressed: ['level', 'total', 'progress', 'goal', 'amount'],
|
|
2491
|
+
hypetrainLevelProgressed: ['level', 'total', 'progress', 'goal', 'amount'],
|
|
2492
|
+
hypetrainEnded: ['level', 'total', 'amount'],
|
|
2491
2493
|
pollStarted: ['poll_title', 'poll_id', 'poll_choices', 'poll_started_at', 'poll_ends_at'],
|
|
2492
2494
|
pollProgressed: ['poll_title', 'poll_id', 'poll_choices', 'poll_winning_title', 'poll_winning_id', 'poll_winning_votes', 'poll_started_at', 'poll_ends_at'],
|
|
2493
2495
|
pollEnded: ['poll_id', 'poll_title', 'poll_choices', 'poll_winning_title', 'poll_winning_id', 'poll_winning_votes', 'poll_started_at', 'poll_ends_at'],
|
|
@@ -2580,8 +2582,8 @@ export const AllVariables = {
|
|
|
2580
2582
|
timeout: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2581
2583
|
timeoutOver: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2582
2584
|
shoutoutReceive: ['username', 'userId', 'displayname', 'avatar', 'viewer_count', 'started_at'],
|
|
2583
|
-
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad'],
|
|
2584
|
-
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad'],
|
|
2585
|
+
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2586
|
+
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2585
2587
|
watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
|
|
2586
2588
|
powerups: ['username', 'avatar', 'type', 'amount', 'message', 'reward_id', 'powerup_source'],
|
|
2587
2589
|
powerupsPoints: ['username', 'avatar', 'type', 'amount', 'message'],
|
|
@@ -2759,8 +2761,8 @@ export const AllVariables = {
|
|
|
2759
2761
|
sessionSuperchats: ['total', 'previousTotal', 'currency', 'currencySymbol'],
|
|
2760
2762
|
supersticker: ['username', 'displayname', 'stickerId', 'stickerName', 'amount', 'currency', 'currencySymbol', 'imageUrl'],
|
|
2761
2763
|
sessionSuperstickers: ['total', 'previousTotal', 'currency', 'currencySymbol'],
|
|
2762
|
-
like: ['likes', 'dislikes'],
|
|
2763
|
-
viewers: ['viewers'],
|
|
2764
|
+
like: ['likes', 'dislikes', 'amount'],
|
|
2765
|
+
viewers: ['viewers', 'amount'],
|
|
2764
2766
|
},
|
|
2765
2767
|
},
|
|
2766
2768
|
youtubemusic: {
|
|
@@ -102,3 +102,5 @@ export declare const AlertsToFilter: LumiaAlertValues[];
|
|
|
102
102
|
* LumiaStream `Integrations.types.ts` before being consolidated here.
|
|
103
103
|
*/
|
|
104
104
|
export declare const PlatformsToFilter: string[];
|
|
105
|
+
export declare const LumiaEventListTypeColors: Record<LumiaEventListTypes, string>;
|
|
106
|
+
export declare const getEventListCategoryColor: (category: LumiaEventListTypes | undefined | null) => string;
|
package/dist/eventlist.types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PlatformsToFilter = exports.AlertsToFilter = exports.LumiaMapAlertTypeToEventListType = exports.LumiaEventListTypes = void 0;
|
|
3
|
+
exports.getEventListCategoryColor = exports.LumiaEventListTypeColors = exports.PlatformsToFilter = exports.AlertsToFilter = exports.LumiaMapAlertTypeToEventListType = exports.LumiaEventListTypes = void 0;
|
|
4
4
|
const activity_types_1 = require("./activity.types");
|
|
5
5
|
/**
|
|
6
6
|
* Eventlist categories. The eventlist module uses these as a *blacklist* via
|
|
@@ -349,3 +349,36 @@ exports.AlertsToFilter = [
|
|
|
349
349
|
* LumiaStream `Integrations.types.ts` before being consolidated here.
|
|
350
350
|
*/
|
|
351
351
|
exports.PlatformsToFilter = ['obs', 'slobs', 'meld', 'paypal', 'pulsoid', 'hyperate', 'spotify', 'youtubemusic', 'nowplaying', 'vlc', 'streamerbot', 'vtubestudio'];
|
|
352
|
+
exports.LumiaEventListTypeColors = {
|
|
353
|
+
[LumiaEventListTypes.FOLLOWER]: '#22c55e',
|
|
354
|
+
[LumiaEventListTypes.SUBSCRIBERS]: '#a855f7',
|
|
355
|
+
[LumiaEventListTypes.GIFTS]: '#ec4899',
|
|
356
|
+
[LumiaEventListTypes.DONATION]: '#10b981',
|
|
357
|
+
[LumiaEventListTypes.CHARITY]: '#f97316',
|
|
358
|
+
[LumiaEventListTypes.BITS]: '#facc15',
|
|
359
|
+
[LumiaEventListTypes.KICKS]: '#84cc16',
|
|
360
|
+
[LumiaEventListTypes.POINTS]: '#3b82f6',
|
|
361
|
+
[LumiaEventListTypes.REDEMPTION]: '#06b6d4',
|
|
362
|
+
[LumiaEventListTypes.EXTENSION]: '#8b5cf6',
|
|
363
|
+
[LumiaEventListTypes.RAIDS]: '#ef4444',
|
|
364
|
+
[LumiaEventListTypes.HOSTS]: '#f43f5e',
|
|
365
|
+
[LumiaEventListTypes.HYPETRAIN]: '#fb7185',
|
|
366
|
+
[LumiaEventListTypes.SPELLS]: '#7c3aed',
|
|
367
|
+
[LumiaEventListTypes.RETWEETS]: '#0ea5e9',
|
|
368
|
+
[LumiaEventListTypes.LIKES]: '#f472b6',
|
|
369
|
+
[LumiaEventListTypes.SHARES]: '#14b8a6',
|
|
370
|
+
[LumiaEventListTypes.PURCHASES]: '#eab308',
|
|
371
|
+
[LumiaEventListTypes.SUPERSTICKERS]: '#fb923c',
|
|
372
|
+
[LumiaEventListTypes.SUPERCHATS]: '#f59e0b',
|
|
373
|
+
[LumiaEventListTypes.STARS]: '#fde047',
|
|
374
|
+
[LumiaEventListTypes.FANS]: '#d946ef',
|
|
375
|
+
[LumiaEventListTypes.RAFFLE]: '#34d399',
|
|
376
|
+
};
|
|
377
|
+
const DEFAULT_EVENTLIST_COLOR = '#9ca3af';
|
|
378
|
+
const getEventListCategoryColor = (category) => {
|
|
379
|
+
var _a;
|
|
380
|
+
if (!category)
|
|
381
|
+
return DEFAULT_EVENTLIST_COLOR;
|
|
382
|
+
return (_a = exports.LumiaEventListTypeColors[category]) !== null && _a !== void 0 ? _a : DEFAULT_EVENTLIST_COLOR;
|
|
383
|
+
};
|
|
384
|
+
exports.getEventListCategoryColor = getEventListCategoryColor;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { LumiaStreamingSites, LumiaActivityCommandTypes, LumiaExternalActivityCommandTypes, LumiaAlertValues, LumiaAlertFriendlyValues, LumiaActivityOriginTypes, LumiaActivityApiValueType, LumiaActivityNoValueTypes, LumiaActivityTestType, } from './activity.types';
|
|
2
2
|
export { LumiaVariationConditions, LumiaVariationCurrency, VariationCurrencySymbol, LumiaRedemptionCurrency, LumiaRedemptionCurrencySymbol, LumiaAlertConfigs, LumiaDynamicCondition, type LumiaSelectionOption, } from './alert.types';
|
|
3
3
|
export { ILumiaSendPack, ILumiaEvent, ILumiaEventChatCommandBody, ILumiaEventChatBody, ILumiaEventAlertBody, ILumiaEventStateBody, ILumiaLight, LumiaIntegrations, LumiaEventTypes, } from './event.types';
|
|
4
|
-
export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter, PlatformsToFilter } from './eventlist.types';
|
|
4
|
+
export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter, PlatformsToFilter, LumiaEventListTypeColors, getEventListCategoryColor } from './eventlist.types';
|
|
5
5
|
export { SystemVariables, ReservedVariables, AllVariables, getAcceptedVariableName, getAcceptedVariableNames, type LumiaAcceptedVariable, type LumiaAcceptedVariableDefinition, } from './variables.types';
|
|
6
6
|
export { formatCondition } from './helpers';
|
|
7
7
|
export { KickKicksData } from './kick_kicks';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SongRequestPlaybackTarget = exports.SongRequestProvider = exports.SongRequestSource = exports.SongRequestStatus = exports.VIEWER_PROFILE_ACHIEVEMENTS = exports.YoutubeSuperstickersData = exports.TiktokGiftsData = exports.KickKicksData = exports.formatCondition = exports.getAcceptedVariableNames = exports.getAcceptedVariableName = exports.AllVariables = exports.ReservedVariables = exports.SystemVariables = exports.PlatformsToFilter = exports.AlertsToFilter = exports.LumiaMapAlertTypeToEventListType = exports.LumiaEventListTypes = exports.LumiaEventTypes = exports.LumiaIntegrations = exports.LumiaAlertConfigs = exports.LumiaRedemptionCurrencySymbol = exports.LumiaRedemptionCurrency = exports.VariationCurrencySymbol = exports.LumiaVariationCurrency = exports.LumiaVariationConditions = exports.LumiaActivityTestType = exports.LumiaActivityNoValueTypes = exports.LumiaActivityApiValueType = exports.LumiaActivityOriginTypes = exports.LumiaAlertFriendlyValues = exports.LumiaAlertValues = exports.LumiaExternalActivityCommandTypes = exports.LumiaActivityCommandTypes = exports.LumiaStreamingSites = void 0;
|
|
3
|
+
exports.SongRequestPlaybackTarget = exports.SongRequestProvider = exports.SongRequestSource = exports.SongRequestStatus = exports.VIEWER_PROFILE_ACHIEVEMENTS = exports.YoutubeSuperstickersData = exports.TiktokGiftsData = exports.KickKicksData = exports.formatCondition = exports.getAcceptedVariableNames = exports.getAcceptedVariableName = exports.AllVariables = exports.ReservedVariables = exports.SystemVariables = exports.getEventListCategoryColor = exports.LumiaEventListTypeColors = exports.PlatformsToFilter = exports.AlertsToFilter = exports.LumiaMapAlertTypeToEventListType = exports.LumiaEventListTypes = exports.LumiaEventTypes = exports.LumiaIntegrations = exports.LumiaAlertConfigs = exports.LumiaRedemptionCurrencySymbol = exports.LumiaRedemptionCurrency = exports.VariationCurrencySymbol = exports.LumiaVariationCurrency = exports.LumiaVariationConditions = exports.LumiaActivityTestType = exports.LumiaActivityNoValueTypes = exports.LumiaActivityApiValueType = exports.LumiaActivityOriginTypes = exports.LumiaAlertFriendlyValues = exports.LumiaAlertValues = exports.LumiaExternalActivityCommandTypes = exports.LumiaActivityCommandTypes = exports.LumiaStreamingSites = void 0;
|
|
4
4
|
var activity_types_1 = require("./activity.types");
|
|
5
5
|
Object.defineProperty(exports, "LumiaStreamingSites", { enumerable: true, get: function () { return activity_types_1.LumiaStreamingSites; } });
|
|
6
6
|
Object.defineProperty(exports, "LumiaActivityCommandTypes", { enumerable: true, get: function () { return activity_types_1.LumiaActivityCommandTypes; } });
|
|
@@ -26,6 +26,8 @@ Object.defineProperty(exports, "LumiaEventListTypes", { enumerable: true, get: f
|
|
|
26
26
|
Object.defineProperty(exports, "LumiaMapAlertTypeToEventListType", { enumerable: true, get: function () { return eventlist_types_1.LumiaMapAlertTypeToEventListType; } });
|
|
27
27
|
Object.defineProperty(exports, "AlertsToFilter", { enumerable: true, get: function () { return eventlist_types_1.AlertsToFilter; } });
|
|
28
28
|
Object.defineProperty(exports, "PlatformsToFilter", { enumerable: true, get: function () { return eventlist_types_1.PlatformsToFilter; } });
|
|
29
|
+
Object.defineProperty(exports, "LumiaEventListTypeColors", { enumerable: true, get: function () { return eventlist_types_1.LumiaEventListTypeColors; } });
|
|
30
|
+
Object.defineProperty(exports, "getEventListCategoryColor", { enumerable: true, get: function () { return eventlist_types_1.getEventListCategoryColor; } });
|
|
29
31
|
var variables_types_1 = require("./variables.types");
|
|
30
32
|
Object.defineProperty(exports, "SystemVariables", { enumerable: true, get: function () { return variables_types_1.SystemVariables; } });
|
|
31
33
|
Object.defineProperty(exports, "ReservedVariables", { enumerable: true, get: function () { return variables_types_1.ReservedVariables; } });
|
package/dist/variables.types.js
CHANGED
|
@@ -2104,7 +2104,7 @@ exports.AllVariables = {
|
|
|
2104
2104
|
entrance: ['username', 'userId', 'displayname', 'avatar', 'message'],
|
|
2105
2105
|
follower: ['username'],
|
|
2106
2106
|
sessionFollowers: ['total', 'previousTotal'],
|
|
2107
|
-
subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
|
|
2107
|
+
subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName', 'amount'],
|
|
2108
2108
|
sessionSubs: ['total', 'previousTotal'],
|
|
2109
2109
|
subscriptionGift: [
|
|
2110
2110
|
'username',
|
|
@@ -2124,7 +2124,7 @@ exports.AllVariables = {
|
|
|
2124
2124
|
sessionGiftSubscriptions: ['total', 'previousTotal'],
|
|
2125
2125
|
kicks: ['username', 'avatar', 'amount', 'name', 'type', 'tier', 'id', 'message'],
|
|
2126
2126
|
sessionKicks: ['total', 'previousTotal'],
|
|
2127
|
-
host: ['username', 'avatar', 'viewers'],
|
|
2127
|
+
host: ['username', 'avatar', 'viewers', 'amount'],
|
|
2128
2128
|
banned: ['username', 'userId', 'bannedByUsername', 'bannedByUserId', 'expires'],
|
|
2129
2129
|
unbanned: ['username', 'userId', 'unbannedByUsername', 'unbannedByUserId'],
|
|
2130
2130
|
},
|
|
@@ -2304,11 +2304,11 @@ exports.AllVariables = {
|
|
|
2304
2304
|
entrance: ['username', 'userId', 'displayname', 'avatar', 'message'],
|
|
2305
2305
|
follower: ['username', 'userId', 'displayname', 'avatar'],
|
|
2306
2306
|
superFan: ['username', 'displayname', 'avatar', 'userId'],
|
|
2307
|
-
gift: ['username', 'userId', 'avatar', 'coins', 'diamonds', 'giftId', 'giftName', 'giftPictureUrl', 'giftType', 'giftAmount'],
|
|
2308
|
-
like: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
|
|
2309
|
-
totalLikes: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
|
|
2307
|
+
gift: ['username', 'userId', 'avatar', 'coins', 'diamonds', 'giftId', 'giftName', 'giftPictureUrl', 'giftType', 'giftAmount', 'amount'],
|
|
2308
|
+
like: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount', 'amount'],
|
|
2309
|
+
totalLikes: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount', 'amount'],
|
|
2310
2310
|
share: ['username', 'userId', 'displayname', 'avatar'],
|
|
2311
|
-
treasureChest: ['username', 'userId', 'avatar', 'envelopeId', 'diamondCount', 'peopleCount', 'unpackAt'],
|
|
2311
|
+
treasureChest: ['username', 'userId', 'avatar', 'envelopeId', 'diamondCount', 'peopleCount', 'unpackAt', 'amount'],
|
|
2312
2312
|
question: ['username', 'userId', 'displayname', 'avatar', 'question', 'questionId', 'answerStatus'],
|
|
2313
2313
|
poll: ['pollId', 'title', 'pollKind', 'pollDuration', 'timeRemain', 'pollSponsor', 'userCount'],
|
|
2314
2314
|
superFanBox: ['username', 'displayname', 'avatar', 'userId'],
|
|
@@ -2331,6 +2331,7 @@ exports.AllVariables = {
|
|
|
2331
2331
|
'repeatCount',
|
|
2332
2332
|
'totalDiamondCount',
|
|
2333
2333
|
'battleStatus',
|
|
2334
|
+
'amount',
|
|
2334
2335
|
],
|
|
2335
2336
|
battleEnd: ['battleId', 'battleLabel', 'creatorUsername', 'opponentUsername', 'creatorScore', 'opponentScore', 'result', 'winnerUsername', 'loserUsername'],
|
|
2336
2337
|
streamEnd: ['eventTime'],
|
|
@@ -2473,6 +2474,7 @@ exports.AllVariables = {
|
|
|
2473
2474
|
'avatar',
|
|
2474
2475
|
'tier',
|
|
2475
2476
|
'giftAmount',
|
|
2477
|
+
'amount',
|
|
2476
2478
|
'recipients',
|
|
2477
2479
|
TWITCH_RECIPIENTS_RAW_EXAMPLE,
|
|
2478
2480
|
'gifter',
|
|
@@ -2487,12 +2489,12 @@ exports.AllVariables = {
|
|
|
2487
2489
|
bits: ['username', 'avatar', 'amount', 'message'],
|
|
2488
2490
|
bitsCombo: ['username', 'avatar', 'amount', 'bitsType', 'message'],
|
|
2489
2491
|
sessionBits: ['total', 'previousTotal'],
|
|
2490
|
-
raid: ['username', 'avatar', 'viewers'],
|
|
2491
|
-
raidOut: ['username', 'avatar', 'viewers'],
|
|
2492
|
-
hypetrainStarted: ['total', 'progress', 'goal'],
|
|
2493
|
-
hypetrainProgressed: ['level', 'total', 'progress', 'goal'],
|
|
2494
|
-
hypetrainLevelProgressed: ['level', 'total', 'progress', 'goal'],
|
|
2495
|
-
hypetrainEnded: ['level', 'total'],
|
|
2492
|
+
raid: ['username', 'avatar', 'viewers', 'amount'],
|
|
2493
|
+
raidOut: ['username', 'avatar', 'viewers', 'amount'],
|
|
2494
|
+
hypetrainStarted: ['total', 'progress', 'goal', 'amount'],
|
|
2495
|
+
hypetrainProgressed: ['level', 'total', 'progress', 'goal', 'amount'],
|
|
2496
|
+
hypetrainLevelProgressed: ['level', 'total', 'progress', 'goal', 'amount'],
|
|
2497
|
+
hypetrainEnded: ['level', 'total', 'amount'],
|
|
2496
2498
|
pollStarted: ['poll_title', 'poll_id', 'poll_choices', 'poll_started_at', 'poll_ends_at'],
|
|
2497
2499
|
pollProgressed: ['poll_title', 'poll_id', 'poll_choices', 'poll_winning_title', 'poll_winning_id', 'poll_winning_votes', 'poll_started_at', 'poll_ends_at'],
|
|
2498
2500
|
pollEnded: ['poll_id', 'poll_title', 'poll_choices', 'poll_winning_title', 'poll_winning_id', 'poll_winning_votes', 'poll_started_at', 'poll_ends_at'],
|
|
@@ -2585,8 +2587,8 @@ exports.AllVariables = {
|
|
|
2585
2587
|
timeout: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2586
2588
|
timeoutOver: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2587
2589
|
shoutoutReceive: ['username', 'userId', 'displayname', 'avatar', 'viewer_count', 'started_at'],
|
|
2588
|
-
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad'],
|
|
2589
|
-
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad'],
|
|
2590
|
+
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2591
|
+
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2590
2592
|
watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
|
|
2591
2593
|
powerups: ['username', 'avatar', 'type', 'amount', 'message', 'reward_id', 'powerup_source'],
|
|
2592
2594
|
powerupsPoints: ['username', 'avatar', 'type', 'amount', 'message'],
|
|
@@ -2764,8 +2766,8 @@ exports.AllVariables = {
|
|
|
2764
2766
|
sessionSuperchats: ['total', 'previousTotal', 'currency', 'currencySymbol'],
|
|
2765
2767
|
supersticker: ['username', 'displayname', 'stickerId', 'stickerName', 'amount', 'currency', 'currencySymbol', 'imageUrl'],
|
|
2766
2768
|
sessionSuperstickers: ['total', 'previousTotal', 'currency', 'currencySymbol'],
|
|
2767
|
-
like: ['likes', 'dislikes'],
|
|
2768
|
-
viewers: ['viewers'],
|
|
2769
|
+
like: ['likes', 'dislikes', 'amount'],
|
|
2770
|
+
viewers: ['viewers', 'amount'],
|
|
2769
2771
|
},
|
|
2770
2772
|
},
|
|
2771
2773
|
youtubemusic: {
|