@lumiastream/lumia-types 3.4.4 → 3.4.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.
- package/dist/alert.types.d.ts +1 -0
- package/dist/alert.types.js +191 -72
- package/dist/custom-code/helper-functions.md +1 -2
- package/dist/esm/alert.types.js +191 -72
- package/dist/esm/eventlist.types.js +32 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/variables.types.js +18 -16
- package/dist/eventlist.types.d.ts +2 -0
- package/dist/eventlist.types.js +34 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/variables.types.js +18 -16
- package/package.json +1 -1
package/dist/esm/alert.types.js
CHANGED
|
@@ -1234,7 +1234,7 @@ export const LumiaAlertConfigs = {
|
|
|
1234
1234
|
quickActions: [
|
|
1235
1235
|
{
|
|
1236
1236
|
label: 'Gift 1 Sub',
|
|
1237
|
-
dynamic: { value: 1000, giftAmount: 1 },
|
|
1237
|
+
dynamic: { value: 1000, giftAmount: 1, amount: 1 },
|
|
1238
1238
|
extraSettings: {
|
|
1239
1239
|
username: 'lumiastream',
|
|
1240
1240
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
@@ -1243,6 +1243,7 @@ export const LumiaAlertConfigs = {
|
|
|
1243
1243
|
recipients: 'worldlights',
|
|
1244
1244
|
recipientsRaw: [{ username: 'worldlights', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } }],
|
|
1245
1245
|
giftAmount: 1,
|
|
1246
|
+
amount: 1,
|
|
1246
1247
|
totalGifts: 1,
|
|
1247
1248
|
subMonths: 1,
|
|
1248
1249
|
tier: 'Tier 1',
|
|
@@ -1252,7 +1253,7 @@ export const LumiaAlertConfigs = {
|
|
|
1252
1253
|
},
|
|
1253
1254
|
{
|
|
1254
1255
|
label: 'Gift 5 Subs',
|
|
1255
|
-
dynamic: { value: 1000, giftAmount: 5 },
|
|
1256
|
+
dynamic: { value: 1000, giftAmount: 5, amount: 5 },
|
|
1256
1257
|
extraSettings: {
|
|
1257
1258
|
username: 'lumiastream',
|
|
1258
1259
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
@@ -1267,6 +1268,7 @@ export const LumiaAlertConfigs = {
|
|
|
1267
1268
|
{ username: 'rgblumia', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } },
|
|
1268
1269
|
],
|
|
1269
1270
|
giftAmount: 5,
|
|
1271
|
+
amount: 5,
|
|
1270
1272
|
totalGifts: 5,
|
|
1271
1273
|
subMonths: 1,
|
|
1272
1274
|
tier: 'Tier 1',
|
|
@@ -1305,6 +1307,13 @@ export const LumiaAlertConfigs = {
|
|
|
1305
1307
|
required: true,
|
|
1306
1308
|
default: 1,
|
|
1307
1309
|
},
|
|
1310
|
+
{
|
|
1311
|
+
type: 'number',
|
|
1312
|
+
label: 'Amount',
|
|
1313
|
+
variableField: 'amount',
|
|
1314
|
+
required: false,
|
|
1315
|
+
default: 1,
|
|
1316
|
+
},
|
|
1308
1317
|
{
|
|
1309
1318
|
type: 'selection',
|
|
1310
1319
|
label: 'Sub Plan',
|
|
@@ -1821,18 +1830,18 @@ export const LumiaAlertConfigs = {
|
|
|
1821
1830
|
quickActions: [
|
|
1822
1831
|
{
|
|
1823
1832
|
label: '10 viewers',
|
|
1824
|
-
dynamic: { value: 10 },
|
|
1825
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10 },
|
|
1833
|
+
dynamic: { value: 10, amount: 10 },
|
|
1834
|
+
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 },
|
|
1826
1835
|
},
|
|
1827
1836
|
{
|
|
1828
1837
|
label: '50 viewers',
|
|
1829
|
-
dynamic: { value: 50 },
|
|
1830
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50 },
|
|
1838
|
+
dynamic: { value: 50, amount: 50 },
|
|
1839
|
+
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 },
|
|
1831
1840
|
},
|
|
1832
1841
|
{
|
|
1833
1842
|
label: '100 viewers',
|
|
1834
|
-
dynamic: { value: 100 },
|
|
1835
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100 },
|
|
1843
|
+
dynamic: { value: 100, amount: 100 },
|
|
1844
|
+
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 },
|
|
1836
1845
|
},
|
|
1837
1846
|
],
|
|
1838
1847
|
inputFields: [
|
|
@@ -1851,6 +1860,13 @@ export const LumiaAlertConfigs = {
|
|
|
1851
1860
|
required: true,
|
|
1852
1861
|
default: 100,
|
|
1853
1862
|
},
|
|
1863
|
+
{
|
|
1864
|
+
type: 'number',
|
|
1865
|
+
label: 'Amount',
|
|
1866
|
+
variableField: 'amount',
|
|
1867
|
+
required: false,
|
|
1868
|
+
default: 100,
|
|
1869
|
+
},
|
|
1854
1870
|
],
|
|
1855
1871
|
LumiaVariationConditions: [
|
|
1856
1872
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -1870,18 +1886,18 @@ export const LumiaAlertConfigs = {
|
|
|
1870
1886
|
quickActions: [
|
|
1871
1887
|
{
|
|
1872
1888
|
label: '10 viewers',
|
|
1873
|
-
dynamic: { value: 10 },
|
|
1874
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10 },
|
|
1889
|
+
dynamic: { value: 10, amount: 10 },
|
|
1890
|
+
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 },
|
|
1875
1891
|
},
|
|
1876
1892
|
{
|
|
1877
1893
|
label: '50 viewers',
|
|
1878
|
-
dynamic: { value: 50 },
|
|
1879
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50 },
|
|
1894
|
+
dynamic: { value: 50, amount: 50 },
|
|
1895
|
+
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 },
|
|
1880
1896
|
},
|
|
1881
1897
|
{
|
|
1882
1898
|
label: '100 viewers',
|
|
1883
|
-
dynamic: { value: 100 },
|
|
1884
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100 },
|
|
1899
|
+
dynamic: { value: 100, amount: 100 },
|
|
1900
|
+
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
1901
|
},
|
|
1886
1902
|
],
|
|
1887
1903
|
inputFields: [
|
|
@@ -1900,6 +1916,13 @@ export const LumiaAlertConfigs = {
|
|
|
1900
1916
|
required: true,
|
|
1901
1917
|
default: 100,
|
|
1902
1918
|
},
|
|
1919
|
+
{
|
|
1920
|
+
type: 'number',
|
|
1921
|
+
label: 'Amount',
|
|
1922
|
+
variableField: 'amount',
|
|
1923
|
+
required: false,
|
|
1924
|
+
default: 100,
|
|
1925
|
+
},
|
|
1903
1926
|
],
|
|
1904
1927
|
LumiaVariationConditions: [
|
|
1905
1928
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -1935,18 +1958,18 @@ export const LumiaAlertConfigs = {
|
|
|
1935
1958
|
quickActions: [
|
|
1936
1959
|
{
|
|
1937
1960
|
label: 'Progress 100',
|
|
1938
|
-
dynamic: { value: 100 },
|
|
1939
|
-
extraSettings: { level: 1, total: 100, progress: 100, goal: 4 },
|
|
1961
|
+
dynamic: { value: 100, amount: 100 },
|
|
1962
|
+
extraSettings: { level: 1, total: 100, progress: 100, goal: 4, amount: 100 },
|
|
1940
1963
|
},
|
|
1941
1964
|
{
|
|
1942
1965
|
label: 'Progress 200',
|
|
1943
|
-
dynamic: { value: 200 },
|
|
1944
|
-
extraSettings: { level: 1, total: 200, progress: 200, goal: 4 },
|
|
1966
|
+
dynamic: { value: 200, amount: 200 },
|
|
1967
|
+
extraSettings: { level: 1, total: 200, progress: 200, goal: 4, amount: 200 },
|
|
1945
1968
|
},
|
|
1946
1969
|
{
|
|
1947
1970
|
label: 'Progress 300',
|
|
1948
|
-
dynamic: { value: 300 },
|
|
1949
|
-
extraSettings: { level: 1, total: 300, progress: 300, goal: 4 },
|
|
1971
|
+
dynamic: { value: 300, amount: 300 },
|
|
1972
|
+
extraSettings: { level: 1, total: 300, progress: 300, goal: 4, amount: 300 },
|
|
1950
1973
|
},
|
|
1951
1974
|
],
|
|
1952
1975
|
inputFields: [
|
|
@@ -1958,6 +1981,13 @@ export const LumiaAlertConfigs = {
|
|
|
1958
1981
|
required: false,
|
|
1959
1982
|
default: 100,
|
|
1960
1983
|
},
|
|
1984
|
+
{
|
|
1985
|
+
type: 'number',
|
|
1986
|
+
label: 'Amount',
|
|
1987
|
+
variableField: 'amount',
|
|
1988
|
+
required: false,
|
|
1989
|
+
default: 100,
|
|
1990
|
+
},
|
|
1961
1991
|
],
|
|
1962
1992
|
LumiaVariationConditions: [
|
|
1963
1993
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -1980,28 +2010,28 @@ export const LumiaAlertConfigs = {
|
|
|
1980
2010
|
quickActions: [
|
|
1981
2011
|
{
|
|
1982
2012
|
label: 'Level 1',
|
|
1983
|
-
dynamic: { value: 1 },
|
|
1984
|
-
extraSettings: { level: 1, total: 0, progress: 0, goal: 5 },
|
|
2013
|
+
dynamic: { value: 1, amount: 1 },
|
|
2014
|
+
extraSettings: { level: 1, total: 0, progress: 0, goal: 5, amount: 1 },
|
|
1985
2015
|
},
|
|
1986
2016
|
{
|
|
1987
2017
|
label: 'Level 2',
|
|
1988
|
-
dynamic: { value: 2 },
|
|
1989
|
-
extraSettings: { level: 2, total: 100, progress: 100, goal: 5 },
|
|
2018
|
+
dynamic: { value: 2, amount: 2 },
|
|
2019
|
+
extraSettings: { level: 2, total: 100, progress: 100, goal: 5, amount: 2 },
|
|
1990
2020
|
},
|
|
1991
2021
|
{
|
|
1992
2022
|
label: 'Level 3',
|
|
1993
|
-
dynamic: { value: 3 },
|
|
1994
|
-
extraSettings: { level: 3, total: 100, progress: 100, goal: 5 },
|
|
2023
|
+
dynamic: { value: 3, amount: 3 },
|
|
2024
|
+
extraSettings: { level: 3, total: 100, progress: 100, goal: 5, amount: 3 },
|
|
1995
2025
|
},
|
|
1996
2026
|
{
|
|
1997
2027
|
label: 'Level 4',
|
|
1998
|
-
dynamic: { value: 4 },
|
|
1999
|
-
extraSettings: { level: 4, total: 100, progress: 100, goal: 5 },
|
|
2028
|
+
dynamic: { value: 4, amount: 4 },
|
|
2029
|
+
extraSettings: { level: 4, total: 100, progress: 100, goal: 5, amount: 4 },
|
|
2000
2030
|
},
|
|
2001
2031
|
{
|
|
2002
2032
|
label: 'Level 5',
|
|
2003
|
-
dynamic: { value: 5 },
|
|
2004
|
-
extraSettings: { level: 5, total: 100, progress: 100, goal: 5 },
|
|
2033
|
+
dynamic: { value: 5, amount: 5 },
|
|
2034
|
+
extraSettings: { level: 5, total: 100, progress: 100, goal: 5, amount: 5 },
|
|
2005
2035
|
},
|
|
2006
2036
|
],
|
|
2007
2037
|
inputFields: [
|
|
@@ -2013,6 +2043,13 @@ export const LumiaAlertConfigs = {
|
|
|
2013
2043
|
required: false,
|
|
2014
2044
|
default: 2,
|
|
2015
2045
|
},
|
|
2046
|
+
{
|
|
2047
|
+
type: 'number',
|
|
2048
|
+
label: 'Amount',
|
|
2049
|
+
variableField: 'amount',
|
|
2050
|
+
required: false,
|
|
2051
|
+
default: 2,
|
|
2052
|
+
},
|
|
2016
2053
|
],
|
|
2017
2054
|
LumiaVariationConditions: [
|
|
2018
2055
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -2035,28 +2072,28 @@ export const LumiaAlertConfigs = {
|
|
|
2035
2072
|
quickActions: [
|
|
2036
2073
|
{
|
|
2037
2074
|
label: 'Level 1',
|
|
2038
|
-
dynamic: { value: 1 },
|
|
2039
|
-
extraSettings: { level: 1, total: 0, progress: 0, goal: 5 },
|
|
2075
|
+
dynamic: { value: 1, amount: 1 },
|
|
2076
|
+
extraSettings: { level: 1, total: 0, progress: 0, goal: 5, amount: 1 },
|
|
2040
2077
|
},
|
|
2041
2078
|
{
|
|
2042
2079
|
label: 'Level 2',
|
|
2043
|
-
dynamic: { value: 2 },
|
|
2044
|
-
extraSettings: { level: 2, total: 100, progress: 100, goal: 5 },
|
|
2080
|
+
dynamic: { value: 2, amount: 2 },
|
|
2081
|
+
extraSettings: { level: 2, total: 100, progress: 100, goal: 5, amount: 2 },
|
|
2045
2082
|
},
|
|
2046
2083
|
{
|
|
2047
2084
|
label: 'Level 3',
|
|
2048
|
-
dynamic: { value: 3 },
|
|
2049
|
-
extraSettings: { level: 3, total: 100, progress: 100, goal: 5 },
|
|
2085
|
+
dynamic: { value: 3, amount: 3 },
|
|
2086
|
+
extraSettings: { level: 3, total: 100, progress: 100, goal: 5, amount: 3 },
|
|
2050
2087
|
},
|
|
2051
2088
|
{
|
|
2052
2089
|
label: 'Level 4',
|
|
2053
|
-
dynamic: { value: 4 },
|
|
2054
|
-
extraSettings: { level: 4, total: 100, progress: 100, goal: 5 },
|
|
2090
|
+
dynamic: { value: 4, amount: 4 },
|
|
2091
|
+
extraSettings: { level: 4, total: 100, progress: 100, goal: 5, amount: 4 },
|
|
2055
2092
|
},
|
|
2056
2093
|
{
|
|
2057
2094
|
label: 'Level 5',
|
|
2058
|
-
dynamic: { value: 5 },
|
|
2059
|
-
extraSettings: { level: 5, total: 100, progress: 100, goal: 5 },
|
|
2095
|
+
dynamic: { value: 5, amount: 5 },
|
|
2096
|
+
extraSettings: { level: 5, total: 100, progress: 100, goal: 5, amount: 5 },
|
|
2060
2097
|
},
|
|
2061
2098
|
],
|
|
2062
2099
|
inputFields: [
|
|
@@ -2068,6 +2105,13 @@ export const LumiaAlertConfigs = {
|
|
|
2068
2105
|
required: false,
|
|
2069
2106
|
default: 2,
|
|
2070
2107
|
},
|
|
2108
|
+
{
|
|
2109
|
+
type: 'number',
|
|
2110
|
+
label: 'Amount',
|
|
2111
|
+
variableField: 'amount',
|
|
2112
|
+
required: false,
|
|
2113
|
+
default: 2,
|
|
2114
|
+
},
|
|
2071
2115
|
],
|
|
2072
2116
|
LumiaVariationConditions: [
|
|
2073
2117
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -3397,9 +3441,10 @@ export const LumiaAlertConfigs = {
|
|
|
3397
3441
|
quickActions: [
|
|
3398
3442
|
{
|
|
3399
3443
|
label: 'Ad Started',
|
|
3400
|
-
dynamic: { value: '60' },
|
|
3444
|
+
dynamic: { value: '60', amount: 60 },
|
|
3401
3445
|
extraSettings: {
|
|
3402
3446
|
length: '60',
|
|
3447
|
+
amount: 60,
|
|
3403
3448
|
is_automatic: false,
|
|
3404
3449
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
3405
3450
|
},
|
|
@@ -3414,6 +3459,13 @@ export const LumiaAlertConfigs = {
|
|
|
3414
3459
|
required: true,
|
|
3415
3460
|
default: '60',
|
|
3416
3461
|
},
|
|
3462
|
+
{
|
|
3463
|
+
type: 'number',
|
|
3464
|
+
label: 'Amount',
|
|
3465
|
+
variableField: 'amount',
|
|
3466
|
+
required: false,
|
|
3467
|
+
default: 60,
|
|
3468
|
+
},
|
|
3417
3469
|
],
|
|
3418
3470
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
|
|
3419
3471
|
},
|
|
@@ -3426,9 +3478,10 @@ export const LumiaAlertConfigs = {
|
|
|
3426
3478
|
quickActions: [
|
|
3427
3479
|
{
|
|
3428
3480
|
label: 'Ad Stopped',
|
|
3429
|
-
dynamic: { value: '60' },
|
|
3481
|
+
dynamic: { value: '60', amount: 60 },
|
|
3430
3482
|
extraSettings: {
|
|
3431
3483
|
length: '60',
|
|
3484
|
+
amount: 60,
|
|
3432
3485
|
is_automatic: false,
|
|
3433
3486
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
3434
3487
|
next_ad_starts: '1 hour, 5 minutes, 20 seconds',
|
|
@@ -3445,6 +3498,13 @@ export const LumiaAlertConfigs = {
|
|
|
3445
3498
|
required: true,
|
|
3446
3499
|
default: '60',
|
|
3447
3500
|
},
|
|
3501
|
+
{
|
|
3502
|
+
type: 'number',
|
|
3503
|
+
label: 'Amount',
|
|
3504
|
+
variableField: 'amount',
|
|
3505
|
+
required: false,
|
|
3506
|
+
default: 60,
|
|
3507
|
+
},
|
|
3448
3508
|
],
|
|
3449
3509
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
|
|
3450
3510
|
},
|
|
@@ -4386,18 +4446,18 @@ export const LumiaAlertConfigs = {
|
|
|
4386
4446
|
quickActions: [
|
|
4387
4447
|
{
|
|
4388
4448
|
label: '10 likes',
|
|
4389
|
-
dynamic: { value: 10 },
|
|
4390
|
-
extraSettings: { likes: 10, dislikes: 2 },
|
|
4449
|
+
dynamic: { value: 10, amount: 10 },
|
|
4450
|
+
extraSettings: { likes: 10, dislikes: 2, amount: 10 },
|
|
4391
4451
|
},
|
|
4392
4452
|
{
|
|
4393
4453
|
label: '20 likes',
|
|
4394
|
-
dynamic: { value: 20 },
|
|
4395
|
-
extraSettings: { likes: 20, dislikes: 2 },
|
|
4454
|
+
dynamic: { value: 20, amount: 20 },
|
|
4455
|
+
extraSettings: { likes: 20, dislikes: 2, amount: 20 },
|
|
4396
4456
|
},
|
|
4397
4457
|
{
|
|
4398
4458
|
label: '100 likes',
|
|
4399
|
-
dynamic: { value: 100 },
|
|
4400
|
-
extraSettings: { likes: 100, dislikes: 2 },
|
|
4459
|
+
dynamic: { value: 100, amount: 100 },
|
|
4460
|
+
extraSettings: { likes: 100, dislikes: 2, amount: 100 },
|
|
4401
4461
|
},
|
|
4402
4462
|
],
|
|
4403
4463
|
LumiaVariationConditions: [
|
|
@@ -4416,18 +4476,18 @@ export const LumiaAlertConfigs = {
|
|
|
4416
4476
|
quickActions: [
|
|
4417
4477
|
{
|
|
4418
4478
|
label: '100 viewers',
|
|
4419
|
-
dynamic: { value: 100 },
|
|
4420
|
-
extraSettings: { viewers: 100 },
|
|
4479
|
+
dynamic: { value: 100, amount: 100 },
|
|
4480
|
+
extraSettings: { viewers: 100, amount: 100 },
|
|
4421
4481
|
},
|
|
4422
4482
|
{
|
|
4423
4483
|
label: '200 viewers',
|
|
4424
|
-
dynamic: { value: 200 },
|
|
4425
|
-
extraSettings: { viewers: 200 },
|
|
4484
|
+
dynamic: { value: 200, amount: 200 },
|
|
4485
|
+
extraSettings: { viewers: 200, amount: 200 },
|
|
4426
4486
|
},
|
|
4427
4487
|
{
|
|
4428
4488
|
label: '300 viewers',
|
|
4429
|
-
dynamic: { value: 300 },
|
|
4430
|
-
extraSettings: { viewers: 300 },
|
|
4489
|
+
dynamic: { value: 300, amount: 300 },
|
|
4490
|
+
extraSettings: { viewers: 300, amount: 300 },
|
|
4431
4491
|
},
|
|
4432
4492
|
],
|
|
4433
4493
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Viewers Greater Than' }],
|
|
@@ -4819,22 +4879,24 @@ export const LumiaAlertConfigs = {
|
|
|
4819
4879
|
quickActions: [
|
|
4820
4880
|
{
|
|
4821
4881
|
label: '200 User Likes',
|
|
4822
|
-
dynamic: { value: 200 },
|
|
4882
|
+
dynamic: { value: 200, amount: 200 },
|
|
4823
4883
|
extraSettings: {
|
|
4824
4884
|
username: 'lumiastream',
|
|
4825
4885
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4826
4886
|
userLikeCount: 200,
|
|
4827
4887
|
totalLikeCount: 1000,
|
|
4888
|
+
amount: 200,
|
|
4828
4889
|
},
|
|
4829
4890
|
},
|
|
4830
4891
|
{
|
|
4831
4892
|
label: '1000 User Likes',
|
|
4832
|
-
dynamic: { value: 1000 },
|
|
4893
|
+
dynamic: { value: 1000, amount: 1000 },
|
|
4833
4894
|
extraSettings: {
|
|
4834
4895
|
username: 'lumiastream',
|
|
4835
4896
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4836
4897
|
userLikeCount: 1000,
|
|
4837
4898
|
totalLikeCount: 5000,
|
|
4899
|
+
amount: 1000,
|
|
4838
4900
|
},
|
|
4839
4901
|
},
|
|
4840
4902
|
],
|
|
@@ -4861,6 +4923,13 @@ export const LumiaAlertConfigs = {
|
|
|
4861
4923
|
required: false,
|
|
4862
4924
|
default: 1000,
|
|
4863
4925
|
},
|
|
4926
|
+
{
|
|
4927
|
+
type: 'number',
|
|
4928
|
+
label: 'Amount',
|
|
4929
|
+
variableField: 'amount',
|
|
4930
|
+
required: false,
|
|
4931
|
+
default: 100,
|
|
4932
|
+
},
|
|
4864
4933
|
],
|
|
4865
4934
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'User Like Count Greater Than' }],
|
|
4866
4935
|
},
|
|
@@ -4874,32 +4943,35 @@ export const LumiaAlertConfigs = {
|
|
|
4874
4943
|
quickActions: [
|
|
4875
4944
|
{
|
|
4876
4945
|
label: '1000 Total Likes',
|
|
4877
|
-
dynamic: { value: 1000 },
|
|
4946
|
+
dynamic: { value: 1000, amount: 1000 },
|
|
4878
4947
|
extraSettings: {
|
|
4879
4948
|
username: 'lumiastream',
|
|
4880
4949
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4881
4950
|
userLikeCount: 200,
|
|
4882
4951
|
totalLikeCount: 1000,
|
|
4952
|
+
amount: 1000,
|
|
4883
4953
|
},
|
|
4884
4954
|
},
|
|
4885
4955
|
{
|
|
4886
4956
|
label: '5000 Total Likes',
|
|
4887
|
-
dynamic: { value: 5000 },
|
|
4957
|
+
dynamic: { value: 5000, amount: 5000 },
|
|
4888
4958
|
extraSettings: {
|
|
4889
4959
|
username: 'lumiastream',
|
|
4890
4960
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4891
4961
|
userLikeCount: 200,
|
|
4892
4962
|
totalLikeCount: 5000,
|
|
4963
|
+
amount: 5000,
|
|
4893
4964
|
},
|
|
4894
4965
|
},
|
|
4895
4966
|
{
|
|
4896
4967
|
label: '25000 Total Likes',
|
|
4897
|
-
dynamic: { value: 25000 },
|
|
4968
|
+
dynamic: { value: 25000, amount: 25000 },
|
|
4898
4969
|
extraSettings: {
|
|
4899
4970
|
username: 'lumiastream',
|
|
4900
4971
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4901
4972
|
userLikeCount: 200,
|
|
4902
4973
|
totalLikeCount: 25000,
|
|
4974
|
+
amount: 25000,
|
|
4903
4975
|
},
|
|
4904
4976
|
},
|
|
4905
4977
|
],
|
|
@@ -4912,6 +4984,13 @@ export const LumiaAlertConfigs = {
|
|
|
4912
4984
|
required: true,
|
|
4913
4985
|
default: 1000,
|
|
4914
4986
|
},
|
|
4987
|
+
{
|
|
4988
|
+
type: 'number',
|
|
4989
|
+
label: 'Amount',
|
|
4990
|
+
variableField: 'amount',
|
|
4991
|
+
required: false,
|
|
4992
|
+
default: 1000,
|
|
4993
|
+
},
|
|
4915
4994
|
],
|
|
4916
4995
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Like Count Greater Than' }],
|
|
4917
4996
|
},
|
|
@@ -4924,7 +5003,7 @@ export const LumiaAlertConfigs = {
|
|
|
4924
5003
|
quickActions: [
|
|
4925
5004
|
{
|
|
4926
5005
|
label: 'Rose worth 1 Coin',
|
|
4927
|
-
dynamic: { value: 1, name: 'Rose' },
|
|
5006
|
+
dynamic: { value: 1, name: 'Rose', amount: 1 },
|
|
4928
5007
|
extraSettings: {
|
|
4929
5008
|
username: 'lumiastream',
|
|
4930
5009
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
@@ -4935,12 +5014,13 @@ export const LumiaAlertConfigs = {
|
|
|
4935
5014
|
value: 1,
|
|
4936
5015
|
coins: 1,
|
|
4937
5016
|
diamonds: 1,
|
|
5017
|
+
amount: 1,
|
|
4938
5018
|
giftPictureUrl: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/eba3a9bb85c33e017f3648eaf88d7189~tplv-obj.png',
|
|
4939
5019
|
},
|
|
4940
5020
|
},
|
|
4941
5021
|
{
|
|
4942
5022
|
label: 'Pumpkin worth 100 Coins',
|
|
4943
|
-
dynamic: { value: 100, name: 'Pumpkin' },
|
|
5023
|
+
dynamic: { value: 100, name: 'Pumpkin', amount: 100 },
|
|
4944
5024
|
extraSettings: {
|
|
4945
5025
|
username: 'lumiastream',
|
|
4946
5026
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
@@ -4952,11 +5032,12 @@ export const LumiaAlertConfigs = {
|
|
|
4952
5032
|
value: 100,
|
|
4953
5033
|
coins: 100,
|
|
4954
5034
|
diamonds: 50,
|
|
5035
|
+
amount: 100,
|
|
4955
5036
|
},
|
|
4956
5037
|
},
|
|
4957
5038
|
{
|
|
4958
5039
|
label: 'Boiling Cauldron worth 500 Coins',
|
|
4959
|
-
dynamic: { value: 500, name: 'Boiling Cauldron' },
|
|
5040
|
+
dynamic: { value: 500, name: 'Boiling Cauldron', amount: 500 },
|
|
4960
5041
|
extraSettings: {
|
|
4961
5042
|
username: 'lumiastream',
|
|
4962
5043
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
@@ -4968,6 +5049,7 @@ export const LumiaAlertConfigs = {
|
|
|
4968
5049
|
value: 500,
|
|
4969
5050
|
coins: 500,
|
|
4970
5051
|
diamonds: 250,
|
|
5052
|
+
amount: 500,
|
|
4971
5053
|
},
|
|
4972
5054
|
},
|
|
4973
5055
|
],
|
|
@@ -4994,6 +5076,13 @@ export const LumiaAlertConfigs = {
|
|
|
4994
5076
|
required: false,
|
|
4995
5077
|
default: 1,
|
|
4996
5078
|
},
|
|
5079
|
+
{
|
|
5080
|
+
type: 'number',
|
|
5081
|
+
label: 'Amount',
|
|
5082
|
+
variableField: 'amount',
|
|
5083
|
+
required: false,
|
|
5084
|
+
default: 1,
|
|
5085
|
+
},
|
|
4997
5086
|
],
|
|
4998
5087
|
LumiaVariationConditions: [
|
|
4999
5088
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -5072,8 +5161,8 @@ export const LumiaAlertConfigs = {
|
|
|
5072
5161
|
quickActions: [
|
|
5073
5162
|
{
|
|
5074
5163
|
label: 'Treasure Chest',
|
|
5075
|
-
dynamic: { value: 50, name: 'lumiastream' },
|
|
5076
|
-
extraSettings: { username: 'lumiastream', diamondCount: 50, peopleCount: 5 },
|
|
5164
|
+
dynamic: { value: 50, name: 'lumiastream', amount: 50 },
|
|
5165
|
+
extraSettings: { username: 'lumiastream', diamondCount: 50, peopleCount: 5, amount: 50 },
|
|
5077
5166
|
},
|
|
5078
5167
|
],
|
|
5079
5168
|
inputFields: [
|
|
@@ -5092,6 +5181,13 @@ export const LumiaAlertConfigs = {
|
|
|
5092
5181
|
required: false,
|
|
5093
5182
|
default: 50,
|
|
5094
5183
|
},
|
|
5184
|
+
{
|
|
5185
|
+
type: 'number',
|
|
5186
|
+
label: 'Amount',
|
|
5187
|
+
variableField: 'amount',
|
|
5188
|
+
required: false,
|
|
5189
|
+
default: 50,
|
|
5190
|
+
},
|
|
5095
5191
|
],
|
|
5096
5192
|
LumiaVariationConditions: [
|
|
5097
5193
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -5354,7 +5450,7 @@ export const LumiaAlertConfigs = {
|
|
|
5354
5450
|
quickActions: [
|
|
5355
5451
|
{
|
|
5356
5452
|
label: 'Battle Progress',
|
|
5357
|
-
dynamic: { value: 100 },
|
|
5453
|
+
dynamic: { value: 100, amount: 100 },
|
|
5358
5454
|
extraSettings: {
|
|
5359
5455
|
battleId: '1',
|
|
5360
5456
|
battleLabel: 'lumiastream vs rivalstream',
|
|
@@ -5371,6 +5467,7 @@ export const LumiaAlertConfigs = {
|
|
|
5371
5467
|
repeatCount: 1,
|
|
5372
5468
|
totalDiamondCount: 100,
|
|
5373
5469
|
battleStatus: 'scoreUpdate',
|
|
5470
|
+
amount: 100,
|
|
5374
5471
|
},
|
|
5375
5472
|
},
|
|
5376
5473
|
],
|
|
@@ -5382,6 +5479,13 @@ export const LumiaAlertConfigs = {
|
|
|
5382
5479
|
required: false,
|
|
5383
5480
|
default: 'lumiastream vs rivalstream',
|
|
5384
5481
|
},
|
|
5482
|
+
{
|
|
5483
|
+
type: 'number',
|
|
5484
|
+
label: 'Amount',
|
|
5485
|
+
variableField: 'amount',
|
|
5486
|
+
required: false,
|
|
5487
|
+
default: 100,
|
|
5488
|
+
},
|
|
5385
5489
|
],
|
|
5386
5490
|
LumiaVariationConditions: [
|
|
5387
5491
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -5667,12 +5771,13 @@ export const LumiaAlertConfigs = {
|
|
|
5667
5771
|
quickActions: [
|
|
5668
5772
|
{
|
|
5669
5773
|
label: 'Tier 1 Sub',
|
|
5670
|
-
dynamic: { value: '1' },
|
|
5774
|
+
dynamic: { value: '1', amount: 1 },
|
|
5671
5775
|
extraSettings: {
|
|
5672
5776
|
username: 'lumiastream',
|
|
5673
5777
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5674
5778
|
message: 'Great Stream',
|
|
5675
5779
|
subMonths: 1,
|
|
5780
|
+
amount: 1,
|
|
5676
5781
|
tier: 'Tier 1',
|
|
5677
5782
|
subPlan: '1',
|
|
5678
5783
|
subPlanName: 'My Day ones',
|
|
@@ -5695,6 +5800,13 @@ export const LumiaAlertConfigs = {
|
|
|
5695
5800
|
required: false,
|
|
5696
5801
|
default: 1,
|
|
5697
5802
|
},
|
|
5803
|
+
{
|
|
5804
|
+
type: 'number',
|
|
5805
|
+
label: 'Amount',
|
|
5806
|
+
variableField: 'amount',
|
|
5807
|
+
required: false,
|
|
5808
|
+
default: 1,
|
|
5809
|
+
},
|
|
5698
5810
|
{
|
|
5699
5811
|
type: 'text',
|
|
5700
5812
|
label: 'Message',
|
|
@@ -6074,18 +6186,18 @@ export const LumiaAlertConfigs = {
|
|
|
6074
6186
|
quickActions: [
|
|
6075
6187
|
{
|
|
6076
6188
|
label: '10 viewers',
|
|
6077
|
-
dynamic: { value: 10 },
|
|
6078
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 10 },
|
|
6189
|
+
dynamic: { value: 10, amount: 10 },
|
|
6190
|
+
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 },
|
|
6079
6191
|
},
|
|
6080
6192
|
{
|
|
6081
6193
|
label: '50 viewers',
|
|
6082
|
-
dynamic: { value: 50 },
|
|
6083
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 50 },
|
|
6194
|
+
dynamic: { value: 50, amount: 50 },
|
|
6195
|
+
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 },
|
|
6084
6196
|
},
|
|
6085
6197
|
{
|
|
6086
6198
|
label: '100 viewers',
|
|
6087
|
-
dynamic: { value: 100 },
|
|
6088
|
-
extraSettings: { username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png', viewers: 100 },
|
|
6199
|
+
dynamic: { value: 100, amount: 100 },
|
|
6200
|
+
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 },
|
|
6089
6201
|
},
|
|
6090
6202
|
],
|
|
6091
6203
|
inputFields: [
|
|
@@ -6104,6 +6216,13 @@ export const LumiaAlertConfigs = {
|
|
|
6104
6216
|
required: true,
|
|
6105
6217
|
default: 100,
|
|
6106
6218
|
},
|
|
6219
|
+
{
|
|
6220
|
+
type: 'number',
|
|
6221
|
+
label: 'Amount',
|
|
6222
|
+
variableField: 'amount',
|
|
6223
|
+
required: false,
|
|
6224
|
+
default: 100,
|
|
6225
|
+
},
|
|
6107
6226
|
],
|
|
6108
6227
|
LumiaVariationConditions: [
|
|
6109
6228
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -346,3 +346,35 @@ export const AlertsToFilter = [
|
|
|
346
346
|
* LumiaStream `Integrations.types.ts` before being consolidated here.
|
|
347
347
|
*/
|
|
348
348
|
export const PlatformsToFilter = ['obs', 'slobs', 'meld', 'paypal', 'pulsoid', 'hyperate', 'spotify', 'youtubemusic', 'nowplaying', 'vlc', 'streamerbot', 'vtubestudio'];
|
|
349
|
+
export const LumiaEventListTypeColors = {
|
|
350
|
+
[LumiaEventListTypes.FOLLOWER]: '#22c55e',
|
|
351
|
+
[LumiaEventListTypes.SUBSCRIBERS]: '#a855f7',
|
|
352
|
+
[LumiaEventListTypes.GIFTS]: '#ec4899',
|
|
353
|
+
[LumiaEventListTypes.DONATION]: '#10b981',
|
|
354
|
+
[LumiaEventListTypes.CHARITY]: '#f97316',
|
|
355
|
+
[LumiaEventListTypes.BITS]: '#facc15',
|
|
356
|
+
[LumiaEventListTypes.KICKS]: '#84cc16',
|
|
357
|
+
[LumiaEventListTypes.POINTS]: '#3b82f6',
|
|
358
|
+
[LumiaEventListTypes.REDEMPTION]: '#06b6d4',
|
|
359
|
+
[LumiaEventListTypes.EXTENSION]: '#8b5cf6',
|
|
360
|
+
[LumiaEventListTypes.RAIDS]: '#ef4444',
|
|
361
|
+
[LumiaEventListTypes.HOSTS]: '#f43f5e',
|
|
362
|
+
[LumiaEventListTypes.HYPETRAIN]: '#fb7185',
|
|
363
|
+
[LumiaEventListTypes.SPELLS]: '#7c3aed',
|
|
364
|
+
[LumiaEventListTypes.RETWEETS]: '#0ea5e9',
|
|
365
|
+
[LumiaEventListTypes.LIKES]: '#f472b6',
|
|
366
|
+
[LumiaEventListTypes.SHARES]: '#14b8a6',
|
|
367
|
+
[LumiaEventListTypes.PURCHASES]: '#eab308',
|
|
368
|
+
[LumiaEventListTypes.SUPERSTICKERS]: '#fb923c',
|
|
369
|
+
[LumiaEventListTypes.SUPERCHATS]: '#f59e0b',
|
|
370
|
+
[LumiaEventListTypes.STARS]: '#fde047',
|
|
371
|
+
[LumiaEventListTypes.FANS]: '#d946ef',
|
|
372
|
+
[LumiaEventListTypes.RAFFLE]: '#34d399',
|
|
373
|
+
};
|
|
374
|
+
const DEFAULT_EVENTLIST_COLOR = '#9ca3af';
|
|
375
|
+
export const getEventListCategoryColor = (category) => {
|
|
376
|
+
var _a;
|
|
377
|
+
if (!category)
|
|
378
|
+
return DEFAULT_EVENTLIST_COLOR;
|
|
379
|
+
return (_a = LumiaEventListTypeColors[category]) !== null && _a !== void 0 ? _a : DEFAULT_EVENTLIST_COLOR;
|
|
380
|
+
};
|