What's the correct way to wrap server functions? - SolidJS