mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-22 14:02:14 +03:00
fix #15574 #### PR Dependency Tree * **PR #15575** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## New Features * Added source-aware blob handling for current documents and page history. * Added document lifecycle support for trashing, restoring, and permanently deleting documents. * Copilot attachments now upload directly to session attachment endpoints. ## Bug Fixes * Document actions now complete before confirmations, notifications, and navigation proceed. * Improved cancellation, upload fallback, size-limit handling, and cloud synchronization reliability. * Invite-link expiration now remains reliable for long durations. * Improved synchronization for document permissions and reserved documents. ## Changes * Blob management now displays attachment icons instead of image previews. * Cloud synchronization now uses a unified batch protocol. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
40 lines
950 B
JSON
40 lines
950 B
JSON
{
|
|
"name": "@affine/server-native",
|
|
"version": "0.27.5",
|
|
"engines": {
|
|
"node": ">= 10.16.0 < 11 || >= 11.8.0"
|
|
},
|
|
"main": "./index.js",
|
|
"module": "./index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./server-native.node",
|
|
"import": "./index.js",
|
|
"types": "./index.d.ts"
|
|
}
|
|
},
|
|
"napi": {
|
|
"binaryName": "server-native",
|
|
"dtsHeaderFile": "dts-header.d.ts",
|
|
"targets": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-pc-windows-msvc",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"test": "node --test ./__tests__/**/*.spec.js",
|
|
"bench": "node ./benchmark/index.js",
|
|
"build": "napi build --release --strip --no-const-enum",
|
|
"build:debug": "napi build --no-const-enum"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "3.5.0",
|
|
"tiktoken": "^1.0.17"
|
|
}
|
|
}
|