mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
Closes: BS-3396 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced structured and validated configuration options for database and linked document views, allowing for more flexible and reliable customization. - Enhanced view manager to conditionally enable AI-related paragraph placeholders and database/linked document extensions based on configuration. - **Chores** - Updated dependencies to include the latest version of the Zod validation library. - Simplified and consolidated internal configuration and registration logic for AI and widget-related extensions. - **Refactor** - Streamlined configuration types and removed unused or redundant configuration utilities to improve maintainability. - Improved robustness of linked widget configuration retrieval to handle optional service availability gracefully. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "@blocksuite/affine-widget-linked-doc",
|
|
"description": "Affine linked doc widget.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc"
|
|
},
|
|
"sideEffects": false,
|
|
"keywords": [],
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@blocksuite/affine-block-image": "workspace:*",
|
|
"@blocksuite/affine-components": "workspace:*",
|
|
"@blocksuite/affine-ext-loader": "workspace:*",
|
|
"@blocksuite/affine-inline-reference": "workspace:*",
|
|
"@blocksuite/affine-model": "workspace:*",
|
|
"@blocksuite/affine-rich-text": "workspace:*",
|
|
"@blocksuite/affine-shared": "workspace:*",
|
|
"@blocksuite/global": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.12",
|
|
"@blocksuite/std": "workspace:*",
|
|
"@blocksuite/store": "workspace:*",
|
|
"@lit/context": "^1.1.2",
|
|
"@preact/signals-core": "^1.8.0",
|
|
"@toeverything/theme": "^1.1.14",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"fflate": "^0.8.2",
|
|
"lit": "^3.2.0",
|
|
"lodash-es": "^4.17.21",
|
|
"rxjs": "^7.8.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./effects": "./src/effects.ts",
|
|
"./view": "./src/view.ts"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"!src/__tests__",
|
|
"!dist/__tests__"
|
|
],
|
|
"version": "0.21.0"
|
|
}
|