mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Doc as BlockSuiteDoc } from '@blocksuite/store';
|
||||
|
||||
import { createIdentifier, type ServiceCollection } from '../di';
|
||||
import type { ServiceCollection } from '../di';
|
||||
import { createIdentifier } from '../di';
|
||||
import type { PageRecord } from './record';
|
||||
import { PageScope } from './service-scope';
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ export * from './record';
|
||||
export * from './record-list';
|
||||
export * from './service-scope';
|
||||
|
||||
import { type ServiceCollection, ServiceProvider } from '../di';
|
||||
import type { ServiceCollection } from '../di';
|
||||
import { ServiceProvider } from '../di';
|
||||
import { CleanupService } from '../lifecycle';
|
||||
import { Workspace, WorkspaceLocalState, WorkspaceScope } from '../workspace';
|
||||
import { BlockSuitePageContext, PageRecordContext } from './context';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { isEqual } from 'lodash-es';
|
||||
import { distinctUntilChanged, map, Observable } from 'rxjs';
|
||||
|
||||
import { LiveData } from '../livedata';
|
||||
import { type Workspace, type WorkspaceLocalState } from '../workspace';
|
||||
import type { Workspace, WorkspaceLocalState } from '../workspace';
|
||||
import { PageRecord } from './record';
|
||||
|
||||
export class PageRecordList {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { createScope, type ServiceScope } from '../di';
|
||||
import type { ServiceScope } from '../di';
|
||||
import { createScope } from '../di';
|
||||
import { WorkspaceScope } from '../workspace';
|
||||
|
||||
export const PageScope: ServiceScope = createScope('page', WorkspaceScope);
|
||||
|
||||
Reference in New Issue
Block a user