Skip to main content

MOCKS2

Admin Docs


Variable: MOCKS2

const MOCKS2: object[]

Defined in: src/screens/MemberDetail/MemberDetailMocks.ts:337

Type declaration

request

request: object

request.query

query: DocumentNode = USER_DETAILS

request.variables

variables: object

request.variables.first

first: number = TAGS_QUERY_DATA_CHUNK_SIZE

request.variables.id

id: string = 'rishav-jha-mech'

result

result: object

result.data

data: object

result.data.user

user: object

result.data.user.__typename

__typename: string = 'UserData'

result.data.user.appUserProfile

appUserProfile: object

result.data.user.appUserProfile.__typename

__typename: string = 'AppUserProfile'

result.data.user.appUserProfile._id

_id: string = '1'

result.data.user.appUserProfile.adminFor

adminFor: any[] = []

result.data.user.appUserProfile.appLanguageCode

appLanguageCode: string = 'en'

result.data.user.appUserProfile.createdEvents

createdEvents: object[]

result.data.user.appUserProfile.createdOrganizations

createdOrganizations: object[]

result.data.user.appUserProfile.eventAdmin

eventAdmin: object[]

result.data.user.appUserProfile.isSuperAdmin

isSuperAdmin: boolean = false

result.data.user.appUserProfile.pluginCreationAllowed

pluginCreationAllowed: boolean = true

result.data.user.user

user: object

result.data.user.user.__typename

__typename: string = 'User'

result.data.user.user._id

_id: string = '1'

result.data.user.user.address

address: object

result.data.user.user.address.city

city: string = ''

result.data.user.user.address.countryCode

countryCode: string = ''

result.data.user.user.address.line1

line1: string = ''

result.data.user.user.address.state

state: string = ''

result.data.user.user.birthDate

birthDate: string = '2024-03-14'

result.data.user.user.createdAt

createdAt: string = '2024-02-26T10:36:33.098Z'

result.data.user.user.educationGrade

educationGrade: string = ''

result.data.user.user.email

email: string = 'adi790u@gmail.com'

result.data.user.user.employmentStatus

employmentStatus: string = ''

result.data.user.user.eventsAttended

eventsAttended: object[]

result.data.user.user.firstName

firstName: string = 'Aditya'

result.data.user.user.gender

gender: string = ''

result.data.user.user.image

image: string = 'https://placeholder.com/200x200'

result.data.user.user.joinedOrganizations

joinedOrganizations: object[]

result.data.user.user.lastName

lastName: string = 'Agarwal'

result.data.user.user.maritalStatus

maritalStatus: string = ''

result.data.user.user.membershipRequests

membershipRequests: any[] = []

result.data.user.user.organizationsBlockedBy

organizationsBlockedBy: any[] = []

result.data.user.user.phone

phone: object

result.data.user.user.phone.mobile

mobile: string = ''

result.data.user.user.registeredEvents

registeredEvents: object[]

result.data.user.user.tagsAssignedWith

tagsAssignedWith: object

result.data.user.user.tagsAssignedWith.edges

edges: any[] = []

result.data.user.user.tagsAssignedWith.pageInfo

pageInfo: object

result.data.user.user.tagsAssignedWith.pageInfo.endCursor

endCursor: any = null

result.data.user.user.tagsAssignedWith.pageInfo.hasNextPage

hasNextPage: boolean = false

result.data.user.user.tagsAssignedWith.pageInfo.hasPreviousPage

hasPreviousPage: boolean = false

result.data.user.user.tagsAssignedWith.pageInfo.startCursor

startCursor: any = null

result.data.user.user.tagsAssignedWith.totalCount

totalCount: number = 0