@lumiastream/lumia-types 3.4.1 → 3.4.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.
@@ -76,6 +76,8 @@ export declare enum LumiaActivityCommandTypes {
76
76
  CLEAR_CHAT = "clear-chat",
77
77
  TRANSLATE_MESSAGE = "translate-message",
78
78
  DELETE_MESSAGE = "delete-message",
79
+ PIN_MESSAGE = "pin-message",
80
+ UNPIN_MESSAGE = "unpin-message",
79
81
  BAN_USER = "ban-user",
80
82
  UNBAN_USER = "unban-user",
81
83
  TIMEOUT_USER = "timeout-user",
@@ -87,6 +87,8 @@ var LumiaActivityCommandTypes;
87
87
  // Chat Box Mod Commands
88
88
  LumiaActivityCommandTypes["TRANSLATE_MESSAGE"] = "translate-message";
89
89
  LumiaActivityCommandTypes["DELETE_MESSAGE"] = "delete-message";
90
+ LumiaActivityCommandTypes["PIN_MESSAGE"] = "pin-message";
91
+ LumiaActivityCommandTypes["UNPIN_MESSAGE"] = "unpin-message";
90
92
  LumiaActivityCommandTypes["BAN_USER"] = "ban-user";
91
93
  LumiaActivityCommandTypes["UNBAN_USER"] = "unban-user";
92
94
  LumiaActivityCommandTypes["TIMEOUT_USER"] = "timeout-user";
@@ -5362,10 +5362,18 @@ exports.LumiaAlertConfigs = {
5362
5362
  battleId: '1',
5363
5363
  battleLabel: 'lumiastream vs rivalstream',
5364
5364
  creatorUsername: 'lumiastream',
5365
+ creatorDisplayname: 'Lumia Stream',
5366
+ creatorAvatar: '',
5365
5367
  opponentUsername: 'rivalstream',
5368
+ opponentDisplayname: 'Rival Stream',
5369
+ opponentAvatar: '',
5366
5370
  creatorScore: 1200,
5367
5371
  opponentScore: 900,
5372
+ giftId: 5655,
5373
+ giftCount: 1,
5374
+ repeatCount: 1,
5368
5375
  totalDiamondCount: 100,
5376
+ battleStatus: 'scoreUpdate',
5369
5377
  },
5370
5378
  },
5371
5379
  ],
@@ -84,6 +84,8 @@ export var LumiaActivityCommandTypes;
84
84
  // Chat Box Mod Commands
85
85
  LumiaActivityCommandTypes["TRANSLATE_MESSAGE"] = "translate-message";
86
86
  LumiaActivityCommandTypes["DELETE_MESSAGE"] = "delete-message";
87
+ LumiaActivityCommandTypes["PIN_MESSAGE"] = "pin-message";
88
+ LumiaActivityCommandTypes["UNPIN_MESSAGE"] = "unpin-message";
87
89
  LumiaActivityCommandTypes["BAN_USER"] = "ban-user";
88
90
  LumiaActivityCommandTypes["UNBAN_USER"] = "unban-user";
89
91
  LumiaActivityCommandTypes["TIMEOUT_USER"] = "timeout-user";
@@ -5359,10 +5359,18 @@ export const LumiaAlertConfigs = {
5359
5359
  battleId: '1',
5360
5360
  battleLabel: 'lumiastream vs rivalstream',
5361
5361
  creatorUsername: 'lumiastream',
5362
+ creatorDisplayname: 'Lumia Stream',
5363
+ creatorAvatar: '',
5362
5364
  opponentUsername: 'rivalstream',
5365
+ opponentDisplayname: 'Rival Stream',
5366
+ opponentAvatar: '',
5363
5367
  creatorScore: 1200,
5364
5368
  opponentScore: 900,
5369
+ giftId: 5655,
5370
+ giftCount: 1,
5371
+ repeatCount: 1,
5365
5372
  totalDiamondCount: 100,
5373
+ battleStatus: 'scoreUpdate',
5366
5374
  },
5367
5375
  },
5368
5376
  ],
@@ -43,6 +43,7 @@ export var LumiaEventListTypes;
43
43
  LumiaEventListTypes["FANS"] = "fans";
44
44
  LumiaEventListTypes["SHARES"] = "shares";
45
45
  LumiaEventListTypes["RAFFLE"] = "raffles";
46
+ LumiaEventListTypes["CHARITY"] = "charity";
46
47
  })(LumiaEventListTypes || (LumiaEventListTypes = {}));
