How to get GraphQL column types in schema generation?

I’m building a Monday data view using the Monday API data.

Is there a way to get the types from GraphQL for the available columns?

For instance, when I connect to Salesforce’s GraphQL API, the data is specific to that client.

When I connect to Monday’s GraphQL API, the schema is generic. There’s no way for me to know which columns are available at compile time.

The issue is I wanna use @TanStack/react-table, but the library only works well if you know the column types. Since I don’t have those available through GraphQL for that particular board, I can’t have type-safety in my code.

Forget it. I just rebuilt Monday’s UI instead.