外观
LockIssueParamType
约 210 字小于 1 分钟
2025-08-01
@candriajs/git-neko-kit / LockIssueParamType
接口: LockIssueParamType
定义于: types/platform/issue.ts:214
锁定议题参数类型
继承
属性
issue_number
issue_number:
string
|number
定义于: types/platform/base.ts:72
问题id
继承自
IssueNumberParamType
.issue_number
lock_reason?
optional
lock_reason:"off-topic"
|"too heated"
|"resolved"
|"spam"
定义于: types/platform/issue.ts:223
锁定原因 可以是以下之一:
- off-topic:锁定议题,因为该议题与仓库无关
- too heated:锁定议题,因为讨论过于激烈
- resolved:锁定议题,因为该议题已解决
- spam:锁定议题,因为该议题是垃圾邮件
owner
owner:
string
定义于: types/platform/base.ts:28
仓库的拥有者
继承自
RepoBaseParamType.owner
repo
repo:
string
定义于: types/platform/base.ts:32
仓库的名称
继承自
RepoBaseParamType.repo