chore(ios): optimize build workflow (#11132)

This commit is contained in:
EYHN
2025-03-24 14:32:45 +00:00
parent 80d451cc51
commit c1b3e25fc7
123 changed files with 3964 additions and 109 deletions

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum AiJobStatus: String, EnumType {
case claimed = "claimed"
case failed = "failed"
case finished = "finished"
case pending = "pending"
case running = "running"
}

View File

@@ -0,0 +1,9 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum ContextCategories: String, EnumType {
case collection = "Collection"
case tag = "Tag"
}

View File

@@ -0,0 +1,10 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public enum ContextEmbedStatus: String, EnumType {
case failed = "failed"
case finished = "finished"
case processing = "processing"
}

View File

@@ -0,0 +1,10 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
/// Doc mode
public enum DocMode: String, EnumType {
case edgeless = "edgeless"
case page = "page"
}

View File

@@ -0,0 +1,14 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
/// User permission in doc
public enum DocRole: String, EnumType {
case editor = "Editor"
case external = "External"
case manager = "Manager"
case none = "None"
case owner = "Owner"
case reader = "Reader"
}

View File

@@ -0,0 +1,13 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
/// Notification level
public enum NotificationLevel: String, EnumType {
case `default` = "Default"
case high = "High"
case low = "Low"
case min = "Min"
case none = "None"
}

View File

@@ -0,0 +1,16 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
/// Notification type
public enum NotificationType: String, EnumType {
case invitation = "Invitation"
case invitationAccepted = "InvitationAccepted"
case invitationBlocked = "InvitationBlocked"
case invitationRejected = "InvitationRejected"
case invitationReviewApproved = "InvitationReviewApproved"
case invitationReviewDeclined = "InvitationReviewDeclined"
case invitationReviewRequest = "InvitationReviewRequest"
case mention = "Mention"
}

View File

@@ -6,7 +6,7 @@ import ApolloAPI
/// User permission in workspace
public enum Permission: String, EnumType {
case admin = "Admin"
case collaborator = "Collaborator"
case external = "External"
case owner = "Owner"
case read = "Read"
case write = "Write"
}

View File

@@ -3,8 +3,8 @@
import ApolloAPI
/// The mode which the public page default in
public enum PublicPageMode: String, EnumType {
/// The mode which the public doc default in
public enum PublicDocMode: String, EnumType {
case edgeless = "Edgeless"
case page = "Page"
}

View File

@@ -0,0 +1,46 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct AddContextCategoryInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
categoryId: String,
contextId: String,
docs: GraphQLNullable<[String]> = nil,
type: GraphQLEnum<ContextCategories>
) {
__data = InputDict([
"categoryId": categoryId,
"contextId": contextId,
"docs": docs,
"type": type
])
}
public var categoryId: String {
get { __data["categoryId"] }
set { __data["categoryId"] = newValue }
}
public var contextId: String {
get { __data["contextId"] }
set { __data["contextId"] = newValue }
}
public var docs: GraphQLNullable<[String]> {
get { __data["docs"] }
set { __data["docs"] = newValue }
}
public var type: GraphQLEnum<ContextCategories> {
get { __data["type"] }
set { __data["type"] = newValue }
}
}

View File

@@ -0,0 +1,32 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct AddContextDocInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
contextId: String,
docId: String
) {
__data = InputDict([
"contextId": contextId,
"docId": docId
])
}
public var contextId: String {
get { __data["contextId"] }
set { __data["contextId"] = newValue }
}
public var docId: String {
get { __data["docId"] }
set { __data["docId"] = newValue }
}
}

View File

@@ -0,0 +1,32 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct AddContextFileInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
blobId: String,
contextId: String
) {
__data = InputDict([
"blobId": blobId,
"contextId": contextId
])
}
public var blobId: String {
get { __data["blobId"] }
set { __data["blobId"] = newValue }
}
public var contextId: String {
get { __data["contextId"] }
set { __data["contextId"] = newValue }
}
}

View File

