@lumiastream/lumia-types 3.4.0 → 3.4.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.
@@ -5362,10 +5362,18 @@ exports.LumiaAlertConfigs = {
5362
5362
  battleId: '1',
5363
5363
  battleLabel: 'lumiastream vs rivalstream',
5364
5364
  creatorUsername: 'lumiastream',
5365
+ creatorDisplayname: 'Lumia Stream',
5366
+ creatorAvatar: '',
5365
5367
  opponentUsername: 'rivalstream',
5368
+ opponentDisplayname: 'Rival Stream',
5369
+ opponentAvatar: '',
5366
5370
  creatorScore: 1200,
5367
5371
  opponentScore: 900,
5372
+ giftId: 5655,
5373
+ giftCount: 1,
5374
+ repeatCount: 1,
5368
5375
  totalDiamondCount: 100,
5376
+ battleStatus: 'scoreUpdate',
5369
5377
  },
5370
5378
  },
5371
5379
  ],
@@ -1154,6 +1154,8 @@ export declare enum SystemVariables {
1154
1154
  TRANSLATE = "translate",
1155
1155
  /** Get the ai response from ai integration. Example: {{ai_prompt={{message}}}}. Use as {{ai_prompt}}. */
1156
1156
  AI_PROMPT = "ai_prompt",
1157
+ /** Current weather for a location via wttr.in. Returns a one-line summary like */
1158
+ WEATHER = "weather",
1157
1159
  /** Commands URL/page. Use in overlays as {{commands_url}}. */
1158
1160
  COMMANDS_URL = "commands_url",
1159
1161
  /** Session start time (ISO). Use as {{session_start_date}}. */
@@ -1154,6 +1154,8 @@ export declare enum SystemVariables {
1154
1154
  TRANSLATE = "translate",
1155
1155
  /** Get the ai response from ai integration. Example: {{ai_prompt={{message}}}}. Use as {{ai_prompt}}. */
1156
1156
  AI_PROMPT = "ai_prompt",
1157
+ /** Current weather for a location via wttr.in. Returns a one-line summary like */
1158
+ WEATHER = "weather",
1157
1159
  /** Commands URL/page. Use in overlays as {{commands_url}}. */
1158
1160
  COMMANDS_URL = "commands_url",
1159
1161
  /** Session start time (ISO). Use as {{session_start_date}}. */
@@ -5359,10 +5359,18 @@ export const LumiaAlertConfigs = {
5359
5359
  battleId: '1',
5360
5360
  battleLabel: 'lumiastream vs rivalstream',
5361
5361
  creatorUsername: 'lumiastream',
5362
+ creatorDisplayname: 'Lumia Stream',
5363
+ creatorAvatar: '',
5362
5364
  opponentUsername: 'rivalstream',
5365
+ opponentDisplayname: 'Rival Stream',
5366
+ opponentAvatar: '',
5363
5367
  creatorScore: 1200,
5364
5368
  opponentScore: 900,
5369
+ giftId: 5655,
5370
+ giftCount: 1,
5371
+ repeatCount: 1,
5365
5372
  totalDiamondCount: 100,
5373
+ battleStatus: 'scoreUpdate',
5366
5374
  },
5367
5375
  },
5368
5376
  ],
