@lumiastream/lumia-types 3.6.5 → 3.6.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.js +332 -34
- package/dist/custom-overlays/custom-overlays.d.ts +10 -0
- package/dist/custom-overlays.d.ts +10 -0
- package/dist/esm/alert.types.js +334 -36
- package/dist/esm/index.js +2 -2
- package/dist/esm/tiktok_gifts.js +4 -0
- package/dist/esm/variables.types.js +10 -0
- package/dist/esm/youtube_superstickers.js +4 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/tiktok_gifts.d.ts +4 -0
- package/dist/tiktok_gifts.js +5 -1
- package/dist/variables.types.d.ts +10 -0
- package/dist/variables.types.js +10 -0
- package/dist/youtube_superstickers.d.ts +4 -0
- package/dist/youtube_superstickers.js +5 -1
- package/package.json +1 -1
package/dist/alert.types.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.LumiaAlertConfigs = exports.LumiaRedemptionCurrencySymbol = exports.LumiaRedemptionCurrency = exports.VariationCurrencySymbol = exports.LumiaVariationCurrency = exports.LumiaVariationConditions = void 0;
|
|
5
4
|
const activity_types_1 = require("./activity.types");
|
|
@@ -97,6 +96,8 @@ exports.LumiaRedemptionCurrencySymbol = {
|
|
|
97
96
|
[LumiaRedemptionCurrency.POINTS]: '★',
|
|
98
97
|
[LumiaRedemptionCurrency.LUMIBUCKS]: '⚡',
|
|
99
98
|
};
|
|
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
|
+
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 : ''; };
|
|
100
101
|
exports.LumiaAlertConfigs = {
|
|
101
102
|
// lumia: {
|
|
102
103
|
[activity_types_1.LumiaAlertValues.LUMIASTREAM_DONATION]: {
|
|
@@ -4210,48 +4211,183 @@ exports.LumiaAlertConfigs = {
|
|
|
4210
4211
|
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.supersticker,
|
|
4211
4212
|
quickActions: [
|
|
4212
4213
|
{
|
|
4213
|
-
label: '
|
|
4214
|
-
dynamic: { value:
|
|
4214
|
+
label: 'Beaming Face ($0.99)',
|
|
4215
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_beaming_face' },
|
|
4215
4216
|
extraSettings: {
|
|
4216
4217
|
username: 'lumiastream',
|
|
4217
4218
|
displayname: 'LumiaStream',
|
|
4218
4219
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4219
|
-
amount:
|
|
4220
|
+
amount: 0.99,
|
|
4220
4221
|
currency: LumiaVariationCurrency.USD,
|
|
4221
4222
|
currencySymbol: '$',
|
|
4222
4223
|
stickerId: 'emoji_beaming_face',
|
|
4223
|
-
stickerName: '
|
|
4224
|
-
contentImage: (
|
|
4224
|
+
stickerName: 'Beaming Face',
|
|
4225
|
+
contentImage: superstickerImageUrl('emoji_beaming_face'),
|
|
4225
4226
|
},
|
|
4226
4227
|
},
|
|
4227
4228
|
{
|
|
4228
|
-
label: '
|
|
4229
|
-
dynamic: { value:
|
|
4229
|
+
label: 'Heart Eyes ($0.99)',
|
|
4230
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_heart_face' },
|
|
4230
4231
|
extraSettings: {
|
|
4231
4232
|
username: 'lumiastream',
|
|
4232
4233
|
displayname: 'LumiaStream',
|
|
4233
4234
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4234
|
-
amount:
|
|
4235
|
+
amount: 0.99,
|
|
4235
4236
|
currency: LumiaVariationCurrency.USD,
|
|
4236
4237
|
currencySymbol: '$',
|
|
4237
|
-
stickerId: '
|
|
4238
|
-
stickerName: '
|
|
4239
|
-
contentImage: (
|
|
4238
|
+
stickerId: 'emoji_heart_face',
|
|
4239
|
+
stickerName: 'Heart Eyes',
|
|
4240
|
+
contentImage: superstickerImageUrl('emoji_heart_face'),
|
|
4240
4241
|
},
|
|
4241
4242
|
},
|
|
4242
4243
|
{
|
|
4243
|
-
label: '
|
|
4244
|
-
dynamic: { value:
|
|
4244
|
+
label: 'Money Mouth ($0.99)',
|
|
4245
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_money_face' },
|
|
4245
4246
|
extraSettings: {
|
|
4246
4247
|
username: 'lumiastream',
|
|
4247
4248
|
displayname: 'LumiaStream',
|
|
4248
4249
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4249
|
-
amount:
|
|
4250
|
+
amount: 0.99,
|
|
4251
|
+
currency: LumiaVariationCurrency.USD,
|
|
4252
|
+
currencySymbol: '$',
|
|
4253
|
+
stickerId: 'emoji_money_face',
|
|
4254
|
+
stickerName: 'Money Mouth',
|
|
4255
|
+
contentImage: superstickerImageUrl('emoji_money_face'),
|
|
4256
|
+
},
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
label: 'Crying Face ($0.99)',
|
|
4260
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_crying_face' },
|
|
4261
|
+
extraSettings: {
|
|
4262
|
+
username: 'lumiastream',
|
|
4263
|
+
displayname: 'LumiaStream',
|
|
4264
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4265
|
+
amount: 0.99,
|
|
4266
|
+
currency: LumiaVariationCurrency.USD,
|
|
4267
|
+
currencySymbol: '$',
|
|
4268
|
+
stickerId: 'emoji_crying_face',
|
|
4269
|
+
stickerName: 'Crying Face',
|
|
4270
|
+
contentImage: superstickerImageUrl('emoji_crying_face'),
|
|
4271
|
+
},
|
|
4272
|
+
},
|
|
4273
|
+
{
|
|
4274
|
+
label: 'One Hundred ($0.99)',
|
|
4275
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_one_hundred' },
|
|
4276
|
+
extraSettings: {
|
|
4277
|
+
username: 'lumiastream',
|
|
4278
|
+
displayname: 'LumiaStream',
|
|
4279
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4280
|
+
amount: 0.99,
|
|
4281
|
+
currency: LumiaVariationCurrency.USD,
|
|
4282
|
+
currencySymbol: '$',
|
|
4283
|
+
stickerId: 'emoji_one_hundred',
|
|
4284
|
+
stickerName: 'One Hundred',
|
|
4285
|
+
contentImage: superstickerImageUrl('emoji_one_hundred'),
|
|
4286
|
+
},
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
label: 'Thumbs Up ($1.99)',
|
|
4290
|
+
dynamic: { value: 1.99, currency: LumiaVariationCurrency.USD, name: 'youtube_object_thumbs_up_red' },
|
|
4291
|
+
extraSettings: {
|
|
4292
|
+
username: 'lumiastream',
|
|
4293
|
+
displayname: 'LumiaStream',
|
|
4294
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4295
|
+
amount: 1.99,
|
|
4296
|
+
currency: LumiaVariationCurrency.USD,
|
|
4297
|
+
currencySymbol: '$',
|
|
4298
|
+
stickerId: 'youtube_object_thumbs_up_red',
|
|
4299
|
+
stickerName: 'Thumbs Up',
|
|
4300
|
+
contentImage: superstickerImageUrl('youtube_object_thumbs_up_red'),
|
|
4301
|
+
},
|
|
4302
|
+
},
|
|
4303
|
+
{
|
|
4304
|
+
label: 'Pear Hey You ($2.00)',
|
|
4305
|
+
dynamic: { value: 2, currency: LumiaVariationCurrency.USD, name: 'pearfect_hey_you_ja_v2' },
|
|
4306
|
+
extraSettings: {
|
|
4307
|
+
username: 'lumiastream',
|
|
4308
|
+
displayname: 'LumiaStream',
|
|
4309
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4310
|
+
amount: 2,
|
|
4311
|
+
currency: LumiaVariationCurrency.USD,
|
|
4312
|
+
currencySymbol: '$',
|
|
4313
|
+
stickerId: 'pearfect_hey_you_ja_v2',
|
|
4314
|
+
stickerName: 'Pear Hey You',
|
|
4315
|
+
contentImage: superstickerImageUrl('pearfect_hey_you_ja_v2'),
|
|
4316
|
+
},
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
label: 'Pear Fist Bump ($3.00)',
|
|
4320
|
+
dynamic: { value: 3, currency: LumiaVariationCurrency.USD, name: 'pearfect_fist_bump_ja_v2' },
|
|
4321
|
+
extraSettings: {
|
|
4322
|
+
username: 'lumiastream',
|
|
4323
|
+
displayname: 'LumiaStream',
|
|
4324
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4325
|
+
amount: 3,
|
|
4326
|
+
currency: LumiaVariationCurrency.USD,
|
|
4327
|
+
currencySymbol: '$',
|
|
4328
|
+
stickerId: 'pearfect_fist_bump_ja_v2',
|
|
4329
|
+
stickerName: 'Pear Fist Bump',
|
|
4330
|
+
contentImage: superstickerImageUrl('pearfect_fist_bump_ja_v2'),
|
|
4331
|
+
},
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
label: 'Pear LOL ($5.00)',
|
|
4335
|
+
dynamic: { value: 5, currency: LumiaVariationCurrency.USD, name: 'pearfect_lol_ja_v2' },
|
|
4336
|
+
extraSettings: {
|
|
4337
|
+
username: 'lumiastream',
|
|
4338
|
+
displayname: 'LumiaStream',
|
|
4339
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4340
|
+
amount: 5,
|
|
4341
|
+
currency: LumiaVariationCurrency.USD,
|
|
4342
|
+
currencySymbol: '$',
|
|
4343
|
+
stickerId: 'pearfect_lol_ja_v2',
|
|
4344
|
+
stickerName: 'Pear LOL',
|
|
4345
|
+
contentImage: superstickerImageUrl('pearfect_lol_ja_v2'),
|
|
4346
|
+
},
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
label: 'Pear Flying ($10.00)',
|
|
4350
|
+
dynamic: { value: 10, currency: LumiaVariationCurrency.USD, name: 'pearfect_flying_v2' },
|
|
4351
|
+
extraSettings: {
|
|
4352
|
+
username: 'lumiastream',
|
|
4353
|
+
displayname: 'LumiaStream',
|
|
4354
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4355
|
+
amount: 10,
|
|
4356
|
+
currency: LumiaVariationCurrency.USD,
|
|
4357
|
+
currencySymbol: '$',
|
|
4358
|
+
stickerId: 'pearfect_flying_v2',
|
|
4359
|
+
stickerName: 'Pear Flying',
|
|
4360
|
+
contentImage: superstickerImageUrl('pearfect_flying_v2'),
|
|
4361
|
+
},
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
label: 'Pear GOAL ($20.00)',
|
|
4365
|
+
dynamic: { value: 20, currency: LumiaVariationCurrency.USD, name: 'pearfect_goal_ja_v2' },
|
|
4366
|
+
extraSettings: {
|
|
4367
|
+
username: 'lumiastream',
|
|
4368
|
+
displayname: 'LumiaStream',
|
|
4369
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4370
|
+
amount: 20,
|
|
4371
|
+
currency: LumiaVariationCurrency.USD,
|
|
4372
|
+
currencySymbol: '$',
|
|
4373
|
+
stickerId: 'pearfect_goal_ja_v2',
|
|
4374
|
+
stickerName: 'Pear GOAL',
|
|
4375
|
+
contentImage: superstickerImageUrl('pearfect_goal_ja_v2'),
|
|
4376
|
+
},
|
|
4377
|
+
},
|
|
4378
|
+
{
|
|
4379
|
+
label: 'Pear Building Riot ($50.00)',
|
|
4380
|
+
dynamic: { value: 50, currency: LumiaVariationCurrency.USD, name: 'pearfect_building_riot_v2' },
|
|
4381
|
+
extraSettings: {
|
|
4382
|
+
username: 'lumiastream',
|
|
4383
|
+
displayname: 'LumiaStream',
|
|
4384
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4385
|
+
amount: 50,
|
|
4250
4386
|
currency: LumiaVariationCurrency.USD,
|
|
4251
4387
|
currencySymbol: '$',
|
|
4252
|
-
stickerId: '
|
|
4253
|
-
stickerName: '
|
|
4254
|
-
contentImage: (
|
|
4388
|
+
stickerId: 'pearfect_building_riot_v2',
|
|
4389
|
+
stickerName: 'Pear Building Riot',
|
|
4390
|
+
contentImage: superstickerImageUrl('pearfect_building_riot_v2'),
|
|
4255
4391
|
},
|
|
4256
4392
|
},
|
|
4257
4393
|
],
|
|
@@ -4288,11 +4424,12 @@ exports.LumiaAlertConfigs = {
|
|
|
4288
4424
|
default: '$',
|
|
4289
4425
|
},
|
|
4290
4426
|
{
|
|
4291
|
-
type: '
|
|
4292
|
-
label: 'Image
|
|
4427
|
+
type: 'selection',
|
|
4428
|
+
label: 'Sticker Image',
|
|
4293
4429
|
variableField: 'contentImage',
|
|
4294
4430
|
required: false,
|
|
4295
|
-
default: (
|
|
4431
|
+
default: superstickerImageUrl('emoji_beaming_face'),
|
|
4432
|
+
selections: youtube_superstickers_1.YoutubeSuperstickerImageSelections,
|
|
4296
4433
|
},
|
|
4297
4434
|
],
|
|
4298
4435
|
LumiaVariationConditions: [
|
|
@@ -4949,7 +5086,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4949
5086
|
acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.gift,
|
|
4950
5087
|
quickActions: [
|
|
4951
5088
|
{
|
|
4952
|
-
label: 'Rose
|
|
5089
|
+
label: 'Rose (1 coin)',
|
|
4953
5090
|
dynamic: { value: 1, name: 'Rose', amount: 1 },
|
|
4954
5091
|
extraSettings: {
|
|
4955
5092
|
username: 'lumiastream',
|
|
@@ -4962,41 +5099,194 @@ exports.LumiaAlertConfigs = {
|
|
|
4962
5099
|
coins: 1,
|
|
4963
5100
|
diamonds: 1,
|
|
4964
5101
|
amount: 1,
|
|
4965
|
-
contentImage: '
|
|
5102
|
+
contentImage: tiktokGiftImageUrl('Rose'),
|
|
4966
5103
|
},
|
|
4967
5104
|
},
|
|
4968
5105
|
{
|
|
4969
|
-
label: '
|
|
4970
|
-
dynamic: { value:
|
|
5106
|
+
label: 'Finger Heart (5 coins)',
|
|
5107
|
+
dynamic: { value: 5, name: 'Finger Heart', amount: 5 },
|
|
4971
5108
|
extraSettings: {
|
|
4972
5109
|
username: 'lumiastream',
|
|
4973
5110
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4974
|
-
giftName: '
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
5111
|
+
giftName: 'Finger Heart',
|
|
5112
|
+
giftType: 1,
|
|
5113
|
+
giftId: 5487,
|
|
5114
|
+
giftAmount: 1,
|
|
5115
|
+
value: 5,
|
|
5116
|
+
coins: 5,
|
|
5117
|
+
diamonds: 2,
|
|
5118
|
+
amount: 5,
|
|
5119
|
+
contentImage: tiktokGiftImageUrl('Finger Heart'),
|
|
5120
|
+
},
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
label: 'Rosa (10 coins)',
|
|
5124
|
+
dynamic: { value: 10, name: 'Rosa', amount: 10 },
|
|
5125
|
+
extraSettings: {
|
|
5126
|
+
username: 'lumiastream',
|
|
5127
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5128
|
+
giftName: 'Rosa',
|
|
5129
|
+
giftType: 1,
|
|
5130
|
+
giftId: 8913,
|
|
5131
|
+
giftAmount: 1,
|
|
5132
|
+
value: 10,
|
|
5133
|
+
coins: 10,
|
|
5134
|
+
diamonds: 5,
|
|
5135
|
+
amount: 10,
|
|
5136
|
+
contentImage: tiktokGiftImageUrl('Rosa'),
|
|
5137
|
+
},
|
|
5138
|
+
},
|
|
5139
|
+
{
|
|
5140
|
+
label: 'Perfume (20 coins)',
|
|
5141
|
+
dynamic: { value: 20, name: 'Perfume', amount: 20 },
|
|
5142
|
+
extraSettings: {
|
|
5143
|
+
username: 'lumiastream',
|
|
5144
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5145
|
+
giftName: 'Perfume',
|
|
5146
|
+
giftType: 1,
|
|
5147
|
+
giftId: 5658,
|
|
5148
|
+
giftAmount: 1,
|
|
5149
|
+
value: 20,
|
|
5150
|
+
coins: 20,
|
|
5151
|
+
diamonds: 10,
|
|
5152
|
+
amount: 20,
|
|
5153
|
+
contentImage: tiktokGiftImageUrl('Perfume'),
|
|
5154
|
+
},
|
|
5155
|
+
},
|
|
5156
|
+
{
|
|
5157
|
+
label: 'Doughnut (30 coins)',
|
|
5158
|
+
dynamic: { value: 30, name: 'Doughnut', amount: 30 },
|
|
5159
|
+
extraSettings: {
|
|
5160
|
+
username: 'lumiastream',
|
|
5161
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5162
|
+
giftName: 'Doughnut',
|
|
5163
|
+
giftType: 1,
|
|
5164
|
+
giftId: 5879,
|
|
5165
|
+
giftAmount: 1,
|
|
5166
|
+
value: 30,
|
|
5167
|
+
coins: 30,
|
|
5168
|
+
diamonds: 15,
|
|
5169
|
+
amount: 30,
|
|
5170
|
+
contentImage: tiktokGiftImageUrl('Doughnut'),
|
|
5171
|
+
},
|
|
5172
|
+
},
|
|
5173
|
+
{
|
|
5174
|
+
label: 'Hand Hearts (100 coins)',
|
|
5175
|
+
dynamic: { value: 100, name: 'Hand Hearts', amount: 100 },
|
|
5176
|
+
extraSettings: {
|
|
5177
|
+
username: 'lumiastream',
|
|
5178
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5179
|
+
giftName: 'Hand Hearts',
|
|
5180
|
+
giftType: 1,
|
|
5181
|
+
giftId: 5660,
|
|
4978
5182
|
giftAmount: 1,
|
|
4979
5183
|
value: 100,
|
|
4980
5184
|
coins: 100,
|
|
4981
5185
|
diamonds: 50,
|
|
4982
5186
|
amount: 100,
|
|
5187
|
+
contentImage: tiktokGiftImageUrl('Hand Hearts'),
|
|
4983
5188
|
},
|
|
4984
5189
|
},
|
|
4985
5190
|
{
|
|
4986
|
-
label: '
|
|
4987
|
-
dynamic: { value:
|
|
5191
|
+
label: 'Sunglasses (199 coins)',
|
|
5192
|
+
dynamic: { value: 199, name: 'Sunglasses', amount: 199 },
|
|
4988
5193
|
extraSettings: {
|
|
4989
5194
|
username: 'lumiastream',
|
|
4990
5195
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4991
|
-
giftName: '
|
|
4992
|
-
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/e675252b83e97135f9ede3b5d32c2c71~tplv-obj.png',
|
|
5196
|
+
giftName: 'Sunglasses',
|
|
4993
5197
|
giftType: 2,
|
|
4994
|
-
giftId:
|
|
5198
|
+
giftId: 5509,
|
|
5199
|
+
giftAmount: 1,
|
|
5200
|
+
value: 199,
|
|
5201
|
+
coins: 199,
|
|
5202
|
+
diamonds: 99,
|
|
5203
|
+
amount: 199,
|
|
5204
|
+
contentImage: tiktokGiftImageUrl('Sunglasses'),
|
|
5205
|
+
},
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
label: 'Baby Chicks (500 coins)',
|
|
5209
|
+
dynamic: { value: 500, name: 'Baby Chicks', amount: 500 },
|
|
5210
|
+
extraSettings: {
|
|
5211
|
+
username: 'lumiastream',
|
|
5212
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5213
|
+
giftName: 'Baby Chicks',
|
|
5214
|
+
giftType: 2,
|
|
5215
|
+
giftId: 54725,
|
|
4995
5216
|
giftAmount: 1,
|
|
4996
5217
|
value: 500,
|
|
4997
5218
|
coins: 500,
|
|
4998
5219
|
diamonds: 250,
|
|
4999
5220
|
amount: 500,
|
|
5221
|
+
contentImage: tiktokGiftImageUrl('Baby Chicks'),
|
|
5222
|
+
},
|
|
5223
|
+
},
|
|
5224
|
+
{
|
|
5225
|
+
label: 'Galaxy (1,000 coins)',
|
|
5226
|
+
dynamic: { value: 1000, name: 'Galaxy', amount: 1000 },
|
|
5227
|
+
extraSettings: {
|
|
5228
|
+
username: 'lumiastream',
|
|
5229
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5230
|
+
giftName: 'Galaxy',
|
|
5231
|
+
giftType: 2,
|
|
5232
|
+
giftId: 11046,
|
|
5233
|
+
giftAmount: 1,
|
|
5234
|
+
value: 1000,
|
|
5235
|
+
coins: 1000,
|
|
5236
|
+
diamonds: 500,
|
|
5237
|
+
amount: 1000,
|
|
5238
|
+
contentImage: tiktokGiftImageUrl('Galaxy'),
|
|
5239
|
+
},
|
|
5240
|
+
},
|
|
5241
|
+
{
|
|
5242
|
+
label: 'Whale Diving (2,150 coins)',
|
|
5243
|
+
dynamic: { value: 2150, name: 'Whale Diving', amount: 2150 },
|
|
5244
|
+
extraSettings: {
|
|
5245
|
+
username: 'lumiastream',
|
|
5246
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5247
|
+
giftName: 'Whale Diving',
|
|
5248
|
+
giftType: 2,
|
|
5249
|
+
giftId: 6820,
|
|
5250
|
+
giftAmount: 1,
|
|
5251
|
+
value: 2150,
|
|
5252
|
+
coins: 2150,
|
|
5253
|
+
diamonds: 1075,
|
|
5254
|
+
amount: 2150,
|
|
5255
|
+
contentImage: tiktokGiftImageUrl('Whale Diving'),
|
|
5256
|
+
},
|
|
5257
|
+
},
|
|
5258
|
+
{
|
|
5259
|
+
label: 'Lion (29,999 coins)',
|
|
5260
|
+
dynamic: { value: 29999, name: 'Lion', amount: 29999 },
|
|
5261
|
+
extraSettings: {
|
|
5262
|
+
username: 'lumiastream',
|
|
5263
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5264
|
+
giftName: 'Lion',
|
|
5265
|
+
giftType: 2,
|
|
5266
|
+
giftId: 6369,
|
|
5267
|
+
giftAmount: 1,
|
|
5268
|
+
value: 29999,
|
|
5269
|
+
coins: 29999,
|
|
5270
|
+
diamonds: 14999,
|
|
5271
|
+
amount: 29999,
|
|
5272
|
+
contentImage: tiktokGiftImageUrl('Lion'),
|
|
5273
|
+
},
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
5276
|
+
label: 'TikTok Universe (44,999 coins)',
|
|
5277
|
+
dynamic: { value: 44999, name: 'TikTok Universe', amount: 44999 },
|
|
5278
|
+
extraSettings: {
|
|
5279
|
+
username: 'lumiastream',
|
|
5280
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5281
|
+
giftName: 'TikTok Universe',
|
|
5282
|
+
giftType: 2,
|
|
5283
|
+
giftId: 9101,
|
|
5284
|
+
giftAmount: 1,
|
|
5285
|
+
value: 44999,
|
|
5286
|
+
coins: 44999,
|
|
5287
|
+
diamonds: 22499,
|
|
5288
|
+
amount: 44999,
|
|
5289
|
+
contentImage: tiktokGiftImageUrl('TikTok Universe'),
|
|
5000
5290
|
},
|
|
5001
5291
|
},
|
|
5002
5292
|
],
|
|
@@ -5030,6 +5320,14 @@ exports.LumiaAlertConfigs = {
|
|
|
5030
5320
|
required: false,
|
|
5031
5321
|
default: 1,
|
|
5032
5322
|
},
|
|
5323
|
+
{
|
|
5324
|
+
type: 'selection',
|
|
5325
|
+
label: 'Gift Image',
|
|
5326
|
+
variableField: 'contentImage',
|
|
5327
|
+
required: false,
|
|
5328
|
+
default: tiktokGiftImageUrl('Rose'),
|
|
5329
|
+
selections: tiktok_gifts_1.TiktokGiftImageSelections,
|
|
5330
|
+
},
|
|
5033
5331
|
],
|
|
5034
5332
|
LumiaVariationConditions: [
|
|
5035
5333
|
{ type: LumiaVariationConditions.RANDOM },
|
|
@@ -1871,6 +1871,14 @@ export declare enum SystemVariables {
|
|
|
1871
1871
|
SPOTIFY_NOW_PLAYING_PROGRESS_TS = "spotify_now_playing_progress_ts",
|
|
1872
1872
|
/** Whether playback is currently advancing (true/false). Use as {{spotify_now_playing_is_playing}}. */
|
|
1873
1873
|
SPOTIFY_NOW_PLAYING_IS_PLAYING = "spotify_now_playing_is_playing",
|
|
1874
|
+
/** Now playing album name. Use as {{spotify_now_playing_album}}. */
|
|
1875
|
+
SPOTIFY_NOW_PLAYING_ALBUM = "spotify_now_playing_album",
|
|
1876
|
+
/** Now playing album release year. Use as {{spotify_now_playing_release_year}}. */
|
|
1877
|
+
SPOTIFY_NOW_PLAYING_RELEASE_YEAR = "spotify_now_playing_release_year",
|
|
1878
|
+
/** Now playing track popularity score 0-100 from Spotify. Use as {{spotify_now_playing_popularity}}. */
|
|
1879
|
+
SPOTIFY_NOW_PLAYING_POPULARITY = "spotify_now_playing_popularity",
|
|
1880
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{spotify_now_playing_queue}}. */
|
|
1881
|
+
SPOTIFY_NOW_PLAYING_QUEUE = "spotify_now_playing_queue",
|
|
1874
1882
|
/** Next song title. Use as {{spotify_next_song}}. */
|
|
1875
1883
|
SPOTIFY_NEXT_SONG = "spotify_next_song",
|
|
1876
1884
|
/** Next song artwork URL. Use as {{spotify_next_image}}. */
|
|
@@ -1903,6 +1911,8 @@ export declare enum SystemVariables {
|
|
|
1903
1911
|
YOUTUBEMUSIC_NOW_PLAYING_PROGRESS_TS = "youtubemusic_now_playing_progress_ts",
|
|
1904
1912
|
/** Whether playback is currently advancing (true/false). Use as {{youtubemusic_now_playing_is_playing}}. */
|
|
1905
1913
|
YOUTUBEMUSIC_NOW_PLAYING_IS_PLAYING = "youtubemusic_now_playing_is_playing",
|
|
1914
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{youtubemusic_now_playing_queue}}. */
|
|
1915
|
+
YOUTUBEMUSIC_NOW_PLAYING_QUEUE = "youtubemusic_now_playing_queue",
|
|
1906
1916
|
/** Next song title. Use as {{youtubemusic_next_song}}. */
|
|
1907
1917
|
YOUTUBEMUSIC_NEXT_SONG = "youtubemusic_next_song",
|
|
1908
1918
|
/** Next song artwork URL. Use as {{youtubemusic_next_image}}. */
|
|
@@ -1871,6 +1871,14 @@ export declare enum SystemVariables {
|
|
|
1871
1871
|
SPOTIFY_NOW_PLAYING_PROGRESS_TS = "spotify_now_playing_progress_ts",
|
|
1872
1872
|
/** Whether playback is currently advancing (true/false). Use as {{spotify_now_playing_is_playing}}. */
|
|
1873
1873
|
SPOTIFY_NOW_PLAYING_IS_PLAYING = "spotify_now_playing_is_playing",
|
|
1874
|
+
/** Now playing album name. Use as {{spotify_now_playing_album}}. */
|
|
1875
|
+
SPOTIFY_NOW_PLAYING_ALBUM = "spotify_now_playing_album",
|
|
1876
|
+
/** Now playing album release year. Use as {{spotify_now_playing_release_year}}. */
|
|
1877
|
+
SPOTIFY_NOW_PLAYING_RELEASE_YEAR = "spotify_now_playing_release_year",
|
|
1878
|
+
/** Now playing track popularity score 0-100 from Spotify. Use as {{spotify_now_playing_popularity}}. */
|
|
1879
|
+
SPOTIFY_NOW_PLAYING_POPULARITY = "spotify_now_playing_popularity",
|
|
1880
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{spotify_now_playing_queue}}. */
|
|
1881
|
+
SPOTIFY_NOW_PLAYING_QUEUE = "spotify_now_playing_queue",
|
|
1874
1882
|
/** Next song title. Use as {{spotify_next_song}}. */
|
|
1875
1883
|
SPOTIFY_NEXT_SONG = "spotify_next_song",
|
|
1876
1884
|
/** Next song artwork URL. Use as {{spotify_next_image}}. */
|
|
@@ -1903,6 +1911,8 @@ export declare enum SystemVariables {
|
|
|
1903
1911
|
YOUTUBEMUSIC_NOW_PLAYING_PROGRESS_TS = "youtubemusic_now_playing_progress_ts",
|
|
1904
1912
|
/** Whether playback is currently advancing (true/false). Use as {{youtubemusic_now_playing_is_playing}}. */
|
|
1905
1913
|
YOUTUBEMUSIC_NOW_PLAYING_IS_PLAYING = "youtubemusic_now_playing_is_playing",
|
|
1914
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{youtubemusic_now_playing_queue}}. */
|
|
1915
|
+
YOUTUBEMUSIC_NOW_PLAYING_QUEUE = "youtubemusic_now_playing_queue",
|
|
1906
1916
|
/** Next song title. Use as {{youtubemusic_next_song}}. */
|
|
1907
1917
|
YOUTUBEMUSIC_NEXT_SONG = "youtubemusic_next_song",
|
|
1908
1918
|
/** Next song artwork URL. Use as {{youtubemusic_next_image}}. */
|
package/dist/esm/alert.types.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2
1
|
import { LumiaAlertValues } from './activity.types.js';
|
|
3
2
|
import { LumiaIntegrations } from './event.types.js';
|
|
4
3
|
import { AllVariables } from './variables.types.js';
|
|
5
4
|
import { KickKicksData } from './kick_kicks.js';
|
|
6
|
-
import { TiktokGiftsData } from './tiktok_gifts.js';
|
|
7
|
-
import { YoutubeSuperstickersData } from './youtube_superstickers.js';
|
|
5
|
+
import { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts.js';
|
|
6
|
+
import { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers.js';
|
|
8
7
|
import { VIEWER_PROFILE_ACHIEVEMENTS } from './viewer_profile_achievements.js';
|
|
9
8
|
export var LumiaVariationConditions;
|
|
10
9
|
(function (LumiaVariationConditions) {
|
|
@@ -94,6 +93,8 @@ export const LumiaRedemptionCurrencySymbol = {
|
|
|
94
93
|
[LumiaRedemptionCurrency.POINTS]: '★',
|
|
95
94
|
[LumiaRedemptionCurrency.LUMIBUCKS]: '⚡',
|
|
96
95
|
};
|
|
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
|
+
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 : ''; };
|
|
97
98
|
export const LumiaAlertConfigs = {
|
|
98
99
|
// lumia: {
|
|
99
100
|
[LumiaAlertValues.LUMIASTREAM_DONATION]: {
|
|
@@ -4207,48 +4208,183 @@ export const LumiaAlertConfigs = {
|
|
|
4207
4208
|
acceptedVariables: AllVariables.youtube.alerts.supersticker,
|
|
4208
4209
|
quickActions: [
|
|
4209
4210
|
{
|
|
4210
|
-
label: '
|
|
4211
|
-
dynamic: { value:
|
|
4211
|
+
label: 'Beaming Face ($0.99)',
|
|
4212
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_beaming_face' },
|
|
4212
4213
|
extraSettings: {
|
|
4213
4214
|
username: 'lumiastream',
|
|
4214
4215
|
displayname: 'LumiaStream',
|
|
4215
4216
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4216
|
-
amount:
|
|
4217
|
+
amount: 0.99,
|
|
4217
4218
|
currency: LumiaVariationCurrency.USD,
|
|
4218
4219
|
currencySymbol: '$',
|
|
4219
4220
|
stickerId: 'emoji_beaming_face',
|
|
4220
|
-
stickerName: '
|
|
4221
|
-
contentImage: (
|
|
4221
|
+
stickerName: 'Beaming Face',
|
|
4222
|
+
contentImage: superstickerImageUrl('emoji_beaming_face'),
|
|
4222
4223
|
},
|
|
4223
4224
|
},
|
|
4224
4225
|
{
|
|
4225
|
-
label: '
|
|
4226
|
-
dynamic: { value:
|
|
4226
|
+
label: 'Heart Eyes ($0.99)',
|
|
4227
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_heart_face' },
|
|
4227
4228
|
extraSettings: {
|
|
4228
4229
|
username: 'lumiastream',
|
|
4229
4230
|
displayname: 'LumiaStream',
|
|
4230
4231
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4231
|
-
amount:
|
|
4232
|
+
amount: 0.99,
|
|
4232
4233
|
currency: LumiaVariationCurrency.USD,
|
|
4233
4234
|
currencySymbol: '$',
|
|
4234
|
-
stickerId: '
|
|
4235
|
-
stickerName: '
|
|
4236
|
-
contentImage: (
|
|
4235
|
+
stickerId: 'emoji_heart_face',
|
|
4236
|
+
stickerName: 'Heart Eyes',
|
|
4237
|
+
contentImage: superstickerImageUrl('emoji_heart_face'),
|
|
4237
4238
|
},
|
|
4238
4239
|
},
|
|
4239
4240
|
{
|
|
4240
|
-
label: '
|
|
4241
|
-
dynamic: { value:
|
|
4241
|
+
label: 'Money Mouth ($0.99)',
|
|
4242
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_money_face' },
|
|
4242
4243
|
extraSettings: {
|
|
4243
4244
|
username: 'lumiastream',
|
|
4244
4245
|
displayname: 'LumiaStream',
|
|
4245
4246
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4246
|
-
amount:
|
|
4247
|
+
amount: 0.99,
|
|
4248
|
+
currency: LumiaVariationCurrency.USD,
|
|
4249
|
+
currencySymbol: '$',
|
|
4250
|
+
stickerId: 'emoji_money_face',
|
|
4251
|
+
stickerName: 'Money Mouth',
|
|
4252
|
+
contentImage: superstickerImageUrl('emoji_money_face'),
|
|
4253
|
+
},
|
|
4254
|
+
},
|
|
4255
|
+
{
|
|
4256
|
+
label: 'Crying Face ($0.99)',
|
|
4257
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_crying_face' },
|
|
4258
|
+
extraSettings: {
|
|
4259
|
+
username: 'lumiastream',
|
|
4260
|
+
displayname: 'LumiaStream',
|
|
4261
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4262
|
+
amount: 0.99,
|
|
4263
|
+
currency: LumiaVariationCurrency.USD,
|
|
4264
|
+
currencySymbol: '$',
|
|
4265
|
+
stickerId: 'emoji_crying_face',
|
|
4266
|
+
stickerName: 'Crying Face',
|
|
4267
|
+
contentImage: superstickerImageUrl('emoji_crying_face'),
|
|
4268
|
+
},
|
|
4269
|
+
},
|
|
4270
|
+
{
|
|
4271
|
+
label: 'One Hundred ($0.99)',
|
|
4272
|
+
dynamic: { value: 0.99, currency: LumiaVariationCurrency.USD, name: 'emoji_one_hundred' },
|
|
4273
|
+
extraSettings: {
|
|
4274
|
+
username: 'lumiastream',
|
|
4275
|
+
displayname: 'LumiaStream',
|
|
4276
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4277
|
+
amount: 0.99,
|
|
4278
|
+
currency: LumiaVariationCurrency.USD,
|
|
4279
|
+
currencySymbol: '$',
|
|
4280
|
+
stickerId: 'emoji_one_hundred',
|
|
4281
|
+
stickerName: 'One Hundred',
|
|
4282
|
+
contentImage: superstickerImageUrl('emoji_one_hundred'),
|
|
4283
|
+
},
|
|
4284
|
+
},
|
|
4285
|
+
{
|
|
4286
|
+
label: 'Thumbs Up ($1.99)',
|
|
4287
|
+
dynamic: { value: 1.99, currency: LumiaVariationCurrency.USD, name: 'youtube_object_thumbs_up_red' },
|
|
4288
|
+
extraSettings: {
|
|
4289
|
+
username: 'lumiastream',
|
|
4290
|
+
displayname: 'LumiaStream',
|
|
4291
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4292
|
+
amount: 1.99,
|
|
4293
|
+
currency: LumiaVariationCurrency.USD,
|
|
4294
|
+
currencySymbol: '$',
|
|
4295
|
+
stickerId: 'youtube_object_thumbs_up_red',
|
|
4296
|
+
stickerName: 'Thumbs Up',
|
|
4297
|
+
contentImage: superstickerImageUrl('youtube_object_thumbs_up_red'),
|
|
4298
|
+
},
|
|
4299
|
+
},
|
|
4300
|
+
{
|
|
4301
|
+
label: 'Pear Hey You ($2.00)',
|
|
4302
|
+
dynamic: { value: 2, currency: LumiaVariationCurrency.USD, name: 'pearfect_hey_you_ja_v2' },
|
|
4303
|
+
extraSettings: {
|
|
4304
|
+
username: 'lumiastream',
|
|
4305
|
+
displayname: 'LumiaStream',
|
|
4306
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4307
|
+
amount: 2,
|
|
4308
|
+
currency: LumiaVariationCurrency.USD,
|
|
4309
|
+
currencySymbol: '$',
|
|
4310
|
+
stickerId: 'pearfect_hey_you_ja_v2',
|
|
4311
|
+
stickerName: 'Pear Hey You',
|
|
4312
|
+
contentImage: superstickerImageUrl('pearfect_hey_you_ja_v2'),
|
|
4313
|
+
},
|
|
4314
|
+
},
|
|
4315
|
+
{
|
|
4316
|
+
label: 'Pear Fist Bump ($3.00)',
|
|
4317
|
+
dynamic: { value: 3, currency: LumiaVariationCurrency.USD, name: 'pearfect_fist_bump_ja_v2' },
|
|
4318
|
+
extraSettings: {
|
|
4319
|
+
username: 'lumiastream',
|
|
4320
|
+
displayname: 'LumiaStream',
|
|
4321
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4322
|
+
amount: 3,
|
|
4323
|
+
currency: LumiaVariationCurrency.USD,
|
|
4324
|
+
currencySymbol: '$',
|
|
4325
|
+
stickerId: 'pearfect_fist_bump_ja_v2',
|
|
4326
|
+
stickerName: 'Pear Fist Bump',
|
|
4327
|
+
contentImage: superstickerImageUrl('pearfect_fist_bump_ja_v2'),
|
|
4328
|
+
},
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
label: 'Pear LOL ($5.00)',
|
|
4332
|
+
dynamic: { value: 5, currency: LumiaVariationCurrency.USD, name: 'pearfect_lol_ja_v2' },
|
|
4333
|
+
extraSettings: {
|
|
4334
|
+
username: 'lumiastream',
|
|
4335
|
+
displayname: 'LumiaStream',
|
|
4336
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4337
|
+
amount: 5,
|
|
4338
|
+
currency: LumiaVariationCurrency.USD,
|
|
4339
|
+
currencySymbol: '$',
|
|
4340
|
+
stickerId: 'pearfect_lol_ja_v2',
|
|
4341
|
+
stickerName: 'Pear LOL',
|
|
4342
|
+
contentImage: superstickerImageUrl('pearfect_lol_ja_v2'),
|
|
4343
|
+
},
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
label: 'Pear Flying ($10.00)',
|
|
4347
|
+
dynamic: { value: 10, currency: LumiaVariationCurrency.USD, name: 'pearfect_flying_v2' },
|
|
4348
|
+
extraSettings: {
|
|
4349
|
+
username: 'lumiastream',
|
|
4350
|
+
displayname: 'LumiaStream',
|
|
4351
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4352
|
+
amount: 10,
|
|
4353
|
+
currency: LumiaVariationCurrency.USD,
|
|
4354
|
+
currencySymbol: '$',
|
|
4355
|
+
stickerId: 'pearfect_flying_v2',
|
|
4356
|
+
stickerName: 'Pear Flying',
|
|
4357
|
+
contentImage: superstickerImageUrl('pearfect_flying_v2'),
|
|
4358
|
+
},
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
label: 'Pear GOAL ($20.00)',
|
|
4362
|
+
dynamic: { value: 20, currency: LumiaVariationCurrency.USD, name: 'pearfect_goal_ja_v2' },
|
|
4363
|
+
extraSettings: {
|
|
4364
|
+
username: 'lumiastream',
|
|
4365
|
+
displayname: 'LumiaStream',
|
|
4366
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4367
|
+
amount: 20,
|
|
4368
|
+
currency: LumiaVariationCurrency.USD,
|
|
4369
|
+
currencySymbol: '$',
|
|
4370
|
+
stickerId: 'pearfect_goal_ja_v2',
|
|
4371
|
+
stickerName: 'Pear GOAL',
|
|
4372
|
+
contentImage: superstickerImageUrl('pearfect_goal_ja_v2'),
|
|
4373
|
+
},
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
label: 'Pear Building Riot ($50.00)',
|
|
4377
|
+
dynamic: { value: 50, currency: LumiaVariationCurrency.USD, name: 'pearfect_building_riot_v2' },
|
|
4378
|
+
extraSettings: {
|
|
4379
|
+
username: 'lumiastream',
|
|
4380
|
+
displayname: 'LumiaStream',
|
|
4381
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4382
|
+
amount: 50,
|
|
4247
4383
|
currency: LumiaVariationCurrency.USD,
|
|
4248
4384
|
currencySymbol: '$',
|
|
4249
|
-
stickerId: '
|
|
4250
|
-
stickerName: '
|
|
4251
|
-
contentImage: (
|
|
4385
|
+
stickerId: 'pearfect_building_riot_v2',
|
|
4386
|
+
stickerName: 'Pear Building Riot',
|
|
4387
|
+
contentImage: superstickerImageUrl('pearfect_building_riot_v2'),
|
|
4252
4388
|
},
|
|
4253
4389
|
},
|
|
4254
4390
|
],
|
|
@@ -4285,11 +4421,12 @@ export const LumiaAlertConfigs = {
|
|
|
4285
4421
|
default: '$',
|
|
4286
4422
|
},
|
|
4287
4423
|
{
|
|
4288
|
-
type: '
|
|
4289
|
-
label: 'Image
|
|
4424
|
+
type: 'selection',
|
|
4425
|
+
label: 'Sticker Image',
|
|
4290
4426
|
variableField: 'contentImage',
|
|
4291
4427
|
required: false,
|
|
4292
|
-
default: (
|
|
4428
|
+
default: superstickerImageUrl('emoji_beaming_face'),
|
|
4429
|
+
selections: YoutubeSuperstickerImageSelections,
|
|
4293
4430
|
},
|
|
4294
4431
|
],
|
|
4295
4432
|
LumiaVariationConditions: [
|
|
@@ -4946,7 +5083,7 @@ export const LumiaAlertConfigs = {
|
|
|
4946
5083
|
acceptedVariables: AllVariables.tiktok.alerts.gift,
|
|
4947
5084
|
quickActions: [
|
|
4948
5085
|
{
|
|
4949
|
-
label: 'Rose
|
|
5086
|
+
label: 'Rose (1 coin)',
|
|
4950
5087
|
dynamic: { value: 1, name: 'Rose', amount: 1 },
|
|
4951
5088
|
extraSettings: {
|
|
4952
5089
|
username: 'lumiastream',
|
|
@@ -4959,41 +5096,194 @@ export const LumiaAlertConfigs = {
|
|
|
4959
5096
|
coins: 1,
|
|
4960
5097
|
diamonds: 1,
|
|
4961
5098
|
amount: 1,
|
|
4962
|
-
contentImage: '
|
|
5099
|
+
contentImage: tiktokGiftImageUrl('Rose'),
|
|
4963
5100
|
},
|
|
4964
5101
|
},
|
|
4965
5102
|
{
|
|
4966
|
-
label: '
|
|
4967
|
-
dynamic: { value:
|
|
5103
|
+
label: 'Finger Heart (5 coins)',
|
|
5104
|
+
dynamic: { value: 5, name: 'Finger Heart', amount: 5 },
|
|
4968
5105
|
extraSettings: {
|
|
4969
5106
|
username: 'lumiastream',
|
|
4970
5107
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4971
|
-
giftName: '
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
5108
|
+
giftName: 'Finger Heart',
|
|
5109
|
+
giftType: 1,
|
|
5110
|
+
giftId: 5487,
|
|
5111
|
+
giftAmount: 1,
|
|
5112
|
+
value: 5,
|
|
5113
|
+
coins: 5,
|
|
5114
|
+
diamonds: 2,
|
|
5115
|
+
amount: 5,
|
|
5116
|
+
contentImage: tiktokGiftImageUrl('Finger Heart'),
|
|
5117
|
+
},
|
|
5118
|
+
},
|
|
5119
|
+
{
|
|
5120
|
+
label: 'Rosa (10 coins)',
|
|
5121
|
+
dynamic: { value: 10, name: 'Rosa', amount: 10 },
|
|
5122
|
+
extraSettings: {
|
|
5123
|
+
username: 'lumiastream',
|
|
5124
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5125
|
+
giftName: 'Rosa',
|
|
5126
|
+
giftType: 1,
|
|
5127
|
+
giftId: 8913,
|
|
5128
|
+
giftAmount: 1,
|
|
5129
|
+
value: 10,
|
|
5130
|
+
coins: 10,
|
|
5131
|
+
diamonds: 5,
|
|
5132
|
+
amount: 10,
|
|
5133
|
+
contentImage: tiktokGiftImageUrl('Rosa'),
|
|
5134
|
+
},
|
|
5135
|
+
},
|
|
5136
|
+
{
|
|
5137
|
+
label: 'Perfume (20 coins)',
|
|
5138
|
+
dynamic: { value: 20, name: 'Perfume', amount: 20 },
|
|
5139
|
+
extraSettings: {
|
|
5140
|
+
username: 'lumiastream',
|
|
5141
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5142
|
+
giftName: 'Perfume',
|
|
5143
|
+
giftType: 1,
|
|
5144
|
+
giftId: 5658,
|
|
5145
|
+
giftAmount: 1,
|
|
5146
|
+
value: 20,
|
|
5147
|
+
coins: 20,
|
|
5148
|
+
diamonds: 10,
|
|
5149
|
+
amount: 20,
|
|
5150
|
+
contentImage: tiktokGiftImageUrl('Perfume'),
|
|
5151
|
+
},
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
label: 'Doughnut (30 coins)',
|
|
5155
|
+
dynamic: { value: 30, name: 'Doughnut', amount: 30 },
|
|
5156
|
+
extraSettings: {
|
|
5157
|
+
username: 'lumiastream',
|
|
5158
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5159
|
+
giftName: 'Doughnut',
|
|
5160
|
+
giftType: 1,
|
|
5161
|
+
giftId: 5879,
|
|
5162
|
+
giftAmount: 1,
|
|
5163
|
+
value: 30,
|
|
5164
|
+
coins: 30,
|
|
5165
|
+
diamonds: 15,
|
|
5166
|
+
amount: 30,
|
|
5167
|
+
contentImage: tiktokGiftImageUrl('Doughnut'),
|
|
5168
|
+
},
|
|
5169
|
+
},
|
|
5170
|
+
{
|
|
5171
|
+
label: 'Hand Hearts (100 coins)',
|
|
5172
|
+
dynamic: { value: 100, name: 'Hand Hearts', amount: 100 },
|
|
5173
|
+
extraSettings: {
|
|
5174
|
+
username: 'lumiastream',
|
|
5175
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5176
|
+
giftName: 'Hand Hearts',
|
|
5177
|
+
giftType: 1,
|
|
5178
|
+
giftId: 5660,
|
|
4975
5179
|
giftAmount: 1,
|
|
4976
5180
|
value: 100,
|
|
4977
5181
|
coins: 100,
|
|
4978
5182
|
diamonds: 50,
|
|
4979
5183
|
amount: 100,
|
|
5184
|
+
contentImage: tiktokGiftImageUrl('Hand Hearts'),
|
|
4980
5185
|
},
|
|
4981
5186
|
},
|
|
4982
5187
|
{
|
|
4983
|
-
label: '
|
|
4984
|
-
dynamic: { value:
|
|
5188
|
+
label: 'Sunglasses (199 coins)',
|
|
5189
|
+
dynamic: { value: 199, name: 'Sunglasses', amount: 199 },
|
|
4985
5190
|
extraSettings: {
|
|
4986
5191
|
username: 'lumiastream',
|
|
4987
5192
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4988
|
-
giftName: '
|
|
4989
|
-
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/e675252b83e97135f9ede3b5d32c2c71~tplv-obj.png',
|
|
5193
|
+
giftName: 'Sunglasses',
|
|
4990
5194
|
giftType: 2,
|
|
4991
|
-
giftId:
|
|
5195
|
+
giftId: 5509,
|
|
5196
|
+
giftAmount: 1,
|
|
5197
|
+
value: 199,
|
|
5198
|
+
coins: 199,
|
|
5199
|
+
diamonds: 99,
|
|
5200
|
+
amount: 199,
|
|
5201
|
+
contentImage: tiktokGiftImageUrl('Sunglasses'),
|
|
5202
|
+
},
|
|
5203
|
+
},
|
|
5204
|
+
{
|
|
5205
|
+
label: 'Baby Chicks (500 coins)',
|
|
5206
|
+
dynamic: { value: 500, name: 'Baby Chicks', amount: 500 },
|
|
5207
|
+
extraSettings: {
|
|
5208
|
+
username: 'lumiastream',
|
|
5209
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5210
|
+
giftName: 'Baby Chicks',
|
|
5211
|
+
giftType: 2,
|
|
5212
|
+
giftId: 54725,
|
|
4992
5213
|
giftAmount: 1,
|
|
4993
5214
|
value: 500,
|
|
4994
5215
|
coins: 500,
|
|
4995
5216
|
diamonds: 250,
|
|
4996
5217
|
amount: 500,
|
|
5218
|
+
contentImage: tiktokGiftImageUrl('Baby Chicks'),
|
|
5219
|
+
},
|
|
5220
|
+
},
|
|
5221
|
+
{
|
|
5222
|
+
label: 'Galaxy (1,000 coins)',
|
|
5223
|
+
dynamic: { value: 1000, name: 'Galaxy', amount: 1000 },
|
|
5224
|
+
extraSettings: {
|
|
5225
|
+
username: 'lumiastream',
|
|
5226
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5227
|
+
giftName: 'Galaxy',
|
|
5228
|
+
giftType: 2,
|
|
5229
|
+
giftId: 11046,
|
|
5230
|
+
giftAmount: 1,
|
|
5231
|
+
value: 1000,
|
|
5232
|
+
coins: 1000,
|
|
5233
|
+
diamonds: 500,
|
|
5234
|
+
amount: 1000,
|
|
5235
|
+
contentImage: tiktokGiftImageUrl('Galaxy'),
|
|
5236
|
+
},
|
|
5237
|
+
},
|
|
5238
|
+
{
|
|
5239
|
+
label: 'Whale Diving (2,150 coins)',
|
|
5240
|
+
dynamic: { value: 2150, name: 'Whale Diving', amount: 2150 },
|
|
5241
|
+
extraSettings: {
|
|
5242
|
+
username: 'lumiastream',
|
|
5243
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5244
|
+
giftName: 'Whale Diving',
|
|
5245
|
+
giftType: 2,
|
|
5246
|
+
giftId: 6820,
|
|
5247
|
+
giftAmount: 1,
|
|
5248
|
+
value: 2150,
|
|
5249
|
+
coins: 2150,
|
|
5250
|
+
diamonds: 1075,
|
|
5251
|
+
amount: 2150,
|
|
5252
|
+
contentImage: tiktokGiftImageUrl('Whale Diving'),
|
|
5253
|
+
},
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
label: 'Lion (29,999 coins)',
|
|
5257
|
+
dynamic: { value: 29999, name: 'Lion', amount: 29999 },
|
|
5258
|
+
extraSettings: {
|
|
5259
|
+
username: 'lumiastream',
|
|
5260
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5261
|
+
giftName: 'Lion',
|
|
5262
|
+
giftType: 2,
|
|
5263
|
+
giftId: 6369,
|
|
5264
|
+
giftAmount: 1,
|
|
5265
|
+
value: 29999,
|
|
5266
|
+
coins: 29999,
|
|
5267
|
+
diamonds: 14999,
|
|
5268
|
+
amount: 29999,
|
|
5269
|
+
contentImage: tiktokGiftImageUrl('Lion'),
|
|
5270
|
+
},
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
label: 'TikTok Universe (44,999 coins)',
|
|
5274
|
+
dynamic: { value: 44999, name: 'TikTok Universe', amount: 44999 },
|
|
5275
|
+
extraSettings: {
|
|
5276
|
+
username: 'lumiastream',
|
|
5277
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
5278
|
+
giftName: 'TikTok Universe',
|
|
5279
|
+
giftType: 2,
|
|
5280
|
+
giftId: 9101,
|
|
5281
|
+
giftAmount: 1,
|
|
5282
|
+
value: 44999,
|
|
5283
|
+
coins: 44999,
|
|
5284
|
+
diamonds: 22499,
|
|
5285
|
+
amount: 44999,
|
|
5286
|
+
contentImage: tiktokGiftImageUrl('TikTok Universe'),
|
|
4997
5287
|
},
|
|
4998
5288
|
},
|
|
4999
5289
|
],
|
|
@@ -5027,6 +5317,14 @@ export const LumiaAlertConfigs = {
|
|
|
5027
5317
|
required: false,
|
|
5028
5318
|
default: 1,
|
|
5029
5319
|
},
|
|
5320
|
+
{
|
|
5321
|
+
type: 'selection',
|
|
5322
|
+
label: 'Gift Image',
|
|
5323
|
+
variableField: 'contentImage',
|
|
5324
|
+
required: false,
|
|
5325
|
+
default: tiktokGiftImageUrl('Rose'),
|
|
5326
|
+
selections: TiktokGiftImageSelections,
|
|
5327
|
+
},
|
|
5030
5328
|
],
|
|
5031
5329
|
LumiaVariationConditions: [
|
|
5032
5330
|
{ type: LumiaVariationConditions.RANDOM },
|
package/dist/esm/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { formatCondition } from './helpers.js';
|
|
|
7
7
|
export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, aliasContentImageFromLegacy, isRedundantInputField, syncLinkedVariableFields, } from './emulate.helpers.js';
|
|
8
8
|
export { KickKicksData } from './kick_kicks.js';
|
|
9
9
|
export { BLANK_OVERLAY_TEMPLATE_ID } from './overlay_template.types.js';
|
|
10
|
-
export { TiktokGiftsData } from './tiktok_gifts.js';
|
|
11
|
-
export { YoutubeSuperstickersData } from './youtube_superstickers.js';
|
|
10
|
+
export { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts.js';
|
|
11
|
+
export { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers.js';
|
|
12
12
|
export { VIEWER_PROFILE_ACHIEVEMENTS, } from './viewer_profile_achievements.js';
|
|
13
13
|
export { SongRequestStatus, SongRequestSource, SongRequestProvider, SongRequestPlaybackTarget, } from './songrequest.types.js';
|
package/dist/esm/tiktok_gifts.js
CHANGED
|
@@ -3627,3 +3627,7 @@ export const TiktokGiftsData = [
|
|
|
3627
3627
|
searchText: 'Zombie Swarm sent Zombie Swarm 54730',
|
|
3628
3628
|
},
|
|
3629
3629
|
];
|
|
3630
|
+
export const TiktokGiftImageSelections = TiktokGiftsData.map((gift) => ({
|
|
3631
|
+
label: `${gift.label} (${gift.helperText})`,
|
|
3632
|
+
value: gift.imageUrl,
|
|
3633
|
+
}));
|
|
@@ -808,6 +808,14 @@ export var SystemVariables;
|
|
|
808
808
|
SystemVariables["SPOTIFY_NOW_PLAYING_PROGRESS_TS"] = "spotify_now_playing_progress_ts";
|
|
809
809
|
/** Whether playback is currently advancing (true/false). Use as {{spotify_now_playing_is_playing}}. */
|
|
810
810
|
SystemVariables["SPOTIFY_NOW_PLAYING_IS_PLAYING"] = "spotify_now_playing_is_playing";
|
|
811
|
+
/** Now playing album name. Use as {{spotify_now_playing_album}}. */
|
|
812
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_ALBUM"] = "spotify_now_playing_album";
|
|
813
|
+
/** Now playing album release year. Use as {{spotify_now_playing_release_year}}. */
|
|
814
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_RELEASE_YEAR"] = "spotify_now_playing_release_year";
|
|
815
|
+
/** Now playing track popularity score 0-100 from Spotify. Use as {{spotify_now_playing_popularity}}. */
|
|
816
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_POPULARITY"] = "spotify_now_playing_popularity";
|
|
817
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{spotify_now_playing_queue}}. */
|
|
818
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_QUEUE"] = "spotify_now_playing_queue";
|
|
811
819
|
/** Next song title. Use as {{spotify_next_song}}. */
|
|
812
820
|
SystemVariables["SPOTIFY_NEXT_SONG"] = "spotify_next_song";
|
|
813
821
|
/** Next song artwork URL. Use as {{spotify_next_image}}. */
|
|
@@ -841,6 +849,8 @@ export var SystemVariables;
|
|
|
841
849
|
SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_PROGRESS_TS"] = "youtubemusic_now_playing_progress_ts";
|
|
842
850
|
/** Whether playback is currently advancing (true/false). Use as {{youtubemusic_now_playing_is_playing}}. */
|
|
843
851
|
SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_IS_PLAYING"] = "youtubemusic_now_playing_is_playing";
|
|
852
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{youtubemusic_now_playing_queue}}. */
|
|
853
|
+
SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_QUEUE"] = "youtubemusic_now_playing_queue";
|
|
844
854
|
/** Next song title. Use as {{youtubemusic_next_song}}. */
|
|
845
855
|
SystemVariables["YOUTUBEMUSIC_NEXT_SONG"] = "youtubemusic_next_song";
|
|
846
856
|
/** Next song artwork URL. Use as {{youtubemusic_next_image}}. */
|
|
@@ -1764,3 +1764,7 @@ export const YoutubeSuperstickersData = [
|
|
|
1764
1764
|
searchText: "masher_super_effective Video game controller punches and kicks in between the words 'Super Effective' 50.00 USD",
|
|
1765
1765
|
},
|
|
1766
1766
|
];
|
|
1767
|
+
export const YoutubeSuperstickerImageSelections = YoutubeSuperstickersData.map((sticker) => ({
|
|
1768
|
+
label: `${sticker.label} (${sticker.helperText})`,
|
|
1769
|
+
value: sticker.imageUrl,
|
|
1770
|
+
}));
|
package/dist/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export { formatCondition } from './helpers';
|
|
|
7
7
|
export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, aliasContentImageFromLegacy, isRedundantInputField, syncLinkedVariableFields, type InputFieldLike, } from './emulate.helpers';
|
|
8
8
|
export { KickKicksData } from './kick_kicks';
|
|
9
9
|
export { BLANK_OVERLAY_TEMPLATE_ID, type OverlayTemplate, type OverlayTemplateLayerDescriptor, type OverlayTemplateAnchor, type OverlayTemplateLayerOverrides } from './overlay_template.types';
|
|
10
|
-
export { TiktokGiftsData } from './tiktok_gifts';
|
|
11
|
-
export { YoutubeSuperstickersData } from './youtube_superstickers';
|
|
10
|
+
export { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts';
|
|
11
|
+
export { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers';
|
|
12
12
|
export { VIEWER_PROFILE_ACHIEVEMENTS, type ViewerProfileAchievementColor, type ViewerProfileAchievementDefinition, type ViewerProfileAchievementMetric, type ViewerProfileCollectionMode, type ViewerProfileCollectionRule, type ViewerProfileCollectionSettings, type ViewerProfileCollectionSource, } from './viewer_profile_achievements';
|
|
13
13
|
export { SongRequestStatus, SongRequestSource, SongRequestProvider, SongRequestPlaybackTarget, type SongRequestItem, type SongRequestConfig, type SongRequestState, type SongRequestQueueUpdatePayload, type SongRequestPendingUpdatePayload, type SongRequestNowPlayingPayload, type SongRequestAddParams, type SongRequestModerationParams, } from './songrequest.types';
|
|
14
14
|
export type { IAlertEvent, AlertPlatform, AlertEventUnion, AlertEventInputMap, SessionAggregateDynamic, SessionAggregateExtraSettings, TwitchFollowerDynamic, TwitchFollowerExtraSettings, TwitchSubscriberDynamic, TwitchSubscriberExtraSettings, TwitchGiftSubscriptionRecipient, TwitchGiftSubscriptionDynamic, TwitchGiftSubscriptionExtraSettings, TwitchBitsDynamic, TwitchBitsExtraSettings, TwitchBitsComboDynamic, TwitchBitsComboExtraSettings, TwitchRaidDynamic, TwitchRaidExtraSettings, TwitchRaidOutDynamic, TwitchRaidOutExtraSettings, TwitchChannelJoinDynamic, TwitchChannelJoinExtraSettings, TwitchChannelLeaveDynamic, TwitchChannelLeaveExtraSettings, TwitchFirstChatterDynamic, TwitchFirstChatterExtraSettings, TwitchEntranceDynamic, TwitchEntranceExtraSettings, TwitchTimeoutDynamic, TwitchTimeoutExtraSettings, TwitchTimeoutOverDynamic, TwitchTimeoutOverExtraSettings, TwitchBannedDynamic, TwitchBannedExtraSettings, TwitchClipDynamic, TwitchClipExtraSettings, TwitchCategoryDynamic, TwitchCategoryExtraSettings, TwitchHypeTrainInfo, TwitchHypeTrainDynamic, TwitchHypeTrainExtraSettings, TwitchHypeTrainStartedDynamic, TwitchHypeTrainStartedExtraSettings, TwitchHypeTrainProgressedDynamic, TwitchHypeTrainProgressedExtraSettings, TwitchHypeTrainLevelProgressedDynamic, TwitchHypeTrainLevelProgressedExtraSettings, TwitchHypeTrainEndedDynamic, TwitchHypeTrainEndedExtraSettings, TwitchPollChoice, TwitchPollInfo, TwitchPollDynamic, TwitchPollExtraSettings, TwitchPollStartedDynamic, TwitchPollStartedExtraSettings, TwitchPollProgressedDynamic, TwitchPollProgressedExtraSettings, TwitchPollEndedDynamic, TwitchPollEndedExtraSettings, TwitchPredictionOutcome, TwitchPredictionInfo, TwitchPredictionDynamic, TwitchPredictionExtraSettings, TwitchPredictionStartedDynamic, TwitchPredictionStartedExtraSettings, TwitchPredictionProgressedDynamic, TwitchPredictionProgressedExtraSettings, TwitchPredictionLockedDynamic, TwitchPredictionLockedExtraSettings, TwitchPredictionEndedDynamic, TwitchPredictionEndedExtraSettings, TwitchGoalInfo, TwitchGoalDynamic, TwitchGoalExtraSettings, TwitchGoalStartedDynamic, TwitchGoalStartedExtraSettings, TwitchGoalProgressedDynamic, TwitchGoalProgressedExtraSettings, TwitchGoalEndedDynamic, TwitchGoalEndedExtraSettings, TwitchCharityDonationDynamic, TwitchCharityDonationExtraSettings, TwitchCharityCampaignDynamic, TwitchCharityCampaignExtraSettings, TwitchCharityCampaignStartedDynamic, TwitchCharityCampaignStartedExtraSettings, TwitchCharityCampaignProgressedDynamic, TwitchCharityCampaignProgressedExtraSettings, TwitchCharityCampaignStoppedDynamic, TwitchCharityCampaignStoppedExtraSettings, TwitchShoutoutReceiveDynamic, TwitchShoutoutReceiveExtraSettings, TwitchAdDynamic, TwitchAdStartedExtraSettings, TwitchAdStoppedExtraSettings, TwitchStreamLiveDynamic, TwitchStreamLiveExtraSettings, TwitchStreamOfflineDynamic, TwitchStreamOfflineExtraSettings, TwitchWatchStreakDynamic, TwitchWatchStreakExtraSettings, TwitchPowerupsDynamic, TwitchPowerupsExtraSettings, TwitchRedemptionDynamic, TwitchRedemptionExtraSettings, TwitchSessionFollowersDynamic, TwitchSessionFollowersExtraSettings, TwitchSessionSubsDynamic, TwitchSessionSubsExtraSettings, TwitchSessionGiftSubscriptionsDynamic, TwitchSessionGiftSubscriptionsExtraSettings, TwitchSessionBitsDynamic, TwitchSessionBitsExtraSettings, KickFollowerDynamic, KickFollowerExtraSettings, KickSubscriberDynamic, KickSubscriberExtraSettings, KickGiftSubscriptionRecipient, KickGiftSubscriptionDynamic, KickGiftSubscriptionExtraSettings, KickKicksDynamic, KickKicksExtraSettings, KickHostDynamic, KickHostExtraSettings, KickBannedDynamic, KickBannedExtraSettings, KickUnbannedDynamic, KickUnbannedExtraSettings, KickFirstChatterDynamic, KickFirstChatterExtraSettings, KickEntranceDynamic, KickEntranceExtraSettings, KickSessionFollowersDynamic, KickSessionFollowersExtraSettings, KickSessionSubsDynamic, KickSessionSubsExtraSettings, KickSessionGiftSubscriptionsDynamic, KickSessionGiftSubscriptionsExtraSettings, KickSessionKicksDynamic, KickSessionKicksExtraSettings, } from './wire.types';
|
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.YoutubeSuperstickersData = 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.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; } });
|
|
@@ -50,8 +50,10 @@ var overlay_template_types_1 = require("./overlay_template.types");
|
|
|
50
50
|
Object.defineProperty(exports, "BLANK_OVERLAY_TEMPLATE_ID", { enumerable: true, get: function () { return overlay_template_types_1.BLANK_OVERLAY_TEMPLATE_ID; } });
|
|
51
51
|
var tiktok_gifts_1 = require("./tiktok_gifts");
|
|
52
52
|
Object.defineProperty(exports, "TiktokGiftsData", { enumerable: true, get: function () { return tiktok_gifts_1.TiktokGiftsData; } });
|
|
53
|
+
Object.defineProperty(exports, "TiktokGiftImageSelections", { enumerable: true, get: function () { return tiktok_gifts_1.TiktokGiftImageSelections; } });
|
|
53
54
|
var youtube_superstickers_1 = require("./youtube_superstickers");
|
|
54
55
|
Object.defineProperty(exports, "YoutubeSuperstickersData", { enumerable: true, get: function () { return youtube_superstickers_1.YoutubeSuperstickersData; } });
|
|
56
|
+
Object.defineProperty(exports, "YoutubeSuperstickerImageSelections", { enumerable: true, get: function () { return youtube_superstickers_1.YoutubeSuperstickerImageSelections; } });
|
|
55
57
|
var viewer_profile_achievements_1 = require("./viewer_profile_achievements");
|
|
56
58
|
Object.defineProperty(exports, "VIEWER_PROFILE_ACHIEVEMENTS", { enumerable: true, get: function () { return viewer_profile_achievements_1.VIEWER_PROFILE_ACHIEVEMENTS; } });
|
|
57
59
|
var songrequest_types_1 = require("./songrequest.types");
|
package/dist/tiktok_gifts.d.ts
CHANGED
package/dist/tiktok_gifts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TiktokGiftsData = void 0;
|
|
3
|
+
exports.TiktokGiftImageSelections = exports.TiktokGiftsData = void 0;
|
|
4
4
|
exports.TiktokGiftsData = [
|
|
5
5
|
{
|
|
6
6
|
id: 14214,
|
|
@@ -3630,3 +3630,7 @@ exports.TiktokGiftsData = [
|
|
|
3630
3630
|
searchText: 'Zombie Swarm sent Zombie Swarm 54730',
|
|
3631
3631
|
},
|
|
3632
3632
|
];
|
|
3633
|
+
exports.TiktokGiftImageSelections = exports.TiktokGiftsData.map((gift) => ({
|
|
3634
|
+
label: `${gift.label} (${gift.helperText})`,
|
|
3635
|
+
value: gift.imageUrl,
|
|
3636
|
+
}));
|
|
@@ -803,6 +803,14 @@ export declare enum SystemVariables {
|
|
|
803
803
|
SPOTIFY_NOW_PLAYING_PROGRESS_TS = "spotify_now_playing_progress_ts",
|
|
804
804
|
/** Whether playback is currently advancing (true/false). Use as {{spotify_now_playing_is_playing}}. */
|
|
805
805
|
SPOTIFY_NOW_PLAYING_IS_PLAYING = "spotify_now_playing_is_playing",
|
|
806
|
+
/** Now playing album name. Use as {{spotify_now_playing_album}}. */
|
|
807
|
+
SPOTIFY_NOW_PLAYING_ALBUM = "spotify_now_playing_album",
|
|
808
|
+
/** Now playing album release year. Use as {{spotify_now_playing_release_year}}. */
|
|
809
|
+
SPOTIFY_NOW_PLAYING_RELEASE_YEAR = "spotify_now_playing_release_year",
|
|
810
|
+
/** Now playing track popularity score 0-100 from Spotify. Use as {{spotify_now_playing_popularity}}. */
|
|
811
|
+
SPOTIFY_NOW_PLAYING_POPULARITY = "spotify_now_playing_popularity",
|
|
812
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{spotify_now_playing_queue}}. */
|
|
813
|
+
SPOTIFY_NOW_PLAYING_QUEUE = "spotify_now_playing_queue",
|
|
806
814
|
/** Next song title. Use as {{spotify_next_song}}. */
|
|
807
815
|
SPOTIFY_NEXT_SONG = "spotify_next_song",
|
|
808
816
|
/** Next song artwork URL. Use as {{spotify_next_image}}. */
|
|
@@ -835,6 +843,8 @@ export declare enum SystemVariables {
|
|
|
835
843
|
YOUTUBEMUSIC_NOW_PLAYING_PROGRESS_TS = "youtubemusic_now_playing_progress_ts",
|
|
836
844
|
/** Whether playback is currently advancing (true/false). Use as {{youtubemusic_now_playing_is_playing}}. */
|
|
837
845
|
YOUTUBEMUSIC_NOW_PLAYING_IS_PLAYING = "youtubemusic_now_playing_is_playing",
|
|
846
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{youtubemusic_now_playing_queue}}. */
|
|
847
|
+
YOUTUBEMUSIC_NOW_PLAYING_QUEUE = "youtubemusic_now_playing_queue",
|
|
838
848
|
/** Next song title. Use as {{youtubemusic_next_song}}. */
|
|
839
849
|
YOUTUBEMUSIC_NEXT_SONG = "youtubemusic_next_song",
|
|
840
850
|
/** Next song artwork URL. Use as {{youtubemusic_next_image}}. */
|
package/dist/variables.types.js
CHANGED
|
@@ -813,6 +813,14 @@ var SystemVariables;
|
|
|
813
813
|
SystemVariables["SPOTIFY_NOW_PLAYING_PROGRESS_TS"] = "spotify_now_playing_progress_ts";
|
|
814
814
|
/** Whether playback is currently advancing (true/false). Use as {{spotify_now_playing_is_playing}}. */
|
|
815
815
|
SystemVariables["SPOTIFY_NOW_PLAYING_IS_PLAYING"] = "spotify_now_playing_is_playing";
|
|
816
|
+
/** Now playing album name. Use as {{spotify_now_playing_album}}. */
|
|
817
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_ALBUM"] = "spotify_now_playing_album";
|
|
818
|
+
/** Now playing album release year. Use as {{spotify_now_playing_release_year}}. */
|
|
819
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_RELEASE_YEAR"] = "spotify_now_playing_release_year";
|
|
820
|
+
/** Now playing track popularity score 0-100 from Spotify. Use as {{spotify_now_playing_popularity}}. */
|
|
821
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_POPULARITY"] = "spotify_now_playing_popularity";
|
|
822
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{spotify_now_playing_queue}}. */
|
|
823
|
+
SystemVariables["SPOTIFY_NOW_PLAYING_QUEUE"] = "spotify_now_playing_queue";
|
|
816
824
|
/** Next song title. Use as {{spotify_next_song}}. */
|
|
817
825
|
SystemVariables["SPOTIFY_NEXT_SONG"] = "spotify_next_song";
|
|
818
826
|
/** Next song artwork URL. Use as {{spotify_next_image}}. */
|
|
@@ -846,6 +854,8 @@ var SystemVariables;
|
|
|
846
854
|
SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_PROGRESS_TS"] = "youtubemusic_now_playing_progress_ts";
|
|
847
855
|
/** Whether playback is currently advancing (true/false). Use as {{youtubemusic_now_playing_is_playing}}. */
|
|
848
856
|
SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_IS_PLAYING"] = "youtubemusic_now_playing_is_playing";
|
|
857
|
+
/** Upcoming queue as a JSON array of {name, artist, image, uri, url}. Use as {{youtubemusic_now_playing_queue}}. */
|
|
858
|
+
SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_QUEUE"] = "youtubemusic_now_playing_queue";
|
|
849
859
|
/** Next song title. Use as {{youtubemusic_next_song}}. */
|
|
850
860
|
SystemVariables["YOUTUBEMUSIC_NEXT_SONG"] = "youtubemusic_next_song";
|
|
851
861
|
/** Next song artwork URL. Use as {{youtubemusic_next_image}}. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.YoutubeSuperstickersData = void 0;
|
|
3
|
+
exports.YoutubeSuperstickerImageSelections = exports.YoutubeSuperstickersData = void 0;
|
|
4
4
|
exports.YoutubeSuperstickersData = [
|
|
5
5
|
{
|
|
6
6
|
value: 'pearfect_hey_you_ja_v2',
|
|
@@ -1767,3 +1767,7 @@ exports.YoutubeSuperstickersData = [
|
|
|
1767
1767
|
searchText: "masher_super_effective Video game controller punches and kicks in between the words 'Super Effective' 50.00 USD",
|
|
1768
1768
|
},
|
|
1769
1769
|
];
|
|
1770
|
+
exports.YoutubeSuperstickerImageSelections = exports.YoutubeSuperstickersData.map((sticker) => ({
|
|
1771
|
+
label: `${sticker.label} (${sticker.helperText})`,
|
|
1772
|
+
value: sticker.imageUrl,
|
|
1773
|
+
}));
|