Skip to content

Commit

Permalink
docs: update criteria docs (#521)
Browse files Browse the repository at this point in the history
* feat: added method to correct utc date

* feat: added search criteria builder

* feat: re-use utc date method

* misc: added utils to export

* docs: improved docs
  • Loading branch information
BenjaminPabst authored Oct 4, 2024
1 parent 881184a commit 56d88df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/angular-accelerator/src/lib/utils/criteria.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function _hasShowTime(calendars: QueryList<Calendar>, formKey: string): boolean
/**
* Safely builds the search criteria based on form values
* @param formValues the form values to use
* @param calendars a list of calendars of the form (use `@ViewChildren(Calendar) calendars!: QueryList<Calendar>;`)
* @param calendars a list of primeng calendars of the form (use `@ViewChildren(Calendar) calendars!: QueryList<Calendar>;`)
* @param parameters {@link BuildSearchCriteriaParameters} to use when building the search criteria
* @returns the search criteria as partial of T (T should be your search criteria type)
* @returns the search criteria as partial of T (T = type of the search criteria)
*/
export function buildSearchCriteria<T>(
formValues: FormGroup<any>,
Expand Down

0 comments on commit 56d88df

Please sign in to comment.