mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
feat: bump typescript (#14507)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded TypeScript toolchain to v5.9.3 across packages and tooling. * Removed legacy ts-node and migrated developer tooling to newer runtimes (tsx/SWC) where applicable. * **Documentation** * Updated developer CLI docs and runtime behavior notes to reflect the new loader/runtime for running TypeScript files; no changes to public APIs or end-user behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -9,7 +9,7 @@ import { CryptoHelper, GraphqlBadRequest, Mutex } from '../../../base';
|
||||
import { ConfigModule } from '../../../base/config';
|
||||
import { ServerConfigModule } from '../../../core/config';
|
||||
import { Models } from '../../../models';
|
||||
import { CalendarModule } from '..';
|
||||
import { CalendarModule } from '../index';
|
||||
import {
|
||||
CalDAVProvider,
|
||||
CalendarProviderFactory,
|
||||
|
||||
@@ -13,7 +13,7 @@ import type {
|
||||
UpsertCalendarSubscriptionInput,
|
||||
} from '../../../models';
|
||||
import { Models } from '../../../models';
|
||||
import { CalendarModule } from '..';
|
||||
import { CalendarModule } from '../index';
|
||||
import {
|
||||
CalendarProvider,
|
||||
CalendarProviderFactory,
|
||||
|
||||
@@ -4,8 +4,8 @@ import Sinon from 'sinon';
|
||||
import { createModule } from '../../../__tests__/create-module';
|
||||
import { Config } from '../../../base';
|
||||
import { ConfigModule } from '../../../base/config';
|
||||
import { IndexerModule } from '..';
|
||||
import { IndexerEvent } from '../event';
|
||||
import { IndexerModule } from '../index';
|
||||
|
||||
const module = await createModule({
|
||||
imports: [
|
||||
|
||||
@@ -10,8 +10,8 @@ import { JOB_SIGNAL } from '../../../base';
|
||||
import { ConfigModule } from '../../../base/config';
|
||||
import { ServerConfigModule } from '../../../core/config';
|
||||
import { Models } from '../../../models';
|
||||
import { IndexerModule, IndexerService } from '..';
|
||||
import { SearchProviderFactory } from '../factory';
|
||||
import { IndexerModule, IndexerService } from '../index';
|
||||
import { IndexerJob } from '../job';
|
||||
import { ManticoresearchProvider } from '../providers';
|
||||
|
||||
|
||||
+1
-1
@@ -12,8 +12,8 @@ import {
|
||||
import { Mockers } from '../../../../__tests__/mocks';
|
||||
import { ConfigModule } from '../../../../base/config';
|
||||
import { User, Workspace } from '../../../../models';
|
||||
import { IndexerModule } from '../../';
|
||||
import { SearchProviderType } from '../../config';
|
||||
import { IndexerModule } from '../../index';
|
||||
import { AggregateQueryDSL, ElasticsearchProvider } from '../../providers';
|
||||
import { blockMapping, docMapping, SearchTable } from '../../tables';
|
||||
|
||||
|
||||
+1
-1
@@ -8,8 +8,8 @@ import { omit } from 'lodash-es';
|
||||
import { createModule } from '../../../../__tests__/create-module';
|
||||
import { Mockers } from '../../../../__tests__/mocks';
|
||||
import { ConfigModule } from '../../../../base/config';
|
||||
import { IndexerModule } from '../../';
|
||||
import { SearchProviderType } from '../../config';
|
||||
import { IndexerModule } from '../../index';
|
||||
import { ManticoresearchProvider } from '../../providers';
|
||||
import { blockSQL, docSQL, SearchTable } from '../../tables';
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ import { createModule } from '../../../__tests__/create-module';
|
||||
import { Mockers } from '../../../__tests__/mocks';
|
||||
import { ConfigModule } from '../../../base/config';
|
||||
import { ServerConfigModule } from '../../../core/config';
|
||||
import { IndexerModule, IndexerService } from '..';
|
||||
import { SearchProviderFactory } from '../factory';
|
||||
import { IndexerModule, IndexerService } from '../index';
|
||||
import { ManticoresearchProvider } from '../providers';
|
||||
import { UpsertDoc } from '../service';
|
||||
import { SearchTable } from '../tables';
|
||||
|
||||
Reference in New Issue
Block a user