refactor(web): keep feature component helpers private (#10226)
This commit is contained in:
1 parent
fdcc491e0b
commit
226abe5f91
31 files changed
+46
-79
No files matched your search
@@ -67,7 +67,7 @@ export type PullRequestViewers = PullRequestListResult["viewers"];
|
||||
/** A row plus the environment that read it, where the caller has one to give. */
|
||||
type ScopedEntry = PullRequestListEntry & { readonly environmentId?: string };
|
||||
|
||||
export const pullRequestViewerKey = (entry: ScopedEntry): string =>
|
||||
const pullRequestViewerKey = (entry: ScopedEntry): string =>
|
||||
`${entry.environmentId ?? ""} ${entry.host}`;
|
||||
|
||||
const GROUP_LABELS: Record<PullRequestGroupKey, string> = {
|
||||
|
||||
Reference in new issue
Block a user