Skip to content

Commit

Permalink
fix: Fixing the schema introspection test
Browse files Browse the repository at this point in the history
- Added the missing fields and removed the fields in UpdateUserInput input

Signed-off-by: Akhilender <[email protected]>
  • Loading branch information
akhilender-bongirwar committed Jan 31, 2024
1 parent 5a89447 commit d8ca512
Showing 1 changed file with 64 additions and 2 deletions.
66 changes: 64 additions & 2 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -900,11 +900,73 @@ input UpdateOrganizationInput {
}

input UpdateUserInput {
id: ID
address: AddressInput
birthDate: Date
educationGrade: EducationGrade
email: EmailAddress
employmentStatus: EmploymentStatus
firstName: String
gender: Gender
lastName: String
applangcode: String
maritalStatus: MaritalStatus
phone: UserPhoneInput
}

input AddressInput {
city: String
countryCode: String
dependentLocality: String
line1: String
line2: String
postalCode: String
sortingCode: String
state: String
}

enum EducationGrade {
GRADE_1
GRADE_2
GRADE_3
GRADE_4
GRADE_5
GRADE_6
GRADE_7
GRADE_8
GRADE_9
GRADE_10
GRADE_11
GRADE_12
GRADUATE
KG
NO_GRADE
PRE_KG
}

enum EmploymentStatus {
FULL_TIME
PART_TIME
UNEMPLOYED
}

enum Gender {
FEMALE
MALE
OTHER
}

enum MaritalStatus {
DIVORCED
ENGAGED
MARRIED
SEPERATED
SINGLE
WIDOWED
}

input UserPhoneInput {
home: PhoneNumber
mobile: PhoneNumber
work: PhoneNumber
}

input UpdateUserPasswordInput {
Expand Down

0 comments on commit d8ca512

Please sign in to comment.