At the moment, we declare types within the same file as the main source code, and then export them individually, we should change this so that all types are declared in a single file and then exported at one.
Changes:
Moved ConsumerOptions and Events from the consumer file to the types file
Export everything from the types file automatically
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.
Description:
At the moment, we declare types within the same file as the main source code, and then export them individually, we should change this so that all types are declared in a single file and then exported at one.
Changes:
ConsumerOptions
andEvents
from theconsumer
file to thetypes
file