halo-admin/packages/api-client
Ryan Wang 194ff7f4ad
feat: user management supports conditional filtering and sorting (#862)
#### What type of PR is this?

/kind feature

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

用户管理列表支持条件筛选和排序,适配:https://github.com/halo-dev/halo/pull/3320

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

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

#### Screenshots:

<img width="922" alt="image" src="https://user-images.githubusercontent.com/21301288/219578426-de396dfb-7ece-496e-b740-d7a36321eafb.png">

#### Special notes for your reviewer:

测试方式:

1. Halo 需要切换到 https://github.com/halo-dev/halo/pull/3320 分支。
2. Console 需要 `pnpm build:packages`
3. 测试用户管理的关键词、条件、排序筛选是否工作正常。

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

```release-note
Console 端的用户列表支持条件筛选和排序。
```
2023-02-20 04:18:18 +00:00
..
src feat: user management supports conditional filtering and sorting (#862) 2023-02-20 04:18:18 +00:00
.eslintignore chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
.eslintrc.js chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
.gitignore chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
.prettierrc.js chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
README.md chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
build.config.ts chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
openapitools.json chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
package.json chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
tsconfig.json chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00: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