mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 22:07:09 +08:00
15 lines
350 B
TypeScript
15 lines
350 B
TypeScript
import { DataViewBlockComponent } from './data-view-block';
|
|
import type { DataViewBlockModel } from './data-view-model';
|
|
|
|
export function effects() {
|
|
customElements.define('affine-data-view', DataViewBlockComponent);
|
|
}
|
|
|
|
declare global {
|
|
namespace BlockSuite {
|
|
interface BlockModels {
|
|
'affine:data-view': DataViewBlockModel;
|
|
}
|
|
}
|
|
}
|