Skip to main content

talawa-api / Exports / resolvers/Query/helperFunctions/getSort

Module: resolvers/Query/helperFunctions/getSort

Table of contents

Functions

Functions

getSort

getSort(orderBy): any

Parameters

NameType
orderByundefined | InputMaybe<"allDay_ASC" | "allDay_DESC" | "description_ASC" | "description_DESC" | "endDate_ASC" | "endDate_DESC" | "endTime_ASC" | "endTime_DESC" | "id_ASC" | "id_DESC" | "location_ASC" | "location_DESC" | "recurrance_ASC" | "recurrance_DESC" | "startDate_ASC" | "startDate_DESC" | "startTime_ASC" | "startTime_DESC" | "title_ASC" | "title_DESC" | "apiUrl_ASC" | "apiUrl_DESC" | "createdAt_ASC" | "createdAt_DESC" | "name_ASC" | "name_DESC" | "commentCount_ASC" | "commentCount_DESC" | "imageUrl_ASC" | "imageUrl_DESC" | "likeCount_ASC" | "likeCount_DESC" | "text_ASC" | "text_DESC" | "videoUrl_ASC" | "videoUrl_DESC" | "appLanguageCode_ASC" | "appLanguageCode_DESC" | "email_ASC" | "email_DESC" | "firstName_ASC" | "firstName_DESC" | "lastName_ASC" | "lastName_DESC">

Returns

any

Defined in

src/resolvers/Query/helperFunctions/getSort.ts:9