@lumiastream/lumia-types 3.6.9 → 3.7.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.
@@ -98,6 +98,12 @@ exports.LumiaRedemptionCurrencySymbol = {
98
98
  };
99
99
  const superstickerImageUrl = (stickerValue) => { var _a, _b; return (_b = (_a = youtube_superstickers_1.YoutubeSuperstickersData.find((sticker) => sticker.value === stickerValue)) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : ''; };
100
100
  const tiktokGiftImageUrl = (giftName) => { var _a, _b; return (_b = (_a = tiktok_gifts_1.TiktokGiftsData.find((gift) => gift.value === giftName)) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : ''; };
101
+ const kickKicksImageUrl = (kicksName) => { var _a, _b; return (_b = (_a = kick_kicks_1.KickKicksData.find((kick) => kick.value === kicksName)) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : ''; };
102
+ const bitsImageUrl = (amount) => {
103
+ var _a;
104
+ const tier = (_a = [10000, 5000, 1000, 100, 1].find((threshold) => amount >= threshold)) !== null && _a !== void 0 ? _a : 1;
105
+ return `https://d3aqoihi2n8ty8.cloudfront.net/actions/cheer/dark/animated/${tier}/4.gif`;
106
+ };
101
107
  exports.LumiaAlertConfigs = {
102
108
  // lumia: {
103
109
  [activity_types_1.LumiaAlertValues.LUMIASTREAM_DONATION]: {
@@ -436,6 +442,10 @@ exports.LumiaAlertConfigs = {
436
442
  {
437
443
  type: LumiaVariationConditions.EQUAL_USERNAME,
438
444
  },
445
+ {
446
+ type: LumiaVariationConditions.EQUAL_STRING,
447
+ description: 'Item is equal to',
448
+ },
439
449
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
440
450
  ],
441
451
  },
@@ -849,6 +859,7 @@ exports.LumiaAlertConfigs = {
849
859
  amount: '100',
850
860
  currency: LumiaRedemptionCurrency.POINTS,
851
861
  currencySymbol: exports.LumiaRedemptionCurrencySymbol.points,
862
+ contentImage: 'https://static-cdn.jtvnw.net/custom-reward-images/default-4.png',
852
863
  },
853
864
  },
854
865
  {
@@ -863,6 +874,7 @@ exports.LumiaAlertConfigs = {
863
874
  amount: '2000',
864
875
  currency: LumiaRedemptionCurrency.POINTS,
865
876
  currencySymbol: exports.LumiaRedemptionCurrencySymbol.points,
877
+ contentImage: 'https://static-cdn.jtvnw.net/custom-reward-images/default-4.png',
866
878
  },
867
879
  },
868
880
  {
@@ -877,6 +889,7 @@ exports.LumiaAlertConfigs = {
877
889
  amount: '10000',
878
890
  currency: LumiaRedemptionCurrency.POINTS,
879
891
  currencySymbol: exports.LumiaRedemptionCurrencySymbol.points,
892
+ contentImage: 'https://static-cdn.jtvnw.net/custom-reward-images/default-4.png',
880
893
  },
881
894
  },
882
895
  ],
@@ -1435,17 +1448,32 @@ exports.LumiaAlertConfigs = {
1435
1448
  {
1436
1449
  label: '100 bits',
1437
1450
  dynamic: { value: 100 },
1438
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 100 },
1451
+ extraSettings: {
1452
+ username: 'lumiastream',
1453
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1454
+ amount: 100,
1455
+ contentImage: bitsImageUrl(100),
1456
+ },
1439
1457
  },
1440
1458
  {
1441
1459
  label: '500 bits',
1442
1460
  dynamic: { value: 500 },
1443
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 500 },
1461
+ extraSettings: {
1462
+ username: 'lumiastream',
1463
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1464
+ amount: 500,
1465
+ contentImage: bitsImageUrl(500),
1466
+ },
1444
1467
  },
1445
1468
  {
1446
1469
  label: '1000 bits',
1447
1470
  dynamic: { value: 1000 },
1448
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 1000 },
1471
+ extraSettings: {
1472
+ username: 'lumiastream',
1473
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1474
+ amount: 1000,
1475
+ contentImage: bitsImageUrl(1000),
1476
+ },
1449
1477
  },
1450
1478
  ],
