diff --git a/.changeset/sixty-pianos-begin.md b/.changeset/sixty-pianos-begin.md new file mode 100644 index 0000000000..98db19c21d --- /dev/null +++ b/.changeset/sixty-pianos-begin.md @@ -0,0 +1,5 @@ +--- +'@backstage/repo-tools': patch +--- + +Updated `@microsoft/api-extractor` to `7.57.3` and added tests for `getTsDocConfig` diff --git a/packages/config-loader/report.api.md b/packages/config-loader/report.api.md index e2741d609c..a13904f14b 100644 --- a/packages/config-loader/report.api.md +++ b/packages/config-loader/report.api.md @@ -221,7 +221,7 @@ export interface MutableConfigSourceOptions { } // @public -export type Parser = ({ contents }: { contents: string }) => Promise<{ +export type Parser = (input: { contents: string }) => Promise<{ result?: JsonObject; }>; diff --git a/packages/core-components/report.api.md b/packages/core-components/report.api.md index 5e842929e6..0cd8a7d866 100644 --- a/packages/core-components/report.api.md +++ b/packages/core-components/report.api.md @@ -652,15 +652,7 @@ export type HorizontalScrollGridClassKey = export type IconComponentProps = ComponentProps; // @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 = diff --git a/packages/core-plugin-api/report.api.md b/packages/core-plugin-api/report.api.md index dc5a042488..41887f7e63 100644 --- a/packages/core-plugin-api/report.api.md +++ b/packages/core-plugin-api/report.api.md @@ -508,7 +508,7 @@ export { ProfileInfoApi }; // @public export type RouteFunc = ( - ...[params]: Params extends undefined ? readonly [] : readonly [Params] + ...input: Params extends undefined ? readonly [] : readonly [Params] ) => string; // @public diff --git a/packages/frontend-plugin-api/report.api.md b/packages/frontend-plugin-api/report.api.md index 1909b1deef..c83511fc47 100644 --- a/packages/frontend-plugin-api/report.api.md +++ b/packages/frontend-plugin-api/report.api.md @@ -1938,9 +1938,7 @@ export type ResolvedExtensionInputs< // @public export type RouteFunc = ( - ...[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< ? { ( key: TKey, - ...[args]: TranslationFunctionOptions< + ...input: TranslationFunctionOptions< NestedMessageKeys, PluralKeys, IMessages, @@ -2139,7 +2137,7 @@ export type TranslationFunction< ): IMessages[TKey]; ( key: TKey, - ...[args]: TranslationFunctionOptions< + ...input: TranslationFunctionOptions< NestedMessageKeys, PluralKeys, IMessages, diff --git a/packages/frontend-test-utils/report.api.md b/packages/frontend-test-utils/report.api.md index 748eee15d3..d1181f032d 100644 --- a/packages/frontend-test-utils/report.api.md +++ b/packages/frontend-test-utils/report.api.md @@ -275,7 +275,7 @@ export namespace mockApis { // @public export class MockConfigApi implements ConfigApi { - constructor({ data }: { data: JsonObject }); + constructor(input: { data: JsonObject }); get(key?: string): T; getBoolean(key: string): boolean; getConfig(key: string): Config; diff --git a/packages/repo-tools/package.json b/packages/repo-tools/package.json index 57632eedd7..bc27ae4a42 100644 --- a/packages/repo-tools/package.json +++ b/packages/repo-tools/package.json @@ -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", diff --git a/packages/repo-tools/src/commands/api-reports/api-reports/runApiExtraction.test.ts b/packages/repo-tools/src/commands/api-reports/api-reports/runApiExtraction.test.ts new file mode 100644 index 0000000000..c99bdb90eb --- /dev/null +++ b/packages/repo-tools/src/commands/api-reports/api-reports/runApiExtraction.test.ts @@ -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); + }); +}); diff --git a/packages/theme/report.api.md b/packages/theme/report.api.md index f4e31db8e9..064f6f3e6c 100644 --- a/packages/theme/report.api.md +++ b/packages/theme/report.api.md @@ -185,7 +185,7 @@ export function createBaseThemeOptions( palette: PaletteOptions; typography: BackstageTypography; page: PageTheme; - getPageTheme: ({ themeId }: PageThemeSelector) => PageTheme; + getPageTheme: (input: PageThemeSelector) => PageTheme; }; // @public @deprecated diff --git a/packages/ui/report.api.md b/packages/ui/report.api.md index 14283ed1b4..87cea3d387 100644 --- a/packages/ui/report.api.md +++ b/packages/ui/report.api.md @@ -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({ - columnConfig, - data, - loading, - isStale, - error, - pagination, - sort, - rowConfig, - selection, - emptyState, - className, - style, -}: TableProps): JSX_2.Element; +export function Table(input: TableProps): JSX_2.Element; // @public (undocumented) export const TableBody: ( @@ -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: { diff --git a/plugins/catalog-backend-module-gcp/report.api.md b/plugins/catalog-backend-module-gcp/report.api.md index 6260d07c88..784de87d2e 100644 --- a/plugins/catalog-backend-module-gcp/report.api.md +++ b/plugins/catalog-backend-module-gcp/report.api.md @@ -20,22 +20,13 @@ export class GkeEntityProvider implements EntityProvider { // (undocumented) connect(connection: EntityProviderConnection): Promise; // (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; diff --git a/plugins/catalog-react/report-alpha.api.md b/plugins/catalog-react/report-alpha.api.md index a514820f20..acd85b5540 100644 --- a/plugins/catalog-react/report-alpha.api.md +++ b/plugins/catalog-react/report-alpha.api.md @@ -556,9 +556,9 @@ export const EntityIconLinkBlueprint: ExtensionBlueprint<{ }>; // @alpha (undocumented) -export const EntityTableColumnTitle: ({ - translationKey, -}: EntityTableColumnTitleProps) => +export const EntityTableColumnTitle: ( + input: EntityTableColumnTitleProps, +) => | 'System' | 'Title' | 'Domain' diff --git a/plugins/devtools/report.api.md b/plugins/devtools/report.api.md index 804e678e89..a74dd7eb23 100644 --- a/plugins/devtools/report.api.md +++ b/plugins/devtools/report.api.md @@ -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; diff --git a/plugins/home/report.api.md b/plugins/home/report.api.md index 17870ed481..a90d5755ac 100644 --- a/plugins/home/report.api.md +++ b/plugins/home/report.api.md @@ -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 = { diff --git a/plugins/kubernetes-react/report.api.md b/plugins/kubernetes-react/report.api.md index 497c8673c2..bb8057b2e8 100644 --- a/plugins/kubernetes-react/report.api.md +++ b/plugins/kubernetes-react/report.api.md @@ -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; @@ -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; // @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; 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; // (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) => JSX_2.Element; +>( + input: KubernetesStructuredMetadataTableDrawerProps, +) => 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; // @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; +export const useEvents: (input: EventsOptions) => AsyncState; // @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; }>; diff --git a/plugins/notifications/report.api.md b/plugins/notifications/report.api.md index 8a1fd47bad..2c056d4e91 100644 --- a/plugins/notifications/report.api.md +++ b/plugins/notifications/report.api.md @@ -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< diff --git a/plugins/scaffolder-common/report.api.md b/plugins/scaffolder-common/report.api.md index c6c5141cf2..02df01397c 100644 --- a/plugins/scaffolder-common/report.api.md +++ b/plugins/scaffolder-common/report.api.md @@ -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; diff --git a/plugins/scaffolder-node/report-alpha.api.md b/plugins/scaffolder-node/report-alpha.api.md index e1d49f571a..3a01b7f788 100644 --- a/plugins/scaffolder-node/report-alpha.api.md +++ b/plugins/scaffolder-node/report-alpha.api.md @@ -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; @@ -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; // (undocumented) - serializeWorkspace({ - path, - taskId, - }: { - path: string; - taskId: string; - }): Promise; + serializeWorkspace(input: { path: string; taskId: string }): Promise; } // @alpha (undocumented) diff --git a/plugins/techdocs/report.api.md b/plugins/techdocs/report.api.md index e7e9e4b916..9e4ed4ce45 100644 --- a/plugins/techdocs/report.api.md +++ b/plugins/techdocs/report.api.md @@ -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; diff --git a/yarn.lock b/yarn.lock index d1dbdea01c..64f87ae3eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"