47
48
  /**
48
49
  * Categorization map from `LumiaAlertValues` → `LumiaEventListTypes`. The
@@ -87,7 +88,7 @@ export const LumiaMapAlertTypeToEventListType = {
87
88
  [LumiaAlertValues.TWITCH_BITS_COMBO]: LumiaEventListTypes.BITS,
88
89
  [LumiaAlertValues.TWITCH_SESSION_BITS]: LumiaEventListTypes.BITS,
89
90
  [LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: LumiaEventListTypes.HYPETRAIN,
90
- [LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.DONATION,
91
+ [LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.CHARITY,
91
92
  [LumiaAlertValues.TWITCH_POWERUPS]: LumiaEventListTypes.BITS,
92
93
  [LumiaAlertValues.TWITCH_POWERUPS_POINTS]: LumiaEventListTypes.POINTS,
93
94
  // --- YouTube ---
@@ -132,7 +133,7 @@ export const LumiaMapAlertTypeToEventListType = {
132
133
  [LumiaAlertValues.KICK_HOST]: LumiaEventListTypes.HOSTS,
133
134
  // --- Third-party donation / commerce platforms ---
134
135
  [LumiaAlertValues.STREAMLABS_DONATION]: LumiaEventListTypes.DONATION,
135
- [LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.DONATION,
136
+ [LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.CHARITY,
136
137
  [LumiaAlertValues.STREAMLABS_MERCH]: LumiaEventListTypes.PURCHASES,
137
138
  [LumiaAlertValues.STREAMLABS_REDEMPTION]: LumiaEventListTypes.REDEMPTION,
138
139
  [LumiaAlertValues.STREAMLABS_PRIMEGIFT]: LumiaEventListTypes.GIFTS,
@@ -2314,7 +2314,11 @@ export const AllVariables = {
2314
2314
  'battleId',
2315
2315
  'battleLabel',
2316
2316
  'creatorUsername',
2317
+ 'creatorDisplayname',
2318
+ 'creatorAvatar',
2317
2319
  'opponentUsername',
2320
+ 'opponentDisplayname',
2321
+ 'opponentAvatar',
2318
2322
  'creatorScore',
2319
2323
  'opponentScore',
2320
2324
  'giftId',
@@ -41,7 +41,8 @@ export declare enum LumiaEventListTypes {
41
41
  STARS = "stars",
42
42
  FANS = "fans",
43
43
  SHARES = "shares",
44
- RAFFLE = "raffles"
44
+ RAFFLE = "raffles",
45
+ CHARITY = "charity"
45
46
  }
46
47
  /**
47
48
  * Categorization map from `LumiaAlertValues` → `LumiaEventListTypes`. The
@@ -46,6 +46,7 @@ var LumiaEventListTypes;
46
46
  LumiaEventListTypes["FANS"] = "fans";
47
47
  LumiaEventListTypes["SHARES"] = "shares";
48
48
  LumiaEventListTypes["RAFFLE"] = "raffles";
49
+ LumiaEventListTypes["CHARITY"] = "charity";
49
50
  })(LumiaEventListTypes || (exports.LumiaEventListTypes = LumiaEventListTypes = {}));
50
51
  /**
51
52
  * Categorization map from `LumiaAlertValues` → `LumiaEventListTypes`. The
@@ -90,7 +91,7 @@ exports.LumiaMapAlertTypeToEventListType = {
90
91
  [activity_types_1.LumiaAlertValues.TWITCH_BITS_COMBO]: LumiaEventListTypes.BITS,
91
92
  [activity_types_1.LumiaAlertValues.TWITCH_SESSION_BITS]: LumiaEventListTypes.BITS,
92
93
  [activity_types_1.LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: LumiaEventListTypes.HYPETRAIN,
93
- [activity_types_1.LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.DONATION,
94
+ [activity_types_1.LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.CHARITY,
94
95
  [activity_types_1.LumiaAlertValues.TWITCH_POWERUPS]: LumiaEventListTypes.BITS,
95
96
  [activity_types_1.LumiaAlertValues.TWITCH_POWERUPS_POINTS]: LumiaEventListTypes.POINTS,
96
97
  // --- YouTube ---
@@ -135,7 +136,7 @@ exports.LumiaMapAlertTypeToEventListType = {
135
136
  [activity_types_1.LumiaAlertValues.KICK_HOST]: LumiaEventListTypes.HOSTS,
136
137
  // --- Third-party donation / commerce platforms ---
137
138
  [activity_types_1.LumiaAlertValues.STREAMLABS_DONATION]: LumiaEventListTypes.DONATION,
138
- [activity_types_1.LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.DONATION,
139
+ [activity_types_1.LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.CHARITY,
139
140
  [activity_types_1.LumiaAlertValues.STREAMLABS_MERCH]: LumiaEventListTypes.PURCHASES,
140
141
  [activity_types_1.LumiaAlertValues.STREAMLABS_REDEMPTION]: LumiaEventListTypes.REDEMPTION,
141
142
  [activity_types_1.LumiaAlertValues.STREAMLABS_PRIMEGIFT]: LumiaEventListTypes.GIFTS,
@@ -2319,7 +2319,11 @@ exports.AllVariables = {
2319
2319
  'battleId',
2320
2320
  'battleLabel',
2321
2321
  'creatorUsername',
2322
+ 'creatorDisplayname',
2323
+ 'creatorAvatar',
2322
2324
  'opponentUsername',
2325
+ 'opponentDisplayname',
2326
+ 'opponentAvatar',
2323
2327
  'creatorScore',
2324
2328
  'opponentScore',
2325
2329
  'giftId',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",