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
@@ -5,7 +5,7 @@ import { ActivityMessage, ActivityMessageViewlet } from '@hcengineering/activity
import { Attachment } from '@hcengineering/attachment'
import { Person } from '@hcengineering/contact'
import {
Account,
PersonId,
AnyAttribute,
AttachedDoc,
Class,
@@ -35,7 +35,7 @@ export interface DocSyncInfo extends Doc {
url: string
objectClass: Ref<Class<Doc>>
lastGithubUser?: Ref<Account> | null
lastGithubUser?: PersonId | null
// If repository is null, then document is not yet synced.
repository: Ref<GithubIntegrationRepository> | null
@@ -158,7 +158,7 @@ export enum GithubReviewDecisionState {
}
export interface LastReviewState {
user: Ref<Account>
user: PersonId
state: GithubPullRequestReviewState
}
/**
@@ -267,7 +267,7 @@ export interface GithubReviewThread extends ActivityMessage {
originalStartLine: number | null
path: string
startDiffSide: 'LEFT' | 'RIGHT' | null
resolvedBy: Ref<Account> | null
resolvedBy: PersonId | null
}
export interface GithubReviewComment extends AttachedDoc {