Preparing search index...
The search index is not available
MobX GitHub
MobX GitHub
RepositoryModel
Class RepositoryModel
Hierarchy
ListModel
<
GitRepository
,
RepositoryFilter
>
RepositoryModel
Index
Constructors
constructor
Properties
baseURI
client
index
Key
organization
Store
owner
relation
Methods
get
All
Contributors
get
Contents
get
One
get
One
Relation
load
Page
update
Content
Constructors
constructor
new
Repository
Model
(
owner
?
)
:
RepositoryModel
Parameters
owner
:
string
= ''
Returns
RepositoryModel
Properties
baseURI
baseURI
:
string
= ''
client
client
:
HTTPClient
<
Context
>
= githubClient
index
Key
index
Key
:
"full_name"
= ...
organization
Store
organization
Store
:
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
get
All
Contributors
(
)
:
Promise
<
{
contributions
:
number
;
}
[]
>
Returns
Promise
<
{
contributions
:
number
;
}
[]
>
get
Contents
get
Contents
(
repository
?
,
path
?
)
:
Promise
<
{}
[]
>
Parameters
repository
:
string
= ...
path
:
string
= ''
Returns
Promise
<
{}
[]
>
get
One
get
One
(
URI
,
relation
?
)
:
Promise
<
{
contributors
:
{}
[]
;
issues
:
{}
[]
;
languages
:
string
[]
;
}
>
Parameters
URI
:
string
relation
:
(
"contributors"
|
"languages"
|
"issues"
)
[]
= []
Returns
Promise
<
{
contributors
:
{}
[]
;
issues
:
{}
[]
;
languages
:
string
[]
;
}
>
get
One
Relation
get
One
Relation
(
URI
,
relation
?
)
:
Promise
<
ReturnMap
<
{
contributors
:
(
(
URI
:
string
)
=>
Promise
<
{}
[]
>
)
&
MemoizedFunction
;
issues
:
(
(
URI
:
string
)
=>
Promise
<
{}
[]
>
)
&
MemoizedFunction
;
languages
:
(
(
URI
:
string
)
=>
Promise
<
string
[]
>
)
&
MemoizedFunction
;
}
>
>
Parameters
URI
:
string
relation
:
(
"contributors"
|
"languages"
|
"issues"
)
[]
= []
Returns
Promise
<
ReturnMap
<
{
contributors
:
(
(
URI
:
string
)
=>
Promise
<
{}
[]
>
)
&
MemoizedFunction
;
issues
:
(
(
URI
:
string
)
=>
Promise
<
{}
[]
>
)
&
MemoizedFunction
;
languages
:
(
(
URI
:
string
)
=>
Promise
<
string
[]
>
)
&
MemoizedFunction
;
}
>
>
Protected
load
Page
load
Page
(
page
,
per_page
,
__namedParameters
)
:
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
;
}
>
update
Content
update
Content
(
path
,
content
,
message
?
,
repository
?
)
:
Promise
<
{}
>
Parameters
path
:
string
content
:
string
|
Blob
message
:
string
= ...
repository
:
string
= ...
Returns
Promise
<
{}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
baseURI
client
index
Key
organization
Store
owner
relation
Methods
get
All
Contributors
get
Contents
get
One
get
One
Relation
load
Page
update
Content
MobX GitHub
Loading...