4ecd275f5e
The code to search variables became too complex. This is mainly because it tries to handle all use cases at once: - steps returning records (MANUAL TRIGGER, CREATE RECORD...) - steps returning record events - primitive types (code, webhook...) - forms To make the code maintainable, let's make a few updates: - clear schema output types for each steps - group the output types that are similar and implement a search schema function for each - once this is implemented on frontend, let's remove the logic on backend side. Schema should be recompute and not stored This PR implement the refacto for steps returning records and events.