@crowbartools/firebot-types 5.67.0-alpha2 → 5.67.0-alpha20

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.
Files changed (954) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +26 -14
  3. package/backend/app-management/app-close-listener-manager.d.ts +11 -0
  4. package/backend/app-management/data-tasks.d.ts +1 -0
  5. package/backend/app-management/electron/app-helpers.d.ts +1 -0
  6. package/backend/app-management/electron/electron-events.d.ts +7 -0
  7. package/backend/app-management/electron/events/ipc-events.d.ts +1 -0
  8. package/backend/app-management/electron/events/open-file.d.ts +2 -0
  9. package/backend/app-management/electron/events/open-url.d.ts +2 -0
  10. package/backend/app-management/electron/events/second-instance.d.ts +2 -0
  11. package/backend/app-management/electron/events/when-ready.d.ts +1 -0
  12. package/backend/app-management/electron/events/will-quit.d.ts +2 -0
  13. package/backend/app-management/electron/events/windows-all-closed.d.ts +1 -0
  14. package/backend/app-management/electron/screen-helpers.d.ts +3 -0
  15. package/backend/app-management/electron/tray-creation.d.ts +2 -0
  16. package/backend/app-management/electron/windows/effect-queue-monitor-window.d.ts +3 -0
  17. package/backend/app-management/file-open-helpers.d.ts +3 -0
  18. package/backend/app-management/profile-tasks.d.ts +2 -0
  19. package/backend/app-management/squirrel-events.d.ts +1 -0
  20. package/backend/auth/auth-manager.d.ts +24 -0
  21. package/backend/auth/firebot-device-auth-provider.d.ts +18 -0
  22. package/backend/backup-manager.d.ts +32 -0
  23. package/backend/bonjour-manager.d.ts +11 -0
  24. package/backend/channel-rewards/channel-reward-manager.d.ts +30 -0
  25. package/backend/chat/active-user-handler.d.ts +55 -0
  26. package/backend/chat/chat-helpers.d.ts +21 -0
  27. package/backend/chat/commands/builtin/command-list.d.ts +9 -0
  28. package/backend/chat/commands/builtin/command-management.d.ts +5 -0
  29. package/backend/chat/commands/builtin/custom-role-management.d.ts +5 -0
  30. package/backend/chat/commands/builtin/follow-age.d.ts +7 -0
  31. package/backend/chat/commands/builtin/marker.d.ts +9 -0
  32. package/backend/chat/commands/builtin/quotes.d.ts +10 -0
  33. package/backend/chat/commands/builtin/spam-raid-protection.d.ts +16 -0
  34. package/backend/chat/commands/builtin/steam/steam-access.d.ts +16 -0
  35. package/backend/chat/commands/builtin/steam/steam.d.ts +8 -0
  36. package/backend/chat/commands/builtin/uptime.d.ts +7 -0
  37. package/backend/chat/commands/chat-command-handler.d.ts +17 -0
  38. package/backend/chat/commands/command-cooldown-manager.d.ts +32 -0
  39. package/backend/chat/commands/command-manager.d.ts +156 -0
  40. package/backend/chat/commands/command-runner.d.ts +14 -0
  41. package/backend/chat/commands/system-command-loader.d.ts +4 -0
  42. package/backend/chat/frontend-chat-helpers.d.ts +14 -0
  43. package/backend/chat/moderation/chat-moderation-manager.d.ts +44 -0
  44. package/backend/chat/moderation/raid-message-checker.d.ts +20 -0
  45. package/backend/chat/moderation/url-permit-command.d.ts +11 -0
  46. package/backend/chat/third-party/7tv.d.ts +29 -0
  47. package/backend/chat/third-party/bttv.d.ts +19 -0
  48. package/backend/chat/third-party/ffz.d.ts +19 -0
  49. package/backend/chat/third-party/third-party-emote-provider.d.ts +15 -0
  50. package/backend/chat/twitch-chat.d.ts +34 -0
  51. package/backend/cloud-sync/index.d.ts +9 -0
  52. package/backend/cloud-sync/sync-handlers/command-list.d.ts +3 -0
  53. package/backend/cloud-sync/sync-handlers/quotes-list.d.ts +3 -0
  54. package/backend/common/account-access.d.ts +47 -0
  55. package/backend/common/argv-parser.d.ts +3 -0
  56. package/backend/common/custom-variable-manager.d.ts +46 -0
  57. package/backend/common/data-access.d.ts +23 -0
  58. package/backend/common/debug-info.d.ts +1 -0
  59. package/backend/common/effect-abort-helpers.d.ts +10 -0
  60. package/backend/common/effect-run-mode-handler.d.ts +2 -0
  61. package/backend/common/frontend-communicator.d.ts +15 -0
  62. package/backend/common/handlers/dice-processor.d.ts +10 -0
  63. package/backend/common/handlers/js-sandbox/sandbox-eval.d.ts +2 -0
  64. package/backend/common/handlers/reddit-processor.d.ts +2 -0
  65. package/backend/common/handlers/sound-handler.d.ts +14 -0
  66. package/backend/common/handlers/twitch-clip-url-resolver.d.ts +5 -0
  67. package/backend/common/icon-manager.d.ts +8 -0
  68. package/backend/common/profile-manager.d.ts +22 -0
  69. package/backend/common/screenshot-helpers.d.ts +24 -0
  70. package/backend/common/settings-manager.d.ts +148 -0
  71. package/backend/control-deck/control-deck-manager.d.ts +13 -0
  72. package/backend/counters/counter-manager.d.ts +29 -0
  73. package/backend/crowbar-relay/crowbar-relay-websocket.d.ts +16 -0
  74. package/backend/currency/currency-access.d.ts +25 -0
  75. package/backend/currency/currency-command-manager.d.ts +29 -0
  76. package/backend/currency/currency-manager.d.ts +33 -0
  77. package/backend/database/json-db-manager.d.ts +44 -0
  78. package/backend/effects/builtin/active-user-lists.d.ts +6 -0
  79. package/backend/effects/builtin/activity-feed-alert.d.ts +6 -0
  80. package/backend/effects/builtin/add-quote.d.ts +7 -0
  81. package/backend/effects/builtin/chat-feed-alert.d.ts +6 -0
  82. package/backend/effects/builtin/chat-feed-custom-highlight.d.ts +9 -0
  83. package/backend/effects/builtin/chat-feed-message-hide.d.ts +5 -0
  84. package/backend/effects/builtin/chat.d.ts +9 -0
  85. package/backend/effects/builtin/clear-chat.d.ts +3 -0
  86. package/backend/effects/builtin/clear-effects.d.ts +11 -0
  87. package/backend/effects/builtin/comment.d.ts +5 -0
  88. package/backend/effects/builtin/conditional-effects/switch-statement.d.ts +18 -0
  89. package/backend/effects/builtin/copy-to-clipboard.d.ts +5 -0
  90. package/backend/effects/builtin/custom-variable.d.ts +9 -0
  91. package/backend/effects/builtin/delay.d.ts +5 -0
  92. package/backend/effects/builtin/delete-chat-message.d.ts +3 -0
  93. package/backend/effects/builtin/deprecated/random-effect.d.ts +9 -0
  94. package/backend/effects/builtin/deprecated/sequential-effect.d.ts +7 -0
  95. package/backend/effects/builtin/dice.d.ts +4 -0
  96. package/backend/effects/builtin/eval-js.d.ts +6 -0
  97. package/backend/effects/builtin/file-writer.d.ts +12 -0
  98. package/backend/effects/builtin/http-request.d.ts +23 -0
  99. package/backend/effects/builtin/log-message.d.ts +6 -0
  100. package/backend/effects/builtin/mark-all-activity-acknowledged.d.ts +3 -0
  101. package/backend/effects/builtin/moderator-ban.d.ts +7 -0
  102. package/backend/effects/builtin/moderator-mod.d.ts +6 -0
  103. package/backend/effects/builtin/moderator-purge.d.ts +5 -0
  104. package/backend/effects/builtin/moderator-timeout.d.ts +7 -0
  105. package/backend/effects/builtin/overlay-alert.d.ts +54 -0
  106. package/backend/effects/builtin/overlay-widgets/send-message-to-custom-widget.d.ts +7 -0
  107. package/backend/effects/builtin/overlay-widgets/set-custom-widget-state.d.ts +7 -0
  108. package/backend/effects/builtin/overlay-widgets/update-dynamic-countdown.d.ts +9 -0
  109. package/backend/effects/builtin/overlay-widgets/update-overlay-widget-settings.d.ts +11 -0
  110. package/backend/effects/builtin/overlay-widgets/update-progress-bar.d.ts +7 -0
  111. package/backend/effects/builtin/pause-resume-effect-queue.d.ts +7 -0
  112. package/backend/effects/builtin/play-sound.d.ts +21 -0
  113. package/backend/effects/builtin/random-reddit-image.d.ts +8 -0
  114. package/backend/effects/builtin/remove-user-metadata.d.ts +6 -0
  115. package/backend/effects/builtin/reset-timer.d.ts +5 -0
  116. package/backend/effects/builtin/retrigger-last-activity.d.ts +3 -0
  117. package/backend/effects/builtin/run-command.d.ts +13 -0
  118. package/backend/effects/builtin/run-program.d.ts +9 -0
  119. package/backend/effects/builtin/send-custom-websocket-event.d.ts +6 -0
  120. package/backend/effects/builtin/set-active-control-deck.d.ts +6 -0
  121. package/backend/effects/builtin/set-default-control-deck.d.ts +5 -0
  122. package/backend/effects/builtin/set-output.d.ts +9 -0
  123. package/backend/effects/builtin/set-user-metadata.d.ts +8 -0
  124. package/backend/effects/builtin/show-text.d.ts +45 -0
  125. package/backend/effects/builtin/show-toast.d.ts +8 -0
  126. package/backend/effects/builtin/stop-effect-execution.d.ts +9 -0
  127. package/backend/effects/builtin/sync-profile-data.d.ts +5 -0
  128. package/backend/effects/builtin/take-screenshot.d.ts +25 -0
  129. package/backend/effects/builtin/text-to-speech.d.ts +7 -0
  130. package/backend/effects/builtin/toggle-command.d.ts +8 -0
  131. package/backend/effects/builtin/toggle-connection.d.ts +11 -0
  132. package/backend/effects/builtin/toggle-event-set.d.ts +6 -0
  133. package/backend/effects/builtin/toggle-event.d.ts +7 -0
  134. package/backend/effects/builtin/toggle-overlay-widgets.d.ts +6 -0
  135. package/backend/effects/builtin/toggle-scheduled-task.d.ts +8 -0
  136. package/backend/effects/builtin/toggle-timer.d.ts +8 -0
  137. package/backend/effects/builtin/trigger-manual-effect-queue.d.ts +5 -0
  138. package/backend/effects/builtin/update-channel-reward.d.ts +25 -0
  139. package/backend/effects/builtin/update-counter.d.ts +7 -0
  140. package/backend/effects/builtin/update-role.d.ts +12 -0
  141. package/backend/effects/builtin/update-viewer-rank.d.ts +8 -0
  142. package/backend/effects/effect-helpers.d.ts +5 -0
  143. package/backend/effects/effect-manager.d.ts +70 -0
  144. package/backend/effects/preset-lists/preset-effect-list-manager.d.ts +8 -0
  145. package/backend/effects/queues/effect-queue-config-manager.d.ts +17 -0
  146. package/backend/effects/queues/effect-queue-runner.d.ts +27 -0
  147. package/backend/effects/queues/effect-queue.d.ts +27 -0
  148. package/backend/events/activity-feed-manager.d.ts +18 -0
  149. package/backend/events/builtin/firebot-event-source.d.ts +2 -0
  150. package/backend/events/builtin-event-source-loader.d.ts +1 -0
  151. package/backend/events/event-manager.d.ts +26 -0
  152. package/backend/events/events-access.d.ts +27 -0
  153. package/backend/events/filters/builtin/firebot/countdown-dynamic.d.ts +2 -0
  154. package/backend/events/filters/builtin/firebot/currency.d.ts +2 -0
  155. package/backend/events/filters/builtin/firebot/custom-variable-name.d.ts +2 -0
  156. package/backend/events/filters/builtin/firebot/custom-widget-message-name.d.ts +2 -0
  157. package/backend/events/filters/builtin/firebot/custom-widget.d.ts +2 -0
  158. package/backend/events/filters/builtin/firebot/effect-queue.d.ts +2 -0
  159. package/backend/events/filters/builtin/firebot/index.d.ts +2 -0
  160. package/backend/events/filters/builtin/firebot/metadata-key.d.ts +2 -0
  161. package/backend/events/filters/builtin/firebot/metadata-value.d.ts +2 -0
  162. package/backend/events/filters/builtin/firebot/new-currency-amount.d.ts +2 -0
  163. package/backend/events/filters/builtin/firebot/new-rank.d.ts +2 -0
  164. package/backend/events/filters/builtin/firebot/new-view-time.d.ts +2 -0
  165. package/backend/events/filters/builtin/firebot/previous-currency-amount.d.ts +2 -0
  166. package/backend/events/filters/builtin/firebot/previous-rank.d.ts +2 -0
  167. package/backend/events/filters/builtin/firebot/previous-view-time.d.ts +2 -0
  168. package/backend/events/filters/builtin/firebot/rank-ladder.d.ts +2 -0
  169. package/backend/events/filters/builtin/firebot/rank-transition-type.d.ts +2 -0
  170. package/backend/events/filters/builtin/firebot/triggered-command.d.ts +3 -0
  171. package/backend/events/filters/builtin/firebot/viewer-ranks.d.ts +3 -0
  172. package/backend/events/filters/builtin/firebot/viewer-roles.d.ts +3 -0
  173. package/backend/events/filters/builtin/firebot/webhook.d.ts +2 -0
  174. package/backend/events/filters/builtin/index.d.ts +2 -0
  175. package/backend/events/filters/builtin/third-party/donation-amount.d.ts +2 -0
  176. package/backend/events/filters/builtin/third-party/donation-from.d.ts +2 -0
  177. package/backend/events/filters/builtin/third-party/index.d.ts +2 -0
  178. package/backend/events/filters/builtin/twitch/bits-badge-tier.d.ts +2 -0
  179. package/backend/events/filters/builtin/twitch/channel-live.d.ts +3 -0
  180. package/backend/events/filters/builtin/twitch/chat-mode-duration.d.ts +2 -0
  181. package/backend/events/filters/builtin/twitch/chat-mode-setting.d.ts +2 -0
  182. package/backend/events/filters/builtin/twitch/chat-mode.d.ts +3 -0
  183. package/backend/events/filters/builtin/twitch/cheer-bits-amount.d.ts +2 -0
  184. package/backend/events/filters/builtin/twitch/gift-count.d.ts +2 -0
  185. package/backend/events/filters/builtin/twitch/gift-duration.d.ts +2 -0
  186. package/backend/events/filters/builtin/twitch/golden-kappa-train.d.ts +2 -0
  187. package/backend/events/filters/builtin/twitch/index.d.ts +2 -0
  188. package/backend/events/filters/builtin/twitch/is-anonymous.d.ts +2 -0
  189. package/backend/events/filters/builtin/twitch/lifetime-gift-count.d.ts +2 -0
  190. package/backend/events/filters/builtin/twitch/message.d.ts +2 -0
  191. package/backend/events/filters/builtin/twitch/power-up.d.ts +2 -0
  192. package/backend/events/filters/builtin/twitch/raid-viewer-count.d.ts +2 -0
  193. package/backend/events/filters/builtin/twitch/reward-name.d.ts +2 -0
  194. package/backend/events/filters/builtin/twitch/reward.d.ts +2 -0
  195. package/backend/events/filters/builtin/twitch/shared-chat.d.ts +2 -0
  196. package/backend/events/filters/builtin/twitch/shared-train.d.ts +2 -0
  197. package/backend/events/filters/builtin/twitch/stream-category.d.ts +2 -0
  198. package/backend/events/filters/builtin/twitch/sub-kind.d.ts +3 -0
  199. package/backend/events/filters/builtin/twitch/sub-months.d.ts +2 -0
  200. package/backend/events/filters/builtin/twitch/sub-type.d.ts +2 -0
  201. package/backend/events/filters/builtin/twitch/treasure-train.d.ts +2 -0
  202. package/backend/events/filters/builtin/twitch/username.d.ts +2 -0
  203. package/backend/events/filters/builtin/twitch/watch-streak-count.d.ts +2 -0
  204. package/backend/events/filters/builtin-filter-loader.d.ts +1 -0
  205. package/backend/events/filters/filter-factory.d.ts +17 -0
  206. package/backend/events/filters/filter-manager.d.ts +18 -0
  207. package/backend/font-manager.d.ts +28 -0
  208. package/backend/games/builtin/bid/bid-command.d.ts +9 -0
  209. package/backend/games/builtin/bid/bid.d.ts +3 -0
  210. package/backend/games/builtin/heist/heist-command.d.ts +3 -0
  211. package/backend/games/builtin/heist/heist-runner.d.ts +23 -0
  212. package/backend/games/builtin/heist/heist.d.ts +3 -0
  213. package/backend/games/builtin/slots/slot-machine.d.ts +5 -0
  214. package/backend/games/builtin/slots/slots.d.ts +3 -0
  215. package/backend/games/builtin/slots/spin-command.d.ts +9 -0
  216. package/backend/games/builtin/trivia/trivia-command.d.ts +9 -0
  217. package/backend/games/builtin/trivia/trivia-helper.d.ts +10 -0
  218. package/backend/games/builtin/trivia/trivia.d.ts +3 -0
  219. package/backend/games/builtin-game-loader.d.ts +5 -0
  220. package/backend/games/game-manager.d.ts +33 -0
  221. package/backend/hotkeys/hotkey-manager.d.ts +17 -0
  222. package/backend/import/import-manager.d.ts +16 -0
  223. package/backend/import/third-party/firebot-importer.d.ts +2 -0
  224. package/backend/import/third-party/mix-it-up-importer.d.ts +2 -0
  225. package/backend/import/third-party/streamlabs-chatbot-importer.d.ts +9 -0
  226. package/backend/integrations/builtin/extralife/extralife-poll.d.ts +32 -0
  227. package/backend/integrations/builtin/extralife/variables/extralife-donations.d.ts +3 -0
  228. package/backend/integrations/builtin/extralife/variables/extralife-incentives.d.ts +3 -0
  229. package/backend/integrations/builtin/extralife/variables/extralife-info.d.ts +3 -0
  230. package/backend/integrations/builtin/extralife/variables/extralife-milestones.d.ts +3 -0
  231. package/backend/integrations/builtin/obs/communicator.d.ts +2 -0
  232. package/backend/integrations/builtin/obs/constants.d.ts +32 -0
  233. package/backend/integrations/builtin/obs/effects/change-scene-collection.d.ts +4 -0
  234. package/backend/integrations/builtin/obs/effects/change-scene-effect-type.d.ts +4 -0
  235. package/backend/integrations/builtin/obs/effects/create-recording-chapter.d.ts +4 -0
  236. package/backend/integrations/builtin/obs/effects/save-replay-buffer.d.ts +2 -0
  237. package/backend/integrations/builtin/obs/effects/send-raw-obs-websocket-request.d.ts +5 -0
  238. package/backend/integrations/builtin/obs/effects/set-obs-browser-source-url.d.ts +5 -0
  239. package/backend/integrations/builtin/obs/effects/set-obs-color-source-color.d.ts +6 -0
  240. package/backend/integrations/builtin/obs/effects/set-obs-image-source-file.d.ts +5 -0
  241. package/backend/integrations/builtin/obs/effects/set-obs-media-source-file.d.ts +5 -0
  242. package/backend/integrations/builtin/obs/effects/set-obs-source-text.d.ts +7 -0
  243. package/backend/integrations/builtin/obs/effects/start-stream.d.ts +2 -0
  244. package/backend/integrations/builtin/obs/effects/start-virtual-cam.d.ts +2 -0
  245. package/backend/integrations/builtin/obs/effects/stop-stream.d.ts +2 -0
  246. package/backend/integrations/builtin/obs/effects/stop-virtual-cam.d.ts +2 -0
  247. package/backend/integrations/builtin/obs/effects/take-obs-source-screenshot.d.ts +26 -0
  248. package/backend/integrations/builtin/obs/effects/toggle-obs-source-filter.d.ts +11 -0
  249. package/backend/integrations/builtin/obs/effects/toggle-obs-source-muted.d.ts +10 -0
  250. package/backend/integrations/builtin/obs/effects/toggle-obs-source-visibility.d.ts +13 -0
  251. package/backend/integrations/builtin/obs/effects/transform-obs-source.d.ts +15 -0
  252. package/backend/integrations/builtin/obs/events/obs-event-source.d.ts +2 -0
  253. package/backend/integrations/builtin/obs/filters/group-name-filter.d.ts +3 -0
  254. package/backend/integrations/builtin/obs/filters/scene-name-filter.d.ts +3 -0
  255. package/backend/integrations/builtin/obs/obs-integration.d.ts +14 -0
  256. package/backend/integrations/builtin/obs/obs-remote.d.ts +114 -0
  257. package/backend/integrations/builtin/obs/variables/group-item-id.d.ts +2 -0
  258. package/backend/integrations/builtin/obs/variables/group-name.d.ts +2 -0
  259. package/backend/integrations/builtin/obs/variables/input-active.d.ts +2 -0
  260. package/backend/integrations/builtin/obs/variables/input-audio-balance.d.ts +2 -0
  261. package/backend/integrations/builtin/obs/variables/input-audio-monitor-type.d.ts +2 -0
  262. package/backend/integrations/builtin/obs/variables/input-audio-sync-offset.d.ts +2 -0
  263. package/backend/integrations/builtin/obs/variables/input-audio-tracks.d.ts +2 -0
  264. package/backend/integrations/builtin/obs/variables/input-kind.d.ts +2 -0
  265. package/backend/integrations/builtin/obs/variables/input-muted.d.ts +2 -0
  266. package/backend/integrations/builtin/obs/variables/input-name.d.ts +2 -0
  267. package/backend/integrations/builtin/obs/variables/input-settings.d.ts +2 -0
  268. package/backend/integrations/builtin/obs/variables/input-showing.d.ts +2 -0
  269. package/backend/integrations/builtin/obs/variables/input-uuid.d.ts +2 -0
  270. package/backend/integrations/builtin/obs/variables/input-volume-db.d.ts +2 -0
  271. package/backend/integrations/builtin/obs/variables/input-volume-multiplier.d.ts +2 -0
  272. package/backend/integrations/builtin/obs/variables/is-connected.d.ts +2 -0
  273. package/backend/integrations/builtin/obs/variables/is-recording.d.ts +2 -0
  274. package/backend/integrations/builtin/obs/variables/is-streaming.d.ts +2 -0
  275. package/backend/integrations/builtin/obs/variables/obs-color-value.d.ts +2 -0
  276. package/backend/integrations/builtin/obs/variables/old-input-name.d.ts +2 -0
  277. package/backend/integrations/builtin/obs/variables/profile-name.d.ts +2 -0
  278. package/backend/integrations/builtin/obs/variables/replay-buffer-path.d.ts +2 -0
  279. package/backend/integrations/builtin/obs/variables/scene-collection-name.d.ts +2 -0
  280. package/backend/integrations/builtin/obs/variables/scene-item-enabled.d.ts +2 -0
  281. package/backend/integrations/builtin/obs/variables/scene-item-id.d.ts +2 -0
  282. package/backend/integrations/builtin/obs/variables/scene-item-name.d.ts +2 -0
  283. package/backend/integrations/builtin/obs/variables/scene-name-variable.d.ts +2 -0
  284. package/backend/integrations/builtin/obs/variables/transition-duration.d.ts +2 -0
  285. package/backend/integrations/builtin/obs/variables/transition-name.d.ts +2 -0
  286. package/backend/integrations/builtin/obs/variables/vendor-event-data.d.ts +2 -0
  287. package/backend/integrations/builtin/obs/variables/vendor-event-type.d.ts +2 -0
  288. package/backend/integrations/builtin/obs/variables/vendor-name.d.ts +2 -0
  289. package/backend/integrations/builtin/philips-hue/effects/control-light.d.ts +4 -0
  290. package/backend/integrations/builtin/streamloots/filters/card-name.d.ts +2 -0
  291. package/backend/integrations/builtin/streamloots/filters/card-rarity.d.ts +2 -0
  292. package/backend/integrations/builtin/streamloots/filters/chest-gift.d.ts +3 -0
  293. package/backend/integrations/builtin/streamloots/filters/chest-quantity.d.ts +2 -0
  294. package/backend/logger-cache.d.ts +15 -0
  295. package/backend/logwrapper.d.ts +3 -0
  296. package/backend/notifications/notification-manager.d.ts +23 -0
  297. package/backend/overlay-widgets/builtin-types/chat/chat-advanced.d.ts +25 -0
  298. package/backend/overlay-widgets/builtin-types/chat/chat.d.ts +42 -0
  299. package/backend/overlay-widgets/builtin-types/countdown/countdown-dynamic.d.ts +17 -0
  300. package/backend/overlay-widgets/builtin-types/countdown/countdown-manager.d.ts +10 -0
  301. package/backend/overlay-widgets/builtin-types/countdown-to-date/countdown-to-date.d.ts +12 -0
  302. package/backend/overlay-widgets/builtin-types/counter-display/counter-display.d.ts +3 -0
  303. package/backend/overlay-widgets/builtin-types/current-date-time/current-date-time.d.ts +11 -0
  304. package/backend/overlay-widgets/builtin-types/custom/custom-advanced.d.ts +7 -0
  305. package/backend/overlay-widgets/builtin-types/custom/custom.d.ts +10 -0
  306. package/backend/overlay-widgets/builtin-types/image/image.d.ts +9 -0
  307. package/backend/overlay-widgets/builtin-types/index.d.ts +48 -0
  308. package/backend/overlay-widgets/builtin-types/progressbar/progressbar.d.ts +25 -0
  309. package/backend/overlay-widgets/builtin-types/text/text.d.ts +11 -0
  310. package/backend/overlay-widgets/builtin-widget-type-loader.d.ts +1 -0
  311. package/backend/overlay-widgets/overlay-widget-config-manager.d.ts +19 -0
  312. package/backend/overlay-widgets/overlay-widgets-manager.d.ts +36 -0
  313. package/backend/plugin-log-names.d.ts +3 -0
  314. package/backend/plugins/executors/legacy-effect-script-executor.d.ts +15 -0
  315. package/backend/plugins/executors/legacy-startup-script-executor.d.ts +15 -0
  316. package/backend/plugins/executors/plugin-executor.d.ts +18 -0
  317. package/backend/plugins/executors/plugin-executor.interface.d.ts +45 -0
  318. package/backend/plugins/plugin-api/context.d.ts +44 -0
  319. package/backend/plugins/plugin-api/index.d.ts +8 -0
  320. package/backend/plugins/plugin-api/internal/define-namespace.d.ts +3 -0
  321. package/backend/plugins/plugin-api/internal/dispose-bag.d.ts +13 -0
  322. package/backend/plugins/plugin-api/internal/name-normalizer.d.ts +5 -0
  323. package/backend/plugins/plugin-api/internal/plugin-data-dir.d.ts +1 -0
  324. package/backend/plugins/plugin-api/namespaces/effects.d.ts +2 -0
  325. package/backend/plugins/plugin-api/namespaces/event-filter-factory.d.ts +2 -0
  326. package/backend/plugins/plugin-api/namespaces/events.d.ts +2 -0
  327. package/backend/plugins/plugin-api/namespaces/frontend-communicator.d.ts +2 -0
  328. package/backend/plugins/plugin-api/namespaces/http-server.d.ts +2 -0
  329. package/backend/plugins/plugin-api/namespaces/logger.d.ts +2 -0
  330. package/backend/plugins/plugin-api/namespaces/notifications.d.ts +2 -0
  331. package/backend/plugins/plugin-api/namespaces/parameters.d.ts +2 -0
  332. package/backend/plugins/plugin-api/namespaces/plugins.d.ts +2 -0
  333. package/backend/plugins/plugin-api/namespaces/settings.d.ts +2 -0
  334. package/backend/plugins/plugin-api/namespaces/storage.d.ts +6 -0
  335. package/backend/plugins/plugin-api/namespaces/twitch.d.ts +2 -0
  336. package/backend/plugins/plugin-api/namespaces/variable-factory.d.ts +2 -0
  337. package/backend/plugins/plugin-api/namespaces/webhooks.d.ts +2 -0
  338. package/backend/plugins/plugin-config-manager.d.ts +12 -0
  339. package/backend/plugins/plugin-manager.d.ts +98 -0
  340. package/backend/plugins/plugin-manifest-utils.d.ts +8 -0
  341. package/backend/power-ups/power-ups-manager.d.ts +17 -0
  342. package/backend/pronouns/pronoun-manager.d.ts +16 -0
  343. package/backend/quick-actions/builtin/give-currency.d.ts +3 -0
  344. package/backend/quick-actions/builtin/open-reward-request-queue.d.ts +3 -0
  345. package/backend/quick-actions/builtin/stream-info.d.ts +3 -0
  346. package/backend/quick-actions/builtin/stream-preview.d.ts +3 -0
  347. package/backend/quick-actions/quick-action-manager.d.ts +16 -0
  348. package/backend/quotes/quote-manager.d.ts +41 -0
  349. package/backend/ranks/rank-command-manager.d.ts +20 -0
  350. package/backend/ranks/rank-ladder-helper.d.ts +23 -0
  351. package/backend/ranks/rank-manager.d.ts +12 -0
  352. package/backend/reconnecting-websocket/events.d.ts +40 -0
  353. package/backend/reconnecting-websocket/index.d.ts +139 -0
  354. package/backend/resource-token-manager.d.ts +13 -0
  355. package/backend/restrictions/builtin/active-chat-users.d.ts +3 -0
  356. package/backend/restrictions/builtin/channel-currency.d.ts +9 -0
  357. package/backend/restrictions/builtin/channel-game.d.ts +6 -0
  358. package/backend/restrictions/builtin/chat-messages.d.ts +5 -0
  359. package/backend/restrictions/builtin/custom-variable.d.ts +6 -0
  360. package/backend/restrictions/builtin/follow-check.d.ts +8 -0
  361. package/backend/restrictions/builtin/index.d.ts +2 -0
  362. package/backend/restrictions/builtin/limit-per-stream.d.ts +7 -0
  363. package/backend/restrictions/builtin/only-when-live.d.ts +3 -0
  364. package/backend/restrictions/builtin/permissions.d.ts +13 -0
  365. package/backend/restrictions/builtin/time-range.d.ts +8 -0
  366. package/backend/restrictions/builtin/view-time.d.ts +5 -0
  367. package/backend/restrictions/builtin/viewer-count.d.ts +7 -0
  368. package/backend/restrictions/builtin-restrictions-loader.d.ts +1 -0
  369. package/backend/restrictions/restriction-manager.d.ts +22 -0
  370. package/backend/roles/chat-roles-manager.d.ts +10 -0
  371. package/backend/roles/custom-roles-manager.d.ts +35 -0
  372. package/backend/roles/firebot-roles-manager.d.ts +7 -0
  373. package/backend/roles/role-helpers.d.ts +28 -0
  374. package/backend/roles/team-roles-manager.d.ts +10 -0
  375. package/backend/roles/twitch-roles-manager.d.ts +31 -0
  376. package/backend/secrets-manager.d.ts +17 -0
  377. package/backend/setups/setup-manager.d.ts +20 -0
  378. package/backend/sort-tags/sort-tag-manager.d.ts +17 -0
  379. package/backend/streaming-platforms/twitch/ad-manager.d.ts +18 -0
  380. package/backend/streaming-platforms/twitch/api/eventsub/custom-subscriptions/power-up-redemption-add-subscription.d.ts +30 -0
  381. package/backend/streaming-platforms/twitch/api/eventsub/eventsub-chat-helpers.d.ts +69 -0
  382. package/backend/streaming-platforms/twitch/api/eventsub/eventsub-client.d.ts +11 -0
  383. package/backend/streaming-platforms/twitch/api/eventsub/eventsub-helpers.d.ts +7 -0
  384. package/backend/streaming-platforms/twitch/api/index.d.ts +85 -0
  385. package/backend/streaming-platforms/twitch/api/resource/api-resource-base.d.ts +16 -0
  386. package/backend/streaming-platforms/twitch/api/resource/auth.d.ts +6 -0
  387. package/backend/streaming-platforms/twitch/api/resource/bits.d.ts +9 -0
  388. package/backend/streaming-platforms/twitch/api/resource/categories.d.ts +19 -0
  389. package/backend/streaming-platforms/twitch/api/resource/channel-rewards.d.ts +74 -0
  390. package/backend/streaming-platforms/twitch/api/resource/channels.d.ts +64 -0
  391. package/backend/streaming-platforms/twitch/api/resource/charity.d.ts +7 -0
  392. package/backend/streaming-platforms/twitch/api/resource/chat.d.ts +116 -0
  393. package/backend/streaming-platforms/twitch/api/resource/clips.d.ts +55 -0
  394. package/backend/streaming-platforms/twitch/api/resource/goals.d.ts +12 -0
  395. package/backend/streaming-platforms/twitch/api/resource/hypetrain.d.ts +10 -0
  396. package/backend/streaming-platforms/twitch/api/resource/moderation.d.ts +96 -0
  397. package/backend/streaming-platforms/twitch/api/resource/polls.d.ts +28 -0
  398. package/backend/streaming-platforms/twitch/api/resource/power-ups.d.ts +21 -0
  399. package/backend/streaming-platforms/twitch/api/resource/predictions.d.ts +39 -0
  400. package/backend/streaming-platforms/twitch/api/resource/streams.d.ts +12 -0
  401. package/backend/streaming-platforms/twitch/api/resource/subscriptions.d.ts +24 -0
  402. package/backend/streaming-platforms/twitch/api/resource/teams.d.ts +11 -0
  403. package/backend/streaming-platforms/twitch/api/resource/users.d.ts +20 -0
  404. package/backend/streaming-platforms/twitch/api/resource/videos.d.ts +12 -0
  405. package/backend/streaming-platforms/twitch/api/resource/whispers.d.ts +17 -0
  406. package/backend/streaming-platforms/twitch/api/user-context-api-client.d.ts +12 -0
  407. package/backend/streaming-platforms/twitch/auth/twitch-auth.d.ts +14 -0
  408. package/backend/streaming-platforms/twitch/auth/twitch-device-auth-provider.d.ts +97 -0
  409. package/backend/streaming-platforms/twitch/chat/shared-chat-cache.d.ts +13 -0
  410. package/backend/streaming-platforms/twitch/chat/slash-commands/channel-handlers.d.ts +4 -0
  411. package/backend/streaming-platforms/twitch/chat/slash-commands/chat-handlers.d.ts +19 -0
  412. package/backend/streaming-platforms/twitch/chat/slash-commands/moderation-handlers.d.ts +8 -0
  413. package/backend/streaming-platforms/twitch/chat/slash-commands/twitch-command-helpers.d.ts +4 -0
  414. package/backend/streaming-platforms/twitch/chat/twitch-slash-command-handler.d.ts +9 -0
  415. package/backend/streaming-platforms/twitch/chatter-poll.d.ts +12 -0
  416. package/backend/streaming-platforms/twitch/effects/ad-break.d.ts +5 -0
  417. package/backend/streaming-platforms/twitch/effects/announcement.d.ts +7 -0
  418. package/backend/streaming-platforms/twitch/effects/approve-reject-channel-reward-redemption.d.ts +9 -0
  419. package/backend/streaming-platforms/twitch/effects/block-unblock.d.ts +6 -0
  420. package/backend/streaming-platforms/twitch/effects/cancel-prediction.d.ts +3 -0
  421. package/backend/streaming-platforms/twitch/effects/create-poll.d.ts +9 -0
  422. package/backend/streaming-platforms/twitch/effects/create-prediction.d.ts +7 -0
  423. package/backend/streaming-platforms/twitch/effects/create-stream-marker.d.ts +5 -0
  424. package/backend/streaming-platforms/twitch/effects/end-poll.d.ts +5 -0
  425. package/backend/streaming-platforms/twitch/effects/lock-prediction.d.ts +3 -0
  426. package/backend/streaming-platforms/twitch/effects/raid.d.ts +6 -0
  427. package/backend/streaming-platforms/twitch/effects/resolve-prediction.d.ts +5 -0
  428. package/backend/streaming-platforms/twitch/effects/set-chat-mode.d.ts +16 -0
  429. package/backend/streaming-platforms/twitch/effects/shield-mode.d.ts +5 -0
  430. package/backend/streaming-platforms/twitch/effects/shoutout.d.ts +5 -0
  431. package/backend/streaming-platforms/twitch/effects/snooze-ad-break.d.ts +3 -0
  432. package/backend/streaming-platforms/twitch/effects/stream-game.d.ts +8 -0
  433. package/backend/streaming-platforms/twitch/effects/stream-title.d.ts +5 -0
  434. package/backend/streaming-platforms/twitch/effects/update-vip-role.d.ts +6 -0
  435. package/backend/streaming-platforms/twitch/events/ad.d.ts +2 -0
  436. package/backend/streaming-platforms/twitch/events/announcement.d.ts +1 -0
  437. package/backend/streaming-platforms/twitch/events/bits.d.ts +7 -0
  438. package/backend/streaming-platforms/twitch/events/charity.d.ts +4 -0
  439. package/backend/streaming-platforms/twitch/events/chat-message.d.ts +5 -0
  440. package/backend/streaming-platforms/twitch/events/chat-mode-changed.d.ts +1 -0
  441. package/backend/streaming-platforms/twitch/events/chat.d.ts +4 -0
  442. package/backend/streaming-platforms/twitch/events/follow.d.ts +1 -0
  443. package/backend/streaming-platforms/twitch/events/gift-sub.d.ts +3 -0
  444. package/backend/streaming-platforms/twitch/events/goal.d.ts +4 -0
  445. package/backend/streaming-platforms/twitch/events/hype-train.d.ts +4 -0
  446. package/backend/streaming-platforms/twitch/events/index.d.ts +50 -0
  447. package/backend/streaming-platforms/twitch/events/poll.d.ts +4 -0
  448. package/backend/streaming-platforms/twitch/events/prediction.d.ts +5 -0
  449. package/backend/streaming-platforms/twitch/events/raid.d.ts +4 -0
  450. package/backend/streaming-platforms/twitch/events/reward-redemption.d.ts +7 -0
  451. package/backend/streaming-platforms/twitch/events/shoutout.d.ts +2 -0
  452. package/backend/streaming-platforms/twitch/events/stream.d.ts +4 -0
  453. package/backend/streaming-platforms/twitch/events/sub.d.ts +2 -0
  454. package/backend/streaming-platforms/twitch/events/viewer-arrived.d.ts +2 -0
  455. package/backend/streaming-platforms/twitch/events/viewer-banned.d.ts +2 -0
  456. package/backend/streaming-platforms/twitch/events/viewer-timeout.d.ts +1 -0
  457. package/backend/streaming-platforms/twitch/events/watch-streak.d.ts +1 -0
  458. package/backend/streaming-platforms/twitch/events/whisper.d.ts +1 -0
  459. package/backend/streaming-platforms/twitch/stream-info-manager.d.ts +23 -0
  460. package/backend/streaming-platforms/twitch/variables/account-creation-date.d.ts +3 -0
  461. package/backend/streaming-platforms/twitch/variables/ads/ad-break-duration.d.ts +3 -0
  462. package/backend/streaming-platforms/twitch/variables/ads/index.d.ts +2 -0
  463. package/backend/streaming-platforms/twitch/variables/ads/is-ad-break-running.d.ts +3 -0
  464. package/backend/streaming-platforms/twitch/variables/ads/is-ad-break-scheduled.d.ts +3 -0
  465. package/backend/streaming-platforms/twitch/variables/ads/seconds-until-next-ad-break.d.ts +3 -0
  466. package/backend/streaming-platforms/twitch/variables/bits/bits-badge-tier.d.ts +3 -0
  467. package/backend/streaming-platforms/twitch/variables/bits/bits-badge-unlocked-message.d.ts +3 -0
  468. package/backend/streaming-platforms/twitch/variables/bits/bits-cheered.d.ts +3 -0
  469. package/backend/streaming-platforms/twitch/variables/bits/bits-leaderboard-raw.d.ts +3 -0
  470. package/backend/streaming-platforms/twitch/variables/bits/bits-leaderboard.d.ts +3 -0
  471. package/backend/streaming-platforms/twitch/variables/bits/bits-top-cheerers-raw.d.ts +3 -0
  472. package/backend/streaming-platforms/twitch/variables/bits/bits-top-cheerers.d.ts +3 -0
  473. package/backend/streaming-platforms/twitch/variables/bits/cheer-bits.d.ts +3 -0
  474. package/backend/streaming-platforms/twitch/variables/bits/cheer-message.d.ts +3 -0
  475. package/backend/streaming-platforms/twitch/variables/bits/cheer-total-bits.d.ts +3 -0
  476. package/backend/streaming-platforms/twitch/variables/bits/gigantified-emote-name.d.ts +3 -0
  477. package/backend/streaming-platforms/twitch/variables/bits/gigantified-emote-url.d.ts +3 -0
  478. package/backend/streaming-platforms/twitch/variables/bits/index.d.ts +2 -0
  479. package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-current-amount.d.ts +3 -0
  480. package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-description.d.ts +3 -0
  481. package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-target-amount.d.ts +3 -0
  482. package/backend/streaming-platforms/twitch/variables/channel-goal/channel-goal-type.d.ts +3 -0
  483. package/backend/streaming-platforms/twitch/variables/channel-goal/index.d.ts +2 -0
  484. package/backend/streaming-platforms/twitch/variables/charity/charity-campaign-goal.d.ts +3 -0
  485. package/backend/streaming-platforms/twitch/variables/charity/charity-campaign-total.d.ts +3 -0
  486. package/backend/streaming-platforms/twitch/variables/charity/charity-description.d.ts +3 -0
  487. package/backend/streaming-platforms/twitch/variables/charity/charity-logo.d.ts +3 -0
  488. package/backend/streaming-platforms/twitch/variables/charity/charity-name.d.ts +3 -0
  489. package/backend/streaming-platforms/twitch/variables/charity/charity-website.d.ts +3 -0
  490. package/backend/streaming-platforms/twitch/variables/charity/index.d.ts +2 -0
  491. package/backend/streaming-platforms/twitch/variables/chat/index.d.ts +2 -0
  492. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-animated-emote-urls.d.ts +3 -0
  493. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-emote-names.d.ts +3 -0
  494. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-emote-urls.d.ts +3 -0
  495. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-html.d.ts +3 -0
  496. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-id.d.ts +3 -0
  497. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message-text-only.d.ts +3 -0
  498. package/backend/streaming-platforms/twitch/variables/chat/message/chat-message.d.ts +3 -0
  499. package/backend/streaming-platforms/twitch/variables/chat/message/chat-user-color.d.ts +3 -0
  500. package/backend/streaming-platforms/twitch/variables/chat/message/index.d.ts +2 -0
  501. package/backend/streaming-platforms/twitch/variables/chat/message/is-whisper.d.ts +3 -0
  502. package/backend/streaming-platforms/twitch/variables/chat/message/whisper-message.d.ts +3 -0
  503. package/backend/streaming-platforms/twitch/variables/chat/message/whisper-recipient.d.ts +3 -0
  504. package/backend/streaming-platforms/twitch/variables/chat/mode/chat-mode-duration.d.ts +3 -0
  505. package/backend/streaming-platforms/twitch/variables/chat/mode/chat-mode-state.d.ts +3 -0
  506. package/backend/streaming-platforms/twitch/variables/chat/mode/chat-mode.d.ts +3 -0
  507. package/backend/streaming-platforms/twitch/variables/chat/mode/index.d.ts +2 -0
  508. package/backend/streaming-platforms/twitch/variables/chat/moderation/index.d.ts +2 -0
  509. package/backend/streaming-platforms/twitch/variables/chat/moderation/mod-reason.d.ts +3 -0
  510. package/backend/streaming-platforms/twitch/variables/chat/moderation/moderator.d.ts +3 -0
  511. package/backend/streaming-platforms/twitch/variables/chat/moderation/timeout-duration.d.ts +3 -0
  512. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/index.d.ts +2 -0
  513. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/is-shared-chat-enabled.d.ts +3 -0
  514. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/is-shared-chat-message.d.ts +3 -0
  515. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-participants.d.ts +3 -0
  516. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-avatar-url.d.ts +3 -0
  517. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-display-name.d.ts +3 -0
  518. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-user-id.d.ts +3 -0
  519. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-user.d.ts +3 -0
  520. package/backend/streaming-platforms/twitch/variables/chat/shared-chat/shared-chat-source-username.d.ts +3 -0
  521. package/backend/streaming-platforms/twitch/variables/chat/watch-streak/channel-points-awarded.d.ts +3 -0
  522. package/backend/streaming-platforms/twitch/variables/chat/watch-streak/index.d.ts +2 -0
  523. package/backend/streaming-platforms/twitch/variables/chat/watch-streak/streak-count.d.ts +3 -0
  524. package/backend/streaming-platforms/twitch/variables/chat/watch-streak/streak-message.d.ts +3 -0
  525. package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-amounts.d.ts +3 -0
  526. package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-animated-urls.d.ts +3 -0
  527. package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-colors.d.ts +3 -0
  528. package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-names.d.ts +3 -0
  529. package/backend/streaming-platforms/twitch/variables/cheermote/cheermote-urls.d.ts +3 -0
  530. package/backend/streaming-platforms/twitch/variables/cheermote/index.d.ts +2 -0
  531. package/backend/streaming-platforms/twitch/variables/clips/index.d.ts +2 -0
  532. package/backend/streaming-platforms/twitch/variables/clips/latest-clip-url.d.ts +3 -0
  533. package/backend/streaming-platforms/twitch/variables/clips/random-clip-url.d.ts +3 -0
  534. package/backend/streaming-platforms/twitch/variables/follow-age.d.ts +3 -0
  535. package/backend/streaming-platforms/twitch/variables/follow-count.d.ts +3 -0
  536. package/backend/streaming-platforms/twitch/variables/hype-train/golden-kappa-train.d.ts +3 -0
  537. package/backend/streaming-platforms/twitch/variables/hype-train/hype-train-level.d.ts +3 -0
  538. package/backend/streaming-platforms/twitch/variables/hype-train/hype-train-percent.d.ts +3 -0
  539. package/backend/streaming-platforms/twitch/variables/hype-train/hype-train-previous-level.d.ts +3 -0
  540. package/backend/streaming-platforms/twitch/variables/hype-train/index.d.ts +2 -0
  541. package/backend/streaming-platforms/twitch/variables/hype-train/shared-train.d.ts +3 -0
  542. package/backend/streaming-platforms/twitch/variables/hype-train/treasure-train.d.ts +3 -0
  543. package/backend/streaming-platforms/twitch/variables/index.d.ts +2 -0
  544. package/backend/streaming-platforms/twitch/variables/latest-follower.d.ts +3 -0
  545. package/backend/streaming-platforms/twitch/variables/polls/index.d.ts +2 -0
  546. package/backend/streaming-platforms/twitch/variables/polls/poll-choices.d.ts +3 -0
  547. package/backend/streaming-platforms/twitch/variables/polls/poll-title.d.ts +3 -0
  548. package/backend/streaming-platforms/twitch/variables/polls/poll-winning-choice-name.d.ts +3 -0
  549. package/backend/streaming-platforms/twitch/variables/polls/poll-winning-choice-votes.d.ts +3 -0
  550. package/backend/streaming-platforms/twitch/variables/power-ups/index.d.ts +2 -0
  551. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-cost.d.ts +3 -0
  552. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-description.d.ts +3 -0
  553. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-id.d.ts +3 -0
  554. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-image-url.d.ts +3 -0
  555. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-message.d.ts +3 -0
  556. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-name.d.ts +3 -0
  557. package/backend/streaming-platforms/twitch/variables/power-ups/power-up-redemption-id.d.ts +3 -0
  558. package/backend/streaming-platforms/twitch/variables/prediction-winning-outcome-name.d.ts +3 -0
  559. package/backend/streaming-platforms/twitch/variables/raid/index.d.ts +2 -0
  560. package/backend/streaming-platforms/twitch/variables/raid/raid-target-user-display-name.d.ts +3 -0
  561. package/backend/streaming-platforms/twitch/variables/raid/raid-target-user-id.d.ts +3 -0
  562. package/backend/streaming-platforms/twitch/variables/raid/raid-target-username.d.ts +3 -0
  563. package/backend/streaming-platforms/twitch/variables/raid/raid-viewer-count.d.ts +3 -0
  564. package/backend/streaming-platforms/twitch/variables/reward/index.d.ts +2 -0
  565. package/backend/streaming-platforms/twitch/variables/reward/reward-cost.d.ts +3 -0
  566. package/backend/streaming-platforms/twitch/variables/reward/reward-description.d.ts +3 -0
  567. package/backend/streaming-platforms/twitch/variables/reward/reward-id.d.ts +3 -0
  568. package/backend/streaming-platforms/twitch/variables/reward/reward-image-url.d.ts +3 -0
  569. package/backend/streaming-platforms/twitch/variables/reward/reward-message.d.ts +3 -0
  570. package/backend/streaming-platforms/twitch/variables/reward/reward-name.d.ts +3 -0
  571. package/backend/streaming-platforms/twitch/variables/reward/reward-redemption-id.d.ts +3 -0
  572. package/backend/streaming-platforms/twitch/variables/reward/unlocked-emote-name.d.ts +3 -0
  573. package/backend/streaming-platforms/twitch/variables/reward/unlocked-emote-url.d.ts +3 -0
  574. package/backend/streaming-platforms/twitch/variables/stream/category-image-url.d.ts +3 -0
  575. package/backend/streaming-platforms/twitch/variables/stream/category.d.ts +3 -0
  576. package/backend/streaming-platforms/twitch/variables/stream/current-viewer-count.d.ts +3 -0
  577. package/backend/streaming-platforms/twitch/variables/stream/index.d.ts +2 -0
  578. package/backend/streaming-platforms/twitch/variables/stream/is-channel-live.d.ts +3 -0
  579. package/backend/streaming-platforms/twitch/variables/stream/stream-title.d.ts +3 -0
  580. package/backend/streaming-platforms/twitch/variables/subs/gift-count.d.ts +3 -0
  581. package/backend/streaming-platforms/twitch/variables/subs/gift-duration.d.ts +3 -0
  582. package/backend/streaming-platforms/twitch/variables/subs/gift-giver-user.d.ts +3 -0
  583. package/backend/streaming-platforms/twitch/variables/subs/gift-receiver-user.d.ts +3 -0
  584. package/backend/streaming-platforms/twitch/variables/subs/gift-receivers-raw.d.ts +3 -0
  585. package/backend/streaming-platforms/twitch/variables/subs/gift-receivers.d.ts +3 -0
  586. package/backend/streaming-platforms/twitch/variables/subs/gift-sub-months.d.ts +3 -0
  587. package/backend/streaming-platforms/twitch/variables/subs/gift-sub-type.d.ts +3 -0
  588. package/backend/streaming-platforms/twitch/variables/subs/index.d.ts +2 -0
  589. package/backend/streaming-platforms/twitch/variables/subs/is-anonymous.d.ts +3 -0
  590. package/backend/streaming-platforms/twitch/variables/subs/lifetime-gift-count.d.ts +3 -0
  591. package/backend/streaming-platforms/twitch/variables/subs/sub-count.d.ts +3 -0
  592. package/backend/streaming-platforms/twitch/variables/subs/sub-message.d.ts +3 -0
  593. package/backend/streaming-platforms/twitch/variables/subs/sub-months.d.ts +3 -0
  594. package/backend/streaming-platforms/twitch/variables/subs/sub-points.d.ts +3 -0
  595. package/backend/streaming-platforms/twitch/variables/subs/sub-streak.d.ts +3 -0
  596. package/backend/streaming-platforms/twitch/variables/subs/sub-type.d.ts +3 -0
  597. package/backend/streaming-platforms/twitch/variables/subs/sub-users.d.ts +3 -0
  598. package/backend/streaming-platforms/twitch/variables/twitch-channel-url.d.ts +3 -0
  599. package/backend/streaming-platforms/twitch/variables/twitch-vod-url.d.ts +3 -0
  600. package/backend/streaming-platforms/twitch/variables/viewer-count.d.ts +3 -0
  601. package/backend/streaming-platforms/twitch/variables/vip.d.ts +3 -0
  602. package/backend/timers/scheduled-task-manager.d.ts +22 -0
  603. package/backend/timers/timer-manager.d.ts +20 -0
  604. package/backend/ui-extensions/ui-extension-manager.d.ts +11 -0
  605. package/backend/utils/arrays.d.ts +46 -0
  606. package/backend/utils/async.d.ts +5 -0
  607. package/backend/utils/binary.d.ts +6 -0
  608. package/backend/utils/capitalize.d.ts +5 -0
  609. package/backend/utils/commafy.d.ts +6 -0
  610. package/backend/utils/date-time.d.ts +27 -0
  611. package/backend/utils/empty-folder.d.ts +5 -0
  612. package/backend/utils/escape-reg-exp.d.ts +5 -0
  613. package/backend/utils/get-random-int.d.ts +6 -0
  614. package/backend/utils/index.d.ts +16 -0
  615. package/backend/utils/is-valid-uuid.d.ts +6 -0
  616. package/backend/utils/mask-pii.d.ts +13 -0
  617. package/backend/utils/objects.d.ts +37 -0
  618. package/backend/utils/pick.d.ts +5 -0
  619. package/backend/utils/stringify.d.ts +5 -0
  620. package/backend/utils/trigger-data.d.ts +8 -0
  621. package/backend/utils/url.d.ts +6 -0
  622. package/backend/variables/builtin/accounts/bot.d.ts +3 -0
  623. package/backend/variables/builtin/accounts/index.d.ts +2 -0
  624. package/backend/variables/builtin/accounts/streamer.d.ts +3 -0
  625. package/backend/variables/builtin/array/array-add.d.ts +3 -0
  626. package/backend/variables/builtin/array/array-element.d.ts +3 -0
  627. package/backend/variables/builtin/array/array-filter.d.ts +3 -0
  628. package/backend/variables/builtin/array/array-find-index.d.ts +3 -0
  629. package/backend/variables/builtin/array/array-find-with-null.d.ts +3 -0
  630. package/backend/variables/builtin/array/array-find.d.ts +3 -0
  631. package/backend/variables/builtin/array/array-from.d.ts +3 -0
  632. package/backend/variables/builtin/array/array-fuzzy-search.d.ts +3 -0
  633. package/backend/variables/builtin/array/array-join.d.ts +3 -0
  634. package/backend/variables/builtin/array/array-length.d.ts +3 -0
  635. package/backend/variables/builtin/array/array-random-item.d.ts +3 -0
  636. package/backend/variables/builtin/array/array-remove.d.ts +3 -0
  637. package/backend/variables/builtin/array/array-reverse.d.ts +3 -0
  638. package/backend/variables/builtin/array/array-shuffle.d.ts +3 -0
  639. package/backend/variables/builtin/array/array-slice.d.ts +3 -0
  640. package/backend/variables/builtin/array/index.d.ts +2 -0
  641. package/backend/variables/builtin/array/raw-array-add.d.ts +3 -0
  642. package/backend/variables/builtin/array/raw-array-element.d.ts +3 -0
  643. package/backend/variables/builtin/array/raw-array-filter.d.ts +3 -0
  644. package/backend/variables/builtin/array/raw-array-find-index.d.ts +3 -0
  645. package/backend/variables/builtin/array/raw-array-find.d.ts +3 -0
  646. package/backend/variables/builtin/array/raw-array-from.d.ts +3 -0
  647. package/backend/variables/builtin/array/raw-array-join.d.ts +3 -0
  648. package/backend/variables/builtin/array/raw-array-length.d.ts +3 -0
  649. package/backend/variables/builtin/array/raw-array-remove.d.ts +3 -0
  650. package/backend/variables/builtin/array/raw-array-reverse.d.ts +3 -0
  651. package/backend/variables/builtin/array/raw-array-shuffle.d.ts +3 -0
  652. package/backend/variables/builtin/counter/counter-change.d.ts +3 -0
  653. package/backend/variables/builtin/counter/counter-maximum.d.ts +3 -0
  654. package/backend/variables/builtin/counter/counter-minimum.d.ts +3 -0
  655. package/backend/variables/builtin/counter/counter-name.d.ts +3 -0
  656. package/backend/variables/builtin/counter/counter-new-value.d.ts +3 -0
  657. package/backend/variables/builtin/counter/counter-previous-value.d.ts +3 -0
  658. package/backend/variables/builtin/counter/counter.d.ts +3 -0
  659. package/backend/variables/builtin/counter/index.d.ts +2 -0
  660. package/backend/variables/builtin/currency/currency-name.d.ts +2 -0
  661. package/backend/variables/builtin/currency/currency-rank.d.ts +3 -0
  662. package/backend/variables/builtin/currency/currency.d.ts +3 -0
  663. package/backend/variables/builtin/currency/index.d.ts +2 -0
  664. package/backend/variables/builtin/currency/new-currency-amount.d.ts +2 -0
  665. package/backend/variables/builtin/currency/previous-currency-amount.d.ts +2 -0
  666. package/backend/variables/builtin/currency/top-currency-raw.d.ts +3 -0
  667. package/backend/variables/builtin/currency/top-currency-user.d.ts +3 -0
  668. package/backend/variables/builtin/currency/top-currency.d.ts +3 -0
  669. package/backend/variables/builtin/custom-vars/custom-variable-created-data.d.ts +3 -0
  670. package/backend/variables/builtin/custom-vars/custom-variable-created-name.d.ts +3 -0
  671. package/backend/variables/builtin/custom-vars/custom-variable-expired-data.d.ts +3 -0
  672. package/backend/variables/builtin/custom-vars/custom-variable-expired-name.d.ts +3 -0
  673. package/backend/variables/builtin/custom-vars/custom-variable-keys-raw.d.ts +3 -0
  674. package/backend/variables/builtin/custom-vars/custom-variable-keys.d.ts +3 -0
  675. package/backend/variables/builtin/custom-vars/custom-variable-raw.d.ts +3 -0
  676. package/backend/variables/builtin/custom-vars/custom-variable.d.ts +3 -0
  677. package/backend/variables/builtin/custom-vars/index.d.ts +2 -0
  678. package/backend/variables/builtin/donation/donation-amount-formatted.d.ts +3 -0
  679. package/backend/variables/builtin/donation/donation-amount.d.ts +3 -0
  680. package/backend/variables/builtin/donation/donation-from.d.ts +3 -0
  681. package/backend/variables/builtin/donation/donation-message.d.ts +3 -0
  682. package/backend/variables/builtin/donation/index.d.ts +2 -0
  683. package/backend/variables/builtin/index.d.ts +2 -0
  684. package/backend/variables/builtin/macro/index.d.ts +2 -0
  685. package/backend/variables/builtin/macro/macro-arg.d.ts +3 -0
  686. package/backend/variables/builtin/macro/macro.d.ts +3 -0
  687. package/backend/variables/builtin/metadata/arg-array-raw.d.ts +3 -0
  688. package/backend/variables/builtin/metadata/arg-array.d.ts +3 -0
  689. package/backend/variables/builtin/metadata/arg-count.d.ts +3 -0
  690. package/backend/variables/builtin/metadata/arg.d.ts +3 -0
  691. package/backend/variables/builtin/metadata/command-trigger.d.ts +3 -0
  692. package/backend/variables/builtin/metadata/control-deck-input.d.ts +3 -0
  693. package/backend/variables/builtin/metadata/count.d.ts +3 -0
  694. package/backend/variables/builtin/metadata/effect-output.d.ts +3 -0
  695. package/backend/variables/builtin/metadata/effect-queue-id.d.ts +3 -0
  696. package/backend/variables/builtin/metadata/effect-queue-length.d.ts +3 -0
  697. package/backend/variables/builtin/metadata/effect-queue-name.d.ts +3 -0
  698. package/backend/variables/builtin/metadata/effect-queue-status.d.ts +3 -0
  699. package/backend/variables/builtin/metadata/event-data.d.ts +3 -0
  700. package/backend/variables/builtin/metadata/index.d.ts +2 -0
  701. package/backend/variables/builtin/metadata/overlay-instance.d.ts +3 -0
  702. package/backend/variables/builtin/metadata/preset-list-arg.d.ts +3 -0
  703. package/backend/variables/builtin/metadata/scan-whole-message.d.ts +3 -0
  704. package/backend/variables/builtin/metadata/target.d.ts +6 -0
  705. package/backend/variables/builtin/metadata/top-metadata-raw.d.ts +3 -0
  706. package/backend/variables/builtin/metadata/top-metadata-user.d.ts +3 -0
  707. package/backend/variables/builtin/metadata/top-metadata.d.ts +3 -0
  708. package/backend/variables/builtin/metadata/user.d.ts +3 -0
  709. package/backend/variables/builtin/metadata/username.d.ts +3 -0
  710. package/backend/variables/builtin/metadata/webhook-header.d.ts +3 -0
  711. package/backend/variables/builtin/metadata/webhook-headers.d.ts +2 -0
  712. package/backend/variables/builtin/metadata/webhook-id.d.ts +2 -0
  713. package/backend/variables/builtin/metadata/webhook-name.d.ts +2 -0
  714. package/backend/variables/builtin/metadata/webhook-payload.d.ts +2 -0
  715. package/backend/variables/builtin/metadata/webhook-raw-payload.d.ts +2 -0
  716. package/backend/variables/builtin/misc/active-chat-user-count.d.ts +3 -0
  717. package/backend/variables/builtin/misc/chat-user-count.d.ts +3 -0
  718. package/backend/variables/builtin/misc/color.d.ts +3 -0
  719. package/backend/variables/builtin/misc/date.d.ts +3 -0
  720. package/backend/variables/builtin/misc/discord-timestamp.d.ts +3 -0
  721. package/backend/variables/builtin/misc/index.d.ts +2 -0
  722. package/backend/variables/builtin/misc/profile-page-bytebin-token.d.ts +3 -0
  723. package/backend/variables/builtin/misc/quote-as-object.d.ts +3 -0
  724. package/backend/variables/builtin/misc/quote-as-raw-object.d.ts +3 -0
  725. package/backend/variables/builtin/misc/quote.d.ts +3 -0
  726. package/backend/variables/builtin/misc/random-advice.d.ts +3 -0
  727. package/backend/variables/builtin/misc/random-dad-joke.d.ts +3 -0
  728. package/backend/variables/builtin/misc/random-reddit-image.d.ts +3 -0
  729. package/backend/variables/builtin/misc/roll-dice.d.ts +3 -0
  730. package/backend/variables/builtin/misc/time.d.ts +3 -0
  731. package/backend/variables/builtin/misc/top-view-time-raw.d.ts +3 -0
  732. package/backend/variables/builtin/misc/top-view-time.d.ts +3 -0
  733. package/backend/variables/builtin/misc/unix-timestamp.d.ts +3 -0
  734. package/backend/variables/builtin/misc/uptime.d.ts +3 -0
  735. package/backend/variables/builtin/number/ensure-number.d.ts +3 -0
  736. package/backend/variables/builtin/number/index.d.ts +2 -0
  737. package/backend/variables/builtin/number/math.d.ts +3 -0
  738. package/backend/variables/builtin/number/number-ceil.d.ts +3 -0
  739. package/backend/variables/builtin/number/number-commafy.d.ts +3 -0
  740. package/backend/variables/builtin/number/number-floor.d.ts +3 -0
  741. package/backend/variables/builtin/number/number-max.d.ts +3 -0
  742. package/backend/variables/builtin/number/number-min.d.ts +3 -0
  743. package/backend/variables/builtin/number/number-pad.d.ts +3 -0
  744. package/backend/variables/builtin/number/number-random.d.ts +3 -0
  745. package/backend/variables/builtin/number/number-round.d.ts +3 -0
  746. package/backend/variables/builtin/number/ordinal-indicator.d.ts +3 -0
  747. package/backend/variables/builtin/object/index.d.ts +2 -0
  748. package/backend/variables/builtin/object/object-keys.d.ts +3 -0
  749. package/backend/variables/builtin/object/object-set-property-raw.d.ts +3 -0
  750. package/backend/variables/builtin/object/object-set-property.d.ts +3 -0
  751. package/backend/variables/builtin/object/object-walk-path-raw.d.ts +3 -0
  752. package/backend/variables/builtin/object/object-walk-path.d.ts +3 -0
  753. package/backend/variables/builtin/operand/false.d.ts +3 -0
  754. package/backend/variables/builtin/operand/index.d.ts +2 -0
  755. package/backend/variables/builtin/operand/null.d.ts +3 -0
  756. package/backend/variables/builtin/operand/true.d.ts +3 -0
  757. package/backend/variables/builtin/overlay-widgets/custom-widget-id.d.ts +2 -0
  758. package/backend/variables/builtin/overlay-widgets/custom-widget-message-data.d.ts +2 -0
  759. package/backend/variables/builtin/overlay-widgets/custom-widget-message-name.d.ts +2 -0
  760. package/backend/variables/builtin/overlay-widgets/custom-widget-name.d.ts +2 -0
  761. package/backend/variables/builtin/overlay-widgets/dynamic-countdown-id.d.ts +2 -0
  762. package/backend/variables/builtin/overlay-widgets/dynamic-countdown-name.d.ts +2 -0
  763. package/backend/variables/builtin/overlay-widgets/index.d.ts +2 -0
  764. package/backend/variables/builtin/overlay-widgets/overlay-widget-state.d.ts +3 -0
  765. package/backend/variables/builtin/spoofed/all.d.ts +3 -0
  766. package/backend/variables/builtin/spoofed/and.d.ts +3 -0
  767. package/backend/variables/builtin/spoofed/any.d.ts +3 -0
  768. package/backend/variables/builtin/spoofed/custom-variable-shorthand.d.ts +3 -0
  769. package/backend/variables/builtin/spoofed/effect-output-shorthand.d.ts +3 -0
  770. package/backend/variables/builtin/spoofed/if.d.ts +3 -0
  771. package/backend/variables/builtin/spoofed/index.d.ts +2 -0
  772. package/backend/variables/builtin/spoofed/nall.d.ts +3 -0
  773. package/backend/variables/builtin/spoofed/nand.d.ts +3 -0
  774. package/backend/variables/builtin/spoofed/nany.d.ts +3 -0
  775. package/backend/variables/builtin/spoofed/nor.d.ts +3 -0
  776. package/backend/variables/builtin/spoofed/not.d.ts +3 -0
  777. package/backend/variables/builtin/spoofed/or.d.ts +3 -0
  778. package/backend/variables/builtin/spoofed/preset-list-args-shorthand.d.ts +3 -0
  779. package/backend/variables/builtin/text/atob.d.ts +3 -0
  780. package/backend/variables/builtin/text/base64-decode.d.ts +3 -0
  781. package/backend/variables/builtin/text/base64-encode.d.ts +3 -0
  782. package/backend/variables/builtin/text/btoa.d.ts +3 -0
  783. package/backend/variables/builtin/text/index.d.ts +2 -0
  784. package/backend/variables/builtin/text/regex-exec.d.ts +3 -0
  785. package/backend/variables/builtin/text/regex-matches-raw.d.ts +3 -0
  786. package/backend/variables/builtin/text/regex-matches.d.ts +3 -0
  787. package/backend/variables/builtin/text/regex-test.d.ts +3 -0
  788. package/backend/variables/builtin/text/sprintf.d.ts +3 -0
  789. package/backend/variables/builtin/text/text-capitalize.d.ts +3 -0
  790. package/backend/variables/builtin/text/text-concat.d.ts +3 -0
  791. package/backend/variables/builtin/text/text-contains.d.ts +3 -0
  792. package/backend/variables/builtin/text/text-decode-from-html.d.ts +3 -0
  793. package/backend/variables/builtin/text/text-decode-from-url.d.ts +3 -0
  794. package/backend/variables/builtin/text/text-encode-for-html.d.ts +3 -0
  795. package/backend/variables/builtin/text/text-encode-for-url.d.ts +3 -0
  796. package/backend/variables/builtin/text/text-length.d.ts +3 -0
  797. package/backend/variables/builtin/text/text-lowercase.d.ts +3 -0
  798. package/backend/variables/builtin/text/text-pad-end.d.ts +3 -0
  799. package/backend/variables/builtin/text/text-pad-start.d.ts +3 -0
  800. package/backend/variables/builtin/text/text-replace.d.ts +3 -0
  801. package/backend/variables/builtin/text/text-scramble.d.ts +3 -0
  802. package/backend/variables/builtin/text/text-split-raw.d.ts +3 -0
  803. package/backend/variables/builtin/text/text-split.d.ts +3 -0
  804. package/backend/variables/builtin/text/text-substring.d.ts +3 -0
  805. package/backend/variables/builtin/text/text-trim-end.d.ts +3 -0
  806. package/backend/variables/builtin/text/text-trim-start.d.ts +3 -0
  807. package/backend/variables/builtin/text/text-trim.d.ts +3 -0
  808. package/backend/variables/builtin/text/text-uppercase.d.ts +3 -0
  809. package/backend/variables/builtin/text/text-word.d.ts +3 -0
  810. package/backend/variables/builtin/user/chat-messages.d.ts +3 -0
  811. package/backend/variables/builtin/user/index.d.ts +2 -0
  812. package/backend/variables/builtin/user/is-user-in-chat.d.ts +3 -0
  813. package/backend/variables/builtin/user/join-date.d.ts +3 -0
  814. package/backend/variables/builtin/user/last-seen.d.ts +3 -0
  815. package/backend/variables/builtin/user/metadata-key.d.ts +2 -0
  816. package/backend/variables/builtin/user/metadata-value.d.ts +2 -0
  817. package/backend/variables/builtin/user/pronouns.d.ts +3 -0
  818. package/backend/variables/builtin/user/random-active-viewer.d.ts +3 -0
  819. package/backend/variables/builtin/user/random-viewer.d.ts +3 -0
  820. package/backend/variables/builtin/user/ranks/index.d.ts +2 -0
  821. package/backend/variables/builtin/user/ranks/is-demotion.d.ts +2 -0
  822. package/backend/variables/builtin/user/ranks/is-promotion.d.ts +2 -0
  823. package/backend/variables/builtin/user/ranks/new-rank.d.ts +2 -0
  824. package/backend/variables/builtin/user/ranks/previous-rank.d.ts +2 -0
  825. package/backend/variables/builtin/user/ranks/rank-ladder-mode.d.ts +3 -0
  826. package/backend/variables/builtin/user/ranks/rank-ladder.d.ts +2 -0
  827. package/backend/variables/builtin/user/ranks/rank-value-description.d.ts +3 -0
  828. package/backend/variables/builtin/user/ranks/rank-value.d.ts +3 -0
  829. package/backend/variables/builtin/user/ranks/viewer-has-rank.d.ts +3 -0
  830. package/backend/variables/builtin/user/ranks/viewer-names-in-rank.d.ts +3 -0
  831. package/backend/variables/builtin/user/ranks/viewer-next-rank.d.ts +3 -0
  832. package/backend/variables/builtin/user/ranks/viewer-rank.d.ts +3 -0
  833. package/backend/variables/builtin/user/ranks/viewers-in-rank-array.d.ts +3 -0
  834. package/backend/variables/builtin/user/roles/custom-role-user-count.d.ts +3 -0
  835. package/backend/variables/builtin/user/roles/custom-role-users-raw.d.ts +3 -0
  836. package/backend/variables/builtin/user/roles/custom-role-users.d.ts +3 -0
  837. package/backend/variables/builtin/user/roles/has-role.d.ts +3 -0
  838. package/backend/variables/builtin/user/roles/has-roles.d.ts +3 -0
  839. package/backend/variables/builtin/user/roles/index.d.ts +2 -0
  840. package/backend/variables/builtin/user/roles/random-custom-role-user-raw.d.ts +3 -0
  841. package/backend/variables/builtin/user/roles/random-custom-role-user.d.ts +3 -0
  842. package/backend/variables/builtin/user/roles/user-roles-raw.d.ts +3 -0
  843. package/backend/variables/builtin/user/roles/user-roles.d.ts +3 -0
  844. package/backend/variables/builtin/user/user-avatar-url.d.ts +3 -0
  845. package/backend/variables/builtin/user/user-badge-urls.d.ts +3 -0
  846. package/backend/variables/builtin/user/user-bio.d.ts +3 -0
  847. package/backend/variables/builtin/user/user-display-name.d.ts +3 -0
  848. package/backend/variables/builtin/user/user-exists.d.ts +3 -0
  849. package/backend/variables/builtin/user/user-id-name.d.ts +3 -0
  850. package/backend/variables/builtin/user/user-id.d.ts +3 -0
  851. package/backend/variables/builtin/user/user-is-banned.d.ts +3 -0
  852. package/backend/variables/builtin/user/user-is-timed-out.d.ts +3 -0
  853. package/backend/variables/builtin/user/user-metadata-raw.d.ts +3 -0
  854. package/backend/variables/builtin/user/user-metadata.d.ts +3 -0
  855. package/backend/variables/builtin/user/username-array-raw.d.ts +3 -0
  856. package/backend/variables/builtin/user/username-array.d.ts +3 -0
  857. package/backend/variables/builtin/user/view-time.d.ts +3 -0
  858. package/backend/variables/builtin/utility/allow-html.d.ts +3 -0
  859. package/backend/variables/builtin/utility/api-read-raw.d.ts +3 -0
  860. package/backend/variables/builtin/utility/api-read.d.ts +3 -0
  861. package/backend/variables/builtin/utility/audio-duration.d.ts +3 -0
  862. package/backend/variables/builtin/utility/convert-from-json.d.ts +3 -0
  863. package/backend/variables/builtin/utility/convert-to-json.d.ts +3 -0
  864. package/backend/variables/builtin/utility/eval-js.d.ts +3 -0
  865. package/backend/variables/builtin/utility/eval-vars.d.ts +3 -0
  866. package/backend/variables/builtin/utility/file-exists.d.ts +3 -0
  867. package/backend/variables/builtin/utility/file-line-count.d.ts +3 -0
  868. package/backend/variables/builtin/utility/file-name.d.ts +3 -0
  869. package/backend/variables/builtin/utility/file-read.d.ts +3 -0
  870. package/backend/variables/builtin/utility/files-in-directory.d.ts +3 -0
  871. package/backend/variables/builtin/utility/format-duration.d.ts +3 -0
  872. package/backend/variables/builtin/utility/index.d.ts +2 -0
  873. package/backend/variables/builtin/utility/loop-count.d.ts +3 -0
  874. package/backend/variables/builtin/utility/loop-item.d.ts +3 -0
  875. package/backend/variables/builtin/utility/overlay-resources-path.d.ts +3 -0
  876. package/backend/variables/builtin/utility/quick-store.d.ts +3 -0
  877. package/backend/variables/builtin/utility/random-uuid.d.ts +3 -0
  878. package/backend/variables/builtin/utility/run-effect.d.ts +3 -0
  879. package/backend/variables/builtin/utility/video-duration.d.ts +3 -0
  880. package/backend/variables/macro-manager.d.ts +10 -0
  881. package/backend/variables/replace-variable-manager.d.ts +45 -0
  882. package/backend/variables/variable-factory.d.ts +2 -0
  883. package/backend/variables/variable-loader.d.ts +1 -0
  884. package/backend/viewers/viewer-database.d.ts +87 -0
  885. package/backend/viewers/viewer-export-manager.d.ts +17 -0
  886. package/backend/viewers/viewer-metadata-manager.d.ts +18 -0
  887. package/backend/viewers/viewer-online-status-manager.d.ts +26 -0
  888. package/backend/webhooks/webhook-config-manager.d.ts +26 -0
  889. package/index.d.ts +3 -3
  890. package/package.json +10 -3
  891. package/server/http-server-manager.d.ts +70 -0
  892. package/server/websocket-client.d.ts +5 -0
  893. package/server/websocket-events-handler.d.ts +1 -0
  894. package/server/websocket-server-manager.d.ts +22 -0
  895. package/types/accounts.d.ts +1 -2
  896. package/types/auth.d.ts +1 -10
  897. package/types/channel-rewards.d.ts +1 -5
  898. package/types/chat.d.ts +9 -31
  899. package/types/commands.d.ts +11 -31
  900. package/types/control-deck.d.ts +146 -0
  901. package/types/counters.d.ts +1 -2
  902. package/types/currency.d.ts +1 -3
  903. package/types/discord.d.ts +2 -3
  904. package/types/effects.d.ts +19 -42
  905. package/types/events.d.ts +14 -37
  906. package/types/expressionish.d.ts +2 -22
  907. package/types/games.d.ts +1 -4
  908. package/types/hotkeys.d.ts +1 -3
  909. package/types/http-server.d.ts +19 -0
  910. package/types/icons.d.ts +1 -1
  911. package/types/import.d.ts +7 -34
  912. package/types/index.d.ts +6 -1
  913. package/types/integrations.d.ts +41 -65
  914. package/types/moderation.d.ts +1 -8
  915. package/types/modules/event-manager.d.ts +2 -10
  916. package/types/modules/frontend-communicator.d.ts +5 -21
  917. package/types/modules/index.d.ts +1 -1
  918. package/types/notifications.d.ts +28 -0
  919. package/types/overlay-widgets.d.ts +11 -34
  920. package/types/parameters.d.ts +26 -182
  921. package/types/plugin-api.d.ts +188 -0
  922. package/types/plugins.d.ts +113 -116
  923. package/types/power-ups.d.ts +0 -2
  924. package/types/pronouns.d.ts +1 -2
  925. package/types/quick-actions.d.ts +1 -3
  926. package/types/quotes.d.ts +1 -3
  927. package/types/ranks.d.ts +1 -2
  928. package/types/restrictions.d.ts +7 -24
  929. package/types/roles.d.ts +1 -3
  930. package/types/settings.d.ts +5 -4
  931. package/types/setups.d.ts +2 -4
  932. package/types/sort-tags.d.ts +1 -1
  933. package/types/timers.d.ts +1 -5
  934. package/types/triggers.d.ts +12 -23
  935. package/types/ui/angular.d.ts +5 -26
  936. package/types/ui/effect-helper-service.d.ts +1 -2
  937. package/types/ui/effect-queues-service.d.ts +8 -4
  938. package/types/ui/firebot-root-scope.d.ts +0 -1
  939. package/types/ui/index.d.ts +1 -1
  940. package/types/ui/modal-factory.d.ts +5 -13
  941. package/types/ui/modal-service.d.ts +3 -2
  942. package/types/ui/ng-toast.d.ts +5 -1
  943. package/types/ui/object-copy-helper.d.ts +1 -1
  944. package/types/ui/platform-service.d.ts +1 -1
  945. package/types/ui/preset-effect-lists-service.d.ts +1 -6
  946. package/types/ui/settings-service.d.ts +0 -1
  947. package/types/ui-extensions.d.ts +96 -0
  948. package/types/util-types.d.ts +7 -33
  949. package/types/variable-macros.d.ts +1 -1
  950. package/types/variables.d.ts +24 -19
  951. package/types/viewers.d.ts +1 -3
  952. package/types/webhooks.d.ts +16 -1
  953. package/types/websocket.d.ts +9 -47
  954. package/types/script-api.d.ts +0 -95
