TestMock
talawa-admin • Docs
talawa-admin / screens/OrganizationPeople/MockDataTypes / TestMock
Type Alias: TestMock
> TestMock: object
Type declaration
newData()?
> optional
newData: () => TestMock
["result"
]
Returns
TestMock
["result"
]
request
> request: object
request.query
> query: DocumentNode
request.variables
> variables: object
request.variables.email?
> optional
email: string
request.variables.firstName?
> optional
firstName: string
request.variables.firstName_contains?
> optional
firstName_contains: string
request.variables.firstNameContains?
> optional
firstNameContains: string
request.variables.id?
> optional
id: string
request.variables.id_not_in?
> optional
id_not_in: string
[]
request.variables.lastName?
> optional
lastName: string
request.variables.lastName_contains?
> optional
lastName_contains: string
request.variables.lastNameContains?
> optional
lastNameContains: string
request.variables.orgid?
> optional
orgid: string
request.variables.orgId?
> optional
orgId: string
request.variables.password?
> optional
password: string
request.variables.userid?
> optional
userid: string
result
> result: object
result.__typename?
> optional
__typename: string
result.data
> data: object
result.data.__typename?
> optional
__typename: string
result.data.createMember?
> optional
createMember: object
result.data.createMember.__typename
> __typename: string
result.data.createMember._id
> _id: string
result.data.organizations?
> optional
organizations: InterfaceQueryOrganizationsListObject
[]
result.data.organizationsMemberConnection?
> optional
organizationsMemberConnection: object
result.data.organizationsMemberConnection.edges?
> optional
edges: Edge
[]
result.data.organizationsMemberConnection.user?
> optional
user: Edge
[]
result.data.signUp?
> optional
signUp: object
result.data.signUp.accessToken?
> optional
accessToken: string
result.data.signUp.refreshToken?
> optional
refreshToken: string
result.data.signUp.user?
> optional
user: object
result.data.signUp.user._id
> _id: string
result.data.users?
> optional
users: object
[]