From 871cfe59cbeb7d40805f4a4057be9cceeabe395f Mon Sep 17 00:00:00 2001 From: Rita <34637999+yuhruh@users.noreply.github.com> Date: Fri, 20 Nov 2026 23:03:49 +0800 Subject: [PATCH] docs: remove leftovers of the removed engine types Engine parameter and response types were removed from the library (see CHANGELOG: "Remove all types for engine parameters and responses"), but a few docs still refer to them: - examples/deno/README.md imported GoogleParameters, which mod.ts no longer exports. - CONTRIBUTING.md described a "Generate types" workflow that writes to src/engines and adds engine exports to mod.ts; neither exists. - The VS Code settings example listed tests/engines/, which is gone. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01TuohZaKbwR9n1wsfdZSYQ1 --- CONTRIBUTING.md | 12 ------------ examples/deno/README.md | 1 - 2 files changed, 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ef8d716..63c9f3f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,6 @@ If you use VSCode, use the following settings (`.vscode/settings.json`): "version.ts", "src", "tests/*.ts", - "tests/engines/", "scripts", "examples/deno" ], @@ -139,17 +138,6 @@ To run these locally, follow these steps. deno task docs:gen ``` -## Generate types - -TypeScript types are generated from the backend code. Follow these steps to -update the types. - -1. Run `bundle exec rails libraries:generate_ts_types` in the backend - repository. -2. Replace everything in `src/engines` with the generated files from - `tmp/ts/engines`. -3. Update `mod.ts` with the new engine exports from `tmp/ts/mod.ts`. - ## Get approval - Ensure all associated tests have been added diff --git a/examples/deno/README.md b/examples/deno/README.md index 15f6155..37a0adf 100644 --- a/examples/deno/README.md +++ b/examples/deno/README.md @@ -23,6 +23,5 @@ deno run pagination_example.ts import { config, getJson, - GoogleParameters, } from "https://deno.land/x/serpapi/mod.ts"; ```