mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-24 14:40:54 -05:00
13 lines
629 B
JavaScript
13 lines
629 B
JavaScript
|
module.exports = paginationMethodsPlugin
|
||
|
|
||
|
function paginationMethodsPlugin (octokit) {
|
||
|
octokit.getFirstPage = require('./lib/get-first-page').bind(null, octokit)
|
||
|
octokit.getLastPage = require('./lib/get-last-page').bind(null, octokit)
|
||
|
octokit.getNextPage = require('./lib/get-next-page').bind(null, octokit)
|
||
|
octokit.getPreviousPage = require('./lib/get-previous-page').bind(null, octokit)
|
||
|
octokit.hasFirstPage = require('./lib/has-first-page')
|
||
|
octokit.hasLastPage = require('./lib/has-last-page')
|
||
|
octokit.hasNextPage = require('./lib/has-next-page')
|
||
|
octokit.hasPreviousPage = require('./lib/has-previous-page')
|
||
|
}
|