Cascades the foundation fix (8564a19dc7) into the published API
snapshot. NodeMode JSDoc now correctly maps numeric slots to
LGraphEventMode names (was wrong for slots 1-4 in prior snapshot).
Other diff churn is whitespace/format-only from a fresh dts build.
API snapshot
Generated .d.ts files for the public surface of @comfyorg/extension-api.
Committed to git so reviewers can see exactly what extension authors will
consume — without having to build the package locally.
Source of truth
These files are generated from the hand-written sources at
src/extension-api/** (in the foundation PR / ComfyUI_frontend root).
Do not edit them directly — they are regenerated by:
pnpm --filter @comfyorg/extension-api build
…which writes the same files to packages/extension-api/build/extension-api/.
Copy the result into this folder when the public surface changes.
Why a snapshot, not the live build/?
build/ is gitignored (it's a build artifact). Committing a separate
snapshot under a stable path gives reviewers a diffable record of any
public-API change without polluting git with the runtime .js and
declaration files emitted for every internal module.
Files
| File | Source |
|---|---|
index.d.ts |
src/extension-api/index.ts (barrel — entry point) |
events.d.ts |
src/extension-api/events.ts |
identifiers.d.ts |
src/extension-api/identifiers.ts |
lifecycle.d.ts |
src/extension-api/lifecycle.ts |
node.d.ts |
src/extension-api/node.ts |
shell.d.ts |
src/extension-api/shell.ts |
types.d.ts |
src/extension-api/types.ts |
widget.d.ts |
src/extension-api/widget.ts |