@lumiastream/lumia-types 3.5.9 → 3.6.0-beta.2
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 +27 -16
- package/dist/emulate.helpers.d.ts +1 -0
- package/dist/emulate.helpers.js +29 -0
- package/dist/esm/alert.types.js +27 -16
- package/dist/esm/emulate.helpers.js +28 -0
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/alert.types.js
CHANGED
|
@@ -1681,6 +1681,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1681
1681
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1682
1682
|
type: 'gigantify_an_emote',
|
|
1683
1683
|
amount: 100,
|
|
1684
|
+
contentImage: 'https://static-cdn.jtvnw.net/twitch-power-ups/gigantify_an_emote/black/v1/default_2x.png',
|
|
1684
1685
|
},
|
|
1685
1686
|
},
|
|
1686
1687
|
{
|
|
@@ -1691,6 +1692,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1691
1692
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1692
1693
|
type: 'celebration',
|
|
1693
1694
|
amount: 500,
|
|
1695
|
+
contentImage: 'https://static-cdn.jtvnw.net/twitch-power-ups/celebration/black/v1/default_2x.png',
|
|
1694
1696
|
},
|
|
1695
1697
|
},
|
|
1696
1698
|
],
|
|
@@ -2784,7 +2786,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2784
2786
|
charity_id: 'lumia123',
|
|
2785
2787
|
charity_name: 'Lumia Charity',
|
|
2786
2788
|
charity_description: 'Give me more lights',
|
|
2787
|
-
|
|
2789
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2788
2790
|
charity_website: 'https://lumiastream.com',
|
|
2789
2791
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2790
2792
|
},
|
|
@@ -2800,7 +2802,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2800
2802
|
charity_id: 'lumia123',
|
|
2801
2803
|
charity_name: 'Lumia Charity',
|
|
2802
2804
|
charity_description: 'Give me more lights',
|
|
2803
|
-
|
|
2805
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2804
2806
|
charity_website: 'https://lumiastream.com',
|
|
2805
2807
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2806
2808
|
},
|
|
@@ -2816,7 +2818,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2816
2818
|
charity_id: 'lumia123',
|
|
2817
2819
|
charity_name: 'Lumia Charity',
|
|
2818
2820
|
charity_description: 'Give me more lights',
|
|
2819
|
-
|
|
2821
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2820
2822
|
charity_website: 'https://lumiastream.com',
|
|
2821
2823
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2822
2824
|
},
|
|
@@ -2891,7 +2893,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2891
2893
|
charity_id: 'lumia123',
|
|
2892
2894
|
charity_name: 'Lumia Charity',
|
|
2893
2895
|
charity_description: 'Give me more lights',
|
|
2894
|
-
|
|
2896
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2895
2897
|
charity_amount: 0,
|
|
2896
2898
|
charity_target_amount: 100,
|
|
2897
2899
|
charity_website: 'https://lumiastream.com',
|
|
@@ -2954,7 +2956,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2954
2956
|
extraSettings: {
|
|
2955
2957
|
charity_name: 'Lumia Charity',
|
|
2956
2958
|
charity_description: 'Give me more lights',
|
|
2957
|
-
|
|
2959
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2958
2960
|
charity_amount: 20,
|
|
2959
2961
|
charity_target_amount: 100,
|
|
2960
2962
|
charity_website: 'https://lumiastream.com',
|
|
@@ -3016,7 +3018,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3016
3018
|
extraSettings: {
|
|
3017
3019
|
charity_name: 'Lumia Charity',
|
|
3018
3020
|
charity_description: 'Give me more lights',
|
|
3019
|
-
|
|
3021
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3020
3022
|
charity_amount: 100,
|
|
3021
3023
|
charity_target_amount: 100,
|
|
3022
3024
|
charity_website: 'https://lumiastream.com',
|
|
@@ -3130,6 +3132,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3130
3132
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3131
3133
|
clip_title: 'Lumia Stream',
|
|
3132
3134
|
clip_url: 'https://www.twitch.tv/lumiastream/clip/EnchantingSuccessfulMoonBlargNaut-ev_c6MJ_Qb0o7gEx',
|
|
3135
|
+
contentImage: 'https://clips-media-assets2.twitch.tv/AT-cm%7CEnchantingSuccessfulMoonBlargNaut-preview-480x272.jpg',
|
|
3133
3136
|
},
|
|
3134
3137
|
},
|
|
3135
3138
|
],
|
|
@@ -3924,7 +3927,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3924
3927
|
comboCount: 1,
|
|
3925
3928
|
hasVisualEffect: false,
|
|
3926
3929
|
giftUrl: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3927
|
-
|
|
3930
|
+
contentImage: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3928
3931
|
giftDurationSeconds: 3,
|
|
3929
3932
|
giftDurationNanos: 0,
|
|
3930
3933
|
altText: 'Heart',
|
|
@@ -3944,7 +3947,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3944
3947
|
comboCount: 1,
|
|
3945
3948
|
hasVisualEffect: true,
|
|
3946
3949
|
giftUrl: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3947
|
-
|
|
3950
|
+
contentImage: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3948
3951
|
giftDurationSeconds: 3,
|
|
3949
3952
|
giftDurationNanos: 0,
|
|
3950
3953
|
altText: 'Rose',
|
|
@@ -3964,7 +3967,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3964
3967
|
comboCount: 5,
|
|
3965
3968
|
hasVisualEffect: true,
|
|
3966
3969
|
giftUrl: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3967
|
-
|
|
3970
|
+
contentImage: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3968
3971
|
giftDurationSeconds: 3,
|
|
3969
3972
|
giftDurationNanos: 0,
|
|
3970
3973
|
altText: 'Star',
|
|
@@ -4218,7 +4221,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4218
4221
|
currencySymbol: '$',
|
|
4219
4222
|
stickerId: 'emoji_beaming_face',
|
|
4220
4223
|
stickerName: 'Emoji Beaming Face',
|
|
4221
|
-
|
|
4224
|
+
contentImage: (_b = (_a = youtube_superstickers_1.YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_beaming_face')) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : '',
|
|
4222
4225
|
},
|
|
4223
4226
|
},
|
|
4224
4227
|
{
|
|
@@ -4233,7 +4236,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4233
4236
|
currencySymbol: '$',
|
|
4234
4237
|
stickerId: 'emoji_laughing',
|
|
4235
4238
|
stickerName: 'Emoji Laughing',
|
|
4236
|
-
|
|
4239
|
+
contentImage: (_d = (_c = youtube_superstickers_1.YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_laughing')) === null || _c === void 0 ? void 0 : _c.imageUrl) !== null && _d !== void 0 ? _d : '',
|
|
4237
4240
|
},
|
|
4238
4241
|
},
|
|
4239
4242
|
{
|
|
@@ -4248,7 +4251,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4248
4251
|
currencySymbol: '$',
|
|
4249
4252
|
stickerId: 'emoji_sad',
|
|
4250
4253
|
stickerName: 'Emoji Sad',
|
|
4251
|
-
|
|
4254
|
+
contentImage: (_f = (_e = youtube_superstickers_1.YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_sad')) === null || _e === void 0 ? void 0 : _e.imageUrl) !== null && _f !== void 0 ? _f : '',
|
|
4252
4255
|
},
|
|
4253
4256
|
},
|
|
4254
4257
|
],
|
|
@@ -4287,7 +4290,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4287
4290
|
{
|
|
4288
4291
|
type: 'text',
|
|
4289
4292
|
label: 'Image URL',
|
|
4290
|
-
variableField: '
|
|
4293
|
+
variableField: 'contentImage',
|
|
4291
4294
|
required: false,
|
|
4292
4295
|
default: (_h = (_g = youtube_superstickers_1.YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_beaming_face')) === null || _g === void 0 ? void 0 : _g.imageUrl) !== null && _h !== void 0 ? _h : '',
|
|
4293
4296
|
},
|
|
@@ -4959,7 +4962,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4959
4962
|
coins: 1,
|
|
4960
4963
|
diamonds: 1,
|
|
4961
4964
|
amount: 1,
|
|
4962
|
-
|
|
4965
|
+
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/eba3a9bb85c33e017f3648eaf88d7189~tplv-obj.png',
|
|
4963
4966
|
},
|
|
4964
4967
|
},
|
|
4965
4968
|
{
|
|
@@ -4969,7 +4972,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4969
4972
|
username: 'lumiastream',
|
|
4970
4973
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4971
4974
|
giftName: 'Pumpkin',
|
|
4972
|
-
|
|
4975
|
+
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/e675252b83e97135f9ede3b5d32c2c71~tplv-obj.png',
|
|
4973
4976
|
giftType: 2,
|
|
4974
4977
|
giftId: 7095,
|
|
4975
4978
|
giftAmount: 1,
|
|
@@ -4986,7 +4989,7 @@ exports.LumiaAlertConfigs = {
|
|
|
4986
4989
|
username: 'lumiastream',
|
|
4987
4990
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4988
4991
|
giftName: 'Boiling Cauldron',
|
|
4989
|
-
|
|
4992
|
+
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/e675252b83e97135f9ede3b5d32c2c71~tplv-obj.png',
|
|
4990
4993
|
giftType: 2,
|
|
4991
4994
|
giftId: 7158,
|
|
4992
4995
|
giftAmount: 1,
|
|
@@ -7832,6 +7835,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7832
7835
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
7833
7836
|
amount: 100,
|
|
7834
7837
|
currency: LumiaVariationCurrency.USD,
|
|
7838
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7835
7839
|
},
|
|
7836
7840
|
},
|
|
7837
7841
|
{
|
|
@@ -7842,6 +7846,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7842
7846
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
7843
7847
|
amount: 200,
|
|
7844
7848
|
currency: LumiaVariationCurrency.USD,
|
|
7849
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7845
7850
|
},
|
|
7846
7851
|
},
|
|
7847
7852
|
{
|
|
@@ -7852,6 +7857,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7852
7857
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
7853
7858
|
amount: 300,
|
|
7854
7859
|
currency: LumiaVariationCurrency.USD,
|
|
7860
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7855
7861
|
},
|
|
7856
7862
|
},
|
|
7857
7863
|
],
|
|
@@ -7910,6 +7916,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7910
7916
|
amount: 100,
|
|
7911
7917
|
currency: LumiaVariationCurrency.USD,
|
|
7912
7918
|
items: 'Shirt, Keyblade, Chaos Emerald',
|
|
7919
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7913
7920
|
},
|
|
7914
7921
|
},
|
|
7915
7922
|
{
|
|
@@ -7921,6 +7928,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7921
7928
|
amount: 200,
|
|
7922
7929
|
currency: LumiaVariationCurrency.USD,
|
|
7923
7930
|
items: 'Shirt, Keyblade, Chaos Emerald',
|
|
7931
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7924
7932
|
},
|
|
7925
7933
|
},
|
|
7926
7934
|
{
|
|
@@ -7932,6 +7940,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7932
7940
|
amount: 300,
|
|
7933
7941
|
currency: LumiaVariationCurrency.USD,
|
|
7934
7942
|
items: 'Shirt, Keyblade, Chaos Emerald',
|
|
7943
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7935
7944
|
},
|
|
7936
7945
|
},
|
|
7937
7946
|
],
|
|
@@ -7997,6 +8006,7 @@ exports.LumiaAlertConfigs = {
|
|
|
7997
8006
|
giveawayId: 'TEST123',
|
|
7998
8007
|
amount: 100,
|
|
7999
8008
|
currency: LumiaVariationCurrency.USD,
|
|
8009
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
8000
8010
|
},
|
|
8001
8011
|
},
|
|
8002
8012
|
],
|
|
@@ -8061,6 +8071,7 @@ exports.LumiaAlertConfigs = {
|
|
|
8061
8071
|
giveawayId: 'TEST123',
|
|
8062
8072
|
winners: ['winner1', 'winner2', 'winner3'],
|
|
8063
8073
|
winnerCount: 3,
|
|
8074
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
8064
8075
|
},
|
|
8065
8076
|
},
|
|
8066
8077
|
],
|
|
@@ -6,4 +6,5 @@ export interface InputFieldLike {
|
|
|
6
6
|
}
|
|
7
7
|
export declare function isRedundantInputField(inputField: InputFieldLike, allInputFields: ReadonlyArray<InputFieldLike> | undefined): boolean;
|
|
8
8
|
export declare function syncLinkedVariableFields(values: Record<string, any>): void;
|
|
9
|
+
export declare function aliasContentImageFromLegacy(values: Record<string, any>): void;
|
|
9
10
|
export declare function coerceNumericAlertFields(values: Record<string, any>): void;
|
package/dist/emulate.helpers.js
CHANGED
|
@@ -5,6 +5,7 @@ exports.getExampleAlertVariableValue = getExampleAlertVariableValue;
|
|
|
5
5
|
exports.buildExampleAlertVariables = buildExampleAlertVariables;
|
|
6
6
|
exports.isRedundantInputField = isRedundantInputField;
|
|
7
7
|
exports.syncLinkedVariableFields = syncLinkedVariableFields;
|
|
8
|
+
exports.aliasContentImageFromLegacy = aliasContentImageFromLegacy;
|
|
8
9
|
exports.coerceNumericAlertFields = coerceNumericAlertFields;
|
|
9
10
|
exports.EMULATE_EXAMPLE_AVATAR_URL = 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-300x300.png';
|
|
10
11
|
function getExampleAlertVariableValue(variableName) {
|
|
@@ -85,6 +86,21 @@ function buildExampleAlertVariables(acceptedVariables, existingExtraSettings) {
|
|
|
85
86
|
}, {});
|
|
86
87
|
}
|
|
87
88
|
const LINKED_VARIABLE_FIELD_GROUPS = [['giftAmount', 'amount']];
|
|
89
|
+
// One-way alias: any of the legacy per-platform image field names (the
|
|
90
|
+
// pre-canonical names — giftPictureUrl, imageUrl, etc.) backfills
|
|
91
|
+
// `contentImage` if it's empty. We don't do the reverse — populating every
|
|
92
|
+
// legacy field from canonical would scatter the URL across alert types it
|
|
93
|
+
// doesn't belong to. Real platform managers continue to emit their own
|
|
94
|
+
// legacy field directly; this only matters for emulated payloads and any
|
|
95
|
+
// older form that still binds to a legacy variableField.
|
|
96
|
+
const LEGACY_CONTENT_IMAGE_FIELDS = [
|
|
97
|
+
'giftPictureUrl',
|
|
98
|
+
'imageUrl',
|
|
99
|
+
'giftImageUrl',
|
|
100
|
+
'clip_thumbnail',
|
|
101
|
+
'charity_logo',
|
|
102
|
+
'offerImageUrl',
|
|
103
|
+
];
|
|
88
104
|
function isRedundantInputField(inputField, allInputFields) {
|
|
89
105
|
if (!inputField || !allInputFields)
|
|
90
106
|
return false;
|
|
@@ -164,6 +180,19 @@ const NUMERIC_ALERT_FIELDS = new Set([
|
|
|
164
180
|
'progress',
|
|
165
181
|
'goal',
|
|
166
182
|
]);
|
|
183
|
+
function aliasContentImageFromLegacy(values) {
|
|
184
|
+
if (!values)
|
|
185
|
+
return;
|
|
186
|
+
if (typeof values.contentImage === 'string' && values.contentImage !== '')
|
|
187
|
+
return;
|
|
188
|
+
for (const key of LEGACY_CONTENT_IMAGE_FIELDS) {
|
|
189
|
+
const v = values[key];
|
|
190
|
+
if (typeof v === 'string' && v !== '') {
|
|
191
|
+
values.contentImage = v;
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
167
196
|
function coerceNumericAlertFields(values) {
|
|
168
197
|
if (!values)
|
|
169
198
|
return;
|
package/dist/esm/alert.types.js
CHANGED
|
@@ -1678,6 +1678,7 @@ export const LumiaAlertConfigs = {
|
|
|
1678
1678
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1679
1679
|
type: 'gigantify_an_emote',
|
|
1680
1680
|
amount: 100,
|
|
1681
|
+
contentImage: 'https://static-cdn.jtvnw.net/twitch-power-ups/gigantify_an_emote/black/v1/default_2x.png',
|
|
1681
1682
|
},
|
|
1682
1683
|
},
|
|
1683
1684
|
{
|
|
@@ -1688,6 +1689,7 @@ export const LumiaAlertConfigs = {
|
|
|
1688
1689
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1689
1690
|
type: 'celebration',
|
|
1690
1691
|
amount: 500,
|
|
1692
|
+
contentImage: 'https://static-cdn.jtvnw.net/twitch-power-ups/celebration/black/v1/default_2x.png',
|
|
1691
1693
|
},
|
|
1692
1694
|
},
|
|
1693
1695
|
],
|
|
@@ -2781,7 +2783,7 @@ export const LumiaAlertConfigs = {
|
|
|
2781
2783
|
charity_id: 'lumia123',
|
|
2782
2784
|
charity_name: 'Lumia Charity',
|
|
2783
2785
|
charity_description: 'Give me more lights',
|
|
2784
|
-
|
|
2786
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2785
2787
|
charity_website: 'https://lumiastream.com',
|
|
2786
2788
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2787
2789
|
},
|
|
@@ -2797,7 +2799,7 @@ export const LumiaAlertConfigs = {
|
|
|
2797
2799
|
charity_id: 'lumia123',
|
|
2798
2800
|
charity_name: 'Lumia Charity',
|
|
2799
2801
|
charity_description: 'Give me more lights',
|
|
2800
|
-
|
|
2802
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2801
2803
|
charity_website: 'https://lumiastream.com',
|
|
2802
2804
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2803
2805
|
},
|
|
@@ -2813,7 +2815,7 @@ export const LumiaAlertConfigs = {
|
|
|
2813
2815
|
charity_id: 'lumia123',
|
|
2814
2816
|
charity_name: 'Lumia Charity',
|
|
2815
2817
|
charity_description: 'Give me more lights',
|
|
2816
|
-
|
|
2818
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2817
2819
|
charity_website: 'https://lumiastream.com',
|
|
2818
2820
|
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2819
2821
|
},
|
|
@@ -2888,7 +2890,7 @@ export const LumiaAlertConfigs = {
|
|
|
2888
2890
|
charity_id: 'lumia123',
|
|
2889
2891
|
charity_name: 'Lumia Charity',
|
|
2890
2892
|
charity_description: 'Give me more lights',
|
|
2891
|
-
|
|
2893
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2892
2894
|
charity_amount: 0,
|
|
2893
2895
|
charity_target_amount: 100,
|
|
2894
2896
|
charity_website: 'https://lumiastream.com',
|
|
@@ -2951,7 +2953,7 @@ export const LumiaAlertConfigs = {
|
|
|
2951
2953
|
extraSettings: {
|
|
2952
2954
|
charity_name: 'Lumia Charity',
|
|
2953
2955
|
charity_description: 'Give me more lights',
|
|
2954
|
-
|
|
2956
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2955
2957
|
charity_amount: 20,
|
|
2956
2958
|
charity_target_amount: 100,
|
|
2957
2959
|
charity_website: 'https://lumiastream.com',
|
|
@@ -3013,7 +3015,7 @@ export const LumiaAlertConfigs = {
|
|
|
3013
3015
|
extraSettings: {
|
|
3014
3016
|
charity_name: 'Lumia Charity',
|
|
3015
3017
|
charity_description: 'Give me more lights',
|
|
3016
|
-
|
|
3018
|
+
contentImage: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3017
3019
|
charity_amount: 100,
|
|
3018
3020
|
charity_target_amount: 100,
|
|
3019
3021
|
charity_website: 'https://lumiastream.com',
|
|
@@ -3127,6 +3129,7 @@ export const LumiaAlertConfigs = {
|
|
|
3127
3129
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3128
3130
|
clip_title: 'Lumia Stream',
|
|
3129
3131
|
clip_url: 'https://www.twitch.tv/lumiastream/clip/EnchantingSuccessfulMoonBlargNaut-ev_c6MJ_Qb0o7gEx',
|
|
3132
|
+
contentImage: 'https://clips-media-assets2.twitch.tv/AT-cm%7CEnchantingSuccessfulMoonBlargNaut-preview-480x272.jpg',
|
|
3130
3133
|
},
|
|
3131
3134
|
},
|
|
3132
3135
|
],
|
|
@@ -3921,7 +3924,7 @@ export const LumiaAlertConfigs = {
|
|
|
3921
3924
|
comboCount: 1,
|
|
3922
3925
|
hasVisualEffect: false,
|
|
3923
3926
|
giftUrl: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3924
|
-
|
|
3927
|
+
contentImage: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3925
3928
|
giftDurationSeconds: 3,
|
|
3926
3929
|
giftDurationNanos: 0,
|
|
3927
3930
|
altText: 'Heart',
|
|
@@ -3941,7 +3944,7 @@ export const LumiaAlertConfigs = {
|
|
|
3941
3944
|
comboCount: 1,
|
|
3942
3945
|
hasVisualEffect: true,
|
|
3943
3946
|
giftUrl: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3944
|
-
|
|
3947
|
+
contentImage: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3945
3948
|
giftDurationSeconds: 3,
|
|
3946
3949
|
giftDurationNanos: 0,
|
|
3947
3950
|
altText: 'Rose',
|
|
@@ -3961,7 +3964,7 @@ export const LumiaAlertConfigs = {
|
|
|
3961
3964
|
comboCount: 5,
|
|
3962
3965
|
hasVisualEffect: true,
|
|
3963
3966
|
giftUrl: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3964
|
-
|
|
3967
|
+
contentImage: 'https://www.gstatic.com/youtube/img/pdg/gift/assets/gold_coin_v2_320x320.png',
|
|
3965
3968
|
giftDurationSeconds: 3,
|
|
3966
3969
|
giftDurationNanos: 0,
|
|
3967
3970
|
altText: 'Star',
|
|
@@ -4215,7 +4218,7 @@ export const LumiaAlertConfigs = {
|
|
|
4215
4218
|
currencySymbol: '$',
|
|
4216
4219
|
stickerId: 'emoji_beaming_face',
|
|
4217
4220
|
stickerName: 'Emoji Beaming Face',
|
|
4218
|
-
|
|
4221
|
+
contentImage: (_b = (_a = YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_beaming_face')) === null || _a === void 0 ? void 0 : _a.imageUrl) !== null && _b !== void 0 ? _b : '',
|
|
4219
4222
|
},
|
|
4220
4223
|
},
|
|
4221
4224
|
{
|
|
@@ -4230,7 +4233,7 @@ export const LumiaAlertConfigs = {
|
|
|
4230
4233
|
currencySymbol: '$',
|
|
4231
4234
|
stickerId: 'emoji_laughing',
|
|
4232
4235
|
stickerName: 'Emoji Laughing',
|
|
4233
|
-
|
|
4236
|
+
contentImage: (_d = (_c = YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_laughing')) === null || _c === void 0 ? void 0 : _c.imageUrl) !== null && _d !== void 0 ? _d : '',
|
|
4234
4237
|
},
|
|
4235
4238
|
},
|
|
4236
4239
|
{
|
|
@@ -4245,7 +4248,7 @@ export const LumiaAlertConfigs = {
|
|
|
4245
4248
|
currencySymbol: '$',
|
|
4246
4249
|
stickerId: 'emoji_sad',
|
|
4247
4250
|
stickerName: 'Emoji Sad',
|
|
4248
|
-
|
|
4251
|
+
contentImage: (_f = (_e = YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_sad')) === null || _e === void 0 ? void 0 : _e.imageUrl) !== null && _f !== void 0 ? _f : '',
|
|
4249
4252
|
},
|
|
4250
4253
|
},
|
|
4251
4254
|
],
|
|
@@ -4284,7 +4287,7 @@ export const LumiaAlertConfigs = {
|
|
|
4284
4287
|
{
|
|
4285
4288
|
type: 'text',
|
|
4286
4289
|
label: 'Image URL',
|
|
4287
|
-
variableField: '
|
|
4290
|
+
variableField: 'contentImage',
|
|
4288
4291
|
required: false,
|
|
4289
4292
|
default: (_h = (_g = YoutubeSuperstickersData.find((sticker) => sticker.value === 'emoji_beaming_face')) === null || _g === void 0 ? void 0 : _g.imageUrl) !== null && _h !== void 0 ? _h : '',
|
|
4290
4293
|
},
|
|
@@ -4956,7 +4959,7 @@ export const LumiaAlertConfigs = {
|
|
|
4956
4959
|
coins: 1,
|
|
4957
4960
|
diamonds: 1,
|
|
4958
4961
|
amount: 1,
|
|
4959
|
-
|
|
4962
|
+
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/eba3a9bb85c33e017f3648eaf88d7189~tplv-obj.png',
|
|
4960
4963
|
},
|
|
4961
4964
|
},
|
|
4962
4965
|
{
|
|
@@ -4966,7 +4969,7 @@ export const LumiaAlertConfigs = {
|
|
|
4966
4969
|
username: 'lumiastream',
|
|
4967
4970
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4968
4971
|
giftName: 'Pumpkin',
|
|
4969
|
-
|
|
4972
|
+
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/e675252b83e97135f9ede3b5d32c2c71~tplv-obj.png',
|
|
4970
4973
|
giftType: 2,
|
|
4971
4974
|
giftId: 7095,
|
|
4972
4975
|
giftAmount: 1,
|
|
@@ -4983,7 +4986,7 @@ export const LumiaAlertConfigs = {
|
|
|
4983
4986
|
username: 'lumiastream',
|
|
4984
4987
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
4985
4988
|
giftName: 'Boiling Cauldron',
|
|
4986
|
-
|
|
4989
|
+
contentImage: 'https://p19-webcast.tiktokcdn.com/img/maliva/webcast-va/e675252b83e97135f9ede3b5d32c2c71~tplv-obj.png',
|
|
4987
4990
|
giftType: 2,
|
|
4988
4991
|
giftId: 7158,
|
|
4989
4992
|
giftAmount: 1,
|
|
@@ -7829,6 +7832,7 @@ export const LumiaAlertConfigs = {
|
|
|
7829
7832
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
7830
7833
|
amount: 100,
|
|
7831
7834
|
currency: LumiaVariationCurrency.USD,
|
|
7835
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7832
7836
|
},
|
|
7833
7837
|
},
|
|
7834
7838
|
{
|
|
@@ -7839,6 +7843,7 @@ export const LumiaAlertConfigs = {
|
|
|
7839
7843
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
7840
7844
|
amount: 200,
|
|
7841
7845
|
currency: LumiaVariationCurrency.USD,
|
|
7846
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7842
7847
|
},
|
|
7843
7848
|
},
|
|
7844
7849
|
{
|
|
@@ -7849,6 +7854,7 @@ export const LumiaAlertConfigs = {
|
|
|
7849
7854
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
7850
7855
|
amount: 300,
|
|
7851
7856
|
currency: LumiaVariationCurrency.USD,
|
|
7857
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7852
7858
|
},
|
|
7853
7859
|
},
|
|
7854
7860
|
],
|
|
@@ -7907,6 +7913,7 @@ export const LumiaAlertConfigs = {
|
|
|
7907
7913
|
amount: 100,
|
|
7908
7914
|
currency: LumiaVariationCurrency.USD,
|
|
7909
7915
|
items: 'Shirt, Keyblade, Chaos Emerald',
|
|
7916
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7910
7917
|
},
|
|
7911
7918
|
},
|
|
7912
7919
|
{
|
|
@@ -7918,6 +7925,7 @@ export const LumiaAlertConfigs = {
|
|
|
7918
7925
|
amount: 200,
|
|
7919
7926
|
currency: LumiaVariationCurrency.USD,
|
|
7920
7927
|
items: 'Shirt, Keyblade, Chaos Emerald',
|
|
7928
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7921
7929
|
},
|
|
7922
7930
|
},
|
|
7923
7931
|
{
|
|
@@ -7929,6 +7937,7 @@ export const LumiaAlertConfigs = {
|
|
|
7929
7937
|
amount: 300,
|
|
7930
7938
|
currency: LumiaVariationCurrency.USD,
|
|
7931
7939
|
items: 'Shirt, Keyblade, Chaos Emerald',
|
|
7940
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7932
7941
|
},
|
|
7933
7942
|
},
|
|
7934
7943
|
],
|
|
@@ -7994,6 +8003,7 @@ export const LumiaAlertConfigs = {
|
|
|
7994
8003
|
giveawayId: 'TEST123',
|
|
7995
8004
|
amount: 100,
|
|
7996
8005
|
currency: LumiaVariationCurrency.USD,
|
|
8006
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
7997
8007
|
},
|
|
7998
8008
|
},
|
|
7999
8009
|
],
|
|
@@ -8058,6 +8068,7 @@ export const LumiaAlertConfigs = {
|
|
|
8058
8068
|
giveawayId: 'TEST123',
|
|
8059
8069
|
winners: ['winner1', 'winner2', 'winner3'],
|
|
8060
8070
|
winnerCount: 3,
|
|
8071
|
+
contentImage: 'https://cdn.fourthwall.com/storefront-en/_next/image?url=https%3A%2F%2Fcdn.fourthwall.com%2Fpublic%2Flogos%2Ffw-logo-stacked-purple.png',
|
|
8061
8072
|
},
|
|
8062
8073
|
},
|
|
8063
8074
|
],
|
|
@@ -77,6 +77,21 @@ export function buildExampleAlertVariables(acceptedVariables, existingExtraSetti
|
|
|
77
77
|
}, {});
|
|
78
78
|
}
|
|
79
79
|
const LINKED_VARIABLE_FIELD_GROUPS = [['giftAmount', 'amount']];
|
|
80
|
+
// One-way alias: any of the legacy per-platform image field names (the
|
|
81
|
+
// pre-canonical names — giftPictureUrl, imageUrl, etc.) backfills
|
|
82
|
+
// `contentImage` if it's empty. We don't do the reverse — populating every
|
|
83
|
+
// legacy field from canonical would scatter the URL across alert types it
|
|
84
|
+
// doesn't belong to. Real platform managers continue to emit their own
|
|
85
|
+
// legacy field directly; this only matters for emulated payloads and any
|
|
86
|
+
// older form that still binds to a legacy variableField.
|
|
87
|
+
const LEGACY_CONTENT_IMAGE_FIELDS = [
|
|
88
|
+
'giftPictureUrl',
|
|
89
|
+
'imageUrl',
|
|
90
|
+
'giftImageUrl',
|
|
91
|
+
'clip_thumbnail',
|
|
92
|
+
'charity_logo',
|
|
93
|
+
'offerImageUrl',
|
|
94
|
+
];
|
|
80
95
|
export function isRedundantInputField(inputField, allInputFields) {
|
|
81
96
|
if (!inputField || !allInputFields)
|
|
82
97
|
return false;
|
|
@@ -156,6 +171,19 @@ const NUMERIC_ALERT_FIELDS = new Set([
|
|
|
156
171
|
'progress',
|
|
157
172
|
'goal',
|
|
158
173
|
]);
|
|
174
|
+
export function aliasContentImageFromLegacy(values) {
|
|
175
|
+
if (!values)
|
|
176
|
+
return;
|
|
177
|
+
if (typeof values.contentImage === 'string' && values.contentImage !== '')
|
|
178
|
+
return;
|
|
179
|
+
for (const key of LEGACY_CONTENT_IMAGE_FIELDS) {
|
|
180
|
+
const v = values[key];
|
|
181
|
+
if (typeof v === 'string' && v !== '') {
|
|
182
|
+
values.contentImage = v;
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
159
187
|
export function coerceNumericAlertFields(values) {
|
|
160
188
|
if (!values)
|
|
161
189
|
return;
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export { LumiaIntegrations, LumiaEventTypes, } from './event.types.js';
|
|
|
4
4
|
export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter, PlatformsToFilter, LumiaEventListTypeColors, getEventListCategoryColor } from './eventlist.types.js';
|
|
5
5
|
export { SystemVariables, ReservedVariables, AllVariables, getAcceptedVariableName, getAcceptedVariableNames, } from './variables.types.js';
|
|
6
6
|
export { formatCondition } from './helpers.js';
|
|
7
|
-
export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, isRedundantInputField, syncLinkedVariableFields, } from './emulate.helpers.js';
|
|
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
10
|
export { TiktokGiftsData } from './tiktok_gifts.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { ILumiaSendPack, ILumiaEvent, ILumiaEventChatCommandBody, ILumiaEventCha
|
|
|
4
4
|
export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType, AlertsToFilter, PlatformsToFilter, LumiaEventListTypeColors, getEventListCategoryColor } from './eventlist.types';
|
|
5
5
|
export { SystemVariables, ReservedVariables, AllVariables, getAcceptedVariableName, getAcceptedVariableNames, type LumiaAcceptedVariable, type LumiaAcceptedVariableDefinition, } from './variables.types';
|
|
6
6
|
export { formatCondition } from './helpers';
|
|
7
|
-
export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, isRedundantInputField, syncLinkedVariableFields, type InputFieldLike, } from './emulate.helpers';
|
|
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
10
|
export { TiktokGiftsData } from './tiktok_gifts';
|
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.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.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;
|
|
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; } });
|
|
@@ -41,6 +41,7 @@ Object.defineProperty(exports, "EMULATE_EXAMPLE_AVATAR_URL", { enumerable: true,
|
|
|
41
41
|
Object.defineProperty(exports, "getExampleAlertVariableValue", { enumerable: true, get: function () { return emulate_helpers_1.getExampleAlertVariableValue; } });
|
|
42
42
|
Object.defineProperty(exports, "buildExampleAlertVariables", { enumerable: true, get: function () { return emulate_helpers_1.buildExampleAlertVariables; } });
|
|
43
43
|
Object.defineProperty(exports, "coerceNumericAlertFields", { enumerable: true, get: function () { return emulate_helpers_1.coerceNumericAlertFields; } });
|
|
44
|
+
Object.defineProperty(exports, "aliasContentImageFromLegacy", { enumerable: true, get: function () { return emulate_helpers_1.aliasContentImageFromLegacy; } });
|
|
44
45
|
Object.defineProperty(exports, "isRedundantInputField", { enumerable: true, get: function () { return emulate_helpers_1.isRedundantInputField; } });
|
|
45
46
|
Object.defineProperty(exports, "syncLinkedVariableFields", { enumerable: true, get: function () { return emulate_helpers_1.syncLinkedVariableFields; } });
|
|
46
47
|
var kick_kicks_1 = require("./kick_kicks");
|