@lumiastream/lumia-types 3.8.3 → 3.8.5

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.
@@ -271,6 +271,7 @@ export declare enum LumiaAlertValues {
271
271
  TWITCH_WATCH_STREAK = "twitch-watchStreak",
272
272
  /** Power-ups used */
273
273
  TWITCH_POWERUPS = "twitch-powerups",
274
+ TWITCH_MODIVERSARY = "twitch-modiversary",
274
275
  /** YouTube stream went live */
275
276
  YOUTUBE_STREAM_LIVE = "youtube-streamLive",
276
277
  /** YouTube stream went offline */
@@ -643,6 +644,7 @@ export declare const LumiaAlertFriendlyValues: {
643
644
  "twitch-adStopped": string;
644
645
  "twitch-watchStreak": string;
645
646
  "twitch-powerups": string;
647
+ "twitch-modiversary": string;
646
648
  "youtube-streamLive": string;
647
649
  "youtube-streamOffline": string;
648
650
  "youtube-firstChatter": string;
@@ -289,6 +289,7 @@ var LumiaAlertValues;
289
289
  LumiaAlertValues["TWITCH_WATCH_STREAK"] = "twitch-watchStreak";
290
290
  /** Power-ups used */
291
291
  LumiaAlertValues["TWITCH_POWERUPS"] = "twitch-powerups";
292
+ LumiaAlertValues["TWITCH_MODIVERSARY"] = "twitch-modiversary";
292
293
  // YouTube alerts
293
294
  /** YouTube stream went live */
294
295
  LumiaAlertValues["YOUTUBE_STREAM_LIVE"] = "youtube-streamLive";
@@ -676,6 +677,7 @@ exports.LumiaAlertFriendlyValues = {
676
677
  [LumiaAlertValues.TWITCH_AD_STOPPED]: 'Twitch Ad Stopped',
677
678
  [LumiaAlertValues.TWITCH_WATCH_STREAK]: 'Twitch Watch Streak',
678
679
  [LumiaAlertValues.TWITCH_POWERUPS]: 'Twitch Powerups',
680
+ [LumiaAlertValues.TWITCH_MODIVERSARY]: 'Twitch Modiversary',
679
681
  [LumiaAlertValues.YOUTUBE_STREAM_LIVE]: 'Youtube Stream Live',
680
682
  [LumiaAlertValues.YOUTUBE_STREAM_OFFLINE]: 'Youtube Stream Offline',
681
683
  [LumiaAlertValues.YOUTUBE_FIRST_CHATTER]: 'Youtube First Chatter',
@@ -1756,6 +1756,59 @@ exports.LumiaAlertConfigs = {
1756
1756
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
1757
1757
  ],
1758
1758
  },
1759
+ [activity_types_1.LumiaAlertValues.TWITCH_MODIVERSARY]: {
1760
+ connection: event_types_1.LumiaIntegrations.TWITCH,
1761
+ message: '{{username}} celebrated their {{months}} month modiversary',
1762
+ eventlistMessage: 'Modiversary',
1763
+ eventlistDetailedMessage: 'celebrated their {{months}} month modiversary',
1764
+ acceptedVariables: variables_types_1.AllVariables.twitch.alerts.modiversary,
1765
+ firstMessageTemplate: '{{username}}',
1766
+ secondMessageTemplate: 'celebrated their {{months}} month modiversary',
1767
+ quickActions: [
1768
+ {
1769
+ label: '1 year modiversary',
1770
+ dynamic: { value: 12, username: 'lumiastream' },
1771
+ extraSettings: {
1772
+ username: 'lumiastream',
1773
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1774
+ months: 12,
1775
+ },
1776
+ },
1777
+ {
1778
+ label: '2 year modiversary',
1779
+ dynamic: { value: 24, username: 'lumiastream' },
1780
+ extraSettings: {
1781
+ username: 'lumiastream',
1782
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1783
+ months: 24,
1784
+ },
1785
+ },
1786
+ ],
1787
+ inputFields: [
1788
+ {
1789
+ type: 'text',
1790
+ label: 'Username',
1791
+ variableField: 'username',
1792
+ required: false,
1793
+ default: 'lumiastream',
1794
+ },
1795
+ {
1796
+ type: 'number',
1797
+ label: 'Months',
1798
+ dynamicField: 'value',
1799
+ variableField: 'months',
1800
+ required: true,
1801
+ default: 12,
1802
+ },
1803
+ ],
1804
+ LumiaVariationConditions: [
1805
+ { type: LumiaVariationConditions.RANDOM },
1806
+ { type: LumiaVariationConditions.EQUAL_USERNAME },
1807
+ { type: LumiaVariationConditions.EQUAL_NUMBER, description: 'Modiversary Months is equal to' },
1808
+ { type: LumiaVariationConditions.GREATER_NUMBER, description: 'Modiversary Months is greater than or equal to' },
1809
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
1810
+ ],
1811
+ },
1759
1812
  [activity_types_1.LumiaAlertValues.TWITCH_POWERUPS]: {
1760
1813
  connection: event_types_1.LumiaIntegrations.TWITCH,
1761
1814
  hasAlertImage: true,
@@ -80,6 +80,7 @@ Variable functions perform logic. They are written `{{name=arguments}}`. Argumen
80
80
  - `{{min={{var1}},{{var2}},100}}` / `{{max=...}}` — smallest / largest of the values.
81
81
  - `{{sum_variables=twitch_total_follower_count,kick_total_follower_count}}` — add a list of numeric variables.
82
82
  - `{{offset_count=twitch_total_follower_count,10}}` — add (or subtract) a fixed offset to a numeric variable.
83
+ - `{{convert_color_to_hex=green}}` — convert a color name or value to its hex code.
83
84
 
84
85
  ### Conditionals
85
86
 
@@ -94,6 +95,9 @@ Variable functions perform logic. They are written `{{name=arguments}}`. Argumen
94
95
  - `{{arg=1,word}}` — like `arg` but only accepts a plain word. Use `emote` to require an emote.
95
96
  - `{{replace={{message}},badword,***}}` — replace text. The search term may be a `/pattern/flags` regex.
96
97
  - `{{regex_extract={{message}},(\w+),1}}` — extract regex capture group N from the text.
98
+ - `{{selection=yes,no,maybe}}` — output the viewer's message only if it exactly matches one of the options, otherwise empty.
99
+ - `{{get_var_from_msg=name}}` — read a `key=value` the viewer typed, e.g. after `!set name=Lumi`, `{{get_var_from_msg=name}}` is `Lumi`.
100
+ - `{{translate={{message}}}}` — translate text to the app language; add a target like `{{translate={{message}}|es}}`.
97
101
 
98
102
  ### Counters and saved values
99
103
 
@@ -109,6 +113,9 @@ Variable functions perform logic. They are written `{{name=arguments}}`. Argumen
109
113
  - `{{time_until="2026-12-25T00:00:00Z"}}` — countdown to a future date.
110
114
  - `{{twitch_followage}}` — how long the viewer has followed.
111
115
  - `{{account_age}}` — how long ago the viewer's account was created.
116
+ - `{{twitch_accountage}}` / `{{twitch_accountage=someuser}}` — how long ago a Twitch account was created.
117
+ - `{{youtube_uptime}}`, `{{kick_uptime}}`, `{{facebook_uptime}}`, `{{tiktok_uptime}}` — stream uptime for each platform, like `{{twitch_uptime}}`. Append `_timestamp` for an ISO start time instead of a duration: `{{twitch_uptime_timestamp}}`, `{{youtube_uptime_timestamp}}`, `{{kick_uptime_timestamp}}`, `{{facebook_uptime_timestamp}}`, `{{tiktok_uptime_timestamp}}`, `{{lumia_uptime_timestamp}}`.
118
+ - `{{twitch_next_ad}}` — when the next Twitch ad break is scheduled.
112
119
 
113
120
  ### Roles and user lookups
114
121
 
@@ -116,14 +123,56 @@ Variable functions perform logic. They are written `{{name=arguments}}`. Argumen
116
123
  - `{{user_has_role=subscriber,yesno}}` — outputs `Yes` or `No`.
117
124
  - `{{user_top_role}}` — the viewer's highest role.
118
125
  - `{{lookup_user=someuser,twitch,displayname}}` — look up another user's field. Fields: `displayname`, `avatar`, `channelDescription`, `channelViews`.
119
- - `{{get_user_loyalty_points={{username}}}}` — the viewer's loyalty point balance.
120
126
  - `{{user_watchtime={{username}}}}` — the viewer's total watch time.
127
+ - `{{user_rank}}` / `{{user_rank=someuser}}` — the viewer's position on the loyalty leaderboard.
128
+ - `{{is_first_chatter}}` — the viewer's name if they were the first to chat this session, otherwise empty.
129
+ - `{{lookup_user_game=someuser}}` / `{{lookup_user_title=someuser}}` — another channel's current category / stream title.
130
+ - `{{get_avatar}}` / `{{get_avatar=someuser}}` — a viewer's avatar image URL (`{{twitch_get_avatar=someuser}}` for Twitch specifically).
131
+ - `{{channel_emotes}}` / `{{twitch_channel_emotes}}` — your channel's emote names.
132
+ - `{{viewer_profile_summary=someuser}}` — a one-line summary of a viewer's saved profile notes.
133
+
134
+ ### Loyalty points
135
+
136
+ - `{{get_user_loyalty_points={{username}}}}` — the running viewer's point balance. Use `{{get_user_loyalty_points={{arg=1}}}}` to look up another user.
137
+ - `{{add_points={{username}},100}}` — add points to a user (a negative amount subtracts).
138
+ - `{{set_points={{username}},100}}` — set a user's points to an exact total.
139
+ - `{{give_points={{arg=1}},{{arg=2}}}}` — transfer points from the running viewer to another user; it reports automatically when the sender cannot afford it.
140
+ - `{{loyalty_top=5}}` — the top N point holders. `{{loyalty_leaderboard_url}}` — the public leaderboard link.
141
+
142
+ To change a balance, always use these functions — they persist the change. `{{math}}` only outputs a number for display; it never moves points.
143
+
144
+ ### Commands, bot & moderation
145
+
146
+ - `{{get_commands}}` — list the commands the viewer is allowed to use. `{{get_all_commands}}` lists every public command.
147
+ - `{{bot_status}}` — which platforms the chat bot is currently connected to.
148
+ - `{{get_queue_count}}` — how many actions are waiting in the Lumia queue.
149
+ - `{{add_chatbot_command=hi,Hello there!}}` — create a command. `{{edit_chatbot_command=hi,New reply}}` edits one and `{{delete_chatbot_command=hi}}` removes one. Mod/broadcaster use.
150
+ - `{{toggle_automation=My Timer,on}}` — turn an automation/timer on or off (`on`/`off`). Mod/broadcaster use.
151
+ - `{{vanish}}` / `{{vanish=10}}` — briefly time the viewer out (default 1 second) so they can clear their own messages; outputs nothing.
152
+
153
+ ### Songs & queues
154
+
155
+ - `{{song_queue}}` — the current song-request queue. `{{song_voteskip_start}}` starts a vote to skip the current song.
156
+ - `{{viewer_queue_list}}` — the next viewers waiting in the viewer queue.
121
157
 
122
158
  ### External / advanced
123
159
 
124
160
  - `{{read_url="https://api.example.com/user",data.name}}` — fetch JSON from a URL and read a field (quote URLs with commas/query strings).
125
161
  - `{{weather=Seattle}}` — current weather for a location.
126
162
  - `{{js=Math.floor(Math.random()*6)+1}}` — run a small sandboxed JavaScript expression (1 second limit). Wrap string variables in quotes, e.g. `{{js='{{username}}'.toUpperCase()}}`.
163
+ - `{{ai_prompt=Write a short hype message}}` — generate a reply with your connected AI (ChatGPT/DeepSeek/Lumia AI).
164
+ - `{{read_file=C:/path/to/quotes.txt}}` — read the contents of a local text file. `{{filesay=https://example.com/lines.txt}}` posts a remote text file to chat line by line (mod use).
165
+
166
+ ### Screenshots & files
167
+
168
+ These capture or locate media and resolve to the saved **file path** — most useful piped into an action or overlay (e.g. to display the image) rather than sent as plain chat text.
169
+
170
+ - `{{screenshot}}` / `{{screenshot=2}}` — capture the desktop (optional screen number) and return the saved image path.
171
+ - `{{overlay_screenshot=overlay 1}}` / `{{overlay_screenshot=overlay 1,original}}` — capture a Lumia overlay as a PNG and return its path.
172
+ - `{{obs_screenshot}}` / `{{obs_screenshot=Scene Name}}` — capture the current (or named) OBS scene and return the image path.
173
+ - `{{obs_replay}}` / `{{obs_replay=5}}` — save the OBS replay buffer (optional seconds to wait) and return the video path.
174
+ - `{{obs_vertical_replay}}` / `{{obs_vertical_replay=5}}` — save the OBS vertical replay buffer and return the video path.
175
+ - `{{get_latest_file_from_folder=C:/path/to/folder}}` / `{{get_random_file_from_folder=C:/path/to/folder}}` — return the newest / a random file's path from a local folder.
127
176
 
128
177
  ## StreamElements compatibility
129
178
 
@@ -138,3 +187,4 @@ Lumia accepts StreamElements `$(...)` syntax and converts it automatically. Pref
138
187
  - Followage: `{{username}}, you have been following for {{twitch_followage}}.`
139
188
  - Subs goal: `Sub count: {{twitch_total_subscriber_count}} / 100 — {{if={{compare={{twitch_total_subscriber_count}},>=,100}},goal hit!,keep going!}}`
140
189
  - Points: `{{username}}, you have {{get_user_loyalty_points={{username}}}} {{loyalty_currency_name}}.`
190
+ - Give points: `{{give_points={{arg=1}},{{arg=2}}}}` — a `!give <user> <amount>` command; the transfer and the reply are handled for you.
@@ -824,6 +824,7 @@ export declare enum LumiaAlertValues {
824
824
  TWITCH_WATCH_STREAK = "twitch-watchStreak",
825
825
  /** Power-ups used */
826
826
  TWITCH_POWERUPS = "twitch-powerups",
827
+ TWITCH_MODIVERSARY = "twitch-modiversary",
827
828
  /** YouTube stream went live */
828
829
  YOUTUBE_STREAM_LIVE = "youtube-streamLive",
829
830
  /** YouTube stream went offline */
@@ -2,7 +2,7 @@
2
2
 
3
3
  You help normal (non-developer) Lumia Stream users create, update, and debug Custom Overlays. Default to complete, working overlay code that can be pasted into the five tabs: HTML, CSS, JS, Configs, Data.
4
4
 
5
- Source of truth (in order): this file > `gpt-instructions-extended.md` (long-form reference: SystemVariables list, OBS events, platform strings, alert values, assets) > `custom-overlays-documentation.md` > `custom-overlays-examples.md` > `custom-overlays.d.ts` / `custom-overlays-alerts.d.ts`.
5
+ Source of truth (in order): this file > `gpt-instructions-extended.md` (long-form reference) > `custom-overlays-documentation.md` > `custom-overlays-examples.md` > `custom-overlays.d.ts` / `custom-overlays-alerts.d.ts`.
6
6
 
7
7
  ## Runtime Facts (override any conflicting doc)
8
8
 
@@ -46,7 +46,7 @@ Only output `{{name}}` when `name` is one of:
46
46
  2. A Config/Data key defined in the current response.
47
47
  3. A custom key created in the current response via `Overlay.setVariable("literal_key", value)`.
48
48
 
49
- In JS, wrap tokens in quotes: `const n = Number("{{twitch_session_bits_count}}") || 0;`. Prefer `Overlay.data.key` in JS for Config/Data values. Full SystemVariables list is in the extended doc and `custom-overlays.d.ts`.
49
+ In JS, wrap tokens in quotes: `const n = Number("{{twitch_session_bits_count}}") || 0;`. Prefer `Overlay.data.key` in JS for Config/Data values.
50
50
 
51
51
  ## Events
52
52
 
@@ -103,11 +103,7 @@ Build the request as a Custom Overlay unless the user explicitly asks for a plug
103
103
 
104
104
  ## Self-Check (before responding)
105
105
 
106
- - Every `{{token}}` resolves to a SystemVariable, a Config/Data key in this response, or a custom variable created this response.
107
- - Every Config key has a matching Data key with the same default.
108
- - Every `Overlay.getStorage` has a null-check + `saveStorage` seed.
109
- - Listener names are literal strings. Alert branches use exact equality.
110
- - No `innerHTML` with user/chat/alert text. No `localStorage`/`sessionStorage`. No `event.detail` in `Overlay.on` handlers. No `removeStorage`. No TypeScript.
111
- - Chatbot platform (if set) is from the allowed list.
112
- - Returned tabs contain full content, not diffs. If Configs or Data changed, both are returned.
113
- - New overlays have a valid `codeId`.
106
+ - Every `{{token}}` is a SystemVariable, a Config/Data key, or a custom var created this response; every Config key has a matching Data key with the same default.
107
+ - Every `getStorage` has a null-check + seed. Listener names are literal strings; alert branches use exact `data.alert` equality.
108
+ - No `innerHTML` with user text, no `localStorage`/`sessionStorage`, no `event.detail` in `Overlay.on`, no `removeStorage`, no TypeScript. Chatbot platform (if set) from the allowed list.
109
+ - Changed tabs returned in full, not diffs (Configs + Data together); new overlays have a valid `codeId`.
@@ -824,6 +824,7 @@ export declare enum LumiaAlertValues {
824
824
  TWITCH_WATCH_STREAK = "twitch-watchStreak",
825
825
  /** Power-ups used */
826
826
  TWITCH_POWERUPS = "twitch-powerups",
827
+ TWITCH_MODIVERSARY = "twitch-modiversary",
827
828
  /** YouTube stream went live */
828
829
  YOUTUBE_STREAM_LIVE = "youtube-streamLive",
829
830
  /** YouTube stream went offline */
@@ -286,6 +286,7 @@ export var LumiaAlertValues;
286
286
  LumiaAlertValues["TWITCH_WATCH_STREAK"] = "twitch-watchStreak";
287
287
  /** Power-ups used */
288
288
  LumiaAlertValues["TWITCH_POWERUPS"] = "twitch-powerups";
289
+ LumiaAlertValues["TWITCH_MODIVERSARY"] = "twitch-modiversary";
289
290
  // YouTube alerts
290
291
  /** YouTube stream went live */
291
292
  LumiaAlertValues["YOUTUBE_STREAM_LIVE"] = "youtube-streamLive";
@@ -673,6 +674,7 @@ export const LumiaAlertFriendlyValues = {
673
674
  [LumiaAlertValues.TWITCH_AD_STOPPED]: 'Twitch Ad Stopped',
674
675
  [LumiaAlertValues.TWITCH_WATCH_STREAK]: 'Twitch Watch Streak',
675
676
  [LumiaAlertValues.TWITCH_POWERUPS]: 'Twitch Powerups',
677
+ [LumiaAlertValues.TWITCH_MODIVERSARY]: 'Twitch Modiversary',
676
678
  [LumiaAlertValues.YOUTUBE_STREAM_LIVE]: 'Youtube Stream Live',
677
679
  [LumiaAlertValues.YOUTUBE_STREAM_OFFLINE]: 'Youtube Stream Offline',
678
680
  [LumiaAlertValues.YOUTUBE_FIRST_CHATTER]: 'Youtube First Chatter',
@@ -1753,6 +1753,59 @@ export const LumiaAlertConfigs = {
1753
1753
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
1754
1754
  ],
1755
1755
  },
1756
+ [LumiaAlertValues.TWITCH_MODIVERSARY]: {
1757
+ connection: LumiaIntegrations.TWITCH,
1758
+ message: '{{username}} celebrated their {{months}} month modiversary',
1759
+ eventlistMessage: 'Modiversary',
1760
+ eventlistDetailedMessage: 'celebrated their {{months}} month modiversary',
1761
+ acceptedVariables: AllVariables.twitch.alerts.modiversary,
1762
+ firstMessageTemplate: '{{username}}',
1763
+ secondMessageTemplate: 'celebrated their {{months}} month modiversary',
1764
+ quickActions: [
1765
+ {
1766
+ label: '1 year modiversary',
1767
+ dynamic: { value: 12, username: 'lumiastream' },
1768
+ extraSettings: {
1769
+ username: 'lumiastream',
1770
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1771
+ months: 12,
1772
+ },
1773
+ },
1774
+ {
1775
+ label: '2 year modiversary',
1776
+ dynamic: { value: 24, username: 'lumiastream' },
1777
+ extraSettings: {
1778
+ username: 'lumiastream',
1779
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
1780
+ months: 24,
1781
+ },
1782
+ },
1783
+ ],
1784
+ inputFields: [
1785
+ {
1786
+ type: 'text',
1787
+ label: 'Username',
1788
+ variableField: 'username',
1789
+ required: false,
1790
+ default: 'lumiastream',
1791
+ },
1792
+ {
1793
+ type: 'number',
1794
+ label: 'Months',
1795
+ dynamicField: 'value',
1796
+ variableField: 'months',
1797
+ required: true,
1798
+ default: 12,
1799
+ },
1800
+ ],
1801
+ LumiaVariationConditions: [
1802
+ { type: LumiaVariationConditions.RANDOM },
1803
+ { type: LumiaVariationConditions.EQUAL_USERNAME },
1804
+ { type: LumiaVariationConditions.EQUAL_NUMBER, description: 'Modiversary Months is equal to' },
1805
+ { type: LumiaVariationConditions.GREATER_NUMBER, description: 'Modiversary Months is greater than or equal to' },
1806
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
1807
+ ],
1808
+ },
1756
1809
  [LumiaAlertValues.TWITCH_POWERUPS]: {
1757
1810
  connection: LumiaIntegrations.TWITCH,
1758
1811
  hasAlertImage: true,
@@ -241,6 +241,7 @@ export const AlertsToFilter = [
241
241
  LumiaAlertValues.TWITCH_AD_STARTED,
242
242
  LumiaAlertValues.TWITCH_AD_STOPPED,
243
243
  LumiaAlertValues.TWITCH_WATCH_STREAK,
244
+ LumiaAlertValues.TWITCH_MODIVERSARY,
244
245
  // --- YouTube ---
245
246
  LumiaAlertValues.YOUTUBE_STREAM_LIVE,
246
247
  LumiaAlertValues.YOUTUBE_STREAM_OFFLINE,
@@ -2968,6 +2968,7 @@ export const AllVariables = {
2968
2968
  adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
2969
2969
  watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
2970
2970
  powerups: ['username', 'avatar', 'type', 'amount', 'message', 'reward_id', 'powerup_source'],
2971
+ modiversary: ['username', 'userId', 'displayname', 'avatar', 'months', 'message', 'system_message'],
2971
2972
  },
2972
2973
  },
2973
2974
  twitter: {
@@ -244,6 +244,7 @@ exports.AlertsToFilter = [
244
244
  activity_types_1.LumiaAlertValues.TWITCH_AD_STARTED,
245
245
  activity_types_1.LumiaAlertValues.TWITCH_AD_STOPPED,
246
246
  activity_types_1.LumiaAlertValues.TWITCH_WATCH_STREAK,
247
+ activity_types_1.LumiaAlertValues.TWITCH_MODIVERSARY,
247
248
  // --- YouTube ---
248
249
  activity_types_1.LumiaAlertValues.YOUTUBE_STREAM_LIVE,
249
250
  activity_types_1.LumiaAlertValues.YOUTUBE_STREAM_OFFLINE,
package/dist/index.d.ts CHANGED
@@ -12,4 +12,4 @@ export { TiktokGiftsData, TiktokGiftImageSelections } from './tiktok_gifts';
12
12
  export { YoutubeSuperstickersData, YoutubeSuperstickerImageSelections } from './youtube_superstickers';
13
13
  export { VIEWER_PROFILE_ACHIEVEMENTS, type ViewerProfileAchievementColor, type ViewerProfileAchievementDefinition, type ViewerProfileAchievementMetric, type ViewerProfileCollectionMode, type ViewerProfileCollectionRule, type ViewerProfileCollectionSettings, type ViewerProfileCollectionSource, } from './viewer_profile_achievements';
14
14
  export { SongRequestStatus, SongRequestSource, SongRequestProvider, SongRequestPlaybackTarget, type SongRequestItem, type SongRequestConfig, type SongRequestState, type SongRequestQueueUpdatePayload, type SongRequestNowPlayingPayload, type SongRequestAddParams, } from './songrequest.types';
15
- 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';
15
+ 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, TwitchModiversaryDynamic, TwitchModiversaryExtraSettings, 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';
@@ -1698,6 +1698,7 @@ export declare const AllVariables: {
1698
1698
  adStopped: string[];
1699
1699
  watchStreak: string[];
1700
1700
  powerups: string[];
1701
+ modiversary: string[];
1701
1702
  };
1702
1703
  };
1703
1704
  twitter: {
@@ -2973,6 +2973,7 @@ exports.AllVariables = {
2973
2973
  adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
2974
2974
  watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
2975
2975
  powerups: ['username', 'avatar', 'type', 'amount', 'message', 'reward_id', 'powerup_source'],
2976
+ modiversary: ['username', 'userId', 'displayname', 'avatar', 'months', 'message', 'system_message'],
2976
2977
  },
2977
2978
  },
2978
2979
  twitter: {
@@ -435,6 +435,19 @@ export interface TwitchWatchStreakExtraSettings {
435
435
  message?: string;
436
436
  platform: 'twitch';
437
437
  }
438
+ export interface TwitchModiversaryDynamic {
439
+ value: number;
440
+ username: string;
441
+ }
442
+ export interface TwitchModiversaryExtraSettings {
443
+ username: string;
444
+ displayname: string;
445
+ avatar?: string;
446
+ userId: string | number;
447
+ months: number;
448
+ message?: string;
449
+ platform: 'twitch';
450
+ }
438
451
  export interface TwitchPowerupsDynamic {
439
452
  value: number;
440
453
  username: string;
@@ -780,6 +793,10 @@ export type AlertEventInputMap = {
780
793
  dynamic: TwitchWatchStreakDynamic;
781
794
  extraSettings: TwitchWatchStreakExtraSettings;
782
795
  };
796
+ [LumiaAlertValues.TWITCH_MODIVERSARY]: {
797
+ dynamic: TwitchModiversaryDynamic;
798
+ extraSettings: TwitchModiversaryExtraSettings;
799
+ };
783
800
  [LumiaAlertValues.TWITCH_POWERUPS]: {
784
801
  dynamic: TwitchPowerupsDynamic;
785
802
  extraSettings: TwitchPowerupsExtraSettings;
@@ -857,4 +874,4 @@ export type AlertEventInputMap = {
857
874
  extraSettings: SessionAggregateExtraSettings;
858
875
  };
859
876
  };
860
- export type AlertEventUnion = IAlertEvent<TwitchFollowerDynamic, TwitchFollowerExtraSettings> | IAlertEvent<TwitchSubscriberDynamic, TwitchSubscriberExtraSettings> | IAlertEvent<TwitchGiftSubscriptionDynamic, TwitchGiftSubscriptionExtraSettings> | IAlertEvent<TwitchBitsDynamic, TwitchBitsExtraSettings> | IAlertEvent<TwitchBitsComboDynamic, TwitchBitsComboExtraSettings> | IAlertEvent<TwitchRaidDynamic, TwitchRaidExtraSettings> | IAlertEvent<TwitchRaidOutDynamic, TwitchRaidOutExtraSettings> | IAlertEvent<TwitchChannelJoinDynamic, TwitchChannelJoinExtraSettings> | IAlertEvent<TwitchChannelLeaveDynamic, TwitchChannelLeaveExtraSettings> | IAlertEvent<TwitchFirstChatterDynamic, TwitchFirstChatterExtraSettings> | IAlertEvent<TwitchEntranceDynamic, TwitchEntranceExtraSettings> | IAlertEvent<TwitchTimeoutDynamic, TwitchTimeoutExtraSettings> | IAlertEvent<TwitchTimeoutOverDynamic, TwitchTimeoutOverExtraSettings> | IAlertEvent<TwitchBannedDynamic, TwitchBannedExtraSettings> | IAlertEvent<TwitchClipDynamic, TwitchClipExtraSettings> | IAlertEvent<TwitchCategoryDynamic, TwitchCategoryExtraSettings> | IAlertEvent<TwitchHypeTrainDynamic, TwitchHypeTrainExtraSettings> | IAlertEvent<TwitchPollDynamic, TwitchPollExtraSettings> | IAlertEvent<TwitchPredictionDynamic, TwitchPredictionExtraSettings> | IAlertEvent<TwitchGoalDynamic, TwitchGoalExtraSettings> | IAlertEvent<TwitchCharityDonationDynamic, TwitchCharityDonationExtraSettings> | IAlertEvent<TwitchCharityCampaignDynamic, TwitchCharityCampaignExtraSettings> | IAlertEvent<TwitchShoutoutReceiveDynamic, TwitchShoutoutReceiveExtraSettings> | IAlertEvent<TwitchAdDynamic, TwitchAdStartedExtraSettings> | IAlertEvent<TwitchAdDynamic, TwitchAdStoppedExtraSettings> | IAlertEvent<TwitchStreamLiveDynamic, TwitchStreamLiveExtraSettings> | IAlertEvent<TwitchStreamOfflineDynamic, TwitchStreamOfflineExtraSettings> | IAlertEvent<TwitchWatchStreakDynamic, TwitchWatchStreakExtraSettings> | IAlertEvent<TwitchPowerupsDynamic, TwitchPowerupsExtraSettings> | IAlertEvent<TwitchRedemptionDynamic, TwitchRedemptionExtraSettings> | IAlertEvent<SessionAggregateDynamic, SessionAggregateExtraSettings> | IAlertEvent<KickFollowerDynamic, KickFollowerExtraSettings> | IAlertEvent<KickSubscriberDynamic, KickSubscriberExtraSettings> | IAlertEvent<KickGiftSubscriptionDynamic, KickGiftSubscriptionExtraSettings> | IAlertEvent<KickKicksDynamic, KickKicksExtraSettings> | IAlertEvent<KickHostDynamic, KickHostExtraSettings> | IAlertEvent<KickBannedDynamic, KickBannedExtraSettings> | IAlertEvent<KickUnbannedDynamic, KickUnbannedExtraSettings> | IAlertEvent<KickFirstChatterDynamic, KickFirstChatterExtraSettings> | IAlertEvent<KickEntranceDynamic, KickEntranceExtraSettings>;
877
+ export type AlertEventUnion = IAlertEvent<TwitchFollowerDynamic, TwitchFollowerExtraSettings> | IAlertEvent<TwitchSubscriberDynamic, TwitchSubscriberExtraSettings> | IAlertEvent<TwitchGiftSubscriptionDynamic, TwitchGiftSubscriptionExtraSettings> | IAlertEvent<TwitchBitsDynamic, TwitchBitsExtraSettings> | IAlertEvent<TwitchBitsComboDynamic, TwitchBitsComboExtraSettings> | IAlertEvent<TwitchRaidDynamic, TwitchRaidExtraSettings> | IAlertEvent<TwitchRaidOutDynamic, TwitchRaidOutExtraSettings> | IAlertEvent<TwitchChannelJoinDynamic, TwitchChannelJoinExtraSettings> | IAlertEvent<TwitchChannelLeaveDynamic, TwitchChannelLeaveExtraSettings> | IAlertEvent<TwitchFirstChatterDynamic, TwitchFirstChatterExtraSettings> | IAlertEvent<TwitchEntranceDynamic, TwitchEntranceExtraSettings> | IAlertEvent<TwitchTimeoutDynamic, TwitchTimeoutExtraSettings> | IAlertEvent<TwitchTimeoutOverDynamic, TwitchTimeoutOverExtraSettings> | IAlertEvent<TwitchBannedDynamic, TwitchBannedExtraSettings> | IAlertEvent<TwitchClipDynamic, TwitchClipExtraSettings> | IAlertEvent<TwitchCategoryDynamic, TwitchCategoryExtraSettings> | IAlertEvent<TwitchHypeTrainDynamic, TwitchHypeTrainExtraSettings> | IAlertEvent<TwitchPollDynamic, TwitchPollExtraSettings> | IAlertEvent<TwitchPredictionDynamic, TwitchPredictionExtraSettings> | IAlertEvent<TwitchGoalDynamic, TwitchGoalExtraSettings> | IAlertEvent<TwitchCharityDonationDynamic, TwitchCharityDonationExtraSettings> | IAlertEvent<TwitchCharityCampaignDynamic, TwitchCharityCampaignExtraSettings> | IAlertEvent<TwitchShoutoutReceiveDynamic, TwitchShoutoutReceiveExtraSettings> | IAlertEvent<TwitchAdDynamic, TwitchAdStartedExtraSettings> | IAlertEvent<TwitchAdDynamic, TwitchAdStoppedExtraSettings> | IAlertEvent<TwitchStreamLiveDynamic, TwitchStreamLiveExtraSettings> | IAlertEvent<TwitchStreamOfflineDynamic, TwitchStreamOfflineExtraSettings> | IAlertEvent<TwitchWatchStreakDynamic, TwitchWatchStreakExtraSettings> | IAlertEvent<TwitchModiversaryDynamic, TwitchModiversaryExtraSettings> | IAlertEvent<TwitchPowerupsDynamic, TwitchPowerupsExtraSettings> | IAlertEvent<TwitchRedemptionDynamic, TwitchRedemptionExtraSettings> | IAlertEvent<SessionAggregateDynamic, SessionAggregateExtraSettings> | IAlertEvent<KickFollowerDynamic, KickFollowerExtraSettings> | IAlertEvent<KickSubscriberDynamic, KickSubscriberExtraSettings> | IAlertEvent<KickGiftSubscriptionDynamic, KickGiftSubscriptionExtraSettings> | IAlertEvent<KickKicksDynamic, KickKicksExtraSettings> | IAlertEvent<KickHostDynamic, KickHostExtraSettings> | IAlertEvent<KickBannedDynamic, KickBannedExtraSettings> | IAlertEvent<KickUnbannedDynamic, KickUnbannedExtraSettings> | IAlertEvent<KickFirstChatterDynamic, KickFirstChatterExtraSettings> | IAlertEvent<KickEntranceDynamic, KickEntranceExtraSettings>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.8.3",
3
+ "version": "3.8.5",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",