{"_id":"@doyolabs/octokit-types","_rev":"5-11f8018fe5bafe9744a38213b676bfb9","name":"@doyolabs/octokit-types","dist-tags":{"latest":"12.1.1-patch-4"},"versions":{"0.0.0-development":{"name":"@doyolabs/octokit-types","version":"0.0.0-development","publishConfig":{"access":"public"},"description":"Shared TypeScript definitions for Octokit projects","dependencies":{"@octokit/openapi-types":"^19.0.2"},"scripts":{"build":"node scripts/build.mjs && tsc -p tsconfig.json","docs":"typedoc --readme none --out docs src/index.ts && touch docs/.nojekyll","lint":"prettier --check \"{src,test,scripts}/**/*.{js,mjs,ts,json}\" README.md package.json !src/generated/* !scripts/update-endpoints/generated/*","lint:fix":"prettier --write \"{src,test,scripts}/**/*.{js,mjs,ts,json}\" README.md package.json !src/generated/* !scripts/update-endpoints/generated/*","pretest":"npm run -s lint","test":"npx tsc --project tsconfig.test.json","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json.mjs","update-endpoints:typescript":"node scripts/update-endpoints/typescript.mjs","update-endpoints:package":"node scripts/update-endpoints/package.mjs"},"repository":{"type":"git","url":"git+https://github.com/octokit/types.ts.git"},"keywords":["github","api","sdk","toolkit","typescript"],"author":{"name":"Gregor Martynus","url":"https://twitter.com/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^2.0.0","@types/node":">= 8","github-openapi-graphql-query":"^4.0.0","handlebars":"^4.7.6","json-schema-to-typescript":"^13.0.0","lodash.set":"^4.3.2","npm-run-all":"^4.1.5","pascal-case":"^3.1.1","prettier":"^3.0.0","semantic-release":"^22.0.0","semantic-release-plugin-update-version-in-files":"^1.0.0","sort-keys":"^5.0.0","string-to-jsdoc-comment":"^1.0.0","typedoc":"^0.25.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github",["@semantic-release/npm",{"pkgRoot":"./pkg"}],["semantic-release-plugin-update-version-in-files",{"files":["pkg/dist-src/VERSION.js","pkg/dist-types/VERSION.d.ts","pkg/*/index.js"]}]]},"octokit":{"openapi-version":"13.2.0"},"_id":"@doyolabs/octokit-types@0.0.0-development","gitHead":"323abb8706eb5d2e4dcd607996cb13d9d1b9220c","bugs":{"url":"https://github.com/octokit/types.ts/issues"},"homepage":"https://github.com/octokit/types.ts#readme","_nodeVersion":"18.17.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-N9u+aiL7xEJHQqkODIB0n4HEQES7Cgcit54BkdFPe5/vvOVaTxLXn9ATDhU4/jjMFQ9rpoElaE59l5DXCL6Mqw==","shasum":"e59c98136537dda5c1530c06be277a2cc9c6351a","tarball":"https://registry.npmjs.org/@doyolabs/octokit-types/-/octokit-types-0.0.0-development.tgz","fileCount":51,"unpackedSize":631692,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoaobgjsA0bWrOacknO2GfNax6XPP+uzpo9K6MJIy1sAiB0Kg9KxLypOgrmuSHpkEfnasuEHJNr8V7S5g5QCX+eIg=="}]},"_npmUser":{"name":"itstoni","email":"me@itstoni.com"},"directories":{},"maintainers":[{"name":"itstoni","email":"me@itstoni.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-types_0.0.0-development_1699154401465_0.0036155446316523676"},"_hasShrinkwrap":false},"12.1.1-patch-2":{"name":"@doyolabs/octokit-types","version":"12.1.1-patch-2","publishConfig":{"access":"public"},"description":"Shared TypeScript definitions for Octokit projects","repository":{"type":"git","url":"git+https://github.com/octokit/types.ts.git"},"keywords":["github","api","sdk","toolkit","typescript"],"author":{"name":"Gregor Martynus","url":"https://twitter.com/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^2.0.0","@types/node":">= 8","github-openapi-graphql-query":"^4.0.0","handlebars":"^4.7.6","json-schema-to-typescript":"^13.0.0","lodash.set":"^4.3.2","npm-run-all":"^4.1.5","pascal-case":"^3.1.1","prettier":"^3.0.0","semantic-release":"^22.0.0","semantic-release-plugin-update-version-in-files":"^1.0.0","sort-keys":"^5.0.0","string-to-jsdoc-comment":"^1.0.0","typedoc":"^0.25.0","typescript":"^5.0.0"},"release":{"branches":["+([0-9]).x","main","next",{"name":"beta","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github",["@semantic-release/npm",{"pkgRoot":"./pkg"}],["semantic-release-plugin-update-version-in-files",{"files":["pkg/dist-src/VERSION.js","pkg/dist-types/VERSION.d.ts","pkg/*/index.js"]}]]},"octokit":{"openapi-version":"13.2.0"},"scripts":{"build":"node scripts/build.mjs && tsc -p tsconfig.json","docs":"typedoc --readme none --out docs src/index.ts && touch docs/.nojekyll","lint":"prettier --check \"{src,test,scripts}/**/*.{js,mjs,ts,json}\" README.md package.json !src/generated/* !scripts/update-endpoints/generated/*","lint:fix":"prettier --write \"{src,test,scripts}/**/*.{js,mjs,ts,json}\" README.md package.json !src/generated/* !scripts/update-endpoints/generated/*","pretest":"npm run -s lint","test":"npx tsc --project tsconfig.test.json","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json.mjs","update-endpoints:typescript":"node scripts/update-endpoints/typescript.mjs","update-endpoints:package":"node scripts/update-endpoints/package.mjs"},"bugs":{"url":"https://github.com/octokit/types.ts/issues"},"homepage":"https://github.com/octokit/types.ts#readme","_id":"@doyolabs/octokit-types@12.1.1-patch-2","_integrity":"sha512-zmQHeQYOGxkrZGQN4KzJ7CH9QGjlDoKE6vbM/xSWLlrpd4HiFeBwemWHuabryaefDjZ3l4YSLPnY+NIbk1jdLg==","_resolved":"C:\\Users\\ASUS\\AppData\\Local\\Temp\\2d6fdde667be9dde13b8da67aaaf498f\\doyolabs-octokit-types-v12.1.1-patch-2.tgz","_from":"file:doyolabs-octokit-types-v12.1.1-patch-2.tgz","_nodeVersion":"18.17.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-zmQHeQYOGxkrZGQN4KzJ7CH9QGjlDoKE6vbM/xSWLlrpd4HiFeBwemWHuabryaefDjZ3l4YSLPnY+NIbk1jdLg==","shasum":"b731674d3387151e11b96649cba233c22021366d","tarball":"https://registry.npmjs.org/@doyolabs/octokit-types/-/octokit-types-12.1.1-patch-2.tgz","fileCount":51,"unpackedSize":631624,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIACFm8oSR+m89jDGPKyIge6UqeMSi+NsEWjxPMzGflyDAiEAn1Qytf6bSJ1KKv/zR1qjxcm3kvWDVm1n6vAWpQ/3bHw="}]},"_npmUser":{"name":"itstoni","email":"me@itstoni.com"},"directories":{},"maintainers":[{"name":"itstoni","email":"me@itstoni.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-types_12.1.1-patch-2_1699155768887_0.35559689937269545"},"_hasShrinkwrap":false},"12.1.1-patch-3":{"name":"@doyolabs/octokit-types","version":"12.1.1-patch-3","publishConfig":{"access":"public"},"description":"Shared TypeScript definitions for Octokit projects","repository":{"type":"git","url":"git+https://github.com/octokit/types.ts.git"},"keywords":["github","api","sdk","toolkit","typescript"],"author":{"name":"Gregor Martynus","url":"https://twitter.com/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^2.0.0","@types/node":">= 8","github-openapi-graphql-query":"^4.0.0","handlebars":"^4.7.6","json-schema-to-typescript":"^13.0.0","lodash.set":"^4.3.2","npm-run-all":"^4.1.5","pascal-case":"^3.1.1","prettier":"^3.0.0","semantic-release":"^22.0.0","semantic-release-plugin-update-version-in-files":"^1.0.0","sort-keys":"^5.0.0","string-to-jsdoc-comment":"^1.0.0","typedoc":"^0.25.0","typescript":"^5.0.0"},"octokit":{"openapi-version":"13.2.0"},"types":"dist-types/index.d.ts","sideEffects":false,"_id":"@doyolabs/octokit-types@12.1.1-patch-3","gitHead":"cf5d0a26de3e59ab39640ce72115970a2b042513","bugs":{"url":"https://github.com/octokit/types.ts/issues"},"homepage":"https://github.com/octokit/types.ts#readme","_nodeVersion":"18.17.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-dspVPPJ7tN8rMDatZvB7M/wORLsB4JYndT8ivV8kw13U6xC5gGZgqKvzKxq5uba3rNXetf+iPB2jBHsgJ4tzpw==","shasum":"c69c33fb2bc942549e51c7a3395a2f46577b935e","tarball":"https://registry.npmjs.org/@doyolabs/octokit-types/-/octokit-types-12.1.1-patch-3.tgz","fileCount":25,"unpackedSize":19184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUzldhBC8sIh0/PfMExwNLh0PXrJJlqq8tBymPMpGBNgIhANCCcZx9n8Xxzl894eWeITUN2BP+Ykdpqv4gOYaDt2B0"}]},"_npmUser":{"name":"itstoni","email":"me@itstoni.com"},"directories":{},"maintainers":[{"name":"itstoni","email":"me@itstoni.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-types_12.1.1-patch-3_1699156479663_0.3763501106126339"},"_hasShrinkwrap":false},"12.1.1-patch-4":{"name":"@doyolabs/octokit-types","version":"12.1.1-patch-4","publishConfig":{"access":"public"},"description":"Shared TypeScript definitions for Octokit projects","repository":{"type":"git","url":"git+https://github.com/octokit/types.ts.git"},"keywords":["github","api","sdk","toolkit","typescript"],"author":{"name":"Gregor Martynus","url":"https://twitter.com/gr2m"},"license":"MIT","devDependencies":{"@octokit/tsconfig":"^2.0.0","@types/node":">= 8","github-openapi-graphql-query":"^4.0.0","handlebars":"^4.7.6","json-schema-to-typescript":"^13.0.0","lodash.set":"^4.3.2","npm-run-all":"^4.1.5","pascal-case":"^3.1.1","prettier":"^3.0.0","semantic-release":"^22.0.0","semantic-release-plugin-update-version-in-files":"^1.0.0","sort-keys":"^5.0.0","string-to-jsdoc-comment":"^1.0.0","typedoc":"^0.25.0","typescript":"^5.0.0"},"octokit":{"openapi-version":"13.2.0"},"types":"dist-types/index.d.ts","sideEffects":false,"_id":"@doyolabs/octokit-types@12.1.1-patch-4","gitHead":"8c7bd5c766d4d8ffe3f3487d581ea08eb3bb9f81","bugs":{"url":"https://github.com/octokit/types.ts/issues"},"homepage":"https://github.com/octokit/types.ts#readme","_nodeVersion":"18.17.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-fRHNO4pKPwyf03xhIawaX8C2ivID2XlYlxAUjewlWafFuLYZCtzpmZV7uT9Jhzwp+Rc0uavZGMr8qEXW5Sazsw==","shasum":"01c4359293dc9d5876a8b0d4fc17bcdd4e0a7bdb","tarball":"https://registry.npmjs.org/@doyolabs/octokit-types/-/octokit-types-12.1.1-patch-4.tgz","fileCount":25,"unpackedSize":19232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmVLz2DPE3zX55LAnWBETaXvwhvCg5dQj+hcE7yAojGAiEAsXju8tQhAtAMWOHHjox6gjxTLbVKO4xujXpDe97RR+Q="}]},"_npmUser":{"name":"itstoni","email":"me@itstoni.com"},"directories":{},"maintainers":[{"name":"itstoni","email":"me@itstoni.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-types_12.1.1-patch-4_1699164434439_0.07284226461309817"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-05T03:20:01.299Z","0.0.0-development":"2023-11-05T03:20:01.678Z","modified":"2023-11-05T06:07:14.836Z","12.1.1-patch-1":"2023-11-05T03:34:26.615Z","12.1.1-patch-2":"2023-11-05T03:42:49.257Z","12.1.1-patch-3":"2023-11-05T03:54:39.917Z","12.1.1-patch-4":"2023-11-05T06:07:14.613Z"},"maintainers":[{"name":"itstoni","email":"me@itstoni.com"}],"description":"Shared TypeScript definitions for Octokit projects","homepage":"https://github.com/octokit/types.ts#readme","keywords":["github","api","sdk","toolkit","typescript"],"repository":{"type":"git","url":"git+https://github.com/octokit/types.ts.git"},"author":{"name":"Gregor Martynus","url":"https://twitter.com/gr2m"},"bugs":{"url":"https://github.com/octokit/types.ts/issues"},"license":"MIT","readme":"# types.ts\n\n> Shared TypeScript definitions for Octokit projects\n\n[![@latest](https://img.shields.io/npm/v/@octokit/types.svg)](https://www.npmjs.com/package/@octokit/types)\n[![Build Status](https://github.com/octokit/types.ts/workflows/Test/badge.svg)](https://github.com/octokit/types.ts/actions?workflow=Test)\n\n<!-- toc -->\n\n- [Usage](#usage)\n- [Examples](#examples)\n  - [Get parameter and response data types for a REST API endpoint](#get-parameter-and-response-data-types-for-a-rest-api-endpoint)\n  - [Get response types from endpoint methods](#get-response-types-from-endpoint-methods)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- tocstop -->\n\n## Usage\n\nSee all exported types at https://octokit.github.io/types.ts\n\n## Examples\n\n### Get parameter and response data types for a REST API endpoint\n\n```ts\nimport { Endpoints } from \"@octokit/types\";\n\ntype listUserReposParameters =\n  Endpoints[\"GET /repos/{owner}/{repo}\"][\"parameters\"];\ntype listUserReposResponse = Endpoints[\"GET /repos/{owner}/{repo}\"][\"response\"];\n\nasync function listRepos(\n  options: listUserReposParameters,\n): listUserReposResponse[\"data\"] {\n  // ...\n}\n```\n\n### Get response types from endpoint methods\n\n```ts\nimport {\n  GetResponseTypeFromEndpointMethod,\n  GetResponseDataTypeFromEndpointMethod,\n} from \"@octokit/types\";\nimport { Octokit } from \"@octokit/rest\";\n\nconst octokit = new Octokit();\ntype CreateLabelResponseType = GetResponseTypeFromEndpointMethod<\n  typeof octokit.issues.createLabel\n>;\ntype CreateLabelResponseDataType = GetResponseDataTypeFromEndpointMethod<\n  typeof octokit.issues.createLabel\n>;\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}