halo/ui/packages/api-client
John Niang 5df51bb715
Refactor plugin reconciliation for dependency mechanism (#5900)
#### What type of PR is this?

/kind improvement
/area core
/area plugin

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

This PR wholly refactors plugin reconciliation to implement dependency mechanism.

Currently,
- If we disable plugin which has dependents, the plugin must wait for dependents to be disabled.
- If we enable plugin which has dependencies , the plugin must wait for dependencies to be enabled.
- If we upgrade plugin which has dependents, the plugin must request dependents to be unloaded. After the plugin is unloaded, the plugin must cancel unload request for dependents.

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

Fixes #5872 

#### Special notes for your reviewer:

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

```release-note
优化被依赖的插件的升级,启用和禁用
```
2024-05-27 08:16:56 +00:00
..
src Refactor plugin reconciliation for dependency mechanism (#5900) 2024-05-27 08:16:56 +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