@octokit/types 6.0.0 → 6.0.1

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const VERSION = "6.0.0";
5
+ const VERSION = "6.0.1";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "6.0.0";
1
+ export const VERSION = "6.0.1";
@@ -1 +1 @@
1
- export declare const VERSION = "6.0.0";
1
+ export declare const VERSION = "6.0.1";
@@ -39,7 +39,7 @@ declare type SuccessStatusesMap = {
39
39
  "201": 201;
40
40
  "204": 204;
41
41
  };
42
- declare type DataType<T> = "application/json" extends keyof T ? T["application/json"] : unknown;
42
+ declare type DataType<T> = "application/json" extends keyof T ? T["application/json"] : "application/scim+json" extends keyof T ? T["application/scim+json"] : unknown;
43
43
  declare type ExtractFirstSuccessResponse<R> = "responses" extends keyof R ? FirstSuccessResponse<R["responses"]> : unknown;
44
44
  declare type FirstSuccessResponse<R, S extends keyof R = keyof R> = S extends keyof SuccessStatusesMap ? R[S] extends never ? Omit<OctokitResponse<unknown, SuccessStatusesMap[S]>, "data"> : OctokitResponse<DataType<R[S]>, SuccessStatusesMap[S]> : never;
45
45
  export interface Endpoints {
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "6.0.0";
1
+ const VERSION = "6.0.1";
2
2
 
3
3
  export { VERSION };
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
3
  "description": "Shared TypeScript definitions for Octokit projects",
4
- "version": "6.0.0",
4
+ "version": "6.0.1",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist-*/",