-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BlobStorage should provide consistent behaviour #3245
Comments
hey, I'd like to work on this issue |
Thank you. It has been assigned to you. @NextThread |
@zuoxiaodong0815 i did, but somebody told me that, it's not necessary, this thing can be skipped |
If we don't store the file type, we need to calculate the file type when reading the file, refer to the code https://github.com/toeverything/blocksuite/pull/3555/files The following two blob-storage, one of which provides the file type and one of which does not |
New PR #3729 @zuoxiaodong0815 |
@zuoxiaodong0815
|
@zhe-he Hi, we are always dedicated to using the latest dependencies. The thing is, we cannot upgrade it to the latest version as it's latest version does not support browser. Please consider contributing to the package |
Fix toeverything/AFFiNE#6603 This pull request switches the [file-type](https://github.com/sindresorhus/file-type) to [@sgtpooki/file-type](https://github.com/sgtpooki/file-type). It also includes other minor changes and updates. ~~The `file-type` is no longer useful since the toeverything/AFFiNE#3245 resolved in toeverything/AFFiNE#5565 --- More context see toeverything/AFFiNE#3245 #3555 #4818 #5372 sindresorhus/file-type#578 --- ## Caveat The [@sgtpooki/file-type](https://github.com/sgtpooki/file-type) is an unofficial fork package from the community. It may need to be source code audited before updating. Also, thanks to sgtpooki for their strong contribution to @sgtpooki/file-type
The 'get' method of 'createIndexeddbStorage' returns the 'type' type. But, createSQLiteStorage and createStaticStorage do not. Please take time to add 'type' type.
Please let me know if it is completed. I need to remove the temporary code. toeverything/blocksuite#3555
The text was updated successfully, but these errors were encountered: