diff --git a/packages/frontend-plugin-api/package.json b/packages/frontend-plugin-api/package.json
index daee6ddbbd..91dbaa553c 100644
--- a/packages/frontend-plugin-api/package.json
+++ b/packages/frontend-plugin-api/package.json
@@ -48,6 +48,7 @@
"@backstage/filter-predicates": "workspace:^",
"@backstage/types": "workspace:^",
"@backstage/version-bridge": "workspace:^",
+ "@standard-schema/spec": "^1.1.0",
"zod": "^3.25.76 || ^4.0.0",
"zod-to-json-schema": "^3.25.1"
},
diff --git a/packages/frontend-plugin-api/report-alpha.api.md b/packages/frontend-plugin-api/report-alpha.api.md
index 82d9da2627..4df3233871 100644
--- a/packages/frontend-plugin-api/report-alpha.api.md
+++ b/packages/frontend-plugin-api/report-alpha.api.md
@@ -14,6 +14,7 @@ import { FilterPredicate } from '@backstage/filter-predicates';
import { JsonObject } from '@backstage/types';
import { JSX as JSX_2 } from 'react';
import { ReactNode } from 'react';
+import { StandardSchemaV1 } from '@standard-schema/spec';
import { z } from 'zod/v3';
import { ZodType } from 'zod/v3';
@@ -85,6 +86,11 @@ export interface AppTree {
readonly root: AppNode;
}
+// @public
+export type ConfigFieldSchema =
+ | StandardSchemaV1
+ | ((zImpl: typeof z) => ZodType);
+
// @public (undocumented)
export interface ConfigurableExtensionDataRef<
TData,
@@ -161,7 +167,6 @@ export interface ExtensionBlueprint<
inputs: T['inputs'];
params: T['params'];
}>;
- // Warning: (ae-forgotten-export) The symbol "ConfigFieldSchema" needs to be exported by the entry point alpha.d.ts
makeWithOverrides<
TName extends string | undefined,
TExtensionConfigSchema extends {
@@ -650,6 +655,8 @@ export interface RouteRef<
readonly T: TParams;
}
+export { StandardSchemaV1 };
+
// @public
export interface SubRouteRef<
TParams extends AnyRouteRefParams = AnyRouteRefParams,
diff --git a/packages/frontend-plugin-api/report.api.md b/packages/frontend-plugin-api/report.api.md
index 54023e5b08..b975da2e14 100644
--- a/packages/frontend-plugin-api/report.api.md
+++ b/packages/frontend-plugin-api/report.api.md
@@ -22,6 +22,7 @@ import { JSX as JSX_3 } from 'react/jsx-runtime';
import { Observable } from '@backstage/types';
import { PropsWithChildren } from 'react';
import { ReactNode } from 'react';
+import { StandardSchemaV1 } from '@standard-schema/spec';
import { SwappableComponentRef as SwappableComponentRef_2 } from '@backstage/frontend-plugin-api';
import { z } from 'zod/v3';
import { ZodType } from 'zod/v3';
@@ -2146,75 +2147,7 @@ export namespace SessionState {
export type SignedOut = typeof SessionState.SignedOut;
}
-// @public
-export interface StandardSchemaV1 {
- // (undocumented)
- readonly '~standard': StandardSchemaV1.Props;
-}
-
-// @public (undocumented)
-export namespace StandardSchemaV1 {
- // (undocumented)
- export interface FailureResult {
- // (undocumented)
- readonly issues: ReadonlyArray;
- }
- // (undocumented)
- export type InferInput = NonNullable<
- Schema['~standard']['types']
- >['input'];
- // (undocumented)
- export type InferOutput = NonNullable<
- Schema['~standard']['types']
- >['output'];
- // (undocumented)
- export interface Issue {
- // (undocumented)
- readonly message: string;
- // (undocumented)
- readonly path?: ReadonlyArray | undefined;
- }
- // (undocumented)
- export interface Options {
- // (undocumented)
- readonly libraryOptions?: Record | undefined;
- }
- // (undocumented)
- export interface PathSegment {
- // (undocumented)
- readonly key: PropertyKey;
- }
- // (undocumented)
- export interface Props {
- // (undocumented)
- readonly types?: Types | undefined;
- // (undocumented)
- readonly validate: (
- value: unknown,
- options?: Options | undefined,
- ) => Result