1451
1479
  inputFields: [
@@ -1494,6 +1522,7 @@ exports.LumiaAlertConfigs = {
1494
1522
  avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1495
1523
  amount: 500,
1496
1524
  bitsType: 'combo',
1525
+ contentImage: bitsImageUrl(500),
1497
1526
  },
1498
1527
  },
1499
1528
  {
@@ -1504,6 +1533,7 @@ exports.LumiaAlertConfigs = {
1504
1533
  avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1505
1534
  amount: 1000,
1506
1535
  bitsType: 'combo',
1536
+ contentImage: bitsImageUrl(1000),
1507
1537
  },
1508
1538
  },
1509
1539
  {
@@ -1514,6 +1544,7 @@ exports.LumiaAlertConfigs = {
1514
1544
  avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1515
1545
  amount: 2500,
1516
1546
  bitsType: 'combo',
1547
+ contentImage: bitsImageUrl(2500),
1517
1548
  },
1518
1549
  },
1519
1550
  ],
@@ -1759,17 +1790,32 @@ exports.LumiaAlertConfigs = {
1759
1790
  {
1760
1791
  label: '10 viewers',
1761
1792
  dynamic: { value: 10, amount: 10 },
1762
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10, amount: 10 },
1793
+ extraSettings: {
1794
+ username: 'lumiastream',
1795
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1796
+ viewers: 10,
1797
+ amount: 10,
1798
+ },
1763
1799
  },
1764
1800
  {
1765
1801
  label: '50 viewers',
1766
1802
  dynamic: { value: 50, amount: 50 },
1767
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50, amount: 50 },
1803
+ extraSettings: {
1804
+ username: 'lumiastream',
1805
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1806
+ viewers: 50,
1807
+ amount: 50,
1808
+ },
1768
1809
  },
1769
1810
  {
1770
1811
  label: '100 viewers',
1771
1812
  dynamic: { value: 100, amount: 100 },
1772
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100, amount: 100 },
1813
+ extraSettings: {
1814
+ username: 'lumiastream',
1815
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1816
+ viewers: 100,
1817
+ amount: 100,
1818
+ },
1773
1819
  },
1774
1820
  ],
1775
1821
  inputFields: [
@@ -1816,17 +1862,32 @@ exports.LumiaAlertConfigs = {
1816
1862
  {
1817
1863
  label: '10 viewers',
1818
1864
  dynamic: { value: 10, amount: 10 },
1819
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10, amount: 10 },
1865
+ extraSettings: {
1866
+ username: 'lumiastream',
1867
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1868
+ viewers: 10,
1869
+ amount: 10,
1870
+ },
1820
1871
  },
1821
1872
  {
1822
1873
  label: '50 viewers',
1823
1874
  dynamic: { value: 50, amount: 50 },
1824
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50, amount: 50 },
1875
+ extraSettings: {
1876
+ username: 'lumiastream',
1877
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1878
+ viewers: 50,
1879
+ amount: 50,
1880
+ },
1825
1881
  },
1826
1882
  {
1827
1883
  label: '100 viewers',
1828
1884
  dynamic: { value: 100, amount: 100 },
1829
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100, amount: 100 },
1885
+ extraSettings: {
1886
+ username: 'lumiastream',
1887
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1888
+ viewers: 100,
1889
+ amount: 100,
1890
+ },
1830
1891
  },
1831
1892
  ],
1832
1893
  inputFields: [
@@ -6305,6 +6366,7 @@ exports.LumiaAlertConfigs = {
6305
6366
  tier: 'BASIC',
6306
6367
  id: 'hype',
6307
6368
  message: 'This is so hype',
6369
+ contentImage: kickKicksImageUrl('Hype'),
6308
6370
  },
6309
6371
  },
6310
6372
  {
@@ -6319,6 +6381,7 @@ exports.LumiaAlertConfigs = {
6319
6381
  tier: 'MID',
6320
6382
  id: 'rage_quit',
6321
6383
  message: 'Im raging!!',
6384
+ contentImage: kickKicksImageUrl('Rage Quit'),
6322
6385
  },
6323
6386
  },
6324
6387
  ],
@@ -6347,6 +6410,14 @@ exports.LumiaAlertConfigs = {
6347
6410
  default: 'Hype',
6348
6411
  selections: kick_kicks_1.KickKicksData,
6349
6412
  },
