Skip to content

Commit 03c7954

Browse files
authored
Merge pull request #16 from contentstack/bug/orgs-stack-and-entry-fetch
Bug/orgs stack and entry fetch
2 parents 98f9eba + 17ec1dd commit 03c7954

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+311
-387
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# Changelog
2+
3+
## [v1.2.2](https://github.com/contentstack/contentstack-management-javascript/tree/v1.2.2) (2021-05-26)
4+
- Bug Fix
5+
- Organization Specific get all Stack: Get Stack for specific organization from org_uid
6+
- Resolved: Entry Publish and Update not work after find function
7+
- Resolved: Workflow update issue on fetchAll function
8+
- Document Update
9+
- `update` Entry example code update
10+
211
## [v1.2.1](https://github.com/contentstack/contentstack-management-javascript/tree/v1.2.1) (2021-03-19)
312
- Bug Fix
413
- User get details: Include organization functions for `is_owner` of the organization

jsdocs/Asset.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ <h5>Returns:</h5>
13541354
<br class="clear">
13551355

13561356
<footer>
1357-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1357+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
13581358
</footer>
13591359

13601360
<script>prettyPrint();</script>

jsdocs/BulkOperation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ <h5>Returns:</h5>
800800
<br class="clear">
801801

802802
<footer>
803-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
803+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
804804
</footer>
805805

806806
<script>prettyPrint();</script>

jsdocs/ContentType.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ <h5>Parameters:</h5>
13171317
<br class="clear">
13181318

13191319
<footer>
1320-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1320+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
13211321
</footer>
13221322

13231323
<script>prettyPrint();</script>

jsdocs/Contentstack.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ <h5 class="subsection-title">Properties:</h5>
392392

393393

394394

395-
<td class="description last">Optional boolean for retry on failuer. Default is true</td>
395+
<td class="description last">Optional boolean for retry on failure. Default is true</td>
396396
</tr>
397397

398398

@@ -454,7 +454,7 @@ <h5 class="subsection-title">Properties:</h5>
454454

455455

456456

457-
<td class="description last">The number of miliseconds to use for operation retries. Default is 300ms</td>
457+
<td class="description last">The number of milliseconds to use for operation retries. Default is 300ms</td>
458458
</tr>
459459

460460

@@ -790,7 +790,7 @@ <h5>Examples</h5>
790790
import * as contentstack from '@contentstack/management'
791791
const client = contentstack.client({ maxContentLength: 1024 ** 3 })</code></pre>
792792

793-
<pre class="prettyprint"><code>//Set the `maxContentLength` to 1024 ** 2 * 10 // 10 MB
793+
<pre class="prettyprint"><code>//Set the `maxBodyLength` to 1024 ** 2 * 10 // 10 MB
794794
import * as contentstack from '@contentstack/management'
795795
const client = contentstack.client({ maxBodyLength: 1024 ** 2 * 10 })</code></pre>
796796

@@ -829,7 +829,7 @@ <h5>Examples</h5>
829829
<br class="clear">
830830

831831
<footer>
832-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
832+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
833833
</footer>
834834

835835
<script>prettyPrint();</script>

jsdocs/ContentstackClient.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ <h5>Returns:</h5>
10771077
<br class="clear">
10781078

10791079
<footer>
1080-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1080+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
10811081
</footer>
10821082

10831083
<script>prettyPrint();</script>

jsdocs/DeliveryToken.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ <h5>Returns:</h5>
763763
<br class="clear">
764764

765765
<footer>
766-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
766+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
767767
</footer>
768768

769769
<script>prettyPrint();</script>

jsdocs/Entry.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ <h5>Examples</h5>
214214
.then((entry) => {
215215
entry.title = 'My New Entry'
216216
entry.description = 'Entry description'
217-
return Entry.update()
217+
return entry.update()
218218
})
219219
.then((entry) => console.log(entry))</code></pre>
220220

@@ -998,11 +998,11 @@ <h5>Example</h5>
998998
const client = contentstack.client()
999999

10001000
const publishing_rule = {
1001-
"uid": "blt9b9253297f117e84",
1002-
"action": "publish", //(‘publish’, ‘unpublish’, or ’both’)
1003-
"status": 1, //(this could be ‘0’ for Approval Requested, ‘1’ for ‘Approval Accepted’, and ‘-1’ for ‘Approval Rejected’),
1004-
"notify": false,
1005-
"comment": "Please review this."
1001+
"uid": "blt9b9253297f117e84",
1002+
"action": "publish" //(‘publish’, ‘unpublish’, or ’both’)
1003+
"status": 1, //(this could be ‘0’ for Approval Requested, ‘1’ for ‘Approval Accepted’, and ‘-1’ for ‘Approval Rejected’),
1004+
"notify": false,
1005+
comment": "Please review this."
10061006
}
10071007
client.stack({ api_key: 'api_key'}).contentType('content_type_uid').entry('uid').publishRequest({ publishing_rule, locale: 'en-us'})
10081008
.then((response) => console.log(response.notice))</code></pre>
@@ -1693,7 +1693,7 @@ <h5>Parameters:</h5>
16931693
<br class="clear">
16941694

16951695
<footer>
1696-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1696+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
16971697
</footer>
16981698

16991699
<script>prettyPrint();</script>

jsdocs/Environment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ <h5>Returns:</h5>
766766
<br class="clear">
767767

768768
<footer>
769-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
769+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
770770
</footer>
771771

772772
<script>prettyPrint();</script>

jsdocs/Extension.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ <h5>Returns:</h5>
944944
<br class="clear">
945945

946946
<footer>
947-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Mon Apr 12 2021 11:10:25 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
947+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Wed May 26 2021 15:15:53 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
948948
</footer>
949949

950950
<script>prettyPrint();</script>

0 commit comments

Comments
 (0)