refactor(shared): remove unused runtime helpers and exports (#10166)
This commit is contained in:
1 parent
d0f855bfa9
commit
0671e34279
13 files changed
+16
-93
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user