UNPKG

@veecode-platform/backstage-plugin-tenant-explorer

Version:

46 lines (39 loc) 1.71 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { TableColumn, TableProps } from '@backstage/core-components'; import { Entity, CompoundEntityRef } from '@backstage/catalog-model'; import { UserListFilterKind } from '@backstage/plugin-catalog-react'; import * as _backstage_core_plugin_api from '@backstage/core-plugin-api'; /** @public */ interface CatalogTableRow { entity: Entity; resolved: { name: string; partOfSystemRelationTitle?: string; partOfSystemRelations: CompoundEntityRef[]; ownedByRelationsTitle?: string; ownedByRelations: CompoundEntityRef[]; }; } /** * DefaultTenantExplorerPageProps * @public */ type DefaultTenantExplorerPageProps = { initiallySelectedFilter?: UserListFilterKind; columns?: TableColumn<CatalogTableRow>[]; actions?: TableProps<CatalogTableRow>['actions']; }; /** * DefaultTenantExplorerPage * @public */ declare const DefaultTenantExplorerPage: (props: DefaultTenantExplorerPageProps) => react_jsx_runtime.JSX.Element; declare const TenantOverview: () => react_jsx_runtime.JSX.Element; declare const TenantExplorerPlugin: _backstage_core_plugin_api.BackstagePlugin<{ root: _backstage_core_plugin_api.RouteRef<undefined>; }, {}, {}>; declare const TenantOverviewPage: () => react_jsx_runtime.JSX.Element; declare const TenantExplorerPage: (props: DefaultTenantExplorerPageProps) => react_jsx_runtime.JSX.Element; declare const isTenantKind: (entity: Entity) => boolean; export { DefaultTenantExplorerPage, TenantExplorerPage, TenantExplorerPlugin, TenantOverview, TenantOverviewPage, isTenantKind, TenantExplorerPlugin as plugin }; export type { DefaultTenantExplorerPageProps };