Files
orca/src/shared/task-source-runtime-capabilities.ts
T

24 lines
1.0 KiB
TypeScript

import { JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY } from './jira/jira-agent-capability'
import {
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
JIRA_DETAIL_RUNTIME_CAPABILITIES,
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY
} from './jira/jira-detail-capabilities'
import { JIRA_STATUS_FILTER_RUNTIME_CAPABILITY } from './jira/jira-quick-filters'
import { JIRA_SAVED_FILTER_RUNTIME_CAPABILITY } from './jira/jira-saved-filter-capability'
export const TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY = 'task-source-context.v1' as const
export const LINEAR_ISSUE_ATTRIBUTE_FILTER_RUNTIME_CAPABILITY =
'linear.issue-attribute-filter.v1' as const
export const TASK_SOURCE_RUNTIME_CAPABILITIES = [
TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY,
LINEAR_ISSUE_ATTRIBUTE_FILTER_RUNTIME_CAPABILITY,
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY,
JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY,
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
...JIRA_DETAIL_RUNTIME_CAPABILITIES,
JIRA_SAVED_FILTER_RUNTIME_CAPABILITY,
JIRA_STATUS_FILTER_RUNTIME_CAPABILITY
] as const