feat: clean up the reports a little more
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -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[];
|
||||
};
|
||||
|
||||
+1
-6
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user