halo/console/packages/api-client
John Niang 4685bf4052
Add role template for managing cache (#4153)
#### What type of PR is this?

/kind feature
/area core
/milestone 2.7.x

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

Add role template for managing cache. Anyone with role `role-template-manage-cache` can see the `Refresh Page Cache` button.

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

Fixes https://github.com/halo-dev/halo/issues/4143

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

```release-note
None
```
2023-06-29 07:48:12 +00:00
..
src Add role template for managing cache (#4153) 2023-06-29 07:48:12 +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 chore: release 2.6.0 (#4021) 2023-06-01 03:08:12 +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