mirror of
https://github.com/ASzc/change-string-case-action.git
synced 2024-11-24 00:43:51 +08:00
23 lines
553 B
JavaScript
23 lines
553 B
JavaScript
import { VERSION } from "./version";
|
|
import { paginate } from "./paginate";
|
|
import { iterator } from "./iterator";
|
|
import { composePaginateRest } from "./compose-paginate";
|
|
import {
|
|
isPaginatingEndpoint,
|
|
paginatingEndpoints
|
|
} from "./paginating-endpoints";
|
|
function paginateRest(octokit) {
|
|
return {
|
|
paginate: Object.assign(paginate.bind(null, octokit), {
|
|
iterator: iterator.bind(null, octokit)
|
|
})
|
|
};
|
|
}
|
|
paginateRest.VERSION = VERSION;
|
|
export {
|
|
composePaginateRest,
|
|
isPaginatingEndpoint,
|
|
paginateRest,
|
|
paginatingEndpoints
|
|
};
|