Skip to content

Latest commit

 

History

History
156 lines (142 loc) · 5.7 KB

api-report.md

File metadata and controls

156 lines (142 loc) · 5.7 KB

API Report File for "@backstage/plugin-jenkins"

Do not edit this file. It is a report generated by API Extractor.

/// <reference types="react" />

import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { DiscoveryApi } from '@backstage/core-plugin-api';
import { Entity } from '@backstage/catalog-model';
import type { EntityName } from '@backstage/catalog-model';
import type { EntityRef } from '@backstage/catalog-model';
import { IdentityApi } from '@backstage/core-plugin-api';
import { InfoCardVariants } from '@backstage/core-components';
import { RouteRef } from '@backstage/core-plugin-api';

// Warning: (ae-missing-release-tag) "EntityJenkinsContent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const EntityJenkinsContent: (_props: {
  entity?: Entity | undefined;
}) => JSX.Element;

// Warning: (ae-missing-release-tag) "EntityLatestJenkinsRunCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const EntityLatestJenkinsRunCard: ({
  branch,
  variant,
}: {
  branch: string;
  variant?: InfoCardVariants | undefined;
}) => JSX.Element;

// Warning: (ae-missing-release-tag) "isJenkinsAvailable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
const isJenkinsAvailable: (entity: Entity) => boolean;
export { isJenkinsAvailable };
export { isJenkinsAvailable as isPluginApplicableToEntity };

// Warning: (ae-missing-release-tag) "JENKINS_ANNOTATION" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const JENKINS_ANNOTATION = 'jenkins.io/job-full-name';

// Warning: (ae-missing-release-tag) "JenkinsApi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface JenkinsApi {
  // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
  // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
  // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
  // Warning: (ae-forgotten-export) The symbol "Build" needs to be exported by the entry point index.d.ts
  getBuild(options: {
    entity: EntityName;
    jobFullName: string;
    buildNumber: string;
  }): Promise<Build>;
  // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
  // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
  // Warning: (ae-forgotten-export) The symbol "Project" needs to be exported by the entry point index.d.ts
  getProjects(options: {
    entity: EntityRef;
    filter: {
      branch?: string;
    };
  }): Promise<Project[]>;
  // (undocumented)
  retry(options: {
    entity: EntityName;
    jobFullName: string;
    buildNumber: string;
  }): Promise<Response>;
}

// Warning: (ae-missing-release-tag) "jenkinsApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const jenkinsApiRef: ApiRef<JenkinsApi>;

// Warning: (ae-missing-release-tag) "JenkinsClient" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class JenkinsClient implements JenkinsApi {
  constructor(options: {
    discoveryApi: DiscoveryApi;
    identityApi: IdentityApi;
  });
  // (undocumented)
  getBuild({
    entity,
    jobFullName,
    buildNumber,
  }: {
    entity: EntityName;
    jobFullName: string;
    buildNumber: string;
  }): Promise<Build>;
  // (undocumented)
  getProjects({
    entity,
    filter,
  }: {
    entity: EntityName;
    filter: {
      branch?: string;
    };
  }): Promise<Project[]>;
  // (undocumented)
  retry({
    entity,
    jobFullName,
    buildNumber,
  }: {
    entity: EntityName;
    jobFullName: string;
    buildNumber: string;
  }): Promise<Response>;
}

// Warning: (ae-missing-release-tag) "jenkinsPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
const jenkinsPlugin: BackstagePlugin<
  {
    entityContent: RouteRef<undefined>;
  },
  {}
>;
export { jenkinsPlugin };
export { jenkinsPlugin as plugin };

// Warning: (ae-missing-release-tag) "LatestRunCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const LatestRunCard: ({
  branch,
  variant,
}: {
  branch: string;
  variant?: InfoCardVariants | undefined;
}) => JSX.Element;

// Warning: (ae-missing-release-tag) "LEGACY_JENKINS_ANNOTATION" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const LEGACY_JENKINS_ANNOTATION = 'jenkins.io/github-folder';

// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "Router" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const Router: (_props: Props) => JSX.Element;