Defining a Discriminated Union with Schema.Class in TypeScript - Effect Community