Skip to content

Interface: YankPluginRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Marketplace / YankPluginRequest

Interface: YankPluginRequest

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

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

Remarks

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.

Example

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

Properties

reason?

optional reason: string | null

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

Optional deprecation reason recorded alongside the flag.


yanked

yanked: boolean

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

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