Skip to main content

ParseGraphQLConnectionCursorResult

talawa-api


talawa-api / utilities/graphQLConnection/parseGraphQLConnectionArguments / ParseGraphQLConnectionCursorResult

Type Alias: ParseGraphQLConnectionCursorResult<T0>

> ParseGraphQLConnectionCursorResult<T0>: Promise<{ errors: DefaultGraphQLArgumentError[]; isSuccessful: false; } | { isSuccessful: true; parsedCursor: T0; }>

This is typescript type of object returned from the callback function parseCursor passed as an argument to parseGraphQLConnectionArguments, parseGraphQLConnectionArgumentsWithSortedBy, parseGraphQLConnectionArgumentsWithWhere and parseGraphQLConnectionArgumentsWithSortedByAndWhere functions.

Type Parameters

T0

Defined in

src/utilities/graphQLConnection/parseGraphQLConnectionArguments.ts:25