@blocksuite/affine-model
Advanced tools
Comparing version 0.0.0-canary-20241121001509 to 0.0.0-canary-20241122001522
# @blocksuite/affine-model | ||
## 0.0.0-canary-20241121001509 | ||
## 0.0.0-canary-20241122001522 | ||
@@ -9,6 +9,6 @@ ### Patch Changes | ||
- Updated dependencies | ||
- @blocksuite/block-std@0.0.0-canary-20241121001509 | ||
- @blocksuite/global@0.0.0-canary-20241121001509 | ||
- @blocksuite/inline@0.0.0-canary-20241121001509 | ||
- @blocksuite/store@0.0.0-canary-20241121001509 | ||
- @blocksuite/block-std@0.0.0-canary-20241122001522 | ||
- @blocksuite/global@0.0.0-canary-20241122001522 | ||
- @blocksuite/inline@0.0.0-canary-20241122001522 | ||
- @blocksuite/store@0.0.0-canary-20241122001522 | ||
@@ -15,0 +15,0 @@ ## 0.17.33 |
@@ -1,3 +0,3 @@ | ||
import type { GfxBlockElementModel, GfxContainerElement, GfxElementGeometry, GfxModel, PointTestOptions } from '@blocksuite/block-std/gfx'; | ||
import { gfxContainerSymbol } from '@blocksuite/block-std/gfx'; | ||
import type { GfxBlockElementModel, GfxElementGeometry, GfxGroupCompatibleInterface, GfxModel, PointTestOptions } from '@blocksuite/block-std/gfx'; | ||
import { gfxGroupCompatibleSymbol } from '@blocksuite/block-std/gfx'; | ||
import { Bound, type SerializedXYWH } from '@blocksuite/global/utils'; | ||
@@ -30,4 +30,4 @@ import { type Text } from '@blocksuite/store'; | ||
}; | ||
export declare class FrameBlockModel extends FrameBlockModel_base implements GfxElementGeometry, GfxContainerElement { | ||
[gfxContainerSymbol]: true; | ||
export declare class FrameBlockModel extends FrameBlockModel_base implements GfxElementGeometry, GfxGroupCompatibleInterface { | ||
[gfxGroupCompatibleSymbol]: true; | ||
get childElements(): GfxModel[]; | ||
@@ -34,0 +34,0 @@ get childIds(): string[]; |
var _a; | ||
import { canSafeAddToContainer, descendantElementsImpl, gfxContainerSymbol, hasDescendantElementImpl, } from '@blocksuite/block-std/gfx'; | ||
import { canSafeAddToContainer, descendantElementsImpl, gfxGroupCompatibleSymbol, hasDescendantElementImpl, } from '@blocksuite/block-std/gfx'; | ||
import { Bound } from '@blocksuite/global/utils'; | ||
@@ -30,3 +30,3 @@ import { BlockModel, defineBlockSchema } from '@blocksuite/store'; | ||
} | ||
static { _a = gfxContainerSymbol; } | ||
static { _a = gfxGroupCompatibleSymbol; } | ||
get childElements() { | ||
@@ -33,0 +33,0 @@ if (!this.surface) |
{ | ||
"name": "@blocksuite/affine-model", | ||
"version": "0.0.0-canary-20241121001509", | ||
"version": "0.0.0-canary-20241122001522", | ||
"description": "Models for BlockSuite in Affine.", | ||
@@ -22,6 +22,6 @@ "type": "module", | ||
"dependencies": { | ||
"@blocksuite/block-std": "0.0.0-canary-20241121001509", | ||
"@blocksuite/global": "0.0.0-canary-20241121001509", | ||
"@blocksuite/inline": "0.0.0-canary-20241121001509", | ||
"@blocksuite/store": "0.0.0-canary-20241121001509", | ||
"@blocksuite/block-std": "0.0.0-canary-20241122001522", | ||
"@blocksuite/global": "0.0.0-canary-20241122001522", | ||
"@blocksuite/inline": "0.0.0-canary-20241122001522", | ||
"@blocksuite/store": "0.0.0-canary-20241122001522", | ||
"fractional-indexing": "^3.2.0", | ||
@@ -28,0 +28,0 @@ "zod": "^3.23.8" |
import type { | ||
GfxBlockElementModel, | ||
GfxContainerElement, | ||
GfxElementGeometry, | ||
GfxGroupCompatibleInterface, | ||
GfxModel, | ||
@@ -12,3 +12,3 @@ PointTestOptions, | ||
descendantElementsImpl, | ||
gfxContainerSymbol, | ||
gfxGroupCompatibleSymbol, | ||
hasDescendantElementImpl, | ||
@@ -53,5 +53,5 @@ } from '@blocksuite/block-std/gfx'; | ||
extends GfxCompatible<FrameBlockProps>(BlockModel) | ||
implements GfxElementGeometry, GfxContainerElement | ||
implements GfxElementGeometry, GfxGroupCompatibleInterface | ||
{ | ||
[gfxContainerSymbol] = true as const; | ||
[gfxGroupCompatibleSymbol] = true as const; | ||
@@ -58,0 +58,0 @@ get childElements() { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
728133
+ Added@blocksuite/block-std@0.0.0-canary-20241122001522(transitive)
+ Added@blocksuite/global@0.0.0-canary-20241122001522(transitive)
+ Added@blocksuite/inline@0.0.0-canary-20241122001522(transitive)
+ Added@blocksuite/store@0.0.0-canary-20241122001522(transitive)
+ Added@blocksuite/sync@0.0.0-canary-20241122001522(transitive)
- Removed@blocksuite/block-std@0.0.0-canary-20241121001509(transitive)
- Removed@blocksuite/global@0.0.0-canary-20241121001509(transitive)
- Removed@blocksuite/inline@0.0.0-canary-20241121001509(transitive)
- Removed@blocksuite/store@0.0.0-canary-20241121001509(transitive)
- Removed@blocksuite/sync@0.0.0-canary-20241121001509(transitive)