@lumiastream/lumia-types 3.3.7 → 3.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1160,6 +1160,21 @@ export declare enum SystemVariables {
1160
1160
  SESSION_START_DATE = "session_start_date",
1161
1161
  /** Last overlay screenshot path. Use as {{last_overlay_screenshot_path}}. */
1162
1162
  LAST_OVERLAY_SCREENSHOT_PATH = "last_overlay_screenshot_path",
1163
+ /**
1164
+ * Streamer's display name. Platform-agnostic — resolves to the streamer's
1165
+ * username on whichever platform is currently connected, preferring the
1166
+ * primary platform when multiple are connected. Use as {{streamer}}.
1167
+ *
1168
+ * Resolution order in the renderer: twitch_username → kick_username →
1169
+ * youtube_username → facebook_username → tiktok_username, falling back to
1170
+ * '' when no platform is connected. Re-evaluated whenever any of those
1171
+ * underlying username variables changes.
1172
+ *
1173
+ * Useful for templates that want to say "{{streamer}}'s overlay" without
1174
+ * knowing which platform the streamer is on — and for SE imports which
1175
+ * use the same `{streamer}` token as a platform-agnostic placeholder.
1176
+ */
1177
+ STREAMER = "streamer",
1163
1178
  /** Last player to trigger a game. Use as {{game_last_player}}. */
1164
1179
  GAME_LAST_PLAYER = "game_last_player",
1165
1180
  /** Lumia app uptime. Use as {{lumia_uptime}}. */
@@ -1160,6 +1160,21 @@ export declare enum SystemVariables {
1160
1160
  SESSION_START_DATE = "session_start_date",
1161
1161
  /** Last overlay screenshot path. Use as {{last_overlay_screenshot_path}}. */
1162
1162
  LAST_OVERLAY_SCREENSHOT_PATH = "last_overlay_screenshot_path",
1163
+ /**
1164
+ * Streamer's display name. Platform-agnostic — resolves to the streamer's
1165
+ * username on whichever platform is currently connected, preferring the
1166
+ * primary platform when multiple are connected. Use as {{streamer}}.
1167
+ *
1168
+ * Resolution order in the renderer: twitch_username → kick_username →
1169
+ * youtube_username → facebook_username → tiktok_username, falling back to
1170
+ * '' when no platform is connected. Re-evaluated whenever any of those
1171
+ * underlying username variables changes.
1172
+ *
1173
+ * Useful for templates that want to say "{{streamer}}'s overlay" without
1174
+ * knowing which platform the streamer is on — and for SE imports which
1175
+ * use the same `{streamer}` token as a platform-agnostic placeholder.
1176
+ */
1177
+ STREAMER = "streamer",
1163
1178
  /** Last player to trigger a game. Use as {{game_last_player}}. */
1164
1179
  GAME_LAST_PLAYER = "game_last_player",
1165
1180
  /** Lumia app uptime. Use as {{lumia_uptime}}. */
@@ -80,6 +80,21 @@ export var SystemVariables;
80
80
  SystemVariables["SESSION_START_DATE"] = "session_start_date";
81
81
  /** Last overlay screenshot path. Use as {{last_overlay_screenshot_path}}. */
82
82
  SystemVariables["LAST_OVERLAY_SCREENSHOT_PATH"] = "last_overlay_screenshot_path";
83
+ /**
84
+ * Streamer's display name. Platform-agnostic — resolves to the streamer's
85
+ * username on whichever platform is currently connected, preferring the
86
+ * primary platform when multiple are connected. Use as {{streamer}}.
87
+ *
88
+ * Resolution order in the renderer: twitch_username → kick_username →
89
+ * youtube_username → facebook_username → tiktok_username, falling back to
90
+ * '' when no platform is connected. Re-evaluated whenever any of those
91
+ * underlying username variables changes.
92
+ *
93
+ * Useful for templates that want to say "{{streamer}}'s overlay" without
94
+ * knowing which platform the streamer is on — and for SE imports which
95
+ * use the same `{streamer}` token as a platform-agnostic placeholder.
96
+ */
97
+ SystemVariables["STREAMER"] = "streamer";
83
98
  // ─────────────────────────────────── Games ────────────────────────────────────
84
99
  /** Last player to trigger a game. Use as {{game_last_player}}. */
85
100
  SystemVariables["GAME_LAST_PLAYER"] = "game_last_player";
@@ -82,6 +82,21 @@ export declare enum SystemVariables {
82
82
  SESSION_START_DATE = "session_start_date",
83
83
  /** Last overlay screenshot path. Use as {{last_overlay_screenshot_path}}. */
84
84
  LAST_OVERLAY_SCREENSHOT_PATH = "last_overlay_screenshot_path",
85
+ /**
86
+ * Streamer's display name. Platform-agnostic — resolves to the streamer's
87
+ * username on whichever platform is currently connected, preferring the
88
+ * primary platform when multiple are connected. Use as {{streamer}}.
89
+ *
90
+ * Resolution order in the renderer: twitch_username → kick_username →
91
+ * youtube_username → facebook_username → tiktok_username, falling back to
92
+ * '' when no platform is connected. Re-evaluated whenever any of those
93
+ * underlying username variables changes.
94
+ *
95
+ * Useful for templates that want to say "{{streamer}}'s overlay" without
96
+ * knowing which platform the streamer is on — and for SE imports which
97
+ * use the same `{streamer}` token as a platform-agnostic placeholder.
98
+ */
99
+ STREAMER = "streamer",
85
100
  /** Last player to trigger a game. Use as {{game_last_player}}. */
86
101
  GAME_LAST_PLAYER = "game_last_player",
87
102
  /** Lumia app uptime. Use as {{lumia_uptime}}. */
@@ -85,6 +85,21 @@ var SystemVariables;
85
85
  SystemVariables["SESSION_START_DATE"] = "session_start_date";
86
86
  /** Last overlay screenshot path. Use as {{last_overlay_screenshot_path}}. */
87
87
  SystemVariables["LAST_OVERLAY_SCREENSHOT_PATH"] = "last_overlay_screenshot_path";
88
+ /**
89
+ * Streamer's display name. Platform-agnostic — resolves to the streamer's
90
+ * username on whichever platform is currently connected, preferring the
91
+ * primary platform when multiple are connected. Use as {{streamer}}.
92
+ *
93
+ * Resolution order in the renderer: twitch_username → kick_username →
94
+ * youtube_username → facebook_username → tiktok_username, falling back to
95
+ * '' when no platform is connected. Re-evaluated whenever any of those
96
+ * underlying username variables changes.
97
+ *
98
+ * Useful for templates that want to say "{{streamer}}'s overlay" without
99
+ * knowing which platform the streamer is on — and for SE imports which
100
+ * use the same `{streamer}` token as a platform-agnostic placeholder.
101
+ */
102
+ SystemVariables["STREAMER"] = "streamer";
88
103
  // ─────────────────────────────────── Games ────────────────────────────────────
89
104
  /** Last player to trigger a game. Use as {{game_last_player}}. */
90
105
  SystemVariables["GAME_LAST_PLAYER"] = "game_last_player";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.3.7",
3
+ "version": "3.3.8",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",