|
|
|
@@ -7,9 +7,145 @@
|
|
|
|
|
|
|
|
|
|
import { ApiRef } from '@backstage/core-plugin-api';
|
|
|
|
|
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
|
|
|
|
import { PropsWithChildren } from 'react';
|
|
|
|
|
import { default as React_2 } from 'react';
|
|
|
|
|
import { ReactNode } from 'react';
|
|
|
|
|
import { RouteRef } from '@backstage/core-plugin-api';
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "calverRegexp" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const calverRegexp: RegExp;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "GetCommitResult" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "createMockCommit" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const createMockCommit: (
|
|
|
|
|
overrides: Partial<GetCommitResult['commit']>,
|
|
|
|
|
) => GetCommitResult;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "GetTagResult" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "createMockTag" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const createMockTag: (overrides: Partial<GetTagResult['tag']>) => GetTagResult;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "DifferProps" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "Differ" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const Differ: ({ current, next, icon }: DifferProps) => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "DISABLE_CACHE" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const DISABLE_CACHE: {
|
|
|
|
|
readonly headers: {
|
|
|
|
|
readonly 'If-None-Match': '';
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "Divider" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const Divider: () => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "SemverTagParts" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "getBumpedSemverTagParts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public
|
|
|
|
|
function getBumpedSemverTagParts(
|
|
|
|
|
tagParts: SemverTagParts,
|
|
|
|
|
semverBumpLevel: keyof typeof SEMVER_PARTS,
|
|
|
|
|
): {
|
|
|
|
|
bumpedTagParts: {
|
|
|
|
|
prefix: string;
|
|
|
|
|
major: number;
|
|
|
|
|
minor: number;
|
|
|
|
|
patch: number;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "getBumpedTag" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public
|
|
|
|
|
function getBumpedTag({
|
|
|
|
|
project,
|
|
|
|
|
tag,
|
|
|
|
|
bumpLevel,
|
|
|
|
|
}: {
|
|
|
|
|
project: Project;
|
|
|
|
|
tag: string;
|
|
|
|
|
bumpLevel: keyof typeof SEMVER_PARTS;
|
|
|
|
|
}):
|
|
|
|
|
| {
|
|
|
|
|
bumpedTag: string;
|
|
|
|
|
tagParts: CalverTagParts;
|
|
|
|
|
error: undefined;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
bumpedTag: string;
|
|
|
|
|
tagParts: {
|
|
|
|
|
prefix: string;
|
|
|
|
|
major: number;
|
|
|
|
|
minor: number;
|
|
|
|
|
patch: number;
|
|
|
|
|
};
|
|
|
|
|
error: undefined;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
error: AlertError;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "getCalverTagParts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
function getCalverTagParts(tag: string):
|
|
|
|
|
| {
|
|
|
|
|
error: AlertError;
|
|
|
|
|
tagParts?: undefined;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
tagParts: CalverTagParts;
|
|
|
|
|
error?: undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "getSemverTagParts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
function getSemverTagParts(tag: string):
|
|
|
|
|
| {
|
|
|
|
|
error: AlertError;
|
|
|
|
|
tagParts?: undefined;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
tagParts: SemverTagParts;
|
|
|
|
|
error?: undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "getShortCommitHash" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
function getShortCommitHash(hash: string): string;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "getTagParts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public
|
|
|
|
|
function getTagParts({ project, tag }: { project: Project; tag: string }):
|
|
|
|
|
| {
|
|
|
|
|
error: AlertError;
|
|
|
|
|
tagParts?: undefined;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
tagParts: CalverTagParts;
|
|
|
|
|
error?: undefined;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
tagParts: SemverTagParts;
|
|
|
|
|
error?: undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "GitReleaseApi" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "gitReleaseManagerApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
@@ -32,5 +168,382 @@ export const gitReleaseManagerPlugin: BackstagePlugin<
|
|
|
|
|
{}
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "InfoCardPlus" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const InfoCardPlus: ({
|
|
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
children?: React_2.ReactNode;
|
|
|
|
|
}) => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "internals" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
export const internals: {
|
|
|
|
|
components: typeof components;
|
|
|
|
|
constants: typeof constants;
|
|
|
|
|
helpers: typeof helpers;
|
|
|
|
|
testHelpers: typeof testHelpers;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "isCalverTagParts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
function isCalverTagParts(
|
|
|
|
|
project: Project,
|
|
|
|
|
_tagParts: unknown,
|
|
|
|
|
): _tagParts is CalverTagParts;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "isProjectValid" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
function isProjectValid(project: any): project is Project;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "LinearProgressWithLabel" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
function LinearProgressWithLabel(props: {
|
|
|
|
|
progress: number;
|
|
|
|
|
responseSteps: ResponseStep[];
|
|
|
|
|
}): JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockApiClient" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public
|
|
|
|
|
const mockApiClient: GitReleaseApi;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockBumpedTag" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockBumpedTag = 'rc-2020.01.01_1337';
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockCalverProject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockCalverProject: Project;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockDefaultBranch" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockDefaultBranch = 'mock_defaultBranch';
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "getReleaseCandidateGitInfo" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockNextGitInfoCalver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockNextGitInfoCalver: ReturnType<typeof getReleaseCandidateGitInfo>;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockNextGitInfoSemver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockNextGitInfoSemver: ReturnType<typeof getReleaseCandidateGitInfo>;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockReleaseBranch" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockReleaseBranch: {
|
|
|
|
|
name: string;
|
|
|
|
|
links: {
|
|
|
|
|
html: string;
|
|
|
|
|
};
|
|
|
|
|
commit: {
|
|
|
|
|
sha: string;
|
|
|
|
|
commit: {
|
|
|
|
|
tree: {
|
|
|
|
|
sha: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockReleaseCandidateCalver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockReleaseCandidateCalver: {
|
|
|
|
|
targetCommitish: string;
|
|
|
|
|
tagName: string;
|
|
|
|
|
prerelease: boolean;
|
|
|
|
|
id: number;
|
|
|
|
|
htmlUrl: string;
|
|
|
|
|
body?: string | null | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockReleaseCandidateSemver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockReleaseCandidateSemver: {
|
|
|
|
|
targetCommitish: string;
|
|
|
|
|
tagName: string;
|
|
|
|
|
prerelease: boolean;
|
|
|
|
|
id: number;
|
|
|
|
|
htmlUrl: string;
|
|
|
|
|
body?: string | null | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "ReleaseStats" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockReleaseStats" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockReleaseStats: ReleaseStats;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockReleaseVersionCalver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockReleaseVersionCalver: {
|
|
|
|
|
targetCommitish: string;
|
|
|
|
|
tagName: string;
|
|
|
|
|
prerelease: boolean;
|
|
|
|
|
id: number;
|
|
|
|
|
htmlUrl: string;
|
|
|
|
|
body?: string | null | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockReleaseVersionSemver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockReleaseVersionSemver: {
|
|
|
|
|
targetCommitish: string;
|
|
|
|
|
tagName: string;
|
|
|
|
|
prerelease: boolean;
|
|
|
|
|
id: number;
|
|
|
|
|
htmlUrl: string;
|
|
|
|
|
body?: string | null | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockSearchCalver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockSearchCalver: string;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockSearchSemver" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockSearchSemver: string;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockSelectedPatchCommit" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockSelectedPatchCommit: {
|
|
|
|
|
htmlUrl: string;
|
|
|
|
|
sha: string;
|
|
|
|
|
author: {
|
|
|
|
|
htmlUrl?: string | undefined;
|
|
|
|
|
login?: string | undefined;
|
|
|
|
|
};
|
|
|
|
|
commit: {
|
|
|
|
|
message: string;
|
|
|
|
|
};
|
|
|
|
|
firstParentSha?: string | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockSemverProject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockSemverProject: Project;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockTagParts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockTagParts: CalverTagParts;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "mockUser" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const mockUser: {
|
|
|
|
|
username: string;
|
|
|
|
|
email: string;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "NoLatestRelease" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const NoLatestRelease: () => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "DialogProps" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "ResponseStepDialog" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const ResponseStepDialog: ({
|
|
|
|
|
progress,
|
|
|
|
|
responseSteps,
|
|
|
|
|
title,
|
|
|
|
|
}: DialogProps) => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "ResponseStepListProps" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "ResponseStepList" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const ResponseStepList: ({
|
|
|
|
|
responseSteps,
|
|
|
|
|
animationDelay,
|
|
|
|
|
loading,
|
|
|
|
|
denseList,
|
|
|
|
|
children,
|
|
|
|
|
}: PropsWithChildren<ResponseStepListProps>) => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-forgotten-export) The symbol "ResponseStepListItemProps" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// Warning: (ae-missing-release-tag) "ResponseStepListItem" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const ResponseStepListItem: ({
|
|
|
|
|
responseStep,
|
|
|
|
|
animationDelay,
|
|
|
|
|
}: ResponseStepListItemProps) => JSX.Element;
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "SEMVER_PARTS" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const SEMVER_PARTS: {
|
|
|
|
|
major: 'major';
|
|
|
|
|
minor: 'minor';
|
|
|
|
|
patch: 'patch';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "semverRegexp" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const semverRegexp: RegExp;
|
|
|
|
|
|
|
|
|
|
declare namespace stats {
|
|
|
|
|
export { mockReleaseStats };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "TAG_OBJECT_MESSAGE" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const TAG_OBJECT_MESSAGE =
|
|
|
|
|
'Tag generated by your friendly neighborhood Backstage Release Manager';
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "TEST_IDS" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const TEST_IDS: {
|
|
|
|
|
info: {
|
|
|
|
|
info: string;
|
|
|
|
|
infoFeaturePlus: string;
|
|
|
|
|
};
|
|
|
|
|
createRc: {
|
|
|
|
|
cta: string;
|
|
|
|
|
semverSelect: string;
|
|
|
|
|
};
|
|
|
|
|
promoteRc: {
|
|
|
|
|
mockedPromoteRcBody: string;
|
|
|
|
|
notRcWarning: string;
|
|
|
|
|
promoteRc: string;
|
|
|
|
|
cta: string;
|
|
|
|
|
};
|
|
|
|
|
patch: {
|
|
|
|
|
error: string;
|
|
|
|
|
loading: string;
|
|
|
|
|
notPrerelease: string;
|
|
|
|
|
body: string;
|
|
|
|
|
};
|
|
|
|
|
form: {
|
|
|
|
|
owner: {
|
|
|
|
|
loading: string;
|
|
|
|
|
select: string;
|
|
|
|
|
error: string;
|
|
|
|
|
empty: string;
|
|
|
|
|
};
|
|
|
|
|
repo: {
|
|
|
|
|
loading: string;
|
|
|
|
|
select: string;
|
|
|
|
|
error: string;
|
|
|
|
|
empty: string;
|
|
|
|
|
};
|
|
|
|
|
versioningStrategy: {
|
|
|
|
|
radioGroup: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
components: {
|
|
|
|
|
divider: string;
|
|
|
|
|
noLatestRelease: string;
|
|
|
|
|
circularProgress: string;
|
|
|
|
|
responseStepListDialogContent: string;
|
|
|
|
|
responseStepListItem: string;
|
|
|
|
|
responseStepListItemIconSuccess: string;
|
|
|
|
|
responseStepListItemIconFailure: string;
|
|
|
|
|
responseStepListItemIconLink: string;
|
|
|
|
|
responseStepListItemIconDefault: string;
|
|
|
|
|
differ: {
|
|
|
|
|
current: string;
|
|
|
|
|
next: string;
|
|
|
|
|
icons: {
|
|
|
|
|
tag: string;
|
|
|
|
|
branch: string;
|
|
|
|
|
github: string;
|
|
|
|
|
slack: string;
|
|
|
|
|
versioning: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
linearProgressWithLabel: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
declare namespace testHelpers_2 {
|
|
|
|
|
export {
|
|
|
|
|
createMockTag,
|
|
|
|
|
createMockCommit,
|
|
|
|
|
mockUser,
|
|
|
|
|
mockSemverProject,
|
|
|
|
|
mockCalverProject,
|
|
|
|
|
mockSearchCalver,
|
|
|
|
|
mockSearchSemver,
|
|
|
|
|
mockDefaultBranch,
|
|
|
|
|
mockNextGitInfoSemver,
|
|
|
|
|
mockNextGitInfoCalver,
|
|
|
|
|
mockTagParts,
|
|
|
|
|
mockBumpedTag,
|
|
|
|
|
mockReleaseCandidateCalver,
|
|
|
|
|
mockReleaseVersionCalver,
|
|
|
|
|
mockReleaseCandidateSemver,
|
|
|
|
|
mockReleaseVersionSemver,
|
|
|
|
|
mockReleaseBranch,
|
|
|
|
|
mockSelectedPatchCommit,
|
|
|
|
|
mockApiClient,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare namespace testIds {
|
|
|
|
|
export { TEST_IDS };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "validateTagName" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const validateTagName: ({
|
|
|
|
|
project,
|
|
|
|
|
tagName,
|
|
|
|
|
}: {
|
|
|
|
|
project: Project;
|
|
|
|
|
tagName?: string | undefined;
|
|
|
|
|
}) =>
|
|
|
|
|
| {
|
|
|
|
|
tagNameError: null;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
tagNameError: AlertError | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warning: (ae-missing-release-tag) "VERSIONING_STRATEGIES" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
|
|
|
//
|
|
|
|
|
// @public (undocumented)
|
|
|
|
|
const VERSIONING_STRATEGIES: {
|
|
|
|
|
semver: 'semver';
|
|
|
|
|
calver: 'calver';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Warnings were encountered during analysis:
|
|
|
|
|
//
|
|
|
|
|
// src/components/ResponseStepDialog/LinearProgressWithLabel.d.ts:5:5 - (ae-forgotten-export) The symbol "ResponseStep" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/helpers/getBumpedTag.d.ts:14:5 - (ae-forgotten-export) The symbol "Project" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/helpers/getBumpedTag.d.ts:19:5 - (ae-forgotten-export) The symbol "CalverTagParts" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/helpers/getBumpedTag.d.ts:31:5 - (ae-forgotten-export) The symbol "AlertError" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/index.d.ts:4:5 - (ae-forgotten-export) The symbol "components" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/index.d.ts:5:5 - (ae-forgotten-export) The symbol "constants" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/index.d.ts:6:5 - (ae-forgotten-export) The symbol "helpers" needs to be exported by the entry point index.d.ts
|
|
|
|
|
// src/index.d.ts:7:5 - (ae-forgotten-export) The symbol "testHelpers" needs to be exported by the entry point index.d.ts
|
|
|
|
|
|
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
|
```
|
|
|
|
|