MobX GitHub
Preparing search index...
RepositoryModel
Class RepositoryModel
Hierarchy
ListModel
<
GitRepository
,
RepositoryFilter
>
RepositoryModel
Index
Constructors
constructor
Properties
base
URI
client
index
Key
organization
Store
owner
relation
Methods
get
All
Contributors
get
One
get
One
Relation
load
Page
Constructors
constructor
new
RepositoryModel
(
owner
?:
string
)
:
RepositoryModel
Parameters
owner
:
string
= ''
Returns
RepositoryModel
Properties
base
URI
baseURI
:
string
= ''
client
client
:
HTTPClient
<
Context
>
= githubClient
index
Key
indexKey
:
"full_name"
= ...
organization
Store
organizationStore
:
OrganizationModel
= ...
owner
owner
:
string
= ''
relation
relation
:
{
contributors
:
(
URI
:
string
)
=>
Promise
<
{}
[]
>
&
MemoizedFunction
;
issues
:
(
URI
:
string
)
=>
Promise
<
{}
[]
>
&
MemoizedFunction
;
languages
:
(
URI
:
string
)
=>
Promise
<
string
[]
>
&
MemoizedFunction
;
}
= ...
Methods
get
All
Contributors
getAllContributors
()
:
Promise
<
{
contributions
:
number
}
[]
>
Returns
Promise
<
{
contributions
:
number
}
[]
>
get
One
getOne
(
URI
:
string
,
relation
?:
(
"issues"
|
"contributors"
|
"languages"
)
[]
,
)
:
Promise
<
{
contributors
:
{}
[]
;
issues
:
{}
[]
;
languages
:
string
[]
}
>
Parameters
URI
:
string
relation
: (
"issues"
|
"contributors"
|
"languages"
)
[]
= []
Returns
Promise
<
{
contributors
:
{}
[]
;
issues
:
{}
[]
;
languages
:
string
[]
}
>
get
One
Relation
getOneRelation
(
URI
:
string
,
relation
?:
(
"issues"
|
"contributors"
|
"languages"
)
[]
,
)
:
Promise
<
ReturnMap
<
{
contributors
:
(
URI
:
string
)
=>
Promise
<
{}
[]
>
&
MemoizedFunction
;
issues
:
(
URI
:
string
)
=>
Promise
<
{}
[]
>
&
MemoizedFunction
;
languages
:
(
URI
:
string
)
=>
Promise
<
string
[]
>
&
MemoizedFunction
;
}
,
>
,
>
Parameters
URI
:
string
relation
: (
"issues"
|
"contributors"
|
"languages"
)
[]
= []
Returns
Promise
<
ReturnMap
<
{
contributors
:
(
URI
:
string
)
=>
Promise
<
{}
[]
>
&
MemoizedFunction
;
issues
:
(
URI
:
string
)
=>
Promise
<
{}
[]
>
&
MemoizedFunction
;
languages
:
(
URI
:
string
)
=>
Promise
<
string
[]
>
&
MemoizedFunction
;
}
,
>
,
>
Protected
load
Page
loadPage
(
page
:
number
,
per_page
:
number
,
__namedParameters
:
RepositoryFilter
,
)
:
Promise
<
{
pageData
:
{
contributors
:
{}
[]
;
issues
:
{}
[]
;
languages
:
string
[]
}
[]
;
totalCount
:
number
;
}
,
>
Protected
Parameters
page
:
number
per_page
:
number
__namedParameters
:
RepositoryFilter
Returns
Promise
<
{
pageData
:
{
contributors
:
{}
[]
;
issues
:
{}
[]
;
languages
:
string
[]
}
[]
;
totalCount
:
number
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
URI
client
index
Key
organization
Store
owner
relation
Methods
get
All
Contributors
get
One
get
One
Relation
load
Page
MobX GitHub
Loading...