Curried builder that binds application env schemas and keys to a function config.
First call with env { global: { paramsSchema, envKeys }, stage: { paramsSchema, envKeys } }.
Then provide the per-function config object; returns a branded FunctionConfig.
EventSchema/ResponseSchema are inferred from the functionConfig argument.
EventType is explicit (binds to the project-local EventTypeMap).
Global/Stage params types are derived from the provided schemas.
Curried builder that binds application env schemas and keys to a function config.
EventSchema/ResponseSchema are inferred from the functionConfig argument. EventType is explicit (binds to the project-local EventTypeMap). Global/Stage params types are derived from the provided schemas.