@octokit/plugin-paginate-rest
Advanced tools
Comparing version 2.13.2 to 2.13.3
@@ -5,3 +5,3 @@ 'use strict'; | ||
const VERSION = "2.13.2"; | ||
const VERSION = "2.13.3"; | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "2.13.2"; | ||
export const VERSION = "2.13.3"; |
@@ -32,3 +32,3 @@ import { Octokit } from "@octokit/core"; | ||
* | ||
* @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {function} mapFn Optional method to map each response to a custom array | ||
@@ -40,3 +40,3 @@ */ | ||
* | ||
* @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
*/ | ||
@@ -100,5 +100,5 @@ <T>(options: OctokitTypes.EndpointOptions): Promise<PaginationResults<T>>; | ||
* @see {link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of} for await...of | ||
* @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
*/ | ||
<T>(EndpointOptions: OctokitTypes.EndpointOptions): AsyncIterableIterator<OctokitTypes.OctokitResponse<PaginationResults<T>>>; | ||
<T>(options: OctokitTypes.EndpointOptions): AsyncIterableIterator<OctokitTypes.OctokitResponse<PaginationResults<T>>>; | ||
/** | ||
@@ -135,3 +135,3 @@ * Get an async iterator to paginate a request using a known endpoint route string and optional parameters | ||
* @param {object} octokit Octokit instance | ||
* @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {function} mapFn Optional method to map each response to a custom array | ||
@@ -144,3 +144,3 @@ */ | ||
* @param {object} octokit Octokit instance | ||
* @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
*/ | ||
@@ -213,5 +213,5 @@ <T>(octokit: Octokit, options: OctokitTypes.EndpointOptions): Promise<PaginationResults<T>>; | ||
* @param {object} octokit Octokit instance | ||
* @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
* @param {object} options Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. | ||
*/ | ||
<T>(octokit: Octokit, EndpointOptions: OctokitTypes.EndpointOptions): AsyncIterableIterator<OctokitTypes.OctokitResponse<PaginationResults<T>>>; | ||
<T>(octokit: Octokit, options: OctokitTypes.EndpointOptions): AsyncIterableIterator<OctokitTypes.OctokitResponse<PaginationResults<T>>>; | ||
/** | ||
@@ -218,0 +218,0 @@ * Get an async iterator to paginate a request using a known endpoint route string and optional parameters |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "2.13.2"; | ||
export declare const VERSION = "2.13.3"; |
@@ -1,2 +0,2 @@ | ||
const VERSION = "2.13.2"; | ||
const VERSION = "2.13.3"; | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@octokit/plugin-paginate-rest", | ||
"description": "Octokit plugin to paginate REST API endpoint responses", | ||
"version": "2.13.2", | ||
"version": "2.13.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
183668