Skip to main content

searchDrafts

Searches Drafts

Arguments

afterString

A cursor to search after (only include first & after or last & before)

beforeString

A cursor to search before (only include first & after or last & before)

filters[SearchFilterInput!]

A set of filters to apply

firstInt

The number of results to fetch when searching forward (only include first & after or last & before)

lastInt

The number of results to fetch when searching backward (only include first & after or last & before)

searchString

A search query to filter results

sortBySortDraftsBy

The sort key

sortDirSortDirection

The sort direction

Returns

DraftConnection!
A connection to a list of items.