edit_space_route — it sends only the changed sections instead of the entire file.
Parameters
Route path starting with ’/’. Use ’/’ for custom home page.
Either ‘api’ or ‘page’.
Full source code. Required — must be valid TypeScript/TSX with a default export.
Whether the route is publicly accessible. API routes are always public. For pages, omit to preserve current visibility on updates; defaults to False for new pages (True for homepage).