6413
+ {
6414
+ type: 'selection',
6415
+ label: 'Kicks Image',
6416
+ variableField: 'contentImage',
6417
+ required: false,
6418
+ default: kickKicksImageUrl('Hype'),
6419
+ selections: kick_kicks_1.KickKicksImageSelections,
6420
+ },
6350
6421
  ],
6351
6422
  LumiaVariationConditions: [
6352
6423
  { type: LumiaVariationConditions.RANDOM },
@@ -6432,17 +6503,32 @@ exports.LumiaAlertConfigs = {
6432
6503
  {
6433
6504
  label: '10 viewers',
6434
6505
  dynamic: { value: 10, amount: 10 },
6435
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10, amount: 10 },
6506
+ extraSettings: {
6507
+ username: 'lumiastream',
6508
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
6509
+ viewers: 10,
6510
+ amount: 10,
6511
+ },
6436
6512
  },
6437
6513
  {
6438
6514
  label: '50 viewers',
6439
6515
  dynamic: { value: 50, amount: 50 },
6440
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50, amount: 50 },
6516
+ extraSettings: {
6517
+ username: 'lumiastream',
6518
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
6519
+ viewers: 50,
6520
+ amount: 50,
6521
+ },
6441
6522
  },
6442
6523
  {
6443
6524
  label: '100 viewers',
6444
6525
  dynamic: { value: 100, amount: 100 },
6445
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100, amount: 100 },
6526
+ extraSettings: {
6527
+ username: 'lumiastream',
6528
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
6529
+ viewers: 100,
6530
+ amount: 100,
6531
+ },
6446
6532
  },
6447
6533
  ],
