mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-05 21:54:50 +00:00
## Summary Remove the exclusion filter that prevented backend-mirrored endpoint types from being generated in `@comfyorg/ingest-types`. ## Changes - **What**: The `openapi-ts.config.ts` excluded all endpoints shared with the ComfyUI Python backend (system_stats, object_info, prompt, queue, history, settings, userdata, etc.). Since the cloud ingest API mirrors the backend, these types should be generated from the OpenAPI spec as the canonical source. This adds ~250 new types and Zod schemas covering previously excluded endpoints. - **Breaking**: None. This only adds new exported types — no existing types or imports are changed. ## Review Focus - The cloud ingest API is designed to mirror the ComfyUI Python backend. The original exclusion filter was added to avoid duplication with `src/schemas/apiSchema.ts`, but the generated types should be the canonical source since they are auto-generated from the OpenAPI spec. - A follow-up PR will migrate imports in `src/` from `apiSchema.ts` to `@comfyorg/ingest-types` where applicable. - Webhooks and internal analytics endpoints remain excluded (server-to-server, not frontend-relevant). Related: #10662 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-10697-refactor-include-backend-mirrored-endpoints-in-ingest-types-codegen-3326d73d365081569614f743ab6f074d) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <action@github.com>