fix(org): drop leftovers of the reverted search history source removal

Merged
WA
4d ago
+1-61

Summary

  • #9740 deleted the search history sources route but left the code only it reached; restores those files to their main versions
  • Removes the unused useEffect, OAUTH_SEARCH_READ_SCOPE and oauthScopeSatisfies imports in hooks/queries/oauth-provider.ts
  • Removes the unused removeSearchHistorySourceContract and SearchHistoryResponse imports in hooks/queries/search-history.ts, and both now-dead exports from the search history contract
  • Removes the orphaned removeSearchHistorySource use case, its removeSource operation, the remove-source repository event and its integration test case

Type of Change

  • Bug fix

Testing

  • bun run type-check (apps/sim), biome on the changed files
  • scripts/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-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)