Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Mar 29, 2024
1 parent f874b75 commit b17b4fc
Showing 1 changed file with 105 additions and 142 deletions.
247 changes: 105 additions & 142 deletions ee/tabby-webserver/graphql/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,125 +1,17 @@
type JobRun {
id: ID!
job: String!
createdAt: DateTimeUtc!
updatedAt: DateTimeUtc!
finishedAt: DateTimeUtc
exitCode: Int
stdout: String!
stderr: String!
}

enum AuthMethod {
NONE
PLAIN
LOGIN
}

type RegisterResponse {
accessToken: String!
refreshToken: String!
}

enum LicenseStatus {
OK
EXPIRED
SEATS_EXCEEDED
}

input RequestPasswordResetEmailInput {
email: String!
}

type LicenseInfo {
type: LicenseType!
status: LicenseStatus!
seats: Int!
seatsUsed: Int!
issuedAt: DateTimeUtc
expiresAt: DateTimeUtc
}

input SecuritySettingInput {
allowedRegisterDomainList: [String!]!
disableClientSideTelemetry: Boolean!
}

type SecuritySetting {
allowedRegisterDomainList: [String!]!
disableClientSideTelemetry: Boolean!
}

type UserConnection {
edges: [UserEdge!]!
pageInfo: PageInfo!
}

input UpdateOAuthCredentialInput {
provider: OAuthProvider!
clientId: String!
clientSecret: String
}

type ServerInfo {
isAdminInitialized: Boolean!
isChatEnabled: Boolean!
isEmailConfigured: Boolean!
allowSelfSignup: Boolean!
}

input PasswordChangeInput {
oldPassword: String
newPassword1: String!
newPassword2: String!
enum OAuthProvider {
GITHUB
GOOGLE
}

type Invitation {
id: ID!
input RequestInvitationInput {
email: String!
code: String!
createdAt: DateTimeUtc!
}

type EmailSetting {
smtpUsername: String!
smtpServer: String!
smtpPort: Int!
fromAddress: String!
encryption: Encryption!
authMethod: AuthMethod!
}

type TokenAuthResponse {
accessToken: String!
refreshToken: String!
}

type JobStats {
success: Int!
failed: Int!
pending: Int!
}

type NetworkSetting {
externalUrl: String!
}

type JobRunEdge {
node: JobRun!
cursor: String!
}

type Tag {
range: IntRange!
nameRange: IntRange!
utf16ColumnRange: IntRange!
span: PointRange!
lineRange: IntRange!
docs: String
isDefinition: Boolean!
syntaxTypeName: String!
}

enum WorkerKind {
COMPLETION
CHAT
Expand Down Expand Up @@ -169,8 +61,15 @@ type RepositoryEdge {
"DateTime"
scalar DateTimeUtc

input NetworkSettingInput {
externalUrl: String!
type JobRun {
id: ID!
job: String!
createdAt: DateTimeUtc!
updatedAt: DateTimeUtc!
finishedAt: DateTimeUtc
exitCode: Int
stdout: String!
stderr: String!
}

type Query {
Expand All @@ -187,21 +86,30 @@ type Query {
networkSetting: NetworkSetting!
securitySetting: SecuritySetting!
repositories(after: String, before: String, first: Int, last: Int): RepositoryConnection!
repositorySearch(repository: String!, filter: String): [FileEntry!]!
repositoryMeta(repository: String!, path: String!): RepositoryMeta!
repositorySearch(repository: String!, filter: String!): [FileEntry!]!
oauthCredential(provider: OAuthProvider!): OAuthCredential
oauthCallbackUrl(provider: OAuthProvider!): String!
serverInfo: ServerInfo!
license: LicenseInfo!
jobs: [String!]!
}

input NetworkSettingInput {
externalUrl: String!
}

enum Encryption {
START_TLS
SSL_TLS
NONE
}

enum AuthMethod {
NONE
PLAIN
LOGIN
}

type UserEdge {
node: User!
cursor: String!
Expand All @@ -218,11 +126,35 @@ type RefreshTokenResponse {
refreshExpiresAt: DateTimeUtc!
}

type RegisterResponse {
accessToken: String!
refreshToken: String!
}

type RepositoryConnection {
edges: [RepositoryEdge!]!
pageInfo: PageInfo!
}

enum LicenseStatus {
OK
EXPIRED
SEATS_EXCEEDED
}

input RequestPasswordResetEmailInput {
email: String!
}

type LicenseInfo {
type: LicenseType!
status: LicenseStatus!
seats: Int!
seatsUsed: Int!
issuedAt: DateTimeUtc
expiresAt: DateTimeUtc
}

input EmailSettingInput {
smtpUsername: String!
fromAddress: String!
Expand All @@ -233,15 +165,31 @@ input EmailSettingInput {
smtpPassword: String
}

input SecuritySettingInput {
allowedRegisterDomainList: [String!]!
disableClientSideTelemetry: Boolean!
}

enum LicenseType {
COMMUNITY
TEAM
ENTERPRISE
}

type Point {
row: Int!
col: Int!
type SecuritySetting {
allowedRegisterDomainList: [String!]!
disableClientSideTelemetry: Boolean!
}

type UserConnection {
edges: [UserEdge!]!
pageInfo: PageInfo!
}

input UpdateOAuthCredentialInput {
provider: OAuthProvider!
clientId: String!
clientSecret: String
}

type OAuthCredential {
Expand All @@ -252,25 +200,39 @@ type OAuthCredential {
updatedAt: DateTimeUtc!
}

type ServerInfo {
isAdminInitialized: Boolean!
isChatEnabled: Boolean!
isEmailConfigured: Boolean!
allowSelfSignup: Boolean!
}

input PasswordResetInput {
code: String!
password1: String!
password2: String!
}

type PointRange {
start: Point!
end: Point!
input PasswordChangeInput {
oldPassword: String
newPassword1: String!
newPassword2: String!
}

type RepositoryMeta {
gitUrl: String!
filepath: String!
language: String!
maxLineLength: Int!
avgLineLength: Float!
alphanumFraction: Float!
tags: [Tag!]!
type Invitation {
id: ID!
email: String!
code: String!
createdAt: DateTimeUtc!
}

type EmailSetting {
smtpUsername: String!
smtpServer: String!
smtpPort: Int!
fromAddress: String!
encryption: Encryption!
authMethod: AuthMethod!
}

type User {
Expand All @@ -284,10 +246,6 @@ type User {
isPasswordSet: Boolean!
}

input RequestInvitationInput {
email: String!
}

type Worker {
kind: WorkerKind!
name: String!
Expand All @@ -299,19 +257,15 @@ type Worker {
cudaDevices: [String!]!
}

enum OAuthProvider {
GITHUB
GOOGLE
}

type InvitationEdge {
node: Invitation!
cursor: String!
}

type IntRange {
start: Int!
end: Int!
type JobStats {
success: Int!
failed: Int!
pending: Int!
}

type PageInfo {
Expand All @@ -321,6 +275,15 @@ type PageInfo {
endCursor: String
}

type NetworkSetting {
externalUrl: String!
}

type JobRunEdge {
node: JobRun!
cursor: String!
}

type Repository {
id: ID!
name: String!
Expand Down

0 comments on commit b17b4fc

Please sign in to comment.