mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
chore: bump up blocksuite version (#7243)
## Features - https://github.com/toeverything/BlockSuite/pull/7330 @CatsJuice - https://github.com/toeverything/BlockSuite/pull/7348 @zzj3720 ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7338 @akumatus - https://github.com/toeverything/BlockSuite/pull/7353 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7351 @lawvs - https://github.com/toeverything/BlockSuite/pull/7357 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7355 @akumatus ## Misc - https://github.com/toeverything/BlockSuite/pull/7352 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7349 @pengx17
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { assertExists } from '@blocksuite/global/utils';
|
||||
import { AIProvider } from '@blocksuite/presets';
|
||||
import { AIProvider } from '@blocksuite/presets/ai';
|
||||
import { partition } from 'lodash-es';
|
||||
|
||||
import { CopilotClient } from './copilot-client';
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import { getBaseUrl } from '@affine/graphql';
|
||||
import { Trans } from '@affine/i18n';
|
||||
import { UnauthorizedError } from '@blocksuite/blocks';
|
||||
import { assertExists } from '@blocksuite/global/utils';
|
||||
import { AIProvider } from '@blocksuite/presets';
|
||||
import { AIProvider } from '@blocksuite/presets/ai';
|
||||
import { getCurrentStore } from '@toeverything/infra';
|
||||
|
||||
import type { PromptKey } from './prompt';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mixpanel } from '@affine/core/utils';
|
||||
import type { EditorHost } from '@blocksuite/block-std';
|
||||
import { AIProvider } from '@blocksuite/presets';
|
||||
import { AIProvider } from '@blocksuite/presets/ai';
|
||||
import type { BlockModel } from '@blocksuite/store';
|
||||
import { lowerCase, omit } from 'lodash-es';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
AICodeBlockSpec,
|
||||
AIImageBlockSpec,
|
||||
AIParagraphBlockSpec,
|
||||
} from '@blocksuite/presets';
|
||||
} from '@blocksuite/presets/ai';
|
||||
|
||||
import { CustomAttachmentBlockSpec } from './custom/attachment-block';
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import {
|
||||
import {
|
||||
AIEdgelessRootBlockSpec,
|
||||
AIPageRootBlockSpec,
|
||||
} from '@blocksuite/presets';
|
||||
} from '@blocksuite/presets/ai';
|
||||
|
||||
function customLoadFonts(service: RootService): void {
|
||||
if (runtimeConfig.isSelfHosted) {
|
||||
|
||||
Reference in New Issue
Block a user