Add constructor for ActionFetchOptions.
This commit is contained in:
@ -101,6 +101,17 @@ export class ActionFetchOptions {
|
||||
* The date options for filtering actions.
|
||||
*/
|
||||
readonly dateOptions?: ActionDateOptions;
|
||||
|
||||
/**
|
||||
* Creates a set of options for an Action fetch.
|
||||
* @constructor
|
||||
* @param pageSize - The size of the page if paging is desired.
|
||||
* @param dateOptions - The options for Date filtering.
|
||||
*/
|
||||
constructor(pageSize?: number, dateOptions?: ActionDateOptions) {
|
||||
this.pageSize = pageSize;
|
||||
this.dateOptions = dateOptions;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user