@@ -1,18 +1,20 @@
1
- import { EffectInstance, EffectList, EffectType } from "./effects";
2
- import { Trigger } from "./triggers";
3
- import { Awaitable } from "./util-types";
4
- import { ReplaceVariable } from "./variables";
5
- import { EventFilter, EventSource } from "./events";
6
- import { SystemCommand } from "./commands";
7
- import { RestrictionType } from "./restrictions";
8
- import { FirebotParams, FirebotParameterArray } from "./parameters";
9
- import { FirebotGame } from "./games";
10
- import { Integration } from "./integrations";
11
-
1
+ import type { EffectType, PluginAdditionalEffectEvents } from "./effects";
2
+ import type { Trigger } from "./triggers";
3
+ import type { Awaitable } from "./util-types";
4
+ import type { PluginAdditionalVariableEvents, ReplaceVariable } from "./variables";
5
+ import type { EventFilter, EventSource } from "./events";
6
+ import type { SystemCommand } from "./commands";
7
+ import type { RestrictionType } from "./restrictions";
8
+ import type { FirebotParams, FirebotParameterArray } from "./parameters";
9
+ import type { FirebotGame } from "./games";
10
+ import type { Integration } from "./integrations";
11
+ import type { UIExtension } from "./ui-extensions";
12
+ import type { OverlayWidgetType } from "./overlay-widgets";
13
+ import type { PluginHttpRouteDefinition } from "./http-server";
14
+ import type { CustomWebSocketHandler } from "./websocket";
15
+ import type { PluginWebhooks } from "./webhooks";
12
16
  type NoResult = Awaitable<void>;
