crowbartools / firebot-custom-scripts-types

TypeScript types for Firebot's Custom Scripts
6 stars 12 forks source link

[Tracking Issue] Add Types for All Already Present Modules in ScriptModules #2

Closed pirak closed 1 month ago

pirak commented 3 years ago

This is a tracking issue to make splitting work between several people easier.

The type ScriptModules does not contain all modules that Firebot actually makes available: https://github.com/crowbartools/Firebot/blob/v5/backend/common/handlers/custom-scripts/custom-script-helpers.js (function buildModules).

For each module a corresponding type should be created that contains the functions that should be exposed. Additionally, types needed to call those functions should be added (e.g. Currency, Counter, …).

patchtechtwitch commented 3 years ago

Since I'm playing around in the area, i'll see if I can't pick up "currencyManager"

patchtechtwitch commented 3 years ago

currencyDb

patchtechtwitch commented 3 years ago

I'll grab integrationManager and timerManager

ebiggz commented 1 month ago

Closing this as completed! If anyone ends up needing types for timerManager, please make a new issue for it 👍🏻