-
Notifications
You must be signed in to change notification settings - Fork 2
fix: doc type fixes #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/lib/entries.ts
Outdated
@@ -201,7 +201,7 @@ export class Entries extends EntryQueryable { | |||
* @example | |||
* import contentstack from '@contentstack/delivery-sdk' | |||
* | |||
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" }); | |||
* const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" }); | |||
* const result = await stack.contentType('abc').entry().variant('xyz').find(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
method called should be variants
instead of variant
src/lib/query.ts
Outdated
@@ -311,7 +311,7 @@ export class Query extends BaseQuery { | |||
* @example | |||
* import contentstack from '@contentstack/delivery-sdk' | |||
* | |||
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" }); | |||
* const stack = contentstack.stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" }); | |||
* const query1 = stack.contentType('contenttype_uid').Entry().query().containedIn('fieldUID', ['value']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Entry
to be replaced with entry
throughout the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
No description provided.