Saul-Mirone
2024-12-30 12:59:57 +00:00
parent e526106f45
commit c28f918527
63 changed files with 268 additions and 127 deletions

View File

@@ -1,3 +1,12 @@
import {
addProperty,
copyCellsByProperty,
databaseBlockColumns,
deleteColumn,
getCell,
getProperty,
updateCell,
} from '@blocksuite/affine-block-database';
import {
type Cell,
type Column,
@@ -12,16 +21,6 @@ import type { BlockModel, Doc } from '@blocksuite/store';
import { DocCollection, IdGeneratorType, Schema } from '@blocksuite/store';
import { beforeEach, describe, expect, test } from 'vitest';
import { databaseBlockColumns } from '../../database-block/index.js';
import {
addProperty,
copyCellsByProperty,
deleteColumn,
getCell,
getProperty,
updateCell,
} from '../../database-block/utils/block-utils.js';
const AffineSchemas = [
RootBlockSchema,
NoteBlockSchema,