@octokit/plugin-enterprise-server
Advanced tools
Comparing version 7.2.0 to 7.3.0
@@ -10,2 +10,4 @@ // THIS FILE IS GENERATED. PLEASE OPEN AN ISSUE IF YOU FIND A PROBLEM | ||
import ADMIN_ENDPOINTS_219 from "./generated/ghe-219-admin-endpoints"; | ||
import ENDPOINTS_220 from "./generated/ghe-220-endpoints"; | ||
import ADMIN_ENDPOINTS_220 from "./generated/ghe-220-admin-endpoints"; | ||
export function enterpriseServer217Admin(octokit) { | ||
@@ -35,1 +37,9 @@ return endpointsToMethods(octokit, ADMIN_ENDPOINTS_217); | ||
enterpriseServer219.VERSION = VERSION; | ||
export function enterpriseServer220Admin(octokit) { | ||
return endpointsToMethods(octokit, ADMIN_ENDPOINTS_220); | ||
} | ||
enterpriseServer220Admin.VERSION = VERSION; | ||
export function enterpriseServer220(octokit) { | ||
return endpointsToMethods(octokit, ENDPOINTS_220); | ||
} | ||
enterpriseServer220.VERSION = VERSION; |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "7.2.0"; | ||
export const VERSION = "7.3.0"; |
@@ -38,1 +38,13 @@ import { Octokit } from "@octokit/core"; | ||
} | ||
export declare function enterpriseServer220Admin(octokit: Octokit): { | ||
[key: string]: object; | ||
}; | ||
export declare namespace enterpriseServer220Admin { | ||
var VERSION: string; | ||
} | ||
export declare function enterpriseServer220(octokit: Octokit): { | ||
[key: string]: object; | ||
}; | ||
export declare namespace enterpriseServer220 { | ||
var VERSION: string; | ||
} |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "7.2.0"; | ||
export declare const VERSION = "7.3.0"; |
{ | ||
"name": "@octokit/plugin-enterprise-server", | ||
"description": "Octokit plugin for GitHub Enterprise Server REST APIs", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -26,3 +26,3 @@ # plugin-enterprise-server.js | ||
import { Octokit } from "https://cdn.pika.dev/@octokit/core"; | ||
import { enterpriseServer219Admin } from "https://cdn.pika.dev/@octokit/plugin-enterprise-server"; | ||
import { enterpriseServer220Admin } from "https://cdn.pika.dev/@octokit/plugin-enterprise-server"; | ||
</script> | ||
@@ -41,3 +41,3 @@ ``` | ||
const { | ||
enterpriseServer219Admin | ||
enterpriseServer220Admin | ||
} = require("@octokit/plugin-enterprise-server"); | ||
@@ -51,4 +51,4 @@ ``` | ||
```js | ||
const OctokitEnterprise219 = Octokit.plugin(enterpriseServer219Admin); | ||
const octokit = new OctokitEnterprise219({ | ||
const OctokitEnterprise220 = Octokit.plugin(enterpriseServer220Admin); | ||
const octokit = new OctokitEnterprise220({ | ||
auth: "secret123", | ||
@@ -66,2 +66,4 @@ baseUrl: "https://github.acme-inc.com/api/v3" | ||
- [`enterpriseServer220Admin`](docs/ghe-220.md#admin) | ||
- [`enterpriseServer220`](docs/ghe-220.md#others) | ||
- [`enterpriseServer219Admin`](docs/ghe-219.md#admin) | ||
@@ -68,0 +70,0 @@ - [`enterpriseServer219`](docs/ghe-219.md#others) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1844667
31
20019
79