mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for creating new documents from markdown and retrieving the current locale in the iOS app. - Introduced a shell script to automate Apollo iOS code generation tasks. - **Improvements** - Upgraded the Apollo iOS library to version 1.22.0 for improved performance and compatibility. - Enhanced metadata handling in the app to include document ID, workspace ID, server URL, and locale. - Improved JavaScript execution integration for document and workspace operations. - **Bug Fixes** - Fixed button appearance in the input bar by setting a static corner radius for the send button. - **Chores** - Removed unused dependencies and updated .gitignore entries for cleaner project management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
29 lines
569 B
Swift
29 lines
569 B
Swift
// swift-tools-version:5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "AffineGraphQL",
|
|
platforms: [
|
|
.iOS(.v12),
|
|
.macOS(.v10_14),
|
|
.tvOS(.v12),
|
|
.watchOS(.v5),
|
|
],
|
|
products: [
|
|
.library(name: "AffineGraphQL", targets: ["AffineGraphQL"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apollographql/apollo-ios", exact: "1.22.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "AffineGraphQL",
|
|
dependencies: [
|
|
.product(name: "ApolloAPI", package: "apollo-ios"),
|
|
],
|
|
path: "./Sources"
|
|
),
|
|
]
|
|
)
|