step 12 : fix search first login internal

This commit is contained in:
sindhu
2024-01-25 07:32:06 +07:00
parent 369e1ff02a
commit cadeeb6740
6 changed files with 417 additions and 21 deletions

View File

@@ -23,6 +23,13 @@ type TokenResponse {
message: String
}
# logout response
type LogoutResponse {
status:String
message:String
}
# query search
extend type Query {
searchStaffByEmail(email: String!): Staff!
@@ -32,5 +39,9 @@ extend type Query {
# mutation untuk perubahan data
extend type Mutation {
# login
loginAttendance(email:String!, id_google_sign_in:String!) : Staff!
# logout
logoutAttendance(email:String!, id_google_sign_in:String!) : LogoutResponse!
}