@octokit/types 9.3.0 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export declare const VERSION = "9.3.0";
1
+ export declare const VERSION = "9.3.2";
@@ -4,7 +4,7 @@ import { RequestHeaders } from "../RequestHeaders";
4
4
  import { RequestRequestOptions } from "../RequestRequestOptions";
5
5
  type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
6
6
  type ExtractParameters<T> = "parameters" extends keyof T ? UnionToIntersection<{
7
- [K in keyof T["parameters"]]: T["parameters"][K];
7
+ [K in keyof T["parameters"]]-?: T["parameters"][K];
8
8
  }[keyof T["parameters"]]> : {};
9
9
  type ExtractRequestBody<T> = "requestBody" extends keyof T ? "content" extends keyof T["requestBody"] ? "application/json" extends keyof T["requestBody"]["content"] ? T["requestBody"]["content"]["application/json"] : {
10
10
  data: {
package/package.json CHANGED
@@ -1,21 +1,14 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
+ "version": "9.3.2",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
3
7
  "description": "Shared TypeScript definitions for Octokit projects",
4
- "version": "9.3.0",
5
- "license": "MIT",
6
- "files": [
7
- "dist-*/**",
8
- "bin/**"
9
- ],
10
- "source": "dist-src/index.js",
11
- "types": "dist-types/index.d.ts",
12
- "octokit": {
13
- "openapi-version": "12.0.0"
8
+ "dependencies": {
9
+ "@octokit/openapi-types": "^18.0.0"
14
10
  },
15
- "main": "dist-node/index.js",
16
- "module": "dist-web/index.js",
17
- "pika": true,
18
- "sideEffects": false,
11
+ "repository": "github:octokit/types.ts",
19
12
  "keywords": [
20
13
  "github",
21
14
  "api",
@@ -23,15 +16,10 @@
23
16
  "toolkit",
24
17
  "typescript"
25
18
  ],
26
- "repository": "github:octokit/types.ts",
27
- "dependencies": {
28
- "@octokit/openapi-types": "^18.0.0"
29
- },
19
+ "author": "Gregor Martynus (https://twitter.com/gr2m)",
20
+ "license": "MIT",
30
21
  "devDependencies": {
31
- "@pika/pack": "^0.3.7",
32
- "@pika/plugin-build-node": "^0.9.0",
33
- "@pika/plugin-build-web": "^0.9.0",
34
- "@pika/plugin-ts-standard-pkg": "^0.9.0",
22
+ "@octokit/tsconfig": "^1.0.2",
35
23
  "@types/node": ">= 8",
36
24
  "github-openapi-graphql-query": "^4.0.0",
37
25
  "handlebars": "^4.7.6",
@@ -39,7 +27,6 @@
39
27
  "lodash.set": "^4.3.2",
40
28
  "npm-run-all": "^4.1.5",
41
29
  "pascal-case": "^3.1.1",
42
- "pika-plugin-merge-properties": "^1.0.6",
43
30
  "prettier": "^2.0.0",
44
31
  "semantic-release": "^21.0.0",
45
32
  "semantic-release-plugin-update-version-in-files": "^1.0.0",
@@ -48,7 +35,12 @@
48
35
  "typedoc": "^0.24.0",
49
36
  "typescript": "^5.0.0"
50
37
  },
51
- "publishConfig": {
52
- "access": "public"
53
- }
38
+ "octokit": {
39
+ "openapi-version": "12.0.0"
40
+ },
41
+ "files": [
42
+ "dist-types/**"
43
+ ],
44
+ "types": "dist-types/index.d.ts",
45
+ "sideEffects": false
54
46
  }
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const VERSION = "9.3.0";
6
-
7
- exports.VERSION = VERSION;
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"}
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
package/dist-src/Fetch.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
package/dist-src/Route.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
package/dist-src/Url.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export const VERSION = "9.3.0";
@@ -1 +0,0 @@
1
- export {};
package/dist-src/index.js DELETED
@@ -1,21 +0,0 @@
1
- export * from "./AuthInterface";
2
- export * from "./EndpointDefaults";
3
- export * from "./EndpointInterface";
4
- export * from "./EndpointOptions";
5
- export * from "./Fetch";
6
- export * from "./OctokitResponse";
7
- export * from "./RequestError";
8
- export * from "./RequestHeaders";
9
- export * from "./RequestInterface";
10
- export * from "./RequestMethod";
11
- export * from "./RequestOptions";
12
- export * from "./RequestParameters";
13
- export * from "./RequestRequestOptions";
14
- export * from "./ResponseHeaders";
15
- export * from "./Route";
16
- export * from "./Signal";
17
- export * from "./StrategyInterface";
18
- export * from "./Url";
19
- export * from "./VERSION";
20
- export * from "./GetResponseTypeFromEndpointMethod";
21
- export * from "./generated/Endpoints";
package/dist-web/index.js DELETED
@@ -1,4 +0,0 @@
1
- const VERSION = "9.3.0";
2
-
3
- export { VERSION };
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}