@octokit/plugin-enterprise-server
Advanced tools
Comparing version 15.2.1 to 16.0.0
import { Octokit } from "@octokit/core"; | ||
import { VERSION } from "./version"; | ||
import { endpointsToMethods } from "./endpoints-to-methods"; | ||
import ENDPOINTS_37 from "./generated/ghe-37-endpoints"; | ||
import ADMIN_ENDPOINTS_37 from "./generated/ghe-37-admin-endpoints"; | ||
import ENDPOINTS_38 from "./generated/ghe-38-endpoints"; | ||
import ADMIN_ENDPOINTS_38 from "./generated/ghe-38-admin-endpoints"; | ||
import ENDPOINTS_39 from "./generated/ghe-39-endpoints"; | ||
import ADMIN_ENDPOINTS_39 from "./generated/ghe-39-admin-endpoints"; | ||
import ENDPOINTS_310 from "./generated/ghe-310-endpoints"; | ||
import ADMIN_ENDPOINTS_310 from "./generated/ghe-310-admin-endpoints"; | ||
function enterpriseServer37Admin(octokit) { | ||
return endpointsToMethods(octokit, ADMIN_ENDPOINTS_37); | ||
} | ||
enterpriseServer37Admin.VERSION = VERSION; | ||
function enterpriseServer37(octokit) { | ||
return endpointsToMethods(octokit, ENDPOINTS_37); | ||
} | ||
enterpriseServer37.VERSION = VERSION; | ||
import { VERSION } from "./version.js"; | ||
import { endpointsToMethods } from "./endpoints-to-methods.js"; | ||
import ENDPOINTS_38 from "./generated/ghe-38-endpoints.js"; | ||
import ADMIN_ENDPOINTS_38 from "./generated/ghe-38-admin-endpoints.js"; | ||
import ENDPOINTS_39 from "./generated/ghe-39-endpoints.js"; | ||
import ADMIN_ENDPOINTS_39 from "./generated/ghe-39-admin-endpoints.js"; | ||
import ENDPOINTS_310 from "./generated/ghe-310-endpoints.js"; | ||
import ADMIN_ENDPOINTS_310 from "./generated/ghe-310-admin-endpoints.js"; | ||
import ENDPOINTS_311 from "./generated/ghe-311-endpoints.js"; | ||
import ADMIN_ENDPOINTS_311 from "./generated/ghe-311-admin-endpoints.js"; | ||
import ENDPOINTS_312 from "./generated/ghe-312-endpoints.js"; | ||
import ADMIN_ENDPOINTS_312 from "./generated/ghe-312-admin-endpoints.js"; | ||
function enterpriseServer38Admin(octokit) { | ||
@@ -44,7 +38,25 @@ return endpointsToMethods(octokit, ADMIN_ENDPOINTS_38); | ||
enterpriseServer310.VERSION = VERSION; | ||
function enterpriseServer311Admin(octokit) { | ||
return endpointsToMethods(octokit, ADMIN_ENDPOINTS_311); | ||
} | ||
enterpriseServer311Admin.VERSION = VERSION; | ||
function enterpriseServer311(octokit) { | ||
return endpointsToMethods(octokit, ENDPOINTS_311); | ||
} | ||
enterpriseServer311.VERSION = VERSION; | ||
function enterpriseServer312Admin(octokit) { | ||
return endpointsToMethods(octokit, ADMIN_ENDPOINTS_312); | ||
} | ||
enterpriseServer312Admin.VERSION = VERSION; | ||
function enterpriseServer312(octokit) { | ||
return endpointsToMethods(octokit, ENDPOINTS_312); | ||
} | ||
enterpriseServer312.VERSION = VERSION; | ||
export { | ||
enterpriseServer310, | ||
enterpriseServer310Admin, | ||
enterpriseServer37, | ||
enterpriseServer37Admin, | ||
enterpriseServer311, | ||
enterpriseServer311Admin, | ||
enterpriseServer312, | ||
enterpriseServer312Admin, | ||
enterpriseServer38, | ||
@@ -51,0 +63,0 @@ enterpriseServer38Admin, |
@@ -1,4 +0,4 @@ | ||
const VERSION = "15.2.1"; | ||
const VERSION = "16.0.0"; | ||
export { | ||
VERSION | ||
}; |
import { Octokit } from "@octokit/core"; | ||
import type { EndpointsDefaultsAndDecorations } from "./types"; | ||
import type { EndpointsDefaultsAndDecorations } from "./types.js"; | ||
export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): Record<string, Record<string, Function>>; |
@@ -1,3 +0,3 @@ | ||
import type { EndpointsDefaultsAndDecorations } from "../types"; | ||
import type { EndpointsDefaultsAndDecorations } from "../types.js"; | ||
declare const Endpoints: EndpointsDefaultsAndDecorations; | ||
export default Endpoints; |
@@ -1,3 +0,3 @@ | ||
import type { EndpointsDefaultsAndDecorations } from "../types"; | ||
import type { EndpointsDefaultsAndDecorations } from "../types.js"; | ||
declare const Endpoints: EndpointsDefaultsAndDecorations; | ||
export default Endpoints; |
@@ -1,3 +0,3 @@ | ||
import type { EndpointsDefaultsAndDecorations } from "../types"; | ||
import type { EndpointsDefaultsAndDecorations } from "../types.js"; | ||
declare const Endpoints: EndpointsDefaultsAndDecorations; | ||
export default Endpoints; |
@@ -1,3 +0,3 @@ | ||
import type { EndpointsDefaultsAndDecorations } from "../types"; | ||
import type { EndpointsDefaultsAndDecorations } from "../types.js"; | ||
declare const Endpoints: EndpointsDefaultsAndDecorations; | ||
export default Endpoints; |
@@ -1,3 +0,3 @@ | ||
import type { EndpointsDefaultsAndDecorations } from "../types"; | ||
import type { EndpointsDefaultsAndDecorations } from "../types.js"; | ||
declare const Endpoints: EndpointsDefaultsAndDecorations; | ||
export default Endpoints; |
@@ -1,3 +0,3 @@ | ||
import type { EndpointsDefaultsAndDecorations } from "../types"; | ||
import type { EndpointsDefaultsAndDecorations } from "../types.js"; | ||
declare const Endpoints: EndpointsDefaultsAndDecorations; | ||
export default Endpoints; |
import { Octokit } from "@octokit/core"; | ||
export declare function enterpriseServer37Admin(octokit: Octokit): Record<string, Record<string, Function>>; | ||
export declare namespace enterpriseServer37Admin { | ||
var VERSION: string; | ||
} | ||
export declare function enterpriseServer37(octokit: Octokit): Record<string, Record<string, Function>>; | ||
export declare namespace enterpriseServer37 { | ||
var VERSION: string; | ||
} | ||
export declare function enterpriseServer38Admin(octokit: Octokit): Record<string, Record<string, Function>>; | ||
@@ -34,1 +26,17 @@ export declare namespace enterpriseServer38Admin { | ||
} | ||
export declare function enterpriseServer311Admin(octokit: Octokit): Record<string, Record<string, Function>>; | ||
export declare namespace enterpriseServer311Admin { | ||
var VERSION: string; | ||
} | ||
export declare function enterpriseServer311(octokit: Octokit): Record<string, Record<string, Function>>; | ||
export declare namespace enterpriseServer311 { | ||
var VERSION: string; | ||
} | ||
export declare function enterpriseServer312Admin(octokit: Octokit): Record<string, Record<string, Function>>; | ||
export declare namespace enterpriseServer312Admin { | ||
var VERSION: string; | ||
} | ||
export declare function enterpriseServer312(octokit: Octokit): Record<string, Record<string, Function>>; | ||
export declare namespace enterpriseServer312 { | ||
var VERSION: string; | ||
} |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "15.2.1"; | ||
export declare const VERSION = "16.0.0"; |
{ | ||
"name": "@octokit/plugin-enterprise-server", | ||
"version": "15.2.1", | ||
"version": "16.0.0", | ||
"publishConfig": { | ||
@@ -31,9 +31,9 @@ "access": "public" | ||
"@types/node": "^20.0.0", | ||
"esbuild": "^0.19.0", | ||
"esbuild": "^0.20.0", | ||
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1", | ||
"github-openapi-graphql-query": "^4.2.0", | ||
"github-openapi-graphql-query": "^4.4.0", | ||
"glob": "^10.2.7", | ||
"jest": "^29.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "3.1.0", | ||
"npm-run-all2": "^6.0.0", | ||
"prettier": "3.2.5", | ||
"semantic-release-plugin-update-version-in-files": "^1.0.0", | ||
@@ -40,0 +40,0 @@ "sort-keys": "^4.2.0", |
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 too big to display
Sorry, the diff of this file is too big to display
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
2572254
34
30006