@rena.to/github-blog / GithubBlog
• new GithubBlog(params
)
Name | Type |
---|---|
params |
GithubBlogParams |
• buildPager: (args?
: PagerParams
) => Omit
<PagerParams
, "offset"
>
▸ (args?
): Omit
<PagerParams
, "offset"
>
Name | Type |
---|---|
args? |
PagerParams |
Omit
<PagerParams
, "offset"
>
• buildQuery: (args?
: GithubQueryParams
) => string
▸ (args?
): string
Name | Type |
---|---|
args? |
GithubQueryParams |
string
• client: GraphQLClient
• getComments: (params
: GetCommentsParams
) => Promise
<Object
>
▸ (params
): Promise
<Object
>
Name | Type |
---|---|
params |
GetCommentsParams |
Promise
<Object
>
• getLabels: (params?
: GetLabelsParams
) => Promise
<Object
>
▸ (params?
): Promise
<Object
>
Name | Type |
---|---|
params? |
GetLabelsParams |
Promise
<Object
>
• getPinnedPosts: () => Promise
<Object
>
▸ (): Promise
<Object
>
Promise
<Object
>
• getPost: (params
: GetPostParams
) => Promise
<{ post
: null
= null } | { post
: Post
}>
▸ (params
): Promise
<{ post
: null
= null } | { post
: Post
}>
Name | Type |
---|---|
params |
GetPostParams |
Promise
<{ post
: null
= null } | { post
: Post
}>
• getPosts: (params
: GetPostsParams
) => Promise
<Object
>
▸ (params
): Promise
<Object
>
Name | Type |
---|---|
params |
GetPostsParams |
Promise
<Object
>
• repo: string
• sdk: Object
Name | Type |
---|---|
GetComments |
(variables : Exact <Object >, requestHeaders? : HeadersInit ) => Promise <GetCommentsQuery > |
GetLabels |
(variables : Exact <Object >, requestHeaders? : HeadersInit ) => Promise <GetLabelsQuery > |
GetPinnedPosts |
(variables : Exact <Object >, requestHeaders? : HeadersInit ) => Promise <GetPinnedPostsQuery > |
GetPost |
(variables : Exact <Object >, requestHeaders? : HeadersInit ) => Promise <GetPostQuery > |
GetPosts |
(variables : Exact <Object >, requestHeaders? : HeadersInit ) => Promise <GetPostsQuery > |