import type { SelectOption } from "#lib/components/ui/selectField.ts"; export const branchOptions = ( branches: readonly string[], defaultBranch: string, group?: string ): SelectOption[] => branches.map((branch) => ({ value: branch, hint: branch === defaultBranch ? "default" : undefined, group }));