Merge pull request #32950 from awanlin/topic/api-extractor-repo-tools
Updated `@microsoft/api-extractor` to `7.57.3`
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
---
|
||||
|
||||
Updated `@microsoft/api-extractor` to `7.57.3` and added tests for `getTsDocConfig`
|
||||
@@ -221,7 +221,7 @@ export interface MutableConfigSourceOptions {
|
||||
}
|
||||
|
||||
// @public
|
||||
export type Parser = ({ contents }: { contents: string }) => Promise<{
|
||||
export type Parser = (input: { contents: string }) => Promise<{
|
||||
result?: JsonObject;
|
||||
}>;
|
||||
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"@electric-sql/pglite": "^0.3.0",
|
||||
"@manypkg/get-packages": "^1.1.3",
|
||||
"@microsoft/api-documenter": "^7.28.1",
|
||||
"@microsoft/api-extractor": "^7.55.1",
|
||||
"@microsoft/api-extractor": "^7.57.3",
|
||||
"@openapitools/openapi-generator-cli": "^2.7.0",
|
||||
"@prettier/sync": "^0.6.1",
|
||||
"@stoplight/spectral-core": "^1.18.0",
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2026 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { TSDocTagSyntaxKind } from '@microsoft/tsdoc';
|
||||
import { getTsDocConfig } from './runApiExtraction';
|
||||
|
||||
describe('getTsDocConfig', () => {
|
||||
it('should load the base TSDoc config from api-extractor', async () => {
|
||||
const config = await getTsDocConfig();
|
||||
|
||||
expect(config).toBeDefined();
|
||||
expect(config.filePath).toContain('tsdoc-base.json');
|
||||
});
|
||||
|
||||
it('should add @ignore tag definition with ModifierTag syntax', async () => {
|
||||
const config = await getTsDocConfig();
|
||||
|
||||
const ignoreTag = config.tagDefinitions.find(
|
||||
tag => tag.tagName === '@ignore',
|
||||
);
|
||||
expect(ignoreTag).toBeDefined();
|
||||
expect(ignoreTag?.tagName).toBe('@ignore');
|
||||
expect(ignoreTag?.syntaxKind).toBe(TSDocTagSyntaxKind.ModifierTag);
|
||||
});
|
||||
|
||||
it('should add @config tag definition with BlockTag syntax', async () => {
|
||||
const config = await getTsDocConfig();
|
||||
|
||||
const configTag = config.tagDefinitions.find(
|
||||
tag => tag.tagName === '@config',
|
||||
);
|
||||
expect(configTag).toBeDefined();
|
||||
expect(configTag?.tagName).toBe('@config');
|
||||
expect(configTag?.syntaxKind).toBe(TSDocTagSyntaxKind.BlockTag);
|
||||
});
|
||||
|
||||
it('should enable support for @ignore tag', async () => {
|
||||
const config = await getTsDocConfig();
|
||||
|
||||
expect(config.supportForTags.get('@ignore')).toBe(true);
|
||||
});
|
||||
|
||||
it('should enable support for @config tag', async () => {
|
||||
const config = await getTsDocConfig();
|
||||
|
||||
expect(config.supportForTags.get('@config')).toBe(true);
|
||||
});
|
||||
});
|
||||
@@ -185,7 +185,7 @@ export function createBaseThemeOptions<PaletteOptions>(
|
||||
palette: PaletteOptions;
|
||||
typography: BackstageTypography;
|
||||
page: PageTheme;
|
||||
getPageTheme: ({ themeId }: PageThemeSelector) => PageTheme;
|
||||
getPageTheme: (input: PageThemeSelector) => PageTheme;
|
||||
};
|
||||
|
||||
// @public @deprecated
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -556,9 +556,9 @@ export const EntityIconLinkBlueprint: ExtensionBlueprint<{
|
||||
}>;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const EntityTableColumnTitle: ({
|
||||
translationKey,
|
||||
}: EntityTableColumnTitleProps) =>
|
||||
export const EntityTableColumnTitle: (
|
||||
input: EntityTableColumnTitleProps,
|
||||
) =>
|
||||
| 'System'
|
||||
| 'Title'
|
||||
| 'Domain'
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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;
|
||||
}>;
|
||||
|
||||
|
||||
@@ -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<
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -7968,7 +7968,7 @@ __metadata:
|
||||
"@electric-sql/pglite": "npm:^0.3.0"
|
||||
"@manypkg/get-packages": "npm:^1.1.3"
|
||||
"@microsoft/api-documenter": "npm:^7.28.1"
|
||||
"@microsoft/api-extractor": "npm:^7.55.1"
|
||||
"@microsoft/api-extractor": "npm:^7.57.3"
|
||||
"@openapitools/openapi-generator-cli": "npm:^2.7.0"
|
||||
"@prettier/sync": "npm:^0.6.1"
|
||||
"@stoplight/spectral-core": "npm:^1.18.0"
|
||||
@@ -10165,22 +10165,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@isaacs/balanced-match@npm:^4.0.1":
|
||||
version: 4.0.1
|
||||
resolution: "@isaacs/balanced-match@npm:4.0.1"
|
||||
checksum: 10/102fbc6d2c0d5edf8f6dbf2b3feb21695a21bc850f11bc47c4f06aa83bd8884fde3fe9d6d797d619901d96865fdcb4569ac2a54c937992c48885c5e3d9967fe8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@isaacs/brace-expansion@npm:^5.0.0":
|
||||
version: 5.0.1
|
||||
resolution: "@isaacs/brace-expansion@npm:5.0.1"
|
||||
dependencies:
|
||||
"@isaacs/balanced-match": "npm:^4.0.1"
|
||||
checksum: 10/aec226065bc4285436a27379e08cc35bf94ef59f5098ac1c026495c9ba4ab33d851964082d3648d56d63eb90f2642867bd15a3e1b810b98beb1a8c14efce6a94
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@isaacs/cliui@npm:^8.0.2":
|
||||
version: 8.0.2
|
||||
resolution: "@isaacs/cliui@npm:8.0.2"
|
||||
@@ -11248,27 +11232,38 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@microsoft/api-extractor@npm:^7.55.1":
|
||||
version: 7.55.2
|
||||
resolution: "@microsoft/api-extractor@npm:7.55.2"
|
||||
"@microsoft/api-extractor-model@npm:7.33.1":
|
||||
version: 7.33.1
|
||||
resolution: "@microsoft/api-extractor-model@npm:7.33.1"
|
||||
dependencies:
|
||||
"@microsoft/api-extractor-model": "npm:7.32.2"
|
||||
"@microsoft/tsdoc": "npm:~0.16.0"
|
||||
"@microsoft/tsdoc-config": "npm:~0.18.0"
|
||||
"@rushstack/node-core-library": "npm:5.19.1"
|
||||
"@rushstack/rig-package": "npm:0.6.0"
|
||||
"@rushstack/terminal": "npm:0.19.5"
|
||||
"@rushstack/ts-command-line": "npm:5.1.5"
|
||||
"@rushstack/node-core-library": "npm:5.20.1"
|
||||
checksum: 10/cb267ca0020a68b84570bc99e974d050acf8b17a47f1999998a9dbc2ef81453f8188a93970a6b2274890a5dd5015502b6cebe94da06d3583e65ca490dabf4c1e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@microsoft/api-extractor@npm:^7.57.3":
|
||||
version: 7.57.3
|
||||
resolution: "@microsoft/api-extractor@npm:7.57.3"
|
||||
dependencies:
|
||||
"@microsoft/api-extractor-model": "npm:7.33.1"
|
||||
"@microsoft/tsdoc": "npm:~0.16.0"
|
||||
"@microsoft/tsdoc-config": "npm:~0.18.0"
|
||||
"@rushstack/node-core-library": "npm:5.20.1"
|
||||
"@rushstack/rig-package": "npm:0.7.1"
|
||||
"@rushstack/terminal": "npm:0.22.1"
|
||||
"@rushstack/ts-command-line": "npm:5.3.1"
|
||||
diff: "npm:~8.0.2"
|
||||
lodash: "npm:~4.17.15"
|
||||
minimatch: "npm:10.0.3"
|
||||
lodash: "npm:~4.17.23"
|
||||
minimatch: "npm:10.2.1"
|
||||
resolve: "npm:~1.22.1"
|
||||
semver: "npm:~7.5.4"
|
||||
source-map: "npm:~0.6.1"
|
||||
typescript: "npm:5.8.2"
|
||||
bin:
|
||||
api-extractor: bin/api-extractor
|
||||
checksum: 10/56b7e9338ad18cf3dc6aaefd679b90117c9d5498dee5c621e868a5fe5002656e62d08267525eb880221d4588afcf6d680604249a9c2fb5faaba8f9c87be16b3e
|
||||
checksum: 10/5b2a8c1833b97db4df49aa0d326b4591474a241da2c71489b5de9f24cc42f7579a2ff45d44bc52302c8f4ffb9dd0fbd6e101f19231003dafd31c0efc8100e2ba
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -17775,6 +17770,27 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/node-core-library@npm:5.20.1":
|
||||
version: 5.20.1
|
||||
resolution: "@rushstack/node-core-library@npm:5.20.1"
|
||||
dependencies:
|
||||
ajv: "npm:~8.13.0"
|
||||
ajv-draft-04: "npm:~1.0.0"
|
||||
ajv-formats: "npm:~3.0.1"
|
||||
fs-extra: "npm:~11.3.0"
|
||||
import-lazy: "npm:~4.0.0"
|
||||
jju: "npm:~1.4.0"
|
||||
resolve: "npm:~1.22.1"
|
||||
semver: "npm:~7.5.4"
|
||||
peerDependencies:
|
||||
"@types/node": "*"
|
||||
peerDependenciesMeta:
|
||||
"@types/node":
|
||||
optional: true
|
||||
checksum: 10/bd05a400fd96818a6382df7bc6a284adc78bbc8ae81c40760f2fee56a4124f0e56a38e007745bcf39c7449913e97f182860c1a344b56a31b8ba8445c21c6c012
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/problem-matcher@npm:0.1.1":
|
||||
version: 0.1.1
|
||||
resolution: "@rushstack/problem-matcher@npm:0.1.1"
|
||||
@@ -17787,13 +17803,25 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/rig-package@npm:0.6.0":
|
||||
version: 0.6.0
|
||||
resolution: "@rushstack/rig-package@npm:0.6.0"
|
||||
"@rushstack/problem-matcher@npm:0.2.1":
|
||||
version: 0.2.1
|
||||
resolution: "@rushstack/problem-matcher@npm:0.2.1"
|
||||
peerDependencies:
|
||||
"@types/node": "*"
|
||||
peerDependenciesMeta:
|
||||
"@types/node":
|
||||
optional: true
|
||||
checksum: 10/62fda91629577a2f57de19be357cd0990da145ff4933f4d2cd48f423cc03b92fca06dd8916dcbaf1d307a201c104847c77066d45d79fd3c323c4949f0c99bf44
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/rig-package@npm:0.7.1":
|
||||
version: 0.7.1
|
||||
resolution: "@rushstack/rig-package@npm:0.7.1"
|
||||
dependencies:
|
||||
resolve: "npm:~1.22.1"
|
||||
strip-json-comments: "npm:~3.1.1"
|
||||
checksum: 10/6ca5d6615365dfe4d78fdc52a1a145bec92bba79d8692db91d05c774b4ec4d9dc6c41b31949708d0312896b9c1c205a0f0eaa32f51ac7b1780415ac51c76af71
|
||||
checksum: 10/080a80e5c36b6861ee4a9a6e5ad9692cc3861cfb9edd0b02e9438aaaaa5a6e1b6f65275469d9f997696487841c7bb7daa69bba69c5e7301426056437bf544138
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -17813,6 +17841,22 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/terminal@npm:0.22.1":
|
||||
version: 0.22.1
|
||||
resolution: "@rushstack/terminal@npm:0.22.1"
|
||||
dependencies:
|
||||
"@rushstack/node-core-library": "npm:5.20.1"
|
||||
"@rushstack/problem-matcher": "npm:0.2.1"
|
||||
supports-color: "npm:~8.1.1"
|
||||
peerDependencies:
|
||||
"@types/node": "*"
|
||||
peerDependenciesMeta:
|
||||
"@types/node":
|
||||
optional: true
|
||||
checksum: 10/fe4da212e11c60b8a6a2de9cb7658b03c510831d365c560eedf26a20fa85c62a45f1865cff99c2b252dcd773329fcd2347dd89e5e2efd5694d7746f0a8aec172
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/ts-command-line@npm:5.1.5":
|
||||
version: 5.1.5
|
||||
resolution: "@rushstack/ts-command-line@npm:5.1.5"
|
||||
@@ -17825,6 +17869,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rushstack/ts-command-line@npm:5.3.1":
|
||||
version: 5.3.1
|
||||
resolution: "@rushstack/ts-command-line@npm:5.3.1"
|
||||
dependencies:
|
||||
"@rushstack/terminal": "npm:0.22.1"
|
||||
"@types/argparse": "npm:1.0.38"
|
||||
argparse: "npm:~1.0.9"
|
||||
string-argv: "npm:~0.3.1"
|
||||
checksum: 10/51ca262eefbf07875f3e57fb402cba80e7ff36c14c0fc98c59af7be65407cafb4cbfe9b6738b549d91e687e40bb5720afb214efa1352a7a13c186241f92795f0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@sagold/json-pointer@npm:^5.1.2":
|
||||
version: 5.1.2
|
||||
resolution: "@sagold/json-pointer@npm:5.1.2"
|
||||
@@ -37921,7 +37977,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lodash@npm:^4.15.0, lodash@npm:^4.16.4, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:~4.17.15, lodash@npm:~4.17.21, lodash@npm:~4.17.23":
|
||||
"lodash@npm:^4.15.0, lodash@npm:^4.16.4, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:~4.17.21, lodash@npm:~4.17.23":
|
||||
version: 4.17.23
|
||||
resolution: "lodash@npm:4.17.23"
|
||||
checksum: 10/82504c88250f58da7a5a4289f57a4f759c44946c005dd232821c7688b5fcfbf4a6268f6a6cdde4b792c91edd2f3b5398c1d2a0998274432cff76def48735e233
|
||||
@@ -39368,12 +39424,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimatch@npm:10.0.3":
|
||||
version: 10.0.3
|
||||
resolution: "minimatch@npm:10.0.3"
|
||||
"minimatch@npm:10.2.1, minimatch@npm:^10.1.1, minimatch@npm:^10.2.0, minimatch@npm:^10.2.1":
|
||||
version: 10.2.1
|
||||
resolution: "minimatch@npm:10.2.1"
|
||||
dependencies:
|
||||
"@isaacs/brace-expansion": "npm:^5.0.0"
|
||||
checksum: 10/d5b8b2538b367f2cfd4aeef27539fddeee58d1efb692102b848e4a968a09780a302c530eb5aacfa8c57f7299155fb4b4e85219ad82664dcef5c66f657111d9b8
|
||||
brace-expansion: "npm:^5.0.2"
|
||||
checksum: 10/d41c195ee1f2c70a75641088e36d0fa5fa286cb6fe48558e6d3bf3d95f640eda453c217707215389b12234df12175f65f338c0b841b36b0125177dbd6a80d026
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -39395,15 +39451,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimatch@npm:^10.1.1, minimatch@npm:^10.2.0, minimatch@npm:^10.2.1":
|
||||
version: 10.2.1
|
||||
resolution: "minimatch@npm:10.2.1"
|
||||
dependencies:
|
||||
brace-expansion: "npm:^5.0.2"
|
||||
checksum: 10/d41c195ee1f2c70a75641088e36d0fa5fa286cb6fe48558e6d3bf3d95f640eda453c217707215389b12234df12175f65f338c0b841b36b0125177dbd6a80d026
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimatch@npm:^5.0.1, minimatch@npm:^5.1.0":
|
||||
version: 5.1.6
|
||||
resolution: "minimatch@npm:5.1.6"
|
||||
|
||||
Reference in New Issue
Block a user