6448
6534
  inputFields: [
@@ -1,7 +1,7 @@
1
1
  import { LumiaAlertValues } from './activity.types.js';
2
2
  import { LumiaIntegrations } from './event.types.js';
3
3
  import { AllVariables } from './variables.types.js';
4
- import { KickKicksData } from './kick_kicks.js';
4
+ import { KickKicksData, KickKicksImageSelections } from './kick_kicks.js';
5
5
  import { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts.js';
6
6
  import { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers.js';
7
7
  import { VIEWER_PROFILE_ACHIEVEMENTS } from './viewer_profile_achievements.js';
@@ -95,6 +95,12 @@ export const LumiaRedemptionCurrencySymbol = {
95
95
  };
96
96
  const superstickerImageUrl = (stickerValue) => { var _a, _b; return (_b = (_a = YoutubeSuperstickersData.find((sticker) => sticker.value === stickerValue)) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : ''; };
97
97
  const tiktokGiftImageUrl = (giftName) => { var _a, _b; return (_b = (_a = TiktokGiftsData.find((gift) => gift.value === giftName)) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : ''; };
98
+ const kickKicksImageUrl = (kicksName) => { var _a, _b; return (_b = (_a = KickKicksData.find((kick) => kick.value === kicksName)) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : ''; };
99
+ const bitsImageUrl = (amount) => {
100
+ var _a;
101
+ const tier = (_a = [10000, 5000, 1000, 100, 1].find((threshold) => amount >= threshold)) !== null && _a !== void 0 ? _a : 1;
102
+ return `https://d3aqoihi2n8ty8.cloudfront.net/actions/cheer/dark/animated/${tier}/4.gif`;
103
+ };
98
104
  export const LumiaAlertConfigs = {
99
105
  // lumia: {
100
106
  [LumiaAlertValues.LUMIASTREAM_DONATION]: {
@@ -433,6 +439,10 @@ export const LumiaAlertConfigs = {
433
439
  {
434
440
  type: LumiaVariationConditions.EQUAL_USERNAME,
435
441
  },
442
+ {
443
+ type: LumiaVariationConditions.EQUAL_STRING,
444
+ description: 'Item is equal to',
445
+ },
436
446
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
437
447
  ],
438
448
  },
@@ -846,6 +856,7 @@ export const LumiaAlertConfigs = {
846
856
  amount: '100',
847
857
  currency: LumiaRedemptionCurrency.POINTS,
848
858
  currencySymbol: LumiaRedemptionCurrencySymbol.points,
859
+ contentImage: 'https://static-cdn.jtvnw.net/custom-reward-images/default-4.png',
849
860
  },
850
861
  },
851
862
  {
@@ -860,6 +871,7 @@ export const LumiaAlertConfigs = {
860
871
  amount: '2000',
861
872
  currency: LumiaRedemptionCurrency.POINTS,
862
873
  currencySymbol: LumiaRedemptionCurrencySymbol.points,
874
+ contentImage: 'https://static-cdn.jtvnw.net/custom-reward-images/default-4.png',
863
875
  },
864
876
  },
865
877
  {
@@ -874,6 +886,7 @@ export const LumiaAlertConfigs = {
874
886
  amount: '10000',
875
887
  currency: LumiaRedemptionCurrency.POINTS,
876
888
  currencySymbol: LumiaRedemptionCurrencySymbol.points,
889
+ contentImage: 'https://static-cdn.jtvnw.net/custom-reward-images/default-4.png',
877
890
  },
878
891
  },
879
892
  ],
@@ -1432,17 +1445,32 @@ export const LumiaAlertConfigs = {
1432
1445
  {
1433
1446
  label: '100 bits',
1434
1447
  dynamic: { value: 100 },
1435
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 100 },
1448
+ extraSettings: {
1449
+ username: 'lumiastream',
1450
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1451
+ amount: 100,
1452
+ contentImage: bitsImageUrl(100),
1453
+ },
1436
1454
  },
1437
1455
  {
1438
1456
  label: '500 bits',
1439
1457
  dynamic: { value: 500 },
1440
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 500 },
1458
+ extraSettings: {
1459
+ username: 'lumiastream',
1460
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1461
+ amount: 500,
1462
+ contentImage: bitsImageUrl(500),
1463
+ },
1441
1464
  },
1442
1465
  {
1443
1466
  label: '1000 bits',
1444
1467
  dynamic: { value: 1000 },
1445
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', amount: 1000 },
1468
+ extraSettings: {
1469
+ username: 'lumiastream',
1470
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1471
+ amount: 1000,
1472
+ contentImage: bitsImageUrl(1000),
1473
+ },
1446
1474
  },
1447
1475
  ],
1448
1476
  inputFields: [
@@ -1491,6 +1519,7 @@ export const LumiaAlertConfigs = {
1491
1519
  avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1492
1520
  amount: 500,
1493
1521
  bitsType: 'combo',
1522
+ contentImage: bitsImageUrl(500),
1494
1523
  },
1495
1524
  },
1496
1525
  {
@@ -1501,6 +1530,7 @@ export const LumiaAlertConfigs = {
1501
1530
  avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1502
1531
  amount: 1000,
1503
1532
  bitsType: 'combo',
1533
+ contentImage: bitsImageUrl(1000),
1504
1534
  },
1505
1535
  },
1506
1536
  {
@@ -1511,6 +1541,7 @@ export const LumiaAlertConfigs = {
1511
1541
  avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1512
1542
  amount: 2500,
1513
1543
  bitsType: 'combo',
1544
+ contentImage: bitsImageUrl(2500),
1514
1545
  },
1515
1546
  },
1516
1547
  ],
@@ -1756,17 +1787,32 @@ export const LumiaAlertConfigs = {
1756
1787
  {
1757
1788
  label: '10 viewers',
1758
1789
  dynamic: { value: 10, amount: 10 },
1759
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10, amount: 10 },
1790
+ extraSettings: {
1791
+ username: 'lumiastream',
1792
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1793
+ viewers: 10,
1794
+ amount: 10,
1795
+ },
1760
1796
  },
1761
1797
  {
1762
1798
  label: '50 viewers',
1763
1799
  dynamic: { value: 50, amount: 50 },
1764
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50, amount: 50 },
1800
+ extraSettings: {
1801
+ username: 'lumiastream',
1802
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1803
+ viewers: 50,
1804
+ amount: 50,
1805
+ },
1765
1806
  },
1766
1807
  {
1767
1808
  label: '100 viewers',
1768
1809
  dynamic: { value: 100, amount: 100 },
1769
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100, amount: 100 },
1810
+ extraSettings: {
1811
+ username: 'lumiastream',
1812
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1813
+ viewers: 100,
1814
+ amount: 100,
1815
+ },
1770
1816
  },
1771
1817
  ],
