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

This commit is contained in:
forehalo
2025-02-05 10:27:27 +00:00
parent 7826e2b7c8
commit 7ceab1c7da
61 changed files with 227 additions and 482 deletions

View File

@@ -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"
}

View File

@@ -9,5 +9,6 @@ public enum SubscriptionPlan: String, EnumType {
case free = "Free"
case pro = "Pro"
case selfHosted = "SelfHosted"
case selfHostedTeam = "SelfHostedTeam"
case team = "Team"
}

View File

@@ -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 }
}
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ChatMessage = ApolloAPI.Object(
typename: "ChatMessage",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Copilot = ApolloAPI.Object(
typename: "Copilot",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotHistories = ApolloAPI.Object(
typename: "CopilotHistories",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotPromptConfigType = ApolloAPI.Object(
typename: "CopilotPromptConfigType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotPromptMessageType = ApolloAPI.Object(
typename: "CopilotPromptMessageType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotPromptType = ApolloAPI.Object(
typename: "CopilotPromptType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CopilotQuota = ApolloAPI.Object(
typename: "CopilotQuota",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let CredentialsRequirementType = ApolloAPI.Object(
typename: "CredentialsRequirementType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let DeleteAccount = ApolloAPI.Object(
typename: "DeleteAccount",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let DocHistoryType = ApolloAPI.Object(
typename: "DocHistoryType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let EditorType = ApolloAPI.Object(
typename: "EditorType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InvitationType = ApolloAPI.Object(
typename: "InvitationType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InvitationWorkspaceType = ApolloAPI.Object(
typename: "InvitationWorkspaceType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InviteLink = ApolloAPI.Object(
typename: "InviteLink",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InviteResult = ApolloAPI.Object(
typename: "InviteResult",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InviteUserType = ApolloAPI.Object(
typename: "InviteUserType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let InvoiceType = ApolloAPI.Object(
typename: "InvoiceType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let LimitedUserType = ApolloAPI.Object(
typename: "LimitedUserType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ListedBlob = ApolloAPI.Object(
typename: "ListedBlob",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Mutation = ApolloAPI.Object(
typename: "Mutation",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let PasswordLimitsType = ApolloAPI.Object(
typename: "PasswordLimitsType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Query = ApolloAPI.Object(
typename: "Query",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -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: []
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let RemoveAvatar = ApolloAPI.Object(
typename: "RemoveAvatar",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ServerConfigType = ApolloAPI.Object(
typename: "ServerConfigType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ServerRuntimeConfigType = ApolloAPI.Object(
typename: "ServerRuntimeConfigType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ServerServiceConfig = ApolloAPI.Object(
typename: "ServerServiceConfig",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let SubscriptionPrice = ApolloAPI.Object(
typename: "SubscriptionPrice",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let SubscriptionType = ApolloAPI.Object(
typename: "SubscriptionType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let TokenType = ApolloAPI.Object(
typename: "tokenType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -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: []
)
}

View File

@@ -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: []
)
}

View File

@@ -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
)
}

View File

@@ -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
)
}

View File

@@ -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: []
)
}

View File

@@ -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
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let UserType = ApolloAPI.Object(
typename: "UserType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let WorkspacePage = ApolloAPI.Object(
typename: "WorkspacePage",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let WorkspacePageMeta = ApolloAPI.Object(
typename: "WorkspacePageMeta",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -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
)
}

View File

@@ -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
)
}

View File

@@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let WorkspaceType = ApolloAPI.Object(
typename: "WorkspaceType",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -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