Repository navigation
fix: remove videos.play from project key scopes - #190
shimonewman wants to merge 1 commit into
Conversation
Drop the VideosPlay member from the ProjectKeyScopes enum. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Code review
Removes Findings (1)
Fix with agent prompt### Issue 1
src/enums/project-key-scopes.ts:116
**Ship this public API removal only in a breaking release**
`ProjectKeyScopes` is exported from the package entry point, and this member was already included in the 32.4.0 release. Removing it makes existing TypeScript consumers that use `ProjectKeyScopes.VideosPlay` fail to compile when upgrading; without a major-version release and a changelog entry, this is an undocumented breaking change. Please preserve compatibility here or make the removal part of a major release.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Walkthrough (1)
Reviewed Tip Comment |
| PresencesRead = 'presences.read', | ||
| PresencesWrite = 'presences.write', | ||
| VideosPlay = 'videos.play', | ||
| VideosRead = 'videos.read', |
There was a problem hiding this comment.
Ship this public API removal only in a breaking release
ProjectKeyScopes is exported from the package entry point, and this member was already included in the 32.4.0 release. Removing it makes existing TypeScript consumers that use ProjectKeyScopes.VideosPlay fail to compile when upgrading; without a major-version release and a changelog entry, this is an undocumented breaking change. Please preserve compatibility here or make the removal part of a major release.
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/enums/project-key-scopes.ts
Line: 116
Comment:
**Ship this public API removal only in a breaking release**
`ProjectKeyScopes` is exported from the package entry point, and this member was already included in the 32.4.0 release. Removing it makes existing TypeScript consumers that use `ProjectKeyScopes.VideosPlay` fail to compile when upgrading; without a major-version release and a changelog entry, this is an undocumented breaking change. Please preserve compatibility here or make the removal part of a major release.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟠 Major · bug · Reply if this doesn't apply.

What does this PR do?
Removes the
VideosPlay = 'videos.play'member from theProjectKeyScopesenum insrc/enums/project-key-scopes.ts.VideosReadandVideosWriteare unchanged.Notes for reviewers
ProjectKeyScopes.VideosPlaywill no longer compile. The member shipped in 32.4.0. Nothing else in this repo references it.src/services/videos.tsstill mentions thevideos.playscope in several method descriptions (as a scope guests hold for playback). Those are left as is in this PR.Test plan
No tests were run; the change is a single enum member deletion with no other references to
VideosPlayin the source.🤖 Generated with Claude Code