mirror of
https://github.com/stablyai/orca.git
synced 2026-09-26 08:02:38 +00:00
feat(issues): make issues page writable with inline editing (#1017)
This commit is contained in:
@@ -436,6 +436,8 @@ export type GitHubWorkItemDetails = {
|
||||
baseSha?: string
|
||||
checks?: PRCheckDetail[]
|
||||
files?: GitHubPRFile[]
|
||||
/** Logins of current assignees. Only set for issues. */
|
||||
assignees?: string[]
|
||||
}
|
||||
|
||||
// ─── Linear ─────────────────────────────────────────────────────────
|
||||
@@ -462,11 +464,14 @@ export type LinearIssue = {
|
||||
color: string
|
||||
}
|
||||
team: {
|
||||
id: string
|
||||
name: string
|
||||
key: string
|
||||
}
|
||||
labels: string[]
|
||||
labelIds: string[]
|
||||
assignee?: {
|
||||
id: string
|
||||
displayName: string
|
||||
avatarUrl?: string
|
||||
}
|
||||
@@ -474,6 +479,66 @@ export type LinearIssue = {
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
export type LinearComment = {
|
||||
id: string
|
||||
body: string
|
||||
createdAt: string
|
||||
user?: {
|
||||
displayName: string
|
||||
avatarUrl?: string
|
||||
}
|
||||
}
|
||||
|
||||
// ─── Issue Mutations ────────────────────────────────────────────────
|
||||
|
||||
export type GitHubIssueUpdate = {
|
||||
state?: 'open' | 'closed'
|
||||
title?: string
|
||||
addLabels?: string[]
|
||||
removeLabels?: string[]
|
||||
addAssignees?: string[]
|
||||
removeAssignees?: string[]
|
||||
}
|
||||
|
||||
export type LinearIssueUpdate = {
|
||||
stateId?: string
|
||||
title?: string
|
||||
assigneeId?: string | null
|
||||
priority?: number
|
||||
labelIds?: string[]
|
||||
}
|
||||
|
||||
export type ClassifiedError = {
|
||||
type:
|
||||
| 'permission_denied'
|
||||
| 'not_found'
|
||||
| 'validation_error'
|
||||
| 'rate_limited'
|
||||
| 'network_error'
|
||||
| 'unknown'
|
||||
message: string
|
||||
}
|
||||
|
||||
export type LinearWorkflowState = {
|
||||
id: string
|
||||
name: string
|
||||
type: string
|
||||
color: string
|
||||
position: number
|
||||
}
|
||||
|
||||
export type LinearLabel = {
|
||||
id: string
|
||||
name: string
|
||||
color: string
|
||||
}
|
||||
|
||||
export type LinearMember = {
|
||||
id: string
|
||||
displayName: string
|
||||
avatarUrl?: string
|
||||
}
|
||||
|
||||
// ─── Hooks (orca.yaml) ──────────────────────────────────────────────
|
||||
export type OrcaHooks = {
|
||||
scripts: {
|
||||
|
||||
Reference in New Issue
Block a user