1772
1818
  inputFields: [
@@ -1813,17 +1859,32 @@ export const LumiaAlertConfigs = {
1813
1859
  {
1814
1860
  label: '10 viewers',
1815
1861
  dynamic: { value: 10, amount: 10 },
1816
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10, amount: 10 },
1862
+ extraSettings: {
1863
+ username: 'lumiastream',
1864
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1865
+ viewers: 10,
1866
+ amount: 10,
1867
+ },
1817
1868
  },
1818
1869
  {
1819
1870
  label: '50 viewers',
1820
1871
  dynamic: { value: 50, amount: 50 },
1821
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50, amount: 50 },
1872
+ extraSettings: {
1873
+ username: 'lumiastream',
1874
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1875
+ viewers: 50,
1876
+ amount: 50,
1877
+ },
1822
1878
  },
1823
1879
  {
1824
1880
  label: '100 viewers',
1825
1881
  dynamic: { value: 100, amount: 100 },
1826
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100, amount: 100 },
1882
+ extraSettings: {
1883
+ username: 'lumiastream',
1884
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1885
+ viewers: 100,
1886
+ amount: 100,
1887
+ },
1827
1888
  },
1828
1889
  ],
1829
1890
  inputFields: [
@@ -6302,6 +6363,7 @@ export const LumiaAlertConfigs = {
6302
6363
  tier: 'BASIC',
6303
6364
  id: 'hype',
6304
6365
  message: 'This is so hype',
6366
+ contentImage: kickKicksImageUrl('Hype'),
6305
6367
  },
6306
6368
  },
6307
6369
  {
@@ -6316,6 +6378,7 @@ export const LumiaAlertConfigs = {
6316
6378
  tier: 'MID',
6317
6379
  id: 'rage_quit',
6318
6380
  message: 'Im raging!!',
6381
+ contentImage: kickKicksImageUrl('Rage Quit'),
6319
6382
  },
6320
6383
  },
6321
6384
  ],
@@ -6344,6 +6407,14 @@ export const LumiaAlertConfigs = {
6344
6407
  default: 'Hype',
6345
6408
  selections: KickKicksData,
6346
6409
  },
6410
+ {
6411
+ type: 'selection',
6412
+ label: 'Kicks Image',
6413
+ variableField: 'contentImage',
6414
+ required: false,
6415
+ default: kickKicksImageUrl('Hype'),
6416
+ selections: KickKicksImageSelections,
6417
+ },
6347
6418
  ],
6348
6419
  LumiaVariationConditions: [
6349
6420
  { type: LumiaVariationConditions.RANDOM },
@@ -6429,17 +6500,32 @@ export const LumiaAlertConfigs = {
6429
6500
  {
6430
6501
  label: '10 viewers',
6431
6502
  dynamic: { value: 10, amount: 10 },
6432
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10, amount: 10 },
6503
+ extraSettings: {
6504
+ username: 'lumiastream',
6505
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
6506
+ viewers: 10,
6507
+ amount: 10,
6508
+ },
6433
6509
  },
6434
6510
  {
6435
6511
  label: '50 viewers',
6436
6512
  dynamic: { value: 50, amount: 50 },
6437
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50, amount: 50 },
6513
+ extraSettings: {
6514
+ username: 'lumiastream',
6515
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
6516
+ viewers: 50,
6517
+ amount: 50,
6518
+ },
6438
6519
  },
6439
6520
  {
6440
6521
  label: '100 viewers',
6441
6522
  dynamic: { value: 100, amount: 100 },
6442
- extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100, amount: 100 },
6523
+ extraSettings: {
6524
+ username: 'lumiastream',
6525
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
6526
+ viewers: 100,
6527
+ amount: 100,
6528
+ },
6443
6529
  },
6444
6530
  ],
6445
6531
  inputFields: [
package/dist/esm/index.js CHANGED
@@ -5,7 +5,7 @@ export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter,
5
5
  export { SystemVariables, ReservedVariables, AllVariables, getAcceptedVariableName, getAcceptedVariableNames, } from './variables.types.js';
6
6
  export { formatCondition } from './helpers.js';
7
7
  export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, aliasContentImageFromLegacy, isRedundantInputField, syncLinkedVariableFields, } from './emulate.helpers.js';
