@@ -62,13 +62,13 @@ export class Entries extends BaseQuery {
6262 /**
6363 * @method includeContentType
6464 * @memberof Entries
65- * @description IInclude the details of the content type along with the entries details
65+ * @description Include the details of the content type along with the entries details
6666 * @returns {Entries }
6767 * @example
6868 * import contentstack from '@contentstack/delivery-sdk'
6969 *
7070 * const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
71- * const result = await stack.contentType(contentType_uid).entry().includeContentType().fetch ();
71+ * const result = await stack.contentType(contentType_uid).entry().includeContentType().find ();
7272 */
7373 includeContentType ( ) : Entries {
7474 this . _queryParams . include_content_type = 'true' ;
@@ -85,7 +85,7 @@ export class Entries extends BaseQuery {
8585 * import contentstack from '@contentstack/delivery-sdk'
8686 *
8787 * const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
88- * const result = await stack.contentType(contentType_uid).entry().includeEmbeddedItems().fetch ();
88+ * const result = await stack.contentType(contentType_uid).entry().includeEmbeddedItems().find ();
8989 */
9090 includeEmbeddedItems ( ) : Entries {
9191 this . _queryParams [ 'include_embedded_items[]' ] = 'BASE' ;
@@ -134,7 +134,9 @@ export class Entries extends BaseQuery {
134134 * you need to use the include[] parameter and specify the UID of the reference field as value.
135135 * This function sets the include parameter to a reference field UID in the API request.
136136 * @example
137- * const stack = contentstack.stack("apiKey", "deliveryKey", "environment");
137+ * import contentstack from '@contentstack/delivery-sdk'
138+ *
139+ * const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
138140 * const query = stack.contentType("contentTypeUid").entry().includeReference("brand")
139141 * const res = await query.find()
140142 *
@@ -160,7 +162,9 @@ export class Entries extends BaseQuery {
160162 * @memberof Entries
161163 * @description This method also includes the content type UIDs of the referenced entries returned in the response.
162164 * @example
163- * const stack = contentstack.stack("apiKey", "deliveryKey", "environment");
165+ * import contentstack from '@contentstack/delivery-sdk'
166+ *
167+ * const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
164168 * const query = stack.contentType("contentTypeUid").entry().includeReferenceContentTypeUID()
165169 * const res = await query.find()
166170 *
@@ -175,9 +179,11 @@ export class Entries extends BaseQuery {
175179 /**
176180 * @method includeSchema
177181 * @memberof Entries
178- * @description This method also includes the content type UIDs of the referenced entries returned in the response .
182+ * @description Includes the schema of the content type along with the entries details .
179183 * @example
180- * const stack = contentstack.stack("apiKey", "deliveryKey", "environment");
184+ * import contentstack from '@contentstack/delivery-sdk'
185+ *
186+ * const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
181187 * const query = stack.contentType("contentTypeUid").entry().includeSchema()
182188 * const res = await query.find()
183189 *
@@ -191,9 +197,9 @@ export class Entries extends BaseQuery {
191197
192198 /**
193199 * @method locale
194- * @memberof Entry
195- * @description The assets published in the locale will be fetched
196- * @returns {Entry }
200+ * @memberof Entries
201+ * @description The entries published in the locale will be fetched
202+ * @returns {Entries }
197203 * @example
198204 * import contentstack from '@contentstack/delivery-sdk'
199205 *
@@ -235,8 +241,9 @@ export class Entries extends BaseQuery {
235241 /**
236242 * @method query
237243 * @memberof Entries
238- * @description Fetches the Entry data on the basis of the asset uid
239- * @returns {Collection }
244+ * @description Creates a query object for filtering entries
245+ * @param {object } queryObj - Optional query object to initialize the query
246+ * @returns {Query } Query instance for chaining query methods
240247 * @example
241248 * import contentstack from '@contentstack/delivery-sdk'
242249 *
@@ -251,9 +258,9 @@ export class Entries extends BaseQuery {
251258
252259 /**
253260 * @method variants
254- * @memberof Entry
261+ * @memberof Entries
255262 * @description The variant header will be added to axios client
256- * @returns {Entry }
263+ * @returns {Entries }
257264 * @example
258265 * import contentstack from '@contentstack/delivery-sdk'
259266 *
0 commit comments