@@ -0,0 +1,46 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct GrantDocUserRolesInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
docId: String,
role: GraphQLEnum<DocRole>,
userIds: [String],
workspaceId: String
) {
__data = InputDict([
"docId": docId,
"role": role,
"userIds": userIds,
"workspaceId": workspaceId
])
}
public var docId: String {
get { __data["docId"] }
set { __data["docId"] = newValue }
}
public var role: GraphQLEnum<DocRole> {
get { __data["role"] }
set { __data["role"] = newValue }
}
public var userIds: [String] {
get { __data["userIds"] }
set { __data["userIds"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -0,0 +1,25 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct ImportUsersInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
users: [CreateUserInput]
) {
__data = InputDict([
"users": users
])
}
public var users: [CreateUserInput] {
get { __data["users"] }
set { __data["users"] = newValue }
}
}

View File

@@ -0,0 +1,55 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct MentionDocInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
blockId: GraphQLNullable<String> = nil,
elementId: GraphQLNullable<String> = nil,
id: String,
mode: GraphQLEnum<DocMode>,
title: String
) {
__data = InputDict([
"blockId": blockId,
"elementId": elementId,
"id": id,
"mode": mode,
"title": title
])
}
/// The block id in the doc
public var blockId: GraphQLNullable<String> {
get { __data["blockId"] }
set { __data["blockId"] = newValue }
}
/// The element id in the doc
public var elementId: GraphQLNullable<String> {
get { __data["elementId"] }
set { __data["elementId"] = newValue }
}
public var id: String {
get { __data["id"] }
set { __data["id"] = newValue }
}
public var mode: GraphQLEnum<DocMode> {
get { __data["mode"] }
set { __data["mode"] = newValue }
}
public var title: String {
get { __data["title"] }
set { __data["title"] = newValue }
}
}

View File

@@ -0,0 +1,39 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct MentionInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
doc: MentionDocInput,
userId: String,
workspaceId: String
) {
__data = InputDict([
"doc": doc,
"userId": userId,
"workspaceId": workspaceId
])
}
public var doc: MentionDocInput {
get { __data["doc"] }
set { __data["doc"] = newValue }
}
public var userId: String {
get { __data["userId"] }
set { __data["userId"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -0,0 +1,42 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct PaginationInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
after: GraphQLNullable<String> = nil,
first: GraphQLNullable<Int> = nil,
offset: GraphQLNullable<Int> = nil
) {
__data = InputDict([
"after": after,
"first": first,
"offset": offset
])
}
/// returns the elements in the list that come after the specified cursor.
public var after: GraphQLNullable<String> {
get { __data["after"] }
set { __data["after"] = newValue }
}
/// returns the first n elements from the list.
public var first: GraphQLNullable<Int> {
get { __data["first"] }
set { __data["first"] = newValue }
}
/// ignore the first n elements from the list.
public var offset: GraphQLNullable<Int> {
get { __data["offset"] }
set { __data["offset"] = newValue }
}
}

View File

@@ -17,7 +17,8 @@ public struct QueryChatHistoriesInput: InputObject {
messageOrder: GraphQLNullable<GraphQLEnum<ChatHistoryOrder>> = nil,
sessionId: GraphQLNullable<String> = nil,
sessionOrder: GraphQLNullable<GraphQLEnum<ChatHistoryOrder>> = nil,
skip: GraphQLNullable<Int> = nil
skip: GraphQLNullable<Int> = nil,
withPrompt: GraphQLNullable<Bool> = nil
) {
__data = InputDict([
"action": action,
@@ -26,7 +27,8 @@ public struct QueryChatHistoriesInput: InputObject {
"messageOrder": messageOrder,
"sessionId": sessionId,
"sessionOrder": sessionOrder,
"skip": skip
"skip": skip,
"withPrompt": withPrompt
])
}
@@ -64,4 +66,9 @@ public struct QueryChatHistoriesInput: InputObject {
get { __data["skip"] }
set { __data["skip"] = newValue }
}
public var withPrompt: GraphQLNullable<Bool> {
get { __data["withPrompt"] }
set { __data["withPrompt"] = newValue }
}
}

View File

@@ -0,0 +1,25 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct QueryChatSessionsInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
action: GraphQLNullable<Bool> = nil
) {
__data = InputDict([
"action": action
])
}
public var action: GraphQLNullable<Bool> {
get { __data["action"] }
set { __data["action"] = newValue }
}
}

