We don’t have any official documentation about this, and we have yet to have an official JS/TS SDK.
However, if you follow along with @chrkong : Custom TypeScript Speckle Connector
He is attempting to do just this and while we’ve offered vague pointers, most of the legwork has been done by him, but we have included a new method in our packages for sending those objects to Speckle