Merge pull request #32631 from backstage/freben/predicates-2
Introduce the `@backstage/filter-predicates` package
This commit is contained in:
@@ -10,12 +10,12 @@ import { ApiRef } from '@backstage/frontend-plugin-api';
|
||||
import { ComponentType } from 'react';
|
||||
import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { EntityPredicate } from '@backstage/plugin-catalog-react/alpha';
|
||||
import { ExtensionBlueprintParams } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionDataRef } from '@backstage/frontend-plugin-api';
|
||||
import { ExtensionInput } from '@backstage/frontend-plugin-api';
|
||||
import { ExternalRouteRef } from '@backstage/core-plugin-api';
|
||||
import { FieldExtensionOptions } from '@backstage/plugin-scaffolder-react';
|
||||
import { FilterPredicate } from '@backstage/filter-predicates';
|
||||
import { FormField } from '@backstage/plugin-scaffolder-react/alpha';
|
||||
import type { FormProps as FormProps_2 } from '@rjsf/core';
|
||||
import { FormProps as FormProps_3 } from '@backstage/plugin-scaffolder-react';
|
||||
@@ -137,10 +137,10 @@ const _default: OverridableFrontendPlugin<
|
||||
config: {
|
||||
label: string | undefined;
|
||||
title: string | undefined;
|
||||
filter: EntityPredicate | undefined;
|
||||
filter: FilterPredicate | undefined;
|
||||
};
|
||||
configInput: {
|
||||
filter?: EntityPredicate | undefined;
|
||||
filter?: FilterPredicate | undefined;
|
||||
label?: string | undefined;
|
||||
title?: string | undefined;
|
||||
};
|
||||
@@ -167,7 +167,7 @@ const _default: OverridableFrontendPlugin<
|
||||
inputs: {};
|
||||
params: {
|
||||
useProps: () => Omit<IconLinkVerticalProps, 'color'>;
|
||||
filter?: EntityPredicate | ((entity: Entity) => boolean);
|
||||
filter?: FilterPredicate | ((entity: Entity) => boolean);
|
||||
};
|
||||
}>;
|
||||
'nav-item:scaffolder': OverridableExtensionDefinition<{
|
||||
|
||||
Reference in New Issue
Block a user