Commit e48b869
refactor: remove unused OAuthConsentDecision type (#13277)
The `OAuthConsentDecision` type alias had no references anywhere — the
function `submitOAuthConsentDecision` is not annotated with it, and
nothing imports it. Removed.
The other type/enum candidates fallow flagged were verified as NOT dead
and left untouched:
- `NodeBadgeMode.None/ShowAll/HideBuiltIn` — consumed via
`Object.values` across `coreSettings`, `apiSchema` (zod enum), and the
badge composables.
- `src/types/index.ts` barrel and litegraph types — public/extension
surface.
- `generatedManagerTypes` `paths`/`webhooks`/`$defs`/`operations` —
openapi-codegen output, not hand-editable.
Gates: typecheck, knip pass (type-only change).
Stacked PR. Base: `drjkl/cleanup-dead-exports`.
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Amp <amp@ampcode.com>1 parent 8b48d05 commit e48b869
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
| |||
0 commit comments