外观
PullRequestInfoResponseType
约 613 字大约 2 分钟
2025-08-01
@candriajs/git-neko-kit / PullRequestInfoResponseType
接口: PullRequestInfoResponseType
定义于: types/platform/pull_request.ts:12
拉取请求信息响应类型
属性
additions
additions:
number
定义于: types/platform/pull_request.ts:76
新增行数
assignee
assignee:
null
|PrUser
定义于: types/platform/pull_request.ts:66
指派人
assignees
assignees:
null
|PrUser
[]
定义于: types/platform/pull_request.ts:68
指派人列表
base
base:
object
定义于: types/platform/pull_request.ts:40
PR的目标分支
label
label:
string
分支标签
ref
ref:
string
分支名称
repo
repo:
PrRepo
分支的仓库信息
sha
sha:
string
当前分支最新提交的 SHA 值
user
user:
PrUser
分支的用户信息
body
body:
null
|string
定义于: types/platform/pull_request.ts:26
拉取请求的描述
changed_files
changed_files:
number
定义于: types/platform/pull_request.ts:80
更改的文件数
closed_at
closed_at:
null
|string
定义于: types/platform/pull_request.ts:34
关闭时间
commits
commits:
number
定义于: types/platform/pull_request.ts:74
提交数量
created_at
created_at:
string
定义于: types/platform/pull_request.ts:30
创建时间
deletions
deletions:
number
定义于: types/platform/pull_request.ts:78
删除行数
draft
draft:
boolean
定义于: types/platform/pull_request.ts:28
是否为草稿PR
head
head:
object
定义于: types/platform/pull_request.ts:53
PR的源分支信息
label
label:
string
分支标签
ref
ref:
string
分支名称
repo
repo:
PrRepo
分支的仓库信息
sha
sha:
string
当前分支最新提交的 SHA 值
user
user:
PrUser
分支的用户信息
html_url
html_url:
string
定义于: types/platform/pull_request.ts:16
拉取请求的URL
id
id:
number
定义于: types/platform/pull_request.ts:14
拉取请求的id
labels
labels:
IssueLabelType
[]
定义于: types/platform/pull_request.ts:72
标签列表
locked
locked:
boolean
定义于: types/platform/pull_request.ts:22
是否被锁定
merged_at
merged_at:
null
|string
定义于: types/platform/pull_request.ts:36
合并时间
milestone
milestone:
null
|MilestoneType
定义于: types/platform/pull_request.ts:70
里程碑
number
number:
number
定义于: types/platform/pull_request.ts:18
拉取请求的编号
state
state:
"open"
|"closed"
|"merged"
定义于: types/platform/pull_request.ts:20
拉取请求的状态 (open/closed)
title
title:
string
定义于: types/platform/pull_request.ts:24
拉取请求的标题
updated_at
updated_at:
null
|string
定义于: types/platform/pull_request.ts:32
更新时间
user
user:
PrUser
定义于: types/platform/pull_request.ts:38
PR作者