style: no import infra submodule (#6278)

This commit is contained in:
EYHN
2024-03-25 03:55:29 +00:00
parent b93871f045
commit 7ce2bfbf0b
81 changed files with 105 additions and 122 deletions

View File

@@ -1,6 +1,6 @@
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
import { ImportIcon, PlusIcon } from '@blocksuite/icons';
import { registerAffineCommand } from '@toeverything/infra/command';
import { registerAffineCommand } from '@toeverything/infra';
import type { createStore } from 'jotai';
import { openCreateWorkspaceModalAtom } from '../atoms';

View File

@@ -1,6 +1,6 @@
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
import { ContactWithUsIcon, NewIcon } from '@blocksuite/icons';
import { registerAffineCommand } from '@toeverything/infra/command';
import { registerAffineCommand } from '@toeverything/infra';
import type { createStore } from 'jotai';
import { openSettingModalAtom } from '../atoms';

View File

@@ -1,6 +1,6 @@
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
import { SidebarIcon } from '@blocksuite/icons';
import { registerAffineCommand } from '@toeverything/infra/command';
import { registerAffineCommand } from '@toeverything/infra';
import type { createStore } from 'jotai';
import { appSidebarOpenAtom } from '../components/app-sidebar';

View File

@@ -2,7 +2,7 @@ import { WorkspaceSubPath } from '@affine/core/shared';
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
import { ArrowRightBigIcon } from '@blocksuite/icons';
import type { DocCollection } from '@blocksuite/store';
import { registerAffineCommand } from '@toeverything/infra/command';
import { registerAffineCommand } from '@toeverything/infra';
import type { createStore } from 'jotai';
import { openSettingModalAtom, openWorkspaceListModalAtom } from '../atoms';

View File

@@ -1,11 +1,11 @@
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
import { SettingsIcon } from '@blocksuite/icons';
import type { AffineEditorContainer } from '@blocksuite/presets';
import { appSettingAtom } from '@toeverything/infra/atom';
import { appSettingAtom } from '@toeverything/infra';
import {
PreconditionStrategy,
registerAffineCommand,
} from '@toeverything/infra/command';
} from '@toeverything/infra';
import { type createStore } from 'jotai';
import type { useTheme } from 'next-themes';

View File

@@ -2,7 +2,7 @@ import { updateReadyAtom } from '@affine/core/hooks/use-app-updater';
import { apis } from '@affine/electron-api';
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
import { ResetIcon } from '@blocksuite/icons';
import { registerAffineCommand } from '@toeverything/infra/command';
import { registerAffineCommand } from '@toeverything/infra';
import type { createStore } from 'jotai';
export function registerAffineUpdatesCommands({