frontend-plugin-api: remove helper types from top-level API surface

Remove `ResolvedExtensionInput` and `ExtensionDataRefToValue` from
the public API to reduce top-level API clutter. These types were
internal plumbing not needed by plugin authors.

`ResolvedExtensionInput` is now a file-local type only used by
`ResolvedExtensionInputs`. `ExtensionDataRefToValue` is no longer
re-exported from the barrel.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-16 11:21:13 +01:00
parent 722ce6f54c
commit 72991a5211
7 changed files with 13 additions and 29 deletions
@@ -17,11 +17,10 @@
import {
AppNode,
Extension,
ExtensionDataContainer,
ExtensionDataRef,
ExtensionDefinition,
ExtensionInput,
PortableSchema,
ResolvedExtensionInput,
createExtension,
createExtensionBlueprint,
createExtensionDataRef,
@@ -146,8 +145,8 @@ function mirrorInputs(ctx: {
inputs: {
[name in string]:
| undefined
| ResolvedExtensionInput<ExtensionInput>
| Array<ResolvedExtensionInput<ExtensionInput>>;
| ({ node: AppNode } & ExtensionDataContainer<ExtensionDataRef>)
| Array<{ node: AppNode } & ExtensionDataContainer<ExtensionDataRef>>;
};
}) {
return [