feat: insert project snippets into the text editor
This MR implements inserting project snippets into the text editor.
It is the first new feature we are introducing and so it contains quite a bit of plumbing changes as well in preparation for a slow migration to GraphQL as well as continuing the TS migration started with #219 (closed).
Single blob
When the chosen snippet only contains one blob, we insert it directly.
Multiple blobs
Part of #129 (closed)
Edited by Tomas Vik (OOO back on 2024-11-19)