@lumiastream/lumia-types 3.5.6 → 3.5.8

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.
@@ -112,6 +112,7 @@ export declare const LumiaAlertConfigs: Record<LumiaAlertValues | string, {
112
112
  eventlistMessage?: string;
113
113
  eventlistDetailedMessage?: string;
114
114
  acceptedVariables: LumiaAcceptedVariable[];
115
+ hasAlertImage?: boolean;
115
116
  quickActions?: Array<{
116
117
  label: string;
117
118
  dynamic: LumiaDynamicCondition;
@@ -1667,6 +1667,7 @@ exports.LumiaAlertConfigs = {
1667
1667
  },
1668
1668
  [activity_types_1.LumiaAlertValues.TWITCH_POWERUPS]: {
1669
1669
  connection: event_types_1.LumiaIntegrations.TWITCH,
1670
+ hasAlertImage: true,
1670
1671
  message: '{{username}} redeemed {{type}} and cheered {{amount}} bits. They said {{message}}',
1671
1672
  eventlistMessage: 'Powerups',
1672
1673
  eventlistDetailedMessage: 'redeemed {{type}} for {{amount}} bits',
@@ -2876,6 +2877,7 @@ exports.LumiaAlertConfigs = {
2876
2877
  },
2877
2878
  [activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_STARTED]: {
2878
2879
  connection: event_types_1.LumiaIntegrations.TWITCH,
2880
+ hasAlertImage: true,
2879
2881
  message: 'Charity campaign {{charity_name}} started with a target of {{currencySymbol}}{{charity_target_amount}}',
2880
2882
  eventlistSpecialUsername: 'Twitch',
2881
2883
  eventlistMessage: 'Charity campaign start',
@@ -2939,6 +2941,7 @@ exports.LumiaAlertConfigs = {
2939
2941
  },
2940
2942
  [activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_PROGRESSED]: {
2941
2943
  connection: event_types_1.LumiaIntegrations.TWITCH,
2944
+ hasAlertImage: true,
2942
2945
  message: 'Charity campaign {{charity_name}} progressed to {{currencySymbol}}{{charity_amount}} with a target of {{currencySymbol}}{{charity_target_amount}}',
2943
2946
  eventlistSpecialUsername: 'Twitch',
2944
2947
  eventlistMessage: 'Charity campaign progressed',
@@ -3000,6 +3003,7 @@ exports.LumiaAlertConfigs = {
3000
3003
  },
3001
3004
  [activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_STOPPED]: {
3002
3005
  connection: event_types_1.LumiaIntegrations.TWITCH,
3006
+ hasAlertImage: true,
3003
3007
  message: 'Charity campaign {{charity_name}} ended at amount {{currencySymbol}}{{charity_amount}} with a target of {{currencySymbol}}{{charity_target_amount}}',
3004
3008
  eventlistSpecialUsername: 'Twitch',
3005
3009
  eventlistMessage: 'Charity campaign ended',
@@ -3112,6 +3116,7 @@ exports.LumiaAlertConfigs = {
3112
3116
  },
3113
3117
  [activity_types_1.LumiaAlertValues.TWITCH_CLIP]: {
3114
3118
  connection: event_types_1.LumiaIntegrations.TWITCH,
3119
+ hasAlertImage: true,
3115
3120
  message: 'Clip taken by {{username}} with title of {{clip_title}}',
3116
3121
  eventlistMessage: 'Clipped',
3117
3122
  eventlistDetailedMessage: 'created a clip',
@@ -3900,6 +3905,7 @@ exports.LumiaAlertConfigs = {
3900
3905
  },
3901
3906
  [activity_types_1.LumiaAlertValues.YOUTUBE_GIFTS]: {
3902
3907
  connection: event_types_1.LumiaIntegrations.YOUTUBE,
3908
+ hasAlertImage: true,
3903
3909
  message: '{{username}} sent x{{comboCount}} {{giftName}} ({{jewelsAmount}} jewels)',
3904
3910
  eventlistMessage: 'Gift',
3905
3911
  eventlistDetailedMessage: 'sent x{{comboCount}} {{giftName}} worth {{jewelsAmount}} jewels',
@@ -4194,6 +4200,7 @@ exports.LumiaAlertConfigs = {
4194
4200
  },
4195
4201
  [activity_types_1.LumiaAlertValues.YOUTUBE_SUPERSTICKER]: {
4196
4202
  connection: event_types_1.LumiaIntegrations.YOUTUBE,
4203
+ hasAlertImage: true,
4197
4204
  message: '{{username}} just sent a {{stickerName}} super sticker worth {{currencySymbol}}{{amount}}',
4198
4205
  eventlistMessage: 'Super Sticker',
4199
4206
  eventlistDetailedMessage: 'sent a {{stickerName}} super sticker worth {{currencySymbol}}{{amount}}',
@@ -4932,6 +4939,7 @@ exports.LumiaAlertConfigs = {
4932
4939
  },
4933
4940
  [activity_types_1.LumiaAlertValues.TIKTOK_GIFT]: {
4934
4941
  connection: event_types_1.LumiaIntegrations.TIKTOK,
4942
+ hasAlertImage: true,
4935
4943
  message: '{{username}} sent x{{giftAmount}} {{giftName}}',
4936
4944
  eventlistMessage: 'Gift',
4937
4945
  eventlistDetailedMessage: 'sent x{{giftAmount}} {{giftName}}',
@@ -7810,6 +7818,7 @@ exports.LumiaAlertConfigs = {
7810
7818
  },
7811
7819
  [activity_types_1.LumiaAlertValues.FOURTHWALL_GIFTPURCHASE]: {
7812
7820
  connection: event_types_1.LumiaIntegrations.FOURTHWALL,
7821
+ hasAlertImage: true,
7813
7822
  message: '{{username}} just bought a gift with amount {{amount}}',
7814
7823
  eventlistMessage: 'Gift Purchase',
7815
7824
  eventlistDetailedMessage: 'Gift purchase with {{amount}} {{currency}}',
@@ -7886,6 +7895,7 @@ exports.LumiaAlertConfigs = {
7886
7895
  },
7887
7896
  [activity_types_1.LumiaAlertValues.FOURTHWALL_SHOPORDER]: {
7888
7897
  connection: event_types_1.LumiaIntegrations.FOURTHWALL,
7898
+ hasAlertImage: true,
7889
7899
  message: '{{username}} purchased {{items}}',
7890
7900
  eventlistMessage: 'Shop Order',
7891
7901
  eventlistDetailedMessage: 'purchased {{items}}',
@@ -7972,6 +7982,7 @@ exports.LumiaAlertConfigs = {
7972
7982
  },
7973
7983
  [activity_types_1.LumiaAlertValues.FOURTHWALL_GIVEAWAY_STARTED]: {
7974
7984
  connection: event_types_1.LumiaIntegrations.FOURTHWALL,
7985
+ hasAlertImage: true,
7975
7986
  message: '{{username}} just started a giveaway for {{giveawayName}}',
7976
7987
  eventlistMessage: 'Giveaway Started',
7977
7988
  eventlistDetailedMessage: 'started giveaway for {{giveawayName}}',
@@ -8036,6 +8047,7 @@ exports.LumiaAlertConfigs = {
8036
8047
  },
8037
8048
  [activity_types_1.LumiaAlertValues.FOURTHWALL_GIVEAWAY_ENDED]: {
8038
8049
  connection: event_types_1.LumiaIntegrations.FOURTHWALL,
8050
+ hasAlertImage: true,
8039
8051
  message: 'Giveaway {{giveawayName}} ended with {{winnerCount}} winners',
8040
8052
  eventlistMessage: 'Giveaway Ended',
8041
8053
  eventlistDetailedMessage: 'giveaway ended with {{winnerCount}} winners',
@@ -6,3 +6,4 @@ 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 coerceNumericAlertFields(values: Record<string, any>): void;
@@ -5,6 +5,7 @@ exports.getExampleAlertVariableValue = getExampleAlertVariableValue;
5
5
  exports.buildExampleAlertVariables = buildExampleAlertVariables;
6
6
  exports.isRedundantInputField = isRedundantInputField;
7
7
  exports.syncLinkedVariableFields = syncLinkedVariableFields;
8
+ exports.coerceNumericAlertFields = coerceNumericAlertFields;
8
9
  exports.EMULATE_EXAMPLE_AVATAR_URL = 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-300x300.png';
9
10
  function getExampleAlertVariableValue(variableName) {
10
11
  const lowered = variableName.toLowerCase();
@@ -122,3 +123,56 @@ function syncLinkedVariableFields(values) {
122
123
  }
123
124
  }
124
125
  }
126
+ // Canonical wire-type-aligned numeric field set. Each name corresponds to a
127
+ // dynamic/extraSettings field that real platform managers (twitch, kick,
128
+ // streamlabs, …) emit as a Number — see wire.types.ts. Emulation form inputs
129
+ // hand back numeric strings ("1"), which silently break downstream consumers
130
+ // that do arithmetic (SE compat shim's resolvedAmount, goal/cheer widgets,
131
+ // plugin SDK reducers). Run this before dispatch to match the live shape.
132
+ //
133
+ // `value` is intentionally NOT in this set — wire.types.ts uses `value: string`
134
+ // for most alerts (templated display string) and `value: number` only for a
135
+ // handful (bits, raid, kicks, hypetrain, ads). Coerce `value` at the form
136
+ // binding using inputField.type === 'number' instead, so the per-alert
137
+ // contract isn't violated.
138
+ const NUMERIC_ALERT_FIELDS = new Set([
139
+ 'amount',
140
+ 'giftAmount',
141
+ 'totalGifts',
142
+ 'subMonths',
143
+ 'streakMonths',
144
+ 'cumulativeMonths',
145
+ 'streak',
146
+ 'months',
147
+ 'bits',
148
+ 'kicks',
149
+ 'viewers',
150
+ 'total',
151
+ 'previousTotal',
152
+ 'current_amount',
153
+ 'target_amount',
154
+ 'length',
155
+ 'streak_count',
156
+ 'channel_points_awarded',
157
+ 'reward_cost',
158
+ 'view_count',
159
+ 'clip_duration',
160
+ 'timeout_duration',
161
+ 'expiration_ms',
162
+ 'poll_duration',
163
+ 'level',
164
+ 'progress',
165
+ 'goal',
166
+ ]);
167
+ function coerceNumericAlertFields(values) {
168
+ if (!values)
169
+ return;
170
+ for (const key of Object.keys(values)) {
171
+ if (!NUMERIC_ALERT_FIELDS.has(key))
172
+ continue;
173
+ const v = values[key];
174
+ if (typeof v === 'string' && v !== '' && !isNaN(Number(v))) {
175
+ values[key] = Number(v);
176
+ }
177
+ }
178
+ }
@@ -1664,6 +1664,7 @@ export const LumiaAlertConfigs = {
1664
1664
  },
1665
1665
  [LumiaAlertValues.TWITCH_POWERUPS]: {
1666
1666
  connection: LumiaIntegrations.TWITCH,
1667
+ hasAlertImage: true,
1667
1668
  message: '{{username}} redeemed {{type}} and cheered {{amount}} bits. They said {{message}}',
1668
1669
  eventlistMessage: 'Powerups',
1669
1670
  eventlistDetailedMessage: 'redeemed {{type}} for {{amount}} bits',
@@ -2873,6 +2874,7 @@ export const LumiaAlertConfigs = {
2873
2874
  },
2874
2875
  [LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_STARTED]: {
2875
2876
  connection: LumiaIntegrations.TWITCH,
2877
+ hasAlertImage: true,
2876
2878
  message: 'Charity campaign {{charity_name}} started with a target of {{currencySymbol}}{{charity_target_amount}}',
2877
2879
  eventlistSpecialUsername: 'Twitch',
2878
2880
  eventlistMessage: 'Charity campaign start',
@@ -2936,6 +2938,7 @@ export const LumiaAlertConfigs = {
2936
2938
  },
2937
2939
  [LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_PROGRESSED]: {
2938
2940
  connection: LumiaIntegrations.TWITCH,
2941
+ hasAlertImage: true,
2939
2942
  message: 'Charity campaign {{charity_name}} progressed to {{currencySymbol}}{{charity_amount}} with a target of {{currencySymbol}}{{charity_target_amount}}',
2940
2943
  eventlistSpecialUsername: 'Twitch',
2941
2944
  eventlistMessage: 'Charity campaign progressed',
@@ -2997,6 +3000,7 @@ export const LumiaAlertConfigs = {
2997
3000
  },
2998
3001
  [LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_STOPPED]: {
2999
3002
  connection: LumiaIntegrations.TWITCH,
3003
+ hasAlertImage: true,
3000
3004
  message: 'Charity campaign {{charity_name}} ended at amount {{currencySymbol}}{{charity_amount}} with a target of {{currencySymbol}}{{charity_target_amount}}',
3001
3005
  eventlistSpecialUsername: 'Twitch',
3002
3006
  eventlistMessage: 'Charity campaign ended',
@@ -3109,6 +3113,7 @@ export const LumiaAlertConfigs = {
3109
3113
  },
3110
3114
  [LumiaAlertValues.TWITCH_CLIP]: {
3111
3115
  connection: LumiaIntegrations.TWITCH,
3116
+ hasAlertImage: true,
3112
3117
  message: 'Clip taken by {{username}} with title of {{clip_title}}',
3113
3118
  eventlistMessage: 'Clipped',
3114
3119
  eventlistDetailedMessage: 'created a clip',
@@ -3897,6 +3902,7 @@ export const LumiaAlertConfigs = {
3897
3902
  },
3898
3903
  [LumiaAlertValues.YOUTUBE_GIFTS]: {
3899
3904
  connection: LumiaIntegrations.YOUTUBE,
3905
+ hasAlertImage: true,
3900
3906
  message: '{{username}} sent x{{comboCount}} {{giftName}} ({{jewelsAmount}} jewels)',
3901
3907
  eventlistMessage: 'Gift',
3902
3908
  eventlistDetailedMessage: 'sent x{{comboCount}} {{giftName}} worth {{jewelsAmount}} jewels',
@@ -4191,6 +4197,7 @@ export const LumiaAlertConfigs = {
4191
4197
  },
4192
4198
  [LumiaAlertValues.YOUTUBE_SUPERSTICKER]: {
4193
4199
  connection: LumiaIntegrations.YOUTUBE,
4200
+ hasAlertImage: true,
4194
4201
  message: '{{username}} just sent a {{stickerName}} super sticker worth {{currencySymbol}}{{amount}}',
4195
4202
  eventlistMessage: 'Super Sticker',
4196
4203
  eventlistDetailedMessage: 'sent a {{stickerName}} super sticker worth {{currencySymbol}}{{amount}}',
@@ -4929,6 +4936,7 @@ export const LumiaAlertConfigs = {
4929
4936
  },
4930
4937
  [LumiaAlertValues.TIKTOK_GIFT]: {
4931
4938
  connection: LumiaIntegrations.TIKTOK,
4939
+ hasAlertImage: true,
4932
4940
  message: '{{username}} sent x{{giftAmount}} {{giftName}}',
4933
4941
  eventlistMessage: 'Gift',
4934
4942
  eventlistDetailedMessage: 'sent x{{giftAmount}} {{giftName}}',
@@ -7807,6 +7815,7 @@ export const LumiaAlertConfigs = {
7807
7815
  },
7808
7816
  [LumiaAlertValues.FOURTHWALL_GIFTPURCHASE]: {
7809
7817
  connection: LumiaIntegrations.FOURTHWALL,
7818
+ hasAlertImage: true,
7810
7819
  message: '{{username}} just bought a gift with amount {{amount}}',
7811
7820
  eventlistMessage: 'Gift Purchase',
7812
7821
  eventlistDetailedMessage: 'Gift purchase with {{amount}} {{currency}}',
@@ -7883,6 +7892,7 @@ export const LumiaAlertConfigs = {
7883
7892
  },
7884
7893
  [LumiaAlertValues.FOURTHWALL_SHOPORDER]: {
7885
7894
  connection: LumiaIntegrations.FOURTHWALL,
7895
+ hasAlertImage: true,
7886
7896
  message: '{{username}} purchased {{items}}',
7887
7897
  eventlistMessage: 'Shop Order',
7888
7898
  eventlistDetailedMessage: 'purchased {{items}}',
@@ -7969,6 +7979,7 @@ export const LumiaAlertConfigs = {
7969
7979
  },
7970
7980
  [LumiaAlertValues.FOURTHWALL_GIVEAWAY_STARTED]: {
7971
7981
  connection: LumiaIntegrations.FOURTHWALL,
7982
+ hasAlertImage: true,
7972
7983
  message: '{{username}} just started a giveaway for {{giveawayName}}',
7973
7984
  eventlistMessage: 'Giveaway Started',
7974
7985
  eventlistDetailedMessage: 'started giveaway for {{giveawayName}}',
@@ -8033,6 +8044,7 @@ export const LumiaAlertConfigs = {
8033
8044
  },
8034
8045
  [LumiaAlertValues.FOURTHWALL_GIVEAWAY_ENDED]: {
8035
8046
  connection: LumiaIntegrations.FOURTHWALL,
8047
+ hasAlertImage: true,
8036
8048
  message: 'Giveaway {{giveawayName}} ended with {{winnerCount}} winners',
8037
8049
  eventlistMessage: 'Giveaway Ended',
8038
8050
  eventlistDetailedMessage: 'giveaway ended with {{winnerCount}} winners',
@@ -115,3 +115,56 @@ export function syncLinkedVariableFields(values) {
115
115
  }
116
116
  }
117
117
  }
118
+ // Canonical wire-type-aligned numeric field set. Each name corresponds to a
119
+ // dynamic/extraSettings field that real platform managers (twitch, kick,
120
+ // streamlabs, …) emit as a Number — see wire.types.ts. Emulation form inputs
121
+ // hand back numeric strings ("1"), which silently break downstream consumers
122
+ // that do arithmetic (SE compat shim's resolvedAmount, goal/cheer widgets,
123
+ // plugin SDK reducers). Run this before dispatch to match the live shape.
124
+ //
125
+ // `value` is intentionally NOT in this set — wire.types.ts uses `value: string`
126
+ // for most alerts (templated display string) and `value: number` only for a
127
+ // handful (bits, raid, kicks, hypetrain, ads). Coerce `value` at the form
128
+ // binding using inputField.type === 'number' instead, so the per-alert
129
+ // contract isn't violated.
130
+ const NUMERIC_ALERT_FIELDS = new Set([
131
+ 'amount',
132
+ 'giftAmount',
133
+ 'totalGifts',
134
+ 'subMonths',
135
+ 'streakMonths',
136
+ 'cumulativeMonths',
137
+ 'streak',
138
+ 'months',
139
+ 'bits',
140
+ 'kicks',
141
+ 'viewers',
142
+ 'total',
143
+ 'previousTotal',
144
+ 'current_amount',
145
+ 'target_amount',
146
+ 'length',
147
+ 'streak_count',
148
+ 'channel_points_awarded',
149
+ 'reward_cost',
150
+ 'view_count',
151
+ 'clip_duration',
152
+ 'timeout_duration',
153
+ 'expiration_ms',
154
+ 'poll_duration',
155
+ 'level',
156
+ 'progress',
157
+ 'goal',
158
+ ]);
159
+ export function coerceNumericAlertFields(values) {
160
+ if (!values)
161
+ return;
162
+ for (const key of Object.keys(values)) {
163
+ if (!NUMERIC_ALERT_FIELDS.has(key))
164
+ continue;
165
+ const v = values[key];
166
+ if (typeof v === 'string' && v !== '' && !isNaN(Number(v))) {
167
+ values[key] = Number(v);
168
+ }
169
+ }
170
+ }
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, isRedundantInputField, syncLinkedVariableFields, } from './emulate.helpers.js';
7
+ export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, 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, isRedundantInputField, syncLinkedVariableFields, type InputFieldLike, } from './emulate.helpers';
7
+ export { EMULATE_EXAMPLE_AVATAR_URL, getExampleAlertVariableValue, buildExampleAlertVariables, coerceNumericAlertFields, 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.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.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; } });
@@ -40,6 +40,7 @@ var emulate_helpers_1 = require("./emulate.helpers");
40
40
  Object.defineProperty(exports, "EMULATE_EXAMPLE_AVATAR_URL", { enumerable: true, get: function () { return emulate_helpers_1.EMULATE_EXAMPLE_AVATAR_URL; } });
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
+ Object.defineProperty(exports, "coerceNumericAlertFields", { enumerable: true, get: function () { return emulate_helpers_1.coerceNumericAlertFields; } });
43
44
  Object.defineProperty(exports, "isRedundantInputField", { enumerable: true, get: function () { return emulate_helpers_1.isRedundantInputField; } });
44
45
  Object.defineProperty(exports, "syncLinkedVariableFields", { enumerable: true, get: function () { return emulate_helpers_1.syncLinkedVariableFields; } });
45
46
  var kick_kicks_1 = require("./kick_kicks");
@@ -215,6 +215,7 @@ export interface TwitchClipExtraSettings {
215
215
  clip_user_is_sub?: boolean;
216
216
  clip_user_is_broadcaster?: boolean;
217
217
  clip_created_at: string;
218
+ contentImage?: string;
218
219
  platform: 'twitch';
219
220
  }
220
221
  export type TwitchClipDynamic = Record<string, never>;
@@ -362,6 +363,7 @@ export interface TwitchCharityCampaignExtraSettings {
362
363
  currency: string;
363
364
  currencySymbol: string;
364
365
  charity_logo?: string;
366
+ contentImage?: string;
365
367
  platform: 'twitch';
366
368
  }
367
369
  export type TwitchCharityCampaignStartedDynamic = TwitchCharityCampaignDynamic;
@@ -445,6 +447,7 @@ export interface TwitchPowerupsExtraSettings {
445
447
  value: number;
446
448
  bits: number;
447
449
  type: string;
450
+ contentImage?: string;
448
451
  platform: 'twitch';
449
452
  }
450
453
  export interface TwitchRedemptionDynamic {
@@ -462,6 +465,7 @@ export interface TwitchRedemptionExtraSettings {
462
465
  reward_prompt?: string;
463
466
  user_input?: string;
464
467
  redeemed_at?: string;
468
+ contentImage?: string;
465
469
  platform: 'twitch';
466
470
  }
467
471
  export type TwitchSessionFollowersDynamic = SessionAggregateDynamic;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.5.6",
3
+ "version": "3.5.8",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",