8
- export { KickKicksData } from './kick_kicks.js';
8
+ export { KickKicksData, KickKicksImageSelections } from './kick_kicks.js';
9
9
  export { BLANK_OVERLAY_TEMPLATE_ID } from './overlay_template.types.js';
10
10
  export { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts.js';
11
11
  export { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers.js';
@@ -90,3 +90,7 @@ export const KickKicksData = [
90
90
  giftId: 'booooom',
91
91
  },
92
92
  ];
93
+ export const KickKicksImageSelections = KickKicksData.map((kick) => ({
94
+ label: `${kick.label} (${kick.helperText})`,
95
+ value: kick.imageUrl,
96
+ }));
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter,
5
5
  export { SystemVariables, ReservedVariables, AllVariables, getAcceptedVariableName, getAcceptedVariableNames, type LumiaAcceptedVariable, type LumiaAcceptedVariableDefinition, type CountableVariableValue, type DonatorVariableValue, } from './variables.types';
6
6
  export { formatCondition } from './helpers';
7
7
  export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, aliasContentImageFromLegacy, isRedundantInputField, syncLinkedVariableFields, type InputFieldLike, } from './emulate.helpers';
8
- export { KickKicksData } from './kick_kicks';
8
+ export { KickKicksData, KickKicksImageSelections } from './kick_kicks';
9
9
  export { BLANK_OVERLAY_TEMPLATE_ID, type OverlayTemplate, type OverlayTemplateLayerDescriptor, type OverlayTemplateAnchor, type OverlayTemplateLayerOverrides } from './overlay_template.types';