@@ -72,9 +72,6 @@ export var LumiaEventListTypes;
72
72
  export const LumiaMapAlertTypeToEventListType = {
73
73
  // --- Lumia Stream native ---
74
74
  [LumiaAlertValues.LUMIASTREAM_DONATION]: LumiaEventListTypes.DONATION,
75
- // Raffle / spinwheel / roulette / slots winners are explicitly hidden via
76
- // `AlertsToFilter` below — they're stream-side games, not viewer-facing
77
- // activity feed events.
78
75
  // --- Twitch ---
79
76
  [LumiaAlertValues.TWITCH_EXTENSION]: LumiaEventListTypes.EXTENSION,
80
77
  [LumiaAlertValues.TWITCH_POINTS]: LumiaEventListTypes.POINTS,
@@ -89,22 +86,11 @@ export const LumiaMapAlertTypeToEventListType = {
89
86
  [LumiaAlertValues.TWITCH_BITS]: LumiaEventListTypes.BITS,
90
87
  [LumiaAlertValues.TWITCH_BITS_COMBO]: LumiaEventListTypes.BITS,
91
88
  [LumiaAlertValues.TWITCH_SESSION_BITS]: LumiaEventListTypes.BITS,
92
- // TWITCH_REDEMPTION is explicitly hidden via `AlertsToFilter` — its
93
- // payload is too channel-points-specific for a generic activity feed.
94
- // Streamlabs Redemption (loyalty points) is in the REDEMPTION category
95
- // below if that semantic is needed.
96
89
  [LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: LumiaEventListTypes.HYPETRAIN,
97
- // HYPETRAIN_PROGRESSED / LEVEL_PROGRESSED / ENDED are hidden via
98
- // `AlertsToFilter` — only the STARTED event reads as a real "event" in
99
- // the feed; the rest are progress ticks the streamer doesn't want
100
- // cluttering things.
101
90
  [LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.DONATION,
102
91
  [LumiaAlertValues.TWITCH_POWERUPS]: LumiaEventListTypes.BITS,
103
92
  [LumiaAlertValues.TWITCH_POWERUPS_POINTS]: LumiaEventListTypes.POINTS,
104
93
  // --- YouTube ---
105
- // YouTube "subscribers" are free follows in YT-speak — categorize as
106
- // FOLLOWER so a "Recent Followers" widget unifies Twitch follows + YT
107
- // subs. Paid memberships are categorized as SUBSCRIBERS below.
108
94
  [LumiaAlertValues.YOUTUBE_SUBSCRIBER]: LumiaEventListTypes.FOLLOWER,
109
95
  [LumiaAlertValues.YOUTUBE_SESSION_SUBS]: LumiaEventListTypes.FOLLOWER,
110
96
  [LumiaAlertValues.YOUTUBE_MEMBER]: LumiaEventListTypes.SUBSCRIBERS,
@@ -117,16 +103,10 @@ export const LumiaMapAlertTypeToEventListType = {
117
103
  [LumiaAlertValues.YOUTUBE_SESSION_SUPERSTICKERS]: LumiaEventListTypes.SUPERSTICKERS,
118
104
  [LumiaAlertValues.YOUTUBE_GIFTS]: LumiaEventListTypes.GIFTS,
119
105
  [LumiaAlertValues.YOUTUBE_SESSION_GIFTS]: LumiaEventListTypes.GIFTS,
120
- // YOUTUBE_LIKE / TIKTOK_LIKE / TIKTOK_TOTAL_LIKES / TWITTER_LIKE are
121
- // hidden via `AlertsToFilter` — likes are too frequent / noisy for a
122
- // recent-activity feed.
123
106
  // --- Facebook ---
124
107
  [LumiaAlertValues.FACEBOOK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
125
108
  [LumiaAlertValues.FACEBOOK_REACTION]: LumiaEventListTypes.LIKES,
126
109
  [LumiaAlertValues.FACEBOOK_STAR]: LumiaEventListTypes.STARS,
127
- // FB Supporters are paid subscriptions, FB Fans are free fan-status, FB
128
- // Gift Subscriptions are gifted Supporters → keep all three in their
129
- // distinct categories.
130
110
  [LumiaAlertValues.FACEBOOK_SUPPORT]: LumiaEventListTypes.SUBSCRIBERS,
131
111
  [LumiaAlertValues.FACEBOOK_GIFT_SUBSCRIPTION]: LumiaEventListTypes.GIFTS,
132
112
  [LumiaAlertValues.FACEBOOK_SHARE]: LumiaEventListTypes.SHARES,
@@ -134,9 +114,6 @@ export const LumiaMapAlertTypeToEventListType = {
134
114
  // --- TikTok ---
135
115
  [LumiaAlertValues.TIKTOK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
136
116
  [LumiaAlertValues.TIKTOK_GIFT]: LumiaEventListTypes.GIFTS,
137
- // TikTok Super Fan = paid membership (subscriber-equivalent). Super Fan
138
- // BOX is a separate gift-style event where a viewer receives a fan-only
139
- // drop — categorize as GIFTS to keep the SUBSCRIBERS feed sub-only.
140
117
  [LumiaAlertValues.TIKTOK_SUPER_FAN]: LumiaEventListTypes.SUBSCRIBERS,
141
118
  [LumiaAlertValues.TIKTOK_SUPER_FAN_BOX]: LumiaEventListTypes.GIFTS,
142
119
  [LumiaAlertValues.TIKTOK_TREASURE_CHEST]: LumiaEventListTypes.GIFTS,
@@ -157,18 +134,12 @@ export const LumiaMapAlertTypeToEventListType = {
157
134
  [LumiaAlertValues.STREAMLABS_DONATION]: LumiaEventListTypes.DONATION,
158
135
  [LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.DONATION,
159
136
  [LumiaAlertValues.STREAMLABS_MERCH]: LumiaEventListTypes.PURCHASES,
160
- // Streamlabs Redemption was previously miscategorized as PURCHASES. It's
161
- // a Streamlabs loyalty-points redemption — the dedicated REDEMPTION
162
- // category is the correct home, mirroring TWITCH_REDEMPTION.
163
137
  [LumiaAlertValues.STREAMLABS_REDEMPTION]: LumiaEventListTypes.REDEMPTION,
164
138
  [LumiaAlertValues.STREAMLABS_PRIMEGIFT]: LumiaEventListTypes.GIFTS,
165
139
  [LumiaAlertValues.STREAMELEMENTS_DONATION]: LumiaEventListTypes.DONATION,
166
140
  [LumiaAlertValues.EXTRALIFE_DONATION]: LumiaEventListTypes.DONATION,
167
141
  [LumiaAlertValues.DONORDRIVE_DONATION]: LumiaEventListTypes.DONATION,
168
142
  [LumiaAlertValues.TILTIFY_DONATION]: LumiaEventListTypes.DONATION,
169
- // Throne is a viewer wishlist platform — a "gift purchase" is a viewer
170
- // buying an item off the streamer's wishlist. Treat all three Throne
171
- // events as PURCHASES so they don't leak into the SUBSCRIBERS feed.
172
143
  [LumiaAlertValues.THRONE_GIFT_PURCHASE]: LumiaEventListTypes.PURCHASES,
173
144
  [LumiaAlertValues.THRONE_CONTRIBUTION_PURCHASE]: LumiaEventListTypes.PURCHASES,
174
145
  [LumiaAlertValues.THRONE_GIFT_CROWDFUNDED]: LumiaEventListTypes.PURCHASES,
@@ -373,17 +344,4 @@ export const AlertsToFilter = [
373
344
  * before the event lands in the eventlist DB at all. Was duplicated in
374
345
  * LumiaStream `Integrations.types.ts` before being consolidated here.
375
346
  */
376
- export const PlatformsToFilter = [
377
- 'obs',
378
- 'slobs',
379
- 'meld',
380
- 'paypal',
381
- 'pulsoid',
382
- 'hyperate',
383
- 'spotify',
384
- 'youtubemusic',
385
- 'nowplaying',
386
- 'vlc',
387
- 'streamerbot',
388
- 'vtubestudio',
389
- ];
347
+ export const PlatformsToFilter = ['obs', 'slobs', 'meld', 'paypal', 'pulsoid', 'hyperate', 'spotify', 'youtubemusic', 'nowplaying', 'vlc', 'streamerbot', 'vtubestudio'];
@@ -1,5 +1,5 @@
1
1
  // [AI] When SystemVariables is used, update custom-overlays.d.ts
2
- export const getAcceptedVariableName = (entry) => typeof entry === 'string' ? entry : entry.name;
2
+ export const getAcceptedVariableName = (entry) => (typeof entry === 'string' ? entry : entry.name);
3
3
  export const getAcceptedVariableNames = (entries) => entries.map(getAcceptedVariableName);
4
4
  // Use the **string values** of this enum inside overlays: e.g. {{twitch_total_subscriber_count}}, not {{TWITCH_TOTAL_SUBSCRIBER_COUNT}}.
5
5
  export var SystemVariables;
@@ -73,6 +73,8 @@ export var SystemVariables;
73
73
  SystemVariables["TRANSLATE"] = "translate";
74
74
  /** Get the ai response from ai integration. Example: {{ai_prompt={{message}}}}. Use as {{ai_prompt}}. */
75
75
  SystemVariables["AI_PROMPT"] = "ai_prompt";
76
+ /** Current weather for a location via wttr.in. Returns a one-line summary like */
77
+ SystemVariables["WEATHER"] = "weather";
76
78
  // ─────────────────────────────────── General Variables ───────────────────────
77
79
  /** Commands URL/page. Use in overlays as {{commands_url}}. */
78
80
  SystemVariables["COMMANDS_URL"] = "commands_url";
@@ -2099,7 +2101,21 @@ export const AllVariables = {
2099
2101
  sessionFollowers: ['total', 'previousTotal'],
2100
2102
  subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2101
2103
  sessionSubs: ['total', 'previousTotal'],
2102
- subscriptionGift: ['username', 'avatar', 'tier', 'giftAmount', 'recipients', KICK_RECIPIENTS_RAW_EXAMPLE, 'gifter', 'totalGifts', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2104
+ subscriptionGift: [
2105
+ 'username',
2106
+ 'avatar',
2107
+ 'tier',
2108
+ 'giftAmount',
2109
+ 'recipients',
2110
+ KICK_RECIPIENTS_RAW_EXAMPLE,
2111
+ 'gifter',
2112
+ 'totalGifts',
2113
+ 'subMonths',
2114
+ 'streakMonths',
2115
+ 'message',
2116
+ 'subPlan',
2117
+ 'subPlanName',
2118
+ ],
2103
2119
  sessionGiftSubscriptions: ['total', 'previousTotal'],
2104
2120
  kicks: ['username', 'avatar', 'amount', 'name', 'type', 'tier', 'id', 'message'],
2105
2121
  sessionKicks: ['total', 'previousTotal'],
@@ -2298,7 +2314,11 @@ export const AllVariables = {
2298
2314
  'battleId',
2299
2315
  'battleLabel',
2300
2316
  'creatorUsername',
2317
+ 'creatorDisplayname',
2318
+ 'creatorAvatar',
2301
2319
  'opponentUsername',
2320
+ 'opponentDisplayname',
2321
+ 'opponentAvatar',
2302
2322
  'creatorScore',
2303
2323
  'opponentScore',
2304
2324
  'giftId',
@@ -2443,7 +2463,21 @@ export const AllVariables = {
2443
2463
  sessionFollowers: ['total', 'previousTotal'],
2444
2464
  subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2445
2465
  sessionSubs: ['total', 'previousTotal'],
2446
- giftSubscription: ['username', 'avatar', 'tier', 'giftAmount', 'recipients', TWITCH_RECIPIENTS_RAW_EXAMPLE, 'gifter', 'totalGifts', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2466
+ giftSubscription: [
2467
+ 'username',
2468
+ 'avatar',
2469
+ 'tier',
2470
+ 'giftAmount',
2471
+ 'recipients',
2472
+ TWITCH_RECIPIENTS_RAW_EXAMPLE,
2473
+ 'gifter',
2474
+ 'totalGifts',
2475
+ 'subMonths',
2476
+ 'streakMonths',
2477
+ 'message',
2478
+ 'subPlan',
2479
+ 'subPlanName',
2480
+ ],
2447
2481
  sessionGiftSubscriptions: ['total', 'previousTotal'],
2448
2482
  bits: ['username', 'avatar', 'amount', 'message'],
2449
2483
  bitsCombo: ['username', 'avatar', 'amount', 'bitsType', 'message'],
@@ -75,9 +75,6 @@ var LumiaEventListTypes;
75
75
  exports.LumiaMapAlertTypeToEventListType = {
76
76
  // --- Lumia Stream native ---
77
77
  [activity_types_1.LumiaAlertValues.LUMIASTREAM_DONATION]: LumiaEventListTypes.DONATION,
78
- // Raffle / spinwheel / roulette / slots winners are explicitly hidden via
79
- // `AlertsToFilter` below — they're stream-side games, not viewer-facing
80
- // activity feed events.
81
78
  // --- Twitch ---
82
79
  [activity_types_1.LumiaAlertValues.TWITCH_EXTENSION]: LumiaEventListTypes.EXTENSION,
83
80
  [activity_types_1.LumiaAlertValues.TWITCH_POINTS]: LumiaEventListTypes.POINTS,
@@ -92,22 +89,11 @@ exports.LumiaMapAlertTypeToEventListType = {
92
89
  [activity_types_1.LumiaAlertValues.TWITCH_BITS]: LumiaEventListTypes.BITS,
93
90
  [activity_types_1.LumiaAlertValues.TWITCH_BITS_COMBO]: LumiaEventListTypes.BITS,
94
91
  [activity_types_1.LumiaAlertValues.TWITCH_SESSION_BITS]: LumiaEventListTypes.BITS,
95
- // TWITCH_REDEMPTION is explicitly hidden via `AlertsToFilter` — its
96
- // payload is too channel-points-specific for a generic activity feed.
97
- // Streamlabs Redemption (loyalty points) is in the REDEMPTION category
98
- // below if that semantic is needed.
99
92
  [activity_types_1.LumiaAlertValues.TWITCH_HYPETRAIN_STARTED]: LumiaEventListTypes.HYPETRAIN,
100
- // HYPETRAIN_PROGRESSED / LEVEL_PROGRESSED / ENDED are hidden via
101
- // `AlertsToFilter` — only the STARTED event reads as a real "event" in
102
- // the feed; the rest are progress ticks the streamer doesn't want
103
- // cluttering things.
104
93
  [activity_types_1.LumiaAlertValues.TWITCH_CHARITY_DONATION]: LumiaEventListTypes.DONATION,
105
94
  [activity_types_1.LumiaAlertValues.TWITCH_POWERUPS]: LumiaEventListTypes.BITS,
106
95
  [activity_types_1.LumiaAlertValues.TWITCH_POWERUPS_POINTS]: LumiaEventListTypes.POINTS,
107
96
  // --- YouTube ---
108
- // YouTube "subscribers" are free follows in YT-speak — categorize as
109
- // FOLLOWER so a "Recent Followers" widget unifies Twitch follows + YT
110
- // subs. Paid memberships are categorized as SUBSCRIBERS below.
111
97
  [activity_types_1.LumiaAlertValues.YOUTUBE_SUBSCRIBER]: LumiaEventListTypes.FOLLOWER,
112
98
  [activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_SUBS]: LumiaEventListTypes.FOLLOWER,
113
99
  [activity_types_1.LumiaAlertValues.YOUTUBE_MEMBER]: LumiaEventListTypes.SUBSCRIBERS,
@@ -120,16 +106,10 @@ exports.LumiaMapAlertTypeToEventListType = {
120
106
  [activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_SUPERSTICKERS]: LumiaEventListTypes.SUPERSTICKERS,
121
107
  [activity_types_1.LumiaAlertValues.YOUTUBE_GIFTS]: LumiaEventListTypes.GIFTS,
122
108
  [activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_GIFTS]: LumiaEventListTypes.GIFTS,
123
- // YOUTUBE_LIKE / TIKTOK_LIKE / TIKTOK_TOTAL_LIKES / TWITTER_LIKE are
124
- // hidden via `AlertsToFilter` — likes are too frequent / noisy for a
125
- // recent-activity feed.
126
109
  // --- Facebook ---
127
110
  [activity_types_1.LumiaAlertValues.FACEBOOK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
128
111
  [activity_types_1.LumiaAlertValues.FACEBOOK_REACTION]: LumiaEventListTypes.LIKES,
129
112
  [activity_types_1.LumiaAlertValues.FACEBOOK_STAR]: LumiaEventListTypes.STARS,
130
- // FB Supporters are paid subscriptions, FB Fans are free fan-status, FB
131
- // Gift Subscriptions are gifted Supporters → keep all three in their
132
- // distinct categories.
133
113
  [activity_types_1.LumiaAlertValues.FACEBOOK_SUPPORT]: LumiaEventListTypes.SUBSCRIBERS,
134
114
  [activity_types_1.LumiaAlertValues.FACEBOOK_GIFT_SUBSCRIPTION]: LumiaEventListTypes.GIFTS,
135
115
  [activity_types_1.LumiaAlertValues.FACEBOOK_SHARE]: LumiaEventListTypes.SHARES,
@@ -137,9 +117,6 @@ exports.LumiaMapAlertTypeToEventListType = {
137
117
  // --- TikTok ---
138
118
  [activity_types_1.LumiaAlertValues.TIKTOK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
139
119
  [activity_types_1.LumiaAlertValues.TIKTOK_GIFT]: LumiaEventListTypes.GIFTS,
140
- // TikTok Super Fan = paid membership (subscriber-equivalent). Super Fan
141
- // BOX is a separate gift-style event where a viewer receives a fan-only
142
- // drop — categorize as GIFTS to keep the SUBSCRIBERS feed sub-only.
143
120
  [activity_types_1.LumiaAlertValues.TIKTOK_SUPER_FAN]: LumiaEventListTypes.SUBSCRIBERS,
144
121
  [activity_types_1.LumiaAlertValues.TIKTOK_SUPER_FAN_BOX]: LumiaEventListTypes.GIFTS,
145
122
  [activity_types_1.LumiaAlertValues.TIKTOK_TREASURE_CHEST]: LumiaEventListTypes.GIFTS,
@@ -160,18 +137,12 @@ exports.LumiaMapAlertTypeToEventListType = {
160
137
  [activity_types_1.LumiaAlertValues.STREAMLABS_DONATION]: LumiaEventListTypes.DONATION,
161
138
  [activity_types_1.LumiaAlertValues.STREAMLABS_CHARITY]: LumiaEventListTypes.DONATION,
162
139
  [activity_types_1.LumiaAlertValues.STREAMLABS_MERCH]: LumiaEventListTypes.PURCHASES,
163
- // Streamlabs Redemption was previously miscategorized as PURCHASES. It's
164
- // a Streamlabs loyalty-points redemption — the dedicated REDEMPTION
165
- // category is the correct home, mirroring TWITCH_REDEMPTION.
166
140
  [activity_types_1.LumiaAlertValues.STREAMLABS_REDEMPTION]: LumiaEventListTypes.REDEMPTION,
167
141
  [activity_types_1.LumiaAlertValues.STREAMLABS_PRIMEGIFT]: LumiaEventListTypes.GIFTS,
168
142
  [activity_types_1.LumiaAlertValues.STREAMELEMENTS_DONATION]: LumiaEventListTypes.DONATION,
169
143
  [activity_types_1.LumiaAlertValues.EXTRALIFE_DONATION]: LumiaEventListTypes.DONATION,
170
144
  [activity_types_1.LumiaAlertValues.DONORDRIVE_DONATION]: LumiaEventListTypes.DONATION,
171
145
  [activity_types_1.LumiaAlertValues.TILTIFY_DONATION]: LumiaEventListTypes.DONATION,
172
- // Throne is a viewer wishlist platform — a "gift purchase" is a viewer
173
- // buying an item off the streamer's wishlist. Treat all three Throne
174
- // events as PURCHASES so they don't leak into the SUBSCRIBERS feed.
175
146
  [activity_types_1.LumiaAlertValues.THRONE_GIFT_PURCHASE]: LumiaEventListTypes.PURCHASES,
176
147
  [activity_types_1.LumiaAlertValues.THRONE_CONTRIBUTION_PURCHASE]: LumiaEventListTypes.PURCHASES,
177
148
  [activity_types_1.LumiaAlertValues.THRONE_GIFT_CROWDFUNDED]: LumiaEventListTypes.PURCHASES,
@@ -376,17 +347,4 @@ exports.AlertsToFilter = [
376
347
  * before the event lands in the eventlist DB at all. Was duplicated in
377
348
  * LumiaStream `Integrations.types.ts` before being consolidated here.
378
349
  */
379
- exports.PlatformsToFilter = [
380
- 'obs',
381
- 'slobs',
382
- 'meld',
383
- 'paypal',
384
- 'pulsoid',
385
- 'hyperate',
386
- 'spotify',
387
- 'youtubemusic',
388
- 'nowplaying',
389
- 'vlc',
390
- 'streamerbot',
391
- 'vtubestudio',
392
- ];
350
+ exports.PlatformsToFilter = ['obs', 'slobs', 'meld', 'paypal', 'pulsoid', 'hyperate', 'spotify', 'youtubemusic', 'nowplaying', 'vlc', 'streamerbot', 'vtubestudio'];
@@ -76,6 +76,8 @@ export declare enum SystemVariables {
76
76
  TRANSLATE = "translate",
77
77
  /** Get the ai response from ai integration. Example: {{ai_prompt={{message}}}}. Use as {{ai_prompt}}. */
78
78
  AI_PROMPT = "ai_prompt",
79
+ /** Current weather for a location via wttr.in. Returns a one-line summary like */
80
+ WEATHER = "weather",
79
81
  /** Commands URL/page. Use in overlays as {{commands_url}}. */
80
82
  COMMANDS_URL = "commands_url",
81
83
  /** Session start time (ISO). Use as {{session_start_date}}. */
@@ -2,7 +2,7 @@
2
2
  // [AI] When SystemVariables is used, update custom-overlays.d.ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.AllVariables = exports.ReservedVariables = exports.SystemVariables = exports.getAcceptedVariableNames = exports.getAcceptedVariableName = void 0;
5
- const getAcceptedVariableName = (entry) => typeof entry === 'string' ? entry : entry.name;
5
+ const getAcceptedVariableName = (entry) => (typeof entry === 'string' ? entry : entry.name);
6
6
  exports.getAcceptedVariableName = getAcceptedVariableName;
7
7
  const getAcceptedVariableNames = (entries) => entries.map(exports.getAcceptedVariableName);
8
8
  exports.getAcceptedVariableNames = getAcceptedVariableNames;
@@ -78,6 +78,8 @@ var SystemVariables;
78
78
  SystemVariables["TRANSLATE"] = "translate";
79
79
  /** Get the ai response from ai integration. Example: {{ai_prompt={{message}}}}. Use as {{ai_prompt}}. */
80
80
  SystemVariables["AI_PROMPT"] = "ai_prompt";
81
+ /** Current weather for a location via wttr.in. Returns a one-line summary like */
82
+ SystemVariables["WEATHER"] = "weather";
81
83
  // ─────────────────────────────────── General Variables ───────────────────────
82
84
  /** Commands URL/page. Use in overlays as {{commands_url}}. */
83
85
  SystemVariables["COMMANDS_URL"] = "commands_url";
@@ -2104,7 +2106,21 @@ exports.AllVariables = {
2104
2106
  sessionFollowers: ['total', 'previousTotal'],
2105
2107
  subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2106
2108
  sessionSubs: ['total', 'previousTotal'],
2107
- subscriptionGift: ['username', 'avatar', 'tier', 'giftAmount', 'recipients', KICK_RECIPIENTS_RAW_EXAMPLE, 'gifter', 'totalGifts', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2109
+ subscriptionGift: [
2110
+ 'username',
2111
+ 'avatar',
2112
+ 'tier',
2113
+ 'giftAmount',
2114
+ 'recipients',
2115
+ KICK_RECIPIENTS_RAW_EXAMPLE,
2116
+ 'gifter',
2117
+ 'totalGifts',
2118
+ 'subMonths',
2119
+ 'streakMonths',
2120
+ 'message',
2121
+ 'subPlan',
2122
+ 'subPlanName',
2123
+ ],
2108
2124
  sessionGiftSubscriptions: ['total', 'previousTotal'],
2109
2125
  kicks: ['username', 'avatar', 'amount', 'name', 'type', 'tier', 'id', 'message'],
2110
2126
  sessionKicks: ['total', 'previousTotal'],
@@ -2303,7 +2319,11 @@ exports.AllVariables = {
2303
2319
  'battleId',
2304
2320
  'battleLabel',
2305
2321
  'creatorUsername',
2322
+ 'creatorDisplayname',
2323
+ 'creatorAvatar',
2306
2324
  'opponentUsername',
2325
+ 'opponentDisplayname',
2326
+ 'opponentAvatar',
2307
2327
  'creatorScore',
2308
2328
  'opponentScore',
2309
2329
  'giftId',
@@ -2448,7 +2468,21 @@ exports.AllVariables = {
2448
2468
  sessionFollowers: ['total', 'previousTotal'],
2449
2469
  subscriber: ['username', 'avatar', 'tier', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2450
2470
  sessionSubs: ['total', 'previousTotal'],
2451
- giftSubscription: ['username', 'avatar', 'tier', 'giftAmount', 'recipients', TWITCH_RECIPIENTS_RAW_EXAMPLE, 'gifter', 'totalGifts', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
2471
+ giftSubscription: [
2472
+ 'username',
2473
+ 'avatar',
2474
+ 'tier',
2475
+ 'giftAmount',
2476
+ 'recipients',
2477
+ TWITCH_RECIPIENTS_RAW_EXAMPLE,
2478
+ 'gifter',
2479
+ 'totalGifts',
2480
+ 'subMonths',
2481
+ 'streakMonths',
2482
+ 'message',
2483
+ 'subPlan',
2484
+ 'subPlanName',
2485
+ ],
2452
2486
  sessionGiftSubscriptions: ['total', 'previousTotal'],
2453
2487
  bits: ['username', 'avatar', 'amount', 'message'],
2454
2488
  bitsCombo: ['username', 'avatar', 'amount', 'bitsType', 'message'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",