Linked types weren't being resolved in our query helper types. This was due to us not threading generic type params to IDatabase, and an issue in TS where we need to create structural dependence on the type (e.g., a "real", runtime property referencing the type).
Linked types weren't being resolved in our query helper types. This was due to us not threading generic type params to
IDatabase
, and an issue in TS where we need to create structural dependence on the type (e.g., a "real", runtime property referencing the type).Discussion here: https://discord.com/channels/1031957483243188235/1280983629270487080/1281751160025383044
SO explanation of what's broken: https://stackoverflow.com/questions/55289720/typescript-generic-inference-from-interface-implementation
Also exporting more helpers as requested