ubiquity-os / ubiquity-os-kernel

1 stars 19 forks source link

Dynamic Webhook Enum Generation #19

Closed 0x4007 closed 9 months ago

0x4007 commented 9 months ago

Consider dynamically generating the enum file based on the @octokit/rest dependency contents at build/pre run time.

I'd like to avoid using our own enum for events but the problem is that octokit provides only a readonly array of all events or a typescript union type of all events but I haven't figured out how to use them with typebox

_Originally posted by @whilefoo in https://github.com/ubiquity/ubiquibot-kernel/pull/18#discussion_r1482100256_

whilefoo commented 9 months ago

resolved by #20

ubiquibot[bot] commented 9 months ago
! action has an uncaught error