Files
backstage/packages/backend-plugin-api
Patrik Oldsberg 68c557b381 backend-plugin-api: tighten internal any usage (#33867)
* backend-plugin-api: tighten internal any usage

Replace internal `any` type annotations with proper types:

- Use `'root' | 'plugin'` union in DepsToInstances conditional type
  and createServiceRef implementation signature
- Use Error type guard with object cast fallback in
  isDatabaseConflictError instead of `as any`

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

* Use isError in isDatabaseConflictError

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

* Update changeset wording per review feedback

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

---------

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-04-13 14:58:03 +02:00
..
2026-04-07 15:30:58 +00:00
2026-04-07 15:30:58 +00:00

@backstage/backend-plugin-api

This package provides the framework API used by Backstage backend plugins and modules.

Installation

Add the library to your backend plugin or module package:

# From your Backstage root directory
yarn --cwd plugins/<plugin>-backend add @backstage/backend-plugin-api

Documentation