@lumiastream/lumia-types 3.0.1 → 3.0.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.
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Custom Overlays Examples
|
|
2
2
|
|
|
3
|
+
> Need to inspect what an alert returns? Open the [alert explorer](/docs/variables#alert-explorer) on the Platform Variables page to browse `data.alert`, `data.extraSettings.*`, and the fields available for each alert.
|
|
4
|
+
|
|
3
5
|
## Custom Alert
|
|
4
6
|
|
|
5
7
|
### JS Code
|
|
@@ -1023,6 +1023,10 @@ export declare enum SystemVariables {
|
|
|
1023
1023
|
TWITCH_SESSION_FOLLOWERS = "twitch_session_follower",
|
|
1024
1024
|
/** Last subscriber. Use as {{twitch_last_subscriber}}. */
|
|
1025
1025
|
TWITCH_LAST_SUBSCRIBER = "twitch_last_subscriber",
|
|
1026
|
+
/** Last gifter. Use as {{twitch_last_gifter}}. */
|
|
1027
|
+
TWITCH_LAST_GIFTER = "twitch_last_gifter",
|
|
1028
|
+
/** Last gifted sub amount. Use as {{twitch_last_gifter_amount}}. */
|
|
1029
|
+
TWITCH_LAST_GIFTER_AMOUNT = "twitch_last_gifter_amount",
|
|
1026
1030
|
/** Session subscribers list. Use as {{twitch_session_subscribers}}. */
|
|
1027
1031
|
TWITCH_SESSION_SUBSCRIBERS = "twitch_session_subscribers",
|
|
1028
1032
|
/** Session chat count. Use as {{twitch_session_chat_count}}. */
|
|
@@ -1271,8 +1275,14 @@ export declare enum SystemVariables {
|
|
|
1271
1275
|
KICK_LAST_FOLLOWER = "kick_last_follower",
|
|
1272
1276
|
/** Last subscriber. Use as {{kick_last_subscriber}}. */
|
|
1273
1277
|
KICK_LAST_SUBSCRIBER = "kick_last_subscriber",
|
|
1278
|
+
/** Last gifter. Use as {{kick_last_gifter}}. */
|
|
1279
|
+
KICK_LAST_GIFTER = "kick_last_gifter",
|
|
1280
|
+
/** Last gifted sub amount. Use as {{kick_last_gifter_amount}}. */
|
|
1281
|
+
KICK_LAST_GIFTER_AMOUNT = "kick_last_gifter_amount",
|
|
1274
1282
|
/** Last host. Use as {{kick_last_host}}. */
|
|
1275
1283
|
KICK_LAST_HOST = "kick_last_host",
|
|
1284
|
+
/** Last host viewer amount. Use as {{kick_last_host_amount}}. */
|
|
1285
|
+
KICK_LAST_HOST_AMOUNT = "kick_last_host_amount",
|
|
1276
1286
|
/** Lifetime gift members count. Use as {{kick_total_gift_subscription_count}}. */
|
|
1277
1287
|
KICK_TOTAL_GIFT_SUBSCRIPTION_COUNT = "kick_total_gift_subscription_count",
|
|
1278
1288
|
/** Get avatar by username. Use as {{kick_get_avatar}}. */
|
|
@@ -1023,6 +1023,10 @@ export declare enum SystemVariables {
|
|
|
1023
1023
|
TWITCH_SESSION_FOLLOWERS = "twitch_session_follower",
|
|
1024
1024
|
/** Last subscriber. Use as {{twitch_last_subscriber}}. */
|
|
1025
1025
|
TWITCH_LAST_SUBSCRIBER = "twitch_last_subscriber",
|
|
1026
|
+
/** Last gifter. Use as {{twitch_last_gifter}}. */
|
|
1027
|
+
TWITCH_LAST_GIFTER = "twitch_last_gifter",
|
|
1028
|
+
/** Last gifted sub amount. Use as {{twitch_last_gifter_amount}}. */
|
|
1029
|
+
TWITCH_LAST_GIFTER_AMOUNT = "twitch_last_gifter_amount",
|
|
1026
1030
|
/** Session subscribers list. Use as {{twitch_session_subscribers}}. */
|
|
1027
1031
|
TWITCH_SESSION_SUBSCRIBERS = "twitch_session_subscribers",
|
|
1028
1032
|
/** Session chat count. Use as {{twitch_session_chat_count}}. */
|
|
@@ -1271,8 +1275,14 @@ export declare enum SystemVariables {
|
|
|
1271
1275
|
KICK_LAST_FOLLOWER = "kick_last_follower",
|
|
1272
1276
|
/** Last subscriber. Use as {{kick_last_subscriber}}. */
|
|
1273
1277
|
KICK_LAST_SUBSCRIBER = "kick_last_subscriber",
|
|
1278
|
+
/** Last gifter. Use as {{kick_last_gifter}}. */
|
|
1279
|
+
KICK_LAST_GIFTER = "kick_last_gifter",
|
|
1280
|
+
/** Last gifted sub amount. Use as {{kick_last_gifter_amount}}. */
|
|
1281
|
+
KICK_LAST_GIFTER_AMOUNT = "kick_last_gifter_amount",
|
|
1274
1282
|
/** Last host. Use as {{kick_last_host}}. */
|
|
1275
1283
|
KICK_LAST_HOST = "kick_last_host",
|
|
1284
|
+
/** Last host viewer amount. Use as {{kick_last_host_amount}}. */
|
|
1285
|
+
KICK_LAST_HOST_AMOUNT = "kick_last_host_amount",
|
|
1276
1286
|
/** Lifetime gift members count. Use as {{kick_total_gift_subscription_count}}. */
|
|
1277
1287
|
KICK_TOTAL_GIFT_SUBSCRIPTION_COUNT = "kick_total_gift_subscription_count",
|
|
1278
1288
|
/** Get avatar by username. Use as {{kick_get_avatar}}. */
|
|
@@ -237,6 +237,10 @@ export declare enum SystemVariables {
|
|
|
237
237
|
TWITCH_SESSION_FOLLOWERS = "twitch_session_follower",
|
|
238
238
|
/** Last subscriber. Use as {{twitch_last_subscriber}}. */
|
|
239
239
|
TWITCH_LAST_SUBSCRIBER = "twitch_last_subscriber",
|
|
240
|
+
/** Last gifter. Use as {{twitch_last_gifter}}. */
|
|
241
|
+
TWITCH_LAST_GIFTER = "twitch_last_gifter",
|
|
242
|
+
/** Last gifted sub amount. Use as {{twitch_last_gifter_amount}}. */
|
|
243
|
+
TWITCH_LAST_GIFTER_AMOUNT = "twitch_last_gifter_amount",
|
|
240
244
|
/** Session subscribers list. Use as {{twitch_session_subscribers}}. */
|
|
241
245
|
TWITCH_SESSION_SUBSCRIBERS = "twitch_session_subscribers",
|
|
242
246
|
/** Session chat count. Use as {{twitch_session_chat_count}}. */
|
|
@@ -485,8 +489,14 @@ export declare enum SystemVariables {
|
|
|
485
489
|
KICK_LAST_FOLLOWER = "kick_last_follower",
|
|
486
490
|
/** Last subscriber. Use as {{kick_last_subscriber}}. */
|
|
487
491
|
KICK_LAST_SUBSCRIBER = "kick_last_subscriber",
|
|
492
|
+
/** Last gifter. Use as {{kick_last_gifter}}. */
|
|
493
|
+
KICK_LAST_GIFTER = "kick_last_gifter",
|
|
494
|
+
/** Last gifted sub amount. Use as {{kick_last_gifter_amount}}. */
|
|
495
|
+
KICK_LAST_GIFTER_AMOUNT = "kick_last_gifter_amount",
|
|
488
496
|
/** Last host. Use as {{kick_last_host}}. */
|
|
489
497
|
KICK_LAST_HOST = "kick_last_host",
|
|
498
|
+
/** Last host viewer amount. Use as {{kick_last_host_amount}}. */
|
|
499
|
+
KICK_LAST_HOST_AMOUNT = "kick_last_host_amount",
|
|
490
500
|
/** Lifetime gift members count. Use as {{kick_total_gift_subscription_count}}. */
|
|
491
501
|
KICK_TOTAL_GIFT_SUBSCRIPTION_COUNT = "kick_total_gift_subscription_count",
|
|
492
502
|
/** Get avatar by username. Use as {{kick_get_avatar}}. */
|
package/dist/variables.types.js
CHANGED
|
@@ -250,6 +250,10 @@ var SystemVariables;
|
|
|
250
250
|
SystemVariables["TWITCH_SESSION_FOLLOWERS"] = "twitch_session_follower";
|
|
251
251
|
/** Last subscriber. Use as {{twitch_last_subscriber}}. */
|
|
252
252
|
SystemVariables["TWITCH_LAST_SUBSCRIBER"] = "twitch_last_subscriber";
|
|
253
|
+
/** Last gifter. Use as {{twitch_last_gifter}}. */
|
|
254
|
+
SystemVariables["TWITCH_LAST_GIFTER"] = "twitch_last_gifter";
|
|
255
|
+
/** Last gifted sub amount. Use as {{twitch_last_gifter_amount}}. */
|
|
256
|
+
SystemVariables["TWITCH_LAST_GIFTER_AMOUNT"] = "twitch_last_gifter_amount";
|
|
253
257
|
/** Session subscribers list. Use as {{twitch_session_subscribers}}. */
|
|
254
258
|
SystemVariables["TWITCH_SESSION_SUBSCRIBERS"] = "twitch_session_subscribers";
|
|
255
259
|
/** Session chat count. Use as {{twitch_session_chat_count}}. */
|
|
@@ -502,8 +506,14 @@ var SystemVariables;
|
|
|
502
506
|
SystemVariables["KICK_LAST_FOLLOWER"] = "kick_last_follower";
|
|
503
507
|
/** Last subscriber. Use as {{kick_last_subscriber}}. */
|
|
504
508
|
SystemVariables["KICK_LAST_SUBSCRIBER"] = "kick_last_subscriber";
|
|
509
|
+
/** Last gifter. Use as {{kick_last_gifter}}. */
|
|
510
|
+
SystemVariables["KICK_LAST_GIFTER"] = "kick_last_gifter";
|
|
511
|
+
/** Last gifted sub amount. Use as {{kick_last_gifter_amount}}. */
|
|
512
|
+
SystemVariables["KICK_LAST_GIFTER_AMOUNT"] = "kick_last_gifter_amount";
|
|
505
513
|
/** Last host. Use as {{kick_last_host}}. */
|
|
506
514
|
SystemVariables["KICK_LAST_HOST"] = "kick_last_host";
|
|
515
|
+
/** Last host viewer amount. Use as {{kick_last_host_amount}}. */
|
|
516
|
+
SystemVariables["KICK_LAST_HOST_AMOUNT"] = "kick_last_host_amount";
|
|
507
517
|
/** Lifetime gift members count. Use as {{kick_total_gift_subscription_count}}. */
|
|
508
518
|
SystemVariables["KICK_TOTAL_GIFT_SUBSCRIPTION_COUNT"] = "kick_total_gift_subscription_count";
|
|
509
519
|
/** Get avatar by username. Use as {{kick_get_avatar}}. */
|
|
@@ -1418,7 +1428,10 @@ exports.AllVariables = {
|
|
|
1418
1428
|
'kick_session_kicks_with_amount',
|
|
1419
1429
|
'kick_last_follower',
|
|
1420
1430
|
'kick_last_subscriber',
|
|
1431
|
+
'kick_last_gifter',
|
|
1432
|
+
'kick_last_gifter_amount',
|
|
1421
1433
|
'kick_last_host',
|
|
1434
|
+
'kick_last_host_amount',
|
|
1422
1435
|
'kick_total_gift_subscription_count',
|
|
1423
1436
|
'kick_get_avatar',
|
|
1424
1437
|
],
|
|
@@ -1655,6 +1668,8 @@ exports.AllVariables = {
|
|
|
1655
1668
|
'twitch_last_follower',
|
|
1656
1669
|
'twitch_session_follower',
|
|
1657
1670
|
'twitch_last_subscriber',
|
|
1671
|
+
'twitch_last_gifter',
|
|
1672
|
+
'twitch_last_gifter_amount',
|
|
1658
1673
|
'twitch_session_subscribers',
|
|
1659
1674
|
'twitch_session_chat_count',
|
|
1660
1675
|
'twitch_current_first_chatter',
|