Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(ios): rebuild ios graphql schema (#9935)

forehalo7ceab1c7da4b
diff --git a/packages/frontend/apps/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/packages/frontend/apps/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
index e61877399d..95cd7230c8 100644
--- a/packages/frontend/apps/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ b/packages/frontend/apps/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git",
"state" : {
- "revision" : "c3f48d45ec1300bc95243bf19f67284f9dc0d14a",
- "version" : "1.15.3"
+ "revision" : "e98e9d3b398b6005149074d51b097e31aaa44f63",
+ "version" : "1.17.0"
}
},
{
diff --git a/packages/frontend/apps/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved b/packages/frontend/apps/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved
index e61877399d..95cd7230c8 100644
--- a/packages/frontend/apps/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ b/packages/frontend/apps/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git",
"state" : {
- "revision" : "c3f48d45ec1300bc95243bf19f67284f9dc0d14a",
- "version" : "1.15.3"
+ "revision" : "e98e9d3b398b6005149074d51b097e31aaa44f63",
+ "version" : "1.17.0"
}
},
{
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.resolved b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.resolved
index 092041f0fb..7d76b7f349 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.resolved
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.resolved
@@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git",
"state" : {
- "revision" : "c3f48d45ec1300bc95243bf19f67284f9dc0d14a",
- "version" : "1.15.3"
+ "revision" : "e98e9d3b398b6005149074d51b097e31aaa44f63",
+ "version" : "1.17.0"
}
},
{
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.swift
index c7bb5d0350..e2c249d48f 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Package.swift
@@ -14,7 +14,7 @@ let package = Package(
.library(name: "AffineGraphQL", targets: ["AffineGraphQL"]),
],
dependencies: [
- .package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.16.0"),
+ .package(url: "https://github.com/apollographql/apollo-ios", exact: "1.17.0"),
],
targets: [
.target(
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/AddWorkspaceFeatureMutation.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/AddWorkspaceFeatureMutation.graphql.swift
deleted file mode 100644
index 0c61b33c1c..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/AddWorkspaceFeatureMutation.graphql.swift
+++ /dev/null
@@ -1,43 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class AddWorkspaceFeatureMutation: GraphQLMutation {
- public static let operationName: String = "addWorkspaceFeature"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"mutation addWorkspaceFeature($workspaceId: String!, $feature: FeatureType!) { addWorkspaceFeature(workspaceId: $workspaceId, feature: $feature) }"#
- ))
-
- public var workspaceId: String
- public var feature: GraphQLEnum<FeatureType>
-
- public init(
- workspaceId: String,
- feature: GraphQLEnum<FeatureType>
- ) {
- self.workspaceId = workspaceId
- self.feature = feature
- }
-
- public var __variables: Variables? { [
- "workspaceId": workspaceId,
- "feature": feature
- ] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("addWorkspaceFeature", Int.self, arguments: [
- "workspaceId": .variable("workspaceId"),
- "feature": .variable("feature")
- ]),
- ] }
-
- public var addWorkspaceFeature: Int { __data["addWorkspaceFeature"] }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/RemoveWorkspaceFeatureMutation.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/RemoveWorkspaceFeatureMutation.graphql.swift
deleted file mode 100644
index 40b60db301..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/RemoveWorkspaceFeatureMutation.graphql.swift
+++ /dev/null
@@ -1,43 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class RemoveWorkspaceFeatureMutation: GraphQLMutation {
- public static let operationName: String = "removeWorkspaceFeature"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"mutation removeWorkspaceFeature($workspaceId: String!, $feature: FeatureType!) { removeWorkspaceFeature(workspaceId: $workspaceId, feature: $feature) }"#
- ))
-
- public var workspaceId: String
- public var feature: GraphQLEnum<FeatureType>
-
- public init(
- workspaceId: String,
- feature: GraphQLEnum<FeatureType>
- ) {
- self.workspaceId = workspaceId
- self.feature = feature
- }
-
- public var __variables: Variables? { [
- "workspaceId": workspaceId,
- "feature": feature
- ] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("removeWorkspaceFeature", Int.self, arguments: [
- "workspaceId": .variable("workspaceId"),
- "feature": .variable("feature")
- ]),
- ] }
-
- public var removeWorkspaceFeature: Int { __data["removeWorkspaceFeature"] }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/SetWorkspaceExperimentalFeatureMutation.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/SetWorkspaceExperimentalFeatureMutation.graphql.swift
deleted file mode 100644
index 388484670c..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/SetWorkspaceExperimentalFeatureMutation.graphql.swift
+++ /dev/null
@@ -1,48 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class SetWorkspaceExperimentalFeatureMutation: GraphQLMutation {
- public static let operationName: String = "setWorkspaceExperimentalFeature"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"mutation setWorkspaceExperimentalFeature($workspaceId: String!, $feature: FeatureType!, $enable: Boolean!) { setWorkspaceExperimentalFeature( workspaceId: $workspaceId feature: $feature enable: $enable ) }"#
- ))
-
- public var workspaceId: String
- public var feature: GraphQLEnum<FeatureType>
- public var enable: Bool
-
- public init(
- workspaceId: String,
- feature: GraphQLEnum<FeatureType>,
- enable: Bool
- ) {
- self.workspaceId = workspaceId
- self.feature = feature
- self.enable = enable
- }
-
- public var __variables: Variables? { [
- "workspaceId": workspaceId,
- "feature": feature,
- "enable": enable
- ] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("setWorkspaceExperimentalFeature", Bool.self, arguments: [
- "workspaceId": .variable("workspaceId"),
- "feature": .variable("feature"),
- "enable": .variable("enable")
- ]),
- ] }
-
- public var setWorkspaceExperimentalFeature: Bool { __data["setWorkspaceExperimentalFeature"] }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/UpdateCopilotSessionMutation.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/UpdateCopilotSessionMutation.graphql.swift
new file mode 100644
index 0000000000..9a3df9daa9
--- /dev/null
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/UpdateCopilotSessionMutation.graphql.swift
@@ -0,0 +1,33 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+@_exported import ApolloAPI
+
+public class UpdateCopilotSessionMutation: GraphQLMutation {
+ public static let operationName: String = "updateCopilotSession"
+ public static let operationDocument: ApolloAPI.OperationDocument = .init(
+ definition: .init(
+ #"mutation updateCopilotSession($options: UpdateChatSessionInput!) { updateCopilotSession(options: $options) }"#
+ ))
+
+ public var options: UpdateChatSessionInput
+
+ public init(options: UpdateChatSessionInput) {
+ self.options = options
+ }
+
+ public var __variables: Variables? { ["options": options] }
+
+ public struct Data: AffineGraphQL.SelectionSet {
+ public let __data: DataDict
+ public init(_dataDict: DataDict) { __data = _dataDict }
+
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Mutation }
+ public static var __selections: [ApolloAPI.Selection] { [
+ .field("updateCopilotSession", String.self, arguments: ["options": .variable("options")]),
+ ] }
+
+ /// Update a chat session
+ public var updateCopilotSession: String { __data["updateCopilotSession"] }
+ }
+}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/AvailableFeaturesQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/AvailableFeaturesQuery.graphql.swift
deleted file mode 100644
index b7b960f296..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/AvailableFeaturesQuery.graphql.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class AvailableFeaturesQuery: GraphQLQuery {
- public static let operationName: String = "availableFeatures"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"query availableFeatures($id: String!) { workspace(id: $id) { __typename availableFeatures } }"#
- ))
-
- public var id: String
-
- public init(id: String) {
- self.id = id
- }
-
- public var __variables: Variables? { ["id": id] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Query }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("workspace", Workspace.self, arguments: ["id": .variable("id")]),
- ] }
-
- /// Get workspace by id
- public var workspace: Workspace { __data["workspace"] }
-
- /// Workspace
- ///
- /// Parent Type: `WorkspaceType`
- public struct Workspace: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceType }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("__typename", String.self),
- .field("availableFeatures", [GraphQLEnum<AffineGraphQL.FeatureType>].self),
- ] }
-
- /// Available features of workspace
- public var availableFeatures: [GraphQLEnum<AffineGraphQL.FeatureType>] { __data["availableFeatures"] }
- }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/EnabledFeaturesQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/EnabledFeaturesQuery.graphql.swift
deleted file mode 100644
index 6eb3f68a5d..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/EnabledFeaturesQuery.graphql.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class EnabledFeaturesQuery: GraphQLQuery {
- public static let operationName: String = "enabledFeatures"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"query enabledFeatures($id: String!) { workspace(id: $id) { __typename features } }"#
- ))
-
- public var id: String
-
- public init(id: String) {
- self.id = id
- }
-
- public var __variables: Variables? { ["id": id] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Query }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("workspace", Workspace.self, arguments: ["id": .variable("id")]),
- ] }
-
- /// Get workspace by id
- public var workspace: Workspace { __data["workspace"] }
-
- /// Workspace
- ///
- /// Parent Type: `WorkspaceType`
- public struct Workspace: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceType }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("__typename", String.self),
- .field("features", [GraphQLEnum<AffineGraphQL.FeatureType>].self),
- ] }
-
- /// Enabled features of workspace
- public var features: [GraphQLEnum<AffineGraphQL.FeatureType>] { __data["features"] }
- }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetUserByEmailQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetUserByEmailQuery.graphql.swift
index 6516d61949..18e6d630df 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetUserByEmailQuery.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetUserByEmailQuery.graphql.swift
@@ -47,7 +47,7 @@ public class GetUserByEmailQuery: GraphQLQuery {
.field("hasPassword", Bool?.self),
.field("emailVerified", Bool.self),
.field("avatarUrl", String?.self),
- .field("quota", Quota?.self),
+ .field("quota", Quota.self),
] }
public var id: AffineGraphQL.ID { __data["id"] }
@@ -63,16 +63,16 @@ public class GetUserByEmailQuery: GraphQLQuery {
public var emailVerified: Bool { __data["emailVerified"] }
/// User avatar url
public var avatarUrl: String? { __data["avatarUrl"] }
- public var quota: Quota? { __data["quota"] }
+ public var quota: Quota { __data["quota"] }
/// UserByEmail.Quota
///
- /// Parent Type: `UserQuota`
+ /// Parent Type: `UserQuotaType`
public struct Quota: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuota }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("humanReadable", HumanReadable.self),
@@ -82,12 +82,12 @@ public class GetUserByEmailQuery: GraphQLQuery {
/// UserByEmail.Quota.HumanReadable
///
- /// Parent Type: `UserQuotaHumanReadable`
+ /// Parent Type: `UserQuotaHumanReadableType`
public struct HumanReadable: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaHumanReadable }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaHumanReadableType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("blobLimit", String.self),
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetWorkspaceFeaturesQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetWorkspaceFeaturesQuery.graphql.swift
deleted file mode 100644
index 972cc77476..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetWorkspaceFeaturesQuery.graphql.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class GetWorkspaceFeaturesQuery: GraphQLQuery {
- public static let operationName: String = "getWorkspaceFeatures"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"query getWorkspaceFeatures($workspaceId: String!) { workspace(id: $workspaceId) { __typename features } }"#
- ))
-
- public var workspaceId: String
-
- public init(workspaceId: String) {
- self.workspaceId = workspaceId
- }
-
- public var __variables: Variables? { ["workspaceId": workspaceId] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Query }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("workspace", Workspace.self, arguments: ["id": .variable("workspaceId")]),
- ] }
-
- /// Get workspace by id
- public var workspace: Workspace { __data["workspace"] }
-
- /// Workspace
- ///
- /// Parent Type: `WorkspaceType`
- public struct Workspace: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceType }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("__typename", String.self),
- .field("features", [GraphQLEnum<AffineGraphQL.FeatureType>].self),
- ] }
-
- /// Enabled features of workspace
- public var features: [GraphQLEnum<AffineGraphQL.FeatureType>] { __data["features"] }
- }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/ListWorkspaceFeaturesQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/ListWorkspaceFeaturesQuery.graphql.swift
deleted file mode 100644
index 2654b22f3d..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/ListWorkspaceFeaturesQuery.graphql.swift
+++ /dev/null
@@ -1,79 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-@_exported import ApolloAPI
-
-public class ListWorkspaceFeaturesQuery: GraphQLQuery {
- public static let operationName: String = "listWorkspaceFeatures"
- public static let operationDocument: ApolloAPI.OperationDocument = .init(
- definition: .init(
- #"query listWorkspaceFeatures($feature: FeatureType!) { listWorkspaceFeatures(feature: $feature) { __typename id public createdAt memberCount owner { __typename id } features } }"#
- ))
-
- public var feature: GraphQLEnum<FeatureType>
-
- public init(feature: GraphQLEnum<FeatureType>) {
- self.feature = feature
- }
-
- public var __variables: Variables? { ["feature": feature] }
-
- public struct Data: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.Query }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("listWorkspaceFeatures", [ListWorkspaceFeature].self, arguments: ["feature": .variable("feature")]),
- ] }
-
- public var listWorkspaceFeatures: [ListWorkspaceFeature] { __data["listWorkspaceFeatures"] }
-
- /// ListWorkspaceFeature
- ///
- /// Parent Type: `WorkspaceType`
- public struct ListWorkspaceFeature: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceType }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("__typename", String.self),
- .field("id", AffineGraphQL.ID.self),
- .field("public", Bool.self),
- .field("createdAt", AffineGraphQL.DateTime.self),
- .field("memberCount", Int.self),
- .field("owner", Owner.self),
- .field("features", [GraphQLEnum<AffineGraphQL.FeatureType>].self),
- ] }
-
- public var id: AffineGraphQL.ID { __data["id"] }
- /// is Public workspace
- public var `public`: Bool { __data["public"] }
- /// Workspace created date
- public var createdAt: AffineGraphQL.DateTime { __data["createdAt"] }
- /// member count of workspace
- public var memberCount: Int { __data["memberCount"] }
- /// Owner of workspace
- public var owner: Owner { __data["owner"] }
- /// Enabled features of workspace
- public var features: [GraphQLEnum<AffineGraphQL.FeatureType>] { __data["features"] }
-
- /// ListWorkspaceFeature.Owner
- ///
- /// Parent Type: `UserType`
- public struct Owner: AffineGraphQL.SelectionSet {
- public let __data: DataDict
- public init(_dataDict: DataDict) { __data = _dataDict }
-
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserType }
- public static var __selections: [ApolloAPI.Selection] { [
- .field("__typename", String.self),
- .field("id", AffineGraphQL.ID.self),
- ] }
-
- public var id: AffineGraphQL.ID { __data["id"] }
- }
- }
- }
-}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/QuotaQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/QuotaQuery.graphql.swift
index 9b8905f326..905453c9c7 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/QuotaQuery.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/QuotaQuery.graphql.swift
@@ -35,22 +35,22 @@ public class QuotaQuery: GraphQLQuery {
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("id", AffineGraphQL.ID.self),
- .field("quota", Quota?.self),
+ .field("quota", Quota.self),
.field("quotaUsage", QuotaUsage.self),
] }
public var id: AffineGraphQL.ID { __data["id"] }
- public var quota: Quota? { __data["quota"] }
+ public var quota: Quota { __data["quota"] }
public var quotaUsage: QuotaUsage { __data["quotaUsage"] }
/// CurrentUser.Quota
///
- /// Parent Type: `UserQuota`
+ /// Parent Type: `UserQuotaType`
public struct Quota: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuota }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("name", String.self),
@@ -70,12 +70,12 @@ public class QuotaQuery: GraphQLQuery {
/// CurrentUser.Quota.HumanReadable
///
- /// Parent Type: `UserQuotaHumanReadable`
+ /// Parent Type: `UserQuotaHumanReadableType`
public struct HumanReadable: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaHumanReadable }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaHumanReadableType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("name", String.self),
@@ -95,17 +95,18 @@ public class QuotaQuery: GraphQLQuery {
/// CurrentUser.QuotaUsage
///
- /// Parent Type: `UserQuotaUsage`
+ /// Parent Type: `UserQuotaUsageType`
public struct QuotaUsage: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaUsage }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.UserQuotaUsageType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("storageQuota", AffineGraphQL.SafeInt.self),
] }
+ @available(*, deprecated, message: "use `UserQuotaType[\'usedStorageQuota\']` instead")
public var storageQuota: AffineGraphQL.SafeInt { __data["storageQuota"] }
}
}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/WorkspaceQuotaQuery.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/WorkspaceQuotaQuery.graphql.swift
index 7dd04ab099..63004c467b 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/WorkspaceQuotaQuery.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/WorkspaceQuotaQuery.graphql.swift
@@ -7,7 +7,7 @@ public class WorkspaceQuotaQuery: GraphQLQuery {
public static let operationName: String = "workspaceQuota"
public static let operationDocument: ApolloAPI.OperationDocument = .init(
definition: .init(
- #"query workspaceQuota($id: String!) { workspace(id: $id) { __typename quota { __typename name blobLimit storageQuota historyPeriod memberLimit memberCount humanReadable { __typename name blobLimit storageQuota historyPeriod memberLimit } usedSize } } }"#
+ #"query workspaceQuota($id: String!) { workspace(id: $id) { __typename quota { __typename name blobLimit storageQuota usedStorageQuota historyPeriod memberLimit memberCount humanReadable { __typename name blobLimit storageQuota historyPeriod memberLimit } } } }"#
))
public var id: String
@@ -48,41 +48,41 @@ public class WorkspaceQuotaQuery: GraphQLQuery {
/// Workspace.Quota
///
- /// Parent Type: `QuotaQueryType`
+ /// Parent Type: `WorkspaceQuotaType`
public struct Quota: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.QuotaQueryType }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceQuotaType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("name", String.self),
.field("blobLimit", AffineGraphQL.SafeInt.self),
.field("storageQuota", AffineGraphQL.SafeInt.self),
+ .field("usedStorageQuota", AffineGraphQL.SafeInt.self),
.field("historyPeriod", AffineGraphQL.SafeInt.self),
- .field("memberLimit", AffineGraphQL.SafeInt.self),
- .field("memberCount", AffineGraphQL.SafeInt.self),
+ .field("memberLimit", Int.self),
+ .field("memberCount", Int.self),
.field("humanReadable", HumanReadable.self),
- .field("usedSize", AffineGraphQL.SafeInt.self),
] }
public var name: String { __data["name"] }
public var blobLimit: AffineGraphQL.SafeInt { __data["blobLimit"] }
public var storageQuota: AffineGraphQL.SafeInt { __data["storageQuota"] }
+ public var usedStorageQuota: AffineGraphQL.SafeInt { __data["usedStorageQuota"] }
public var historyPeriod: AffineGraphQL.SafeInt { __data["historyPeriod"] }
- public var memberLimit: AffineGraphQL.SafeInt { __data["memberLimit"] }
- public var memberCount: AffineGraphQL.SafeInt { __data["memberCount"] }
+ public var memberLimit: Int { __data["memberLimit"] }
+ public var memberCount: Int { __data["memberCount"] }
public var humanReadable: HumanReadable { __data["humanReadable"] }
- public var usedSize: AffineGraphQL.SafeInt { __data["usedSize"] }
/// Workspace.Quota.HumanReadable
///
- /// Parent Type: `HumanReadableQuotaType`
+ /// Parent Type: `WorkspaceQuotaHumanReadableType`
public struct HumanReadable: AffineGraphQL.SelectionSet {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }
- public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.HumanReadableQuotaType }
+ public static var __parentType: any ApolloAPI.ParentType { AffineGraphQL.Objects.WorkspaceQuotaHumanReadableType }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("name", String.self),
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/FeatureType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/FeatureType.graphql.swift
index 48f435b216..a2efe550d7 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/FeatureType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/FeatureType.graphql.swift
@@ -3,12 +3,14 @@
import ApolloAPI
-/// The type of workspace feature
public enum FeatureType: String, EnumType {
case aIEarlyAccess = "AIEarlyAccess"
case admin = "Admin"
- case copilot = "Copilot"
case earlyAccess = "EarlyAccess"
+ case freePlan = "FreePlan"
+ case lifetimeProPlan = "LifetimeProPlan"
+ case proPlan = "ProPlan"
+ case teamPlan = "TeamPlan"
case unlimitedCopilot = "UnlimitedCopilot"
case unlimitedWorkspace = "UnlimitedWorkspace"
}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/SubscriptionPlan.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/SubscriptionPlan.graphql.swift
index 91c1f4f22b..3dd3327b48 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/SubscriptionPlan.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Enums/SubscriptionPlan.graphql.swift
@@ -9,5 +9,6 @@ public enum SubscriptionPlan: String, EnumType {
case free = "Free"
case pro = "Pro"
case selfHosted = "SelfHosted"
+ case selfHostedTeam = "SelfHostedTeam"
case team = "Team"
}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/InputObjects/UpdateChatSessionInput.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/InputObjects/UpdateChatSessionInput.graphql.swift
new file mode 100644
index 0000000000..afe008716a
--- /dev/null
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/InputObjects/UpdateChatSessionInput.graphql.swift
@@ -0,0 +1,33 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+import ApolloAPI
+
+public struct UpdateChatSessionInput: InputObject {
+ public private(set) var __data: InputDict
+
+ public init(_ data: InputDict) {
+ __data = data
+ }
+
+ public init(
+ promptName: String,
+ sessionId: String
+ ) {
+ __data = InputDict([
+ "promptName": promptName,
+ "sessionId": sessionId
+ ])
+ }
+
+ /// The prompt name to use for the session
+ public var promptName: String {
+ get { __data["promptName"] }
+ set { __data["promptName"] = newValue }
+ }
+
+ public var sessionId: String {
+ get { __data["sessionId"] }
+ set { __data["sessionId"] = newValue }
+ }
+}
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ChatMessage.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ChatMessage.graphql.swift
index a88425fc68..9613e56b3b 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ChatMessage.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ChatMessage.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ChatMessage = ApolloAPI.Object(
typename: "ChatMessage",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Copilot.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Copilot.graphql.swift
index 8ee4bd5cd7..fc9bb29213 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Copilot.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Copilot.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Copilot = ApolloAPI.Object(
typename: "Copilot",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotHistories.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotHistories.graphql.swift
index 6a4cbd31cb..17296f7e68 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotHistories.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotHistories.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotHistories = ApolloAPI.Object(
typename: "CopilotHistories",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptConfigType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptConfigType.graphql.swift
index 9f032dd038..b0c06cc11c 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptConfigType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptConfigType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotPromptConfigType = ApolloAPI.Object(
typename: "CopilotPromptConfigType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptMessageType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptMessageType.graphql.swift
index ea15773691..260a1fe440 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptMessageType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptMessageType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotPromptMessageType = ApolloAPI.Object(
typename: "CopilotPromptMessageType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptType.graphql.swift
index 6360d478dc..125dd8aa75 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotPromptType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotPromptType = ApolloAPI.Object(
typename: "CopilotPromptType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotQuota.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotQuota.graphql.swift
index 9892049292..22a8396b1d 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotQuota.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CopilotQuota.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotQuota = ApolloAPI.Object(
typename: "CopilotQuota",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CredentialsRequirementType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CredentialsRequirementType.graphql.swift
index c309209f94..530ab977ce 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CredentialsRequirementType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/CredentialsRequirementType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CredentialsRequirementType = ApolloAPI.Object(
typename: "CredentialsRequirementType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DeleteAccount.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DeleteAccount.graphql.swift
index 852f3563e8..56ad5c3fa0 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DeleteAccount.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DeleteAccount.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let DeleteAccount = ApolloAPI.Object(
typename: "DeleteAccount",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DocHistoryType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DocHistoryType.graphql.swift
index e679b69a99..607b1c2d97 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DocHistoryType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/DocHistoryType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let DocHistoryType = ApolloAPI.Object(
typename: "DocHistoryType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/EditorType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/EditorType.graphql.swift
index 19922b48e3..4d53a8c38d 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/EditorType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/EditorType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let EditorType = ApolloAPI.Object(
typename: "EditorType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationType.graphql.swift
index b63125ae3f..1d5f977149 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InvitationType = ApolloAPI.Object(
typename: "InvitationType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationWorkspaceType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationWorkspaceType.graphql.swift
index 143e27834e..8b4d21ef5c 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationWorkspaceType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvitationWorkspaceType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InvitationWorkspaceType = ApolloAPI.Object(
typename: "InvitationWorkspaceType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteLink.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteLink.graphql.swift
index 68e59dc436..13ee8dfb1e 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteLink.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteLink.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InviteLink = ApolloAPI.Object(
typename: "InviteLink",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteResult.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteResult.graphql.swift
index 03ec97f830..d850ad2fbb 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteResult.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteResult.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InviteResult = ApolloAPI.Object(
typename: "InviteResult",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteUserType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteUserType.graphql.swift
index 36969eb20c..e73982ee35 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteUserType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InviteUserType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InviteUserType = ApolloAPI.Object(
typename: "InviteUserType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvoiceType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvoiceType.graphql.swift
index 4388b06458..d355262bfc 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvoiceType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/InvoiceType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InvoiceType = ApolloAPI.Object(
typename: "InvoiceType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/LimitedUserType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/LimitedUserType.graphql.swift
index 1d809006eb..7b18f3500c 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/LimitedUserType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/LimitedUserType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let LimitedUserType = ApolloAPI.Object(
typename: "LimitedUserType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ListedBlob.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ListedBlob.graphql.swift
index 4f1931de78..8be73a69f7 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ListedBlob.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ListedBlob.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ListedBlob = ApolloAPI.Object(
typename: "ListedBlob",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Mutation.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Mutation.graphql.swift
index ac151e7115..e1979676a1 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Mutation.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Mutation.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Mutation = ApolloAPI.Object(
typename: "Mutation",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/PasswordLimitsType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/PasswordLimitsType.graphql.swift
index 9e96e5fc44..c51a3bc893 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/PasswordLimitsType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/PasswordLimitsType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let PasswordLimitsType = ApolloAPI.Object(
typename: "PasswordLimitsType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Query.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Query.graphql.swift
index a4155e4b2b..3ebe37dcd7 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Query.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/Query.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Query = ApolloAPI.Object(
typename: "Query",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/QuotaQueryType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/QuotaQueryType.graphql.swift
deleted file mode 100644
index f73b0c9be1..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/QuotaQueryType.graphql.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-import ApolloAPI
-
-public extension Objects {
- static let QuotaQueryType = ApolloAPI.Object(
- typename: "QuotaQueryType",
- implementedInterfaces: []
- )
-}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/RemoveAvatar.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/RemoveAvatar.graphql.swift
index ebde7fff50..1ac257dcf1 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/RemoveAvatar.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/RemoveAvatar.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let RemoveAvatar = ApolloAPI.Object(
typename: "RemoveAvatar",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerConfigType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerConfigType.graphql.swift
index 4728be311e..2704a6dcb7 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerConfigType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerConfigType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ServerConfigType = ApolloAPI.Object(
typename: "ServerConfigType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerRuntimeConfigType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerRuntimeConfigType.graphql.swift
index 0737cc7d52..900649a81c 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerRuntimeConfigType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerRuntimeConfigType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ServerRuntimeConfigType = ApolloAPI.Object(
typename: "ServerRuntimeConfigType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerServiceConfig.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerServiceConfig.graphql.swift
index 88230da1b7..4740abe46e 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerServiceConfig.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/ServerServiceConfig.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ServerServiceConfig = ApolloAPI.Object(
typename: "ServerServiceConfig",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionPrice.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionPrice.graphql.swift
index 5d54b2b756..b705740989 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionPrice.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionPrice.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let SubscriptionPrice = ApolloAPI.Object(
typename: "SubscriptionPrice",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionType.graphql.swift
index 76a671a275..c0e3b9b2f7 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/SubscriptionType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let SubscriptionType = ApolloAPI.Object(
typename: "SubscriptionType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/TokenType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/TokenType.graphql.swift
index c47bde52d6..5f56cc4757 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/TokenType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/TokenType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let TokenType = ApolloAPI.Object(
typename: "tokenType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuota.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuota.graphql.swift
deleted file mode 100644
index 1ffd1fbd53..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuota.graphql.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-import ApolloAPI
-
-public extension Objects {
- static let UserQuota = ApolloAPI.Object(
- typename: "UserQuota",
- implementedInterfaces: []
- )
-}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadable.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadable.graphql.swift
deleted file mode 100644
index 63e208f468..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadable.graphql.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-import ApolloAPI
-
-public extension Objects {
- static let UserQuotaHumanReadable = ApolloAPI.Object(
- typename: "UserQuotaHumanReadable",
- implementedInterfaces: []
- )
-}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadableType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadableType.graphql.swift
new file mode 100644
index 0000000000..de254462c3
--- /dev/null
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadableType.graphql.swift
@@ -0,0 +1,12 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+import ApolloAPI
+
+public extension Objects {
+ static let UserQuotaHumanReadableType = ApolloAPI.Object(
+ typename: "UserQuotaHumanReadableType",
+ implementedInterfaces: [],
+ keyFields: nil
+ )
+}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/HumanReadableQuotaType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaType.graphql.swift
similarity index 50%
rename from packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/HumanReadableQuotaType.graphql.swift
rename to packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaType.graphql.swift
index 2680cdeea4..a84ce2a1ea 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/HumanReadableQuotaType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaType.graphql.swift
@@ -4,8 +4,9 @@
import ApolloAPI
public extension Objects {
- static let HumanReadableQuotaType = ApolloAPI.Object(
- typename: "HumanReadableQuotaType",
- implementedInterfaces: []
+ static let UserQuotaType = ApolloAPI.Object(
+ typename: "UserQuotaType",
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsage.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsage.graphql.swift
deleted file mode 100644
index 7e09d8bf54..0000000000
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsage.graphql.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-// @generated
-// This file was automatically generated and should not be edited.
-
-import ApolloAPI
-
-public extension Objects {
- static let UserQuotaUsage = ApolloAPI.Object(
- typename: "UserQuotaUsage",
- implementedInterfaces: []
- )
-}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsageType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsageType.graphql.swift
new file mode 100644
index 0000000000..415d025e04
--- /dev/null
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsageType.graphql.swift
@@ -0,0 +1,12 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+import ApolloAPI
+
+public extension Objects {
+ static let UserQuotaUsageType = ApolloAPI.Object(
+ typename: "UserQuotaUsageType",
+ implementedInterfaces: [],
+ keyFields: nil
+ )
+}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserType.graphql.swift
index 58fd6b03fa..c7a57a6179 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let UserType = ApolloAPI.Object(
typename: "UserType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePage.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePage.graphql.swift
index b191cac04f..8c36ef2f2f 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePage.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePage.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let WorkspacePage = ApolloAPI.Object(
typename: "WorkspacePage",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePageMeta.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePageMeta.graphql.swift
index 305e92e633..3475cd0437 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePageMeta.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspacePageMeta.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let WorkspacePageMeta = ApolloAPI.Object(
typename: "WorkspacePageMeta",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaHumanReadableType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaHumanReadableType.graphql.swift
new file mode 100644
index 0000000000..9aac23b5f1
--- /dev/null
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaHumanReadableType.graphql.swift
@@ -0,0 +1,12 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+import ApolloAPI
+
+public extension Objects {
+ static let WorkspaceQuotaHumanReadableType = ApolloAPI.Object(
+ typename: "WorkspaceQuotaHumanReadableType",
+ implementedInterfaces: [],
+ keyFields: nil
+ )
+}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaType.graphql.swift
new file mode 100644
index 0000000000..de886d0484
--- /dev/null
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaType.graphql.swift
@@ -0,0 +1,12 @@
+// @generated
+// This file was automatically generated and should not be edited.
+
+import ApolloAPI
+
+public extension Objects {
+ static let WorkspaceQuotaType = ApolloAPI.Object(
+ typename: "WorkspaceQuotaType",
+ implementedInterfaces: [],
+ keyFields: nil
+ )
+}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceType.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceType.graphql.swift
index 3de477636a..eca1a17d3f 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceType.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceType.graphql.swift
@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let WorkspaceType = ApolloAPI.Object(
typename: "WorkspaceType",
- implementedInterfaces: []
+ implementedInterfaces: [],
+ keyFields: nil
)
}
\ No newline at end of file
diff --git a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/SchemaMetadata.graphql.swift b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/SchemaMetadata.graphql.swift
index 72affd6c7a..f063ac8eea 100644
--- a/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/SchemaMetadata.graphql.swift
+++ b/packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/SchemaMetadata.graphql.swift
@@ -31,7 +31,6 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
case "DeleteAccount": return AffineGraphQL.Objects.DeleteAccount
case "DocHistoryType": return AffineGraphQL.Objects.DocHistoryType
case "EditorType": return AffineGraphQL.Objects.EditorType
- case "HumanReadableQuotaType": return AffineGraphQL.Objects.HumanReadableQuotaType
case "InvitationType": return AffineGraphQL.Objects.InvitationType
case "InvitationWorkspaceType": return AffineGraphQL.Objects.InvitationWorkspaceType
case "InviteLink": return AffineGraphQL.Objects.InviteLink
@@ -43,19 +42,20 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
case "Mutation": return AffineGraphQL.Objects.Mutation
case "PasswordLimitsType": return AffineGraphQL.Objects.PasswordLimitsType
case "Query": return AffineGraphQL.Objects.Query
- case "QuotaQueryType": return AffineGraphQL.Objects.QuotaQueryType
case "RemoveAvatar": return AffineGraphQL.Objects.RemoveAvatar
case "ServerConfigType": return AffineGraphQL.Objects.ServerConfigType
case "ServerRuntimeConfigType": return AffineGraphQL.Objects.ServerRuntimeConfigType
case "ServerServiceConfig": return AffineGraphQL.Objects.ServerServiceConfig
case "SubscriptionPrice": return AffineGraphQL.Objects.SubscriptionPrice
case "SubscriptionType": return AffineGraphQL.Objects.SubscriptionType
- case "UserQuota": return AffineGraphQL.Objects.UserQuota
- case "UserQuotaHumanReadable": return AffineGraphQL.Objects.UserQuotaHumanReadable
- case "UserQuotaUsage": return AffineGraphQL.Objects.UserQuotaUsage
+ case "UserQuotaHumanReadableType": return AffineGraphQL.Objects.UserQuotaHumanReadableType
+ case "UserQuotaType": return AffineGraphQL.Objects.UserQuotaType
+ case "UserQuotaUsageType": return AffineGraphQL.Objects.UserQuotaUsageType
case "UserType": return AffineGraphQL.Objects.UserType
case "WorkspacePage": return AffineGraphQL.Objects.WorkspacePage
case "WorkspacePageMeta": return AffineGraphQL.Objects.WorkspacePageMeta
+ case "WorkspaceQuotaHumanReadableType": return AffineGraphQL.Objects.WorkspaceQuotaHumanReadableType
+ case "WorkspaceQuotaType": return AffineGraphQL.Objects.WorkspaceQuotaType
case "WorkspaceType": return AffineGraphQL.Objects.WorkspaceType
case "tokenType": return AffineGraphQL.Objects.TokenType
default: return nil