sanity-io / visual-editing

https://visual-editing-studio.sanity.build
MIT License
37 stars 20 forks source link

Expose createCompatibilityActors function and the PreviewKitNodeMsg type #2165

Open osnoser1 opened 1 week ago

osnoser1 commented 1 week ago

Is your feature request related to a problem? Please describe.

I've finished and deployed the visual-editing and preview-kit feature in Angular; with the exposure of the channels package into @sanity/comlink, I was able to remove it from the repo; however, for implementing these features, I made an angular equivalent of useDocumentInUse.ts here document-in-use.service.ts, and I used the two new dependencies createCompatibilityActors function and the PreviewKitNodeMsg type of the @repo/visual-editing-helpers, I copied the project partially.

Describe the solution you'd like

It should be great to expose these two things through a npm package.