chore: added mime-type in gql (#13414)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Improved file and image attachment handling by including MIME type
information for uploads.
* Added a new query to fetch document summaries by workspace and
document IDs.

* **Refactor**
* Minor adjustments to method signatures and property initializations to
streamline code and maintain consistency.
* Updated access levels for certain properties and methods to internal,
enhancing encapsulation.

* **Style**
  * Formatting and whitespace clean-up for improved code readability.

No changes to user-facing functionality or behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Lakr
2025-08-05 16:10:40 +08:00
committed by GitHub
parent 36d58cd6c5
commit d398aa9a71
9 changed files with 118 additions and 19 deletions

View File

@@ -9,9 +9,9 @@ import Intelligents
import UIKit
extension AFFiNEViewController: IntelligentsButtonDelegate {
func onIntelligentsButtonTapped(_ button: IntelligentsButton) {
func onIntelligentsButtonTapped(_: IntelligentsButton) {
// if it shows up then we are ready to go
let controller = IntelligentsController()
self.present(controller, animated: true)
present(controller, animated: true)
}
}