@lumiastream/lumia-types 3.1.7 → 3.2.0
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 +62 -0
- package/dist/custom-overlays/custom-overlays.d.ts +2 -0
- package/dist/custom-overlays.d.ts +2 -0
- package/dist/eventlist.types.d.ts +1 -0
- package/dist/eventlist.types.js +1 -0
- package/dist/variables.types.d.ts +1 -0
- package/dist/variables.types.js +2 -1
- package/package.json +1 -1
package/dist/activity.types.d.ts
CHANGED
|
@@ -246,6 +246,8 @@ export declare enum LumiaAlertValues {
|
|
|
246
246
|
TWITCH_AD_STARTED = "twitch-adStarted",
|
|
247
247
|
/** Ad break ended */
|
|
248
248
|
TWITCH_AD_STOPPED = "twitch-adStopped",
|
|
249
|
+
/** Watch streak milestone */
|
|
250
|
+
TWITCH_WATCH_STREAK = "twitch-watchStreak",
|
|
249
251
|
/** Power-ups used */
|
|
250
252
|
TWITCH_POWERUPS = "twitch-powerups",
|
|
251
253
|
/** Power-up points earned */
|
|
@@ -598,6 +600,7 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
598
600
|
"twitch-shoutoutReceive": string;
|
|
599
601
|
"twitch-adStarted": string;
|
|
600
602
|
"twitch-adStopped": string;
|
|
603
|
+
"twitch-watchStreak": string;
|
|
601
604
|
"twitch-powerups": string;
|
|
602
605
|
"twitch-powerupsPoints": string;
|
|
603
606
|
"youtube-streamLive": string;
|
package/dist/activity.types.js
CHANGED
|
@@ -261,6 +261,8 @@ var LumiaAlertValues;
|
|
|
261
261
|
LumiaAlertValues["TWITCH_AD_STARTED"] = "twitch-adStarted";
|
|
262
262
|
/** Ad break ended */
|
|
263
263
|
LumiaAlertValues["TWITCH_AD_STOPPED"] = "twitch-adStopped";
|
|
264
|
+
/** Watch streak milestone */
|
|
265
|
+
LumiaAlertValues["TWITCH_WATCH_STREAK"] = "twitch-watchStreak";
|
|
264
266
|
/** Power-ups used */
|
|
265
267
|
LumiaAlertValues["TWITCH_POWERUPS"] = "twitch-powerups";
|
|
266
268
|
/** Power-up points earned */
|
|
@@ -628,6 +630,7 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
628
630
|
[LumiaAlertValues.TWITCH_SHOUTOUT_RECEIVE]: 'Twitch Shoutout Receive',
|
|
629
631
|
[LumiaAlertValues.TWITCH_AD_STARTED]: 'Twitch Ad Started',
|
|
630
632
|
[LumiaAlertValues.TWITCH_AD_STOPPED]: 'Twitch Ad Stopped',
|
|
633
|
+
[LumiaAlertValues.TWITCH_WATCH_STREAK]: 'Twitch Watch Streak',
|
|
631
634
|
[LumiaAlertValues.TWITCH_POWERUPS]: 'Twitch Powerups',
|
|
632
635
|
[LumiaAlertValues.TWITCH_POWERUPS_POINTS]: 'Twitch Powerups points',
|
|
633
636
|
[LumiaAlertValues.YOUTUBE_STREAM_LIVE]: 'Youtube Stream Live',
|
package/dist/alert.types.js
CHANGED
|
@@ -1516,6 +1516,68 @@ exports.LumiaAlertConfigs = {
|
|
|
1516
1516
|
{ type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Bit Count is a multiple of' },
|
|
1517
1517
|
],
|
|
1518
1518
|
},
|
|
1519
|
+
[activity_types_1.LumiaAlertValues.TWITCH_WATCH_STREAK]: {
|
|
1520
|
+
connection: event_types_1.LumiaIntegrations.TWITCH,
|
|
1521
|
+
message: '{{username}} reached a watch streak of {{streak_count}} and earned {{amount}} points',
|
|
1522
|
+
eventlistMessage: 'Watch Streak',
|
|
1523
|
+
eventlistDetailedMessage: 'reached a watch streak of {{streak_count}} and earned {{amount}} points',
|
|
1524
|
+
acceptedVariables: variables_types_1.AllVariables.twitch.alerts.watchStreak,
|
|
1525
|
+
quickActions: [
|
|
1526
|
+
{
|
|
1527
|
+
label: '3 stream streak',
|
|
1528
|
+
dynamic: { value: 3, username: 'lumiastream' },
|
|
1529
|
+
extraSettings: {
|
|
1530
|
+
username: 'lumiastream',
|
|
1531
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1532
|
+
streak_count: 3,
|
|
1533
|
+
channel_points_awarded: 300,
|
|
1534
|
+
amount: 300,
|
|
1535
|
+
},
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
label: '10 stream streak',
|
|
1539
|
+
dynamic: { value: 10, username: 'lumiastream' },
|
|
1540
|
+
extraSettings: {
|
|
1541
|
+
username: 'lumiastream',
|
|
1542
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1543
|
+
streak_count: 10,
|
|
1544
|
+
channel_points_awarded: 1000,
|
|
1545
|
+
amount: 1000,
|
|
1546
|
+
},
|
|
1547
|
+
},
|
|
1548
|
+
],
|
|
1549
|
+
inputFields: [
|
|
1550
|
+
{
|
|
1551
|
+
type: 'text',
|
|
1552
|
+
label: 'Username',
|
|
1553
|
+
variableField: 'username',
|
|
1554
|
+
required: false,
|
|
1555
|
+
default: 'lumiastream',
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
type: 'number',
|
|
1559
|
+
label: 'Streak count',
|
|
1560
|
+
dynamicField: 'value',
|
|
1561
|
+
variableField: 'streak_count',
|
|
1562
|
+
required: true,
|
|
1563
|
+
default: 3,
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
type: 'number',
|
|
1567
|
+
label: 'Points awarded',
|
|
1568
|
+
variableField: 'amount',
|
|
1569
|
+
required: true,
|
|
1570
|
+
default: 300,
|
|
1571
|
+
},
|
|
1572
|
+
],
|
|
1573
|
+
LumiaVariationConditions: [
|
|
1574
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
1575
|
+
{ type: LumiaVariationConditions.EQUAL_USERNAME },
|
|
1576
|
+
{ type: LumiaVariationConditions.EQUAL_NUMBER, description: 'Watch Streak Count' },
|
|
1577
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Watch Streak Count Greater Than' },
|
|
1578
|
+
{ type: LumiaVariationConditions.EQUAL_VARIABLE },
|
|
1579
|
+
],
|
|
1580
|
+
},
|
|
1519
1581
|
[activity_types_1.LumiaAlertValues.TWITCH_POWERUPS]: {
|
|
1520
1582
|
connection: event_types_1.LumiaIntegrations.TWITCH,
|
|
1521
1583
|
message: '{{username}} redeemed {{type}} and cheered {{amount}} bits. They said {{message}}',
|
|
@@ -516,6 +516,8 @@ export declare enum LumiaAlertValues {
|
|
|
516
516
|
TWITCH_AD_STARTED = "twitch-adStarted",
|
|
517
517
|
/** Ad break ended */
|
|
518
518
|
TWITCH_AD_STOPPED = "twitch-adStopped",
|
|
519
|
+
/** Watch streak milestone */
|
|
520
|
+
TWITCH_WATCH_STREAK = "twitch-watchStreak",
|
|
519
521
|
/** Power-ups used */
|
|
520
522
|
TWITCH_POWERUPS = "twitch-powerups",
|
|
521
523
|
/** Power-up points earned */
|
|
@@ -516,6 +516,8 @@ export declare enum LumiaAlertValues {
|
|
|
516
516
|
TWITCH_AD_STARTED = "twitch-adStarted",
|
|
517
517
|
/** Ad break ended */
|
|
518
518
|
TWITCH_AD_STOPPED = "twitch-adStopped",
|
|
519
|
+
/** Watch streak milestone */
|
|
520
|
+
TWITCH_WATCH_STREAK = "twitch-watchStreak",
|
|
519
521
|
/** Power-ups used */
|
|
520
522
|
TWITCH_POWERUPS = "twitch-powerups",
|
|
521
523
|
/** Power-up points earned */
|
|
@@ -104,6 +104,7 @@ export declare const LumiaMapAlertTypeToEventListType: {
|
|
|
104
104
|
"twitch-charityDonation": LumiaEventListTypes;
|
|
105
105
|
"twitch-adStarted": LumiaEventListTypes;
|
|
106
106
|
"twitch-adStopped": LumiaEventListTypes;
|
|
107
|
+
"twitch-watchStreak": LumiaEventListTypes;
|
|
107
108
|
"twitter-follower": LumiaEventListTypes;
|
|
108
109
|
"twitter-like": LumiaEventListTypes;
|
|
109
110
|
"twitter-retweet": LumiaEventListTypes;
|
package/dist/eventlist.types.js
CHANGED
|
@@ -109,6 +109,7 @@ exports.LumiaMapAlertTypeToEventListType = {
|
|
|
109
109
|
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.DONATION,
|
|
110
110
|
[activity_types_1.LumiaAlertValues.TWITCH_AD_STARTED]: LumiaEventListTypes.OTHERS,
|
|
111
111
|
[activity_types_1.LumiaAlertValues.TWITCH_AD_STOPPED]: LumiaEventListTypes.OTHERS,
|
|
112
|
+
[activity_types_1.LumiaAlertValues.TWITCH_WATCH_STREAK]: LumiaEventListTypes.OTHERS,
|
|
112
113
|
[activity_types_1.LumiaAlertValues.TWITTER_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
|
|
113
114
|
[activity_types_1.LumiaAlertValues.TWITTER_LIKE]: LumiaEventListTypes.LIKES,
|
|
114
115
|
[activity_types_1.LumiaAlertValues.TWITTER_RETWEET]: LumiaEventListTypes.RETWEETS,
|
package/dist/variables.types.js
CHANGED
|
@@ -1838,7 +1838,8 @@ exports.AllVariables = {
|
|
|
1838
1838
|
shoutoutReceive: ['username', 'userId', 'displayname', 'avatar', 'viewer_count', 'started_at'],
|
|
1839
1839
|
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad'],
|
|
1840
1840
|
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad'],
|
|
1841
|
-
|
|
1841
|
+
watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
|
|
1842
|
+
powerups: ['username', 'avatar', 'type', 'amount', 'message', 'reward_id', 'powerup_source'],
|
|
1842
1843
|
powerupsPoints: ['username', 'avatar', 'type', 'amount', 'message'],
|
|
1843
1844
|
},
|
|
1844
1845
|
},
|