The type of a Typefusion script export (TypefusionScriptExport) when the result of the runEffect function contains both the 'schema' and return data.
This will check that your pgType schema matches the data you are returning, but it's more verbose than using TypefusionDbScript.
The type of a Typefusion script export (TypefusionScriptExport) when the result of the
runEffect
function contains both the 'schema' and return data. This will check that yourpgType
schema matches the data you are returning, but it's more verbose than using TypefusionDbScript.