Support multiple Linear workspaces (#1917)

This commit is contained in:
Neil
2026-05-15 11:32:46 -07:00
committed by GitHub
parent 7c384a36e3
commit 96f0c683eb
18 changed files with 1735 additions and 618 deletions
+17
View File
@@ -680,16 +680,31 @@ export type GitHubWorkItemDetails = {
export type LinearViewer = {
displayName: string
email: string | null
organizationId?: string
organizationName: string
organizationUrlKey?: string
}
export type LinearWorkspace = LinearViewer & {
id: string
organizationId: string
isLegacy?: true
}
export type LinearWorkspaceSelection = string | 'all'
export type LinearConnectionStatus = {
connected: boolean
viewer: LinearViewer | null
workspaces?: LinearWorkspace[]
activeWorkspaceId?: string | null
selectedWorkspaceId?: LinearWorkspaceSelection | null
}
export type LinearIssue = {
id: string
workspaceId?: string
workspaceName?: string
identifier: string
title: string
description?: string
@@ -885,6 +900,8 @@ export type LinearMember = {
export type LinearTeam = {
id: string
workspaceId?: string
workspaceName?: string
name: string
key: string
}