Updated API reports due to the package change

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2026-02-23 06:29:04 -06:00
parent d0469f605a
commit 4541817031
16 changed files with 81 additions and 230 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ export interface MutableConfigSourceOptions {
}
// @public
export type Parser = ({ contents }: { contents: string }) => Promise<{
export type Parser = (input: { contents: string }) => Promise<{
result?: JsonObject;
}>;
+1 -9
View File
@@ -652,15 +652,7 @@ export type HorizontalScrollGridClassKey =
export type IconComponentProps = ComponentProps<IconComponent>;
// @public (undocumented)
export function IconLinkVertical({
color,
disabled,
href,
icon,
label,
onClick,
title,
}: IconLinkVerticalProps): JSX_2.Element;
export function IconLinkVertical(input: IconLinkVerticalProps): JSX_2.Element;
// @public (undocumented)
export type IconLinkVerticalClassKey =
+1 -1
View File
@@ -508,7 +508,7 @@ export { ProfileInfoApi };
// @public
export type RouteFunc<Params extends AnyParams> = (
...[params]: Params extends undefined ? readonly [] : readonly [Params]
...input: Params extends undefined ? readonly [] : readonly [Params]
) => string;
// @public
+3 -5
View File
@@ -1938,9 +1938,7 @@ export type ResolvedExtensionInputs<
// @public
export type RouteFunc<TParams extends AnyRouteRefParams> = (
...[params]: TParams extends undefined
? readonly []
: readonly [params: TParams]
...input: TParams extends undefined ? readonly [] : readonly [params: TParams]
) => string;
// @public
@@ -2130,7 +2128,7 @@ export type TranslationFunction<
? {
<TKey extends keyof IMessages>(
key: TKey,
...[args]: TranslationFunctionOptions<
...input: TranslationFunctionOptions<
NestedMessageKeys<TKey, IMessages>,
PluralKeys<TMessages>,
IMessages,
@@ -2139,7 +2137,7 @@ export type TranslationFunction<
): IMessages[TKey];
<TKey extends keyof IMessages>(
key: TKey,
...[args]: TranslationFunctionOptions<
...input: TranslationFunctionOptions<
NestedMessageKeys<TKey, IMessages>,
PluralKeys<TMessages>,
IMessages,
+1 -1
View File
@@ -275,7 +275,7 @@ export namespace mockApis {
// @public
export class MockConfigApi implements ConfigApi {
constructor({ data }: { data: JsonObject });
constructor(input: { data: JsonObject });
get<T = JsonValue>(key?: string): T;
getBoolean(key: string): boolean;
getConfig(key: string): Config;
+1 -1
View File
@@ -185,7 +185,7 @@ export function createBaseThemeOptions<PaletteOptions>(
palette: PaletteOptions;
typography: BackstageTypography;
page: PageTheme;
getPageTheme: ({ themeId }: PageThemeSelector) => PageTheme;
getPageTheme: (input: PageThemeSelector) => PageTheme;
};
// @public @deprecated
+3 -28
View File
@@ -281,7 +281,7 @@ export interface BgContextValue {
}
// @public
export const BgProvider: ({ bg, children }: BgProviderProps) => JSX_2.Element;
export const BgProvider: (input: BgProviderProps) => JSX_2.Element;
// @public (undocumented)
export interface BgProviderProps {
@@ -1837,20 +1837,7 @@ export interface SwitchProps extends SwitchProps_2 {
export const Tab: (props: TabProps) => JSX_2.Element;
// @public (undocumented)
export function Table<T extends TableItem>({
columnConfig,
data,
loading,
isStale,
error,
pagination,
sort,
rowConfig,
selection,
emptyState,
className,
style,
}: TableProps<T>): JSX_2.Element;
export function Table<T extends TableItem>(input: TableProps<T>): JSX_2.Element;
// @public (undocumented)
export const TableBody: <T extends object>(
@@ -1897,19 +1884,7 @@ export interface TableItem {
}
// @public
export function TablePagination({
pageSize,
pageSizeOptions,
offset,
totalCount,
hasNextPage,
hasPreviousPage,
onNextPage,
onPreviousPage,
onPageSizeChange,
showPageSizeOptions,
getLabel,
}: TablePaginationProps): JSX_2.Element;
export function TablePagination(input: TablePaginationProps): JSX_2.Element;
// @public
export const TablePaginationDefinition: {
@@ -20,22 +20,13 @@ export class GkeEntityProvider implements EntityProvider {
// (undocumented)
connect(connection: EntityProviderConnection): Promise<void>;
// (undocumented)
static fromConfig({
logger,
scheduler,
config,
}: {
static fromConfig(input: {
logger: LoggerService;
scheduler: SchedulerService;
config: Config;
}): GkeEntityProvider;
// (undocumented)
static fromConfigWithClient({
logger,
scheduler,
config,
clusterManagerClient,
}: {
static fromConfigWithClient(input: {
logger: LoggerService;
scheduler: SchedulerService;
config: Config;
+3 -3
View File
@@ -556,9 +556,9 @@ export const EntityIconLinkBlueprint: ExtensionBlueprint<{
}>;
// @alpha (undocumented)
export const EntityTableColumnTitle: ({
translationKey,
}: EntityTableColumnTitleProps) =>
export const EntityTableColumnTitle: (
input: EntityTableColumnTitleProps,
) =>
| 'System'
| 'Title'
| 'Domain'
+3 -5
View File
@@ -17,7 +17,7 @@ export const ConfigContent: () => JSX_2.Element;
// @public
export const DevToolsLayout: {
({ children, title, subtitle }: DevToolsLayoutProps): JSX_2.Element;
(input: DevToolsLayoutProps): JSX_2.Element;
Route: (props: SubRoute) => null;
};
@@ -29,7 +29,7 @@ export type DevToolsLayoutProps = {
};
// @public (undocumented)
export const DevToolsPage: ({ contents }: DevToolsPageProps) => JSX_2.Element;
export const DevToolsPage: (input: DevToolsPageProps) => JSX_2.Element;
// @public (undocumented)
export interface DevToolsPageContent {
@@ -62,9 +62,7 @@ export const ExternalDependenciesContent: () => JSX_2.Element;
export const InfoContent: () => JSX_2.Element;
// @public (undocumented)
export const ScheduledTaskDetailPanel: ({
rowData,
}: {
export const ScheduledTaskDetailPanel: (input: {
rowData: TaskApiTasksResponse;
}) => JSX_2.Element;
+7 -16
View File
@@ -273,11 +273,9 @@ export interface VisitDisplayContextValue {
}
// @public
export const VisitDisplayProvider: ({
children,
getChipColor,
getLabel,
}: VisitDisplayProviderProps) => JSX_2.Element;
export const VisitDisplayProvider: (
input: VisitDisplayProviderProps,
) => JSX_2.Element;
// @public
export interface VisitDisplayProviderProps {
@@ -309,14 +307,10 @@ export type VisitInput = {
};
// @public
export const VisitListener: ({
children,
toEntityRef,
visitName,
}: {
export const VisitListener: (input: {
children?: ReactNode;
toEntityRef?: ({ pathname }: { pathname: string }) => string | undefined;
visitName?: ({ pathname }: { pathname: string }) => string;
toEntityRef?: (input: { pathname: string }) => string | undefined;
visitName?: (input: { pathname: string }) => string;
}) => JSX.Element;
// @public
@@ -389,10 +383,7 @@ export type VisitsWebStorageApiOptions = {
};
// @public
export const WelcomeTitle: ({
language,
variant,
}: WelcomeTitleLanguageProps) => JSX_2.Element;
export const WelcomeTitle: (input: WelcomeTitleLanguageProps) => JSX_2.Element;
// @public (undocumented)
export type WelcomeTitleLanguageProps = {
+37 -96
View File
@@ -61,10 +61,7 @@ export class AksKubernetesAuthProvider implements KubernetesAuthProvider {
}
// @public
export const Cluster: ({
clusterObjects,
podsWithErrors,
}: ClusterProps) => JSX_2.Element;
export const Cluster: (input: ClusterProps) => JSX_2.Element;
// @public (undocumented)
export const ClusterContext: Context<ClusterAttributes>;
@@ -116,7 +113,9 @@ export interface ContainerScope extends PodScope {
}
// @public (undocumented)
export const CronJobsAccordions: ({}: CronJobsAccordionsProps) => JSX_2.Element;
export const CronJobsAccordions: (
input: CronJobsAccordionsProps,
) => JSX_2.Element;
// @public (undocumented)
export type CronJobsAccordionsProps = {
@@ -124,7 +123,7 @@ export type CronJobsAccordionsProps = {
};
// @public (undocumented)
export const CustomResources: ({}: CustomResourcesProps) => JSX_2.Element;
export const CustomResources: (input: CustomResourcesProps) => JSX_2.Element;
// @public (undocumented)
export interface CustomResourcesProps {
@@ -145,7 +144,7 @@ export class EksClusterLinksFormatter implements ClusterLinksFormatter {
}
// @public
export const ErrorList: ({ podAndErrors }: ErrorListProps) => JSX_2.Element;
export const ErrorList: (input: ErrorListProps) => JSX_2.Element;
// @public
export interface ErrorListProps {
@@ -159,11 +158,7 @@ export type ErrorMatcher = {
} & TypeMeta;
// @public (undocumented)
export const ErrorPanel: ({
entityName,
errorMessage,
clustersWithErrors,
}: ErrorPanelProps) => JSX_2.Element;
export const ErrorPanel: (input: ErrorPanelProps) => JSX_2.Element;
// @public (undocumented)
export type ErrorPanelProps = {
@@ -174,10 +169,7 @@ export type ErrorPanelProps = {
};
// @public (undocumented)
export const ErrorReporting: ({
detectedErrors,
clusters,
}: ErrorReportingProps) => JSX_2.Element;
export const ErrorReporting: (input: ErrorReportingProps) => JSX_2.Element;
// @public (undocumented)
export type ErrorReportingProps = {
@@ -186,18 +178,10 @@ export type ErrorReportingProps = {
};
// @public
export const Events: ({
involvedObjectName,
namespace,
clusterName,
warningEventsOnly,
}: EventsProps) => JSX_2.Element;
export const Events: (input: EventsProps) => JSX_2.Element;
// @public
export const EventsContent: ({
events,
warningEventsOnly,
}: EventsContentProps) => JSX_2.Element;
export const EventsContent: (input: EventsContentProps) => JSX_2.Element;
// @public
export interface EventsContentProps {
@@ -297,13 +281,15 @@ export const HorizontalPodAutoscalerDrawer: (props: {
}) => JSX_2.Element;
// @public (undocumented)
export const IngressesAccordions: ({}: IngressesAccordionsProps) => JSX_2.Element;
export const IngressesAccordions: (
input: IngressesAccordionsProps,
) => JSX_2.Element;
// @public (undocumented)
export type IngressesAccordionsProps = {};
// @public (undocumented)
export const JobsAccordions: ({ jobs }: JobsAccordionsProps) => JSX_2.Element;
export const JobsAccordions: (input: JobsAccordionsProps) => JSX_2.Element;
// @public (undocumented)
export type JobsAccordionsProps = {
@@ -468,13 +454,7 @@ export interface KubernetesClusterLinkFormatterApi {
export const kubernetesClusterLinkFormatterApiRef: ApiRef<KubernetesClusterLinkFormatterApi>;
// @public
export const KubernetesDrawer: ({
open,
label,
drawerContentsHeader,
kubernetesObject,
children,
}: KubernetesDrawerProps) => JSX_2.Element;
export const KubernetesDrawer: (input: KubernetesDrawerProps) => JSX_2.Element;
// @public (undocumented)
export interface KubernetesDrawerable {
@@ -549,11 +529,7 @@ export const kubernetesProxyApiRef: ApiRef<KubernetesProxyApi>;
export class KubernetesProxyClient {
constructor(options: { kubernetesApi: KubernetesApi });
// (undocumented)
deletePod({
podName,
namespace,
clusterName,
}: {
deletePod(input: {
podName: string;
namespace: string;
clusterName: string;
@@ -561,23 +537,13 @@ export class KubernetesProxyClient {
text: string;
}>;
// (undocumented)
getEventsByInvolvedObjectName({
clusterName,
involvedObjectName,
namespace,
}: {
getEventsByInvolvedObjectName(input: {
clusterName: string;
involvedObjectName: string;
namespace: string;
}): Promise<Event_2[]>;
// (undocumented)
getPodLogs({
podName,
namespace,
clusterName,
containerName,
previous,
}: {
getPodLogs(input: {
podName: string;
namespace: string;
clusterName: string;
@@ -591,14 +557,9 @@ export class KubernetesProxyClient {
// @public (undocumented)
export const KubernetesStructuredMetadataTableDrawer: <
T extends KubernetesDrawerable,
>({
object,
renderObject,
kind,
buttonVariant,
expanded,
children,
}: KubernetesStructuredMetadataTableDrawerProps<T>) => JSX_2.Element;
>(
input: KubernetesStructuredMetadataTableDrawerProps<T>,
) => JSX_2.Element;
// @public (undocumented)
export interface KubernetesStructuredMetadataTableDrawerProps<
@@ -619,10 +580,7 @@ export interface KubernetesStructuredMetadataTableDrawerProps<
}
// @public (undocumented)
export const LinkErrorPanel: ({
cluster,
errorMessage,
}: LinkErrorPanelProps) => JSX_2.Element;
export const LinkErrorPanel: (input: LinkErrorPanelProps) => JSX_2.Element;
// @public (undocumented)
export type LinkErrorPanelProps = {
@@ -632,7 +590,7 @@ export type LinkErrorPanelProps = {
};
// @public
export const ManifestYaml: ({ object }: ManifestYamlProps) => JSX_2.Element;
export const ManifestYaml: (input: ManifestYamlProps) => JSX_2.Element;
// @public
export interface ManifestYamlProps {
@@ -664,9 +622,9 @@ export class OpenshiftClusterLinksFormatter {
}
// @public
export const PendingPodContent: ({
pod,
}: PendingPodContentProps) => JSX_2.Element;
export const PendingPodContent: (
input: PendingPodContentProps,
) => JSX_2.Element;
// @public
export interface PendingPodContentProps {
@@ -688,10 +646,7 @@ export interface PodAndErrors {
export type PodColumns = 'READY' | 'RESOURCE';
// @public
export const PodDrawer: ({
podAndErrors,
open,
}: PodDrawerProps) => JSX_2.Element;
export const PodDrawer: (input: PodDrawerProps) => JSX_2.Element;
// @public
export interface PodDrawerProps {
@@ -725,9 +680,7 @@ export interface PodExecTerminalProps {
export const PodLogs: FC<PodLogsProps>;
// @public
export const PodLogsDialog: ({
containerScope,
}: PodLogsDialogProps) => JSX_2.Element;
export const PodLogsDialog: (input: PodLogsDialogProps) => JSX_2.Element;
// @public
export interface PodLogsDialogProps {
@@ -776,10 +729,7 @@ export interface PodScope {
}
// @public (undocumented)
export const PodsTable: ({
pods,
extraColumns,
}: PodsTablesProps) => JSX_2.Element;
export const PodsTable: (input: PodsTablesProps) => JSX_2.Element;
// @public (undocumented)
export type PodsTablesProps = {
@@ -801,13 +751,9 @@ export const READY_COLUMNS: PodColumns;
export const RESOURCE_COLUMNS: PodColumns;
// @public
export const ResourceUtilization: ({
compressed,
title,
usage,
total,
totalFormatted,
}: ResourceUtilizationProps) => JSX_2.Element;
export const ResourceUtilization: (
input: ResourceUtilizationProps,
) => JSX_2.Element;
// @public
export interface ResourceUtilizationProps {
@@ -836,7 +782,9 @@ export class ServerSideKubernetesAuthProvider
}
// @public (undocumented)
export const ServicesAccordions: ({}: ServicesAccordionsProps) => JSX_2.Element;
export const ServicesAccordions: (
input: ServicesAccordionsProps,
) => JSX_2.Element;
// @public (undocumented)
export type ServicesAccordionsProps = {};
@@ -855,11 +803,7 @@ export const useCustomResources: (
) => KubernetesObjects;
// @public
export const useEvents: ({
involvedObjectName,
namespace,
clusterName,
}: EventsOptions) => AsyncState<Event_2[]>;
export const useEvents: (input: EventsOptions) => AsyncState<Event_2[]>;
// @public (undocumented)
export const useKubernetesObjects: (
@@ -871,10 +815,7 @@ export const useKubernetesObjects: (
export const useMatchingErrors: (matcher: ErrorMatcher) => DetectedError[];
// @public
export const usePodLogs: ({
containerScope,
previous,
}: PodLogsOptions) => AsyncState<{
export const usePodLogs: (input: PodLogsOptions) => AsyncState<{
text: string;
}>;
+3 -14
View File
@@ -169,20 +169,9 @@ export type NotificationsSideBarItemProps = {
};
// @public (undocumented)
export const NotificationsTable: ({
title,
markAsReadOnLinkOpen,
isLoading,
notifications,
isUnread,
onUpdate,
setContainsText,
onPageChange,
onRowsPerPageChange,
page,
pageSize,
totalCount,
}: NotificationsTableProps) => JSX_2.Element;
export const NotificationsTable: (
input: NotificationsTableProps,
) => JSX_2.Element;
// @public (undocumented)
export type NotificationsTableProps = Pick<
+1 -6
View File
@@ -149,12 +149,7 @@ export class ScaffolderClient implements ScaffolderApi {
scmIntegrationsApi: ScmIntegrationRegistry;
useLongPollingLogs?: boolean;
});
autocomplete({
token,
resource,
provider,
context,
}: {
autocomplete(input: {
token: string;
provider: string;
resource: string;
+3 -16
View File
@@ -11,11 +11,7 @@ import { TemplateGlobal as TemplateGlobal_2 } from '@backstage/plugin-scaffolder
import { z } from 'zod';
// @alpha
export type AutocompleteHandler = ({
resource,
token,
context,
}: {
export type AutocompleteHandler = (input: {
resource: string;
token: string;
context: Record<string, string>;
@@ -125,10 +121,7 @@ export const restoreWorkspace: (opts: {
// @alpha
export interface ScaffolderAutocompleteExtensionPoint {
// (undocumented)
addAutocompleteProvider({
id,
handler,
}: {
addAutocompleteProvider(input: {
id: string;
handler: AutocompleteHandler;
}): void;
@@ -217,13 +210,7 @@ export interface WorkspaceProvider {
targetPath: string;
}): Promise<void>;
// (undocumented)
serializeWorkspace({
path,
taskId,
}: {
path: string;
taskId: string;
}): Promise<void>;
serializeWorkspace(input: { path: string; taskId: string }): Promise<void>;
}
// @alpha (undocumented)
+11 -17
View File
@@ -66,11 +66,7 @@ export type ContentStateTypes =
| 'CONTENT_FRESH';
// @public
export const CustomDocsPanel: ({
config,
entities,
index,
}: {
export const CustomDocsPanel: (input: {
config: PanelConfig;
entities: Entity[];
index: number;
@@ -151,12 +147,11 @@ export type DocsTableRow = {
};
// @public
export const EmbeddedDocsRouter: ({
children,
withSearch,
}: PropsWithChildren<{
withSearch?: boolean;
}>) => JSX_2.Element;
export const EmbeddedDocsRouter: (
input: PropsWithChildren<{
withSearch?: boolean;
}>,
) => JSX_2.Element;
// @public
export const EntityListDocsGrid: (
@@ -208,12 +203,11 @@ export type EntityListDocsTableProps = {
};
// @public
export const EntityTechdocsContent: ({
children,
withSearch,
}: PropsWithChildren<{
withSearch?: boolean;
}>) => JSX_2.Element;
export const EntityTechdocsContent: (
input: PropsWithChildren<{
withSearch?: boolean;
}>,
) => JSX_2.Element;
// @public
export const InfoCardGrid: (props: InfoCardGridProps) => JSX_2.Element | null;