mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area core /area console /kind api-change /milestone 2.6.x #### What this PR does / why we need it: 重构排序参数以统一自定义 APIs 的风格 - 文章的排序参数字段名改为 `creationTimestamp`、`publishTime` 查询参数示例为 sort=creationTimestamp,desc - 自定义页面排序参数字段名同文章 - 评论排序参数字段名为 `creationTimestamp`,`replyCount`,`lastReplyTime` 查询参数示例为 sort=creationTimestamp,desc 需要 Console 适配 #### Which issue(s) this PR fixes: Fixes #3464 #### Does this PR introduce a user-facing change? ```release-note 重构排序参数以统一自定义 APIs 的风格 ``` |
||
---|---|---|
.. | ||
.changeset | ||
.husky | ||
.vscode | ||
cypress | ||
docs | ||
packages | ||
public | ||
src | ||
.editorconfig | ||
.env.development | ||
.env.production | ||
.eslintrc.cjs | ||
.gitignore | ||
.gitpod.yml | ||
.npmignore | ||
.npmrc | ||
.prettierignore | ||
Makefile | ||
OWNERS | ||
README.md | ||
cypress.json | ||
env.d.ts | ||
index.html | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
postcss.config.js | ||
prettier.config.js | ||
tailwind.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.vite-config.json | ||
tsconfig.vitest.json | ||
vite.config.ts | ||
vitest.config.ts |