Importing And Exporting Configurables
Gear Components and Templates enable the importing of configurable properties from other Gear Components. The ability to do so allows the shared use of configuration objects that can be passed to exported methods, allowing Gears and Templates to interact with Gears.
While templates export their main
CampaignTemplate class, no classes from within a template can be accessed by a gear or another template.
Similar to TypeScript modules, exports and imports are handled using destructured assignment to declare the class intended to be imported, and the gear ID as the module.
MyGearComponent.ts contained within the