@lumiastream/lumia-types 1.1.2 → 1.1.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.
package/dist/activity.types.d.ts
CHANGED
|
@@ -201,8 +201,6 @@ export declare enum LumiaAlertValues {
|
|
|
201
201
|
STREAMLABS_REDEMPTION = "streamlabs-redemption",
|
|
202
202
|
STREAMLABS_PRIMEGIFT = "streamlabs-primegift",
|
|
203
203
|
STREAMELEMENTS_DONATION = "streamelements-donation",
|
|
204
|
-
STREAMELEMENTS_MERCH = "streamelements-merch",
|
|
205
|
-
STREAMELEMENTS_REDEMPTION = "streamelements-redemption",
|
|
206
204
|
EXTRALIFE_DONATION = "extralife-donation",
|
|
207
205
|
DONORDRIVE_DONATION = "donordrive-donation",
|
|
208
206
|
TILTIFY_DONATION = "tiltify-campaignDonation",
|
|
@@ -379,8 +377,6 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
379
377
|
"streamlabs-redemption": string;
|
|
380
378
|
"streamlabs-primegift": string;
|
|
381
379
|
"streamelements-donation": string;
|
|
382
|
-
"streamelements-merch": string;
|
|
383
|
-
"streamelements-redemption": string;
|
|
384
380
|
"extralife-donation": string;
|
|
385
381
|
"donordrive-donation": string;
|
|
386
382
|
"tiltify-campaignDonation": string;
|
package/dist/activity.types.js
CHANGED
|
@@ -212,8 +212,6 @@ var LumiaAlertValues;
|
|
|
212
212
|
LumiaAlertValues["STREAMLABS_REDEMPTION"] = "streamlabs-redemption";
|
|
213
213
|
LumiaAlertValues["STREAMLABS_PRIMEGIFT"] = "streamlabs-primegift";
|
|
214
214
|
LumiaAlertValues["STREAMELEMENTS_DONATION"] = "streamelements-donation";
|
|
215
|
-
LumiaAlertValues["STREAMELEMENTS_MERCH"] = "streamelements-merch";
|
|
216
|
-
LumiaAlertValues["STREAMELEMENTS_REDEMPTION"] = "streamelements-redemption";
|
|
217
215
|
LumiaAlertValues["EXTRALIFE_DONATION"] = "extralife-donation";
|
|
218
216
|
LumiaAlertValues["DONORDRIVE_DONATION"] = "donordrive-donation";
|
|
219
217
|
LumiaAlertValues["TILTIFY_DONATION"] = "tiltify-campaignDonation";
|
|
@@ -392,8 +390,6 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
392
390
|
[LumiaAlertValues.STREAMLABS_REDEMPTION]: 'Streamlabs Redemption',
|
|
393
391
|
[LumiaAlertValues.STREAMLABS_PRIMEGIFT]: 'Streamlabs Primegift',
|
|
394
392
|
[LumiaAlertValues.STREAMELEMENTS_DONATION]: 'Streamelements Tip',
|
|
395
|
-
[LumiaAlertValues.STREAMELEMENTS_MERCH]: 'Streamelements Merch',
|
|
396
|
-
[LumiaAlertValues.STREAMELEMENTS_REDEMPTION]: 'Streamelements Redemption',
|
|
397
393
|
[LumiaAlertValues.EXTRALIFE_DONATION]: 'Extralife Tip',
|
|
398
394
|
[LumiaAlertValues.DONORDRIVE_DONATION]: 'Donordrive Tip',
|
|
399
395
|
[LumiaAlertValues.TILTIFY_DONATION]: 'Tiltify Campaign Tip',
|
package/dist/alert.types.js
CHANGED
|
@@ -3896,9 +3896,9 @@ exports.LumiaAlertConfigs = {
|
|
|
3896
3896
|
// kick: {
|
|
3897
3897
|
[activity_types_1.LumiaAlertValues.KICK_POINTS]: {
|
|
3898
3898
|
connection: event_types_1.LumiaIntegrations.KICK,
|
|
3899
|
-
message: '{{username}} redeemed {{command}}',
|
|
3899
|
+
message: '{{username}} redeemed {{command}} for {{amount}} points',
|
|
3900
3900
|
eventlistMessage: 'Redeemed',
|
|
3901
|
-
eventlistDetailedMessage: 'redeemed {{command}}',
|
|
3901
|
+
eventlistDetailedMessage: 'redeemed {{command}} for {{amount}} points',
|
|
3902
3902
|
acceptedVariables: ['username', 'displayname', 'message', 'avatar', 'command', 'amount', 'currencySymbol', 'currency'],
|
|
3903
3903
|
LumiaVariationConditions: [
|
|
3904
3904
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -4626,128 +4626,6 @@ exports.LumiaAlertConfigs = {
|
|
|
4626
4626
|
},
|
|
4627
4627
|
],
|
|
4628
4628
|
},
|
|
4629
|
-
[activity_types_1.LumiaAlertValues.STREAMELEMENTS_MERCH]: {
|
|
4630
|
-
connection: event_types_1.LumiaIntegrations.STREAMELEMENTS,
|
|
4631
|
-
message: '{{username}} just bought {{merch}}. They said {{message}}',
|
|
4632
|
-
eventlistMessage: 'Merch',
|
|
4633
|
-
eventlistDetailedMessage: 'bought {{merch}}',
|
|
4634
|
-
acceptedVariables: ['username', 'merch', 'message'],
|
|
4635
|
-
quickActions: [
|
|
4636
|
-
{
|
|
4637
|
-
label: '$100',
|
|
4638
|
-
dynamic: { value: 100, currency: LumiaVariationCurrency.USD },
|
|
4639
|
-
extraSettings: {
|
|
4640
|
-
username: 'lumiastream',
|
|
4641
|
-
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4642
|
-
amount: 100,
|
|
4643
|
-
currency: LumiaVariationCurrency.USD,
|
|
4644
|
-
},
|
|
4645
|
-
},
|
|
4646
|
-
{
|
|
4647
|
-
label: '$200',
|
|
4648
|
-
dynamic: { value: 200, currency: LumiaVariationCurrency.USD },
|
|
4649
|
-
extraSettings: {
|
|
4650
|
-
username: 'lumiastream',
|
|
4651
|
-
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4652
|
-
amount: 200,
|
|
4653
|
-
currency: LumiaVariationCurrency.USD,
|
|
4654
|
-
},
|
|
4655
|
-
},
|
|
4656
|
-
{
|
|
4657
|
-
label: '$300',
|
|
4658
|
-
dynamic: { value: 300, currency: LumiaVariationCurrency.USD },
|
|
4659
|
-
extraSettings: {
|
|
4660
|
-
username: 'lumiastream',
|
|
4661
|
-
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4662
|
-
amount: 300,
|
|
4663
|
-
currency: LumiaVariationCurrency.USD,
|
|
4664
|
-
},
|
|
4665
|
-
},
|
|
4666
|
-
],
|
|
4667
|
-
inputFields: [
|
|
4668
|
-
{
|
|
4669
|
-
type: 'text',
|
|
4670
|
-
label: 'Username',
|
|
4671
|
-
variableField: 'username',
|
|
4672
|
-
required: false,
|
|
4673
|
-
default: 'lumiastream',
|
|
4674
|
-
},
|
|
4675
|
-
{
|
|
4676
|
-
type: 'number',
|
|
4677
|
-
label: 'Amount',
|
|
4678
|
-
dynamicField: 'value',
|
|
4679
|
-
variableField: 'amount',
|
|
4680
|
-
required: false,
|
|
4681
|
-
default: 100,
|
|
4682
|
-
},
|
|
4683
|
-
{
|
|
4684
|
-
type: 'currency',
|
|
4685
|
-
label: 'Currency',
|
|
4686
|
-
dynamicField: 'currency',
|
|
4687
|
-
variableField: 'currency',
|
|
4688
|
-
required: false,
|
|
4689
|
-
default: LumiaVariationCurrency.USD,
|
|
4690
|
-
},
|
|
4691
|
-
],
|
|
4692
|
-
LumiaVariationConditions: [
|
|
4693
|
-
{ type: LumiaVariationConditions.RANDOM },
|
|
4694
|
-
{
|
|
4695
|
-
type: LumiaVariationConditions.EQUAL_STRING,
|
|
4696
|
-
},
|
|
4697
|
-
{
|
|
4698
|
-
type: LumiaVariationConditions.GREATER_CURRENCY_NUMBER,
|
|
4699
|
-
},
|
|
4700
|
-
],
|
|
4701
|
-
},
|
|
4702
|
-
[activity_types_1.LumiaAlertValues.STREAMELEMENTS_REDEMPTION]: {
|
|
4703
|
-
connection: event_types_1.LumiaIntegrations.STREAMELEMENTS,
|
|
4704
|
-
message: '{{username}} just redeemed {{redemption}}. They said {{message}}',
|
|
4705
|
-
eventlistMessage: 'Redemption',
|
|
4706
|
-
eventlistDetailedMessage: 'redeemed {{redemption}}',
|
|
4707
|
-
acceptedVariables: ['username', 'redemption', 'message'],
|
|
4708
|
-
quickActions: [
|
|
4709
|
-
{
|
|
4710
|
-
label: 'Shirt',
|
|
4711
|
-
dynamic: { value: 'shirt' },
|
|
4712
|
-
extraSettings: {
|
|
4713
|
-
username: 'lumiastream',
|
|
4714
|
-
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4715
|
-
redemption: 'shirt',
|
|
4716
|
-
message: 'Great stream',
|
|
4717
|
-
},
|
|
4718
|
-
},
|
|
4719
|
-
],
|
|
4720
|
-
inputFields: [
|
|
4721
|
-
{
|
|
4722
|
-
type: 'text',
|
|
4723
|
-
label: 'Username',
|
|
4724
|
-
variableField: 'username',
|
|
4725
|
-
required: false,
|
|
4726
|
-
default: 'lumiastream',
|
|
4727
|
-
},
|
|
4728
|
-
{
|
|
4729
|
-
type: 'text',
|
|
4730
|
-
label: 'Redemption',
|
|
4731
|
-
dynamicField: 'value',
|
|
4732
|
-
variableField: 'redemption',
|
|
4733
|
-
required: true,
|
|
4734
|
-
default: 'shirt',
|
|
4735
|
-
},
|
|
4736
|
-
{
|
|
4737
|
-
type: 'text',
|
|
4738
|
-
label: 'Message',
|
|
4739
|
-
variableField: 'message',
|
|
4740
|
-
required: false,
|
|
4741
|
-
default: 'Great Stream',
|
|
4742
|
-
},
|
|
4743
|
-
],
|
|
4744
|
-
LumiaVariationConditions: [
|
|
4745
|
-
{ type: LumiaVariationConditions.RANDOM },
|
|
4746
|
-
{
|
|
4747
|
-
type: LumiaVariationConditions.EQUAL_STRING,
|
|
4748
|
-
},
|
|
4749
|
-
],
|
|
4750
|
-
},
|
|
4751
4629
|
// },
|
|
4752
4630
|
// extralife: {
|
|
4753
4631
|
[activity_types_1.LumiaAlertValues.EXTRALIFE_DONATION]: {
|
|
@@ -46,8 +46,6 @@ export declare const LumiaMapAlertTypeToEventListType: {
|
|
|
46
46
|
"fourthwall-giftpurchase": LumiaEventListTypes;
|
|
47
47
|
"patreon-campaignPledge": LumiaEventListTypes;
|
|
48
48
|
"streamelements-donation": LumiaEventListTypes;
|
|
49
|
-
"streamelements-merch": LumiaEventListTypes;
|
|
50
|
-
"streamelements-redemption": LumiaEventListTypes;
|
|
51
49
|
"streamlabs-charity": LumiaEventListTypes;
|
|
52
50
|
"streamlabs-donation": LumiaEventListTypes;
|
|
53
51
|
"streamlabs-merch": LumiaEventListTypes;
|
package/dist/eventlist.types.js
CHANGED
|
@@ -51,8 +51,6 @@ exports.LumiaMapAlertTypeToEventListType = {
|
|
|
51
51
|
[activity_types_1.LumiaAlertValues.FOURTHWALL_GIFTPURCHASE]: LumiaEventListTypes.PURCHASES,
|
|
52
52
|
[activity_types_1.LumiaAlertValues.PATREON_PLEDGE]: LumiaEventListTypes.SUBSCRIBERS,
|
|
53
53
|
[activity_types_1.LumiaAlertValues.STREAMELEMENTS_DONATION]: LumiaEventListTypes.DONATION,
|
|
54
|
-
[activity_types_1.LumiaAlertValues.STREAMELEMENTS_MERCH]: LumiaEventListTypes.PURCHASES,
|
|
55
|
-
[activity_types_1.LumiaAlertValues.STREAMELEMENTS_REDEMPTION]: LumiaEventListTypes.PURCHASES,
|
|
56
54
|
[activity_types_1.LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.DONATION,
|
|
57
55
|
[activity_types_1.LumiaAlertValues.STREAMLABS_DONATION]: LumiaEventListTypes.DONATION,
|
|
58
56
|
[activity_types_1.LumiaAlertValues.STREAMLABS_MERCH]: LumiaEventListTypes.PURCHASES,
|