@immobiliarelabs/backstage-plugin-gitlab
Version:
<p align="center"> <img src="https://avatars.githubusercontent.com/u/10090828?s=200&v=4" width="200px" alt="logo"/> </p> <h1 align="center">Backstage Plugin GitLab</h1>
213 lines (210 loc) • 12.2 kB
TypeScript
/// <reference types="react" />
import * as _backstage_catalog_model from '@backstage/catalog-model';
import * as react from 'react';
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
/**
* @alpha
*/
declare const gitlabPlugin: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
"api:gitlab/gitlab": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "api";
name: "gitlab";
config: {};
configInput: {};
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
inputs: {};
params: <TApi, TImpl extends TApi, TDeps extends {
[x: string]: unknown;
}>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
}>;
"entity-card:gitlab/coverage": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-card";
name: "coverage";
config: {
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "summary" | "content" | "info" | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "summary" | "content" | "info" | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
params: {
loader: () => Promise<JSX.Element>;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
};
}>;
"entity-card:gitlab/languages": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-card";
name: "languages";
config: {
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "summary" | "content" | "info" | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "summary" | "content" | "info" | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
params: {
loader: () => Promise<JSX.Element>;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
};
}>;
"entity-card:gitlab/merge-requests-stats": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-card";
name: "merge-requests-stats";
config: {
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "summary" | "content" | "info" | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "summary" | "content" | "info" | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
params: {
loader: () => Promise<JSX.Element>;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
};
}>;
"entity-card:gitlab/people": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-card";
name: "people";
config: {
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "summary" | "content" | "info" | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "summary" | "content" | "info" | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
params: {
loader: () => Promise<JSX.Element>;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
};
}>;
"entity-card:gitlab/readme": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-card";
name: "readme";
config: {
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "summary" | "content" | "info" | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "summary" | "content" | "info" | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
params: {
loader: () => Promise<JSX.Element>;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
};
}>;
"entity-card:gitlab/releases": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-card";
name: "releases";
config: {
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type: "summary" | "content" | "info" | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
type?: "summary" | "content" | "info" | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
optional: true;
}>;
inputs: {};
params: {
loader: () => Promise<JSX.Element>;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
};
}>;
"entity-content:gitlab/gitlab": _backstage_frontend_plugin_api.ExtensionDefinition<{
kind: "entity-content";
name: "gitlab";
config: {
path: string | undefined;
title: string | undefined;
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
group: string | false | undefined;
};
configInput: {
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
title?: string | undefined;
path?: string | undefined;
group?: string | false | undefined;
};
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
optional: true;
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
optional: true;
}>;
inputs: {};
params: {
defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
path: string;
defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
title: string;
defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
loader: () => Promise<JSX.Element>;
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
};
}>;
}>;
export { gitlabPlugin as default };