Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

484 B
Raw Blame
export const LINEAR_PRIORITY_LABELS = {
  0: 'none',
  1: 'urgent',
  2: 'high',
  3: 'medium',
  4: 'low'
} as const

export type LinearPriorityLabel =
  (typeof LINEAR_PRIORITY_LABELS)[keyof typeof LINEAR_PRIORITY_LABELS]

export function linearPriorityLabel(priority: number | null | undefined): LinearPriorityLabel {
  if (priority === 1 || priority === 2 || priority === 3 || priority === 4) {
    return LINEAR_PRIORITY_LABELS[priority]
  }
  return LINEAR_PRIORITY_LABELS[0]
}