import { gql } from '@apollo/client' ; import * as Apollo from '@apollo/client' ; export type Maybe < T > = T | null ; export type Exact < T extends { [ key ] : unknown ; } > = { [ K in keyof T ] : T [ K ] ; } ; export type MakeOptional < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] ? : Maybe < T [ SubKey ] > ; } ; export type MakeMaybe < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] : Maybe < T [ SubKey ] > ; } ; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID : string ; String : string ; Boolean : boolean ; Int : number ; Float : number ; /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ DateTime : string ; /** The `Upload` scalar type represents a file upload. */ Upload : any ; } ; export type App = { __typename ? : 'App' ; id : Scalars [ 'ID' ] ; name : Scalars [ 'String' ] ; createdAt : Scalars [ 'DateTime' ] ; type : AppTypes ; databases ? : Maybe < Array < Database > > ; appMetaGithub ? : Maybe < AppMetaGithub > ; } ; export type GithubAppInstallationId = { __typename ? : 'GithubAppInstallationId' ; id : Scalars [ 'String' ] ; } ; export type AppMetaGithub = { __typename ? : 'AppMetaGithub' ; repoId : Scalars [ 'String' ] ; repoName : Scalars [ 'String' ] ; repoOwner : Scalars [ 'String' ] ; branch : Scalars [ 'String' ] ; githubAppInstallationId : Scalars [ 'String' ] ; } ; export type Repository = { __typename ? : 'Repository' ; id : Scalars [ 'String' ] ; name : Scalars [ 'String' ] ; fullName : Scalars [ 'String' ] ; private : Scalars [ 'Boolean' ] ; } ; export type Branch = { __typename ? : 'Branch' ; name : Scalars [ 'String' ] ; } ; export type AppTypes = 'DOKKU' | 'GITHUB' | 'GITLAB' | 'DOCKER' ; export type AppBuild = { __typename ? : 'AppBuild' ; id : Scalars [ 'ID' ] ; status : AppBuildStatus ; } ; export type AppBuildStatus = 'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'ERRORED' ; export type Database = { __typename ? : 'Database' ; id : Scalars [ 'ID' ] ; name : Scalars [ 'String' ] ; type : DatabaseTypes ; version ? : Maybe < Scalars [ 'String' ] > ; createdAt : Scalars [ 'DateTime' ] ; apps ? : Maybe < Array < App > > ; } ; export type DatabaseTypes = 'REDIS' | 'POSTGRESQL' | 'MONGODB' | 'MYSQL' ; export type Domains = { __typename ? : 'Domains' ; domains : Array < Scalars [ 'String' ] > ; } ; export type RealTimeLog = { __typename ? : 'RealTimeLog' ; message ? : Maybe < Scalars [ 'String' ] > ; type ? : Maybe < Scalars [ 'String' ] > ; } ; export type LoginResult = { __typename ? : 'LoginResult' ; token : Scalars [ 'String' ] ; } ; export type RegisterGithubAppResult = { __typename ? : 'RegisterGithubAppResult' ; githubAppClientId : Scalars [ 'String' ] ; } ; export type CreateAppDokkuResult = { __typename ? : 'CreateAppDokkuResult' ; appId : Scalars [ 'String' ] ; } ; export type CreateAppGithubResult = { __typename ? : 'CreateAppGithubResult' ; result : Scalars [ 'Boolean' ] ; } ; export type DestroyAppResult = { __typename ? : 'DestroyAppResult' ; result : Scalars [ 'Boolean' ] ; } ; export type RestartAppResult = { __typename ? : 'RestartAppResult' ; result : Scalars [ 'Boolean' ] ; } ; export type RebuildAppResult = { __typename ? : 'RebuildAppResult' ; result : Scalars [ 'Boolean' ] ; } ; export type DestroyDatabaseResult = { __typename ? : 'DestroyDatabaseResult' ; result : Scalars [ 'Boolean' ] ; } ; export type LinkDatabaseResult = { __typename ? : 'LinkDatabaseResult' ; result : Scalars [ 'Boolean' ] ; } ; export type UnlinkDatabaseResult = { __typename ? : 'UnlinkDatabaseResult' ; result : Scalars [ 'Boolean' ] ; } ; export type DokkuPlugin = { __typename ? : 'DokkuPlugin' ; name : Scalars [ 'String' ] ; version : Scalars [ 'String' ] ; } ; export type DokkuPluginResult = { __typename ? : 'DokkuPluginResult' ; version : Scalars [ 'String' ] ; plugins : Array < DokkuPlugin > ; } ; export type SetEnvVarResult = { __typename ? : 'SetEnvVarResult' ; result : Scalars [ 'Boolean' ] ; } ; export type UnsetEnvVarResult = { __typename ? : 'UnsetEnvVarResult' ; result : Scalars [ 'Boolean' ] ; } ; export type CreateDatabaseResult = { __typename ? : 'CreateDatabaseResult' ; result : Scalars [ 'Boolean' ] ; } ; export type AppLogsResult = { __typename ? : 'AppLogsResult' ; logs : Array < Scalars [ 'String' ] > ; } ; export type DatabaseInfoResult = { __typename ? : 'DatabaseInfoResult' ; info : Array < Scalars [ 'String' ] > ; } ; export type DatabaseLogsResult = { __typename ? : 'DatabaseLogsResult' ; logs : Array < Maybe < Scalars [ 'String' ] > > ; } ; export type IsDatabaseLinkedResult = { __typename ? : 'IsDatabaseLinkedResult' ; isLinked : Scalars [ 'Boolean' ] ; } ; export type EnvVar = { __typename ? : 'EnvVar' ; key : Scalars [ 'String' ] ; value : Scalars [ 'String' ] ; } ; export type EnvVarsResult = { __typename ? : 'EnvVarsResult' ; envVars : Array < EnvVar > ; } ; export type SetDomainResult = { __typename ? : 'SetDomainResult' ; result : Scalars [ 'Boolean' ] ; } ; export type AddDomainResult = { __typename ? : 'AddDomainResult' ; result : Scalars [ 'Boolean' ] ; } ; export type RemoveDomainResult = { __typename ? : 'RemoveDomainResult' ; result : Scalars [ 'Boolean' ] ; } ; export type SetupResult = { __typename ? : 'SetupResult' ; canConnectSsh : Scalars [ 'Boolean' ] ; sshPublicKey : Scalars [ 'String' ] ; isGithubAppSetup : Scalars [ 'Boolean' ] ; githubAppManifest : Scalars [ 'String' ] ; } ; export type IsPluginInstalledResult = { __typename ? : 'IsPluginInstalledResult' ; isPluginInstalled : Scalars [ 'Boolean' ] ; } ; export type AppProxyPort = { __typename ? : 'AppProxyPort' ; scheme : Scalars [ 'String' ] ; host : Scalars [ 'String' ] ; container : Scalars [ 'String' ] ; } ; export type CreateAppDokkuInput = { name : Scalars [ 'String' ] ; } ; export type CreateAppGithubInput = { name : Scalars [ 'String' ] ; gitRepoFullName : Scalars [ 'String' ] ; branchName : Scalars [ 'String' ] ; gitRepoId : Scalars [ 'String' ] ; githubInstallationId : Scalars [ 'String' ] ; } ; export type RestartAppInput = { appId : Scalars [ 'String' ] ; } ; export type RebuildAppInput = { appId : Scalars [ 'String' ] ; } ; export type CreateDatabaseInput = { name : Scalars [ 'String' ] ; type : DatabaseTypes ; } ; export type UnlinkDatabaseInput = { appId : Scalars [ 'String' ] ; databaseId : Scalars [ 'String' ] ; } ; export type SetEnvVarInput = { appId : Scalars [ 'String' ] ; key : Scalars [ 'String' ] ; value : Scalars [ 'String' ] ; } ; export type UnsetEnvVarInput = { appId : Scalars [ 'String' ] ; key : Scalars [ 'String' ] ; } ; export type DestroyAppInput = { appId : Scalars [ 'String' ] ; } ; export type AddDomainInput = { appId : Scalars [ 'String' ] ; domainName : Scalars [ 'String' ] ; } ; export type RemoveDomainInput = { appId : Scalars [ 'String' ] ; domainName : Scalars [ 'String' ] ; } ; export type SetDomainInput = { appId : Scalars [ 'String' ] ; domainName : Scalars [ 'String' ] ; } ; export type LinkDatabaseInput = { appId : Scalars [ 'String' ] ; databaseId : Scalars [ 'String' ] ; } ; export type DestroyDatabaseInput = { databaseId : Scalars [ 'String' ] ; } ; export type AddAppProxyPortInput = { appId : Scalars [ 'String' ] ; host : Scalars [ 'String' ] ; container : Scalars [ 'String' ] ; } ; export type RemoveAppProxyPortInput = { appId : Scalars [ 'String' ] ; scheme : Scalars [ 'String' ] ; host : Scalars [ 'String' ] ; container : Scalars [ 'String' ] ; } ; export type Query = { __typename ? : 'Query' ; githubInstallationId : GithubAppInstallationId ; setup : SetupResult ; apps : Array < App > ; repositories : Array < Repository > ; branches : Array < Branch > ; appMetaGithub ? : Maybe < AppMetaGithub > ; app ? : Maybe < App > ; domains : Domains ; database ? : Maybe < Database > ; databases : Array < Database > ; isPluginInstalled : IsPluginInstalledResult ; dokkuPlugins : DokkuPluginResult ; appLogs : AppLogsResult ; databaseInfo : DatabaseInfoResult ; databaseLogs : DatabaseLogsResult ; isDatabaseLinked : IsDatabaseLinkedResult ; envVars : EnvVarsResult ; appProxyPorts : Array < AppProxyPort > ; } ; export type QueryRepositoriesArgs = { installationId : Scalars [ 'String' ] ; } ; export type QueryBranchesArgs = { repositoryName : Scalars [ 'String' ] ; installationId : Scalars [ 'String' ] ; } ; export type QueryAppMetaGithubArgs = { appId : Scalars [ 'String' ] ; } ; export type QueryAppArgs = { appId : Scalars [ 'String' ] ; } ; export type QueryDomainsArgs = { appId : Scalars [ 'String' ] ; } ; export type QueryDatabaseArgs = { databaseId : Scalars [ 'String' ] ; } ; export type QueryIsPluginInstalledArgs = { pluginName : Scalars [ 'String' ] ; } ; export type QueryAppLogsArgs = { appId : Scalars [ 'String' ] ; } ; export type QueryDatabaseInfoArgs = { databaseId : Scalars [ 'String' ] ; } ; export type QueryDatabaseLogsArgs = { databaseId : Scalars [ 'String' ] ; } ; export type QueryIsDatabaseLinkedArgs = { databaseId : Scalars [ 'String' ] ; appId : Scalars [ 'String' ] ; } ; export type QueryEnvVarsArgs = { appId : Scalars [ 'String' ] ; } ; export type QueryAppProxyPortsArgs = { appId : Scalars [ 'String' ] ; } ; export type Subscription = { __typename ? : 'Subscription' ; unlinkDatabaseLogs : RealTimeLog ; linkDatabaseLogs : RealTimeLog ; createDatabaseLogs : RealTimeLog ; appRestartLogs : RealTimeLog ; appRebuildLogs : RealTimeLog ; appCreateLogs : RealTimeLog ; } ; export type Mutation = { __typename ? : 'Mutation' ; loginWithGithub ? : Maybe < LoginResult > ; registerGithubApp ? : Maybe < RegisterGithubAppResult > ; addDomain : AddDomainResult ; removeDomain : RemoveDomainResult ; setDomain : SetDomainResult ; createAppDokku : CreateAppDokkuResult ; createDatabase : CreateDatabaseResult ; setEnvVar : SetEnvVarResult ; unsetEnvVar : UnsetEnvVarResult ; destroyApp : DestroyAppResult ; restartApp : RestartAppResult ; rebuildApp : RebuildAppResult ; destroyDatabase : DestroyDatabaseResult ; linkDatabase : LinkDatabaseResult ; unlinkDatabase : UnlinkDatabaseResult ; addAppProxyPort ? : Maybe < Scalars [ 'Boolean' ] > ; removeAppProxyPort ? : Maybe < Scalars [ 'Boolean' ] > ; createAppGithub : CreateAppGithubResult ; } ; export type MutationLoginWithGithubArgs = { code : Scalars [ 'String' ] ; } ; export type MutationRegisterGithubAppArgs = { code : Scalars [ 'String' ] ; } ; export type MutationAddDomainArgs = { input : AddDomainInput ; } ; export type MutationRemoveDomainArgs = { input : RemoveDomainInput ; } ; export type MutationSetDomainArgs = { input : SetDomainInput ; } ; export type MutationCreateAppDokkuArgs = { input : CreateAppDokkuInput ; } ; export type MutationCreateDatabaseArgs = { input : CreateDatabaseInput ; } ; export type MutationSetEnvVarArgs = { input : SetEnvVarInput ; } ; export type MutationUnsetEnvVarArgs = { input : UnsetEnvVarInput ; } ; export type MutationDestroyAppArgs = { input : DestroyAppInput ; } ; export type MutationRestartAppArgs = { input : RestartAppInput ; } ; export type MutationRebuildAppArgs = { input : RebuildAppInput ; } ; export type MutationDestroyDatabaseArgs = { input : DestroyDatabaseInput ; } ; export type MutationLinkDatabaseArgs = { input : LinkDatabaseInput ; } ; export type MutationUnlinkDatabaseArgs = { input : UnlinkDatabaseInput ; } ; export type MutationAddAppProxyPortArgs = { input : AddAppProxyPortInput ; } ; export type MutationRemoveAppProxyPortArgs = { input : RemoveAppProxyPortInput ; } ; export type MutationCreateAppGithubArgs = { input : CreateAppGithubInput ; } ; export type CacheControlScope = 'PUBLIC' | 'PRIVATE' ; export type AddAppProxyPortMutationVariables = Exact < { input : AddAppProxyPortInput ; } > ; export type AddAppProxyPortMutation = ( { __typename ? : 'Mutation' ; } & Pick < Mutation , 'addAppProxyPort' > ) ; export type AddDomainMutationVariables = Exact < { input : AddDomainInput ; } > ; export type AddDomainMutation = ( { __typename ? : 'Mutation' ; } & { addDomain : ( { __typename ? : 'AddDomainResult' ; } & Pick < AddDomainResult , 'result' > ) ; } ) ; export type CreateAppDokkuMutationVariables = Exact < { input : CreateAppDokkuInput ; } > ; export type CreateAppDokkuMutation = ( { __typename ? : 'Mutation' ; } & { createAppDokku : ( { __typename ? : 'CreateAppDokkuResult' ; } & Pick < CreateAppDokkuResult , 'appId' > ) ; } ) ; export type CreateAppGithubMutationVariables = Exact < { input : CreateAppGithubInput ; } > ; export type CreateAppGithubMutation = ( { __typename ? : 'Mutation' ; } & { createAppGithub : ( { __typename ? : 'CreateAppGithubResult' ; } & Pick < CreateAppGithubResult , 'result' > ) ; } ) ; export type CreateDatabaseMutationVariables = Exact < { input : CreateDatabaseInput ; } > ; export type CreateDatabaseMutation = ( { __typename ? : 'Mutation' ; } & { createDatabase : ( { __typename ? : 'CreateDatabaseResult' ; } & Pick < CreateDatabaseResult , 'result' > ) ; } ) ; export type DestroyAppMutationVariables = Exact < { input : DestroyAppInput ; } > ; export type DestroyAppMutation = ( { __typename ? : 'Mutation' ; } & { destroyApp : ( { __typename ? : 'DestroyAppResult' ; } & Pick < DestroyAppResult , 'result' > ) ; } ) ; export type DestroyDatabaseMutationVariables = Exact < { input : DestroyDatabaseInput ; } > ; export type DestroyDatabaseMutation = ( { __typename ? : 'Mutation' ; } & { destroyDatabase : ( { __typename ? : 'DestroyDatabaseResult' ; } & Pick < DestroyDatabaseResult , 'result' > ) ; } ) ; export type LinkDatabaseMutationVariables = Exact < { input : LinkDatabaseInput ; } > ; export type LinkDatabaseMutation = ( { __typename ? : 'Mutation' ; } & { linkDatabase : ( { __typename ? : 'LinkDatabaseResult' ; } & Pick < LinkDatabaseResult , 'result' > ) ; } ) ; export type LoginWithGithubMutationVariables = Exact < { code : Scalars [ 'String' ] ; } > ; export type LoginWithGithubMutation = ( { __typename ? : 'Mutation' ; } & { loginWithGithub ? : Maybe < ( { __typename ? : 'LoginResult' ; } & Pick < LoginResult , 'token' > ) > ; } ) ; export type RebuildAppMutationVariables = Exact < { input : RebuildAppInput ; } > ; export type RebuildAppMutation = ( { __typename ? : 'Mutation' ; } & { rebuildApp : ( { __typename ? : 'RebuildAppResult' ; } & Pick < RebuildAppResult , 'result' > ) ; } ) ; export type RegisterGithubAppMutationVariables = Exact < { code : Scalars [ 'String' ] ; } > ; export type RegisterGithubAppMutation = ( { __typename ? : 'Mutation' ; } & { registerGithubApp ? : Maybe < ( { __typename ? : 'RegisterGithubAppResult' ; } & Pick < RegisterGithubAppResult , 'githubAppClientId' > ) > ; } ) ; export type RemoveAppProxyPortMutationVariables = Exact < { input : RemoveAppProxyPortInput ; } > ; export type RemoveAppProxyPortMutation = ( { __typename ? : 'Mutation' ; } & Pick < Mutation , 'removeAppProxyPort' > ) ; export type RemoveDomainMutationVariables = Exact < { input : RemoveDomainInput ; } > ; export type RemoveDomainMutation = ( { __typename ? : 'Mutation' ; } & { removeDomain : ( { __typename ? : 'RemoveDomainResult' ; } & Pick < RemoveDomainResult , 'result' > ) ; } ) ; export type RestartAppMutationVariables = Exact < { input : RestartAppInput ; } > ; export type RestartAppMutation = ( { __typename ? : 'Mutation' ; } & { restartApp : ( { __typename ? : 'RestartAppResult' ; } & Pick < RestartAppResult , 'result' > ) ; } ) ; export type SetDomainMutationVariables = Exact < { input : SetDomainInput ; } > ; export type SetDomainMutation = ( { __typename ? : 'Mutation' ; } & { setDomain : ( { __typename ? : 'SetDomainResult' ; } & Pick < SetDomainResult , 'result' > ) ; } ) ; export type SetEnvVarMutationVariables = Exact < { key : Scalars [ 'String' ] ; value : Scalars [ 'String' ] ; appId : Scalars [ 'String' ] ; } > ; export type SetEnvVarMutation = ( { __typename ? : 'Mutation' ; } & { setEnvVar : ( { __typename ? : 'SetEnvVarResult' ; } & Pick < SetEnvVarResult , 'result' > ) ; } ) ; export type UnlinkDatabaseMutationVariables = Exact < { input : UnlinkDatabaseInput ; } > ; export type UnlinkDatabaseMutation = ( { __typename ? : 'Mutation' ; } & { unlinkDatabase : ( { __typename ? : 'UnlinkDatabaseResult' ; } & Pick < UnlinkDatabaseResult , 'result' > ) ; } ) ; export type UnsetEnvVarMutationVariables = Exact < { key : Scalars [ 'String' ] ; appId : Scalars [ 'String' ] ; } > ; export type UnsetEnvVarMutation = ( { __typename ? : 'Mutation' ; } & { unsetEnvVar : ( { __typename ? : 'UnsetEnvVarResult' ; } & Pick < UnsetEnvVarResult , 'result' > ) ; } ) ; export type AppByIdQueryVariables = Exact < { appId : Scalars [ 'String' ] ; } > ; export type AppByIdQuery = ( { __typename ? : 'Query' ; } & { app ? : Maybe < ( { __typename ? : 'App' ; } & Pick < App , 'id' | 'name' | 'createdAt' > & { databases ? : Maybe < Array < ( { __typename ? : 'Database' ; } & Pick < Database , 'id' | 'name' | 'type' > ) > > ; appMetaGithub ? : Maybe < ( { __typename ? : 'AppMetaGithub' ; } & Pick < AppMetaGithub , 'repoId' | 'repoName' | 'repoOwner' | 'branch' | 'githubAppInstallationId' > ) > ; } ) > ; } ) ; export type AppLogsQueryVariables = Exact < { appId : Scalars [ 'String' ] ; } > ; export type AppLogsQuery = ( { __typename ? : 'Query' ; } & { appLogs : ( { __typename ? : 'AppLogsResult' ; } & Pick < AppLogsResult , 'logs' > ) ; } ) ; export type AppProxyPortsQueryVariables = Exact < { appId : Scalars [ 'String' ] ; } > ; export type AppProxyPortsQuery = ( { __typename ? : 'Query' ; } & { appProxyPorts : Array < ( { __typename ? : 'AppProxyPort' ; } & Pick < AppProxyPort , 'scheme' | 'host' | 'container' > ) > ; } ) ; export type AppsQueryVariables = Exact < { [ key ] : never ; } > ; export type AppsQuery = ( { __typename ? : 'Query' ; } & { apps : Array < ( { __typename ? : 'App' ; } & Pick < App , 'id' | 'name' > ) > ; } ) ; export type BranchesQueryVariables = Exact < { installationId : Scalars [ 'String' ] ; repositoryName : Scalars [ 'String' ] ; } > ; export type BranchesQuery = ( { __typename ? : 'Query' ; } & { branches : Array < ( { __typename ? : 'Branch' ; } & Pick < Branch , 'name' > ) > ; } ) ; export type DashboardQueryVariables = Exact < { [ key ] : never ; } > ; export type DashboardQuery = ( { __typename ? : 'Query' ; } & { apps : Array < ( { __typename ? : 'App' ; } & Pick < App , 'id' | 'name' | 'createdAt' > & { appMetaGithub ? : Maybe < ( { __typename ? : 'AppMetaGithub' ; } & Pick < AppMetaGithub , 'repoName' | 'repoOwner' > ) > ; } ) > ; databases : Array < ( { __typename ? : 'Database' ; } & Pick < Database , 'id' | 'name' | 'type' | 'createdAt' > ) > ; } ) ; export type DatabaseByIdQueryVariables = Exact < { databaseId : Scalars [ 'String' ] ; } > ; export type DatabaseByIdQuery = ( { __typename ? : 'Query' ; } & { database ? : Maybe < ( { __typename ? : 'Database' ; } & Pick < Database , 'id' | 'name' | 'type' | 'version' > & { apps ? : Maybe < Array < ( { __typename ? : 'App' ; } & Pick < App , 'id' | 'name' > ) > > ; } ) > ; } ) ; export type DatabaseInfoQueryVariables = Exact < { databaseId : Scalars [ 'String' ] ; } > ; export type DatabaseInfoQuery = ( { __typename ? : 'Query' ; } & { databaseInfo : ( { __typename ? : 'DatabaseInfoResult' ; } & Pick < DatabaseInfoResult , 'info' > ) ; } ) ; export type DatabaseLogsQueryVariables = Exact < { databaseId : Scalars [ 'String' ] ; } > ; export type DatabaseLogsQuery = ( { __typename ? : 'Query' ; } & { databaseLogs : ( { __typename ? : 'DatabaseLogsResult' ; } & Pick < DatabaseLogsResult , 'logs' > ) ; } ) ; export type DatabaseQueryVariables = Exact < { [ key ] : never ; } > ; export type DatabaseQuery = ( { __typename ? : 'Query' ; } & { databases : Array < ( { __typename ? : 'Database' ; } & Pick < Database , 'id' | 'name' | 'type' > ) > ; } ) ; export type DomainsQueryVariables = Exact < { appId : Scalars [ 'String' ] ; } > ; export type DomainsQuery = ( { __typename ? : 'Query' ; } & { domains : ( { __typename ? : 'Domains' ; } & Pick < Domains , 'domains' > ) ; } ) ; export type EnvVarsQueryVariables = Exact < { appId : Scalars [ 'String' ] ; } > ; export type EnvVarsQuery = ( { __typename ? : 'Query' ; } & { envVars : ( { __typename ? : 'EnvVarsResult' ; } & { envVars : Array < ( { __typename ? : 'EnvVar' ; } & Pick < EnvVar , 'key' | 'value' > ) > ; } ) ; } ) ; export type GithubInstallationIdQueryVariables = Exact < { [ key ] : never ; } > ; export type GithubInstallationIdQuery = ( { __typename ? : 'Query' ; } & { githubInstallationId : ( { __typename ? : 'GithubAppInstallationId' ; } & Pick < GithubAppInstallationId , 'id' > ) ; } ) ; export type IsPluginInstalledQueryVariables = Exact < { pluginName : Scalars [ 'String' ] ; } > ; export type IsPluginInstalledQuery = ( { __typename ? : 'Query' ; } & { isPluginInstalled : ( { __typename ? : 'IsPluginInstalledResult' ; } & Pick < IsPluginInstalledResult , 'isPluginInstalled' > ) ; } ) ; export type RepositoriesQueryVariables = Exact < { installationId : Scalars [ 'String' ] ; } > ; export type RepositoriesQuery = ( { __typename ? : 'Query' ; } & { repositories : Array < ( { __typename ? : 'Repository' ; } & Pick < Repository , 'id' | 'name' | 'fullName' | 'private' > ) > ; } ) ; export type SetupQueryVariables = Exact < { [ key ] : never ; } > ; export type SetupQuery = ( { __typename ? : 'Query' ; } & { setup : ( { __typename ? : 'SetupResult' ; } & Pick < SetupResult , 'canConnectSsh' | 'sshPublicKey' | 'isGithubAppSetup' | 'githubAppManifest' > ) ; } ) ; export type AppCreateLogsSubscriptionVariables = Exact < { [ key ] : never ; } > ; export type AppCreateLogsSubscription = ( { __typename ? : 'Subscription' ; } & { appCreateLogs : ( { __typename ? : 'RealTimeLog' ; } & Pick < RealTimeLog , 'message' | 'type' > ) ; } ) ; export type CreateDatabaseLogsSubscriptionVariables = Exact < { [ key ] : never ; } > ; export type CreateDatabaseLogsSubscription = ( { __typename ? : 'Subscription' ; } & { createDatabaseLogs : ( { __typename ? : 'RealTimeLog' ; } & Pick < RealTimeLog , 'message' | 'type' > ) ; } ) ; export type LinkDatabaseLogsSubscriptionVariables = Exact < { [ key ] : never ; } > ; export type LinkDatabaseLogsSubscription = ( { __typename ? : 'Subscription' ; } & { linkDatabaseLogs : ( { __typename ? : 'RealTimeLog' ; } & Pick < RealTimeLog , 'message' | 'type' > ) ; } ) ; export type AppRebuildLogsSubscriptionVariables = Exact < { [ key ] : never ; } > ; export type AppRebuildLogsSubscription = ( { __typename ? : 'Subscription' ; } & { appRebuildLogs : ( { __typename ? : 'RealTimeLog' ; } & Pick < RealTimeLog , 'message' | 'type' > ) ; } ) ; export type AppRestartLogsSubscriptionVariables = Exact < { [ key ] : never ; } > ; export type AppRestartLogsSubscription = ( { __typename ? : 'Subscription' ; } & { appRestartLogs : ( { __typename ? : 'RealTimeLog' ; } & Pick < RealTimeLog , 'message' | 'type' > ) ; } ) ; export type UnlinkDatabaseLogsSubscriptionVariables = Exact < { [ key ] : never ; } > ; export type UnlinkDatabaseLogsSubscription = ( { __typename ? : 'Subscription' ; } & { unlinkDatabaseLogs : ( { __typename ? : 'RealTimeLog' ; } & Pick < RealTimeLog , 'message' | 'type' > ) ; } ) ; export const AddAppProxyPortDocument = gql `
    mutation addAppProxyPort($input: AddAppProxyPortInput!) {
  addAppProxyPort(input: $input)
}
    ` ; export type AddAppProxyPortMutationFn = Apollo . MutationFunction < AddAppProxyPortMutation , AddAppProxyPortMutationVariables > ; param baseOptions example export function useAddAppProxyPortMutation ( baseOptions ? ) { return Apollo . useMutation < AddAppProxyPortMutation , AddAppProxyPortMutationVariables > ( AddAppProxyPortDocument , baseOptions ) ; } export type AddAppProxyPortMutationHookResult = ReturnType < typeof useAddAppProxyPortMutation > ; export type AddAppProxyPortMutationResult = Apollo . MutationResult < AddAppProxyPortMutation > ; export type AddAppProxyPortMutationOptions = Apollo . BaseMutationOptions < AddAppProxyPortMutation , AddAppProxyPortMutationVariables > ; export const AddDomainDocument = gql `
    mutation addDomain($input: AddDomainInput!) {
  addDomain(input: $input) {
    result
  }
}
    ` ; export type AddDomainMutationFn = Apollo . MutationFunction < AddDomainMutation , AddDomainMutationVariables > ; param baseOptions example export function useAddDomainMutation ( baseOptions ? ) { return Apollo . useMutation < AddDomainMutation , AddDomainMutationVariables > ( AddDomainDocument , baseOptions ) ; } export type AddDomainMutationHookResult = ReturnType < typeof useAddDomainMutation > ; export type AddDomainMutationResult = Apollo . MutationResult < AddDomainMutation > ; export type AddDomainMutationOptions = Apollo . BaseMutationOptions < AddDomainMutation , AddDomainMutationVariables > ; export const CreateAppDokkuDocument = gql `
    mutation createAppDokku($input: CreateAppDokkuInput!) {
  createAppDokku(input: $input) {
    appId
  }
}
    ` ; export type CreateAppDokkuMutationFn = Apollo . MutationFunction < CreateAppDokkuMutation , CreateAppDokkuMutationVariables > ; param baseOptions example export function useCreateAppDokkuMutation ( baseOptions ? ) { return Apollo . useMutation < CreateAppDokkuMutation , CreateAppDokkuMutationVariables > ( CreateAppDokkuDocument , baseOptions ) ; } export type CreateAppDokkuMutationHookResult = ReturnType < typeof useCreateAppDokkuMutation > ; export type CreateAppDokkuMutationResult = Apollo . MutationResult < CreateAppDokkuMutation > ; export type CreateAppDokkuMutationOptions = Apollo . BaseMutationOptions < CreateAppDokkuMutation , CreateAppDokkuMutationVariables > ; export const CreateAppGithubDocument = gql `
    mutation createAppGithub($input: CreateAppGithubInput!) {
  createAppGithub(input: $input) {
    result
  }
}
    ` ; export type CreateAppGithubMutationFn = Apollo . MutationFunction < CreateAppGithubMutation , CreateAppGithubMutationVariables > ; param baseOptions example export function useCreateAppGithubMutation ( baseOptions ? ) { return Apollo . useMutation < CreateAppGithubMutation , CreateAppGithubMutationVariables > ( CreateAppGithubDocument , baseOptions ) ; } export type CreateAppGithubMutationHookResult = ReturnType < typeof useCreateAppGithubMutation > ; export type CreateAppGithubMutationResult = Apollo . MutationResult < CreateAppGithubMutation > ; export type CreateAppGithubMutationOptions = Apollo . BaseMutationOptions < CreateAppGithubMutation , CreateAppGithubMutationVariables > ; export const CreateDatabaseDocument = gql `
    mutation createDatabase($input: CreateDatabaseInput!) {
  createDatabase(input: $input) {
    result
  }
}
    ` ; export type CreateDatabaseMutationFn = Apollo . MutationFunction < CreateDatabaseMutation , CreateDatabaseMutationVariables > ; param baseOptions example export function useCreateDatabaseMutation ( baseOptions ? ) { return Apollo . useMutation < CreateDatabaseMutation , CreateDatabaseMutationVariables > ( CreateDatabaseDocument , baseOptions ) ; } export type CreateDatabaseMutationHookResult = ReturnType < typeof useCreateDatabaseMutation > ; export type CreateDatabaseMutationResult = Apollo . MutationResult < CreateDatabaseMutation > ; export type CreateDatabaseMutationOptions = Apollo . BaseMutationOptions < CreateDatabaseMutation , CreateDatabaseMutationVariables > ; export const DestroyAppDocument = gql `
    mutation destroyApp($input: DestroyAppInput!) {
  destroyApp(input: $input) {
    result
  }
}
    ` ; export type DestroyAppMutationFn = Apollo . MutationFunction < DestroyAppMutation , DestroyAppMutationVariables > ; param baseOptions example export function useDestroyAppMutation ( baseOptions ? ) { return Apollo . useMutation < DestroyAppMutation , DestroyAppMutationVariables > ( DestroyAppDocument , baseOptions ) ; } export type DestroyAppMutationHookResult = ReturnType < typeof useDestroyAppMutation > ; export type DestroyAppMutationResult = Apollo . MutationResult < DestroyAppMutation > ; export type DestroyAppMutationOptions = Apollo . BaseMutationOptions < DestroyAppMutation , DestroyAppMutationVariables > ; export const DestroyDatabaseDocument = gql `
    mutation destroyDatabase($input: DestroyDatabaseInput!) {
  destroyDatabase(input: $input) {
    result
  }
}
    ` ; export type DestroyDatabaseMutationFn = Apollo . MutationFunction < DestroyDatabaseMutation , DestroyDatabaseMutationVariables > ; param baseOptions example export function useDestroyDatabaseMutation ( baseOptions ? ) { return Apollo . useMutation < DestroyDatabaseMutation , DestroyDatabaseMutationVariables > ( DestroyDatabaseDocument , baseOptions ) ; } export type DestroyDatabaseMutationHookResult = ReturnType < typeof useDestroyDatabaseMutation > ; export type DestroyDatabaseMutationResult = Apollo . MutationResult < DestroyDatabaseMutation > ; export type DestroyDatabaseMutationOptions = Apollo . BaseMutationOptions < DestroyDatabaseMutation , DestroyDatabaseMutationVariables > ; export const LinkDatabaseDocument = gql `
    mutation linkDatabase($input: LinkDatabaseInput!) {
  linkDatabase(input: $input) {
    result
  }
}
    ` ; export type LinkDatabaseMutationFn = Apollo . MutationFunction < LinkDatabaseMutation , LinkDatabaseMutationVariables > ; param baseOptions example export function useLinkDatabaseMutation ( baseOptions ? ) { return Apollo . useMutation < LinkDatabaseMutation , LinkDatabaseMutationVariables > ( LinkDatabaseDocument , baseOptions ) ; } export type LinkDatabaseMutationHookResult = ReturnType < typeof useLinkDatabaseMutation > ; export type LinkDatabaseMutationResult = Apollo . MutationResult < LinkDatabaseMutation > ; export type LinkDatabaseMutationOptions = Apollo . BaseMutationOptions < LinkDatabaseMutation , LinkDatabaseMutationVariables > ; export const LoginWithGithubDocument = gql `
    mutation loginWithGithub($code: String!) {
  loginWithGithub(code: $code) {
    token
  }
}
    ` ; export type LoginWithGithubMutationFn = Apollo . MutationFunction < LoginWithGithubMutation , LoginWithGithubMutationVariables > ; param baseOptions example export function useLoginWithGithubMutation ( baseOptions ? ) { return Apollo . useMutation < LoginWithGithubMutation , LoginWithGithubMutationVariables > ( LoginWithGithubDocument , baseOptions ) ; } export type LoginWithGithubMutationHookResult = ReturnType < typeof useLoginWithGithubMutation > ; export type LoginWithGithubMutationResult = Apollo . MutationResult < LoginWithGithubMutation > ; export type LoginWithGithubMutationOptions = Apollo . BaseMutationOptions < LoginWithGithubMutation , LoginWithGithubMutationVariables > ; export const RebuildAppDocument = gql `
    mutation rebuildApp($input: RebuildAppInput!) {
  rebuildApp(input: $input) {
    result
  }
}
    ` ; export type RebuildAppMutationFn = Apollo . MutationFunction < RebuildAppMutation , RebuildAppMutationVariables > ; param baseOptions example export function useRebuildAppMutation ( baseOptions ? ) { return Apollo . useMutation < RebuildAppMutation , RebuildAppMutationVariables > ( RebuildAppDocument , baseOptions ) ; } export type RebuildAppMutationHookResult = ReturnType < typeof useRebuildAppMutation > ; export type RebuildAppMutationResult = Apollo . MutationResult < RebuildAppMutation > ; export type RebuildAppMutationOptions = Apollo . BaseMutationOptions < RebuildAppMutation , RebuildAppMutationVariables > ; export const RegisterGithubAppDocument = gql `
    mutation registerGithubApp($code: String!) {
  registerGithubApp(code: $code) {
    githubAppClientId
  }
}
    ` ; export type RegisterGithubAppMutationFn = Apollo . MutationFunction < RegisterGithubAppMutation , RegisterGithubAppMutationVariables > ; param baseOptions example export function useRegisterGithubAppMutation ( baseOptions ? ) { return Apollo . useMutation < RegisterGithubAppMutation , RegisterGithubAppMutationVariables > ( RegisterGithubAppDocument , baseOptions ) ; } export type RegisterGithubAppMutationHookResult = ReturnType < typeof useRegisterGithubAppMutation > ; export type RegisterGithubAppMutationResult = Apollo . MutationResult < RegisterGithubAppMutation > ; export type RegisterGithubAppMutationOptions = Apollo . BaseMutationOptions < RegisterGithubAppMutation , RegisterGithubAppMutationVariables > ; export const RemoveAppProxyPortDocument = gql `
    mutation removeAppProxyPort($input: RemoveAppProxyPortInput!) {
  removeAppProxyPort(input: $input)
}
    ` ; export type RemoveAppProxyPortMutationFn = Apollo . MutationFunction < RemoveAppProxyPortMutation , RemoveAppProxyPortMutationVariables > ; param baseOptions example export function useRemoveAppProxyPortMutation ( baseOptions ? ) { return Apollo . useMutation < RemoveAppProxyPortMutation , RemoveAppProxyPortMutationVariables > ( RemoveAppProxyPortDocument , baseOptions ) ; } export type RemoveAppProxyPortMutationHookResult = ReturnType < typeof useRemoveAppProxyPortMutation > ; export type RemoveAppProxyPortMutationResult = Apollo . MutationResult < RemoveAppProxyPortMutation > ; export type RemoveAppProxyPortMutationOptions = Apollo . BaseMutationOptions < RemoveAppProxyPortMutation , RemoveAppProxyPortMutationVariables > ; export const RemoveDomainDocument = gql `
    mutation removeDomain($input: RemoveDomainInput!) {
  removeDomain(input: $input) {
    result
  }
}
    ` ; export type RemoveDomainMutationFn = Apollo . MutationFunction < RemoveDomainMutation , RemoveDomainMutationVariables > ; param baseOptions example export function useRemoveDomainMutation ( baseOptions ? ) { return Apollo . useMutation < RemoveDomainMutation , RemoveDomainMutationVariables > ( RemoveDomainDocument , baseOptions ) ; } export type RemoveDomainMutationHookResult = ReturnType < typeof useRemoveDomainMutation > ; export type RemoveDomainMutationResult = Apollo . MutationResult < RemoveDomainMutation > ; export type RemoveDomainMutationOptions = Apollo . BaseMutationOptions < RemoveDomainMutation , RemoveDomainMutationVariables > ; export const RestartAppDocument = gql `
    mutation restartApp($input: RestartAppInput!) {
  restartApp(input: $input) {
    result
  }
}
    ` ; export type RestartAppMutationFn = Apollo . MutationFunction < RestartAppMutation , RestartAppMutationVariables > ; param baseOptions example export function useRestartAppMutation ( baseOptions ? ) { return Apollo . useMutation < RestartAppMutation , RestartAppMutationVariables > ( RestartAppDocument , baseOptions ) ; } export type RestartAppMutationHookResult = ReturnType < typeof useRestartAppMutation > ; export type RestartAppMutationResult = Apollo . MutationResult < RestartAppMutation > ; export type RestartAppMutationOptions = Apollo . BaseMutationOptions < RestartAppMutation , RestartAppMutationVariables > ; export const SetDomainDocument = gql `
    mutation setDomain($input: SetDomainInput!) {
  setDomain(input: $input) {
    result
  }
}
    ` ; export type SetDomainMutationFn = Apollo . MutationFunction < SetDomainMutation , SetDomainMutationVariables > ; param baseOptions example export function useSetDomainMutation ( baseOptions ? ) { return Apollo . useMutation < SetDomainMutation , SetDomainMutationVariables > ( SetDomainDocument , baseOptions ) ; } export type SetDomainMutationHookResult = ReturnType < typeof useSetDomainMutation > ; export type SetDomainMutationResult = Apollo . MutationResult < SetDomainMutation > ; export type SetDomainMutationOptions = Apollo . BaseMutationOptions < SetDomainMutation , SetDomainMutationVariables > ; export const SetEnvVarDocument = gql `
    mutation setEnvVar($key: String!, $value: String!, $appId: String!) {
  setEnvVar(input: {key: $key, value: $value, appId: $appId}) {
    result
  }
}
    ` ; export type SetEnvVarMutationFn = Apollo . MutationFunction < SetEnvVarMutation , SetEnvVarMutationVariables > ; param baseOptions example export function useSetEnvVarMutation ( baseOptions ? ) { return Apollo . useMutation < SetEnvVarMutation , SetEnvVarMutationVariables > ( SetEnvVarDocument , baseOptions ) ; } export type SetEnvVarMutationHookResult = ReturnType < typeof useSetEnvVarMutation > ; export type SetEnvVarMutationResult = Apollo . MutationResult < SetEnvVarMutation > ; export type SetEnvVarMutationOptions = Apollo . BaseMutationOptions < SetEnvVarMutation , SetEnvVarMutationVariables > ; export const UnlinkDatabaseDocument = gql `
    mutation unlinkDatabase($input: UnlinkDatabaseInput!) {
  unlinkDatabase(input: $input) {
    result
  }
}
    ` ; export type UnlinkDatabaseMutationFn = Apollo . MutationFunction < UnlinkDatabaseMutation , UnlinkDatabaseMutationVariables > ; param baseOptions example export function useUnlinkDatabaseMutation ( baseOptions ? ) { return Apollo . useMutation < UnlinkDatabaseMutation , UnlinkDatabaseMutationVariables > ( UnlinkDatabaseDocument , baseOptions ) ; } export type UnlinkDatabaseMutationHookResult = ReturnType < typeof useUnlinkDatabaseMutation > ; export type UnlinkDatabaseMutationResult = Apollo . MutationResult < UnlinkDatabaseMutation > ; export type UnlinkDatabaseMutationOptions = Apollo . BaseMutationOptions < UnlinkDatabaseMutation , UnlinkDatabaseMutationVariables > ; export const UnsetEnvVarDocument = gql `
    mutation unsetEnvVar($key: String!, $appId: String!) {
  unsetEnvVar(input: {key: $key, appId: $appId}) {
    result
  }
}
    ` ; export type UnsetEnvVarMutationFn = Apollo . MutationFunction < UnsetEnvVarMutation , UnsetEnvVarMutationVariables > ; param baseOptions example export function useUnsetEnvVarMutation ( baseOptions ? ) { return Apollo . useMutation < UnsetEnvVarMutation , UnsetEnvVarMutationVariables > ( UnsetEnvVarDocument , baseOptions ) ; } export type UnsetEnvVarMutationHookResult = ReturnType < typeof useUnsetEnvVarMutation > ; export type UnsetEnvVarMutationResult = Apollo . MutationResult < UnsetEnvVarMutation > ; export type UnsetEnvVarMutationOptions = Apollo . BaseMutationOptions < UnsetEnvVarMutation , UnsetEnvVarMutationVariables > ; export const AppByIdDocument = gql `
    query appById($appId: String!) {
  app(appId: $appId) {
    id
    name
    createdAt
    databases {
      id
      name
      type
    }
    appMetaGithub {
      repoId
      repoName
      repoOwner
      branch
      githubAppInstallationId
    }
  }
}
    ` ; param baseOptions example export function useAppByIdQuery ( baseOptions ) { return Apollo . useQuery < AppByIdQuery , AppByIdQueryVariables > ( AppByIdDocument , baseOptions ) ; } export function useAppByIdLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < AppByIdQuery , AppByIdQueryVariables > ( AppByIdDocument , baseOptions ) ; } export type AppByIdQueryHookResult = ReturnType < typeof useAppByIdQuery > ; export type AppByIdLazyQueryHookResult = ReturnType < typeof useAppByIdLazyQuery > ; export type AppByIdQueryResult = Apollo . QueryResult < AppByIdQuery , AppByIdQueryVariables > ; export const AppLogsDocument = gql `
    query appLogs($appId: String!) {
  appLogs(appId: $appId) {
    logs
  }
}
    ` ; param baseOptions example export function useAppLogsQuery ( baseOptions ) { return Apollo . useQuery < AppLogsQuery , AppLogsQueryVariables > ( AppLogsDocument , baseOptions ) ; } export function useAppLogsLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < AppLogsQuery , AppLogsQueryVariables > ( AppLogsDocument , baseOptions ) ; } export type AppLogsQueryHookResult = ReturnType < typeof useAppLogsQuery > ; export type AppLogsLazyQueryHookResult = ReturnType < typeof useAppLogsLazyQuery > ; export type AppLogsQueryResult = Apollo . QueryResult < AppLogsQuery , AppLogsQueryVariables > ; export const AppProxyPortsDocument = gql `
    query appProxyPorts($appId: String!) {
  appProxyPorts(appId: $appId) {
    scheme
    host
    container
  }
}
    ` ; param baseOptions example export function useAppProxyPortsQuery ( baseOptions ) { return Apollo . useQuery < AppProxyPortsQuery , AppProxyPortsQueryVariables > ( AppProxyPortsDocument , baseOptions ) ; } export function useAppProxyPortsLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < AppProxyPortsQuery , AppProxyPortsQueryVariables > ( AppProxyPortsDocument , baseOptions ) ; } export type AppProxyPortsQueryHookResult = ReturnType < typeof useAppProxyPortsQuery > ; export type AppProxyPortsLazyQueryHookResult = ReturnType < typeof useAppProxyPortsLazyQuery > ; export type AppProxyPortsQueryResult = Apollo . QueryResult < AppProxyPortsQuery , AppProxyPortsQueryVariables > ; export const AppsDocument = gql `
    query apps {
  apps {
    id
    name
  }
}
    ` ; param baseOptions example export function useAppsQuery ( baseOptions ? ) { return Apollo . useQuery < AppsQuery , AppsQueryVariables > ( AppsDocument , baseOptions ) ; } export function useAppsLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < AppsQuery , AppsQueryVariables > ( AppsDocument , baseOptions ) ; } export type AppsQueryHookResult = ReturnType < typeof useAppsQuery > ; export type AppsLazyQueryHookResult = ReturnType < typeof useAppsLazyQuery > ; export type AppsQueryResult = Apollo . QueryResult < AppsQuery , AppsQueryVariables > ; export const BranchesDocument = gql `
    query branches($installationId: String!, $repositoryName: String!) {
  branches(installationId: $installationId, repositoryName: $repositoryName) {
    name
  }
}
    ` ; param baseOptions example export function useBranchesQuery ( baseOptions ) { return Apollo . useQuery < BranchesQuery , BranchesQueryVariables > ( BranchesDocument , baseOptions ) ; } export function useBranchesLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < BranchesQuery , BranchesQueryVariables > ( BranchesDocument , baseOptions ) ; } export type BranchesQueryHookResult = ReturnType < typeof useBranchesQuery > ; export type BranchesLazyQueryHookResult = ReturnType < typeof useBranchesLazyQuery > ; export type BranchesQueryResult = Apollo . QueryResult < BranchesQuery , BranchesQueryVariables > ; export const DashboardDocument = gql `
    query dashboard {
  apps {
    id
    name
    createdAt
    appMetaGithub {
      repoName
      repoOwner
    }
  }
  databases {
    id
    name
    type
    createdAt
  }
}
    ` ; param baseOptions example export function useDashboardQuery ( baseOptions ? ) { return Apollo . useQuery < DashboardQuery , DashboardQueryVariables > ( DashboardDocument , baseOptions ) ; } export function useDashboardLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < DashboardQuery , DashboardQueryVariables > ( DashboardDocument , baseOptions ) ; } export type DashboardQueryHookResult = ReturnType < typeof useDashboardQuery > ; export type DashboardLazyQueryHookResult = ReturnType < typeof useDashboardLazyQuery > ; export type DashboardQueryResult = Apollo . QueryResult < DashboardQuery , DashboardQueryVariables > ; export const DatabaseByIdDocument = gql `
    query databaseById($databaseId: String!) {
  database(databaseId: $databaseId) {
    id
    name
    type
    version
    apps {
      id
      name
    }
  }
}
    ` ; param baseOptions example export function useDatabaseByIdQuery ( baseOptions ) { return Apollo . useQuery < DatabaseByIdQuery , DatabaseByIdQueryVariables > ( DatabaseByIdDocument , baseOptions ) ; } export function useDatabaseByIdLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < DatabaseByIdQuery , DatabaseByIdQueryVariables > ( DatabaseByIdDocument , baseOptions ) ; } export type DatabaseByIdQueryHookResult = ReturnType < typeof useDatabaseByIdQuery > ; export type DatabaseByIdLazyQueryHookResult = ReturnType < typeof useDatabaseByIdLazyQuery > ; export type DatabaseByIdQueryResult = Apollo . QueryResult < DatabaseByIdQuery , DatabaseByIdQueryVariables > ; export const DatabaseInfoDocument = gql `
    query databaseInfo($databaseId: String!) {
  databaseInfo(databaseId: $databaseId) {
    info
  }
}
    ` ; param baseOptions example export function useDatabaseInfoQuery ( baseOptions ) { return Apollo . useQuery < DatabaseInfoQuery , DatabaseInfoQueryVariables > ( DatabaseInfoDocument , baseOptions ) ; } export function useDatabaseInfoLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < DatabaseInfoQuery , DatabaseInfoQueryVariables > ( DatabaseInfoDocument , baseOptions ) ; } export type DatabaseInfoQueryHookResult = ReturnType < typeof useDatabaseInfoQuery > ; export type DatabaseInfoLazyQueryHookResult = ReturnType < typeof useDatabaseInfoLazyQuery > ; export type DatabaseInfoQueryResult = Apollo . QueryResult < DatabaseInfoQuery , DatabaseInfoQueryVariables > ; export const DatabaseLogsDocument = gql `
    query databaseLogs($databaseId: String!) {
  databaseLogs(databaseId: $databaseId) {
    logs
  }
}
    ` ; param baseOptions example export function useDatabaseLogsQuery ( baseOptions ) { return Apollo . useQuery < DatabaseLogsQuery , DatabaseLogsQueryVariables > ( DatabaseLogsDocument , baseOptions ) ; } export function useDatabaseLogsLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < DatabaseLogsQuery , DatabaseLogsQueryVariables > ( DatabaseLogsDocument , baseOptions ) ; } export type DatabaseLogsQueryHookResult = ReturnType < typeof useDatabaseLogsQuery > ; export type DatabaseLogsLazyQueryHookResult = ReturnType < typeof useDatabaseLogsLazyQuery > ; export type DatabaseLogsQueryResult = Apollo . QueryResult < DatabaseLogsQuery , DatabaseLogsQueryVariables > ; export const DatabaseDocument = gql `
    query database {
  databases {
    id
    name
    type
  }
}
    ` ; param baseOptions example export function useDatabaseQuery ( baseOptions ? ) { return Apollo . useQuery < DatabaseQuery , DatabaseQueryVariables > ( DatabaseDocument , baseOptions ) ; } export function useDatabaseLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < DatabaseQuery , DatabaseQueryVariables > ( DatabaseDocument , baseOptions ) ; } export type DatabaseQueryHookResult = ReturnType < typeof useDatabaseQuery > ; export type DatabaseLazyQueryHookResult = ReturnType < typeof useDatabaseLazyQuery > ; export type DatabaseQueryResult = Apollo . QueryResult < DatabaseQuery , DatabaseQueryVariables > ; export const DomainsDocument = gql `
    query domains($appId: String!) {
  domains(appId: $appId) {
    domains
  }
}
    ` ; param baseOptions example export function useDomainsQuery ( baseOptions ) { return Apollo . useQuery < DomainsQuery , DomainsQueryVariables > ( DomainsDocument , baseOptions ) ; } export function useDomainsLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < DomainsQuery , DomainsQueryVariables > ( DomainsDocument , baseOptions ) ; } export type DomainsQueryHookResult = ReturnType < typeof useDomainsQuery > ; export type DomainsLazyQueryHookResult = ReturnType < typeof useDomainsLazyQuery > ; export type DomainsQueryResult = Apollo . QueryResult < DomainsQuery , DomainsQueryVariables > ; export const EnvVarsDocument = gql `
    query envVars($appId: String!) {
  envVars(appId: $appId) {
    envVars {
      key
      value
    }
  }
}
    ` ; param baseOptions example export function useEnvVarsQuery ( baseOptions ) { return Apollo . useQuery < EnvVarsQuery , EnvVarsQueryVariables > ( EnvVarsDocument , baseOptions ) ; } export function useEnvVarsLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < EnvVarsQuery , EnvVarsQueryVariables > ( EnvVarsDocument , baseOptions ) ; } export type EnvVarsQueryHookResult = ReturnType < typeof useEnvVarsQuery > ; export type EnvVarsLazyQueryHookResult = ReturnType < typeof useEnvVarsLazyQuery > ; export type EnvVarsQueryResult = Apollo . QueryResult < EnvVarsQuery , EnvVarsQueryVariables > ; export const GithubInstallationIdDocument = gql `
    query githubInstallationId {
  githubInstallationId {
    id
  }
}
    ` ; param baseOptions example export function useGithubInstallationIdQuery ( baseOptions ? ) { return Apollo . useQuery < GithubInstallationIdQuery , GithubInstallationIdQueryVariables > ( GithubInstallationIdDocument , baseOptions ) ; } export function useGithubInstallationIdLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < GithubInstallationIdQuery , GithubInstallationIdQueryVariables > ( GithubInstallationIdDocument , baseOptions ) ; } export type GithubInstallationIdQueryHookResult = ReturnType < typeof useGithubInstallationIdQuery > ; export type GithubInstallationIdLazyQueryHookResult = ReturnType < typeof useGithubInstallationIdLazyQuery > ; export type GithubInstallationIdQueryResult = Apollo . QueryResult < GithubInstallationIdQuery , GithubInstallationIdQueryVariables > ; export const IsPluginInstalledDocument = gql `
    query isPluginInstalled($pluginName: String!) {
  isPluginInstalled(pluginName: $pluginName) {
    isPluginInstalled
  }
}
    ` ; param baseOptions example export function useIsPluginInstalledQuery ( baseOptions ) { return Apollo . useQuery < IsPluginInstalledQuery , IsPluginInstalledQueryVariables > ( IsPluginInstalledDocument , baseOptions ) ; } export function useIsPluginInstalledLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < IsPluginInstalledQuery , IsPluginInstalledQueryVariables > ( IsPluginInstalledDocument , baseOptions ) ; } export type IsPluginInstalledQueryHookResult = ReturnType < typeof useIsPluginInstalledQuery > ; export type IsPluginInstalledLazyQueryHookResult = ReturnType < typeof useIsPluginInstalledLazyQuery > ; export type IsPluginInstalledQueryResult = Apollo . QueryResult < IsPluginInstalledQuery , IsPluginInstalledQueryVariables > ; export const RepositoriesDocument = gql `
    query repositories($installationId: String!) {
  repositories(installationId: $installationId) {
    id
    name
    fullName
    private
  }
}
    ` ; param baseOptions example export function useRepositoriesQuery ( baseOptions ) { return Apollo . useQuery < RepositoriesQuery , RepositoriesQueryVariables > ( RepositoriesDocument , baseOptions ) ; } export function useRepositoriesLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < RepositoriesQuery , RepositoriesQueryVariables > ( RepositoriesDocument , baseOptions ) ; } export type RepositoriesQueryHookResult = ReturnType < typeof useRepositoriesQuery > ; export type RepositoriesLazyQueryHookResult = ReturnType < typeof useRepositoriesLazyQuery > ; export type RepositoriesQueryResult = Apollo . QueryResult < RepositoriesQuery , RepositoriesQueryVariables > ; export const SetupDocument = gql `
    query setup {
  setup {
    canConnectSsh
    sshPublicKey
    isGithubAppSetup
    githubAppManifest
  }
}
    ` ; param baseOptions example export function useSetupQuery ( baseOptions ? ) { return Apollo . useQuery < SetupQuery , SetupQueryVariables > ( SetupDocument , baseOptions ) ; } export function useSetupLazyQuery ( baseOptions ? ) { return Apollo . useLazyQuery < SetupQuery , SetupQueryVariables > ( SetupDocument , baseOptions ) ; } export type SetupQueryHookResult = ReturnType < typeof useSetupQuery > ; export type SetupLazyQueryHookResult = ReturnType < typeof useSetupLazyQuery > ; export type SetupQueryResult = Apollo . QueryResult < SetupQuery , SetupQueryVariables > ; export const AppCreateLogsDocument = gql `
    subscription appCreateLogs {
  appCreateLogs {
    message
    type
  }
}
    ` ; param baseOptions example export function useAppCreateLogsSubscription ( baseOptions ? ) { return Apollo . useSubscription < AppCreateLogsSubscription , AppCreateLogsSubscriptionVariables > ( AppCreateLogsDocument , baseOptions ) ; } export type AppCreateLogsSubscriptionHookResult = ReturnType < typeof useAppCreateLogsSubscription > ; export type AppCreateLogsSubscriptionResult = Apollo . SubscriptionResult < AppCreateLogsSubscription > ; export const CreateDatabaseLogsDocument = gql `
    subscription CreateDatabaseLogs {
  createDatabaseLogs {
    message
    type
  }
}
    ` ; param baseOptions example export function useCreateDatabaseLogsSubscription ( baseOptions ? ) { return Apollo . useSubscription < CreateDatabaseLogsSubscription , CreateDatabaseLogsSubscriptionVariables > ( CreateDatabaseLogsDocument , baseOptions ) ; } export type CreateDatabaseLogsSubscriptionHookResult = ReturnType < typeof useCreateDatabaseLogsSubscription > ; export type CreateDatabaseLogsSubscriptionResult = Apollo . SubscriptionResult < CreateDatabaseLogsSubscription > ; export const LinkDatabaseLogsDocument = gql `
    subscription LinkDatabaseLogs {
  linkDatabaseLogs {
    message
    type
  }
}
    ` ; param baseOptions example export function useLinkDatabaseLogsSubscription ( baseOptions ? ) { return Apollo . useSubscription < LinkDatabaseLogsSubscription , LinkDatabaseLogsSubscriptionVariables > ( LinkDatabaseLogsDocument , baseOptions ) ; } export type LinkDatabaseLogsSubscriptionHookResult = ReturnType < typeof useLinkDatabaseLogsSubscription > ; export type LinkDatabaseLogsSubscriptionResult = Apollo . SubscriptionResult < LinkDatabaseLogsSubscription > ; export const AppRebuildLogsDocument = gql `
    subscription appRebuildLogs {
  appRebuildLogs {
    message
    type
  }
}
    ` ; param baseOptions example export function useAppRebuildLogsSubscription ( baseOptions ? ) { return Apollo . useSubscription < AppRebuildLogsSubscription , AppRebuildLogsSubscriptionVariables > ( AppRebuildLogsDocument , baseOptions ) ; } export type AppRebuildLogsSubscriptionHookResult = ReturnType < typeof useAppRebuildLogsSubscription > ; export type AppRebuildLogsSubscriptionResult = Apollo . SubscriptionResult < AppRebuildLogsSubscription > ; export const AppRestartLogsDocument = gql `
    subscription appRestartLogs {
  appRestartLogs {
    message
    type
  }
}
    ` ; param baseOptions example export function useAppRestartLogsSubscription ( baseOptions ? ) { return Apollo . useSubscription < AppRestartLogsSubscription , AppRestartLogsSubscriptionVariables > ( AppRestartLogsDocument , baseOptions ) ; } export type AppRestartLogsSubscriptionHookResult = ReturnType < typeof useAppRestartLogsSubscription > ; export type AppRestartLogsSubscriptionResult = Apollo . SubscriptionResult < AppRestartLogsSubscription > ; export const UnlinkDatabaseLogsDocument = gql `
    subscription UnlinkDatabaseLogs {
  unlinkDatabaseLogs {
    message
    type
  }
}
    ` ; param baseOptions example export function useUnlinkDatabaseLogsSubscription ( baseOptions ? ) { return Apollo . useSubscription < UnlinkDatabaseLogsSubscription , UnlinkDatabaseLogsSubscriptionVariables > ( UnlinkDatabaseLogsDocument , baseOptions ) ; } export type UnlinkDatabaseLogsSubscriptionHookResult = ReturnType < typeof useUnlinkDatabaseLogsSubscription > ; export type UnlinkDatabaseLogsSubscriptionResult = Apollo . SubscriptionResult < UnlinkDatabaseLogsSubscription > ;