Skip to content

Interface: YankPluginRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / YankPluginRequest

Defined in: src/types/marketplace.ts:480

Request to yank (deprecate) or un-yank a plugin or a single version.

The same body serves both the whole-plugin and the single-version yank endpoints. The boolean unifies the two directions: yanked: true deprecates, yanked: false un-yanks.

Yanking is FLAGGING, not deletion: a yanked item stays listed in the catalog (so existing installs keep resolving) but a NEW install of it is rejected. To remove an item entirely, use a delete operation instead.

const request: YankPluginRequest = { yanked: true, reason: 'CVE-2026-1234' };

optional reason?: string | null

Defined in: src/types/marketplace.ts:484

Optional deprecation reason recorded alongside the flag.


yanked: boolean

Defined in: src/types/marketplace.ts:482

true to yank (deprecate); false to un-yank.