@lumiastream/lumia-types 2.7.1 → 2.7.3
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/activity.types.d.ts +3 -0
- package/dist/activity.types.js +3 -0
- package/dist/alert.types.js +17 -0
- package/dist/custom-overlays/custom-overlays.d.ts +2 -0
- package/dist/custom-overlays.d.ts +2 -0
- package/dist/variables.types.d.ts +1 -0
- package/dist/variables.types.js +1 -0
- package/package.json +1 -1
package/dist/activity.types.d.ts
CHANGED
|
@@ -155,6 +155,8 @@ export declare enum LumiaAlertValues {
|
|
|
155
155
|
LUMIASTREAM_VIEWERQUEUE_ENDED = "lumiastream-viewerqueueEnded",
|
|
156
156
|
/** Viewer achievement unlocked */
|
|
157
157
|
LUMIASTREAM_VIEWER_ACHIEVEMENT = "lumiastream-viewerAchievement",
|
|
158
|
+
/** Template variable value changed */
|
|
159
|
+
LUMIASTREAM_VARIABLE_CHANGED = "lumiastream-variableChanged",
|
|
158
160
|
/** Roulette winner selected */
|
|
159
161
|
LUMIASTREAM_ROULETTE_WINNER = "lumiastream-rouletteWinner",
|
|
160
162
|
/** Slots winner */
|
|
@@ -544,6 +546,7 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
544
546
|
"lumiastream-viewerqueueStarted": string;
|
|
545
547
|
"lumiastream-viewerqueueEnded": string;
|
|
546
548
|
"lumiastream-viewerAchievement": string;
|
|
549
|
+
"lumiastream-variableChanged": string;
|
|
547
550
|
"lumiastream-rouletteWinner": string;
|
|
548
551
|
"lumiastream-slotsWinner": string;
|
|
549
552
|
"twitch-extension": string;
|
package/dist/activity.types.js
CHANGED
|
@@ -170,6 +170,8 @@ var LumiaAlertValues;
|
|
|
170
170
|
LumiaAlertValues["LUMIASTREAM_VIEWERQUEUE_ENDED"] = "lumiastream-viewerqueueEnded";
|
|
171
171
|
/** Viewer achievement unlocked */
|
|
172
172
|
LumiaAlertValues["LUMIASTREAM_VIEWER_ACHIEVEMENT"] = "lumiastream-viewerAchievement";
|
|
173
|
+
/** Template variable value changed */
|
|
174
|
+
LumiaAlertValues["LUMIASTREAM_VARIABLE_CHANGED"] = "lumiastream-variableChanged";
|
|
173
175
|
/** Roulette winner selected */
|
|
174
176
|
LumiaAlertValues["LUMIASTREAM_ROULETTE_WINNER"] = "lumiastream-rouletteWinner";
|
|
175
177
|
/** Slots winner */
|
|
@@ -576,6 +578,7 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
576
578
|
[LumiaAlertValues.LUMIASTREAM_VIEWERQUEUE_STARTED]: 'Viewer Queue Started',
|
|
577
579
|
[LumiaAlertValues.LUMIASTREAM_VIEWERQUEUE_ENDED]: 'Viewer Queue Ended',
|
|
578
580
|
[LumiaAlertValues.LUMIASTREAM_VIEWER_ACHIEVEMENT]: 'Viewer Achievement',
|
|
581
|
+
[LumiaAlertValues.LUMIASTREAM_VARIABLE_CHANGED]: 'Variable Changed',
|
|
579
582
|
[LumiaAlertValues.LUMIASTREAM_ROULETTE_WINNER]: 'Roulette Winner',
|
|
580
583
|
[LumiaAlertValues.LUMIASTREAM_SLOTS_WINNER]: 'Slots Winner',
|
|
581
584
|
[LumiaAlertValues.TWITCH_EXTENSION]: 'Twitch Extension',
|
package/dist/alert.types.js
CHANGED
|
@@ -574,6 +574,23 @@ exports.LumiaAlertConfigs = {
|
|
|
574
574
|
},
|
|
575
575
|
],
|
|
576
576
|
},
|
|
577
|
+
[activity_types_1.LumiaAlertValues.LUMIASTREAM_VARIABLE_CHANGED]: {
|
|
578
|
+
connection: event_types_1.LumiaIntegrations.LUMIASTREAM,
|
|
579
|
+
message: '{{variable_name}} changed to {{variable_value}}',
|
|
580
|
+
eventlistSpecialUsername: 'lumiastream',
|
|
581
|
+
eventlistMessage: 'Variable Changed',
|
|
582
|
+
eventlistDetailedMessage: '{{variable_name}} changed to {{variable_value}}',
|
|
583
|
+
acceptedVariables: variables_types_1.AllVariables.lumiastream.alerts.variableChanged,
|
|
584
|
+
quickActions: [],
|
|
585
|
+
inputFields: [],
|
|
586
|
+
LumiaVariationConditions: [
|
|
587
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
588
|
+
{
|
|
589
|
+
type: LumiaVariationConditions.EQUAL_STRING,
|
|
590
|
+
description: 'Variable Name',
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
},
|
|
577
594
|
[activity_types_1.LumiaAlertValues.LUMIASTREAM_ROULETTE_WINNER]: {
|
|
578
595
|
connection: event_types_1.LumiaIntegrations.LUMIASTREAM,
|
|
579
596
|
message: 'Congratulations {{username}}! The ball landed on {{ball_position}}. You win {{outcome_amount}} {{loyalty_currency_name}}! Well played! 🎉',
|
|
@@ -418,6 +418,8 @@ export declare enum LumiaAlertValues {
|
|
|
418
418
|
LUMIASTREAM_VIEWERQUEUE_ENDED = "lumiastream-viewerqueueEnded",
|
|
419
419
|
/** Viewer achievement unlocked */
|
|
420
420
|
LUMIASTREAM_VIEWER_ACHIEVEMENT = "lumiastream-viewerAchievement",
|
|
421
|
+
/** Template variable value changed */
|
|
422
|
+
LUMIASTREAM_VARIABLE_CHANGED = "lumiastream-variableChanged",
|
|
421
423
|
/** Roulette winner selected */
|
|
422
424
|
LUMIASTREAM_ROULETTE_WINNER = "lumiastream-rouletteWinner",
|
|
423
425
|
/** Slots winner */
|
|
@@ -418,6 +418,8 @@ export declare enum LumiaAlertValues {
|
|
|
418
418
|
LUMIASTREAM_VIEWERQUEUE_ENDED = "lumiastream-viewerqueueEnded",
|
|
419
419
|
/** Viewer achievement unlocked */
|
|
420
420
|
LUMIASTREAM_VIEWER_ACHIEVEMENT = "lumiastream-viewerAchievement",
|
|
421
|
+
/** Template variable value changed */
|
|
422
|
+
LUMIASTREAM_VARIABLE_CHANGED = "lumiastream-variableChanged",
|
|
421
423
|
/** Roulette winner selected */
|
|
422
424
|
LUMIASTREAM_ROULETTE_WINNER = "lumiastream-rouletteWinner",
|
|
423
425
|
/** Slots winner */
|
package/dist/variables.types.js
CHANGED
|
@@ -1335,6 +1335,7 @@ exports.AllVariables = {
|
|
|
1335
1335
|
'achievements_total',
|
|
1336
1336
|
'achievements_percent',
|
|
1337
1337
|
],
|
|
1338
|
+
variableChanged: ['variable_name', 'variable_value', 'variable_previous_value'],
|
|
1338
1339
|
rouletteWinner: ['username', 'outcome_amount', 'ball_position'],
|
|
1339
1340
|
slotsWinner: ['username', 'outcome_amount', 'slots_combo'],
|
|
1340
1341
|
},
|