fix(org): drop leftovers of the reverted search history source removal
Merged
WA
4d ago+1+1+0123456789-61-61-01234567890123456789
Summary
- #9740 deleted the search history sources route but left the code only it reached; restores those files to their
mainversions - Removes the unused
useEffect,OAUTH_SEARCH_READ_SCOPEandoauthScopeSatisfiesimports inhooks/queries/oauth-provider.ts - Removes the unused
removeSearchHistorySourceContractandSearchHistoryResponseimports inhooks/queries/search-history.ts, and both now-dead exports from the search history contract - Removes the orphaned
removeSearchHistorySourceuse case, itsremoveSourceoperation, theremove-sourcerepository event and its integration test case
Type of Change
- Bug fix
Testing
bun run type-check(apps/sim), biome on the changed filesscripts/check-unused-exports.ts,check:api-validation:strict- Deletion only; no new tests
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)