feat: clean up the reports a little more

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-08-29 10:31:40 +02:00
parent bd817209dd
commit 40f958c9fb
3 changed files with 4 additions and 14 deletions
+3 -7
View File
@@ -138,12 +138,6 @@ export const columnFactories: Readonly<{
createSpecTypeColumn<T_7 extends Entity>(): TableColumn<T_7>;
}>;
// @public (undocumented)
export interface ConstructableFilter<T> {
// (undocumented)
new (values: string[]): T;
}
// @public (undocumented)
export type DefaultEntityFilters = {
kind?: EntityKindFilter;
@@ -173,7 +167,9 @@ export type EntityAutocompletePickerProps<
name: Name;
path: string;
showCounts?: boolean;
Filter: ConstructableFilter<NonNullable<T[Name]>>;
Filter: {
new (values: string[]): NonNullable<T[Name]>;
};
InputProps?: TextFieldProps;
initialSelectedOptions?: string[];
};
@@ -38,11 +38,6 @@ export type AllowedEntityFilters<T extends DefaultEntityFilters> = {
: never;
}[keyof T];
/** @public */
export interface ConstructableFilter<T> {
new (values: string[]): T;
}
/** @public */
export type EntityAutocompletePickerProps<
T extends DefaultEntityFilters = DefaultEntityFilters,
@@ -52,7 +47,7 @@ export type EntityAutocompletePickerProps<
name: Name;
path: string;
showCounts?: boolean;
Filter: ConstructableFilter<NonNullable<T[Name]>>;
Filter: { new (values: string[]): NonNullable<T[Name]> };
InputProps?: TextFieldProps;
initialSelectedOptions?: string[];
};
@@ -18,5 +18,4 @@ export { EntityAutocompletePicker } from './EntityAutocompletePicker';
export type {
EntityAutocompletePickerProps,
AllowedEntityFilters,
ConstructableFilter,
} from './EntityAutocompletePicker';