Skip to content

Commit

Permalink
feat: jsdoc (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran McDade authored and Fran McDade committed Dec 4, 2024
1 parent 118e9ff commit ed66693
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/fileManifestState/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export function excludeFullySelectedFormFilters(

/**
* Generates the filters for a request URL based on the file manifest state.
* If all terms in a facet are selected, the corresponding facet is excluded.
* Filters are returned based on the following conditions:
* - **form terms unselected**: No filters are returned.
* - **form terms partially selected**: All filters returned, including form filters.
* - **form terms fully selected**: Filters returned, excluding form filters.
* @param state - File manifest state.
* @returns filters for the request URL.
*/
Expand Down

0 comments on commit ed66693

Please sign in to comment.