Usually you only share API functions signature and response types.
It's tempting to return a db table type but you don't have to.