Skip to content

Latest commit

 

History

History
82 lines (43 loc) · 1.56 KB

SortQuery.md

File metadata and controls

82 lines (43 loc) · 1.56 KB

@panenco/papi / Exports / SortQuery

Class: SortQuery

Base query validator for a sortable paged list

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new SortQuery()

Inherited from

PagingQuery.constructor

Properties

offset

Optional offset: number = 0

Inherited from

PagingQuery.offset

Defined in

contracts/queries/paging.query.ts:16


limit

Optional limit: number = 20

Inherited from

PagingQuery.limit

Defined in

contracts/queries/paging.query.ts:22


sort

Optional sort: string

Defined in

contracts/queries/sort.query.ts:17


direction

Optional direction: QueryOrder

Defined in

contracts/queries/sort.query.ts:22