@lumiastream/lumia-types 2.1.5 → 2.1.7
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
CHANGED
|
@@ -145,6 +145,7 @@ export declare enum LumiaAlertValues {
|
|
|
145
145
|
TWITCH_SUBSCRIBER = "twitch-subscriber",
|
|
146
146
|
TWITCH_GIFT_SUBSCRIPTION = "twitch-giftSubscription",
|
|
147
147
|
TWITCH_RAID = "twitch-raid",
|
|
148
|
+
TWITCH_RAID_OUT = "twitch-raidOut",
|
|
148
149
|
TWITCH_BITS = "twitch-bits",
|
|
149
150
|
TWITCH_REDEMPTION = "twitch-redemption",
|
|
150
151
|
TWITCH_HYPETRAIN_STARTED = "twitch-hypetrainStarted",
|
|
@@ -326,6 +327,7 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
326
327
|
"twitch-subscriber": string;
|
|
327
328
|
"twitch-giftSubscription": string;
|
|
328
329
|
"twitch-raid": string;
|
|
330
|
+
"twitch-raidOut": string;
|
|
329
331
|
"twitch-bits": string;
|
|
330
332
|
"twitch-redemption": string;
|
|
331
333
|
"twitch-hypetrainStarted": string;
|
package/dist/activity.types.js
CHANGED
|
@@ -159,6 +159,7 @@ var LumiaAlertValues;
|
|
|
159
159
|
LumiaAlertValues["TWITCH_SUBSCRIBER"] = "twitch-subscriber";
|
|
160
160
|
LumiaAlertValues["TWITCH_GIFT_SUBSCRIPTION"] = "twitch-giftSubscription";
|
|
161
161
|
LumiaAlertValues["TWITCH_RAID"] = "twitch-raid";
|
|
162
|
+
LumiaAlertValues["TWITCH_RAID_OUT"] = "twitch-raidOut";
|
|
162
163
|
LumiaAlertValues["TWITCH_BITS"] = "twitch-bits";
|
|
163
164
|
LumiaAlertValues["TWITCH_REDEMPTION"] = "twitch-redemption";
|
|
164
165
|
LumiaAlertValues["TWITCH_HYPETRAIN_STARTED"] = "twitch-hypetrainStarted";
|
|
@@ -342,6 +343,7 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
342
343
|
[LumiaAlertValues.TWITCH_SUBSCRIBER]: 'Twitch Subscriber',
|
|
343
344
|
[LumiaAlertValues.TWITCH_GIFT_SUBSCRIPTION]: 'Twitch Gift Subscription',
|
|
344
345
|
[LumiaAlertValues.TWITCH_RAID]: 'Twitch Raid',
|
|
346
|
+
[LumiaAlertValues.TWITCH_RAID_OUT]: 'Twitch Raid Out',
|
|
345
347
|
[LumiaAlertValues.TWITCH_BITS]: 'Twitch Bits',
|
|
346
348
|
[LumiaAlertValues.TWITCH_REDEMPTION]: 'Twitch Redemption',
|
|
347
349
|
[LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: 'Twitch Hypetrain Started',
|
package/dist/alert.types.js
CHANGED
|
@@ -946,6 +946,7 @@ exports.LumiaAlertConfigs = {
|
|
|
946
946
|
{ type: LumiaVariationConditions.RANDOM },
|
|
947
947
|
{
|
|
948
948
|
type: LumiaVariationConditions.EQUAL_SELECTION,
|
|
949
|
+
description: 'Tier Level',
|
|
949
950
|
selections: [
|
|
950
951
|
{ label: 'Tier 1', value: 1000 },
|
|
951
952
|
{ label: 'Tier 2', value: 2000 },
|
|
@@ -1070,6 +1071,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1070
1071
|
{ type: LumiaVariationConditions.RANDOM },
|
|
1071
1072
|
{
|
|
1072
1073
|
type: LumiaVariationConditions.EQUAL_SELECTION,
|
|
1074
|
+
description: 'Tier Level',
|
|
1073
1075
|
selections: [
|
|
1074
1076
|
{ label: 'Tier 1', value: 1000 },
|
|
1075
1077
|
{ label: 'Tier 2', value: 2000 },
|
|
@@ -1350,6 +1352,54 @@ exports.LumiaAlertConfigs = {
|
|
|
1350
1352
|
},
|
|
1351
1353
|
],
|
|
1352
1354
|
},
|
|
1355
|
+
[activity_types_1.LumiaAlertValues.TWITCH_RAID_OUT]: {
|
|
1356
|
+
connection: event_types_1.LumiaIntegrations.TWITCH,
|
|
1357
|
+
message: 'You raided {{username}} with {{viewers}} viewers',
|
|
1358
|
+
eventlistMessage: 'Raided',
|
|
1359
|
+
eventlistDetailedMessage: 'raided {{username}} with {{viewers}} viewers',
|
|
1360
|
+
acceptedVariables: variables_types_1.AllVariables.twitch.alerts.raid,
|
|
1361
|
+
quickActions: [
|
|
1362
|
+
{
|
|
1363
|
+
label: '10 viewers',
|
|
1364
|
+
dynamic: { value: 10 },
|
|
1365
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10 },
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
label: '50 viewers',
|
|
1369
|
+
dynamic: { value: 50 },
|
|
1370
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50 },
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
label: '100 viewers',
|
|
1374
|
+
dynamic: { value: 100 },
|
|
1375
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100 },
|
|
1376
|
+
},
|
|
1377
|
+
],
|
|
1378
|
+
inputFields: [
|
|
1379
|
+
{
|
|
1380
|
+
type: 'text',
|
|
1381
|
+
label: 'Username',
|
|
1382
|
+
variableField: 'username',
|
|
1383
|
+
required: false,
|
|
1384
|
+
default: 'lumiastream',
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
type: 'number',
|
|
1388
|
+
label: 'Amount of viewers',
|
|
1389
|
+
dynamicField: 'value',
|
|
1390
|
+
variableField: 'viewers',
|
|
1391
|
+
required: true,
|
|
1392
|
+
default: 100,
|
|
1393
|
+
},
|
|
1394
|
+
],
|
|
1395
|
+
LumiaVariationConditions: [
|
|
1396
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
1397
|
+
{ type: LumiaVariationConditions.EQUAL_USERNAME },
|
|
1398
|
+
{
|
|
1399
|
+
type: LumiaVariationConditions.GREATER_NUMBER,
|
|
1400
|
+
},
|
|
1401
|
+
],
|
|
1402
|
+
},
|
|
1353
1403
|
[activity_types_1.LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: {
|
|
1354
1404
|
connection: event_types_1.LumiaIntegrations.TWITCH,
|
|
1355
1405
|
message: 'Hype train started',
|
|
@@ -78,6 +78,7 @@ export declare const LumiaMapAlertTypeToEventListType: {
|
|
|
78
78
|
"twitch-hypetrainStarted": LumiaEventListTypes;
|
|
79
79
|
"twitch-points": LumiaEventListTypes;
|
|
80
80
|
"twitch-raid": LumiaEventListTypes;
|
|
81
|
+
"twitch-raidOut": LumiaEventListTypes;
|
|
81
82
|
"twitch-shoutoutReceive": LumiaEventListTypes;
|
|
82
83
|
"twitch-subscriber": LumiaEventListTypes;
|
|
83
84
|
"twitch-charityDonation": LumiaEventListTypes;
|
package/dist/eventlist.types.js
CHANGED
|
@@ -83,6 +83,7 @@ exports.LumiaMapAlertTypeToEventListType = {
|
|
|
83
83
|
[activity_types_1.LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: LumiaEventListTypes.HYPETRAIN,
|
|
84
84
|
[activity_types_1.LumiaAlertValues.TWITCH_POINTS]: LumiaEventListTypes.POINTS,
|
|
85
85
|
[activity_types_1.LumiaAlertValues.TWITCH_RAID]: LumiaEventListTypes.RAIDS,
|
|
86
|
+
[activity_types_1.LumiaAlertValues.TWITCH_RAID_OUT]: LumiaEventListTypes.RAIDS,
|
|
86
87
|
[activity_types_1.LumiaAlertValues.TWITCH_SHOUTOUT_RECEIVE]: LumiaEventListTypes.OTHERS,
|
|
87
88
|
[activity_types_1.LumiaAlertValues.TWITCH_SUBSCRIBER]: LumiaEventListTypes.SUBSCRIBERS,
|
|
88
89
|
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.DONATION,
|