@oss-autopilot/core - v3.42.2
GitHub
npm
Preparing search index...
core
isFirstInRepo
Function isFirstInRepo
isFirstInRepo
(
repo
:
string
,
repoScore
:
|
Pick
<
KnownKeys
<
{
avgResponseDays
:
number
|
null
;
closedWithoutMergeCount
:
number
;
language
?:
string
|
null
;
lastEvaluatedAt
:
string
;
lastMergedAt
?:
string
;
mergedPRCount
:
number
;
repo
:
string
;
score
:
number
;
signals
:
{
hasActiveMaintainers
:
boolean
;
hasHostileComments
:
boolean
;
isResponsive
:
boolean
;
}
;
stargazersCount
?:
number
;
[
key
:
string
]:
unknown
;
}
,
>
,
"mergedPRCount"
,
>
|
undefined
,
mergedPRs
:
|
readonly
Pick
<
KnownKeys
<
{
backfilledAt
?:
string
;
commentsFetchedAt
?:
string
;
firstMaintainerResponseAt
?:
string
;
issueUrl
?:
string
;
lastCiStatus
?:
string
;
lastReviewDecision
?:
string
;
learningsExtractedAt
?:
string
;
mergedAt
:
string
;
openedAt
?:
string
;
pick
?:
{
capturedAt
?:
string
;
commentCount
?:
number
;
competingPRs
?:
number
;
firstInRepo
?:
boolean
;
grade
:
number
;
issueAuthorAssociation
?:
|
string
&
{}
|
"OWNER"
|
"MEMBER"
|
"COLLABORATOR"
|
"CONTRIBUTOR"
|
"FIRST_TIMER"
|
"FIRST_TIME_CONTRIBUTOR"
|
"MANNEQUIN"
|
"NONE"
;
issueAuthorIsBot
?:
boolean
;
issueUrl
:
string
;
labels
?:
string
[]
;
mentioningPRs
?:
number
;
recommendation
:
string
;
source
:
string
&
{}
|
"vet"
|
"vet-list"
|
"list"
;
stargazersCount
?:
number
;
[
key
:
string
]:
unknown
;
}
;
responseRule
?:
number
;
title
:
string
;
url
:
string
;
[
key
:
string
]:
unknown
;
}
,
>
,
"url"
,
>
[]
|
undefined
,
)
:
boolean
True when neither the repo score nor the merged ledger shows a merged PR by the user in
repo
.
Parameters
repo
:
string
repoScore
:
|
Pick
<
KnownKeys
<
{
avgResponseDays
:
number
|
null
;
closedWithoutMergeCount
:
number
;
language
?:
string
|
null
;
lastEvaluatedAt
:
string
;
lastMergedAt
?:
string
;
mergedPRCount
:
number
;
repo
:
string
;
score
:
number
;
signals
:
{
hasActiveMaintainers
:
boolean
;
hasHostileComments
:
boolean
;
isResponsive
:
boolean
;
}
;
stargazersCount
?:
number
;
[
key
:
string
]:
unknown
;
}
,
>
,
"mergedPRCount"
,
>
|
undefined
mergedPRs
:
|
readonly
Pick
<
KnownKeys
<
{
backfilledAt
?:
string
;
commentsFetchedAt
?:
string
;
firstMaintainerResponseAt
?:
string
;
issueUrl
?:
string
;
lastCiStatus
?:
string
;
lastReviewDecision
?:
string
;
learningsExtractedAt
?:
string
;
mergedAt
:
string
;
openedAt
?:
string
;
pick
?:
{
capturedAt
?:
string
;
commentCount
?:
number
;
competingPRs
?:
number
;
firstInRepo
?:
boolean
;
grade
:
number
;
issueAuthorAssociation
?:
|
string
&
{}
|
"OWNER"
|
"MEMBER"
|
"COLLABORATOR"
|
"CONTRIBUTOR"
|
"FIRST_TIMER"
|
"FIRST_TIME_CONTRIBUTOR"
|
"MANNEQUIN"
|
"NONE"
;
issueAuthorIsBot
?:
boolean
;
issueUrl
:
string
;
labels
?:
string
[]
;
mentioningPRs
?:
number
;
recommendation
:
string
;
source
:
string
&
{}
|
"vet"
|
"vet-list"
|
"list"
;
stargazersCount
?:
number
;
[
key
:
string
]:
unknown
;
}
;
responseRule
?:
number
;
title
:
string
;
url
:
string
;
[
key
:
string
]:
unknown
;
}
,
>
,
"url"
,
>
[]
|
undefined
Returns
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
GitHub
npm
@oss-autopilot/core - v3.42.2
Loading...
True when neither the repo score nor the merged ledger shows a merged PR by the user in
repo.