View File

@@ -0,0 +1,39 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct RemoveContextCategoryInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
categoryId: String,
contextId: String,
type: GraphQLEnum<ContextCategories>
) {
__data = InputDict([
"categoryId": categoryId,
"contextId": contextId,
"type": type
])
}
public var categoryId: String {
get { __data["categoryId"] }
set { __data["categoryId"] = newValue }
}
public var contextId: String {
get { __data["contextId"] }
set { __data["contextId"] = newValue }
}
public var type: GraphQLEnum<ContextCategories> {
get { __data["type"] }
set { __data["type"] = newValue }
}
}

View File

@@ -0,0 +1,32 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct RemoveContextDocInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
contextId: String,
docId: String
) {
__data = InputDict([
"contextId": contextId,
"docId": docId
])
}
public var contextId: String {
get { __data["contextId"] }
set { __data["contextId"] = newValue }
}
public var docId: String {
get { __data["docId"] }
set { __data["docId"] = newValue }
}
}

View File

@@ -0,0 +1,32 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct RemoveContextFileInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
contextId: String,
fileId: String
) {
__data = InputDict([
"contextId": contextId,
"fileId": fileId
])
}
public var contextId: String {
get { __data["contextId"] }
set { __data["contextId"] = newValue }
}
public var fileId: String {
get { __data["fileId"] }
set { __data["fileId"] = newValue }
}
}

View File

