@lumiastream/lumia-types 1.1.3 → 1.1.5
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 +24 -0
- package/dist/activity.types.js +26 -0
- package/dist/alert.types.js +18 -16
- package/package.json +1 -1
package/dist/activity.types.d.ts
CHANGED
|
@@ -60,6 +60,30 @@ export declare enum LumiaActivityCommandTypes {
|
|
|
60
60
|
SPOTIFY = "send-spotify-command",
|
|
61
61
|
VLC = "send-vlc-command",
|
|
62
62
|
TWITTER = "send-twitter-command",
|
|
63
|
+
CHANGE_STREAM_TITLE = "change-stream-title",
|
|
64
|
+
CHANGE_CURRENT_CATEGORY = "change-current-category",
|
|
65
|
+
CREATE_STREAM_MARKER = "create-stream-marker",
|
|
66
|
+
RUN_COMMERCIAL = "run-commercial",
|
|
67
|
+
SET_SLOW_MODE = "set-slow-mode",
|
|
68
|
+
SET_SUBSCRIBER_MODE = "set-subscriber-mode",
|
|
69
|
+
SET_FOLLOW_MODE = "set-follow-mode",
|
|
70
|
+
SET_EMOTES_MODE = "set-emotes-mode",
|
|
71
|
+
SEND_ANNOUNCEMENT = "send-announcement",
|
|
72
|
+
CLIP = "clip",
|
|
73
|
+
CREATE_POLL = "create-poll",
|
|
74
|
+
END_POLL = "end-poll",
|
|
75
|
+
CREATE_PREDICTION = "create-prediction",
|
|
76
|
+
END_PREDICTION = "end-prediction",
|
|
77
|
+
CLEAR_CHAT = "clear-chat",
|
|
78
|
+
TRANSLATE_MESSAGE = "translate-message",
|
|
79
|
+
DELETE_MESSAGE = "delete-message",
|
|
80
|
+
BAN_USER = "ban-user",
|
|
81
|
+
UNBAN_USER = "unban-user",
|
|
82
|
+
TIMEOUT_USER = "timeout-user",
|
|
83
|
+
ADD_LOYALTY_POINTS = "add-loyalty-points",
|
|
84
|
+
SHOUTOUT = "shoutout",
|
|
85
|
+
ADD_VIP = "add-vip",
|
|
86
|
+
REMOVE_VIP = "remove-vip",
|
|
63
87
|
OVERLAY_SET_OVERLAY_VISIBILITY = "overlay-set-visibility",
|
|
64
88
|
OVERLAY_SET_LAYER_VISIBILITY = "overlay-set-layer-visibility",
|
|
65
89
|
OVERLAY_SET_LAYER_POSITION = "overlay-set-layer-position",
|
package/dist/activity.types.js
CHANGED
|
@@ -66,6 +66,32 @@ var LumiaActivityCommandTypes;
|
|
|
66
66
|
LumiaActivityCommandTypes["SPOTIFY"] = "send-spotify-command";
|
|
67
67
|
LumiaActivityCommandTypes["VLC"] = "send-vlc-command";
|
|
68
68
|
LumiaActivityCommandTypes["TWITTER"] = "send-twitter-command";
|
|
69
|
+
// Stream Commands
|
|
70
|
+
LumiaActivityCommandTypes["CHANGE_STREAM_TITLE"] = "change-stream-title";
|
|
71
|
+
LumiaActivityCommandTypes["CHANGE_CURRENT_CATEGORY"] = "change-current-category";
|
|
72
|
+
LumiaActivityCommandTypes["CREATE_STREAM_MARKER"] = "create-stream-marker";
|
|
73
|
+
LumiaActivityCommandTypes["RUN_COMMERCIAL"] = "run-commercial";
|
|
74
|
+
LumiaActivityCommandTypes["SET_SLOW_MODE"] = "set-slow-mode";
|
|
75
|
+
LumiaActivityCommandTypes["SET_SUBSCRIBER_MODE"] = "set-subscriber-mode";
|
|
76
|
+
LumiaActivityCommandTypes["SET_FOLLOW_MODE"] = "set-follow-mode";
|
|
77
|
+
LumiaActivityCommandTypes["SET_EMOTES_MODE"] = "set-emotes-mode";
|
|
78
|
+
LumiaActivityCommandTypes["SEND_ANNOUNCEMENT"] = "send-announcement";
|
|
79
|
+
LumiaActivityCommandTypes["CLIP"] = "clip";
|
|
80
|
+
LumiaActivityCommandTypes["CREATE_POLL"] = "create-poll";
|
|
81
|
+
LumiaActivityCommandTypes["END_POLL"] = "end-poll";
|
|
82
|
+
LumiaActivityCommandTypes["CREATE_PREDICTION"] = "create-prediction";
|
|
83
|
+
LumiaActivityCommandTypes["END_PREDICTION"] = "end-prediction";
|
|
84
|
+
LumiaActivityCommandTypes["CLEAR_CHAT"] = "clear-chat";
|
|
85
|
+
// Chat Box Mod Commands
|
|
86
|
+
LumiaActivityCommandTypes["TRANSLATE_MESSAGE"] = "translate-message";
|
|
87
|
+
LumiaActivityCommandTypes["DELETE_MESSAGE"] = "delete-message";
|
|
88
|
+
LumiaActivityCommandTypes["BAN_USER"] = "ban-user";
|
|
89
|
+
LumiaActivityCommandTypes["UNBAN_USER"] = "unban-user";
|
|
90
|
+
LumiaActivityCommandTypes["TIMEOUT_USER"] = "timeout-user";
|
|
91
|
+
LumiaActivityCommandTypes["ADD_LOYALTY_POINTS"] = "add-loyalty-points";
|
|
92
|
+
LumiaActivityCommandTypes["SHOUTOUT"] = "shoutout";
|
|
93
|
+
LumiaActivityCommandTypes["ADD_VIP"] = "add-vip";
|
|
94
|
+
LumiaActivityCommandTypes["REMOVE_VIP"] = "remove-vip";
|
|
69
95
|
// Overlay Commands
|
|
70
96
|
LumiaActivityCommandTypes["OVERLAY_SET_OVERLAY_VISIBILITY"] = "overlay-set-visibility";
|
|
71
97
|
LumiaActivityCommandTypes["OVERLAY_SET_LAYER_VISIBILITY"] = "overlay-set-layer-visibility";
|
package/dist/alert.types.js
CHANGED
|
@@ -3517,30 +3517,31 @@ exports.LumiaAlertConfigs = {
|
|
|
3517
3517
|
},
|
|
3518
3518
|
[activity_types_1.LumiaAlertValues.TROVO_GIFT_SUBSCRIPTION]: {
|
|
3519
3519
|
connection: event_types_1.LumiaIntegrations.TROVO,
|
|
3520
|
-
message: '{{gifter}} sent {{
|
|
3520
|
+
message: '{{gifter}} sent {{giftAmount}} gift subscriptions',
|
|
3521
3521
|
eventlistMessage: 'Gift Subscriptions',
|
|
3522
|
-
eventlistDetailedMessage: 'sent {{
|
|
3522
|
+
eventlistDetailedMessage: 'sent {{giftAmount}} gift subscriptions',
|
|
3523
3523
|
acceptedVariables: ['username', 'displayname', 'gifter', 'recipient', 'value', 'subPlan', 'message', 'giftAmount', 'totalGifts', 'subMonths', 'sub_tier', 'sub_level', 'roles', 'medals'],
|
|
3524
3524
|
quickActions: [
|
|
3525
3525
|
{
|
|
3526
3526
|
label: '1 gift',
|
|
3527
|
-
dynamic: { value: 1 },
|
|
3527
|
+
dynamic: { value: 1, giftAmount: 1 },
|
|
3528
3528
|
extraSettings: {
|
|
3529
3529
|
username: 'lumiastream',
|
|
3530
3530
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3531
3531
|
gifter: 'lumiastream',
|
|
3532
3532
|
amount: 1,
|
|
3533
|
+
giftAmount: 1,
|
|
3533
3534
|
},
|
|
3534
3535
|
},
|
|
3535
3536
|
{
|
|
3536
3537
|
label: '5 gifts',
|
|
3537
|
-
dynamic: { value: 5 },
|
|
3538
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 5 },
|
|
3538
|
+
dynamic: { value: 5, giftAmount: 5 },
|
|
3539
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 5, giftAmount: 5 },
|
|
3539
3540
|
},
|
|
3540
3541
|
{
|
|
3541
3542
|
label: '20 gifts',
|
|
3542
|
-
dynamic: { value: 20 },
|
|
3543
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 20 },
|
|
3543
|
+
dynamic: { value: 20, giftAmount: 20 },
|
|
3544
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 20, giftAmount: 20 },
|
|
3544
3545
|
},
|
|
3545
3546
|
],
|
|
3546
3547
|
inputFields: [
|
|
@@ -3562,7 +3563,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3562
3563
|
type: 'number',
|
|
3563
3564
|
label: 'Amount',
|
|
3564
3565
|
dynamicField: 'value',
|
|
3565
|
-
variableField: '
|
|
3566
|
+
variableField: 'giftAmount',
|
|
3566
3567
|
required: false,
|
|
3567
3568
|
default: 100,
|
|
3568
3569
|
},
|
|
@@ -4065,30 +4066,31 @@ exports.LumiaAlertConfigs = {
|
|
|
4065
4066
|
},
|
|
4066
4067
|
[activity_types_1.LumiaAlertValues.KICK_GIFT_SUBSCRIPTION]: {
|
|
4067
4068
|
connection: event_types_1.LumiaIntegrations.KICK,
|
|
4068
|
-
message: '{{gifter}} sent {{
|
|
4069
|
+
message: '{{gifter}} sent {{giftAmount}} gift subscriptions',
|
|
4069
4070
|
eventlistMessage: 'Gift Subscriptions',
|
|
4070
|
-
eventlistDetailedMessage: 'sent {{
|
|
4071
|
+
eventlistDetailedMessage: 'sent {{giftAmount}} gift subscriptions',
|
|
4071
4072
|
acceptedVariables: ['username', 'gifter', 'recipient', 'value', 'giftAmount', 'totalGifts'],
|
|
4072
4073
|
quickActions: [
|
|
4073
4074
|
{
|
|
4074
4075
|
label: '1 gift',
|
|
4075
|
-
dynamic: { value: 1 },
|
|
4076
|
+
dynamic: { value: 1, giftAmount: 1 },
|
|
4076
4077
|
extraSettings: {
|
|
4077
4078
|
username: 'lumiastream',
|
|
4078
4079
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4079
4080
|
gifter: 'lumiastream',
|
|
4080
4081
|
amount: 1,
|
|
4082
|
+
giftAmount: 1,
|
|
4081
4083
|
},
|
|
4082
4084
|
},
|
|
4083
4085
|
{
|
|
4084
4086
|
label: '5 gifts',
|
|
4085
|
-
dynamic: { value: 5 },
|
|
4086
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 5 },
|
|
4087
|
+
dynamic: { value: 5, giftAmount: 5 },
|
|
4088
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 5, giftAmount: 5 },
|
|
4087
4089
|
},
|
|
4088
4090
|
{
|
|
4089
4091
|
label: '20 gifts',
|
|
4090
|
-
dynamic: { value: 20 },
|
|
4091
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 20 },
|
|
4092
|
+
dynamic: { value: 20, giftAmount: 20 },
|
|
4093
|
+
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 20, giftAmount: 20 },
|
|
4092
4094
|
},
|
|
4093
4095
|
],
|
|
4094
4096
|
inputFields: [
|
|
@@ -4110,7 +4112,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4110
4112
|
type: 'number',
|
|
4111
4113
|
label: 'Amount',
|
|
4112
4114
|
dynamicField: 'value',
|
|
4113
|
-
variableField: '
|
|
4115
|
+
variableField: 'giftAmount',
|
|
4114
4116
|
required: false,
|
|
4115
4117
|
default: 100,
|
|
4116
4118
|
},
|