step 12 : fix search first login internal
This commit is contained in:
@@ -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!
|
||||
}
|
||||
Reference in New Issue
Block a user