refactor(shared): remove unused runtime helpers and exports (#10166)

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-09-05 15:54:59 -07:00
1 parent d0f855bfa9
commit 0671e34279
13 files changed
+16 -93

No files matched your search

+1 -12
View File
@@ -92,23 +92,12 @@ export function resolveChangeRequestPresentation(
}
}
export function resolveChangeRequestPresentationForKind(
function resolveChangeRequestPresentationForKind(
kind: SourceControlProviderKind,
): ChangeRequestPresentation {
return resolveChangeRequestPresentation({ kind, name: "", baseUrl: "" });
}
export function formatChangeRequestAction(
verb: "View" | "Create",
presentation: ChangeRequestPresentation,
): string {
return `${verb} ${presentation.shortName}`;
}
export function formatCreateChangeRequestPhrase(presentation: ChangeRequestPresentation): string {
return `create ${presentation.shortName}`;
}
export function getChangeRequestTerminology(
provider: SourceControlProviderInfo | null | undefined,
): ChangeRequestTerminology {