UBERF-8425: Global accounts (#7573)

This commit is contained in:
Alexey Zinoviev
2025-02-04 10:31:03 +07:00
committed by GitHub
parent 83e5b16392
commit 2c64ceadb8
765 changed files with 19134 additions and 17955 deletions
+4 -4
View File
@@ -29,7 +29,7 @@ import github from './plugin'
import {
DateRangeMode,
IndexKind,
type Account,
type PersonId,
type Class,
type Data,
type Doc,
@@ -41,7 +41,7 @@ import {
} from '@hcengineering/core'
import { type Person } from '@hcengineering/contact'
import contact, { TContact } from '@hcengineering/model-contact'
import contact, { TPerson } from '@hcengineering/model-contact'
import presentation from '@hcengineering/model-presentation'
import tracker, { TComponent, TIssue, TMilestone, TProject, issuesOptions } from '@hcengineering/model-tracker'
import view, { classPresenter } from '@hcengineering/model-view'
@@ -412,7 +412,7 @@ export class TGithubTodo extends TToDO implements GithubTodo {
@Mixin(github.mixin.GithubUser, contact.class.Contact)
@UX(github.string.GithubUser, github.icon.Github)
export class TGithubUser extends TContact implements GithubUser {
export class TGithubUser extends TPerson implements GithubUser {
@Prop(TypeHyperlink(), getEmbeddedLabel('Github URL'))
@Index(IndexKind.FullText)
@ReadOnly()
@@ -554,7 +554,7 @@ export class TGithubReviewThread extends TActivityMessage implements GithubRevie
originalStartLine!: number | null
path!: string
startDiffSide!: 'LEFT' | 'RIGHT' | null
resolvedBy!: Ref<Account> | null
resolvedBy!: PersonId | null
threadId!: string
}