@blocksuite/affine-model
Advanced tools
Comparing version 0.17.0-canary-202408260304-56ec428 to 0.17.0-canary-202408271459-2b40d5e
@@ -0,10 +1,20 @@ | ||
import type { ReferenceInfo } from '../../../consts/doc.js'; | ||
import type { EmbedCardStyle } from '../../../utils/index.js'; | ||
export declare const EmbedLinkedDocStyles: EmbedCardStyle[]; | ||
export type EmbedLinkedDocBlockProps = { | ||
pageId: string; | ||
style: EmbedCardStyle; | ||
caption: string | null; | ||
}; | ||
} & ReferenceInfo; | ||
declare const EmbedLinkedDocModel_base: { | ||
new (): import("@blocksuite/block-std/gfx").GfxBlockElementModel<EmbedLinkedDocBlockProps & import("../../../utils/gfx-compatible.js").GfxCompatibleProps>; | ||
new (): import("@blocksuite/block-std/gfx").GfxBlockElementModel<{ | ||
style: EmbedCardStyle; | ||
caption: string | null; | ||
} & { | ||
pageId: string; | ||
params?: { | ||
mode?: import("../../../consts/doc.js").DocMode | undefined; | ||
blockIds?: string[] | undefined; | ||
elementIds?: string[] | undefined; | ||
} | undefined; | ||
} & import("../../../utils/gfx-compatible.js").GfxCompatibleProps>; | ||
}; | ||
@@ -11,0 +21,0 @@ export declare class EmbedLinkedDocModel extends EmbedLinkedDocModel_base { |
export * from './connector.js'; | ||
export * from './doc.js'; | ||
export * from './line.js'; | ||
@@ -3,0 +4,0 @@ export * from './note.js'; |
export * from './connector.js'; | ||
export * from './doc.js'; | ||
export * from './line.js'; | ||
@@ -3,0 +4,0 @@ export * from './note.js'; |
@@ -42,3 +42,3 @@ var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { | ||
[ConnectorMode.Straight]: 'Straight', | ||
[ConnectorMode.Orthogonal]: 'Orthogonal', | ||
[ConnectorMode.Orthogonal]: 'Elbowed', | ||
[ConnectorMode.Curve]: 'Curve', | ||
@@ -45,0 +45,0 @@ }[mode]; |
{ | ||
"name": "@blocksuite/affine-model", | ||
"version": "0.17.0-canary-202408260304-56ec428", | ||
"version": "0.17.0-canary-202408271459-2b40d5e", | ||
"description": "Default BlockSuite editable blocks.", | ||
@@ -12,6 +12,6 @@ "type": "module", | ||
"zod": "^3.23.8", | ||
"@blocksuite/block-std": "0.17.0-canary-202408260304-56ec428", | ||
"@blocksuite/inline": "0.17.0-canary-202408260304-56ec428", | ||
"@blocksuite/global": "0.17.0-canary-202408260304-56ec428", | ||
"@blocksuite/store": "0.17.0-canary-202408260304-56ec428" | ||
"@blocksuite/block-std": "0.17.0-canary-202408271459-2b40d5e", | ||
"@blocksuite/global": "0.17.0-canary-202408271459-2b40d5e", | ||
"@blocksuite/store": "0.17.0-canary-202408271459-2b40d5e", | ||
"@blocksuite/inline": "0.17.0-canary-202408271459-2b40d5e" | ||
}, | ||
@@ -18,0 +18,0 @@ "exports": { |
import { BlockModel } from '@blocksuite/store'; | ||
import type { ReferenceInfo } from '../../../consts/doc.js'; | ||
import type { EmbedCardStyle } from '../../../utils/index.js'; | ||
@@ -16,6 +17,5 @@ | ||
export type EmbedLinkedDocBlockProps = { | ||
pageId: string; | ||
style: EmbedCardStyle; | ||
caption: string | null; | ||
}; | ||
} & ReferenceInfo; | ||
@@ -22,0 +22,0 @@ export class EmbedLinkedDocModel extends defineEmbedModel<EmbedLinkedDocBlockProps>( |
export * from './connector.js'; | ||
export * from './doc.js'; | ||
export * from './line.js'; | ||
@@ -3,0 +4,0 @@ export * from './note.js'; |
@@ -59,3 +59,3 @@ import type { | ||
[ConnectorMode.Straight]: 'Straight', | ||
[ConnectorMode.Orthogonal]: 'Orthogonal', | ||
[ConnectorMode.Orthogonal]: 'Elbowed', | ||
[ConnectorMode.Curve]: 'Curve', | ||
@@ -62,0 +62,0 @@ }[mode]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
538888
402
7402
+ Added@blocksuite/block-std@0.17.0-canary-202408271459-2b40d5e(transitive)
+ Added@blocksuite/global@0.17.0-canary-202408271459-2b40d5e(transitive)
+ Added@blocksuite/inline@0.17.0-canary-202408271459-2b40d5e(transitive)
+ Added@blocksuite/store@0.17.0-canary-202408271459-2b40d5e(transitive)
+ Added@blocksuite/sync@0.17.0-canary-202408271459-2b40d5e(transitive)
+ Addedlodash.merge@4.6.2(transitive)
- Removed@blocksuite/block-std@0.17.0-canary-202408260304-56ec428(transitive)
- Removed@blocksuite/global@0.17.0-canary-202408260304-56ec428(transitive)
- Removed@blocksuite/inline@0.17.0-canary-202408260304-56ec428(transitive)
- Removed@blocksuite/store@0.17.0-canary-202408260304-56ec428(transitive)
- Removed@blocksuite/sync@0.17.0-canary-202408260304-56ec428(transitive)
- Removedmerge@2.1.1(transitive)
Updated@blocksuite/block-std@0.17.0-canary-202408271459-2b40d5e
Updated@blocksuite/global@0.17.0-canary-202408271459-2b40d5e
Updated@blocksuite/inline@0.17.0-canary-202408271459-2b40d5e