node-cnb 1.6.1 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # 介绍
2
2
 
3
3
  ![badge](https://cnb.cool/cnb/sdk/node-cnb/-/badge/git/1876ef5f/ci/pipeline-as-code)
4
+ ![badge](https://cnb.cool/cnb/sdk/node-cnb/-/badge/git/latest/ci/status/pull_request)
4
5
  ![badge](https://cnb.cool/cnb/sdk/node-cnb/-/badge/git/1876ef5f/ci/status/tag_push)
6
+ ![badge](https://cnb.cool/cnb/sdk/node-cnb/-/badge/git/latest/code/vscode-started)
7
+ ![badge](https://img.shields.io/npm/v/node-cnb.svg)
5
8
 
6
9
  node-cnb 是一个用于访问 [CNB API](https://api.cnb.cool/) 的 node 编写的 SDK。
7
10
 
@@ -42,7 +45,7 @@ client.users.pinnedRepos.list({
42
45
 
43
46
  ## 方法路径
44
47
 
45
- 方法路径为由如下几个元素组成:
48
+ 方法路径为由如下几个元素组成:
46
49
 
47
50
  1. 第一个 `/-/` 前的参数名
48
51
  2. 其他非参数名
@@ -54,4 +57,6 @@ client.users.pinnedRepos.list({
54
57
 
55
58
  `/{repo}/-/git/branches/{branch}` 的路径下 get 请求方法名为 `repo.git.branches.get`
56
59
 
57
- 对于此规则下方法路径仍然重复的 api,则单独定义在 [pathMethodMap.json](./pathMethodMap.json)
60
+ 对于此规则下方法路径仍然重复的 api,则单独定义在 [pathMethodMap.json](https://cnb.cool/cnb/sdk/node-cnb/-/blob/main/pathMethodMap.json)
61
+
62
+ 完整api路径请参考 [client.d.ts](https://cnb.cool/cnb/sdk/node-cnb/-/blob/main/src/client.d.ts)