chore: merge blocksuite source code (#9213)

This commit is contained in:
Mirone
2024-12-20 15:38:06 +08:00
committed by GitHub
parent 2c9ef916f4
commit 30200ff86d
2031 changed files with 238888 additions and 229 deletions

View File

@@ -0,0 +1,32 @@
export {
getBlockIndexCommand,
getNextBlockCommand,
getPrevBlockCommand,
getSelectedBlocksCommand,
} from './block-crud/index.js';
export {
clearAndSelectFirstModelCommand,
copySelectedModelsCommand,
deleteSelectedModelsCommand,
draftSelectedModelsCommand,
duplicateSelectedModelsCommand,
getSelectedModelsCommand,
retainFirstModelCommand,
} from './model-crud/index.js';
export {
getBlockSelectionsCommand,
getImageSelectionsCommand,
getSelectionRectsCommand,
getTextSelectionCommand,
type SelectionRect,
} from './selection/index.js';
declare global {
namespace BlockSuite {
// if we use `with` or `inline` to add command data either then use a command we
// need to update this interface
interface CommandContext {
currentSelectionPath?: string;
}
}
}