Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHallen122 committed Oct 28, 2024
1 parent e9bc436 commit f4238b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/src/schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type Mutation {
login(input: LoginUserInput!): LoginResponse!
registerUser(input: RegisterUserInput!): User!
removePackageFromProject(packageId: String!, projectId: String!): Boolean!
updateChatTitle(upateChatTitleInput: UpateChatTitleInput!): Chat
updateChatTitle(updateChatTitleInput: UpdateChatTitleInput!): Chat
updateProjectPath(newPath: String!, projectId: String!): Boolean!
upsertProject(upsertProjectInput: UpsertProjectInput!): Project!
}
Expand Down Expand Up @@ -116,6 +116,7 @@ type ProjectPackages {

type Query {
checkToken(input: CheckTokenInput!): Boolean!
getAvailableModelTags: [String!]
getChatDetails(chatId: String!): Chat
getChatHistory(chatId: String!): [Message!]!
getMessageDetail(messageId: String!): Message
Expand All @@ -140,7 +141,7 @@ type Subscription {
chatStream(input: ChatInputType!): ChatCompletionChunkType
}

input UpateChatTitleInput {
input UpdateChatTitleInput {
chatId: String!
title: String
}
Expand Down

0 comments on commit f4238b4

Please sign in to comment.