coba init
This commit is contained in:
File diff suppressed because it is too large
Load Diff
9
backend/graph/graphqls/company.graphqls
Normal file
9
backend/graph/graphqls/company.graphqls
Normal file
@@ -0,0 +1,9 @@
|
||||
# MODEL COMPANY
|
||||
type Company{
|
||||
companyID:ID!;
|
||||
companyName:String!;
|
||||
}
|
||||
|
||||
extend type Query {
|
||||
searchCompanyByName(name: String!): [Company!]!
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
||||
|
||||
package model
|
||||
|
||||
type LogoutResponse struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type Mutation struct {
|
||||
}
|
||||
|
||||
type Query struct {
|
||||
}
|
||||
|
||||
type RekapKehadiranHomeScreen struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Kehadiran *string `json:"kehadiran,omitempty"`
|
||||
TidakHadir *string `json:"tidak_hadir,omitempty"`
|
||||
Lembur *string `json:"lembur,omitempty"`
|
||||
}
|
||||
|
||||
type Staff struct {
|
||||
StaffID string `json:"staff_id"`
|
||||
Nip string `json:"nip"`
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||
CompanyID string `json:"company_id"`
|
||||
CompanyName *string `json:"company_name,omitempty"`
|
||||
IsActive *string `json:"is_active,omitempty"`
|
||||
IsLogin *string `json:"is_login,omitempty"`
|
||||
Token *string `json:"token,omitempty"`
|
||||
Expired *string `json:"expired,omitempty"`
|
||||
IDGoogleSignIn string `json:"id_google_sign_in"`
|
||||
DisplayNameGoogleSignIn *string `json:"display_name_google_sign_in,omitempty"`
|
||||
CreatedAt *string `json:"created_at,omitempty"`
|
||||
LastUpdatedAt *string `json:"last_updated_at,omitempty"`
|
||||
}
|
||||
|
||||
type TokenResponse struct {
|
||||
Token *string `json:"token,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type TransAbsensiCheckDistanceResponse struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Selfie *string `json:"selfie,omitempty"`
|
||||
MaxDistance *string `json:"max_distance,omitempty"`
|
||||
CurrentDistance *string `json:"current_distance,omitempty"`
|
||||
Unit *string `json:"unit,omitempty"`
|
||||
}
|
||||
|
||||
type TransAbsensiCheckTimeAttendanceResponse struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
JamClockIn *string `json:"jam_clock_in,omitempty"`
|
||||
JamClockOut *string `json:"jam_clock_out,omitempty"`
|
||||
IsAbsenClockIn *string `json:"is_absen_clock_in,omitempty"`
|
||||
IsAbsenClockOut *string `json:"is_absen_clock_out,omitempty"`
|
||||
}
|
||||
|
||||
type TransAbsensiResponse struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user