Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AVtheking committed Jan 28, 2024
1 parent 5c755a9 commit 7728a36
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 7 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ Core features include:

<!-- toc -->

- [Talawa API](#talawa-api)
- [Talawa Components](#talawa-components)
- [Documentation](#documentation)
- [Installation](#installation)
- [Image Upload](#image-upload)
- [Talawa Components](#talawa-components)
- [Documentation](#documentation)
- [Installation](#installation)
- [Image Upload](#image-upload)

<!-- tocstop -->

Expand Down
35 changes: 33 additions & 2 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ type Mutation {
sendMessageToDirectChat(chatId: ID!, messageContent: String!): DirectChatMessage!
sendMessageToGroupChat(chatId: ID!, messageContent: String!): GroupChatMessage!
signUp(data: UserInput!, file: String): AuthData!
togglePostPin(id: ID!): Post!
togglePostPin(id: ID!, title: String): Post!
unassignUserTag(input: ToggleUserTagAssignInput!): User
unblockUser(organizationId: ID!, userId: ID!): User!
unlikeComment(id: ID!): Comment
Expand Down Expand Up @@ -1019,8 +1019,8 @@ input UserInput {
email: EmailAddress!
firstName: String!
lastName: String!
organizationUserBelongsToId: ID
password: String!
selectedOrgainzation: ID!
}

enum UserOrderByInput {
Expand Down Expand Up @@ -1078,6 +1078,37 @@ type UserTagsConnectionResult {
errors: [ConnectionError!]!
}

type UserToReturn {
_id: ID!
address: Address
adminApproved: Boolean
adminFor: [Organization]
appLanguageCode: String!
birthDate: Date
createdAt: DateTime!
createdEvents: [Event]
createdOrganizations: [Organization]
educationGrade: EducationGrade
email: EmailAddress!
employmentStatus: EmploymentStatus
eventAdmin: [Event]
firstName: String!
gender: Gender
image: String
joinedOrganizations: [Organization]
lastName: String!
maritalStatus: MaritalStatus
membershipRequests: [MembershipRequest]
organizationsBlockedBy: [Organization]
phone: UserPhone
pluginCreationAllowed: Boolean!
registeredEvents: [Event]
tagsAssignedWith(after: String, before: String, first: PositiveInt, last: PositiveInt, organizationId: ID): UserTagsConnection
tokenVersion: Int!
updatedAt: DateTime!
userType: UserType!
}

enum UserType {
ADMIN
NON_USER
Expand Down

0 comments on commit 7728a36

Please sign in to comment.