Skip to content

Commit

Permalink
Merge pull request #44 from contentstack/update_timeout
Browse files Browse the repository at this point in the history
#43 Typescript support to pass Boolean in where
  • Loading branch information
uttamukkoji authored Feb 19, 2021
2 parents 9333133 + 3add52e commit 0de906a
Show file tree
Hide file tree
Showing 13 changed files with 163 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ test/config.js/*
test/sync_config.js/*
test/report.json/*
tap-html.html
*html-report
*html-report
coverage
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@

### Version: 3.12.2
#### Date: Feb-19-2021

##### API timeout:
- updated timeout to min 30 sec
##### Enhancement Typescript:
- boolean value support added:
- [Query] - where, equalTo, notEqualTo

### Version: 3.12.1
#### Date: Jan-22-2021

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ You can query for content types, entries, assets and more using our JavaScript A

We have introduced Image Delivery APIs that let you retrieve images and then manipulate and optimize them for your digital properties. It lets you perform a host of other actions such as crop, trim, resize, rotate, overlay, and so on.

For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400. There are several more parameters that you can use for your images.
For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400. There are several more parameters that you can use for your images.

[Read Image Delivery API documentation](https://www.contentstack.com/docs/apis/image-delivery-api/).

Expand Down
2 changes: 1 addition & 1 deletion contentstack-templates/tmpl/layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ data.then(function(result) {
<p><a href="https://www.contentstack.com/docs/platforms/javascript-browser/api-reference/">JavaScript API Reference Doc</a></p>
<h3><a id="Working_with_Images_147"></a>Working with Images</h3>
<p>We have introduced Image Delivery APIs that let you retrieve images and then manipulate and optimize them for your digital properties. It lets you perform a host of other actions such as crop, trim, resize, rotate, overlay, and so on.</p>
<p>For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, <a href="https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400">https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400</a>. There are several more parameters that you can use for your images.</p>
<p>For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, <a href="https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400">https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400</a>. There are several more parameters that you can use for your images.</p>
<p><a href="https://www.contentstack.com/docs/apis/image-delivery-api/">Read Image Delivery API documentation</a>.</p>
<p>SDK functions for Image Delivery API coming soon.</p>
<h3><a id="Helpful_Links_157"></a>Helpful Links</h3>
Expand Down
2 changes: 1 addition & 1 deletion dist/nativescript/contentstack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0de906a

Please sign in to comment.