halo/console/packages/api-client
Ryan Wang e20ab8f880
refactor: use new api to change plugin status (#4747)
#### What type of PR is this?

/area console
/kind improvement

#### What this PR does / why we need it:

适配 https://github.com/halo-dev/halo/pull/4745 ,使用新的接口启动/停止插件。

#### Which issue(s) this PR fixes:

Fixes #4744 

#### Special notes for your reviewer:


#### Does this PR introduce a user-facing change?

```release-note
None
```
2023-10-26 02:56:14 +00:00
..
src refactor: use new api to change plugin status (#4747) 2023-10-26 02:56:14 +00:00
.eslintignore Move root to console 2023-03-02 15:49:22 +08:00
.eslintrc.js chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
.gitignore Move root to console 2023-03-02 15:49:22 +08:00
.prettierrc.js chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
README.md Move root to console 2023-03-02 15:49:22 +08:00
build.config.ts chore: solving the issue of generating API client causing unnecessary diffs (#3465) 2023-03-07 14:14:14 +00:00
openapitools.json Move root to console 2023-03-02 15:49:22 +08:00
package.json Prepare for next development 2.11.0 (#4709) 2023-10-11 06:46:30 +00:00
tsconfig.json Move root to console 2023-03-02 15:49:22 +08:00

README.md

@halo-dev/api-client

Halo 2.0 的 JavaScript API 客户端请求库。使用 OpenAPI Generator 生成。

开发环境

pnpm install
# 根据 OpenAPI 3.0 生成类型和网络请求的代码,此步骤需要启动 Halo 2.0 后端。
pnpm gen
pnpm build

发布版本

pnpm release