Switch to typescript 5.8.3 (#9152)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-06-04 17:57:10 +05:00
committed by GitHub
parent 07c364c776
commit fcb67d20f8
562 changed files with 5212 additions and 5273 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
import { Client, type PersonUuid, systemAccountUuid, Tx, type WorkspaceUuid } from '@hcengineering/core'
import { type Client, type PersonUuid, systemAccountUuid, type Tx, type WorkspaceUuid } from '@hcengineering/core'
import { createClient } from '@hcengineering/server-client'
import { generateToken } from '@hcengineering/server-token'
+18 -12
View File
@@ -13,9 +13,9 @@
// limitations under the License.
//
import { AccountClient } from '@hcengineering/account-client'
import { type AccountClient } from '@hcengineering/account-client'
import core, {
Branding,
type Branding,
coreId,
DOMAIN_BENCHMARK,
DOMAIN_MIGRATION,
@@ -24,31 +24,37 @@ import core, {
DOMAIN_TX,
groupByArray,
Hierarchy,
MeasureContext,
MigrationState,
type MeasureContext,
type MigrationState,
ModelDb,
platformNow,
platformNowDiff,
systemAccountUuid,
Tx,
TxOperations,
WorkspaceIds,
WorkspaceUuid,
type Tx,
type TxOperations,
type WorkspaceIds,
type WorkspaceUuid,
type Client,
type PersonInfo,
type Ref,
type WithLookup
} from '@hcengineering/core'
import { consoleModelLogger, MigrateOperation, ModelLogger, tryMigrate, type MigrateMode } from '@hcengineering/model'
import {
consoleModelLogger,
type MigrateOperation,
type ModelLogger,
tryMigrate,
type MigrateMode
} from '@hcengineering/model'
import {
DomainIndexHelperImpl,
Pipeline,
StorageAdapter,
type Pipeline,
type StorageAdapter,
type DbAdapter,
type PlatformQueueProducer,
type QueueWorkspaceMessage
} from '@hcengineering/server-core'
import { InitScript, WorkspaceInitializer } from './initializer'
import { type InitScript, WorkspaceInitializer } from './initializer'
import toolPlugin from './plugin'
import { MigrateClientImpl } from './upgrade'
+11 -11
View File
@@ -1,24 +1,24 @@
import { saveCollabJson } from '@hcengineering/collaboration'
import core, {
AttachedDoc,
Class,
Data,
Doc,
type AttachedDoc,
type Class,
type Data,
type Doc,
generateId,
makeCollabId,
MeasureContext,
Mixin,
Ref,
SocialIdType,
Space,
TxOperations,
type MeasureContext,
type Mixin,
type Ref,
type SocialIdType,
type Space,
type TxOperations,
pickPrimarySocialId,
type PersonId,
type PersonInfo,
type WorkspaceIds,
buildSocialIdString
} from '@hcengineering/core'
import { ModelLogger } from '@hcengineering/model'
import { type ModelLogger } from '@hcengineering/model'
import { makeRank } from '@hcengineering/rank'
import { HulyFormatImporter, StorageFileUploader } from '@hcengineering/importer'
import type { StorageAdapter } from '@hcengineering/server-core'
+1 -1
View File
@@ -1,4 +1,4 @@
import { Metadata, plugin, Plugin } from '@hcengineering/platform'
import { type Metadata, plugin, type Plugin } from '@hcengineering/platform'
/**
* @public
+19 -14
View File
@@ -1,26 +1,31 @@
import {
Doc,
DocumentQuery,
Domain,
FindOptions,
Hierarchy,
LowLevelStorage,
MeasureContext,
type Doc,
type DocumentQuery,
type Domain,
type FindOptions,
type Hierarchy,
type LowLevelStorage,
type MeasureContext,
MeasureMetricsContext,
ModelDb,
Ref,
WorkspaceIds,
type ModelDb,
type Ref,
type WorkspaceIds,
type Class
} from '@hcengineering/core'
import { MigrateUpdate, MigrationClient, MigrationIterator, ModelLogger } from '@hcengineering/model'
import {
Pipeline,
StorageAdapter,
type MigrateUpdate,
type MigrationClient,
type MigrationIterator,
type ModelLogger
} from '@hcengineering/model'
import {
type Pipeline,
type StorageAdapter,
workspaceEvents,
type PlatformQueueProducer,
type QueueWorkspaceMessage
} from '@hcengineering/server-core'
import { AccountClient } from '@hcengineering/account-client'
import { type AccountClient } from '@hcengineering/account-client'
/**
* Upgrade client implementation.