package resolver // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. // Code generated by github.com/99designs/gqlgen version v0.17.42 import ( "context" "fmt" "com.sismedika.com.absensi/graph/model" staffinternal "com.sismedika.com.absensi/internal/staff" ) // LoginAttendance is the resolver for the loginAttendance field. func (r *mutationResolver) LoginAttendance(ctx context.Context, email string, idGoogleSignIn string, publickey string) (*model.Staff, error) { // panic(fmt.Errorf("not implemented: LoginAttendance - loginAttendance")) // return r.LoginAttendance(ctx, email, idGoogleSignIn, publickey) var staffinternal staffinternal.Staff return staffinternal.LoginAttendance(email, idGoogleSignIn, publickey) } // SearchStaffByEmail is the resolver for the searchStaffByEmail field. func (r *queryResolver) SearchStaffByEmail(ctx context.Context, email string) (*model.Staff, error) { panic(fmt.Errorf("not implemented: SearchStaffByEmail - searchStaffByEmail")) } // StaffGetByStaffID is the resolver for the staffGetByStaffId field. func (r *queryResolver) StaffGetByStaffID(ctx context.Context, staffID string) (*model.Staff, error) { panic(fmt.Errorf("not implemented: StaffGetByStaffID - staffGetByStaffId")) } // StaffListBySearch is the resolver for the staffListBySearch field. func (r *queryResolver) StaffListBySearch(ctx context.Context, search *string, page *int, maxPerPage *int) ([]*model.Staff, error) { panic(fmt.Errorf("not implemented: StaffListBySearch - staffListBySearch")) } // !!! WARNING !!! // The code below was going to be deleted when updating resolvers. It has been copied here so you have // one last chance to move it out of harms way if you want. There are two reasons this happens: // - When renaming or deleting a resolver the old code will be put in here. You can safely delete // it when you're done. // - You have helper methods in this file. Move them out to keep these resolver files clean. func (r *mutationResolver) GenerateToken(ctx context.Context, email string, idGoogleSignIn string, publickey string) (*model.TokenResponse, error) { panic(fmt.Errorf("not implemented: GenerateToken - generateToken")) }