Skip to main content

talawa-admin / Modules / components/UsersTableItem/UserTableItemMocks

Module: components/UsersTableItem/UserTableItemMocks

Table of contents

Variables

Variables

MOCKS

Const MOCKS: ({ request: { query: DocumentNode = UPDATE_USERTYPE_MUTATION; variables: { id: string = '123'; organizationId?: undefined = '123'; orgid?: undefined = 'abc'; role?: undefined = 'ADMIN'; userId?: undefined = '123'; userType: string = 'ADMIN'; userid?: undefined = '123' } } ; result: { data: { removeMember?: undefined ; updateUserRoleInOrganization?: undefined ; updateUserType: { data: { id: string = '123' } } } } } | { request: { query: DocumentNode = REMOVE_MEMBER_MUTATION; variables: { id?: undefined = '123'; organizationId?: undefined = '123'; orgid: string = 'abc'; role?: undefined = 'ADMIN'; userId?: undefined = '123'; userType?: undefined = 'ADMIN'; userid: string = '123' } } ; result: { data: { removeMember: { _id: string = '123' } ; updateUserRoleInOrganization?: undefined ; updateUserType?: undefined } } } | { request: { query: DocumentNode = UPDATE_USER_ROLE_IN_ORG_MUTATION; variables: { id?: undefined = '123'; organizationId: string = 'abc'; orgid?: undefined = 'abc'; role: string = 'ADMIN'; userId: string = '123'; userType?: undefined = 'ADMIN'; userid?: undefined = '123' } } ; result: { data: { removeMember?: undefined ; updateUserRoleInOrganization: { _id: string = '123' } ; updateUserType?: undefined } } })[]

Defined in

src/components/UsersTableItem/UserTableItemMocks.ts:7