Support multiple Linear workspaces (#1917)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user