@parseable/backstage-plugin-logstream
Version:
Backstage plugin for integrating with Parseable log streams
28 lines (22 loc) • 1.17 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
import { Entity } from '@backstage/catalog-model';
declare const parseableLogstreamPlugin: _backstage_core_plugin_api.BackstagePlugin<{
root: _backstage_core_plugin_api.RouteRef<undefined>;
}, {}, {}>;
declare const ParseableLogstreamPage: () => react_jsx_runtime.JSX.Element;
declare const EntityParseableLogstreamContent: () => react_jsx_runtime.JSX.Element;
type LogStreamCardProps = {
title?: string;
};
declare const LogStreamCard: ({ title }: LogStreamCardProps) => react_jsx_runtime.JSX.Element;
/**
* Checks if the Parseable logstream integration is available for the given entity.
* An entity is considered to have Parseable logstream available if it has the
* 'parseable.io/base-url' annotation.
*
* @public
*/
declare const isParseableLogstreamAvailable: (entity: Entity) => boolean;
declare const rootRouteRef: _backstage_core_plugin_api.RouteRef<undefined>;
export { EntityParseableLogstreamContent, LogStreamCard, ParseableLogstreamPage, isParseableLogstreamAvailable, parseableLogstreamPlugin, rootRouteRef };