chore: fix typescript and updating api-reports
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -208,6 +208,12 @@ export const TemplateCategoryPicker: () => JSX.Element | null;
|
||||
// @alpha
|
||||
export const TemplateGroup: (props: TemplateGroupProps) => JSX.Element;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export type TemplateGroupFilter = {
|
||||
title?: React_2.ReactNode;
|
||||
filter: (entity: TemplateEntityV1beta3) => boolean;
|
||||
};
|
||||
|
||||
// @alpha
|
||||
export interface TemplateGroupProps {
|
||||
// (undocumented)
|
||||
@@ -229,6 +235,29 @@ export interface TemplateGroupProps {
|
||||
title: React_2.ReactNode;
|
||||
}
|
||||
|
||||
// @alpha (undocumented)
|
||||
export const TemplateGroups: (props: TemplateGroupsProps) => JSX.Element | null;
|
||||
|
||||
// @alpha (undocumented)
|
||||
export interface TemplateGroupsProps {
|
||||
// (undocumented)
|
||||
additionalLinksForEntity?: (template: TemplateEntityV1beta3) => {
|
||||
icon: IconComponent;
|
||||
text: string;
|
||||
url: string;
|
||||
}[];
|
||||
// (undocumented)
|
||||
groups: TemplateGroupFilter[];
|
||||
// (undocumented)
|
||||
onTemplateSelected?: (template: TemplateEntityV1beta3) => void;
|
||||
// (undocumented)
|
||||
TemplateCardComponent?: React_2.ComponentType<{
|
||||
template: TemplateEntityV1beta3;
|
||||
}>;
|
||||
// (undocumented)
|
||||
templateFilter?: (entity: TemplateEntityV1beta3) => boolean;
|
||||
}
|
||||
|
||||
// @alpha
|
||||
export const useFormDataFromQuery: (
|
||||
initialState?: Record<string, JsonValue>,
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import { parseEntityRef, stringifyEntityRef } from '@backstage/catalog-model';
|
||||
import { useEntityList } from '@backstage/plugin-catalog-react';
|
||||
import {
|
||||
isTemplateEntityV1beta3,
|
||||
|
||||
Reference in New Issue
Block a user