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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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