@lumiastream/lumia-types 3.8.3 → 3.8.4
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/activity.types.d.ts +2 -0
- package/dist/activity.types.js +2 -0
- package/dist/alert.types.js +53 -0
- package/dist/custom-overlays/custom-overlays.d.ts +1 -0
- package/dist/custom-overlays/gpt-instructions.md +6 -10
- package/dist/custom-overlays.d.ts +1 -0
- package/dist/esm/activity.types.js +2 -0
- package/dist/esm/alert.types.js +53 -0
- package/dist/esm/eventlist.types.js +1 -0
- package/dist/esm/variables.types.js +1 -0
- package/dist/eventlist.types.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/variables.types.d.ts +1 -0
- package/dist/variables.types.js +1 -0
- package/dist/wire.types.d.ts +18 -1
- package/package.json +1 -1
package/dist/activity.types.d.ts
CHANGED
|
@@ -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;
|
package/dist/activity.types.js
CHANGED
|
@@ -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',
|
package/dist/alert.types.js
CHANGED
|
@@ -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,
|
|
@@ -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
|
|
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.
|
|
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}}`
|
|
107
|
-
- Every
|
|
108
|
-
-
|
|
109
|
-
-
|
|
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',
|
package/dist/esm/alert.types.js
CHANGED
|
@@ -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: {
|
package/dist/eventlist.types.js
CHANGED
|
@@ -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';
|
package/dist/variables.types.js
CHANGED
|
@@ -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: {
|
package/dist/wire.types.d.ts
CHANGED
|
@@ -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>;
|