Skip to content

🎥 Make videos programmatically with React

Studio: Track Browser Studio route parity

Jonny Burgerf38d2c6c4645
diff --git a/.agents/skills/visual-mode/SKILL.md b/.agents/skills/visual-mode/SKILL.md
index d135759b37..c5b793beab 100644
--- a/.agents/skills/visual-mode/SKILL.md
+++ b/.agents/skills/visual-mode/SKILL.md
@@ -27,3 +27,7 @@ We should only fetch the nodepath for every stack once
different unsymbolicated stacks could lead to the same symbolicated stack, because of fast refresh
unsymbolicated to symbolicated stack does never change because if it does, it is a different stack due to fast refresh
+
+## Browser Studio route tracking
+
+Whenever adding a new Studio API route, also add it to the Browser Studio parity checklist in [issue #9807](https://github.com/remotion-dev/remotion/issues/9807). Do this in the same change, even if the route is intentionally server-only; place it in either the required Browser Studio operations or the explicitly unsupported routes.
diff --git a/packages/studio-shared/src/api-requests.ts b/packages/studio-shared/src/api-requests.ts
index be0ee68ce2..5bc2e4bce9 100644
--- a/packages/studio-shared/src/api-requests.ts
+++ b/packages/studio-shared/src/api-requests.ts
@@ -977,6 +977,8 @@ export type LogStudioErrorRequest = {
};
export type LogStudioErrorResponse = {};
+// When adding a route, also update the Browser Studio parity checklist:
+// https://github.com/remotion-dev/remotion/issues/9807
export type ApiRoutes = {
'/api/composition-component-info': ReqAndRes<
CompositionComponentInfoRequest,