外观
RepoCommentsListParamType
约 349 字大约 1 分钟
2025-08-01
@candriajs/git-neko-kit / RepoCommentsListParamType
接口: RepoCommentsListParamType
定义于: types/platform/issue.ts:262
仓库评论列表参数类型
继承
属性
direction?
optional
direction:"asc"
|"desc"
定义于: types/platform/issue.ts:280
排序方向 指定结果的排序方向 注意:如果没有指定 sort 参数,此参数将被忽略
默认值
desc 当 sort 参数存在时
- asc: 升序
- desc: 降序
owner
owner:
string
定义于: types/platform/base.ts:28
仓库的拥有者
继承自
RepoBaseParamType.owner
page?
optional
page:number
定义于: types/platform/issue.ts:304
页码 指定要获取的结果页码
默认值
1
备注
必须大于等于1
per_page?
optional
per_page:number
定义于: types/platform/issue.ts:296
每页结果数量 指定每页返回的结果数
默认值
30
备注
取值范围:1-100
repo
repo:
string
定义于: types/platform/base.ts:32
仓库的名称
继承自
RepoBaseParamType.repo
since?
optional
since:string
定义于: types/platform/issue.ts:288
筛选此时间之后更新的评论 仅显示在指定时间之后更新的结果 格式为 ISO 8601: YYYY-MM-DDTHH:MM:SSZ
示例
"2023-01-01T00:00:00Z"
sort?
optional
sort:"created"
|"updated"
定义于: types/platform/issue.ts:270
排序依据 用于指定结果的排序属性
默认值
created
- created: 按创建时间排序
- updated: 按更新时间排序