remove unused param types

Signed-off-by: Mark Dunphy <markd@spotify.com>
This commit is contained in:
Mark Dunphy
2025-04-01 16:03:52 -04:00
parent c758f0fde7
commit f2416c2ba6
3 changed files with 0 additions and 48 deletions
-23
View File
@@ -436,29 +436,6 @@ export type EntityPredicateValue =
$contains: EntityPredicateExpression;
};
// @alpha (undocumented)
export type FactoryDialogParams = {
useOnClick: () => React_2.MouseEventHandler<HTMLLIElement>;
useTitle: () => string;
icon: React_2.JSX.Element;
useIsDisabled?: () => boolean;
};
// @alpha (undocumented)
export type FactoryHrefParams =
| {
useTitle: () => string;
icon: React_2.JSX.Element;
useHref: () => string;
useIsDisabled?: () => boolean;
}
| {
useTitle: () => string;
icon: React_2.JSX.Element;
href: string;
useIsDisabled?: () => boolean;
};
// @alpha
export function isOwnerOf(owner: Entity, entity: Entity): boolean;
@@ -24,29 +24,6 @@ import MenuItem, { MenuItemProps } from '@material-ui/core/MenuItem';
import ListItemIcon from '@material-ui/core/ListItemIcon';
import ListItemText from '@material-ui/core/ListItemText';
/** @alpha */
export type FactoryHrefParams =
| {
useTitle: () => string;
icon: React.JSX.Element;
useHref: () => string;
useIsDisabled?: () => boolean;
}
| {
useTitle: () => string;
icon: React.JSX.Element;
href: string;
useIsDisabled?: () => boolean;
};
/** @alpha */
export type FactoryDialogParams = {
useOnClick: () => React.MouseEventHandler<HTMLLIElement>;
useTitle: () => string;
icon: React.JSX.Element;
useIsDisabled?: () => boolean;
};
/** @alpha */
export type EntityContextMenuItemParams = {
useProps: () => Omit<MenuItemProps, 'onClick'> & {
@@ -28,7 +28,5 @@ export {
EntityContextMenuItemBlueprint,
type ContextMenuItemProps,
type ContextMenuItemComponent,
type FactoryHrefParams,
type FactoryDialogParams,
type EntityContextMenuItemParams,
} from './EntityContextMenuItemBlueprint';