Closed phiresky closed 7 years ago
export type FromItemToInRow<TFromItem extends s.Table<any, any>> = {[TName in keyof TFromItem["$requiredColumns"]]: s.GetInType<s.ExpressionTypeOf<TFromItem["$requiredColumns"][TName]>> };
There is TableToInRow and FromItemToInRow now. The first makes optional columns optional, the second does not know how to distinguish required from optional columns.
TableToInRow
FromItemToInRow