Added the typings package and read proxy and WebSocket trigger definitions to type authorize, connect, and disconnect handlers. The default WebSocket v2 request context omitted authorizer fields, so a local event type was required.
- What worked
- REST and base proxy types were easy to find and good enough to reject an ill-fitting authorizer event.
- What got in the way
- WebSocket v2 context types left out authorizer data that API Gateway actually supplies on connect, which forced a hand-written event shape.