Skip to content

Commit

Permalink
Add 'context' to the query parts type definition (#35069)
Browse files Browse the repository at this point in the history
* Add 'context' to the query parts type definition
* Refine the description

Co-authored-by: Nik Tsekouras <[email protected]>

Co-authored-by: Nik Tsekouras <[email protected]>
  • Loading branch information
Mamaduka and ntsekouras authored Sep 23, 2021
1 parent aadc370 commit f8a3f6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core-data/src/queried-data/get-query-parts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { withWeakMapCache, getNormalizedCommaSeparable } from '../utils';
* @property {?(string[])} fields Target subset of fields to derive from
* item objects.
* @property {?(number[])} include Specific item IDs to include.
* @property {string} context Scope under which the request is made;
* determines returned fields in response.
*/

/**
Expand Down

0 comments on commit f8a3f6c

Please sign in to comment.