AFFiNE/packages/frontend/core/package.json
EYHN 24e0c5797c
refactor(core): doc property (#8465)
doc property upgraded to use orm.

The visibility of the property are simplified to three types: `always show`, `always hide`, `hide when empty`, and the default is `always show`.

![CleanShot 2024-10-14 at 15 34 52](https://github.com/user-attachments/assets/748b8b80-061f-4d6a-8579-52e59df717c2)

Added a sidebar view to manage properties
![CleanShot 2024-10-14 at 15 35 58](https://github.com/user-attachments/assets/bffa9b1a-a1a5-4708-b2e8-4963120f3af9)

new property ui in workspace settings
![CleanShot 2024-10-14 at 15 36 44](https://github.com/user-attachments/assets/572d8dcc-9b3d-462a-9bcc-5f5fa8e622da)

Property lists can be collapsed
![CleanShot 2024-10-14 at 15 37 59](https://github.com/user-attachments/assets/2b20be1a-8141-478a-8fe7-405aff6d04fd)
2024-10-15 10:17:12 +00:00

91 lines
2.7 KiB
JSON

{
"name": "@affine/core",
"type": "module",
"private": true,
"version": "0.17.0",
"exports": {
"./*": "./src/*",
"./bootstrap": "./src/bootstrap/index.ts"
},
"dependencies": {
"@affine/component": "workspace:*",
"@affine/debug": "workspace:*",
"@affine/electron-api": "workspace:*",
"@affine/env": "workspace:*",
"@affine/graphql": "workspace:*",
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/track": "workspace:*",
"@blocksuite/affine": "0.17.18",
"@blocksuite/icons": "2.1.68",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dotlottie/player-component": "^2.7.12",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.4",
"@floating-ui/dom": "^1.6.5",
"@juggle/resize-observer": "^3.4.0",
"@marsidev/react-turnstile": "^1.0.0",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-toolbar": "^1.0.4",
"@sentry/react": "^8.0.0",
"@toeverything/theme": "^1.0.11",
"@vanilla-extract/dynamic": "^2.1.0",
"animejs": "^3.2.2",
"bytes": "^3.1.2",
"clsx": "^2.1.0",
"cmdk": "^1.0.0",
"core-js": "^3.36.1",
"dayjs": "^1.11.10",
"file-type": "^19.1.0",
"foxact": "^0.2.33",
"fuse.js": "^7.0.0",
"graphemer": "^1.4.0",
"graphql": "^16.8.1",
"history": "^5.3.0",
"idb": "^8.0.0",
"idb-keyval": "^6.2.1",
"image-blob-reduce": "^4.1.0",
"intl-segmenter-polyfill-rs": "^0.1.7",
"is-svg": "^5.0.0",
"jotai": "^2.8.0",
"jotai-scope": "^0.7.0",
"lib0": "^0.2.95",
"lit": "^3.1.3",
"lodash-es": "^4.17.21",
"lottie-react": "^2.4.0",
"nanoid": "^5.0.7",
"next-themes": "^0.3.0",
"query-string": "^9.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "^4.0.13",
"react-router-dom": "^6.22.3",
"react-transition-state": "^2.1.1",
"react-virtuoso": "^4.7.8",
"rxjs": "^7.8.1",
"ses": "^1.4.1",
"socket.io-client": "^4.7.5",
"swr": "2.2.5",
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
"y-protocols": "^1.0.6",
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
"zod": "^3.22.4"
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/animejs": "^3.1.12",
"@types/bytes": "^3.1.4",
"@types/image-blob-reduce": "^4.1.4",
"@types/lodash-es": "^4.17.12",
"@vanilla-extract/css": "^1.14.2",
"fake-indexeddb": "^6.0.0",
"lodash-es": "^4.17.21",
"vitest": "2.1.1"
}
}