@lumiastream/lumia-types 1.1.0 → 1.1.1
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/alert.types.js +87 -0
- package/dist/event.types.d.ts +1 -0
- package/dist/event.types.js +1 -0
- package/dist/eventlist.types.d.ts +1 -0
- package/dist/eventlist.types.js +1 -0
- package/package.json +1 -1
package/dist/alert.types.js
CHANGED
|
@@ -3894,6 +3894,93 @@ exports.LumiaAlertConfigs = {
|
|
|
3894
3894
|
},
|
|
3895
3895
|
// },
|
|
3896
3896
|
// kick: {
|
|
3897
|
+
[activity_types_1.LumiaAlertValues.KICK_POINTS]: {
|
|
3898
|
+
connection: event_types_1.LumiaIntegrations.KICK,
|
|
3899
|
+
message: '{{username}} redeemed {{command}} for {{amount}} points',
|
|
3900
|
+
eventlistMessage: 'Redeemed',
|
|
3901
|
+
eventlistDetailedMessage: 'redeemed {{command}} for {{amount}} points',
|
|
3902
|
+
acceptedVariables: ['username', 'displayname', 'message', 'avatar', 'command', 'amount', 'currencySymbol', 'currency'],
|
|
3903
|
+
LumiaVariationConditions: [
|
|
3904
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
3905
|
+
{
|
|
3906
|
+
type: LumiaVariationConditions.EQUAL_STRING,
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
type: LumiaVariationConditions.EQUAL_NUMBER,
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
type: LumiaVariationConditions.GREATER_NUMBER,
|
|
3913
|
+
},
|
|
3914
|
+
],
|
|
3915
|
+
quickActions: [
|
|
3916
|
+
{
|
|
3917
|
+
label: 'Redeemed for 100 points',
|
|
3918
|
+
dynamic: { name: 'lumiray', value: '100', currency: LumiaRedemptionCurrency.POINTS },
|
|
3919
|
+
extraSettings: {
|
|
3920
|
+
command: 'lumiray',
|
|
3921
|
+
message: 'ray ray',
|
|
3922
|
+
username: 'lumiastream',
|
|
3923
|
+
displayname: 'LumiaStream',
|
|
3924
|
+
amount: '100',
|
|
3925
|
+
currency: LumiaRedemptionCurrency.POINTS,
|
|
3926
|
+
currencySymbol: exports.LumiaRedemptionCurrencySymbol.points,
|
|
3927
|
+
},
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
label: 'Redeemed for 2000 points',
|
|
3931
|
+
dynamic: { name: 'lumiray', value: '2000', currency: LumiaRedemptionCurrency.POINTS },
|
|
3932
|
+
extraSettings: {
|
|
3933
|
+
command: 'lumiray',
|
|
3934
|
+
message: 'ray ray',
|
|
3935
|
+
username: 'lumiastream',
|
|
3936
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3937
|
+
displayname: 'LumiaStream',
|
|
3938
|
+
amount: '2000',
|
|
3939
|
+
currency: LumiaRedemptionCurrency.POINTS,
|
|
3940
|
+
currencySymbol: exports.LumiaRedemptionCurrencySymbol.points,
|
|
3941
|
+
},
|
|
3942
|
+
},
|
|
3943
|
+
{
|
|
3944
|
+
label: 'Redeemed for 10000 points',
|
|
3945
|
+
dynamic: { name: 'lumiray', value: '10000', currency: LumiaRedemptionCurrency.POINTS },
|
|
3946
|
+
extraSettings: {
|
|
3947
|
+
command: 'lumiray',
|
|
3948
|
+
message: 'ray ray',
|
|
3949
|
+
username: 'lumiastream',
|
|
3950
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3951
|
+
displayname: 'LumiaStream',
|
|
3952
|
+
amount: '10000',
|
|
3953
|
+
currency: LumiaRedemptionCurrency.POINTS,
|
|
3954
|
+
currencySymbol: exports.LumiaRedemptionCurrencySymbol.points,
|
|
3955
|
+
},
|
|
3956
|
+
},
|
|
3957
|
+
],
|
|
3958
|
+
inputFields: [
|
|
3959
|
+
{
|
|
3960
|
+
type: 'text',
|
|
3961
|
+
label: 'Username',
|
|
3962
|
+
variableField: 'username',
|
|
3963
|
+
required: false,
|
|
3964
|
+
default: 'lumiastream',
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
type: 'text',
|
|
3968
|
+
label: 'Command',
|
|
3969
|
+
dynamicField: 'value',
|
|
3970
|
+
variableField: 'command',
|
|
3971
|
+
required: true,
|
|
3972
|
+
default: 'lumibeam',
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
type: 'text',
|
|
3976
|
+
label: 'Amount',
|
|
3977
|
+
dynamicField: 'amount',
|
|
3978
|
+
variableField: 'amount',
|
|
3979
|
+
required: true,
|
|
3980
|
+
default: '100',
|
|
3981
|
+
},
|
|
3982
|
+
],
|
|
3983
|
+
},
|
|
3897
3984
|
[activity_types_1.LumiaAlertValues.KICK_FIRST_CHATTER]: {
|
|
3898
3985
|
connection: event_types_1.LumiaIntegrations.KICK,
|
|
3899
3986
|
message: '{{username}} is the first chatter!',
|
package/dist/event.types.d.ts
CHANGED
package/dist/event.types.js
CHANGED
|
@@ -48,6 +48,7 @@ var LumiaEventTypes;
|
|
|
48
48
|
LumiaEventTypes["COMMAND"] = "command";
|
|
49
49
|
LumiaEventTypes["TWITCH_POINTS"] = "twitch_point";
|
|
50
50
|
LumiaEventTypes["TWITCH_EXTENSIONS"] = "twitch_extension";
|
|
51
|
+
LumiaEventTypes["KICK_POINTS"] = "kick_point";
|
|
51
52
|
LumiaEventTypes["TROVO_SPELL"] = "trovo_spell";
|
|
52
53
|
LumiaEventTypes["PULSE"] = "pulse";
|
|
53
54
|
LumiaEventTypes["ALERTS"] = "alert";
|
|
@@ -92,6 +92,7 @@ export declare const LumiaMapAlertTypeToEventListType: {
|
|
|
92
92
|
"youtube-subscriber": LumiaEventListTypes;
|
|
93
93
|
"youtube-superchat": LumiaEventListTypes;
|
|
94
94
|
"youtube-supersticker": LumiaEventListTypes;
|
|
95
|
+
"kick-points": LumiaEventListTypes;
|
|
95
96
|
"kick-host": LumiaEventListTypes;
|
|
96
97
|
"crowdcontrol-effect": LumiaEventListTypes;
|
|
97
98
|
};
|
package/dist/eventlist.types.js
CHANGED
|
@@ -97,6 +97,7 @@ exports.LumiaMapAlertTypeToEventListType = {
|
|
|
97
97
|
[activity_types_1.LumiaAlertValues.YOUTUBE_SUBSCRIBER]: LumiaEventListTypes.FOLLOWER,
|
|
98
98
|
[activity_types_1.LumiaAlertValues.YOUTUBE_SUPERCHAT]: LumiaEventListTypes.SUPERCHATS,
|
|
99
99
|
[activity_types_1.LumiaAlertValues.YOUTUBE_SUPERSTICKER]: LumiaEventListTypes.SUPERSTICKERS,
|
|
100
|
+
[activity_types_1.LumiaAlertValues.KICK_POINTS]: LumiaEventListTypes.POINTS,
|
|
100
101
|
[activity_types_1.LumiaAlertValues.KICK_HOST]: LumiaEventListTypes.HOSTS,
|
|
101
102
|
[activity_types_1.LumiaAlertValues.CROWDCONTROL_EFFECT]: LumiaEventListTypes.OTHERS,
|
|
102
103
|
};
|