mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-02 16:45:15 -07:00
chore(app): delete unused generated API client
app/src/lib/api/{core,models,schemas,services,index.ts} was
openapi-typescript-codegen output imported by nothing — the live
client is the hand-written client.ts/types.ts pair — and its types
had drifted (no engine, personality, or effects_chain on
GenerationRequest). Removes the generator with it: generate-api.sh,
the generate:api script, and the just recipe. Docs that described the
codegen workflow now describe updating the hand-written client.
This commit is contained in:
@@ -348,15 +348,6 @@ db-reset:
|
||||
|
||||
# ─── Utilities ────────────────────────────────────────────────────────
|
||||
|
||||
# Generate TypeScript API client (backend must be running)
|
||||
[unix]
|
||||
generate-api:
|
||||
./scripts/generate-api.sh
|
||||
|
||||
[windows]
|
||||
generate-api:
|
||||
bash scripts/generate-api.sh
|
||||
|
||||
# Open API docs in browser
|
||||
[unix]
|
||||
docs:
|
||||
|
||||
Reference in New Issue
Block a user