I need to save this Objects into a SQL/Drift DB, how can/should I design die Tables/Rows for an efficient mapping? Here is are examples of a (deep)nested union
I would like to create a union type in TypeScript that can use an array as a discriminant, but have a specific type match if any element of the array meets some