pengx17
2024-06-06 12:04:07 +00:00
parent d791ab73ba
commit f78416021a
11 changed files with 96 additions and 98 deletions

View File

@@ -3,8 +3,8 @@
"private": true,
"type": "module",
"devDependencies": {
"@blocksuite/global": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/store": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/global": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/store": "0.15.0-canary-202406061150-5c5d6fa",
"react": "18.3.1",
"react-dom": "18.3.1",
"vitest": "1.6.0"

View File

@@ -13,9 +13,9 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/blocks": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/global": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/store": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/blocks": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/global": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/store": "0.15.0-canary-202406061150-5c5d6fa",
"@datastructures-js/binary-search-tree": "^5.3.2",
"foxact": "^0.2.33",
"jotai": "^2.8.0",
@@ -29,8 +29,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/block-std": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/presets": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/block-std": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/presets": "0.15.0-canary-202406061150-5c5d6fa",
"@testing-library/react": "^15.0.0",
"async-call-rpc": "^6.4.0",
"react": "^18.2.0",

View File

@@ -75,12 +75,12 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@blocksuite/block-std": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/blocks": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/global": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/block-std": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/blocks": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/global": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/icons": "2.1.52",
"@blocksuite/presets": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/store": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/presets": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/store": "0.15.0-canary-202406061150-5c5d6fa",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",

View File

@@ -18,13 +18,13 @@
"@affine/graphql": "workspace:*",
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/block-std": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/blocks": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/global": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/block-std": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/blocks": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/global": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/icons": "2.1.52",
"@blocksuite/inline": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/presets": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/store": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/inline": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/presets": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/store": "0.15.0-canary-202406061150-5c5d6fa",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",

View File

@@ -128,6 +128,7 @@ const blocksuiteFeatureFlags: Partial<Record<keyof BlockSuiteFlags, string>> = {
enable_database_statistics: 'Enable Database Block Statistics',
enable_block_query: 'Enable Todo Block Query',
enable_new_image_actions: 'Enable New Image Actions',
enable_edgeless_text: 'Enable New Edgeless Text',
};
const BlocksuiteFeatureFlagSettings = () => {

View File

@@ -2,6 +2,7 @@ import type { BlockSpec } from '@blocksuite/block-std';
import {
EdgelessSurfaceBlockSpec,
EdgelessSurfaceRefBlockSpec,
EdgelessTextBlockSpec,
FrameBlockSpec,
} from '@blocksuite/blocks';
@@ -13,6 +14,7 @@ export const EdgelessModeSpecs: BlockSpec[] = [
EdgelessSurfaceBlockSpec,
EdgelessSurfaceRefBlockSpec,
FrameBlockSpec,
EdgelessTextBlockSpec,
// special
CustomEdgelessRootBlockSpec,
];

View File

@@ -29,10 +29,10 @@
"@affine/env": "workspace:*",
"@affine/i18n": "workspace:*",
"@affine/native": "workspace:*",
"@blocksuite/block-std": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/blocks": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/presets": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/store": "0.15.0-canary-202406050645-7721c3e",
"@blocksuite/block-std": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/blocks": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/presets": "0.15.0-canary-202406061150-5c5d6fa",
"@blocksuite/store": "0.15.0-canary-202406061150-5c5d6fa",
"@electron-forge/cli": "^7.3.0",
"@electron-forge/core": "^7.3.0",
"@electron-forge/core-utils": "^7.3.0",

View File

@@ -297,7 +297,7 @@ export type CleanupCopilotSessionMutationVariables = Exact<{
export type CleanupCopilotSessionMutation = {
__typename?: 'Mutation';
cleanupCopilotSession: string;
cleanupCopilotSession: Array<string>;
};
export type CreateCheckoutSessionMutationVariables = Exact<{