@lumiastream/lumia-types 2.0.4 → 2.0.6

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.
@@ -119,6 +119,7 @@ export declare const LumiaAlertConfigs: Record<LumiaAlertValues | string, {
119
119
  }>;
120
120
  LumiaVariationConditions: Array<{
121
121
  type: LumiaVariationConditions;
122
+ description?: string;
122
123
  selections?: Array<{
123
124
  label: string;
124
125
  message?: string;
@@ -1196,7 +1196,22 @@ exports.LumiaAlertConfigs = {
1196
1196
  type: LumiaVariationConditions.EQUAL_USERNAME,
1197
1197
  },
1198
1198
  {
1199
- type: LumiaVariationConditions.EQUAL_STRING,
1199
+ type: LumiaVariationConditions.EQUAL_SELECTION,
1200
+ description: 'Powerup Type',
1201
+ selections: [
1202
+ {
1203
+ label: 'celebration',
1204
+ value: 'celebration',
1205
+ },
1206
+ {
1207
+ label: 'message_effect',
1208
+ value: 'message_effect',
1209
+ },
1210
+ {
1211
+ label: 'gigantify_an_emote',
1212
+ value: 'gigantify_an_emote',
1213
+ },
1214
+ ],
1200
1215
  },
1201
1216
  {
1202
1217
  type: LumiaVariationConditions.EQUAL_NUMBER,
@@ -1254,7 +1269,30 @@ exports.LumiaAlertConfigs = {
1254
1269
  type: LumiaVariationConditions.EQUAL_USERNAME,
1255
1270
  },
1256
1271
  {
1257
- type: LumiaVariationConditions.EQUAL_STRING,
1272
+ type: LumiaVariationConditions.EQUAL_SELECTION,
1273
+ description: 'Powerups Type',
1274
+ selections: [
1275
+ {
1276
+ label: 'Single message bypass sub mode',
1277
+ value: 'single_message_bypass_sub_mode',
1278
+ },
1279
+ {
1280
+ label: 'Send highlighted message',
1281
+ value: 'send_highlighted_message',
1282
+ },
1283
+ {
1284
+ label: 'Random sub emote unlock',
1285
+ value: 'random_sub_emote_unlock',
1286
+ },
1287
+ {
1288
+ label: 'Chosen sub emote unlock',
1289
+ value: 'chosen_sub_emote_unlock',
1290
+ },
1291
+ {
1292
+ label: 'Chosen modified sub emote unlock',
1293
+ value: 'chosen_modified_sub_emote_unlock',
1294
+ },
1295
+ ],
1258
1296
  },
1259
1297
  {
1260
1298
  type: LumiaVariationConditions.EQUAL_NUMBER,
@@ -3335,6 +3373,18 @@ exports.LumiaAlertConfigs = {
3335
3373
  },
3336
3374
  ],
3337
3375
  },
3376
+ [activity_types_1.LumiaAlertValues.TROVO_STREAM_LIVE]: {
3377
+ connection: event_types_1.LumiaIntegrations.TROVO,
3378
+ message: 'Trovo Stream is now live',
3379
+ acceptedVariables: variables_types_1.AllVariables.trovo.alerts.streamLive,
3380
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
3381
+ },
3382
+ [activity_types_1.LumiaAlertValues.TROVO_STREAM_OFFLINE]: {
3383
+ connection: event_types_1.LumiaIntegrations.TROVO,
3384
+ message: 'Trovo Stream is now offline',
3385
+ acceptedVariables: variables_types_1.AllVariables.trovo.alerts.streamOffline,
3386
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
3387
+ },
3338
3388
  [activity_types_1.LumiaAlertValues.TROVO_CHANNEL_JOIN]: {
3339
3389
  connection: event_types_1.LumiaIntegrations.TROVO,
3340
3390
  message: '{{username}} just joined the channel',
@@ -3749,15 +3799,18 @@ exports.LumiaAlertConfigs = {
3749
3799
  },
3750
3800
  ],
3751
3801
  LumiaVariationConditions: [
3752
- { type: LumiaVariationConditions.RANDOM },
3802
+ { type: LumiaVariationConditions.RANDOM, description: 'alerts.random' },
3753
3803
  {
3754
3804
  type: LumiaVariationConditions.EQUAL_STRING,
3805
+ description: 'Gift Name',
3755
3806
  },
3756
3807
  {
3757
3808
  type: LumiaVariationConditions.EQUAL_NUMBER,
3809
+ description: 'Coins Equal',
3758
3810
  },
3759
3811
  {
3760
3812
  type: LumiaVariationConditions.GREATER_NUMBER,
3813
+ description: 'Coins Greater Than',
3761
3814
  },
3762
3815
  ],
3763
3816
  },
@@ -6792,6 +6845,7 @@ exports.LumiaAlertConfigs = {
6792
6845
  { type: LumiaVariationConditions.RANDOM },
6793
6846
  {
6794
6847
  type: LumiaVariationConditions.EQUAL_STRING,
6848
+ description: 'Name of hotkey',
6795
6849
  },
6796
6850
  ],
6797
6851
  },
@@ -984,7 +984,7 @@ exports.AllVariables = {
984
984
  firstChatter: ['username', 'userId', 'displayname', 'avatar', 'first_count', 'message'],
985
985
  entrance: ['username', 'userId', 'displayname', 'avatar', 'message'],
986
986
  follower: ['username'],
987
- subscriber: ['username'],
987
+ subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
988
988
  subscriptionGift: ['username', 'avatar', 'tier', 'giftAmount', 'recipients', 'recipientsRaw', 'gifter', 'totalGifts', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
989
989
  host: ['username', 'avatar', 'viewers'],
990
990
  banned: ['username', 'userId', 'bannedByUsername', 'bannedByUserId', 'expires'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [