typebridge icon indicating copy to clipboard operation
typebridge copied to clipboard

Typescript toolbox for AWS EventBridge

Results 8 typebridge issues
Sort by recently updated
recently updated
newest added

Hi @fredericbarthelet, WDYT about adding optional additional filtering to `event.pattern`? This would allow to listen to a subset of event patterns. Right now we're accomplishing it by doing something like...

Resolves #16 Hi @fredericbarthelet ! As you mentioned, this PR will not affect lambdas cold start duration nor have any impact on performance. Its purpose is to spread awareness about...

Context: aws-sdk v2 uses cjs and thus does not tree shake. This means that the following syntax: `import type { EventBridge } from 'aws-sdk';` will result in importing aws-sdk package...

For debugging purposes, it could be useful to have a synchronous `putParams` method that only outputs the parameters forwarded to `putEvents`. What do you think ?

What could look like a functional API ?

In my last project, `PublishedEvent` ends with `TS2589: Type instantiation is excessively deep and possibly infinite.` However, the type seems correctly inferred: ![image](https://github.com/fredericbarthelet/typebridge/assets/31917261/eaf60699-94ea-49ca-b7a3-4b22781c9af3) I can also recreate the `PublishedEvent` type...

`Bus.put(events)` returns `{ FailedEntryCount, Entries }` which must be handled manually to avoid losing events. Most projects that I know that use typebridge forget to handle these return. I recently...

This feature is particularly handy to avoid having to deal with indexes to know which entry failed.