halo/ui/packages/api-client
Ryan Wang f3c3c91ca4
refactor: improve method name of api client (#5980)
#### What type of PR is this?

/area ui
/kind cleanup
/milestone 2.16.x

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

规范 api client 的方法名,之前生成的 api client 的方法名没有完全遵循驼峰命名。

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

Close https://github.com/halo-dev/halo/issues/5716

#### Special notes for your reviewer:

CI 通过即可。

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

```release-note
None
```
2024-05-24 04:04:50 +00:00
..
src refactor: improve method name of api client (#5980) 2024-05-24 04:04:50 +00:00
.eslintignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.eslintrc.js Move folder console to ui 2024-02-02 22:22:51 +08:00
.gitignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.openapi_config.yaml Generate API docs and regenerate API client (#5742) 2024-04-19 02:34:07 +00:00
.prettierrc.js chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
README.md Move folder console to ui 2024-02-02 22:22:51 +08:00
build.config.ts Move folder console to ui 2024-02-02 22:22:51 +08:00
openapitools.json Generate API docs and regenerate API client (#5742) 2024-04-19 02:34:07 +00:00
package.json Prepare for developing 2.16.0 (#5856) 2024-05-05 01:37:33 +00:00
tsconfig.json Move folder console to ui 2024-02-02 22:22:51 +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