@@ -0,0 +1,39 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct RevokeDocUserRoleInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
docId: String,
userId: String,
workspaceId: String
) {
__data = InputDict([
"docId": docId,
"userId": userId,
"workspaceId": workspaceId
])
}
public var docId: String {
get { __data["docId"] }
set { __data["docId"] = newValue }
}
public var userId: String {
get { __data["userId"] }
set { __data["userId"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -0,0 +1,39 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct UpdateDocDefaultRoleInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
docId: String,
role: GraphQLEnum<DocRole>,
workspaceId: String
) {
__data = InputDict([
"docId": docId,
"role": role,
"workspaceId": workspaceId
])
}
public var docId: String {
get { __data["docId"] }
set { __data["docId"] = newValue }
}
public var role: GraphQLEnum<DocRole> {
get { __data["role"] }
set { __data["role"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -0,0 +1,46 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct UpdateDocUserRoleInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
docId: String,
role: GraphQLEnum<DocRole>,
userId: String,
workspaceId: String
) {
__data = InputDict([
"docId": docId,
"role": role,
"userId": userId,
"workspaceId": workspaceId
])
}
public var docId: String {
get { __data["docId"] }
set { __data["docId"] = newValue }
}
public var role: GraphQLEnum<DocRole> {
get { __data["role"] }
set { __data["role"] = newValue }
}
public var userId: String {
get { __data["userId"] }
set { __data["userId"] = newValue }
}
public var workspaceId: String {
get { __data["workspaceId"] }
set { __data["workspaceId"] = newValue }
}
}

View File

@@ -0,0 +1,34 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public struct UpdateSettingsInput: InputObject {
public private(set) var __data: InputDict
public init(_ data: InputDict) {
__data = data
}
public init(
receiveInvitationEmail: GraphQLNullable<Bool> = nil,
receiveMentionEmail: GraphQLNullable<Bool> = nil
) {
__data = InputDict([
"receiveInvitationEmail": receiveInvitationEmail,
"receiveMentionEmail": receiveMentionEmail
])
}
/// Receive invitation email
public var receiveInvitationEmail: GraphQLNullable<Bool> {
get { __data["receiveInvitationEmail"] }
set { __data["receiveInvitationEmail"] = newValue }
}
/// Receive mention email
public var receiveMentionEmail: GraphQLNullable<Bool> {
get { __data["receiveMentionEmail"] }
set { __data["receiveMentionEmail"] = newValue }
}
}

View File

@@ -0,0 +1,12 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Objects {
static let ContextMatchedDocChunk = ApolloAPI.Object(
typename: "ContextMatchedDocChunk",
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 ContextMatchedFileChunk = ApolloAPI.Object(
typename: "ContextMatchedFileChunk",
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 ContextWorkspaceEmbeddingStatus = ApolloAPI.Object(
typename: "ContextWorkspaceEmbeddingStatus",
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 CopilotContext = ApolloAPI.Object(
typename: "CopilotContext",
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 CopilotContextCategory = ApolloAPI.Object(
typename: "CopilotContextCategory",
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 CopilotContextDoc = ApolloAPI.Object(
typename: "CopilotContextDoc",
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 CopilotContextFile = ApolloAPI.Object(
typename: "CopilotContextFile",
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 CopilotDocType = ApolloAPI.Object(
typename: "CopilotDocType",
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 CopilotSessionType = ApolloAPI.Object(
typename: "CopilotSessionType",
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 DocPermissions = ApolloAPI.Object(
typename: "DocPermissions",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -4,8 +4,8 @@
import ApolloAPI
public extension Objects {
static let WorkspacePage = ApolloAPI.Object(
typename: "WorkspacePage",
static let DocType = ApolloAPI.Object(
typename: "DocType",
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 GrantedDocUserType = ApolloAPI.Object(
typename: "GrantedDocUserType",
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 GrantedDocUserTypeEdge = ApolloAPI.Object(
typename: "GrantedDocUserTypeEdge",
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 License = ApolloAPI.Object(
typename: "License",
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 NotificationObjectType = ApolloAPI.Object(
typename: "NotificationObjectType",
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 NotificationObjectTypeEdge = ApolloAPI.Object(
typename: "NotificationObjectTypeEdge",
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 PageInfo = ApolloAPI.Object(
typename: "PageInfo",
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 PaginatedGrantedDocUserType = ApolloAPI.Object(
typename: "PaginatedGrantedDocUserType",
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 PaginatedNotificationObjectType = ApolloAPI.Object(
typename: "PaginatedNotificationObjectType",
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 PublicUserType = ApolloAPI.Object(
typename: "PublicUserType",
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 ReleaseVersionType = ApolloAPI.Object(
typename: "ReleaseVersionType",
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 SettingsType = ApolloAPI.Object(
typename: "SettingsType",
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 TranscriptionItemType = ApolloAPI.Object(
typename: "TranscriptionItemType",
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 TranscriptionResultType = ApolloAPI.Object(
typename: "TranscriptionResultType",
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 UserImportFailedType = ApolloAPI.Object(
typename: "UserImportFailedType",
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 WorkspacePermissions = ApolloAPI.Object(
typename: "WorkspacePermissions",
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 WorkspaceRolePermissions = ApolloAPI.Object(
typename: "WorkspaceRolePermissions",
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 WorkspaceUserType = ApolloAPI.Object(
typename: "WorkspaceUserType",
implementedInterfaces: [],
keyFields: nil
)
}

View File

@@ -21,42 +21,69 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {
public static func objectType(forTypename typename: String) -> ApolloAPI.Object? {
switch typename {
case "ChatMessage": return AffineGraphQL.Objects.ChatMessage
case "ContextMatchedDocChunk": return AffineGraphQL.Objects.ContextMatchedDocChunk
case "ContextMatchedFileChunk": return AffineGraphQL.Objects.ContextMatchedFileChunk
case "ContextWorkspaceEmbeddingStatus": return AffineGraphQL.Objects.ContextWorkspaceEmbeddingStatus
case "Copilot": return AffineGraphQL.Objects.Copilot
case "CopilotContext": return AffineGraphQL.Objects.CopilotContext
case "CopilotContextCategory": return AffineGraphQL.Objects.CopilotContextCategory
case "CopilotContextDoc": return AffineGraphQL.Objects.CopilotContextDoc
case "CopilotContextFile": return AffineGraphQL.Objects.CopilotContextFile
case "CopilotDocType": return AffineGraphQL.Objects.CopilotDocType
case "CopilotHistories": return AffineGraphQL.Objects.CopilotHistories
case "CopilotPromptConfigType": return AffineGraphQL.Objects.CopilotPromptConfigType
case "CopilotPromptMessageType": return AffineGraphQL.Objects.CopilotPromptMessageType
case "CopilotPromptType": return AffineGraphQL.Objects.CopilotPromptType
case "CopilotQuota": return AffineGraphQL.Objects.CopilotQuota
case "CopilotSessionType": return AffineGraphQL.Objects.CopilotSessionType
case "CredentialsRequirementType": return AffineGraphQL.Objects.CredentialsRequirementType
case "DeleteAccount": return AffineGraphQL.Objects.DeleteAccount
case "DocHistoryType": return AffineGraphQL.Objects.DocHistoryType
case "DocPermissions": return AffineGraphQL.Objects.DocPermissions
case "DocType": return AffineGraphQL.Objects.DocType
case "EditorType": return AffineGraphQL.Objects.EditorType
case "GrantedDocUserType": return AffineGraphQL.Objects.GrantedDocUserType
case "GrantedDocUserTypeEdge": return AffineGraphQL.Objects.GrantedDocUserTypeEdge
case "InvitationType": return AffineGraphQL.Objects.InvitationType
case "InvitationWorkspaceType": return AffineGraphQL.Objects.InvitationWorkspaceType
case "InviteLink": return AffineGraphQL.Objects.InviteLink
case "InviteResult": return AffineGraphQL.Objects.InviteResult
case "InviteUserType": return AffineGraphQL.Objects.InviteUserType
case "InvoiceType": return AffineGraphQL.Objects.InvoiceType
case "License": return AffineGraphQL.Objects.License
case "LimitedUserType": return AffineGraphQL.Objects.LimitedUserType
case "ListedBlob": return AffineGraphQL.Objects.ListedBlob
case "Mutation": return AffineGraphQL.Objects.Mutation
case "NotificationObjectType": return AffineGraphQL.Objects.NotificationObjectType
case "NotificationObjectTypeEdge": return AffineGraphQL.Objects.NotificationObjectTypeEdge
case "PageInfo": return AffineGraphQL.Objects.PageInfo
case "PaginatedGrantedDocUserType": return AffineGraphQL.Objects.PaginatedGrantedDocUserType
case "PaginatedNotificationObjectType": return AffineGraphQL.Objects.PaginatedNotificationObjectType
case "PasswordLimitsType": return AffineGraphQL.Objects.PasswordLimitsType
case "PublicUserType": return AffineGraphQL.Objects.PublicUserType
case "Query": return AffineGraphQL.Objects.Query
case "ReleaseVersionType": return AffineGraphQL.Objects.ReleaseVersionType
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 "SettingsType": return AffineGraphQL.Objects.SettingsType
case "SubscriptionPrice": return AffineGraphQL.Objects.SubscriptionPrice
case "SubscriptionType": return AffineGraphQL.Objects.SubscriptionType
case "TranscriptionItemType": return AffineGraphQL.Objects.TranscriptionItemType
case "TranscriptionResultType": return AffineGraphQL.Objects.TranscriptionResultType
case "UserImportFailedType": return AffineGraphQL.Objects.UserImportFailedType
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 "WorkspacePermissions": return AffineGraphQL.Objects.WorkspacePermissions
case "WorkspaceQuotaHumanReadableType": return AffineGraphQL.Objects.WorkspaceQuotaHumanReadableType
case "WorkspaceQuotaType": return AffineGraphQL.Objects.WorkspaceQuotaType
case "WorkspaceRolePermissions": return AffineGraphQL.Objects.WorkspaceRolePermissions
case "WorkspaceType": return AffineGraphQL.Objects.WorkspaceType
case "WorkspaceUserType": return AffineGraphQL.Objects.WorkspaceUserType
case "tokenType": return AffineGraphQL.Objects.TokenType
default: return nil
}

View File

@@ -0,0 +1,14 @@
// @generated
// This file was automatically generated and should not be edited.
import ApolloAPI
public extension Unions {
static let UserImportResultType = Union(
name: "UserImportResultType",
possibleTypes: [
Objects.UserImportFailedType.self,
Objects.UserType.self
]
)
}