10
10
  export { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts';
11
11
  export { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SongRequestPlaybackTarget = exports.SongRequestProvider = exports.SongRequestSource = exports.SongRequestStatus = exports.VIEWER_PROFILE_ACHIEVEMENTS = exports.YoutubeSuperstickerImageSelections = exports.YoutubeSuperstickersData = exports.TiktokGiftImageSelections = exports.TiktokGiftsData = exports.BLANK_OVERLAY_TEMPLATE_ID = exports.KickKicksData = exports.syncLinkedVariableFields = exports.isRedundantInputField = exports.aliasContentImageFromLegacy = exports.coerceNumericAlertFields = exports.buildExampleAlertVariables = exports.getExampleAlertVariableValue = exports.EMULATE_EXAMPLE_AVATAR_URL = exports.formatCondition = exports.getAcceptedVariableNames = exports.getAcceptedVariableName = exports.AllVariables = exports.ReservedVariables = exports.SystemVariables = exports.getEventListCategoryColor = exports.LumiaEventListTypeColors = exports.PlatformsToFilter = exports.AlertsToFilter = exports.LumiaMapAlertTypeToEventListType = exports.LumiaEventListTypes = exports.LumiaEventTypes = exports.LumiaIntegrations = exports.LumiaAlertConfigs = exports.LumiaRedemptionCurrencySymbol = exports.LumiaRedemptionCurrency = exports.VariationCurrencySymbol = exports.LumiaVariationCurrency = exports.LumiaVariationConditions = exports.LumiaActivityTestType = exports.LumiaActivityNoValueTypes = exports.LumiaActivityApiValueType = exports.LumiaActivityOriginTypes = exports.LumiaAlertFriendlyValues = exports.LumiaAlertValues = exports.LumiaExternalActivityCommandTypes = exports.LumiaActivityCommandTypes = exports.LumiaStreamingSites = void 0;
3
+ exports.SongRequestPlaybackTarget = exports.SongRequestProvider = exports.SongRequestSource = exports.SongRequestStatus = exports.VIEWER_PROFILE_ACHIEVEMENTS = exports.YoutubeSuperstickerImageSelections = exports.YoutubeSuperstickersData = exports.TiktokGiftImageSelections = exports.TiktokGiftsData = exports.BLANK_OVERLAY_TEMPLATE_ID = exports.KickKicksImageSelections = exports.KickKicksData = exports.syncLinkedVariableFields = exports.isRedundantInputField = exports.aliasContentImageFromLegacy = exports.coerceNumericAlertFields = exports.buildExampleAlertVariables = exports.getExampleAlertVariableValue = exports.EMULATE_EXAMPLE_AVATAR_URL = exports.formatCondition = exports.getAcceptedVariableNames = exports.getAcceptedVariableName = exports.AllVariables = exports.ReservedVariables = exports.SystemVariables = exports.getEventListCategoryColor = exports.LumiaEventListTypeColors = exports.PlatformsToFilter = exports.AlertsToFilter = exports.LumiaMapAlertTypeToEventListType = exports.LumiaEventListTypes = exports.LumiaEventTypes = exports.LumiaIntegrations = exports.LumiaAlertConfigs = exports.LumiaRedemptionCurrencySymbol = exports.LumiaRedemptionCurrency = exports.VariationCurrencySymbol = exports.LumiaVariationCurrency = exports.LumiaVariationConditions = exports.LumiaActivityTestType = exports.LumiaActivityNoValueTypes = exports.LumiaActivityApiValueType = exports.LumiaActivityOriginTypes = exports.LumiaAlertFriendlyValues = exports.LumiaAlertValues = exports.LumiaExternalActivityCommandTypes = exports.LumiaActivityCommandTypes = exports.LumiaStreamingSites = void 0;
4
4
  var activity_types_1 = require("./activity.types");
5
5
  Object.defineProperty(exports, "LumiaStreamingSites", { enumerable: true, get: function () { return activity_types_1.LumiaStreamingSites; } });
6
6
  Object.defineProperty(exports, "LumiaActivityCommandTypes", { enumerable: true, get: function () { return activity_types_1.LumiaActivityCommandTypes; } });
@@ -46,6 +46,7 @@ Object.defineProperty(exports, "isRedundantInputField", { enumerable: true, get:
46
46
  Object.defineProperty(exports, "syncLinkedVariableFields", { enumerable: true, get: function () { return emulate_helpers_1.syncLinkedVariableFields; } });
47
47
  var kick_kicks_1 = require("./kick_kicks");
48
48
  Object.defineProperty(exports, "KickKicksData", { enumerable: true, get: function () { return kick_kicks_1.KickKicksData; } });
49
+ Object.defineProperty(exports, "KickKicksImageSelections", { enumerable: true, get: function () { return kick_kicks_1.KickKicksImageSelections; } });
49
50
  var overlay_template_types_1 = require("./overlay_template.types");
50
51
  Object.defineProperty(exports, "BLANK_OVERLAY_TEMPLATE_ID", { enumerable: true, get: function () { return overlay_template_types_1.BLANK_OVERLAY_TEMPLATE_ID; } });
51
52
  var tiktok_gifts_1 = require("./tiktok_gifts");
@@ -7,3 +7,7 @@ export declare const KickKicksData: {
7
7
  searchText: string;
8
8
  giftId: string;
9
9
  }[];
10
+ export declare const KickKicksImageSelections: {
11
+ label: string;
12
+ value: string;
13
+ }[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KickKicksData = void 0;
3
+ exports.KickKicksImageSelections = exports.KickKicksData = void 0;
4
4
  exports.KickKicksData = [
5
5
  {
6
6
  value: 'Hell Yeah',
@@ -93,3 +93,7 @@ exports.KickKicksData = [
93
93
  giftId: 'booooom',
94
94
  },
95
95
  ];
96
+ exports.KickKicksImageSelections = exports.KickKicksData.map((kick) => ({
97
+ label: `${kick.label} (${kick.helperText})`,
98
+ value: kick.imageUrl,
99
+ }));
@@ -114,6 +114,7 @@ export interface TwitchBitsExtraSettings {
114
114
  value: number;
115
115
  bits: number;
116
116
  bitsType: string;
117
+ contentImage?: string;
117
118
  message: string;
118
119
  rawMessage: string;
119
120
  full_message?: string;
@@ -130,6 +131,7 @@ export interface TwitchBitsComboExtraSettings {
130
131
  avatar?: string;
131
132
  userId: string | number;
132
133
  bitsType: string;
134
+ contentImage?: string;
133
135
  message: string;
134
136
  rawMessage: string;
135
137
  full_message?: string;
@@ -556,6 +558,7 @@ export interface KickKicksExtraSettings {
556
558
  tier: string;
557
559
  id: string;
558
560
  type: string;
561
+ contentImage?: string;
559
562
  message: string;
560
563
  rawMessage: string;
561
564
  full_message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.6.9",
3
+ "version": "3.7.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",