From 7ceab1c7da4bc1538c63fd89dc8fd996330f93b2 Mon Sep 17 00:00:00 2001 From: forehalo Date: Wed, 5 Feb 2025 10:27:27 +0000 Subject: [PATCH] chore(ios): rebuild ios graphql schema (#9935) --- .../xcshareddata/swiftpm/Package.resolved | 4 +- .../xcshareddata/swiftpm/Package.resolved | 4 +- .../Packages/AffineGraphQL/Package.resolved | 4 +- .../App/Packages/AffineGraphQL/Package.swift | 2 +- .../AddWorkspaceFeatureMutation.graphql.swift | 43 ---------- ...moveWorkspaceFeatureMutation.graphql.swift | 43 ---------- ...eExperimentalFeatureMutation.graphql.swift | 48 ----------- ...UpdateCopilotSessionMutation.graphql.swift | 33 ++++++++ .../AvailableFeaturesQuery.graphql.swift | 50 ------------ .../EnabledFeaturesQuery.graphql.swift | 50 ------------ .../Queries/GetUserByEmailQuery.graphql.swift | 12 +-- .../GetWorkspaceFeaturesQuery.graphql.swift | 50 ------------ .../ListWorkspaceFeaturesQuery.graphql.swift | 79 ------------------- .../Queries/QuotaQuery.graphql.swift | 17 ++-- .../Queries/WorkspaceQuotaQuery.graphql.swift | 22 +++--- .../Schema/Enums/FeatureType.graphql.swift | 6 +- .../Enums/SubscriptionPlan.graphql.swift | 1 + .../UpdateChatSessionInput.graphql.swift | 33 ++++++++ .../Schema/Objects/ChatMessage.graphql.swift | 3 +- .../Schema/Objects/Copilot.graphql.swift | 3 +- .../Objects/CopilotHistories.graphql.swift | 3 +- .../CopilotPromptConfigType.graphql.swift | 3 +- .../CopilotPromptMessageType.graphql.swift | 3 +- .../Objects/CopilotPromptType.graphql.swift | 3 +- .../Schema/Objects/CopilotQuota.graphql.swift | 3 +- .../CredentialsRequirementType.graphql.swift | 3 +- .../Objects/DeleteAccount.graphql.swift | 3 +- .../Objects/DocHistoryType.graphql.swift | 3 +- .../Schema/Objects/EditorType.graphql.swift | 3 +- .../Objects/InvitationType.graphql.swift | 3 +- .../InvitationWorkspaceType.graphql.swift | 3 +- .../Schema/Objects/InviteLink.graphql.swift | 3 +- .../Schema/Objects/InviteResult.graphql.swift | 3 +- .../Objects/InviteUserType.graphql.swift | 3 +- .../Schema/Objects/InvoiceType.graphql.swift | 3 +- .../Objects/LimitedUserType.graphql.swift | 3 +- .../Schema/Objects/ListedBlob.graphql.swift | 3 +- .../Schema/Objects/Mutation.graphql.swift | 3 +- .../Objects/PasswordLimitsType.graphql.swift | 3 +- .../Schema/Objects/Query.graphql.swift | 3 +- .../Objects/QuotaQueryType.graphql.swift | 11 --- .../Schema/Objects/RemoveAvatar.graphql.swift | 3 +- .../Objects/ServerConfigType.graphql.swift | 3 +- .../ServerRuntimeConfigType.graphql.swift | 3 +- .../Objects/ServerServiceConfig.graphql.swift | 3 +- .../Objects/SubscriptionPrice.graphql.swift | 3 +- .../Objects/SubscriptionType.graphql.swift | 3 +- .../Schema/Objects/TokenType.graphql.swift | 3 +- .../Schema/Objects/UserQuota.graphql.swift | 11 --- .../UserQuotaHumanReadable.graphql.swift | 11 --- .../UserQuotaHumanReadableType.graphql.swift | 12 +++ ...phql.swift => UserQuotaType.graphql.swift} | 7 +- .../Objects/UserQuotaUsage.graphql.swift | 11 --- .../Objects/UserQuotaUsageType.graphql.swift | 12 +++ .../Schema/Objects/UserType.graphql.swift | 3 +- .../Objects/WorkspacePage.graphql.swift | 3 +- .../Objects/WorkspacePageMeta.graphql.swift | 3 +- ...kspaceQuotaHumanReadableType.graphql.swift | 12 +++ .../Objects/WorkspaceQuotaType.graphql.swift | 12 +++ .../Objects/WorkspaceType.graphql.swift | 3 +- .../Schema/SchemaMetadata.graphql.swift | 10 +-- 61 files changed, 227 insertions(+), 482 deletions(-) delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/AddWorkspaceFeatureMutation.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/RemoveWorkspaceFeatureMutation.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/SetWorkspaceExperimentalFeatureMutation.graphql.swift create mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Mutations/UpdateCopilotSessionMutation.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/AvailableFeaturesQuery.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/EnabledFeaturesQuery.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/GetWorkspaceFeaturesQuery.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Operations/Queries/ListWorkspaceFeaturesQuery.graphql.swift create mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/InputObjects/UpdateChatSessionInput.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/QuotaQueryType.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuota.graphql.swift delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadable.graphql.swift create mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaHumanReadableType.graphql.swift rename packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/{HumanReadableQuotaType.graphql.swift => UserQuotaType.graphql.swift} (50%) delete mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsage.graphql.swift create mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/UserQuotaUsageType.graphql.swift create mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaHumanReadableType.graphql.swift create mode 100644 packages/frontend/apps/ios/App/Packages/AffineGraphQL/Sources/Schema/Objects/WorkspaceQuotaType.graphql.swift 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 e61877399..95cd7230c 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 e61877399..95cd7230c 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 092041f0f..7d76b7f34 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 c7bb5d035..e2c249d48 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 0c61b33c1..000000000 --- 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 - - public init( - workspaceId: String, - feature: GraphQLEnum - ) { - 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 40b60db30..000000000 --- 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 - - public init( - workspaceId: String, - feature: GraphQLEnum - ) { - 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 388484670..000000000 --- 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 - public var enable: Bool - - public init( - workspaceId: String, - feature: GraphQLEnum, - 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 000000000..9a3df9daa --- /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 b7b960f29..000000000 --- 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].self), - ] } - - /// Available features of workspace - public var availableFeatures: [GraphQLEnum] { __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 6eb3f68a5..000000000 --- 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].self), - ] } - - /// Enabled features of workspace - public var features: [GraphQLEnum] { __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 6516d6194..18e6d630d 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 972cc7747..000000000 --- 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].self), - ] } - - /// Enabled features of workspace - public var features: [GraphQLEnum] { __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 2654b22f3..000000000 --- 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 - - public init(feature: GraphQLEnum) { - 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].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] { __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 9b8905f32..905453c9c 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 7dd04ab09..63004c467 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 48f435b21..a2efe550d 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 91c1f4f22..3dd3327b4 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 000000000..afe008716 --- /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 a88425fc6..9613e56b3 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 8ee4bd5cd..fc9bb2921 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 6a4cbd31c..17296f7e6 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 9f032dd03..b0c06cc11 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 ea1577369..260a1fe44 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 6360d478d..125dd8aa7 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 989204929..22a8396b1 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 c309209f9..530ab977c 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 852f3563e..56ad5c3fa 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 e679b69a9..607b1c2d9 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 19922b48e..4d53a8c38 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 b63125ae3..1d5f97714 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 143e27834..8b4d21ef5 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 68e59dc43..13ee8dfb1 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 03ec97f83..d850ad2fb 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 36969eb20..e73982ee3 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 4388b0645..d355262bf 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 1d809006e..7b18f3500 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 4f1931de7..8be73a69f 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 ac151e711..e1979676a 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 9e96e5fc4..c51a3bc89 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 a4155e4b2..3ebe37dcd 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 f73b0c9be..000000000 --- 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 ebde7fff5..1ac257dcf 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 4728be311..2704a6dcb 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 0737cc7d5..900649a81 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 88230da1b..4740abe46 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 5d54b2b75..b70574098 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 76a671a27..c0e3b9b2f 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 c47bde52d..5f56cc475 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 1ffd1fbd5..000000000 --- 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 63e208f46..000000000 --- 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 000000000..de254462c --- /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 2680cdeea..a84ce2a1e 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 7e09d8bf5..000000000 --- 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 000000000..415d025e0 --- /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 58fd6b03f..c7a57a617 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 b191cac04..8c36ef2f2 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 305e92e63..3475cd043 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 000000000..9aac23b5f --- /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 000000000..de886d048 --- /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 3de477636..eca1a17d3 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 72affd6c7..f063ac8ee 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