Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d98b470
fix: fixed issue while updating entries with assets
abhinav-from-contentstack Dec 12, 2023
b17a988
feat: added api test
abhinav-from-contentstack Dec 13, 2023
39ea129
Merge pull request #96 from contentstack/bug/CS-42703-updating-entry-…
abhinav-from-contentstack Dec 13, 2023
db6b879
fix: updated changelog and package lock file
abhinav-from-contentstack Dec 13, 2023
04f5d26
Merge pull request #98 from contentstack/bug/CS-43088-update-changelog
abhinav-from-contentstack Dec 13, 2023
9ed7a91
Implemented Management token support (#99)
sunil-lakshman Dec 15, 2023
701bc1e
test: added sanity tests for user and contenttype
harshithad0703 Dec 18, 2023
508aa7a
added a script in package.json
harshithad0703 Dec 18, 2023
52c8786
Merge pull request #100 from contentstack/test/cs-43014-cms-sanity-re…
harshithad0703 Dec 18, 2023
211773e
test: added entries, assets, organization and stack tests in sanity
harshithad0703 Dec 18, 2023
ce0e53b
changed the decription for it in testcases
harshithad0703 Dec 18, 2023
cfb7ea1
Merge pull request #101 from contentstack/test/cs-43131-basic-sanity-…
harshithad0703 Dec 19, 2023
d56c5eb
test: added taxonomy and terms tests in sanity folder
harshithad0703 Dec 20, 2023
67f2a62
removed const stack as the api is read from env
harshithad0703 Dec 20, 2023
3c4ba30
Merge pull request #102 from contentstack/test/cs-43154-sanity-test-t…
harshithad0703 Dec 20, 2023
2f32924
fix: changed the url in transferOwnership
harshithad0703 Jan 5, 2024
2e38341
test: removed the skipped test case from organization test suit
harshithad0703 Jan 5, 2024
258b3a9
test: added branches and aliases test suits to sanity folder
harshithad0703 Jan 5, 2024
ca58beb
test: commented out the test case instead or removing
harshithad0703 Jan 5, 2024
941b9e9
test: updated url path in unit test case
harshithad0703 Jan 5, 2024
f7128e7
Merge pull request #105 from contentstack/test/cs-43284-sanity-tests-…
harshithad0703 Jan 5, 2024
11c4d74
test: added 1 more test case to branch test suit
harshithad0703 Jan 5, 2024
122b4db
test: added create branch test after stack creation test
harshithad0703 Jan 9, 2024
ef3995d
Merge pull request #108 from contentstack/test/add-sanity-tests
harshithad0703 Jan 9, 2024
4bfd437
fix: :package: updates axios version
nadeem-cs Jan 11, 2024
b73e856
chore: update package version in package.json
nadeem-cs Jan 11, 2024
adfadb1
Merge branch 'master' into next
nadeem-cs Jan 11, 2024
45698d0
chore: :hammer: updates prerelease hook script
nadeem-cs Jan 11, 2024
6b160a2
chore: :package: added a package for slack message integeration and s…
harshithad0703 Jan 11, 2024
a9398ad
chore: slack integeration for sending test report summary on the channel
harshithad0703 Jan 11, 2024
a0ed39d
test: added environment test to sanity and changes done in branch test
harshithad0703 Jan 11, 2024
7ca1911
chore: :package: updated slack/bolt package to devDependencies
harshithad0703 Jan 11, 2024
d68ea49
Revert "chore: :package: updated slack/bolt package to devDependencies"
harshithad0703 Jan 11, 2024
dbd1934
updated slack/bolt package dependency
harshithad0703 Jan 11, 2024
6b3efbb
chore: added alldependencies required for slack/bolt package
harshithad0703 Jan 11, 2024
1e16d98
Merge pull request #111 from contentstack/test/sanity-test
harshithad0703 Jan 11, 2024
5b13208
chore: updates LICENSE file
nadeem-cs Jan 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
threshold: medium
fileignoreconfig:
- filename: package-lock.json
checksum: 9a7bec9513834a0fc7db31b9a312ec35980600415c04f0d404e1370cfce1ef1b
checksum: 2a2327aabd3f6eacf41a8e8bb3dd5afdab892683cfd15aac308f43c14108b824
version: ""
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2012-2023 Contentstack
Copyright (c) 2012-2024 Contentstack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib/organization/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function Organization (http, data) {
*/
this.transferOwnership = async (email) => {
try {
const response = await http.post(`${this.urlPath}/transfer_ownership`, { transfer_to: email })
const response = await http.post(`${this.urlPath}/transfer-ownership`, { transfer_to: email })
if (response.data) {
return response.data
} else {
Expand Down
28 changes: 14 additions & 14 deletions lib/stack/asset/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,20 +206,20 @@ export function Asset (http, data = {}) {
}
}
/**
* @description The Query on Asset will allow to fetch details of all or specific Asset.
* @memberof Asset
* @param {Object} params - URI parameters
* @prop {Object} params.query - Queries that you can use to fetch filtered results.
* @func query
* @returns {Array<Asset>} Array of Asset.
*
* @example
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key'}).asset().query({ query: { filename: 'Asset Name' } }).find()
* .then((asset) => console.log(asset))
*/
* @description The Query on Asset will allow to fetch details of all or specific Asset.
* @memberof Asset
* @param {Object} params - URI parameters
* @prop {Object} params.query - Queries that you can use to fetch filtered results.
* @func query
* @returns {Array<Asset>} Array of Asset.
*
* @example
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key'}).asset().query({ query: { filename: 'Asset Name' } }).find()
* .then((asset) => console.log(asset))
*/
this.query = query({ http: http, wrapperCollection: AssetCollection })
}
/**
Expand Down
Loading