@blocksuite/affine-model
Advanced tools
Comparing version 0.0.0-canary-20240829050359 to 0.0.0-canary-20240829114838
@@ -65,3 +65,3 @@ var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { | ||
static propsToY(props) { | ||
if (props.title && !(props.title instanceof DocCollection.Y.Text)) { | ||
if ('title' in props && !(props.title instanceof DocCollection.Y.Text)) { | ||
props.title = new DocCollection.Y.Text(props.title); | ||
@@ -68,0 +68,0 @@ } |
{ | ||
"name": "@blocksuite/affine-model", | ||
"version": "0.0.0-canary-20240829050359", | ||
"version": "0.0.0-canary-20240829114838", | ||
"description": "Default BlockSuite editable blocks.", | ||
@@ -12,6 +12,6 @@ "type": "module", | ||
"zod": "^3.23.8", | ||
"@blocksuite/block-std": "0.0.0-canary-20240829050359", | ||
"@blocksuite/global": "0.0.0-canary-20240829050359", | ||
"@blocksuite/inline": "0.0.0-canary-20240829050359", | ||
"@blocksuite/store": "0.0.0-canary-20240829050359" | ||
"@blocksuite/inline": "0.0.0-canary-20240829114838", | ||
"@blocksuite/global": "0.0.0-canary-20240829114838", | ||
"@blocksuite/store": "0.0.0-canary-20240829114838", | ||
"@blocksuite/block-std": "0.0.0-canary-20240829114838" | ||
}, | ||
@@ -18,0 +18,0 @@ "exports": { |
@@ -34,3 +34,3 @@ import type { | ||
static override propsToY(props: Record<string, unknown>) { | ||
if (props.title && !(props.title instanceof DocCollection.Y.Text)) { | ||
if ('title' in props && !(props.title instanceof DocCollection.Y.Text)) { | ||
props.title = new DocCollection.Y.Text(props.title as string); | ||
@@ -37,0 +37,0 @@ } |
Sorry, the diff of this file is not supported yet
550800
+ Added@blocksuite/block-std@0.0.0-canary-20240829114838(transitive)
+ Added@blocksuite/global@0.0.0-canary-20240829114838(transitive)
+ Added@blocksuite/inline@0.0.0-canary-20240829114838(transitive)
+ Added@blocksuite/store@0.0.0-canary-20240829114838(transitive)
+ Added@blocksuite/sync@0.0.0-canary-20240829114838(transitive)
- Removed@blocksuite/block-std@0.0.0-canary-20240829050359(transitive)
- Removed@blocksuite/global@0.0.0-canary-20240829050359(transitive)
- Removed@blocksuite/inline@0.0.0-canary-20240829050359(transitive)
- Removed@blocksuite/store@0.0.0-canary-20240829050359(transitive)
- Removed@blocksuite/sync@0.0.0-canary-20240829050359(transitive)