From f8a3f6cbdf6dd66be61f86e8fb8e75c25e72eada Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Thu, 23 Sep 2021 11:46:06 +0000 Subject: [PATCH] Add 'context' to the query parts type definition (#35069) * Add 'context' to the query parts type definition * Refine the description Co-authored-by: Nik Tsekouras Co-authored-by: Nik Tsekouras --- packages/core-data/src/queried-data/get-query-parts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core-data/src/queried-data/get-query-parts.js b/packages/core-data/src/queried-data/get-query-parts.js index 9075adb71fabf5..d46079dfa5d809 100644 --- a/packages/core-data/src/queried-data/get-query-parts.js +++ b/packages/core-data/src/queried-data/get-query-parts.js @@ -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. */ /**