13
-
14
17
  type GenericParameters = Record<string, unknown>;
15
-
16
18
  export type InstalledPluginConfig<Params extends GenericParameters = GenericParameters> = {
17
19
  id: string;
18
20
  fileName: string;
@@ -20,140 +22,140 @@ export type InstalledPluginConfig<Params extends GenericParameters = GenericPara
20
22
  legacyImport?: boolean;
21
23
  parameters: Params;
22
24
  };
23
-
24
- export type ScriptContext<Params extends FirebotParams = FirebotParams> = {
25
+ export type PluginContext<Params extends FirebotParams = FirebotParams> = {
25
26
  trigger?: Trigger;
26
27
  parameters: Params;
27
28
  };
28
-
29
- type DynamicArray<T> = Array<T | ((context: ScriptContext) => Awaitable<T>)>;
30
-
31
- export type ScriptType = "script" | "plugin";
32
-
29
+ type DynamicObject<T> = T | ((context: PluginContext) => Awaitable<T>);
30
+ type DynamicArray<T> = Array<T | ((context: PluginContext) => Awaitable<T>)>;
31
+ export type PluginType = "script" | "plugin";
33
32
  interface ManifestDescription {
34
33
  short: string;
35
34
  long?: string;
36
35
  }
37
-
38
36
  interface ManifestFirebotVersion {
39
37
  major: number;
40
38
  minor?: number;
41
39
  patch?: number;
42
40
  }
43
-
41
+ type FontAwesomeIcon = {
42
+ type: "font-awesome";
43
+ /**
44
+ * A FontAwesome icon name shown in the UI (eg. "fa-cogs").
45
+ */
46
+ name: `fa-${string}`;
47
+ /**
48
+ * A css color value (eg. "#FF0000") used for the icon.
49
+ */
50
+ color?: string;
51
+ };
52
+ type CustomIcon = {
53
+ type: "custom";
54
+ url: string;
55
+ /**
56
+ * A css color value (eg. "#FF0000") used for the background of the icon.
57
+ */
58
+ backgroundColor?: string;
59
+ };
60
+ export type PluginIcon = FontAwesomeIcon | CustomIcon;
44
61
  export interface Manifest {
45
62
  name: string;
46
63
  version: string;
47
64
  author: string;
48
65
  description: string | ManifestDescription;
49
-
50
- keywords?: string[];
51
-
66
+ /**
67
+ * An array of strings that describe or categorize your plugin
68
+ */
69
+ tags?: string[];
70
+ /**
71
+ * A link to the plugin's source code repository
72
+ */
52
73
  repo?: string;
53
-
54
- // Note: autofilled if repo is assumed github and not specified
74
+ /**
75
+ * A link to the plugin's website
76
+ * If the repo is on GitHub and the website is not specified, it will default to the GitHub repo URL.
77
+ */
55
78
  website?: string;
56
- report?: string;
57
- source?: string;
58
-
79
+ /**
80
+ * A link to the plugin's issue tracker or support server (e.g. Discord).
81
+ * If the repo is on GitHub and support is not specified, it will default to the GitHub issues URL.
82
+ */
83
+ support?: string;
59
84
  minimumFirebotVersion?: ManifestFirebotVersion;
60
85
  maximumFirebotVersion?: ManifestFirebotVersion;
61
-
62
- icon?: `fa-${string}`;
63
- color?: string;
64
-
65
- type: ScriptType;
86
+ /**
87
+ * The icon to be displayed for the plugin.
88
+ */
89
+ icon?: PluginIcon;
90
+ /**
91
+ * If true, the plugin will be initialized before parameters are shown to the user,
92
+ * allowing the plugin to provide custom parameter types that can be used in its own parametersSchema.
93
+ */
94
+ initBeforeShowingParams?: boolean;
66
95
  }
67
-
68
- type EffectScriptResult = {
69
- success: boolean;
70
- errorMessage?: string;
71
- effects?: EffectList | Array<EffectInstance>;
72
- onEffectsDone?: () => Awaitable<void>;
73
- };
74
-
75
-
76
- export interface ScriptBase<Params extends FirebotParams = FirebotParams> {
96
+ export interface PluginBase<Params extends FirebotParams = FirebotParams> {
77
97
  manifest: Manifest;
78
-
79
98
  parametersSchema?: FirebotParameterArray<Params>;
80
-
81
- // if uninstalled is true, the script is being removed by the user, thus the script should remove related data files/assets
82
- // otherwise the script should assume firebot is closing or the script is being reloaded
83
- onUnload?: (context: ScriptContext<Params>, isUninstalling?: boolean) => NoResult;
84
- }
85
-
86
- // Supplants the "Run Script" effect script functionality
87
- export interface EffectScript<Params extends FirebotParams = FirebotParams> extends ScriptBase<Params> {
88
- run: (context: ScriptContext<Params>) => Awaitable<void | EffectScriptResult>;
89
99
  }
90
-
91
- // Supplants the "Start up" script functionality
92
- export interface Plugin<Params extends FirebotParams = FirebotParams> extends ScriptBase<Params> {
93
- // Note: At least one is required: onLoad or registers.*
94
- // if not met, the script will not be loaded and it should be logged the script does nothing
95
-
96
- // Automatically handles registration with appropriate managers for definitions
97
- // when the script is unloaded, definitions will automagically be unregistered
100
+ export interface Plugin<Params extends FirebotParams = FirebotParams> extends PluginBase<Params> {
101
+ /**
102
+ * Automatically handles registration with appropriate managers for definitions
103
+ * when the plugin is unloaded, definitions will automagically be unregistered.
104
+ *
105
+ * Array entries can be direct definitions or functions that return definitions
106
+ * (or promises of definitions) for dynamic registration based on context (e.g. parameter values).
107
+ */
98
108
  registers?: {
99
-
100
- // If value within array is a function, call said function to get definition
101
- // If definition is or evaluates to promise, await promise
102
- effects?: DynamicArray<EffectType>;
109
+ effects?: DynamicArray<EffectType<any, any>>;
103
110
  eventSources?: DynamicArray<EventSource>;
104
111
  variables?: DynamicArray<ReplaceVariable>;
105
- // endpoints?: DynamicArray<HttpEndpoint>;
106
- integrations?: DynamicArray<Integration>;
112
+ integrations?: DynamicArray<Integration<any>>;
107
113
  filters?: DynamicArray<EventFilter>;
108
- restrictions?: DynamicArray<RestrictionType>;
109
- systemCommands?: DynamicArray<SystemCommand>;
114
+ restrictions?: DynamicArray<RestrictionType<any>>;
115
+ systemCommands?: DynamicArray<SystemCommand<any>>;
110
116
  games?: DynamicArray<FirebotGame>;
117
+ uiExtensions?: DynamicArray<UIExtension>;
118
+ overlayWidgets?: DynamicArray<OverlayWidgetType<any, any>>;
119
+ httpRoutes?: DynamicObject<PluginHttpRouteDefinition>;
120
+ websocketListener?: DynamicObject<CustomWebSocketHandler>;
121
+ webhooks?: DynamicObject<PluginWebhooks>;
122
+ additionalEffectEvents?: DynamicArray<PluginAdditionalEffectEvents>;
123
+ additionalVariableEvents?: DynamicArray<PluginAdditionalVariableEvents>;
111
124
  };
112
-
113
- // Called when the script is loaded
114
- onLoad?: (context: ScriptContext<Params>, isInstalling?: boolean) => NoResult;
115
-
116
- // Called when firebot is closing or plugin is disabled / removed
117
- onUnload?: (context: ScriptContext<Params>, isUninstalling?: boolean) => NoResult;
118
-
119
- // called when the user updates plugin-specific parameters
120
- onParameterUpdate?: (context: ScriptContext<Params>) => NoResult;
125
+ /** Called when the plugin is loaded */
126
+ onLoad?: (context: PluginContext<Params>, isInstalling?: boolean) => NoResult;
127
+ /** Called when Firebot is closing or plugin is disabled / removed */
128
+ onUnload?: (context: PluginContext<Params>, isUninstalling?: boolean) => NoResult;
129
+ /** Called when the user updates plugin-specific parameters */
130
+ onParameterUpdate?: (context: PluginContext<Params>) => NoResult;
121
131
  }
122
-
123
- export type ScriptDetails = Pick<ScriptBase, "manifest" | "parametersSchema">;
124
-
132
+ export type PluginDetails = Pick<PluginBase, "manifest" | "parametersSchema">;
125
133
  export type InstalledPlugin = {
126
134
  config: InstalledPluginConfig;
127
- details: ScriptDetails;
135
+ details: PluginDetails;
128
136
  };
129
-
130
- /* Legacy types */
131
-
132
- type LegacyScriptParameters = Record<
133
- string,
134
- {
135
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
136
- type: any;
137
- title?: string;
138
- description?: string;
139
- secondaryDescription?: string;
140
- tip?: string;
141
- showBottomHr?: boolean;
142
- validation?: {
143
- required?: boolean;
144
- };
145
- value?: unknown;
146
- default?: unknown;
147
- }
148
- >;
149
-
137
+ type LegacyScriptParameters = Record<string, {
138
+ type: any;
139
+ title?: string;
140
+ description?: string;
141
+ secondaryDescription?: string;
142
+ tip?: string;
143
+ showBottomHr?: boolean;
144
+ validation?: {
145
+ required?: boolean;
146
+ };
147
+ value?: unknown;
148
+ default?: unknown;
149
+ }>;
150
150
  export type LegacyScriptReturnObject = {
151
151
  success: boolean;
152
152
  errorMessage?: string;
153
- effects: unknown[] | { id: string, list: unknown[] };
153
+ effects: unknown[] | {
154
+ id: string;
155
+ list: unknown[];
156
+ };
154
157
  callback?: VoidFunction;
155
158
  };
156
-
157
159
  type LegacyRunRequest = {
158
160
  parameters: Record<string, unknown>;
159
161
  modules: Record<string, unknown>;
@@ -169,7 +171,6 @@ type LegacyRunRequest = {
169
171
  };
170
172
  trigger: Trigger;
171
173
  };
172
-
173
174
  type LegacyCustomScriptManifest = {
174
175
  name: string;
175
176
  description: string;
@@ -177,25 +178,21 @@ type LegacyCustomScriptManifest = {
177
178
  author: string;
178
179
  website?: string;
179
180
  startupOnly?: boolean;
181
+ initBeforeShowingParams?: boolean;
180
182
  firebotVersion?: "5";
181
183
  };
182
-
183
184
  export type LegacyScriptData = {
184
185
  id: string;
185
186
  name: string;
186
187
  scriptName: string;
187
188
  parameters: LegacyScriptParameters;
188
189
  };
189
-
190
190
  export type LegacyCustomScript = {
191
191
  getScriptManifest(): Awaitable<LegacyCustomScriptManifest>;
192
192
  getDefaultParameters?: () => LegacyScriptParameters;
193
- run(
194
- runRequest: LegacyRunRequest
195
- ): Awaitable<void | LegacyScriptReturnObject>;
193
+ run(runRequest: LegacyRunRequest): Awaitable<void | LegacyScriptReturnObject>;
196
194
  parametersUpdated?: (parameters: Record<string, unknown>) => Awaitable<void>;
197
195
  stop?: () => Awaitable<void>;
198
196
  };
199
-
200
- export type FirebotScriptApi = import("./script-api").FirebotScriptApi;
201
- export type { ScriptLoggerApi, ScriptWebhooksApi, ScriptWebhook, ScriptWebhookEvent } from "./script-api";
197
+ export type FirebotPluginApi = import("./plugin-api").FirebotPluginApi;
198
+ export type { PluginLoggerApi as PluginLoggerApi, PluginWebhooksApi as PluginWebhooksApi } from "./plugin-api";
@@ -1,13 +1,11 @@
1
1
  import type { CustomPowerUp } from "../backend/streaming-platforms/twitch/api/resource/power-ups";
2
2
  import type { EffectList } from "./effects";
3
-
4
3
  export type SavedPowerUp = {
5
4
  id: string;
6
5
  twitchData: CustomPowerUp;
7
6
  effects?: EffectList;
8
7
  sortTags?: string[];
9
8
  };
10
-
11
9
  export type PowerUpRedemptionMetadata = {
12
10
  username: string;
13
11
  userId: string;
@@ -4,8 +4,7 @@ export type Pronoun = {
4
4
  object: string;
5
5
  singular: boolean;
6
6
  };
7
-
8
7
  export type UserPronoun = {
9
8
  primary: string;
10
9
  secondary?: string;
11
- };
10
+ };
@@ -1,6 +1,5 @@
1
1
  import type { EffectList } from "./effects";
2
2
  import type { Awaitable } from "./util-types";
3
-
4
3
  export type QuickActionDefinition = {
5
4
  id: string;
6
5
  name: string;
@@ -11,8 +10,7 @@ export type QuickActionDefinition = {
11
10
  promptForArgs?: boolean;
12
11
  effectList?: EffectList;
13
12
  };
14
-
15
13
  export type SystemQuickAction = {
16
14
  definition: QuickActionDefinition;
17
15
  onTriggerEvent(): Awaitable<void>;
18
- };
16
+ };
package/types/quotes.d.ts CHANGED
@@ -2,7 +2,6 @@ export type QuoteAutoid = {
2
2
  _id: "__autoid__";
3
3
  seq: number;
4
4
  };
5
-
6
5
  export type Quote = {
7
6
  _id?: number;
8
7
  createdAt?: string;
@@ -11,7 +10,6 @@ export type Quote = {
11
10
  originator: string;
12
11
  text: string;
13
12
  };
14
-
15
13
  export type FormattedQuote = Omit<Quote, "_id"> & {
16
14
  id: number;
17
- };
15
+ };
package/types/ranks.d.ts CHANGED
@@ -3,7 +3,6 @@ export type Rank = {
3
3
  name: string;
4
4
  value?: number;
5
5
  };
6
-
7
6
  export type RankLadder = {
8
7
  id: string;
9
8
  name: string;
@@ -20,4 +19,4 @@ export type RankLadder = {
20
19
  showBadgeInChat?: boolean;
21
20
  };
22
21
  ranks: Rank[];
23
- };
22
+ };
@@ -1,15 +1,13 @@
1
+ import type ng from "angular";
1
2
  import type { Trigger, TriggerType, TriggersObject } from "./triggers";
2
3
  import type { Awaitable } from "./util-types";
3
-
4
4
  interface RestrictionScope<RestrictionModel> extends ng.IScope {
5
5
  restriction: Restriction<RestrictionModel>;
6
6
  restrictionDefinition: RestrictionType<RestrictionModel>;
7
7
  restrictionMode: RestrictionMode;
8
8
  [x: string]: any;
9
9
  }
10
-
11
10
  export type RestrictionMode = "all" | "any" | "none";
12
-
13
11
  export type RestrictionType<RestrictionModel = unknown> = {
14
12
  definition: {
15
13
  id: string;
@@ -19,26 +17,11 @@ export type RestrictionType<RestrictionModel = unknown> = {
19
17
  };
20
18
  failedReasonWhenInverted?: string;
21
19
  optionsTemplate: string;
22
- optionsController?: (
23
- $scope: RestrictionScope<RestrictionModel>,
24
- ...args: any[]
25
- ) => void;
26
- optionsValueDisplay?: (
27
- restriction: RestrictionModel,
28
- ...args: any[]
29
- ) => string;
30
- predicate(
31
- triggerData: Trigger,
32
- restrictionData: RestrictionModel,
33
- inherited?: boolean
34
- ): Awaitable<boolean>;
35
- onSuccessful?: (
36
- triggerData: Trigger,
37
- restrictionData: RestrictionModel,
38
- inherited?: boolean
39
- ) => Awaitable<void>;
20
+ optionsController?: ($scope: RestrictionScope<RestrictionModel>, ...args: any[]) => void;
21
+ optionsValueDisplay?: (restriction: RestrictionModel, ...args: any[]) => string;
22
+ predicate(triggerData: Trigger, restrictionData: RestrictionModel, inherited?: boolean): Awaitable<boolean>;
23
+ onSuccessful?: (triggerData: Trigger, restrictionData: RestrictionModel, inherited?: boolean) => Awaitable<void>;
40
24
  };
41
-
42
25
  export type Restriction<RestrictionModel = unknown> = {
43
26
  id: string;
44
27
  type: string;
@@ -47,7 +30,6 @@ export type Restriction<RestrictionModel = unknown> = {
47
30
  } & {
48
31
  [x: string]: unknown;
49
32
  };
50
-
51
33
  export type RestrictionData = {
52
34
  /**
53
35
  * Sets the command to only trigger when all/any/none of the restrictions pass.
@@ -62,4 +44,5 @@ export type RestrictionData = {
62
44
  restrictions: Restriction[];
63
45
  sendAsReply?: boolean;
64
46
  invertCondition?: boolean;
65
- };
47
+ };
48
+ export {};
package/types/roles.d.ts CHANGED
@@ -2,7 +2,6 @@ export interface FirebotRole {
2
2
  id: string;
3
3
  name: string;
4
4
  }
5
-
6
5
  export type CustomRole = {
7
6
  id: string;
8
7
  name: string;
@@ -13,9 +12,8 @@ export type CustomRole = {
13
12
  }>;
14
13
  showBadgeInChat?: boolean;
15
14
  };
16
-
17
15
  export type LegacyCustomRole = {
18
16
  id: string;
19
17
  name: string;
20
18
  viewers: string[];
21
- };
19
+ };
@@ -57,6 +57,10 @@ export type FirebotSettingsTypes = {
57
57
  ClearChatFeedMode: "never" | "onlyStreamer" | "always";
58
58
  ClearCustomScriptCache: boolean;
59
59
  ConnectOnLaunch: boolean;
60
+ ControlDeckEnabled: boolean;
61
+ ControlDeckPin?: string;
62
+ ControlDeckOrientationMode: "dynamic" | "fixed";
63
+ ControlDeckDefaultDeckId?: string | null;
60
64
  CopiedOverlayVersion: string;
61
65
  DashboardLayout: {
62
66
  dashboardViewerList: string;
@@ -83,6 +87,7 @@ export type FirebotSettingsTypes = {
83
87
  LegacySortTagsImported: boolean;
84
88
  LoggedInProfile: string;
85
89
  MaxBackupCount: number | "All";
90
+ MigratedLegacyStartUpScriptsToPlugins: boolean;
86
91
  MinimizeToTray: boolean;
87
92
  NotifyOnBeta: boolean;
88
93
  OpenEffectQueueMonitorOnLaunch: boolean;
@@ -125,7 +130,3 @@ export type FirebotSettingsTypes = {
125
130
  WhileLoopEnabled: boolean;
126
131
  WysiwygBackground: "black" | "white";
127
132
  };
128
- export declare const FirebotGlobalSettings: Partial<Record<keyof FirebotSettingsTypes, boolean>>;
129
- export declare const FirebotSettingsDefaults: FirebotSettingsTypes;
130
- /** Anything in `SettingsTypes` not listed here will resolve to "/settings/settingName" (e.g. "/settings/autoFlagBots") */
131
- export declare const FirebotSettingsPaths: Partial<Record<keyof FirebotSettingsTypes, string>>;
package/types/setups.d.ts CHANGED
@@ -11,16 +11,13 @@ import type { CustomRole, LegacyCustomRole } from "./roles";
11
11
  import type { FirebotGlobalValue } from "./settings";
12
12
  import type { ScheduledTask, Timer } from "./timers";
13
13
  import type { VariableMacro } from "./variable-macros";
14
-
15
14
  export type SetupImportQuestion = {
16
15
  replaceToken: string;
17
16
  answer: string;
18
17
  };
19
-
20
18
  type FirebotSetupGlobalValue = FirebotGlobalValue & {
21
19
  id: string;
22
20
  };
23
-
24
21
  export type FirebotSetup = {
25
22
  name: string;
26
23
  description: string;
@@ -46,4 +43,5 @@ export type FirebotSetup = {
46
43
  overlayWidgetConfigs: OverlayWidgetConfig[];
47
44
  globalValues: FirebotSetupGlobalValue[];
48
45
  };
49
- };
46
+ };
47
+ export {};
@@ -1,4 +1,4 @@
1
1
  export interface SortTag {
2
2
  id: string;
3
3
  name: string;
4
- }
4
+ }
package/types/timers.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  import type { DateTime } from "luxon";
2
-
3
2
  import type { EffectList } from "./effects";
4
-
5
3
  export type Timer = {
6
4
  id: string;
7
5
  name: string;
@@ -12,7 +10,6 @@ export type Timer = {
12
10
  effects: EffectList;
13
11
  sortTags: string[];
14
12
  };
15
-
16
13
  export type TimerIntervalTracker = {
17
14
  timerId: string;
18
15
  onlyWhenLive: boolean;
@@ -23,7 +20,6 @@ export type TimerIntervalTracker = {
23
20
  intervalId: number | NodeJS.Timeout;
24
21
  startedAt: DateTime;
25
22
  };
26
-
27
23
  export type ScheduledTask = {
28
24
  id: string;
29
25
  name: string;
@@ -33,4 +29,4 @@ export type ScheduledTask = {
33
29
  onlyWhenLive: boolean;
34
30
  effects: EffectList;
35
31
  sortTags: string[];
36
- };
32
+ };
@@ -1,28 +1,10 @@
1
1
  import type { FirebotChatMessage } from "./chat";
2
2
  import type { CommandDefinition, SubCommand } from "./commands";
3
-
4
- export type TriggerType =
5
- | "command"
6
- | "custom_script"
7
- | "startup_script"
8
- | "api"
9
- | "event"
10
- | "hotkey"
11
- | "timer"
12
- | "scheduled_task"
13
- | "counter"
14
- | "preset"
15
- | "quick_action"
16
- | "manual"
17
- | "channel_reward"
18
- | "power_up"
19
- | "overlay_widget";
20
-
3
+ export type TriggerType = "command" | "custom_script" | "startup_script" | "api" | "event" | "hotkey" | "timer" | "scheduled_task" | "counter" | "preset" | "quick_action" | "control_deck" | "manual" | "channel_reward" | "power_up" | "overlay_widget";
21
4
  export type TriggerMeta = {
22
5
  triggerId?: string;
23
6
  [x: string]: unknown;
24
7
  };
25
-
26
8
  export type Trigger = {
27
9
  type: TriggerType;
28
10
  metadata: {
@@ -37,8 +19,14 @@ export type Trigger = {
37
19
  subcommandId?: string;
38
20
  };
39
21
  chatMessage?: FirebotChatMessage;
40
- event?: { id: string, name: string };
41
- eventSource?: { id: string, name: string };
22
+ event?: {
23
+ id: string;
24
+ name: string;
25
+ };
26
+ eventSource?: {
27
+ id: string;
28
+ name: string;
29
+ };
42
30
  eventData?: {
43
31
  chatMessage?: FirebotChatMessage;
44
32
  [x: string]: unknown;
@@ -53,9 +41,10 @@ export type Trigger = {
53
41
  };
54
42
  [x: string]: unknown;
55
43
  };
56
- effectOutputs?: { [key: string]: unknown };
44
+ effectOutputs?: {
45
+ [key: string]: unknown;
46
+ };
57
47
  };
58
-
59
48
  export type TriggersObject = {
60
49
  [T in TriggerType]?: T extends "event" ? string[] | boolean : boolean;
61
50
  };
@@ -1,31 +1,10 @@
1
1
  import type angular from "angular";
2
-
3
2
  export type BindingsDefinition<Bindings> = {
4
- [K in keyof Bindings]: {} extends Pick<Bindings, K>
5
- ? Bindings[K] extends string
6
- ? "@?" | "<?" | "=?" | `@?${string}` | `<?${string}` | `=?${string}`
7
- : Bindings[K] extends boolean
8
- ? "<?" | "=?" | `<?${string}` | `=?${string}`
9
- : Bindings[K] extends number
10
- ? "<?" | "=?" | `<?${string}` | `=?${string}`
11
- : Bindings[K] extends (...args: any[]) => any
12
- ? "&?" | `&?${string}`
13
- : "<?" | "=?" | `<?${string}` | `=?${string}`
14
- : Bindings[K] extends string
15
- ? "@" | "<" | "=" | `@${string}` | `<${string}` | `=${string}`
16
- : Bindings[K] extends boolean
17
- ? "<" | "=" | `<${string}` | `=${string}`
18
- : Bindings[K] extends number
19
- ? "<" | "=" | `<${string}` | `=${string}`
20
- : Bindings[K] extends (...args: any[]) => any
21
- ? "&" | `&${string}`
22
- : "<" | "=" | `<${string}` | `=${string}`;
3
+ [K in keyof Bindings]: {} extends Pick<Bindings, K> ? Bindings[K] extends string ? "@?" | "<?" | "=?" | `@?${string}` | `<?${string}` | `=?${string}` : Bindings[K] extends boolean ? "<?" | "=?" | `<?${string}` | `=?${string}` : Bindings[K] extends number ? "<?" | "=?" | `<?${string}` | `=?${string}` : Bindings[K] extends (...args: any[]) => any ? "&?" | `&?${string}` : "<?" | "=?" | `<?${string}` | `=?${string}` : Bindings[K] extends string ? "@" | "<" | "=" | `@${string}` | `<${string}` | `=${string}` : Bindings[K] extends boolean ? "<" | "=" | `<${string}` | `=${string}` : Bindings[K] extends number ? "<" | "=" | `<${string}` | `=${string}` : Bindings[K] extends (...args: any[]) => any ? "&" | `&${string}` : "<" | "=" | `<${string}` | `=${string}`;
23
4
  };
24
-
25
5
  export type FirebotComponent<Bindings, ExtraControllerProps = {}> = angular.IComponentOptions & {
26
6
  bindings: BindingsDefinition<Bindings>;
27
- controller: (
28
- this: angular.IController & Bindings & ExtraControllerProps & { [key: string]: unknown },
29
- ...args: unknown[]
30
- ) => void;
31
- };
7
+ controller: (this: angular.IController & Bindings & ExtraControllerProps & {
8
+ [key: string]: unknown;
9
+ }, ...args: unknown[]) => void;
10
+ };
@@ -1,5 +1,4 @@
1
1
  import type { EffectType } from "../effects";
2
-
3
2
  export type EffectHelperService = {
4
3
  getAllEffectTypes: () => Promise<EffectType[]>;
5
- };
4
+ };