Skip to content

Commit bcefaf9

Browse files
authored
Merge pull request #56 from contentstack/refactor/CS-38336-Marketplace-APIs
refactor/marketplace-apis-implementation
2 parents 0522fd7 + 28c5d1b commit bcefaf9

40 files changed

+7813
-10945
lines changed

.jsdoc.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"lib/stack/asset/index.js",
1818
"lib/stack/asset/folders/index.js",
1919
"lib/stack/branch/index.js",
20+
"lib/stack/branch/compare.js",
21+
"lib/stack/branch/mergeQueue.js",
2022
"lib/stack/branchAlias/index.js",
2123
"lib/stack/bulkOperation/index.js",
2224
"lib/stack/extension/index.js",
@@ -27,15 +29,23 @@
2729
"lib/stack/environment/index.js",
2830
"lib/stack/deliveryToken/index.js",
2931
"lib/stack/roles/index.js",
30-
"lib/stack/webhook/index.js",
3132
"lib/stack/workflow/index.js",
32-
"lib/stack/workflow/publishRules/index.js"
33+
"lib/stack/workflow/publishRules/index.js",
34+
"lib/marketplace/app/oauth/index.js",
35+
"lib/marketplace/app/index.js",
36+
"lib/marketplace/app/hosting/deployment.js",
37+
"lib/marketplace/app/hosting/index.js",
38+
"lib/marketplace/index.js",
39+
"lib/marketplace/installation/index.js",
40+
"lib/marketplace/installation/webhooks/index.js",
41+
"lib/marketplace/apprequest/index.js",
42+
"lib/marketplace/authorization/index.js"
3343

3444
],
3545
"excludePattern": "(node_modules/|jsdocs)"
3646
},
3747
"opts": {
38-
"template": "docdash-template",
48+
"template": "./node_modules/docdash",
3949
"destination": "./jsdocs/",
4050
"encoding": "utf8",
4151
"private": true,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ contentstackClient.stack({ api_key: 'API_KEY' }).asset().create({ asset })
104104
- [Content Management API Docs](https://www.contentstack.com/docs/developers/apis/content-management-api)
105105

106106
### The MIT License (MIT)
107-
Copyright © 2012-2022 [Contentstack](https://www.contentstack.com/). All Rights Reserved
107+
Copyright © 2012-2023 [Contentstack](https://www.contentstack.com/). All Rights Reserved
108108

109109
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
110110

lib/app/installation/index.js

Lines changed: 0 additions & 253 deletions
This file was deleted.

lib/entity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,4 @@ export async function get (http, url, params, data) {
288288
} catch (err) {
289289
throw error(err)
290290
}
291-
}
291+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import cloneDeep from 'lodash/cloneDeep'
2-
import ContentstackCollection from '../../contentstackCollection'
3-
import error from '../../core/contentstackError'
2+
import ContentstackCollection from '../../../contentstackCollection'
3+
import error from '../../../core/contentstackError'
44

55
export function Deployment (http, data, params) {
66
http.defaults.versioningStrategy = undefined
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import cloneDeep from 'lodash/cloneDeep'
2-
import error from '../../core/contentstackError'
2+
import error from '../../../core/contentstackError'
33
import { Deployment } from './deployment'
44

55
export function Hosting (http, data, params) {

0 commit comments

Comments
 (0)