diff --git a/codegen.ts b/codegen.ts index 48963d9d2..27f5df507 100644 --- a/codegen.ts +++ b/codegen.ts @@ -25,14 +25,15 @@ const config: CodegenConfig = { documents: ['src/renderer/utils/api/**/*.graphql'], generates: { 'src/renderer/utils/api/graphql/generated/graphql.ts': { - plugins: ['typescript', 'typescript-operations', 'typed-document-node'], + plugins: ['typescript-operations', 'typed-document-node'], config: { - onlyOperationTypes: true, documentMode: 'string', + // enumType: 'native', + scalars: { + DateTime: 'string', + URI: '../../../../types#Link', + }, useTypeImports: true, - enumsAsTypes: true, - skipTypename: true, - fragmentMasking: false, // Disables masking }, }, }, diff --git a/package.json b/package.json index 4818ac4fb..d7f1e4037 100644 --- a/package.json +++ b/package.json @@ -77,8 +77,9 @@ "@biomejs/biome": "2.4.13", "@discordapp/twemoji": "16.0.1", "@electron/notarize": "3.1.1", - "@graphql-codegen/cli": "6.3.1", - "@graphql-codegen/schema-ast": "5.0.2", + "@graphql-codegen/cli": "7.0.0", + "@graphql-codegen/schema-ast": "6.0.0", + "@graphql-codegen/typescript-operations": "6.0.0", "@graphql-typed-document-node/core": "3.2.0", "@octokit/core": "7.0.6", "@octokit/graphql": "9.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e271f89e3..8e7dfd869 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,11 +40,14 @@ importers: specifier: 3.1.1 version: 3.1.1 '@graphql-codegen/cli': - specifier: 6.3.1 - version: 6.3.1(@parcel/watcher@2.5.6)(@types/node@24.12.2)(graphql@16.13.2)(typescript@6.0.3) + specifier: 7.0.0 + version: 7.0.0(@parcel/watcher@2.5.6)(@types/node@24.12.2)(graphql@16.13.2)(typescript@6.0.3) '@graphql-codegen/schema-ast': - specifier: 5.0.2 - version: 5.0.2(graphql@16.13.2) + specifier: 6.0.0 + version: 6.0.0(graphql@16.13.2) + '@graphql-codegen/typescript-operations': + specifier: 6.0.0 + version: 6.0.0(graphql@16.13.2) '@graphql-typed-document-node/core': specifier: 3.2.0 version: 3.2.0(graphql@16.13.2) @@ -435,14 +438,14 @@ packages: '@github/tab-container-element@4.8.2': resolution: {integrity: sha512-WkaM4mfs8x7dXRWEaDb5deC0OhH6sGQ5cw8i/sVw25gikl4f8C7mHj0kihL5k3eKIIqmGT1Fdswdoi+9ZLDpRA==} - '@graphql-codegen/add@6.0.1': - resolution: {integrity: sha512-MSylSekjpVWbOBw2A/2ssk1fPY54sYb6Qk2C4AX5u7s2R+2pMQ9ws7DTXo8VU9qwTgWwVp6vGfdQ0AMpAn4Iug==} + '@graphql-codegen/add@7.0.0': + resolution: {integrity: sha512-fQGlUQd0BpoevCTOKi3b7M+kuXCI13udXmJrIh1QMtTCLXUTYGgsubNVcPLr0cVjVwyBK/ZRgwtxdCmkVXqTwQ==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/cli@6.3.1': - resolution: {integrity: sha512-I5KkyX1SgQZPojMeQTRydB6fml4cysZq/mIdhNW4rmqdoOcTgdMPq1Tl+wtRp1VpBAOrBazJUJh1nAqJMMSPIQ==} + '@graphql-codegen/cli@7.0.0': + resolution: {integrity: sha512-SNgTiFU/jB3VJLr8koJjmXAwl60wG/9r5iQBiOmlf0m9KRaiCNmfDG6+VbeejJPkDIGJKQd0SwqV5i+fxdnjqA==} engines: {node: '>=16'} hasBin: true peerDependencies: @@ -452,8 +455,8 @@ packages: '@parcel/watcher': optional: true - '@graphql-codegen/client-preset@5.3.0': - resolution: {integrity: sha512-K9FON+j7qyxAUDuSGqI3ofb7lWTBs16oPTYpu14lhdL4DKZQSHLyc8EMYU9e3KcyQ/13gU/d6culOppzAuexLA==} + '@graphql-codegen/client-preset@6.0.0': + resolution: {integrity: sha512-nqidNH4rrulv0E2ZVkYcIWz5Jon+hLBKkx/Xp8KyRJ8WnNRD0kJO1ra8ECLU/JS8LuZehSJyCfoQh555TT5TEw==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 @@ -462,38 +465,38 @@ packages: graphql-sock: optional: true - '@graphql-codegen/core@5.0.2': - resolution: {integrity: sha512-7RX0wwjoWPlLG/tUmpaTK91ZZqHcACNWpRL0nGnnJaJrORie9pgmX8JPrcwBgYiHSC+3ERo9xY91RFPem/VrpQ==} + '@graphql-codegen/core@6.0.0': + resolution: {integrity: sha512-/UDolbUC6q6MTHNvEUDq+vC3ugycxAQ71S62WB3RDXzbBVIG5MG5Kw89WFOh+dt/s+mRuX+tx+Vz/si81sZ0aw==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/gql-tag-operations@5.2.0': - resolution: {integrity: sha512-B9gtJ4ziqpIv+7mHqwjtpYLFOuv0GmmRGpNDoWKM2VIx4OQqgI84d6OHKYCVeO7yu3mUr0QPvUgkSyuLVrdukA==} + '@graphql-codegen/gql-tag-operations@6.0.0': + resolution: {integrity: sha512-IBwQ/jYx5Z4yMV78oVGU3hhNu/I7xFiQpFXavZujwCvoyH611M/JAoZ/RTExjr9stzcKMmNxJV/1Pknv+5M9Fg==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/plugin-helpers@6.3.0': - resolution: {integrity: sha512-Auc+/B7okDx9+pVgLVliZtZLYh6iltWXlnzzM+bRE+zh1T4r3hKbnr8xAmtT937ArfSgk5GHcQHr8LfPYnrRBg==} + '@graphql-codegen/plugin-helpers@7.0.0': + resolution: {integrity: sha512-w7Oa8fH8B1ID9yFoV7qfmKdBxQtjfSHmHffJx6bOhgKyEbD6xVSplK+J6O2sefY5GUdCSx0F+tupBYQjJ7kyvg==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/schema-ast@5.0.2': - resolution: {integrity: sha512-jl1F/9IjRkJisEb9B0ayG4QGqYlPldLRy8ojDdmL9NE1NsdB5ROfxQnSqyC3g+wuvBhWX7kZgMRQYn3RU1I5bA==} + '@graphql-codegen/schema-ast@6.0.0': + resolution: {integrity: sha512-ww6lfCZYBZk8SbnOKp76FLvBrMD6oqFhAGj8Ov8f+bsrNh0SG1M6mxLWh4nl9hWIu/iwsZgrJcuIrTfyBeF6jQ==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/typed-document-node@6.1.8': - resolution: {integrity: sha512-+qDdiJSQ7Ol+vpLMAH8ZJok50CvlYxA6seQ7cwEa3emXt8MmH5hh3zdc9unQlPc7bynoJHRCgoKk7E0B7hry0w==} + '@graphql-codegen/typed-document-node@7.0.0': + resolution: {integrity: sha512-gSsMEKe1QV5QmF+TsijSyhLYGYRYGD2fe7rGIJwca4s1gZK+aD3qjNFq3C0yFUsb92bsCxiOJTWeiPPfdPSMTg==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/typescript-operations@5.1.0': - resolution: {integrity: sha512-JlmjbFl0EnsfMDIYvTE1Q0kAOrntVEZ+ZfBqWTP91g4e0F/TzuwJ/V4tiFmeDf5dx/rf9AK4VkPehIdxu7TYhw==} + '@graphql-codegen/typescript-operations@6.0.0': + resolution: {integrity: sha512-bQJ+UgEuZJOE4RJ66XC/Xdm5qAGXQbGzsUgEDnvt9WW0HiirIS6Xhde/4mWoNoT4d6vBBIEZmIVY7cJKKWbgZw==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 @@ -502,14 +505,14 @@ packages: graphql-sock: optional: true - '@graphql-codegen/typescript@5.0.10': - resolution: {integrity: sha512-Pa8OFmL9TdhEYnLYJLYA9EhP8eEeivP/YDYq4Nb8LQaL7GXm4TGX8zELYaCM9Fu8M3iZb7iQGMt7qc+1lXz8XQ==} + '@graphql-codegen/typescript@6.0.0': + resolution: {integrity: sha512-Kw37kf10nSYBF0ag1IHlXoQ0kEhp9UNi4zK+5MipUNU1wXaFsC/wm+J/JzW+07as3u4CagMJHRTv/nP6VoY5fA==} engines: {node: '>=16'} peerDependencies: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/visitor-plugin-common@6.3.0': - resolution: {integrity: sha512-vGBoE+4huzZyNhyGSAhXAkdROHlwKxxuziZm4XtP1mxe7nuI+VgyOmXebafLijbmuDsptPXQN0C/htL54O8hrg==} + '@graphql-codegen/visitor-plugin-common@7.0.0': + resolution: {integrity: sha512-fHVzAaH3atPbIniVqKGOgDdu60oUYGqVz9hqj+ejgM1oWUMYdJb3D3oAgXxdCOM05z4DI0A9/u3kQuTr5WnRQw==} engines: {node: '>=16'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 @@ -667,134 +670,134 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@inquirer/ansi@1.0.2': - resolution: {integrity: sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==} - engines: {node: '>=18'} + '@inquirer/ansi@2.0.5': + resolution: {integrity: sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} - '@inquirer/checkbox@4.3.2': - resolution: {integrity: sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==} - engines: {node: '>=18'} + '@inquirer/checkbox@5.1.4': + resolution: {integrity: sha512-w6KF8ZYRvqHhROkOTHXYC3qIV/KYEu5o12oLqQySvch61vrYtRxNSHTONSdJqWiFJPlCUQAHT5OgOIyuTr+MHQ==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/confirm@5.1.21': - resolution: {integrity: sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==} - engines: {node: '>=18'} + '@inquirer/confirm@6.0.12': + resolution: {integrity: sha512-h9FgGun3QwVYNj5TWIZZ+slii73bMoBFjPfVIGtnFuL4t8gBiNDV9PcSfIzkuxvgquJKt9nr1QzszpBzTbH8Og==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/core@10.3.2': - resolution: {integrity: sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==} - engines: {node: '>=18'} + '@inquirer/core@11.1.9': + resolution: {integrity: sha512-BDE4fG22uYh1bGSifcj7JSx119TVYNViMhMu85usp4Fswrzh6M0DV3yld64jA98uOAa2GSQ4Bg4bZRm2d2cwSg==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/editor@4.2.23': - resolution: {integrity: sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==} - engines: {node: '>=18'} + '@inquirer/editor@5.1.1': + resolution: {integrity: sha512-6y11LgmNpmn5D2aB5FgnCfBUBK8ZstwLCalyJmORcJZ/WrhOjm16mu6eSqIx8DnErxDqSLr+Jkp+GP8/Nwd5tA==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/expand@4.0.23': - resolution: {integrity: sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==} - engines: {node: '>=18'} + '@inquirer/expand@5.0.13': + resolution: {integrity: sha512-dF2zvrFo9LshkcB23/O1il13kBkBltWIXzut1evfbuBLXMiGIuC45c+ZQ0uukjCDsvI8OWqun4FRYMnzFCQa3g==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/external-editor@1.0.3': - resolution: {integrity: sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==} - engines: {node: '>=18'} + '@inquirer/external-editor@3.0.0': + resolution: {integrity: sha512-lDSwMgg+M5rq6JKBYaJwSX6T9e/HK2qqZ1oxmOwn4AQoJE5D+7TumsxLGC02PWS//rkIVqbZv3XA3ejsc9FYvg==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/figures@1.0.15': - resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} - engines: {node: '>=18'} + '@inquirer/figures@2.0.5': + resolution: {integrity: sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} - '@inquirer/input@4.3.1': - resolution: {integrity: sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==} - engines: {node: '>=18'} + '@inquirer/input@5.0.12': + resolution: {integrity: sha512-uiMFBl4LqFzJClh80Q3f9hbOFJ6kgkDWI4LjAeBuyO6EanVVMF69AgOvpi1qdqjDSjDN6578B6nky9ceEpI+1Q==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/number@3.0.23': - resolution: {integrity: sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==} - engines: {node: '>=18'} + '@inquirer/number@4.0.12': + resolution: {integrity: sha512-/vrwhEf7Xsuh+YlHF4IjSy3g1cyrQuPaSiHIxCEbLu8qnfvrcvJyCkoktOOF+xV9gSb77/G0n3h04RbMDW2sIg==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/password@4.0.23': - resolution: {integrity: sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==} - engines: {node: '>=18'} + '@inquirer/password@5.0.12': + resolution: {integrity: sha512-CBh7YHju623lxJRcAOo498ZUwIuMy63bqW/vVq0tQAZVv+lkWlHkP9ealYE1utWSisEShY5VMdzIXRmyEODzcQ==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/prompts@7.10.1': - resolution: {integrity: sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==} - engines: {node: '>=18'} + '@inquirer/prompts@8.4.2': + resolution: {integrity: sha512-XJmn/wY4AX56l1BRU+ZjDrFtg9+2uBEi4JvJQj82kwJDQKiPgSn4CEsbfGGygS4Gw6rkL4W18oATjfVfaqub2Q==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/rawlist@4.1.11': - resolution: {integrity: sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==} - engines: {node: '>=18'} + '@inquirer/rawlist@5.2.8': + resolution: {integrity: sha512-Su7FQvp5buZmCymN3PPoYv31ZQQX4ve2j02k7piGgKAWgE+AQRB5YoYVveGXcl3TZ9ldgRMSxj56YfDFmmaqLg==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/search@3.2.2': - resolution: {integrity: sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==} - engines: {node: '>=18'} + '@inquirer/search@4.1.8': + resolution: {integrity: sha512-fGiHKGD6DyPIYUWxoXnQTeXeyYqSOUrasDMABBmMHUalH/LxkuzY0xVRtimXAt1sUeeyYkVuKQx1bebMuN11Kw==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/select@4.4.2': - resolution: {integrity: sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==} - engines: {node: '>=18'} + '@inquirer/select@5.1.4': + resolution: {integrity: sha512-2kWcGKPMLAXAWRp1AH1SLsQmX+j0QjeljyXMUji9WMZC8nRDO0b7qquIGr6143E7KMLt3VAIGNXzwa/6PXQs4Q==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: '@types/node': optional: true - '@inquirer/type@3.0.10': - resolution: {integrity: sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==} - engines: {node: '>=18'} + '@inquirer/type@4.0.5': + resolution: {integrity: sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==} + engines: {node: '>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0'} peerDependencies: '@types/node': '>=18' peerDependenciesMeta: @@ -1560,9 +1563,9 @@ packages: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} engines: {node: '>= 4.0.0'} - auto-bind@4.0.0: - resolution: {integrity: sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==} - engines: {node: '>=8'} + auto-bind@5.0.1: + resolution: {integrity: sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -1644,9 +1647,6 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - camel-case@4.1.2: - resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} - camelcase@4.1.0: resolution: {integrity: sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw==} engines: {node: '>=4'} @@ -1654,9 +1654,6 @@ packages: caniuse-lite@1.0.30001791: resolution: {integrity: sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==} - capital-case@1.0.4: - resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} - capture-stack-trace@1.0.2: resolution: {integrity: sha512-X/WM2UQs6VMHUtjUDnZTRI+i1crWteJySFzr9UpGoQa4WQffXVTTXuekjl7TjZRlcF2XfjgITT0HxZ9RnxeT0w==} engines: {node: '>=0.10.0'} @@ -1673,11 +1670,15 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - change-case-all@1.0.15: - resolution: {integrity: sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ==} + chalk@5.6.2: + resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + change-case-all@2.1.0: + resolution: {integrity: sha512-v6b0WWWkZUMHVuYk82l+WROgkUm4qEN2w5hKRNWtEOYwWqUGoi8C6xH0l1RLF1EoWqDFK6MFclmN3od6ws3/uw==} - change-case@4.1.2: - resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==} + change-case@5.4.4: + resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==} chardet@2.1.1: resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==} @@ -1728,6 +1729,10 @@ packages: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} + cliui@9.0.1: + resolution: {integrity: sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==} + engines: {node: '>=20'} + clone-response@1.0.3: resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} @@ -1751,9 +1756,6 @@ packages: color2k@2.0.3: resolution: {integrity: sha512-zW190nQTIoXcGCaU08DvVNFTmQhUpnJfVuAKfWqUQkflXKpaDdpaYoM0iluLS9lgJNHyBF58KKA2FBEwkD7wog==} - colorette@2.0.20: - resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} - combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -1786,9 +1788,6 @@ packages: resolution: {integrity: sha512-nlOhI4+fdzoK5xmJ+NY+1gZK56bwEaWZr8fYuXohZ9Vkc1o3a4T/R3M+yE/w7x/ZVJ1zF8c+oaOvF0dztdUgmA==} engines: {node: '>=4'} - constant-case@3.0.4: - resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} - convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} @@ -1858,9 +1857,9 @@ packages: date-fns@4.1.0: resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==} - debounce@2.2.0: - resolution: {integrity: sha512-Xks6RUDLZFdz8LIdR6q0MTH44k7FikOmnh5xkSjMig6ch45afc8sjTjRQf3P6ax8dMgcQrYO/AR2RGWURrruqw==} - engines: {node: '>=18'} + debounce@3.0.0: + resolution: {integrity: sha512-64byRbF0/AirwbuHqB3/ZpMG9/nckDa6ZA0yd6UnaQNwbbemCOwvz2sL5sjXLHhZHADyiwLm0M5qMhltUUx+TA==} + engines: {node: '>=20'} debug@4.4.3: resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} @@ -1911,9 +1910,9 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} - detect-indent@6.1.0: - resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} - engines: {node: '>=8'} + detect-indent@7.0.2: + resolution: {integrity: sha512-y+8xyqdGLL+6sh0tVeHcfP/QDd8gUgbasolJJpY7NgeQGSZ739bDtSiaiDgtoicy+mtYB81dKLxO9xRhCyIB3A==} + engines: {node: '>=12.20'} detect-libc@2.1.2: resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} @@ -1944,9 +1943,6 @@ packages: dom-accessibility-api@0.6.3: resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==} - dot-case@3.0.4: - resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} - dot-prop@4.2.1: resolution: {integrity: sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==} engines: {node: '>=4'} @@ -2121,6 +2117,15 @@ packages: fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + fast-string-truncated-width@3.0.3: + resolution: {integrity: sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==} + + fast-string-width@3.0.2: + resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==} + + fast-wrap-ansi@0.2.0: + resolution: {integrity: sha512-rLV8JHxTyhVmFYhBJuMujcrHqOT2cnO5Zxj37qROj23CP39GXubJRBUFF0z8KFK77Uc0SukZUf7JZhsVEQ6n8w==} + fastq@1.20.1: resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==} @@ -2337,9 +2342,6 @@ packages: resolution: {integrity: sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==} engines: {node: '>= 0.4'} - header-case@2.0.4: - resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==} - history@5.3.0: resolution: {integrity: sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==} @@ -2484,9 +2486,6 @@ packages: resolution: {integrity: sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==} engines: {node: '>=8'} - is-lower-case@2.0.2: - resolution: {integrity: sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==} - is-npm@1.0.0: resolution: {integrity: sha512-9r39FIr3d+KD9SbX0sfMsHzb5PP3uimOiwr3YupUaUFG4W0l1U57Rx3utpttV7qz5U3jmrO5auUa04LU9pyHsg==} engines: {node: '>=0.10.0'} @@ -2527,12 +2526,9 @@ packages: resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} engines: {node: '>=0.10.0'} - is-unicode-supported@0.1.0: - resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} - engines: {node: '>=10'} - - is-upper-case@2.0.2: - resolution: {integrity: sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==} + is-unicode-supported@2.1.0: + resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==} + engines: {node: '>=18'} is-windows@1.0.2: resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} @@ -2723,9 +2719,9 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - listr2@9.0.5: - resolution: {integrity: sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g==} - engines: {node: '>=20.0.0'} + listr2@10.2.1: + resolution: {integrity: sha512-7I5knELsJKTUjXG+A6BkKAiGkW1i25fNa/xlUl9hFtk15WbE9jndA89xu5FzQKrY5llajE1hfZZFMILXkDHk/Q==} + engines: {node: '>=22.13.0'} lodash.escaperegexp@4.1.2: resolution: {integrity: sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==} @@ -2746,9 +2742,9 @@ packages: lodash@4.18.1: resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==} - log-symbols@4.1.0: - resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} - engines: {node: '>=10'} + log-symbols@7.0.1: + resolution: {integrity: sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==} + engines: {node: '>=18'} log-update@6.1.0: resolution: {integrity: sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==} @@ -2758,12 +2754,6 @@ packages: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true - lower-case-first@2.0.2: - resolution: {integrity: sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==} - - lower-case@2.0.2: - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} - lowercase-keys@1.0.1: resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==} engines: {node: '>=0.10.0'} @@ -2911,18 +2901,15 @@ packages: ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - mute-stream@2.0.0: - resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} - engines: {node: ^18.17.0 || >=20.5.0} + mute-stream@3.0.0: + resolution: {integrity: sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==} + engines: {node: ^20.17.0 || >=22.9.0} nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - no-case@3.0.4: - resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} - node-abi@4.28.0: resolution: {integrity: sha512-Qfp5XZL1cJDOabOT8H5gnqMTmM4NjvYzHp4I/Kt/Sl76OVkOBBHRFlPspGV0hYvMoqQsypFjT/Yp7Km0beXW9g==} engines: {node: '>=22.12.0'} @@ -3023,9 +3010,6 @@ packages: resolution: {integrity: sha512-q/R5GrMek0vzgoomq6rm9OX+3PQve8sLwTirmK30YB3Cu0Bbt9OX9M/SIUnroN5BGJkzwGsFwDaRGD9EwBOlCA==} engines: {node: '>=4'} - param-case@3.0.4: - resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} - parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} @@ -3038,12 +3022,6 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} - pascal-case@3.1.2: - resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} - - path-case@3.0.4: - resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} - path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} @@ -3341,9 +3319,6 @@ packages: engines: {node: '>=10'} hasBin: true - sentence-case@3.0.4: - resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} - serialize-error@7.0.1: resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==} engines: {node: '>=10'} @@ -3409,9 +3384,6 @@ packages: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - snake-case@3.0.4: - resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} - source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -3423,8 +3395,8 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - sponge-case@1.0.1: - resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} + sponge-case@2.0.3: + resolution: {integrity: sha512-i4h9ZGRfxV6Xw3mpZSFOfbXjf0cQcYmssGWutgNIfFZ2VM+YIWfD71N/kjjwK6X/AAHzBr+rciEcn/L34S8TGw==} sprintf-js@1.1.3: resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} @@ -3502,8 +3474,8 @@ packages: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} - swap-case@2.0.2: - resolution: {integrity: sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw==} + swap-case@3.0.3: + resolution: {integrity: sha512-6p4op8wE9CQv7uDFzulI6YXUw4lD9n4oQierdbFThEKVWVQcbQcUjdP27W8XE7V4QnWmnq9jueSHceyyQnqQVA==} sync-fetch@0.6.0: resolution: {integrity: sha512-IELLEvzHuCfc1uTsshPK58ViSdNqXxlml1U+fmwJIKLYKOr/rAtBrorE2RYm5IHaMpDNlmC0fr1LAvdXvyheEQ==} @@ -3591,8 +3563,12 @@ packages: truncate-utf8-bytes@1.0.2: resolution: {integrity: sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==} - ts-log@2.2.7: - resolution: {integrity: sha512-320x5Ggei84AxzlXp91QkIGSw5wgaLT6GeAH0KsqDmRZdVWW2OiSeVvElVoatk3f7nicwXlElXsoFkARiGE2yg==} + ts-log@3.0.2: + resolution: {integrity: sha512-esq6hx2lM66sQV1YcFkIYTqrWWabmqBqobKHyn1CswdI5FgfQhkmiKiRWVGBNlIbdjBxEIkNvMIwLKKPgRYZLQ==} + engines: {node: '>=20', npm: '>=10'} + + tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} @@ -3654,12 +3630,6 @@ packages: resolution: {integrity: sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==} engines: {node: '>=4'} - upper-case-first@2.0.2: - resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} - - upper-case@2.0.2: - resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} - uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -3852,9 +3822,9 @@ packages: resolution: {integrity: sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==} engines: {node: '>=4'} - wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} + wrap-ansi@10.0.0: + resolution: {integrity: sha512-SGcvg80f0wUy2/fXES19feHMz8E0JoXv2uNgHOu4Dgi2OrCy1lqwFYEJz1BLbDI0exjPMe/ZdzZ/YpGECBG/aQ==} + engines: {node: '>=20'} wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} @@ -3928,10 +3898,18 @@ packages: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} + yargs-parser@22.0.0: + resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} + yargs@18.0.0: + resolution: {integrity: sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + yauzl@2.10.0: resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} @@ -3939,8 +3917,8 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - yoctocolors-cjs@2.1.3: - resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} + yoctocolors@2.1.2: + resolution: {integrity: sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==} engines: {node: '>=18'} zustand@5.0.12: @@ -4273,20 +4251,20 @@ snapshots: '@github/tab-container-element@4.8.2': {} - '@graphql-codegen/add@6.0.1(graphql@16.13.2)': + '@graphql-codegen/add@7.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/cli@6.3.1(@parcel/watcher@2.5.6)(@types/node@24.12.2)(graphql@16.13.2)(typescript@6.0.3)': + '@graphql-codegen/cli@7.0.0(@parcel/watcher@2.5.6)(@types/node@24.12.2)(graphql@16.13.2)(typescript@6.0.3)': dependencies: '@babel/generator': 7.29.1 '@babel/template': 7.28.6 '@babel/types': 7.29.0 - '@graphql-codegen/client-preset': 5.3.0(graphql@16.13.2) - '@graphql-codegen/core': 5.0.2(graphql@16.13.2) - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) + '@graphql-codegen/client-preset': 6.0.0(graphql@16.13.2) + '@graphql-codegen/core': 6.0.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) '@graphql-tools/apollo-engine-loader': 8.0.30(graphql@16.13.2) '@graphql-tools/code-file-loader': 8.1.32(graphql@16.13.2) '@graphql-tools/git-loader': 8.0.36(graphql@16.13.2) @@ -4297,26 +4275,26 @@ snapshots: '@graphql-tools/merge': 9.1.9(graphql@16.13.2) '@graphql-tools/url-loader': 9.1.2(@types/node@24.12.2)(graphql@16.13.2) '@graphql-tools/utils': 11.1.0(graphql@16.13.2) - '@inquirer/prompts': 7.10.1(@types/node@24.12.2) + '@inquirer/prompts': 8.4.2(@types/node@24.12.2) '@whatwg-node/fetch': 0.10.13 - chalk: 4.1.2 + chalk: 5.6.2 cosmiconfig: 9.0.1(typescript@6.0.3) - debounce: 2.2.0 - detect-indent: 6.1.0 + debounce: 3.0.0 + detect-indent: 7.0.2 graphql: 16.13.2 graphql-config: 5.1.6(@types/node@24.12.2)(graphql@16.13.2)(typescript@6.0.3) is-glob: 4.0.3 jiti: 2.6.1 json-to-pretty-yaml: 1.2.2 - listr2: 9.0.5 - log-symbols: 4.1.0 + listr2: 10.2.1 + log-symbols: 7.0.1 micromatch: 4.0.8 shell-quote: 1.8.3 string-env-interpolation: 1.0.1 - ts-log: 2.2.7 + ts-log: 3.0.2 tslib: 2.8.1 yaml: 2.8.3 - yargs: 17.7.2 + yargs: 18.0.0 optionalDependencies: '@parcel/watcher': 2.5.6 transitivePeerDependencies: @@ -4330,91 +4308,91 @@ snapshots: - typescript - utf-8-validate - '@graphql-codegen/client-preset@5.3.0(graphql@16.13.2)': + '@graphql-codegen/client-preset@6.0.0(graphql@16.13.2)': dependencies: '@babel/helper-plugin-utils': 7.28.6 '@babel/template': 7.28.6 - '@graphql-codegen/add': 6.0.1(graphql@16.13.2) - '@graphql-codegen/gql-tag-operations': 5.2.0(graphql@16.13.2) - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) - '@graphql-codegen/typed-document-node': 6.1.8(graphql@16.13.2) - '@graphql-codegen/typescript': 5.0.10(graphql@16.13.2) - '@graphql-codegen/typescript-operations': 5.1.0(graphql@16.13.2) - '@graphql-codegen/visitor-plugin-common': 6.3.0(graphql@16.13.2) + '@graphql-codegen/add': 7.0.0(graphql@16.13.2) + '@graphql-codegen/gql-tag-operations': 6.0.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) + '@graphql-codegen/typed-document-node': 7.0.0(graphql@16.13.2) + '@graphql-codegen/typescript': 6.0.0(graphql@16.13.2) + '@graphql-codegen/typescript-operations': 6.0.0(graphql@16.13.2) + '@graphql-codegen/visitor-plugin-common': 7.0.0(graphql@16.13.2) '@graphql-tools/documents': 1.0.1(graphql@16.13.2) '@graphql-tools/utils': 11.1.0(graphql@16.13.2) '@graphql-typed-document-node/core': 3.2.0(graphql@16.13.2) graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/core@5.0.2(graphql@16.13.2)': + '@graphql-codegen/core@6.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) '@graphql-tools/schema': 10.0.33(graphql@16.13.2) '@graphql-tools/utils': 11.1.0(graphql@16.13.2) graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/gql-tag-operations@5.2.0(graphql@16.13.2)': + '@graphql-codegen/gql-tag-operations@6.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) - '@graphql-codegen/visitor-plugin-common': 6.3.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) + '@graphql-codegen/visitor-plugin-common': 7.0.0(graphql@16.13.2) '@graphql-tools/utils': 11.1.0(graphql@16.13.2) - auto-bind: 4.0.0 + auto-bind: 5.0.1 graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/plugin-helpers@6.3.0(graphql@16.13.2)': + '@graphql-codegen/plugin-helpers@7.0.0(graphql@16.13.2)': dependencies: '@graphql-tools/utils': 11.1.0(graphql@16.13.2) - change-case-all: 1.0.15 + change-case-all: 2.1.0 common-tags: 1.8.2 graphql: 16.13.2 import-from: 4.0.0 tslib: 2.8.1 - '@graphql-codegen/schema-ast@5.0.2(graphql@16.13.2)': + '@graphql-codegen/schema-ast@6.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) '@graphql-tools/utils': 11.1.0(graphql@16.13.2) graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/typed-document-node@6.1.8(graphql@16.13.2)': + '@graphql-codegen/typed-document-node@7.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) - '@graphql-codegen/visitor-plugin-common': 6.3.0(graphql@16.13.2) - auto-bind: 4.0.0 - change-case-all: 1.0.15 + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) + '@graphql-codegen/visitor-plugin-common': 7.0.0(graphql@16.13.2) + auto-bind: 5.0.1 + change-case-all: 2.1.0 graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/typescript-operations@5.1.0(graphql@16.13.2)': + '@graphql-codegen/typescript-operations@6.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) - '@graphql-codegen/typescript': 5.0.10(graphql@16.13.2) - '@graphql-codegen/visitor-plugin-common': 6.3.0(graphql@16.13.2) - auto-bind: 4.0.0 + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) + '@graphql-codegen/schema-ast': 6.0.0(graphql@16.13.2) + '@graphql-codegen/visitor-plugin-common': 7.0.0(graphql@16.13.2) + auto-bind: 5.0.1 graphql: 16.13.2 tslib: 2.8.1 - '@graphql-codegen/typescript@5.0.10(graphql@16.13.2)': + '@graphql-codegen/typescript@6.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) - '@graphql-codegen/schema-ast': 5.0.2(graphql@16.13.2) - '@graphql-codegen/visitor-plugin-common': 6.3.0(graphql@16.13.2) - auto-bind: 4.0.0 + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) + '@graphql-codegen/schema-ast': 6.0.0(graphql@16.13.2) + '@graphql-codegen/visitor-plugin-common': 7.0.0(graphql@16.13.2) + auto-bind: 5.0.1 graphql: 16.13.2 - tslib: 2.8.1 + tslib: 2.6.3 - '@graphql-codegen/visitor-plugin-common@6.3.0(graphql@16.13.2)': + '@graphql-codegen/visitor-plugin-common@7.0.0(graphql@16.13.2)': dependencies: - '@graphql-codegen/plugin-helpers': 6.3.0(graphql@16.13.2) + '@graphql-codegen/plugin-helpers': 7.0.0(graphql@16.13.2) '@graphql-tools/optimize': 2.0.0(graphql@16.13.2) '@graphql-tools/relay-operation-optimizer': 7.1.4(graphql@16.13.2) '@graphql-tools/utils': 11.1.0(graphql@16.13.2) - auto-bind: 4.0.0 - change-case-all: 1.0.15 + auto-bind: 5.0.1 + change-case-all: 2.1.0 dependency-graph: 1.0.0 graphql: 16.13.2 graphql-tag: 2.12.6(graphql@16.13.2) @@ -4666,128 +4644,122 @@ snapshots: dependencies: graphql: 16.13.2 - '@inquirer/ansi@1.0.2': {} + '@inquirer/ansi@2.0.5': {} - '@inquirer/checkbox@4.3.2(@types/node@24.12.2)': + '@inquirer/checkbox@5.1.4(@types/node@24.12.2)': dependencies: - '@inquirer/ansi': 1.0.2 - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/figures': 1.0.15 - '@inquirer/type': 3.0.10(@types/node@24.12.2) - yoctocolors-cjs: 2.1.3 + '@inquirer/ansi': 2.0.5 + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/figures': 2.0.5 + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/confirm@5.1.21(@types/node@24.12.2)': + '@inquirer/confirm@6.0.12(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/core@10.3.2(@types/node@24.12.2)': + '@inquirer/core@11.1.9(@types/node@24.12.2)': dependencies: - '@inquirer/ansi': 1.0.2 - '@inquirer/figures': 1.0.15 - '@inquirer/type': 3.0.10(@types/node@24.12.2) + '@inquirer/ansi': 2.0.5 + '@inquirer/figures': 2.0.5 + '@inquirer/type': 4.0.5(@types/node@24.12.2) cli-width: 4.1.0 - mute-stream: 2.0.0 + fast-wrap-ansi: 0.2.0 + mute-stream: 3.0.0 signal-exit: 4.1.0 - wrap-ansi: 6.2.0 - yoctocolors-cjs: 2.1.3 optionalDependencies: '@types/node': 24.12.2 - '@inquirer/editor@4.2.23(@types/node@24.12.2)': + '@inquirer/editor@5.1.1(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/external-editor': 1.0.3(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/external-editor': 3.0.0(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/expand@4.0.23(@types/node@24.12.2)': + '@inquirer/expand@5.0.13(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) - yoctocolors-cjs: 2.1.3 + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/external-editor@1.0.3(@types/node@24.12.2)': + '@inquirer/external-editor@3.0.0(@types/node@24.12.2)': dependencies: chardet: 2.1.1 iconv-lite: 0.7.2 optionalDependencies: '@types/node': 24.12.2 - '@inquirer/figures@1.0.15': {} + '@inquirer/figures@2.0.5': {} - '@inquirer/input@4.3.1(@types/node@24.12.2)': + '@inquirer/input@5.0.12(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/number@3.0.23(@types/node@24.12.2)': + '@inquirer/number@4.0.12(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/password@4.0.23(@types/node@24.12.2)': + '@inquirer/password@5.0.12(@types/node@24.12.2)': dependencies: - '@inquirer/ansi': 1.0.2 - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) + '@inquirer/ansi': 2.0.5 + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/prompts@7.10.1(@types/node@24.12.2)': - dependencies: - '@inquirer/checkbox': 4.3.2(@types/node@24.12.2) - '@inquirer/confirm': 5.1.21(@types/node@24.12.2) - '@inquirer/editor': 4.2.23(@types/node@24.12.2) - '@inquirer/expand': 4.0.23(@types/node@24.12.2) - '@inquirer/input': 4.3.1(@types/node@24.12.2) - '@inquirer/number': 3.0.23(@types/node@24.12.2) - '@inquirer/password': 4.0.23(@types/node@24.12.2) - '@inquirer/rawlist': 4.1.11(@types/node@24.12.2) - '@inquirer/search': 3.2.2(@types/node@24.12.2) - '@inquirer/select': 4.4.2(@types/node@24.12.2) + '@inquirer/prompts@8.4.2(@types/node@24.12.2)': + dependencies: + '@inquirer/checkbox': 5.1.4(@types/node@24.12.2) + '@inquirer/confirm': 6.0.12(@types/node@24.12.2) + '@inquirer/editor': 5.1.1(@types/node@24.12.2) + '@inquirer/expand': 5.0.13(@types/node@24.12.2) + '@inquirer/input': 5.0.12(@types/node@24.12.2) + '@inquirer/number': 4.0.12(@types/node@24.12.2) + '@inquirer/password': 5.0.12(@types/node@24.12.2) + '@inquirer/rawlist': 5.2.8(@types/node@24.12.2) + '@inquirer/search': 4.1.8(@types/node@24.12.2) + '@inquirer/select': 5.1.4(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/rawlist@4.1.11(@types/node@24.12.2)': + '@inquirer/rawlist@5.2.8(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/type': 3.0.10(@types/node@24.12.2) - yoctocolors-cjs: 2.1.3 + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/search@3.2.2(@types/node@24.12.2)': + '@inquirer/search@4.1.8(@types/node@24.12.2)': dependencies: - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/figures': 1.0.15 - '@inquirer/type': 3.0.10(@types/node@24.12.2) - yoctocolors-cjs: 2.1.3 + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/figures': 2.0.5 + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/select@4.4.2(@types/node@24.12.2)': + '@inquirer/select@5.1.4(@types/node@24.12.2)': dependencies: - '@inquirer/ansi': 1.0.2 - '@inquirer/core': 10.3.2(@types/node@24.12.2) - '@inquirer/figures': 1.0.15 - '@inquirer/type': 3.0.10(@types/node@24.12.2) - yoctocolors-cjs: 2.1.3 + '@inquirer/ansi': 2.0.5 + '@inquirer/core': 11.1.9(@types/node@24.12.2) + '@inquirer/figures': 2.0.5 + '@inquirer/type': 4.0.5(@types/node@24.12.2) optionalDependencies: '@types/node': 24.12.2 - '@inquirer/type@3.0.10(@types/node@24.12.2)': + '@inquirer/type@4.0.5(@types/node@24.12.2)': optionalDependencies: '@types/node': 24.12.2 @@ -5513,7 +5485,7 @@ snapshots: at-least-node@1.0.0: {} - auto-bind@4.0.0: {} + auto-bind@5.0.1: {} balanced-match@1.0.2: {} @@ -5622,21 +5594,10 @@ snapshots: callsites@3.1.0: {} - camel-case@4.1.2: - dependencies: - pascal-case: 3.1.2 - tslib: 2.8.1 - camelcase@4.1.0: {} caniuse-lite@1.0.30001791: {} - capital-case@1.0.4: - dependencies: - no-case: 3.0.4 - tslib: 2.8.1 - upper-case-first: 2.0.2 - capture-stack-trace@1.0.2: {} chai@6.2.2: {} @@ -5652,33 +5613,16 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - change-case-all@1.0.15: + chalk@5.6.2: {} + + change-case-all@2.1.0: dependencies: - change-case: 4.1.2 - is-lower-case: 2.0.2 - is-upper-case: 2.0.2 - lower-case: 2.0.2 - lower-case-first: 2.0.2 - sponge-case: 1.0.1 - swap-case: 2.0.2 + change-case: 5.4.4 + sponge-case: 2.0.3 + swap-case: 3.0.3 title-case: 3.0.3 - upper-case: 2.0.2 - upper-case-first: 2.0.2 - - change-case@4.1.2: - dependencies: - camel-case: 4.1.2 - capital-case: 1.0.4 - constant-case: 3.0.4 - dot-case: 3.0.4 - header-case: 2.0.4 - no-case: 3.0.4 - param-case: 3.0.4 - pascal-case: 3.1.2 - path-case: 3.0.4 - sentence-case: 3.0.4 - snake-case: 3.0.4 - tslib: 2.8.1 + + change-case@5.4.4: {} chardet@2.1.1: {} @@ -5721,6 +5665,12 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + cliui@9.0.1: + dependencies: + string-width: 7.2.0 + strip-ansi: 7.2.0 + wrap-ansi: 9.0.2 + clone-response@1.0.3: dependencies: mimic-response: 1.0.1 @@ -5741,8 +5691,6 @@ snapshots: color2k@2.0.3: {} - colorette@2.0.20: {} - combined-stream@1.0.8: dependencies: delayed-stream: 1.0.0 @@ -5776,12 +5724,6 @@ snapshots: write-file-atomic: 2.4.3 xdg-basedir: 3.0.0 - constant-case@3.0.4: - dependencies: - no-case: 3.0.4 - tslib: 2.8.1 - upper-case: 2.0.2 - convert-source-map@2.0.0: {} cookie@1.1.1: {} @@ -5847,7 +5789,7 @@ snapshots: date-fns@4.1.0: {} - debounce@2.2.0: {} + debounce@3.0.0: {} debug@4.4.3: dependencies: @@ -5887,7 +5829,7 @@ snapshots: dequal@2.0.3: {} - detect-indent@6.1.0: {} + detect-indent@7.0.2: {} detect-libc@2.1.2: {} @@ -5932,11 +5874,6 @@ snapshots: dom-accessibility-api@0.6.3: {} - dot-case@3.0.4: - dependencies: - no-case: 3.0.4 - tslib: 2.8.1 - dot-prop@4.2.1: dependencies: is-obj: 1.0.1 @@ -6157,6 +6094,16 @@ snapshots: fast-json-stable-stringify@2.1.0: {} + fast-string-truncated-width@3.0.3: {} + + fast-string-width@3.0.2: + dependencies: + fast-string-truncated-width: 3.0.3 + + fast-wrap-ansi@0.2.0: + dependencies: + fast-string-width: 3.0.2 + fastq@1.20.1: dependencies: reusify: 1.1.0 @@ -6422,11 +6369,6 @@ snapshots: dependencies: function-bind: 1.1.2 - header-case@2.0.4: - dependencies: - capital-case: 1.0.4 - tslib: 2.8.1 - history@5.3.0: dependencies: '@babel/runtime': 7.29.2 @@ -6556,10 +6498,6 @@ snapshots: dependencies: ip-regex: 4.3.0 - is-lower-case@2.0.2: - dependencies: - tslib: 2.8.1 - is-npm@1.0.0: {} is-number@7.0.0: {} @@ -6586,11 +6524,7 @@ snapshots: dependencies: unc-path-regex: 0.1.2 - is-unicode-supported@0.1.0: {} - - is-upper-case@2.0.2: - dependencies: - tslib: 2.8.1 + is-unicode-supported@2.1.0: {} is-windows@1.0.2: {} @@ -6738,14 +6672,13 @@ snapshots: lines-and-columns@1.2.4: {} - listr2@9.0.5: + listr2@10.2.1: dependencies: cli-truncate: 5.2.0 - colorette: 2.0.20 eventemitter3: 5.0.4 log-update: 6.1.0 rfdc: 1.4.1 - wrap-ansi: 9.0.2 + wrap-ansi: 10.0.0 lodash.escaperegexp@4.1.2: {} @@ -6759,10 +6692,10 @@ snapshots: lodash@4.18.1: {} - log-symbols@4.1.0: + log-symbols@7.0.1: dependencies: - chalk: 4.1.2 - is-unicode-supported: 0.1.0 + is-unicode-supported: 2.1.0 + yoctocolors: 2.1.2 log-update@6.1.0: dependencies: @@ -6776,14 +6709,6 @@ snapshots: dependencies: js-tokens: 4.0.0 - lower-case-first@2.0.2: - dependencies: - tslib: 2.8.1 - - lower-case@2.0.2: - dependencies: - tslib: 2.8.1 - lowercase-keys@1.0.1: {} lowercase-keys@2.0.0: {} @@ -6900,15 +6825,10 @@ snapshots: ms@2.1.3: {} - mute-stream@2.0.0: {} + mute-stream@3.0.0: {} nanoid@3.3.11: {} - no-case@3.0.4: - dependencies: - lower-case: 2.0.2 - tslib: 2.8.1 - node-abi@4.28.0: dependencies: semver: 7.7.4 @@ -7010,11 +6930,6 @@ snapshots: registry-url: 3.1.0 semver: 5.7.2 - param-case@3.0.4: - dependencies: - dot-case: 3.0.4 - tslib: 2.8.1 - parent-module@1.0.1: dependencies: callsites: 3.1.0 @@ -7032,16 +6947,6 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - pascal-case@3.1.2: - dependencies: - no-case: 3.0.4 - tslib: 2.8.1 - - path-case@3.0.4: - dependencies: - dot-case: 3.0.4 - tslib: 2.8.1 - path-is-absolute@1.0.1: {} path-is-inside@1.0.2: {} @@ -7328,12 +7233,6 @@ snapshots: semver@7.7.4: {} - sentence-case@3.0.4: - dependencies: - no-case: 3.0.4 - tslib: 2.8.1 - upper-case-first: 2.0.2 - serialize-error@7.0.1: dependencies: type-fest: 0.13.1 @@ -7393,11 +7292,6 @@ snapshots: smart-buffer@4.2.0: optional: true - snake-case@3.0.4: - dependencies: - dot-case: 3.0.4 - tslib: 2.8.1 - source-map-js@1.2.1: {} source-map-support@0.5.21: @@ -7407,9 +7301,7 @@ snapshots: source-map@0.6.1: {} - sponge-case@1.0.1: - dependencies: - tslib: 2.8.1 + sponge-case@2.0.3: {} sprintf-js@1.1.3: optional: true @@ -7484,9 +7376,7 @@ snapshots: dependencies: has-flag: 4.0.0 - swap-case@2.0.2: - dependencies: - tslib: 2.8.1 + swap-case@3.0.3: {} sync-fetch@0.6.0: dependencies: @@ -7567,7 +7457,9 @@ snapshots: dependencies: utf8-byte-length: 1.0.5 - ts-log@2.2.7: {} + ts-log@3.0.2: {} + + tslib@2.6.3: {} tslib@2.8.1: {} @@ -7619,14 +7511,6 @@ snapshots: semver-diff: 2.1.0 xdg-basedir: 3.0.0 - upper-case-first@2.0.2: - dependencies: - tslib: 2.8.1 - - upper-case@2.0.2: - dependencies: - tslib: 2.8.1 - uri-js@4.4.1: dependencies: punycode: 2.3.1 @@ -7744,11 +7628,11 @@ snapshots: dependencies: string-width: 2.1.1 - wrap-ansi@6.2.0: + wrap-ansi@10.0.0: dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 + ansi-styles: 6.2.3 + string-width: 8.2.1 + strip-ansi: 7.2.0 wrap-ansi@7.0.0: dependencies: @@ -7792,6 +7676,8 @@ snapshots: yargs-parser@21.1.1: {} + yargs-parser@22.0.0: {} + yargs@17.7.2: dependencies: cliui: 8.0.1 @@ -7802,6 +7688,15 @@ snapshots: y18n: 5.0.8 yargs-parser: 21.1.1 + yargs@18.0.0: + dependencies: + cliui: 9.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + string-width: 7.2.0 + y18n: 5.0.8 + yargs-parser: 22.0.0 + yauzl@2.10.0: dependencies: buffer-crc32: 0.2.13 @@ -7809,7 +7704,7 @@ snapshots: yocto-queue@0.1.0: {} - yoctocolors-cjs@2.1.3: {} + yoctocolors@2.1.2: {} zustand@5.0.12(@types/react@19.2.14)(react@19.2.5): optionalDependencies: diff --git a/src/renderer/utils/api/__mocks__/response-mocks.ts b/src/renderer/utils/api/__mocks__/response-mocks.ts index d67173f2e..99ea4f259 100644 --- a/src/renderer/utils/api/__mocks__/response-mocks.ts +++ b/src/renderer/utils/api/__mocks__/response-mocks.ts @@ -72,7 +72,7 @@ export function mockDiscussionResponseNode(mocks: { number: 123, title: 'This is a mock discussion', url: 'https://github.com/gitify-app/notifications-test/discussions/123' as Link, - stateReason: mocks.stateReason, + stateReason: mocks.stateReason ?? null, isAnswered: mocks.isAnswered, author: mockAuthor, comments: { @@ -99,8 +99,8 @@ export function mockIssueResponseNode(mocks: { number: 123, title: 'PR Title', state: mocks.state, - stateReason: mocks.stateReason, - url: 'https://github.com/gitify-app/notifications-test/issues/123', + stateReason: mocks.stateReason ?? null, + url: 'https://github.com/gitify-app/notifications-test/issues/123' as Link, author: mockAuthor, labels: { nodes: [] }, comments: { totalCount: 0, nodes: [] }, @@ -129,7 +129,7 @@ export function mockPullRequestResponseNode(mocks: { isDraft: mocks.isDraft ?? false, merged: mocks.merged ?? false, isInMergeQueue: mocks.isInMergeQueue ?? false, - url: 'https://github.com/gitify-app/notifications-test/pulls/123', + url: 'https://github.com/gitify-app/notifications-test/pulls/123' as Link, author: mockAuthor, labels: { nodes: [] }, comments: { diff --git a/src/renderer/utils/api/graphql/MergeQueryBuilder.ts b/src/renderer/utils/api/graphql/MergeQueryBuilder.ts index 4f952ad7f..40e34cddd 100644 --- a/src/renderer/utils/api/graphql/MergeQueryBuilder.ts +++ b/src/renderer/utils/api/graphql/MergeQueryBuilder.ts @@ -1,7 +1,6 @@ import type { FragmentInfo, VariableDef } from './types'; import { - type Exact, FetchMergedDetailsTemplateDocument, type FetchMergedDetailsTemplateQueryVariables, } from './generated/graphql'; @@ -102,7 +101,7 @@ export class MergeQueryBuilder { * Set shared (non-indexed) variables */ setSharedVariables( - values: Exact, + values: FetchBatchMergedTemplateNonIndexedVariables, ): this { for (const [name, value] of Object.entries(values)) { this.setVariableValue(name, value as VariableValue); @@ -115,7 +114,7 @@ export class MergeQueryBuilder { * @param values The values for the selection set variables/arguments. * @returns the computed node alias name */ - addNode(values: Exact): string { + addNode(values: FetchBatchMergedTemplateIndexedBaseVariables): string { const index = this.selections.length; const aliasWithIndex = `node${index}`; this.addSelectionNodeFromQueryTemplate(aliasWithIndex, index, values); @@ -128,7 +127,7 @@ export class MergeQueryBuilder { private addSelectionNodeFromQueryTemplate( alias: string, index: number, - values: Exact, + values: FetchBatchMergedTemplateIndexedBaseVariables, ): this { const selection = aliasFieldAndSubstituteIndexedVars( alias, diff --git a/src/renderer/utils/api/graphql/discussion.graphql b/src/renderer/utils/api/graphql/discussion.graphql index b3826d477..7f8f4c9cc 100644 --- a/src/renderer/utils/api/graphql/discussion.graphql +++ b/src/renderer/utils/api/graphql/discussion.graphql @@ -46,7 +46,6 @@ fragment DiscussionDetails on Discussion { } fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields diff --git a/src/renderer/utils/api/graphql/generated/graphql.ts b/src/renderer/utils/api/graphql/generated/graphql.ts index 2ac83a754..b1a5d6090 100644 --- a/src/renderer/utils/api/graphql/generated/graphql.ts +++ b/src/renderer/utils/api/graphql/generated/graphql.ts @@ -1,8009 +1,95 @@ -import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core'; -export type Maybe = T | null; -export type InputMaybe = Maybe; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - Base64String: { input: any; output: any; } - BigInt: { input: any; output: any; } - CustomPropertyValue: { input: any; output: any; } - Date: { input: any; output: any; } - DateTime: { input: any; output: any; } - GitObjectID: { input: any; output: any; } - GitRefname: { input: any; output: any; } - GitSSHRemote: { input: any; output: any; } - GitTimestamp: { input: any; output: any; } - HTML: { input: any; output: any; } - PreciseDateTime: { input: any; output: any; } - URI: { input: any; output: any; } - X509Certificate: { input: any; output: any; } - _Any: { input: any; output: any; } -}; - -/** Autogenerated input type of AbortQueuedMigrations */ -export type AbortQueuedMigrationsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the organization that is running the migrations. */ - ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AbortRepositoryMigration */ -export type AbortRepositoryMigrationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the migration to be aborted. */ - migrationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ -export type AcceptEnterpriseAdministratorInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the invitation being accepted */ - invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AcceptEnterpriseMemberInvitation */ -export type AcceptEnterpriseMemberInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the invitation being accepted */ - invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AcceptTopicSuggestion */ -export type AcceptTopicSuggestionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** - * The name of the suggested topic. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `name` will be removed. - * **Reason:** Suggested topics are no longer supported - * - */ - name?: InputMaybe; - /** - * The Node ID of the repository. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `repositoryId` will be removed. - * **Reason:** Suggested topics are no longer supported - * - */ - repositoryId?: InputMaybe; -}; - -/** Autogenerated input type of AccessUserNamespaceRepository */ -export type AccessUserNamespaceRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise owning the user namespace repository. */ - enterpriseId: Scalars['ID']['input']; - /** The ID of the user namespace repository to access. */ - repositoryId: Scalars['ID']['input']; -}; - -/** The actor's type. */ -export type ActorType = - /** Indicates a team actor. */ - | 'TEAM' - /** Indicates a user actor. */ - | 'USER'; - -/** Autogenerated input type of AddAssigneesToAssignable */ -export type AddAssigneesToAssignableInput = { - /** Configuration for assigning Copilot to this issue. */ - agentAssignment?: InputMaybe; - /** The id of the assignable object to add assignees to. */ - assignableId: Scalars['ID']['input']; - /** The ids of actors (users or bots) to add as assignees. */ - assigneeIds: Array; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; -}; - -/** Autogenerated input type of AddBlockedBy */ -export type AddBlockedByInput = { - /** The ID of the issue that blocks the given issue. */ - blockingIssueId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the issue to be blocked. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddComment */ -export type AddCommentInput = { - /** The contents of the comment. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddDiscussionComment */ -export type AddDiscussionCommentInput = { - /** The contents of the comment. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion to comment on. */ - discussionId: Scalars['ID']['input']; - /** The Node ID of the discussion comment within this discussion to reply to. */ - replyToId?: InputMaybe; -}; - -/** Autogenerated input type of AddDiscussionPollVote */ -export type AddDiscussionPollVoteInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion poll option to vote for. */ - pollOptionId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddEnterpriseOrganizationMember */ -export type AddEnterpriseOrganizationMemberInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise which owns the organization. */ - enterpriseId: Scalars['ID']['input']; - /** The ID of the organization the users will be added to. */ - organizationId: Scalars['ID']['input']; - /** The role to assign the users in the organization */ - role?: InputMaybe; - /** The IDs of the enterprise members to add. */ - userIds: Array; -}; - -/** Autogenerated input type of AddEnterpriseSupportEntitlement */ -export type AddEnterpriseSupportEntitlementInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Enterprise which the admin belongs to. */ - enterpriseId: Scalars['ID']['input']; - /** The login of a member who will receive the support entitlement. */ - login: Scalars['String']['input']; -}; - -/** Autogenerated input type of AddLabelsToLabelable */ -export type AddLabelsToLabelableInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ids of the labels to add. */ - labelIds: Array; - /** The id of the labelable object to add labels to. */ - labelableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddProjectCard */ -export type AddProjectCardInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The content of the card. Must be a member of the ProjectCardItem union */ - contentId?: InputMaybe; - /** The note on the card. */ - note?: InputMaybe; - /** The Node ID of the ProjectColumn. */ - projectColumnId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddProjectColumn */ -export type AddProjectColumnInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of the column. */ - name: Scalars['String']['input']; - /** The Node ID of the project. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddProjectV2DraftIssue */ -export type AddProjectV2DraftIssueInput = { - /** The IDs of the assignees of the draft issue. */ - assigneeIds?: InputMaybe>; - /** The body of the draft issue. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project to add the draft issue to. */ - projectId: Scalars['ID']['input']; - /** The title of the draft issue. A project item can also be created by providing the URL of an Issue or Pull Request if you have access. */ - title: Scalars['String']['input']; -}; - -/** Autogenerated input type of AddProjectV2ItemById */ -export type AddProjectV2ItemByIdInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the Issue or Pull Request to add. */ - contentId: Scalars['ID']['input']; - /** The ID of the Project to add the item to. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddPullRequestReviewComment */ -export type AddPullRequestReviewCommentInput = { - /** - * The text of the comment. This field is required - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** - * The SHA of the commit to comment on. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - commitOID?: InputMaybe; - /** - * The comment id to reply to. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - inReplyTo?: InputMaybe; - /** - * The relative path of the file to comment on. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - path?: InputMaybe; - /** - * The line index in the diff to comment on. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - position?: InputMaybe; - /** - * The node ID of the pull request reviewing - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `pullRequestId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - pullRequestId?: InputMaybe; - /** - * The Node ID of the review to modify. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `pullRequestReviewId` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead - * **Reason:** We are deprecating the addPullRequestReviewComment mutation - * - */ - pullRequestReviewId?: InputMaybe; -}; - -/** Autogenerated input type of AddPullRequestReview */ -export type AddPullRequestReviewInput = { - /** The contents of the review body comment. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** - * The review line comments. - * - * **Upcoming Change on 2023-10-01 UTC** - * **Description:** `comments` will be removed. use the `threads` argument instead - * **Reason:** We are deprecating comment fields that use diff-relative positioning - * - */ - comments?: InputMaybe>>; - /** The commit OID the review pertains to. */ - commitOID?: InputMaybe; - /** The event to perform on the pull request review. */ - event?: InputMaybe; - /** The Node ID of the pull request to modify. */ - pullRequestId: Scalars['ID']['input']; - /** The review line comment threads. */ - threads?: InputMaybe>>; -}; - -/** Autogenerated input type of AddPullRequestReviewThread */ -export type AddPullRequestReviewThreadInput = { - /** Body of the thread's first comment. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The line of the blob to which the thread refers, required for line-level threads. The end of the line range for multi-line comments. */ - line?: InputMaybe; - /** Path to the file being commented on. */ - path?: InputMaybe; - /** The node ID of the pull request reviewing */ - pullRequestId?: InputMaybe; - /** The Node ID of the review to modify. */ - pullRequestReviewId?: InputMaybe; - /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */ - side?: InputMaybe; - /** The first line of the range to which the comment refers. */ - startLine?: InputMaybe; - /** The side of the diff on which the start line resides. */ - startSide?: InputMaybe; - /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ - subjectType?: InputMaybe; -}; - -/** Autogenerated input type of AddPullRequestReviewThreadReply */ -export type AddPullRequestReviewThreadReplyInput = { - /** The text of the reply. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pending review to which the reply will belong. */ - pullRequestReviewId?: InputMaybe; - /** The Node ID of the thread to which this reply is being written. */ - pullRequestReviewThreadId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddReaction */ -export type AddReactionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of the emoji to react with. */ - content: ReactionContent; - /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddStar */ -export type AddStarInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Starrable ID to star. */ - starrableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddSubIssue */ -export type AddSubIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the issue. */ - issueId: Scalars['ID']['input']; - /** Option to replace parent issue if one already exists */ - replaceParent?: InputMaybe; - /** The id of the sub-issue. */ - subIssueId?: InputMaybe; - /** The url of the sub-issue. */ - subIssueUrl?: InputMaybe; -}; - -/** Autogenerated input type of AddUpvote */ -export type AddUpvoteInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion or comment to upvote. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of AddVerifiableDomain */ -export type AddVerifiableDomainInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The URL of the domain */ - domain: Scalars['URI']['input']; - /** The ID of the owner to add the domain to */ - ownerId: Scalars['ID']['input']; -}; - -/** Represents configuration for assigning Copilot to an issue (public variant) */ -export type AgentAssignmentInput = { - /** The base ref/branch for the repository. Defaults to the default branch if not provided. */ - baseRef?: InputMaybe; - /** Custom agent for Copilot. */ - customAgent?: InputMaybe; - /** Custom instructions for Copilot. */ - customInstructions?: InputMaybe; - /** The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided. */ - targetRepositoryId?: InputMaybe; -}; - -/** Autogenerated input type of ApproveDeployments */ -export type ApproveDeploymentsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Optional comment for approving deployments */ - comment?: InputMaybe; - /** The ids of environments to reject deployments */ - environmentIds: Array; - /** The node ID of the workflow run containing the pending deployments. */ - workflowRunId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ApproveVerifiableDomain */ -export type ApproveVerifiableDomainInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the verifiable domain to approve. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ArchiveProjectV2Item */ -export type ArchiveProjectV2ItemInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the ProjectV2Item to archive. */ - itemId: Scalars['ID']['input']; - /** The ID of the Project to archive the item from. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ArchiveRepository */ -export type ArchiveRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the repository to mark as archived. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Ordering options for Audit Log connections. */ -export type AuditLogOrder = { - /** The ordering direction. */ - direction?: InputMaybe; - /** The field to order Audit Logs by. */ - field?: InputMaybe; -}; - -/** Properties by which Audit Log connections can be ordered. */ -export type AuditLogOrderField = - /** Order audit log entries by timestamp */ - | 'CREATED_AT'; - -/** Parameters to be used for the branch_name_pattern rule */ -export type BranchNamePatternParametersInput = { - /** How this rule appears when configuring it. */ - name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - negate?: InputMaybe; - /** The operator to use for matching. */ - operator: Scalars['String']['input']; - /** The pattern to match with. */ - pattern: Scalars['String']['input']; -}; - -/** Information about a sponsorship to make for a user or organization with a GitHub Sponsors profile, as part of sponsoring many users or organizations at once. */ -export type BulkSponsorship = { - /** The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. */ - amount: Scalars['Int']['input']; - /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; - /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; -}; - -/** Autogenerated input type of CancelEnterpriseAdminInvitation */ -export type CancelEnterpriseAdminInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pending enterprise administrator invitation. */ - invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CancelEnterpriseMemberInvitation */ -export type CancelEnterpriseMemberInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pending enterprise member invitation. */ - invitationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CancelSponsorship */ -export type CancelSponsorshipInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ - sponsorId?: InputMaybe; - /** The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. */ - sponsorLogin?: InputMaybe; - /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; - /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; -}; - -/** Autogenerated input type of ChangeUserStatus */ -export type ChangeUserStatusInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. */ - emoji?: InputMaybe; - /** If set, the user status will not be shown after this date. */ - expiresAt?: InputMaybe; - /** Whether this status should indicate you are not fully available on GitHub, e.g., you are away. */ - limitedAvailability?: InputMaybe; - /** A short description of your current status. */ - message?: InputMaybe; - /** The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. */ - organizationId?: InputMaybe; -}; - -/** Information from a check run analysis to specific lines of code. */ -export type CheckAnnotationData = { - /** Represents an annotation's information level */ - annotationLevel: CheckAnnotationLevel; - /** The location of the annotation */ - location: CheckAnnotationRange; - /** A short description of the feedback for these lines of code. */ - message: Scalars['String']['input']; - /** The path of the file to add an annotation to. */ - path: Scalars['String']['input']; - /** Details about this annotation. */ - rawDetails?: InputMaybe; - /** The title that represents the annotation. */ - title?: InputMaybe; -}; - -/** Represents an annotation's information level. */ -export type CheckAnnotationLevel = - /** An annotation indicating an inescapable error. */ - | 'FAILURE' - /** An annotation indicating some information. */ - | 'NOTICE' - /** An annotation indicating an ignorable error. */ - | 'WARNING'; - -/** Information from a check run analysis to specific lines of code. */ -export type CheckAnnotationRange = { - /** The ending column of the range. */ - endColumn?: InputMaybe; - /** The ending line of the range. */ - endLine: Scalars['Int']['input']; - /** The starting column of the range. */ - startColumn?: InputMaybe; - /** The starting line of the range. */ - startLine: Scalars['Int']['input']; -}; - -/** The possible states for a check suite or run conclusion. */ -export type CheckConclusionState = - /** The check suite or run requires action. */ - | 'ACTION_REQUIRED' - /** The check suite or run has been cancelled. */ - | 'CANCELLED' - /** The check suite or run has failed. */ - | 'FAILURE' - /** The check suite or run was neutral. */ - | 'NEUTRAL' - /** The check suite or run was skipped. */ - | 'SKIPPED' - /** The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. */ - | 'STALE' - /** The check suite or run has failed at startup. */ - | 'STARTUP_FAILURE' - /** The check suite or run has succeeded. */ - | 'SUCCESS' - /** The check suite or run has timed out. */ - | 'TIMED_OUT'; - -/** Possible further actions the integrator can perform. */ -export type CheckRunAction = { - /** A short explanation of what this action would do. */ - description: Scalars['String']['input']; - /** A reference for the action on the integrator's system. */ - identifier: Scalars['String']['input']; - /** The text to be displayed on a button in the web UI. */ - label: Scalars['String']['input']; -}; - -/** The filters that are available when fetching check runs. */ -export type CheckRunFilter = { - /** Filters the check runs created by this application ID. */ - appId?: InputMaybe; - /** Filters the check runs by this name. */ - checkName?: InputMaybe; - /** Filters the check runs by this type. */ - checkType?: InputMaybe; - /** Filters the check runs by these conclusions. */ - conclusions?: InputMaybe>; - /** Filters the check runs by this status. Superceded by statuses. */ - status?: InputMaybe; - /** Filters the check runs by this status. Overrides status. */ - statuses?: InputMaybe>; -}; - -/** Descriptive details about the check run. */ -export type CheckRunOutput = { - /** The annotations that are made as part of the check run. */ - annotations?: InputMaybe>; - /** Images attached to the check run output displayed in the GitHub pull request UI. */ - images?: InputMaybe>; - /** The summary of the check run (supports Commonmark). */ - summary: Scalars['String']['input']; - /** The details of the check run (supports Commonmark). */ - text?: InputMaybe; - /** A title to provide for this check run. */ - title: Scalars['String']['input']; -}; - -/** Images attached to the check run output displayed in the GitHub pull request UI. */ -export type CheckRunOutputImage = { - /** The alternative text for the image. */ - alt: Scalars['String']['input']; - /** A short image description. */ - caption?: InputMaybe; - /** The full URL of the image. */ - imageUrl: Scalars['URI']['input']; -}; - -/** The possible states of a check run in a status rollup. */ -export type CheckRunState = - /** The check run requires action. */ - | 'ACTION_REQUIRED' - /** The check run has been cancelled. */ - | 'CANCELLED' - /** The check run has been completed. */ - | 'COMPLETED' - /** The check run has failed. */ - | 'FAILURE' - /** The check run is in progress. */ - | 'IN_PROGRESS' - /** The check run was neutral. */ - | 'NEUTRAL' - /** The check run is in pending state. */ - | 'PENDING' - /** The check run has been queued. */ - | 'QUEUED' - /** The check run was skipped. */ - | 'SKIPPED' - /** The check run was marked stale by GitHub. Only GitHub can use this conclusion. */ - | 'STALE' - /** The check run has failed at startup. */ - | 'STARTUP_FAILURE' - /** The check run has succeeded. */ - | 'SUCCESS' - /** The check run has timed out. */ - | 'TIMED_OUT' - /** The check run is in waiting state. */ - | 'WAITING'; - -/** The possible types of check runs. */ -export type CheckRunType = - /** Every check run available. */ - | 'ALL' - /** The latest check run. */ - | 'LATEST'; - -/** The possible states for a check suite or run status. */ -export type CheckStatusState = - /** The check suite or run has been completed. */ - | 'COMPLETED' - /** The check suite or run is in progress. */ - | 'IN_PROGRESS' - /** The check suite or run is in pending state. */ - | 'PENDING' - /** The check suite or run has been queued. */ - | 'QUEUED' - /** The check suite or run has been requested. */ - | 'REQUESTED' - /** The check suite or run is in waiting state. */ - | 'WAITING'; - -/** The auto-trigger preferences that are available for check suites. */ -export type CheckSuiteAutoTriggerPreference = { - /** The node ID of the application that owns the check suite. */ - appId: Scalars['ID']['input']; - /** Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. */ - setting: Scalars['Boolean']['input']; -}; - -/** The filters that are available when fetching check suites. */ -export type CheckSuiteFilter = { - /** Filters the check suites created by this application ID. */ - appId?: InputMaybe; - /** Filters the check suites by this name. */ - checkName?: InputMaybe; -}; - -/** Autogenerated input type of ClearLabelsFromLabelable */ -export type ClearLabelsFromLabelableInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the labelable object to clear the labels from. */ - labelableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ClearProjectV2ItemFieldValue */ -export type ClearProjectV2ItemFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the field to be cleared. */ - fieldId: Scalars['ID']['input']; - /** The ID of the item to be cleared. */ - itemId: Scalars['ID']['input']; - /** The ID of the Project. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CloneProject */ -export type CloneProjectInput = { - /** The description of the project. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether or not to clone the source project's workflows. */ - includeWorkflows: Scalars['Boolean']['input']; - /** The name of the project. */ - name: Scalars['String']['input']; - /** The visibility of the project, defaults to false (private). */ - public?: InputMaybe; - /** The source project to clone. */ - sourceId: Scalars['ID']['input']; - /** The owner ID to create the project under. */ - targetOwnerId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CloneTemplateRepository */ -export type CloneTemplateRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A short description of the new repository. */ - description?: InputMaybe; - /** Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template. */ - includeAllBranches?: InputMaybe; - /** The name of the new repository. */ - name: Scalars['String']['input']; - /** The ID of the owner for the new repository. */ - ownerId: Scalars['ID']['input']; - /** The Node ID of the template repository. */ - repositoryId: Scalars['ID']['input']; - /** Indicates the repository's visibility level. */ - visibility: RepositoryVisibility; -}; - -/** Autogenerated input type of CloseDiscussion */ -export type CloseDiscussionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the discussion to be closed. */ - discussionId: Scalars['ID']['input']; - /** The reason why the discussion is being closed. */ - reason?: InputMaybe; -}; - -/** Autogenerated input type of CloseIssue */ -export type CloseIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the issue that this is a duplicate of. */ - duplicateIssueId?: InputMaybe; - /** ID of the issue to be closed. */ - issueId: Scalars['ID']['input']; - /** The reason the issue is to be closed. */ - stateReason?: InputMaybe; -}; - -/** Autogenerated input type of ClosePullRequest */ -export type ClosePullRequestInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the pull request to be closed. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. */ -export type CodeScanningParametersInput = { - /** Tools that must provide code scanning results for this rule to pass. */ - codeScanningTools: Array; -}; - -/** A tool that must provide code scanning results for this rule to pass. */ -export type CodeScanningToolInput = { - /** The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." */ - alertsThreshold: Scalars['String']['input']; - /** The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." */ - securityAlertsThreshold: Scalars['String']['input']; - /** The name of a code scanning tool */ - tool: Scalars['String']['input']; -}; - -/** Collaborators affiliation level with a subject. */ -export type CollaboratorAffiliation = - /** All collaborators the authenticated user can see. */ - | 'ALL' - /** All collaborators with permissions to an organization-owned subject, regardless of organization membership status. */ - | 'DIRECT' - /** All outside collaborators of an organization-owned subject. */ - | 'OUTSIDE'; - -/** A comment author association with repository. */ -export type CommentAuthorAssociation = - /** Author has been invited to collaborate on the repository. */ - | 'COLLABORATOR' - /** Author has previously committed to the repository. */ - | 'CONTRIBUTOR' - /** Author has not previously committed to GitHub. */ - | 'FIRST_TIMER' - /** Author has not previously committed to the repository. */ - | 'FIRST_TIME_CONTRIBUTOR' - /** Author is a placeholder for an unclaimed user. */ - | 'MANNEQUIN' - /** Author is a member of the organization that owns the repository. */ - | 'MEMBER' - /** Author has no association with the repository. */ - | 'NONE' - /** Author is the owner of the repository. */ - | 'OWNER'; - -/** The possible errors that will prevent a user from updating a comment. */ -export type CommentCannotUpdateReason = - /** Unable to create comment because repository is archived. */ - | 'ARCHIVED' - /** You cannot update this comment */ - | 'DENIED' - /** You must be the author or have write access to this repository to update this comment. */ - | 'INSUFFICIENT_ACCESS' - /** Unable to create comment because issue is locked. */ - | 'LOCKED' - /** You must be logged in to update this comment. */ - | 'LOGIN_REQUIRED' - /** Repository is under maintenance. */ - | 'MAINTENANCE' - /** At least one email address must be verified to update this comment. */ - | 'VERIFIED_EMAIL_REQUIRED'; - -/** Specifies an author for filtering Git commits. */ -export type CommitAuthor = { - /** Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. */ - emails?: InputMaybe>; - /** ID of a User to filter by. If non-null, only commits authored by this user will be returned. This field takes precedence over emails. */ - id?: InputMaybe; -}; - -/** Parameters to be used for the commit_author_email_pattern rule */ -export type CommitAuthorEmailPatternParametersInput = { - /** How this rule appears when configuring it. */ - name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - negate?: InputMaybe; - /** The operator to use for matching. */ - operator: Scalars['String']['input']; - /** The pattern to match with. */ - pattern: Scalars['String']['input']; -}; - -/** Ordering options for commit contribution connections. */ -export type CommitContributionOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field by which to order commit contributions. */ - field: CommitContributionOrderField; -}; - -/** Properties by which commit contribution connections can be ordered. */ -export type CommitContributionOrderField = - /** Order commit contributions by how many commits they represent. */ - | 'COMMIT_COUNT' - /** Order commit contributions by when they were made. */ - | 'OCCURRED_AT'; - -/** A message to include with a new commit */ -export type CommitMessage = { - /** The body of the message. */ - body?: InputMaybe; - /** The headline of the message. */ - headline: Scalars['String']['input']; -}; - -/** Parameters to be used for the commit_message_pattern rule */ -export type CommitMessagePatternParametersInput = { - /** How this rule appears when configuring it. */ - name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - negate?: InputMaybe; - /** The operator to use for matching. */ - operator: Scalars['String']['input']; - /** The pattern to match with. */ - pattern: Scalars['String']['input']; -}; - -/** - * A git ref for a commit to be appended to. - * - * The ref must be a branch, i.e. its fully qualified name must start - * with `refs/heads/` (although the input is not required to be fully - * qualified). - * - * The Ref may be specified by its global node ID or by the - * `repositoryNameWithOwner` and `branchName`. - * - * ### Examples - * - * Specify a branch using a global node ID: - * - * { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } - * - * Specify a branch using `repositoryNameWithOwner` and `branchName`: - * - * { - * "repositoryNameWithOwner": "github/graphql-client", - * "branchName": "main" - * } - * - * - */ -export type CommittableBranch = { - /** The unqualified name of the branch to append the commit to. */ - branchName?: InputMaybe; - /** The Node ID of the Ref to be updated. */ - id?: InputMaybe; - /** The nameWithOwner of the repository to commit to. */ - repositoryNameWithOwner?: InputMaybe; -}; - -/** Parameters to be used for the committer_email_pattern rule */ -export type CommitterEmailPatternParametersInput = { - /** How this rule appears when configuring it. */ - name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - negate?: InputMaybe; - /** The operator to use for matching. */ - operator: Scalars['String']['input']; - /** The pattern to match with. */ - pattern: Scalars['String']['input']; -}; - -/** The status of a git comparison between two refs. */ -export type ComparisonStatus = - /** The head ref is ahead of the base ref. */ - | 'AHEAD' - /** The head ref is behind the base ref. */ - | 'BEHIND' - /** The head ref is both ahead and behind of the base ref, indicating git history has diverged. */ - | 'DIVERGED' - /** The head ref and base ref are identical. */ - | 'IDENTICAL'; - -/** Varying levels of contributions from none to many. */ -export type ContributionLevel = - /** Lowest 25% of days of contributions. */ - | 'FIRST_QUARTILE' - /** Highest 25% of days of contributions. More contributions than the third quartile. */ - | 'FOURTH_QUARTILE' - /** No contributions occurred. */ - | 'NONE' - /** Second lowest 25% of days of contributions. More contributions than the first quartile. */ - | 'SECOND_QUARTILE' - /** Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. */ - | 'THIRD_QUARTILE'; - -/** Ordering options for contribution connections. */ -export type ContributionOrder = { - /** The ordering direction. */ - direction: OrderDirection; -}; - -/** Autogenerated input type of ConvertProjectCardNoteToIssue */ -export type ConvertProjectCardNoteToIssueInput = { - /** The body of the newly created issue. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ProjectCard ID to convert. */ - projectCardId: Scalars['ID']['input']; - /** The ID of the repository to create the issue in. */ - repositoryId: Scalars['ID']['input']; - /** The title of the newly created issue. Defaults to the card's note text. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue */ -export type ConvertProjectV2DraftIssueItemToIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the draft issue ProjectV2Item to convert. */ - itemId: Scalars['ID']['input']; - /** The ID of the repository to create the issue in. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ConvertPullRequestToDraft */ -export type ConvertPullRequestToDraftInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the pull request to convert to draft */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review and their premium requests quota has not reached the limit. */ -export type CopilotCodeReviewParametersInput = { - /** Copilot automatically reviews draft pull requests before they are marked as ready for review. */ - reviewDraftPullRequests?: InputMaybe; - /** Copilot automatically reviews each new push to the pull request. */ - reviewOnPush?: InputMaybe; -}; - -/** Autogenerated input type of CopyProjectV2 */ -export type CopyProjectV2Input = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Include draft issues in the new project */ - includeDraftIssues?: InputMaybe; - /** The owner ID of the new project. */ - ownerId: Scalars['ID']['input']; - /** The ID of the source Project to copy. */ - projectId: Scalars['ID']['input']; - /** The title of the project. */ - title: Scalars['String']['input']; -}; - -/** Autogenerated input type of CreateAttributionInvitation */ -export type CreateAttributionInvitationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the owner scoping the reattributable data. */ - ownerId: Scalars['ID']['input']; - /** The Node ID of the account owning the data to reattribute. */ - sourceId: Scalars['ID']['input']; - /** The Node ID of the account which may claim the data. */ - targetId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateBranchProtectionRule */ -export type CreateBranchProtectionRuleInput = { - /** Can this branch be deleted. */ - allowsDeletions?: InputMaybe; - /** Are force pushes allowed on this branch. */ - allowsForcePushes?: InputMaybe; - /** Is branch creation a protected operation. */ - blocksCreations?: InputMaybe; - /** A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. */ - bypassForcePushActorIds?: InputMaybe>; - /** A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. */ - bypassPullRequestActorIds?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Will new commits pushed to matching branches dismiss pull request review approvals. */ - dismissesStaleReviews?: InputMaybe; - /** Can admins override branch protection. */ - isAdminEnforced?: InputMaybe; - /** Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. */ - lockAllowsFetchAndMerge?: InputMaybe; - /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ - lockBranch?: InputMaybe; - /** The glob-like pattern used to determine matching branches. */ - pattern: Scalars['String']['input']; - /** A list of User, Team, or App IDs allowed to push to matching branches. */ - pushActorIds?: InputMaybe>; - /** The global relay id of the repository in which a new branch protection rule should be created in. */ - repositoryId: Scalars['ID']['input']; - /** Whether the most recent push must be approved by someone other than the person who pushed it */ - requireLastPushApproval?: InputMaybe; - /** Number of approving reviews required to update matching branches. */ - requiredApprovingReviewCount?: InputMaybe; - /** The list of required deployment environments */ - requiredDeploymentEnvironments?: InputMaybe>; - /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ - requiredStatusCheckContexts?: InputMaybe>; - /** The list of required status checks */ - requiredStatusChecks?: InputMaybe>; - /** Are approving reviews required to update matching branches. */ - requiresApprovingReviews?: InputMaybe; - /** Are reviews from code owners required to update matching branches. */ - requiresCodeOwnerReviews?: InputMaybe; - /** Are commits required to be signed. */ - requiresCommitSignatures?: InputMaybe; - /** Are conversations required to be resolved before merging. */ - requiresConversationResolution?: InputMaybe; - /** Are successful deployments required before merging. */ - requiresDeployments?: InputMaybe; - /** Are merge commits prohibited from being pushed to this branch. */ - requiresLinearHistory?: InputMaybe; - /** Are status checks required to update matching branches. */ - requiresStatusChecks?: InputMaybe; - /** Are branches required to be up to date before merging. */ - requiresStrictStatusChecks?: InputMaybe; - /** Is pushing to matching branches restricted. */ - restrictsPushes?: InputMaybe; - /** Is dismissal of pull request reviews restricted. */ - restrictsReviewDismissals?: InputMaybe; - /** A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. */ - reviewDismissalActorIds?: InputMaybe>; -}; - -/** Autogenerated input type of CreateCheckRun */ -export type CreateCheckRunInput = { - /** Possible further actions the integrator can perform, which a user may trigger. */ - actions?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The time that the check run finished. */ - completedAt?: InputMaybe; - /** The final conclusion of the check. */ - conclusion?: InputMaybe; - /** The URL of the integrator's site that has the full details of the check. */ - detailsUrl?: InputMaybe; - /** A reference for the run on the integrator's system. */ - externalId?: InputMaybe; - /** The SHA of the head commit. */ - headSha: Scalars['GitObjectID']['input']; - /** The name of the check. */ - name: Scalars['String']['input']; - /** Descriptive details about the run. */ - output?: InputMaybe; - /** The node ID of the repository. */ - repositoryId: Scalars['ID']['input']; - /** The time that the check run began. */ - startedAt?: InputMaybe; - /** The current status. */ - status?: InputMaybe; -}; - -/** Autogenerated input type of CreateCheckSuite */ -export type CreateCheckSuiteInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The SHA of the head commit. */ - headSha: Scalars['GitObjectID']['input']; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateCommitOnBranch */ -export type CreateCommitOnBranchInput = { - /** The Ref to be updated. Must be a branch. */ - branch: CommittableBranch; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The git commit oid expected at the head of the branch prior to the commit */ - expectedHeadOid: Scalars['GitObjectID']['input']; - /** A description of changes to files in this commit. */ - fileChanges?: InputMaybe; - /** The commit message the be included with the commit. */ - message: CommitMessage; -}; - -/** Autogenerated input type of CreateDeployment */ -export type CreateDeploymentInput = { - /** Attempt to automatically merge the default branch into the requested ref, defaults to true. */ - autoMerge?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Short description of the deployment. */ - description?: InputMaybe; - /** Name for the target deployment environment. */ - environment?: InputMaybe; - /** JSON payload with extra information about the deployment. */ - payload?: InputMaybe; - /** The node ID of the ref to be deployed. */ - refId: Scalars['ID']['input']; - /** The node ID of the repository. */ - repositoryId: Scalars['ID']['input']; - /** The status contexts to verify against commit status checks. To bypass required contexts, pass an empty array. Defaults to all unique contexts. */ - requiredContexts?: InputMaybe>; - /** Specifies a task to execute. */ - task?: InputMaybe; -}; - -/** Autogenerated input type of CreateDeploymentStatus */ -export type CreateDeploymentStatusInput = { - /** Adds a new inactive status to all non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment. */ - autoInactive?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The node ID of the deployment. */ - deploymentId: Scalars['ID']['input']; - /** A short description of the status. Maximum length of 140 characters. */ - description?: InputMaybe; - /** If provided, updates the environment of the deploy. Otherwise, does not modify the environment. */ - environment?: InputMaybe; - /** Sets the URL for accessing your environment. */ - environmentUrl?: InputMaybe; - /** The log URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. */ - logUrl?: InputMaybe; - /** The state of the deployment. */ - state: DeploymentStatusState; -}; - -/** Autogenerated input type of CreateDiscussion */ -export type CreateDiscussionInput = { - /** The body of the discussion. */ - body: Scalars['String']['input']; - /** The id of the discussion category to associate with this discussion. */ - categoryId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the repository on which to create the discussion. */ - repositoryId: Scalars['ID']['input']; - /** The title of the discussion. */ - title: Scalars['String']['input']; -}; - -/** Autogenerated input type of CreateEnterpriseOrganization */ -export type CreateEnterpriseOrganizationInput = { - /** The logins for the administrators of the new organization. */ - adminLogins: Array; - /** The email used for sending billing receipts. */ - billingEmail: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise owning the new organization. */ - enterpriseId: Scalars['ID']['input']; - /** The login of the new organization. */ - login: Scalars['String']['input']; - /** The profile name of the new organization. */ - profileName: Scalars['String']['input']; -}; - -/** Autogenerated input type of CreateEnvironment */ -export type CreateEnvironmentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of the environment. */ - name: Scalars['String']['input']; - /** The node ID of the repository. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateIpAllowListEntry */ -export type CreateIpAllowListEntryInput = { - /** An IP address or range of addresses in CIDR notation. */ - allowListValue: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether the IP allow list entry is active when an IP allow list is enabled. */ - isActive: Scalars['Boolean']['input']; - /** An optional name for the IP allow list entry. */ - name?: InputMaybe; - /** The ID of the owner for which to create the new IP allow list entry. */ - ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateIssueField */ -export type CreateIssueFieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The data type of the issue field. */ - dataType: IssueFieldDataType; - /** A description of the issue field. */ - description?: InputMaybe; - /** The name of the issue field. */ - name: Scalars['String']['input']; - /** The options for the issue field if applicable. */ - options?: InputMaybe>; - /** The ID of the organization where the issue field will be created. */ - ownerId: Scalars['ID']['input']; - /** The visibility of the issue field. */ - visibility?: InputMaybe; -}; - -/** Autogenerated input type of CreateIssueFieldValue */ -export type CreateIssueFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The field value to create. */ - issueField: IssueFieldCreateOrUpdateInput; - /** The ID of the issue. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateIssue */ -export type CreateIssueInput = { - /** Configuration for assigning Copilot to this issue. */ - agentAssignment?: InputMaybe; - /** The Node ID of assignees for this issue. */ - assigneeIds?: InputMaybe>; - /** The body for the issue description. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** An array of issue fields to set on the issue during creation */ - issueFields?: InputMaybe>; - /** The name of an issue template in the repository, assigns labels and assignees from the template to the issue */ - issueTemplate?: InputMaybe; - /** The Node ID of the issue type for this issue */ - issueTypeId?: InputMaybe; - /** An array of Node IDs of labels for this issue. */ - labelIds?: InputMaybe>; - /** The Node ID of the milestone for this issue. */ - milestoneId?: InputMaybe; - /** The Node ID of the parent issue to add this new issue to */ - parentIssueId?: InputMaybe; - /** An array of Node IDs for projects associated with this issue. */ - projectIds?: InputMaybe>; - /** An array of Node IDs for Projects V2 associated with this issue. */ - projectV2Ids?: InputMaybe>; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; - /** The title for the issue. */ - title: Scalars['String']['input']; -}; - -/** Autogenerated input type of CreateIssueType */ -export type CreateIssueTypeInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Color for the issue type */ - color?: InputMaybe; - /** Description of the new issue type */ - description?: InputMaybe; - /** Whether or not the issue type is enabled on the org level */ - isEnabled: Scalars['Boolean']['input']; - /** Name of the new issue type */ - name: Scalars['String']['input']; - /** The ID for the organization on which the issue type is created */ - ownerId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateLabel */ -export type CreateLabelInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A 6 character hex code, without the leading #, identifying the color of the label. */ - color: Scalars['String']['input']; - /** A brief description of the label, such as its purpose. */ - description?: InputMaybe; - /** The name of the label. */ - name: Scalars['String']['input']; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateLinkedBranch */ -export type CreateLinkedBranchInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the issue to link to. */ - issueId: Scalars['ID']['input']; - /** The name of the new branch. Defaults to issue number and title. */ - name?: InputMaybe; - /** The commit SHA to base the new branch on. */ - oid: Scalars['GitObjectID']['input']; - /** ID of the repository to create the branch in. Defaults to the issue repository. */ - repositoryId?: InputMaybe; -}; - -/** Autogenerated input type of CreateMigrationSource */ -export type CreateMigrationSourceInput = { - /** The migration source access token. */ - accessToken?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The GitHub personal access token of the user importing to the target repository. */ - githubPat?: InputMaybe; - /** The migration source name. */ - name: Scalars['String']['input']; - /** The ID of the organization that will own the migration source. */ - ownerId: Scalars['ID']['input']; - /** The migration source type. */ - type: MigrationSourceType; - /** The migration source URL, for example `https://github.com` or `https://monalisa.ghe.com`. */ - url?: InputMaybe; -}; - -/** Autogenerated input type of CreateProject */ -export type CreateProjectInput = { - /** The description of project. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of project. */ - name: Scalars['String']['input']; - /** The owner ID to create the project under. */ - ownerId: Scalars['ID']['input']; - /** A list of repository IDs to create as linked repositories for the project */ - repositoryIds?: InputMaybe>; - /** The name of the GitHub-provided template. */ - template?: InputMaybe; -}; - -/** Autogenerated input type of CreateProjectV2Field */ -export type CreateProjectV2FieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The data type of the field. */ - dataType: ProjectV2CustomFieldType; - /** Configuration for an iteration field. */ - iterationConfiguration?: InputMaybe; - /** The name of the field. */ - name: Scalars['String']['input']; - /** The ID of the Project to create the field in. */ - projectId: Scalars['ID']['input']; - /** Options for a single select field. At least one value is required if data_type is SINGLE_SELECT */ - singleSelectOptions?: InputMaybe>; -}; - -/** Autogenerated input type of CreateProjectV2 */ -export type CreateProjectV2Input = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The owner ID to create the project under. */ - ownerId: Scalars['ID']['input']; - /** The repository to link the project to. */ - repositoryId?: InputMaybe; - /** The team to link the project to. The team will be granted read permissions. */ - teamId?: InputMaybe; - /** The title of the project. */ - title: Scalars['String']['input']; -}; - -/** Autogenerated input type of CreateProjectV2IssueField */ -export type CreateProjectV2IssueFieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the IssueField to create the field for. */ - issueFieldId: Scalars['ID']['input']; - /** The ID of the Project to create the field in. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateProjectV2StatusUpdate */ -export type CreateProjectV2StatusUpdateInput = { - /** The body of the status update. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project to create the status update in. */ - projectId: Scalars['ID']['input']; - /** The start date of the status update. */ - startDate?: InputMaybe; - /** The status of the status update. */ - status?: InputMaybe; - /** The target date of the status update. */ - targetDate?: InputMaybe; -}; - -/** Autogenerated input type of CreatePullRequest */ -export type CreatePullRequestInput = { - /** - * The name of the branch you want your changes pulled into. This should be an existing branch - * on the current repository. You cannot update the base branch on a pull request to point - * to another repository. - * - */ - baseRefName: Scalars['String']['input']; - /** The contents of the pull request. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Indicates whether this pull request should be a draft. */ - draft?: InputMaybe; - /** - * The name of the branch where your changes are implemented. For cross-repository pull requests - * in the same network, namespace `head_ref_name` with a user like this: `username:branch`. - * - */ - headRefName: Scalars['String']['input']; - /** The Node ID of the head repository. */ - headRepositoryId?: InputMaybe; - /** Indicates whether maintainers can modify the pull request. */ - maintainerCanModify?: InputMaybe; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; - /** The title of the pull request. */ - title: Scalars['String']['input']; -}; - -/** Autogenerated input type of CreateRef */ -export type CreateRefInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`). */ - name: Scalars['String']['input']; - /** The GitObjectID that the new Ref shall target. Must point to a commit. */ - oid: Scalars['GitObjectID']['input']; - /** The Node ID of the Repository to create the Ref in. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of CreateRepositoryCustomProperty */ -export type CreateRepositoryCustomPropertyInput = { - /** The allowed values for the custom property. */ - allowedValues?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The default value for the custom property if the property is required. */ - defaultValue?: InputMaybe; - /** The description of the custom property. */ - description?: InputMaybe; - /** The name of the custom property. */ - propertyName: Scalars['String']['input']; - /** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */ - regex?: InputMaybe; - /** Whether this repository custom property requires explicit values. */ - requireExplicitValues?: InputMaybe; - /** Whether the custom property is required. */ - required?: InputMaybe; - /** The global relay id of the source in which a new custom property should be created in. */ - sourceId: Scalars['ID']['input']; - /** The value type for the custom property. */ - valueType: CustomPropertyValueType; - /** The allowed actors who can edit the values of a custom property. */ - valuesEditableBy?: InputMaybe; -}; - -/** Autogenerated input type of CreateRepository */ -export type CreateRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A short description of the new repository. */ - description?: InputMaybe; - /** Indicates if the repository should have the issues feature enabled. */ - hasIssuesEnabled?: InputMaybe; - /** Indicates if the repository should have the wiki feature enabled. */ - hasWikiEnabled?: InputMaybe; - /** The URL for a web page about this repository. */ - homepageUrl?: InputMaybe; - /** The name of the new repository. */ - name: Scalars['String']['input']; - /** The ID of the owner for the new repository. */ - ownerId?: InputMaybe; - /** When an organization is specified as the owner, this ID identifies the team that should be granted access to the new repository. */ - teamId?: InputMaybe; - /** Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. */ - template?: InputMaybe; - /** Indicates the repository's visibility level. */ - visibility: RepositoryVisibility; -}; - -/** Autogenerated input type of CreateRepositoryRuleset */ -export type CreateRepositoryRulesetInput = { - /** A list of actors that are allowed to bypass rules in this ruleset. */ - bypassActors?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The set of conditions for this ruleset */ - conditions: RepositoryRuleConditionsInput; - /** The enforcement level for this ruleset */ - enforcement: RuleEnforcement; - /** The name of the ruleset. */ - name: Scalars['String']['input']; - /** The list of rules for this ruleset */ - rules?: InputMaybe>; - /** The global relay id of the source in which a new ruleset should be created in. */ - sourceId: Scalars['ID']['input']; - /** The target of the ruleset. */ - target?: InputMaybe; -}; - -/** Autogenerated input type of CreateSponsorsListing */ -export type CreateSponsorsListingInput = { - /** The country or region where the sponsorable's bank account is located. Required if fiscalHostLogin is not specified, ignored when fiscalHostLogin is specified. */ - billingCountryOrRegionCode?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The email address we should use to contact you about the GitHub Sponsors profile being created. This will not be shared publicly. Must be a verified email address already on your GitHub account. Only relevant when the sponsorable is yourself. Defaults to your primary email address on file if omitted. */ - contactEmail?: InputMaybe; - /** The username of the supported fiscal host's GitHub organization, if you want to receive sponsorship payouts through a fiscal host rather than directly to a bank account. For example, 'Open-Source-Collective' for Open Source Collective or 'numfocus' for numFOCUS. Case insensitive. See https://docs.github.com/sponsors/receiving-sponsorships-through-github-sponsors/using-a-fiscal-host-to-receive-github-sponsors-payouts for more information. */ - fiscalHostLogin?: InputMaybe; - /** The URL for your profile page on the fiscal host's website, e.g., https://opencollective.com/babel or https://numfocus.org/project/bokeh. Required if fiscalHostLogin is specified. */ - fiscallyHostedProjectProfileUrl?: InputMaybe; - /** Provide an introduction to serve as the main focus that appears on your GitHub Sponsors profile. It's a great opportunity to help potential sponsors learn more about you, your work, and why their sponsorship is important to you. GitHub-flavored Markdown is supported. */ - fullDescription?: InputMaybe; - /** The country or region where the sponsorable resides. This is for tax purposes. Required if the sponsorable is yourself, ignored when sponsorableLogin specifies an organization. */ - residenceCountryOrRegionCode?: InputMaybe; - /** The username of the organization to create a GitHub Sponsors profile for, if desired. Defaults to creating a GitHub Sponsors profile for the authenticated user if omitted. */ - sponsorableLogin?: InputMaybe; -}; - -/** Autogenerated input type of CreateSponsorsTier */ -export type CreateSponsorsTierInput = { - /** The value of the new tier in US dollars. Valid values: 1-12000. */ - amount: Scalars['Int']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A description of what this tier is, what perks sponsors might receive, what a sponsorship at this tier means for you, etc. */ - description: Scalars['String']['input']; - /** Whether sponsorships using this tier should happen monthly/yearly or just once. */ - isRecurring?: InputMaybe; - /** Whether to make the tier available immediately for sponsors to choose. Defaults to creating a draft tier that will not be publicly visible. */ - publish?: InputMaybe; - /** Optional ID of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. */ - repositoryId?: InputMaybe; - /** Optional name of the private repository that sponsors at this tier should gain read-only access to. Must be owned by an organization. Necessary if repositoryOwnerLogin is given. Will be ignored if repositoryId is given. */ - repositoryName?: InputMaybe; - /** Optional login of the organization owner of the private repository that sponsors at this tier should gain read-only access to. Necessary if repositoryName is given. Will be ignored if repositoryId is given. */ - repositoryOwnerLogin?: InputMaybe; - /** The ID of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; - /** The username of the user or organization who owns the GitHub Sponsors profile. Defaults to the current user if omitted and sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; - /** Optional message new sponsors at this tier will receive. */ - welcomeMessage?: InputMaybe; -}; - -/** Autogenerated input type of CreateSponsorship */ -export type CreateSponsorshipInput = { - /** The amount to pay to the sponsorable in US dollars. Required if a tierId is not specified. Valid values: 1-12000. */ - amount?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether the sponsorship should happen monthly/yearly or just this one time. Required if a tierId is not specified. */ - isRecurring?: InputMaybe; - /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. */ - privacyLevel?: InputMaybe; - /** Whether the sponsor should receive email updates from the sponsorable. */ - receiveEmails?: InputMaybe; - /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ - sponsorId?: InputMaybe; - /** The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. */ - sponsorLogin?: InputMaybe; - /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; - /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; - /** The ID of one of sponsorable's existing tiers to sponsor at. Required if amount is not specified. */ - tierId?: InputMaybe; -}; - -/** Autogenerated input type of CreateSponsorships */ -export type CreateSponsorshipsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorables. Public visibility still does not reveal the dollar value of the sponsorship. */ - privacyLevel?: InputMaybe; - /** Whether the sponsor should receive email updates from the sponsorables. */ - receiveEmails?: InputMaybe; - /** Whether the sponsorships created should continue each billing cycle for the sponsor (monthly or annually), versus lasting only a single month. Defaults to one-time sponsorships. */ - recurring?: InputMaybe; - /** The username of the user or organization who is acting as the sponsor, paying for the sponsorships. */ - sponsorLogin: Scalars['String']['input']; - /** The list of maintainers to sponsor and for how much apiece. */ - sponsorships: Array; -}; - -/** Autogenerated input type of CreateUserList */ -export type CreateUserListInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A description of the list */ - description?: InputMaybe; - /** Whether or not the list is private */ - isPrivate?: InputMaybe; - /** The name of the new list */ - name: Scalars['String']['input']; -}; - -/** The custom property name and value to be set. */ -export type CustomPropertyValueInput = { - /** The name of the custom property. */ - propertyName: Scalars['String']['input']; - /** The value to set for the custom property. Using a value of null will unset the property value, reverting to the default value if the property is required. */ - value?: InputMaybe; -}; - -/** The allowed value types for a custom property definition. */ -export type CustomPropertyValueType = - /** A multi-select value. */ - | 'MULTI_SELECT' - /** A single-select value. */ - | 'SINGLE_SELECT' - /** A string value. */ - | 'STRING' - /** A true/false value. */ - | 'TRUE_FALSE' - /** A URL value. */ - | 'URL'; - -/** Autogenerated input type of DeclineTopicSuggestion */ -export type DeclineTopicSuggestionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** - * The name of the suggested topic. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `name` will be removed. - * **Reason:** Suggested topics are no longer supported - * - */ - name?: InputMaybe; - /** - * The reason why the suggested topic is declined. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `reason` will be removed. - * **Reason:** Suggested topics are no longer supported - * - */ - reason?: InputMaybe; - /** - * The Node ID of the repository. - * - * **Upcoming Change on 2024-04-01 UTC** - * **Description:** `repositoryId` will be removed. - * **Reason:** Suggested topics are no longer supported - * - */ - repositoryId?: InputMaybe; -}; - -/** The possible base permissions for repositories. */ -export type DefaultRepositoryPermissionField = - /** Can read, write, and administrate repos by default */ - | 'ADMIN' - /** No access */ - | 'NONE' - /** Can read repos by default */ - | 'READ' - /** Can read and write repos by default */ - | 'WRITE'; - -/** Autogenerated input type of DeleteBranchProtectionRule */ -export type DeleteBranchProtectionRuleInput = { - /** The global relay id of the branch protection rule to be deleted. */ - branchProtectionRuleId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; -}; - -/** Autogenerated input type of DeleteDeployment */ -export type DeleteDeploymentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the deployment to be deleted. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteDiscussionComment */ -export type DeleteDiscussionCommentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node id of the discussion comment to delete. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteDiscussion */ -export type DeleteDiscussionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the discussion to delete. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteEnvironment */ -export type DeleteEnvironmentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the environment to be deleted. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteIpAllowListEntry */ -export type DeleteIpAllowListEntryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the IP allow list entry to delete. */ - ipAllowListEntryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteIssueComment */ -export type DeleteIssueCommentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the comment to delete. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteIssueField */ -export type DeleteIssueFieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the field to delete. */ - fieldId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteIssueFieldValue */ -export type DeleteIssueFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the field to delete. */ - fieldId: Scalars['ID']['input']; - /** The ID of the issue. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteIssue */ -export type DeleteIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the issue to delete. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteIssueType */ -export type DeleteIssueTypeInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the issue type to delete */ - issueTypeId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteLabel */ -export type DeleteLabelInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the label to be deleted. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteLinkedBranch */ -export type DeleteLinkedBranchInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the linked branch */ - linkedBranchId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeletePackageVersion */ -export type DeletePackageVersionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the package version to be deleted. */ - packageVersionId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProjectCard */ -export type DeleteProjectCardInput = { - /** The id of the card to delete. */ - cardId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; -}; - -/** Autogenerated input type of DeleteProjectColumn */ -export type DeleteProjectColumnInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the column to delete. */ - columnId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProject */ -export type DeleteProjectInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Project ID to update. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProjectV2Field */ -export type DeleteProjectV2FieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the field to delete. */ - fieldId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProjectV2 */ -export type DeleteProjectV2Input = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project to delete. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProjectV2Item */ -export type DeleteProjectV2ItemInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the item to be removed. */ - itemId: Scalars['ID']['input']; - /** The ID of the Project from which the item should be removed. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProjectV2StatusUpdate */ -export type DeleteProjectV2StatusUpdateInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the status update to be removed. */ - statusUpdateId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteProjectV2Workflow */ -export type DeleteProjectV2WorkflowInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the workflow to be removed. */ - workflowId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeletePullRequestReviewComment */ -export type DeletePullRequestReviewCommentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the comment to delete. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeletePullRequestReview */ -export type DeletePullRequestReviewInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pull request review to delete. */ - pullRequestReviewId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteRef */ -export type DeleteRefInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the Ref to be deleted. */ - refId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteRepositoryCustomProperty */ -export type DeleteRepositoryCustomPropertyInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The global relay id of the custom property to be deleted. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteRepositoryRuleset */ -export type DeleteRepositoryRulesetInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The global relay id of the repository ruleset to be deleted. */ - repositoryRulesetId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteUserList */ -export type DeleteUserListInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the list to delete. */ - listId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of DeleteVerifiableDomain */ -export type DeleteVerifiableDomainInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the verifiable domain to delete. */ - id: Scalars['ID']['input']; -}; - -/** The possible ecosystems of a dependency graph package. */ -export type DependencyGraphEcosystem = - /** GitHub Actions */ - | 'ACTIONS' - /** PHP packages hosted at packagist.org */ - | 'COMPOSER' - /** Go modules */ - | 'GO' - /** Java artifacts hosted at the Maven central repository */ - | 'MAVEN' - /** JavaScript packages hosted at npmjs.com */ - | 'NPM' - /** .NET packages hosted at the NuGet Gallery */ - | 'NUGET' - /** Python packages hosted at PyPI.org */ - | 'PIP' - /** Dart packages hosted at pub.dev */ - | 'PUB' - /** Ruby gems hosted at RubyGems.org */ - | 'RUBYGEMS' - /** Rust crates */ - | 'RUST' - /** Swift packages */ - | 'SWIFT'; - -/** Ordering options for deployment connections */ -export type DeploymentOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order deployments by. */ - field: DeploymentOrderField; -}; - -/** Properties by which deployment connections can be ordered. */ -export type DeploymentOrderField = - /** Order collection by creation time */ - | 'CREATED_AT'; - -/** The possible protection rule types. */ -export type DeploymentProtectionRuleType = - /** Branch policy */ - | 'BRANCH_POLICY' - /** Required reviewers */ - | 'REQUIRED_REVIEWERS' - /** Wait timer */ - | 'WAIT_TIMER'; - -/** The possible states for a deployment review. */ -export type DeploymentReviewState = - /** The deployment was approved. */ - | 'APPROVED' - /** The deployment was rejected. */ - | 'REJECTED'; - -/** The possible states in which a deployment can be. */ -export type DeploymentState = - /** The pending deployment was not updated after 30 minutes. */ - | 'ABANDONED' - /** The deployment is currently active. */ - | 'ACTIVE' - /** An inactive transient deployment. */ - | 'DESTROYED' - /** The deployment experienced an error. */ - | 'ERROR' - /** The deployment has failed. */ - | 'FAILURE' - /** The deployment is inactive. */ - | 'INACTIVE' - /** The deployment is in progress. */ - | 'IN_PROGRESS' - /** The deployment is pending. */ - | 'PENDING' - /** The deployment has queued */ - | 'QUEUED' - /** The deployment was successful. */ - | 'SUCCESS' - /** The deployment is waiting. */ - | 'WAITING'; - -/** The possible states for a deployment status. */ -export type DeploymentStatusState = - /** The deployment experienced an error. */ - | 'ERROR' - /** The deployment has failed. */ - | 'FAILURE' - /** The deployment is inactive. */ - | 'INACTIVE' - /** The deployment is in progress. */ - | 'IN_PROGRESS' - /** The deployment is pending. */ - | 'PENDING' - /** The deployment is queued */ - | 'QUEUED' - /** The deployment was successful. */ - | 'SUCCESS' - /** The deployment is waiting. */ - | 'WAITING'; - -/** Autogenerated input type of DequeuePullRequest */ -export type DequeuePullRequestInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the pull request to be dequeued. */ - id: Scalars['ID']['input']; -}; - -/** The possible sides of a diff. */ -export type DiffSide = - /** The left side of the diff. */ - | 'LEFT' - /** The right side of the diff. */ - | 'RIGHT'; - -/** Autogenerated input type of DisablePullRequestAutoMerge */ -export type DisablePullRequestAutoMergeInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the pull request to disable auto merge on. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** The possible reasons for closing a discussion. */ -export type DiscussionCloseReason = - /** The discussion is a duplicate of another */ - | 'DUPLICATE' - /** The discussion is no longer relevant */ - | 'OUTDATED' - /** The discussion has been resolved */ - | 'RESOLVED'; - -/** Ways in which lists of discussions can be ordered upon return. */ -export type DiscussionOrder = { - /** The direction in which to order discussions by the specified field. */ - direction: OrderDirection; - /** The field by which to order discussions. */ - field: DiscussionOrderField; -}; - -/** Properties by which discussion connections can be ordered. */ -export type DiscussionOrderField = - /** Order discussions by creation time. */ - | 'CREATED_AT' - /** Order discussions by most recent modification time. */ - | 'UPDATED_AT'; - -/** Ordering options for discussion poll option connections. */ -export type DiscussionPollOptionOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order poll options by. */ - field: DiscussionPollOptionOrderField; -}; - -/** Properties by which discussion poll option connections can be ordered. */ -export type DiscussionPollOptionOrderField = - /** Order poll options by the order that the poll author specified when creating the poll. */ - | 'AUTHORED_ORDER' - /** Order poll options by the number of votes it has. */ - | 'VOTE_COUNT'; - -/** The possible states of a discussion. */ -export type DiscussionState = - /** A discussion that has been closed */ - | 'CLOSED' - /** A discussion that is open */ - | 'OPEN'; - -/** The possible state reasons of a discussion. */ -export type DiscussionStateReason = - /** The discussion is a duplicate of another */ - | 'DUPLICATE' - /** The discussion is no longer relevant */ - | 'OUTDATED' - /** The discussion was reopened */ - | 'REOPENED' - /** The discussion has been resolved */ - | 'RESOLVED'; - -/** Autogenerated input type of DismissPullRequestReview */ -export type DismissPullRequestReviewInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The contents of the pull request review dismissal message. */ - message: Scalars['String']['input']; - /** The Node ID of the pull request review to modify. */ - pullRequestReviewId: Scalars['ID']['input']; -}; - -/** The possible reasons that a Dependabot alert was dismissed. */ -export type DismissReason = - /** A fix has already been started */ - | 'FIX_STARTED' - /** This alert is inaccurate or incorrect */ - | 'INACCURATE' - /** Vulnerable code is not actually used */ - | 'NOT_USED' - /** No bandwidth to fix this */ - | 'NO_BANDWIDTH' - /** Risk is tolerable to this project */ - | 'TOLERABLE_RISK'; - -/** Autogenerated input type of DismissRepositoryVulnerabilityAlert */ -export type DismissRepositoryVulnerabilityAlertInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The reason the Dependabot alert is being dismissed. */ - dismissReason: DismissReason; - /** The Dependabot alert ID to dismiss. */ - repositoryVulnerabilityAlertId: Scalars['ID']['input']; -}; - -/** Specifies a review comment to be left with a Pull Request Review. */ -export type DraftPullRequestReviewComment = { - /** Body of the comment to leave. */ - body: Scalars['String']['input']; - /** Path to the file being commented on. */ - path: Scalars['String']['input']; - /** Position in the file to leave a comment on. */ - position: Scalars['Int']['input']; -}; - -/** Specifies a review comment thread to be left with a Pull Request Review. */ -export type DraftPullRequestReviewThread = { - /** Body of the comment to leave. */ - body: Scalars['String']['input']; - /** The line of the blob to which the thread refers. The end of the line range for multi-line comments. Required if not using positioning. */ - line?: InputMaybe; - /** Path to the file being commented on. Required if not using positioning. */ - path?: InputMaybe; - /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */ - side?: InputMaybe; - /** The first line of the range to which the comment refers. */ - startLine?: InputMaybe; - /** The side of the diff on which the start line resides. */ - startSide?: InputMaybe; -}; - -/** Autogenerated input type of EnablePullRequestAutoMerge */ -export type EnablePullRequestAutoMergeInput = { - /** The email address to associate with this merge. */ - authorEmail?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Commit body to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit message is ignored. */ - commitBody?: InputMaybe; - /** Commit headline to use for the commit when the PR is mergable; if omitted, a default message will be used. NOTE: when merging with a merge queue any input value for commit headline is ignored. */ - commitHeadline?: InputMaybe; - /** The expected head OID of the pull request. */ - expectedHeadOid?: InputMaybe; - /** The merge method to use. If omitted, defaults to `MERGE`. NOTE: when merging with a merge queue any input value for merge method is ignored. */ - mergeMethod?: InputMaybe; - /** ID of the pull request to enable auto-merge on. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of EnqueuePullRequest */ -export type EnqueuePullRequestInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The expected head OID of the pull request. */ - expectedHeadOid?: InputMaybe; - /** Add the pull request to the front of the queue. */ - jump?: InputMaybe; - /** The ID of the pull request to enqueue. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Ordering options for enterprise administrator invitation connections */ -export type EnterpriseAdministratorInvitationOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order enterprise administrator invitations by. */ - field: EnterpriseAdministratorInvitationOrderField; -}; - -/** Properties by which enterprise administrator invitation connections can be ordered. */ -export type EnterpriseAdministratorInvitationOrderField = - /** Order enterprise administrator member invitations by creation time */ - | 'CREATED_AT'; - -/** The possible administrator roles in an enterprise account. */ -export type EnterpriseAdministratorRole = - /** Represents a billing manager of the enterprise account. */ - | 'BILLING_MANAGER' - /** Represents an owner of the enterprise account. */ - | 'OWNER' - /** Unaffiliated member of the enterprise account without an admin role. */ - | 'UNAFFILIATED'; - -/** The possible values for the enterprise allow private repository forking policy value. */ -export type EnterpriseAllowPrivateRepositoryForkingPolicyValue = - /** Members can fork a repository to an organization within this enterprise. */ - | 'ENTERPRISE_ORGANIZATIONS' - /** Members can fork a repository to their enterprise-managed user account or an organization inside this enterprise. */ - | 'ENTERPRISE_ORGANIZATIONS_USER_ACCOUNTS' - /** Members can fork a repository to their user account or an organization, either inside or outside of this enterprise. */ - | 'EVERYWHERE' - /** Members can fork a repository only within the same organization (intra-org). */ - | 'SAME_ORGANIZATION' - /** Members can fork a repository to their user account or within the same organization. */ - | 'SAME_ORGANIZATION_USER_ACCOUNTS' - /** Members can fork a repository to their user account. */ - | 'USER_ACCOUNTS'; - -/** The possible values for the enterprise base repository permission setting. */ -export type EnterpriseDefaultRepositoryPermissionSettingValue = - /** Organization members will be able to clone, pull, push, and add new collaborators to all organization repositories. */ - | 'ADMIN' - /** Organization members will only be able to clone and pull public repositories. */ - | 'NONE' - /** Organizations in the enterprise choose base repository permissions for their members. */ - | 'NO_POLICY' - /** Organization members will be able to clone and pull all organization repositories. */ - | 'READ' - /** Organization members will be able to clone, pull, and push all organization repositories. */ - | 'WRITE'; - -/** The possible values for an enabled/no policy enterprise setting. */ -export type EnterpriseDisallowedMethodsSettingValue = - /** The setting prevents insecure 2FA methods from being used by members of the enterprise. */ - | 'INSECURE' - /** There is no policy set for preventing insecure 2FA methods from being used by members of the enterprise. */ - | 'NO_POLICY'; - -/** The possible values for an enabled/disabled enterprise setting. */ -export type EnterpriseEnabledDisabledSettingValue = - /** The setting is disabled for organizations in the enterprise. */ - | 'DISABLED' - /** The setting is enabled for organizations in the enterprise. */ - | 'ENABLED' - /** There is no policy set for organizations in the enterprise. */ - | 'NO_POLICY'; - -/** The possible values for an enabled/no policy enterprise setting. */ -export type EnterpriseEnabledSettingValue = - /** The setting is enabled for organizations in the enterprise. */ - | 'ENABLED' - /** There is no policy set for organizations in the enterprise. */ - | 'NO_POLICY'; - -/** Ordering options for enterprise administrator invitation connections */ -export type EnterpriseMemberInvitationOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order enterprise member invitations by. */ - field: EnterpriseMemberInvitationOrderField; -}; - -/** Properties by which enterprise member invitation connections can be ordered. */ -export type EnterpriseMemberInvitationOrderField = - /** Order enterprise member invitations by creation time */ - | 'CREATED_AT'; - -/** Ordering options for enterprise member connections. */ -export type EnterpriseMemberOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order enterprise members by. */ - field: EnterpriseMemberOrderField; -}; - -/** Properties by which enterprise member connections can be ordered. */ -export type EnterpriseMemberOrderField = - /** Order enterprise members by creation time */ - | 'CREATED_AT' - /** Order enterprise members by login */ - | 'LOGIN'; - -/** The possible values for the enterprise members can create repositories setting. */ -export type EnterpriseMembersCanCreateRepositoriesSettingValue = - /** Members will be able to create public and private repositories. */ - | 'ALL' - /** Members will not be able to create public or private repositories. */ - | 'DISABLED' - /** Organization owners choose whether to allow members to create repositories. */ - | 'NO_POLICY' - /** Members will be able to create only private repositories. */ - | 'PRIVATE' - /** Members will be able to create only public repositories. */ - | 'PUBLIC'; - -/** The possible values for the members can make purchases setting. */ -export type EnterpriseMembersCanMakePurchasesSettingValue = - /** The setting is disabled for organizations in the enterprise. */ - | 'DISABLED' - /** The setting is enabled for organizations in the enterprise. */ - | 'ENABLED'; - -/** The possible values we have for filtering Platform::Objects::User#enterprises. */ -export type EnterpriseMembershipType = - /** Returns all enterprises in which the user is an admin. */ - | 'ADMIN' - /** Returns all enterprises in which the user is a member, admin, or billing manager. */ - | 'ALL' - /** Returns all enterprises in which the user is a billing manager. */ - | 'BILLING_MANAGER' - /** Returns all enterprises in which the user is a member of an org that is owned by the enterprise. */ - | 'ORG_MEMBERSHIP'; - -/** Ordering options for enterprises. */ -export type EnterpriseOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order enterprises by. */ - field: EnterpriseOrderField; -}; - -/** Properties by which enterprise connections can be ordered. */ -export type EnterpriseOrderField = - /** Order enterprises by name */ - | 'NAME'; - -/** Ordering options for Enterprise Server installation connections. */ -export type EnterpriseServerInstallationOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order Enterprise Server installations by. */ - field: EnterpriseServerInstallationOrderField; -}; - -/** Properties by which Enterprise Server installation connections can be ordered. */ -export type EnterpriseServerInstallationOrderField = - /** Order Enterprise Server installations by creation time */ - | 'CREATED_AT' - /** Order Enterprise Server installations by customer name */ - | 'CUSTOMER_NAME' - /** Order Enterprise Server installations by host name */ - | 'HOST_NAME'; - -/** Ordering options for Enterprise Server user account email connections. */ -export type EnterpriseServerUserAccountEmailOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order emails by. */ - field: EnterpriseServerUserAccountEmailOrderField; -}; - -/** Properties by which Enterprise Server user account email connections can be ordered. */ -export type EnterpriseServerUserAccountEmailOrderField = - /** Order emails by email */ - | 'EMAIL'; - -/** Ordering options for Enterprise Server user account connections. */ -export type EnterpriseServerUserAccountOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order user accounts by. */ - field: EnterpriseServerUserAccountOrderField; -}; - -/** Properties by which Enterprise Server user account connections can be ordered. */ -export type EnterpriseServerUserAccountOrderField = - /** Order user accounts by login */ - | 'LOGIN' - /** Order user accounts by creation time on the Enterprise Server installation */ - | 'REMOTE_CREATED_AT'; - -/** Ordering options for Enterprise Server user accounts upload connections. */ -export type EnterpriseServerUserAccountsUploadOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order user accounts uploads by. */ - field: EnterpriseServerUserAccountsUploadOrderField; -}; - -/** Properties by which Enterprise Server user accounts upload connections can be ordered. */ -export type EnterpriseServerUserAccountsUploadOrderField = - /** Order user accounts uploads by creation time */ - | 'CREATED_AT'; - -/** Synchronization state of the Enterprise Server user accounts upload */ -export type EnterpriseServerUserAccountsUploadSyncState = - /** The synchronization of the upload failed. */ - | 'FAILURE' - /** The synchronization of the upload is pending. */ - | 'PENDING' - /** The synchronization of the upload succeeded. */ - | 'SUCCESS'; - -/** The possible roles for enterprise membership. */ -export type EnterpriseUserAccountMembershipRole = - /** The user is a member of an organization in the enterprise. */ - | 'MEMBER' - /** The user is an owner of an organization in the enterprise. */ - | 'OWNER' - /** The user is not an owner of the enterprise, and not a member or owner of any organizations in the enterprise; only for EMU-enabled enterprises. */ - | 'UNAFFILIATED'; - -/** The possible GitHub Enterprise deployments where this user can exist. */ -export type EnterpriseUserDeployment = - /** The user is part of a GitHub Enterprise Cloud deployment. */ - | 'CLOUD' - /** The user is part of a GitHub Enterprise Server deployment. */ - | 'SERVER'; - -/** Properties by which environments connections can be ordered */ -export type EnvironmentOrderField = - /** Order environments by name. */ - | 'NAME'; - -/** Properties by which environments connections can be ordered */ -export type EnvironmentPinnedFilterField = - /** All environments will be returned. */ - | 'ALL' - /** Environments exclude pinned will be returned */ - | 'NONE' - /** Only pinned environment will be returned */ - | 'ONLY'; - -/** Ordering options for environments */ -export type Environments = { - /** The direction in which to order environments by the specified field. */ - direction: OrderDirection; - /** The field to order environments by. */ - field: EnvironmentOrderField; -}; - -/** A command to add a file at the given path with the given contents as part of a commit. Any existing file at that that path will be replaced. */ -export type FileAddition = { - /** The base64 encoded contents of the file */ - contents: Scalars['Base64String']['input']; - /** The path in the repository where the file will be located */ - path: Scalars['String']['input']; -}; - -/** - * A description of a set of changes to a file tree to be made as part of - * a git commit, modeled as zero or more file `additions` and zero or more - * file `deletions`. - * - * Both fields are optional; omitting both will produce a commit with no - * file changes. - * - * `deletions` and `additions` describe changes to files identified - * by their path in the git tree using unix-style path separators, i.e. - * `/`. The root of a git tree is an empty string, so paths are not - * slash-prefixed. - * - * `path` values must be unique across all `additions` and `deletions` - * provided. Any duplication will result in a validation error. - * - * ### Encoding - * - * File contents must be provided in full for each `FileAddition`. - * - * The `contents` of a `FileAddition` must be encoded using RFC 4648 - * compliant base64, i.e. correct padding is required and no characters - * outside the standard alphabet may be used. Invalid base64 - * encoding will be rejected with a validation error. - * - * The encoded contents may be binary. - * - * For text files, no assumptions are made about the character encoding of - * the file contents (after base64 decoding). No charset transcoding or - * line-ending normalization will be performed; it is the client's - * responsibility to manage the character encoding of files they provide. - * However, for maximum compatibility we recommend using UTF-8 encoding - * and ensuring that all files in a repository use a consistent - * line-ending convention (`\n` or `\r\n`), and that all files end - * with a newline. - * - * ### Modeling file changes - * - * Each of the the five types of conceptual changes that can be made in a - * git commit can be described using the `FileChanges` type as follows: - * - * 1. New file addition: create file `hello world\n` at path `docs/README.txt`: - * - * { - * "additions" [ - * { - * "path": "docs/README.txt", - * "contents": base64encode("hello world\n") - * } - * ] - * } - * - * 2. Existing file modification: change existing `docs/README.txt` to have new - * content `new content here\n`: - * - * { - * "additions" [ - * { - * "path": "docs/README.txt", - * "contents": base64encode("new content here\n") - * } - * ] - * } - * - * 3. Existing file deletion: remove existing file `docs/README.txt`. - * Note that the path is required to exist -- specifying a - * path that does not exist on the given branch will abort the - * commit and return an error. - * - * { - * "deletions" [ - * { - * "path": "docs/README.txt" - * } - * ] - * } - * - * - * 4. File rename with no changes: rename `docs/README.txt` with - * previous content `hello world\n` to the same content at - * `newdocs/README.txt`: - * - * { - * "deletions" [ - * { - * "path": "docs/README.txt", - * } - * ], - * "additions" [ - * { - * "path": "newdocs/README.txt", - * "contents": base64encode("hello world\n") - * } - * ] - * } - * - * - * 5. File rename with changes: rename `docs/README.txt` with - * previous content `hello world\n` to a file at path - * `newdocs/README.txt` with content `new contents\n`: - * - * { - * "deletions" [ - * { - * "path": "docs/README.txt", - * } - * ], - * "additions" [ - * { - * "path": "newdocs/README.txt", - * "contents": base64encode("new contents\n") - * } - * ] - * } - * - */ -export type FileChanges = { - /** File to add or change. */ - additions?: InputMaybe>; - /** Files to delete. */ - deletions?: InputMaybe>; -}; - -/** A command to delete the file at the given path as part of a commit. */ -export type FileDeletion = { - /** The path to delete */ - path: Scalars['String']['input']; -}; - -/** Prevent commits that include files with specified file extensions from being pushed to the commit graph. */ -export type FileExtensionRestrictionParametersInput = { - /** The file extensions that are restricted from being pushed to the commit graph. */ - restrictedFileExtensions: Array; -}; - -/** Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. This includes absolute paths that contain file names. */ -export type FilePathRestrictionParametersInput = { - /** The file paths that are restricted from being pushed to the commit graph. */ - restrictedFilePaths: Array; -}; - -/** The possible viewed states of a file . */ -export type FileViewedState = - /** The file has new changes since last viewed. */ - | 'DISMISSED' - /** The file has not been marked as viewed. */ - | 'UNVIEWED' - /** The file has been marked as viewed. */ - | 'VIEWED'; - -/** Autogenerated input type of FollowOrganization */ -export type FollowOrganizationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the organization to follow. */ - organizationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of FollowUser */ -export type FollowUserInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the user to follow. */ - userId: Scalars['ID']['input']; -}; - -/** The possible funding platforms for repository funding links. */ -export type FundingPlatform = - /** Buy Me a Coffee funding platform. */ - | 'BUY_ME_A_COFFEE' - /** Community Bridge funding platform. */ - | 'COMMUNITY_BRIDGE' - /** Custom funding platform. */ - | 'CUSTOM' - /** GitHub funding platform. */ - | 'GITHUB' - /** IssueHunt funding platform. */ - | 'ISSUEHUNT' - /** Ko-fi funding platform. */ - | 'KO_FI' - /** LFX Crowdfunding funding platform. */ - | 'LFX_CROWDFUNDING' - /** Liberapay funding platform. */ - | 'LIBERAPAY' - /** Open Collective funding platform. */ - | 'OPEN_COLLECTIVE' - /** Patreon funding platform. */ - | 'PATREON' - /** Polar funding platform. */ - | 'POLAR' - /** thanks.dev funding platform. */ - | 'THANKS_DEV' - /** Tidelift funding platform. */ - | 'TIDELIFT'; - -/** Ordering options for gist connections */ -export type GistOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order repositories by. */ - field: GistOrderField; -}; - -/** Properties by which gist connections can be ordered. */ -export type GistOrderField = - /** Order gists by creation time */ - | 'CREATED_AT' - /** Order gists by push time */ - | 'PUSHED_AT' - /** Order gists by update time */ - | 'UPDATED_AT'; - -/** The privacy of a Gist */ -export type GistPrivacy = - /** Gists that are public and secret */ - | 'ALL' - /** Public */ - | 'PUBLIC' - /** Secret */ - | 'SECRET'; - -/** The state of a Git signature. */ -export type GitSignatureState = - /** The signing certificate or its chain could not be verified */ - | 'BAD_CERT' - /** Invalid email used for signing */ - | 'BAD_EMAIL' - /** Signing key expired */ - | 'EXPIRED_KEY' - /** Internal error - the GPG verification service misbehaved */ - | 'GPGVERIFY_ERROR' - /** Internal error - the GPG verification service is unavailable at the moment */ - | 'GPGVERIFY_UNAVAILABLE' - /** Invalid signature */ - | 'INVALID' - /** Malformed signature */ - | 'MALFORMED_SIG' - /** The usage flags for the key that signed this don't allow signing */ - | 'NOT_SIGNING_KEY' - /** Email used for signing not known to GitHub */ - | 'NO_USER' - /** Valid signature, though certificate revocation check failed */ - | 'OCSP_ERROR' - /** Valid signature, pending certificate revocation checking */ - | 'OCSP_PENDING' - /** One or more certificates in chain has been revoked */ - | 'OCSP_REVOKED' - /** Key used for signing not known to GitHub */ - | 'UNKNOWN_KEY' - /** Unknown signature type */ - | 'UNKNOWN_SIG_TYPE' - /** Unsigned */ - | 'UNSIGNED' - /** Email used for signing unverified on GitHub */ - | 'UNVERIFIED_EMAIL' - /** Valid signature and verified by GitHub */ - | 'VALID'; - -/** Autogenerated input type of GrantEnterpriseOrganizationsMigratorRole */ -export type GrantEnterpriseOrganizationsMigratorRoleInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise to which all organizations managed by it will be granted the migrator role. */ - enterpriseId: Scalars['ID']['input']; - /** The login of the user to grant the migrator role */ - login: Scalars['String']['input']; -}; - -/** Autogenerated input type of GrantMigratorRole */ -export type GrantMigratorRoleInput = { - /** The user login or Team slug to grant the migrator role. */ - actor: Scalars['String']['input']; - /** Specifies the type of the actor, can be either USER or TEAM. */ - actorType: ActorType; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the organization that the user/team belongs to. */ - organizationId: Scalars['ID']['input']; -}; - -/** The possible states in which authentication can be configured with an identity provider. */ -export type IdentityProviderConfigurationState = - /** Authentication with an identity provider is configured but not enforced. */ - | 'CONFIGURED' - /** Authentication with an identity provider is configured and enforced. */ - | 'ENFORCED' - /** Authentication with an identity provider is not configured. */ - | 'UNCONFIGURED'; - -/** Autogenerated input type of ImportProject */ -export type ImportProjectInput = { - /** The description of Project. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A list of columns containing issues and pull requests. */ - columnImports: Array; - /** The name of Project. */ - name: Scalars['String']['input']; - /** The name of the Organization or User to create the Project under. */ - ownerName: Scalars['String']['input']; - /** Whether the Project is public or not. */ - public?: InputMaybe; -}; - -/** Autogenerated input type of InviteEnterpriseAdmin */ -export type InviteEnterpriseAdminInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The email of the person to invite as an administrator. */ - email?: InputMaybe; - /** The ID of the enterprise to which you want to invite an administrator. */ - enterpriseId: Scalars['ID']['input']; - /** The login of a user to invite as an administrator. */ - invitee?: InputMaybe; - /** The role of the administrator. */ - role?: InputMaybe; -}; - -/** Autogenerated input type of InviteEnterpriseMember */ -export type InviteEnterpriseMemberInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The email of the person to invite as an unaffiliated member. */ - email?: InputMaybe; - /** The ID of the enterprise to which you want to invite an unaffiliated member. */ - enterpriseId: Scalars['ID']['input']; - /** The login of a user to invite as an unaffiliated member. */ - invitee?: InputMaybe; -}; - -/** The possible values for the IP allow list enabled setting. */ -export type IpAllowListEnabledSettingValue = - /** The setting is disabled for the owner. */ - | 'DISABLED' - /** The setting is enabled for the owner. */ - | 'ENABLED'; - -/** Ordering options for IP allow list entry connections. */ -export type IpAllowListEntryOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order IP allow list entries by. */ - field: IpAllowListEntryOrderField; -}; - -/** Properties by which IP allow list entry connections can be ordered. */ -export type IpAllowListEntryOrderField = - /** Order IP allow list entries by the allow list value. */ - | 'ALLOW_LIST_VALUE' - /** Order IP allow list entries by creation time. */ - | 'CREATED_AT'; - -/** The possible values for the IP allow list configuration for installed GitHub Apps setting. */ -export type IpAllowListForInstalledAppsEnabledSettingValue = - /** The setting is disabled for the owner. */ - | 'DISABLED' - /** The setting is enabled for the owner. */ - | 'ENABLED'; - -/** The possible values for the IP allow list user-level enforcement enabled setting. */ -export type IpAllowListUserLevelEnforcementEnabledSettingValue = - /** The setting is disabled for the owner. */ - | 'DISABLED' - /** The setting is enabled for the owner. */ - | 'ENABLED'; - -/** The possible state reasons of a closed issue. */ -export type IssueClosedStateReason = - /** An issue that has been closed as completed */ - | 'COMPLETED' - /** An issue that has been closed as a duplicate */ - | 'DUPLICATE' - /** An issue that has been closed as not planned */ - | 'NOT_PLANNED'; - -/** Ways in which lists of issue comments can be ordered upon return. */ -export type IssueCommentOrder = { - /** The direction in which to order issue comments by the specified field. */ - direction: OrderDirection; - /** The field in which to order issue comments by. */ - field: IssueCommentOrderField; -}; - -/** Properties by which issue comment connections can be ordered. */ -export type IssueCommentOrderField = - /** Order issue comments by update time */ - | 'UPDATED_AT'; - -/** Ordering options issue dependencies */ -export type IssueDependencyOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order issue dependencies by. */ - field: IssueDependencyOrderField; -}; - -/** Properties by which issue dependencies can be ordered. */ -export type IssueDependencyOrderField = - /** Order issue dependencies by the creation time of the dependent issue */ - | 'CREATED_AT' - /** Order issue dependencies by time of when the dependency relationship was added */ - | 'DEPENDENCY_ADDED_AT'; - -/** Represents an issue field value that must be set on an issue during issue creation */ -export type IssueFieldCreateOrUpdateInput = { - /** The date value, for a date field */ - dateValue?: InputMaybe; - /** Set to true to delete the field value */ - delete?: InputMaybe; - /** The ID of the issue field */ - fieldId: Scalars['ID']['input']; - /** The numeric value, for a number field */ - numberValue?: InputMaybe; - /** The ID of the selected option, for a single select field */ - singleSelectOptionId?: InputMaybe; - /** The text value, for a text field */ - textValue?: InputMaybe; -}; - -/** The type of an issue field. */ -export type IssueFieldDataType = - /** Date */ - | 'DATE' - /** Number */ - | 'NUMBER' - /** Single Select */ - | 'SINGLE_SELECT' - /** Text */ - | 'TEXT'; - -/** Ordering options for issue field connections */ -export type IssueFieldOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order issue fields by. */ - field: IssueFieldOrderField; -}; - -/** Properties by which issue field connections can be ordered. */ -export type IssueFieldOrderField = - /** Order issue fields by creation time */ - | 'CREATED_AT' - /** Order issue fields by name */ - | 'NAME'; - -/** The display color of a single-select field option. */ -export type IssueFieldSingleSelectOptionColor = - /** blue */ - | 'BLUE' - /** gray */ - | 'GRAY' - /** green */ - | 'GREEN' - /** orange */ - | 'ORANGE' - /** pink */ - | 'PINK' - /** purple */ - | 'PURPLE' - /** red */ - | 'RED' - /** yellow */ - | 'YELLOW'; - -/** A single selection option for an issue field. */ -export type IssueFieldSingleSelectOptionInput = { - /** The color associated with the option. */ - color: IssueFieldSingleSelectOptionColor; - /** A description of the option. */ - description?: InputMaybe; - /** The name of the option. */ - name: Scalars['String']['input']; - /** The priority of the option in the list. */ - priority: Scalars['Int']['input']; -}; - -/** The visibility of an issue field. */ -export type IssueFieldVisibility = - /** All */ - | 'ALL' - /** Org Only */ - | 'ORG_ONLY'; - -/** Ways in which to filter lists of issues. */ -export type IssueFilters = { - /** List issues assigned to given name. Pass in `null` for issues with no assigned user, and `*` for issues assigned to any user. */ - assignee?: InputMaybe; - /** List issues created by given name. */ - createdBy?: InputMaybe; - /** List issues where the list of label names exist on the issue. */ - labels?: InputMaybe>; - /** List issues where the given name is mentioned in the issue. */ - mentioned?: InputMaybe; - /** List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. */ - milestone?: InputMaybe; - /** List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in `null` for issues with no milestone, and `*` for issues that are assigned to any milestone. */ - milestoneNumber?: InputMaybe; - /** List issues that have been updated at or after the given date. */ - since?: InputMaybe; - /** List issues filtered by the list of states given. */ - states?: InputMaybe>; - /** List issues filtered by the type given, only supported by searches on repositories. */ - type?: InputMaybe; - /** List issues subscribed to by viewer. */ - viewerSubscribed?: InputMaybe; -}; - -/** Ways in which lists of issues can be ordered upon return. */ -export type IssueOrder = { - /** The direction in which to order issues by the specified field. */ - direction: OrderDirection; - /** The field in which to order issues by. */ - field: IssueOrderField; -}; - -/** Properties by which issue connections can be ordered. */ -export type IssueOrderField = - /** Order issues by comment count */ - | 'COMMENTS' - /** Order issues by creation time */ - | 'CREATED_AT' - /** Order issues by update time */ - | 'UPDATED_AT'; - -/** Type of issue search performed */ -export type IssueSearchType = - /** Hybrid search combining lexical and semantic approaches */ - | 'HYBRID' - /** Lexical (keyword-based) search */ - | 'LEXICAL' - /** Semantic (meaning-based) search using embeddings */ - | 'SEMANTIC'; - -/** The possible states of an issue. */ -export type IssueState = - /** An issue that has been closed */ - | 'CLOSED' - /** An issue that is still open */ - | 'OPEN'; - -/** The possible state reasons of an issue. */ -export type IssueStateReason = - /** An issue that has been closed as completed */ - | 'COMPLETED' - /** An issue that has been closed as a duplicate. */ - | 'DUPLICATE' - /** An issue that has been closed as not planned */ - | 'NOT_PLANNED' - /** An issue that has been reopened */ - | 'REOPENED'; - -/** The possible item types found in a timeline. */ -export type IssueTimelineItemsItemType = - /** Represents a 'added_to_project' event on a given issue or pull request. */ - | 'ADDED_TO_PROJECT_EVENT' - /** Represents a 'added_to_project_v2' event on a given issue or pull request. */ - | 'ADDED_TO_PROJECT_V2_EVENT' - /** Represents an 'assigned' event on any assignable object. */ - | 'ASSIGNED_EVENT' - /** Represents a 'blocked_by_added' event on a given issue. */ - | 'BLOCKED_BY_ADDED_EVENT' - /** Represents a 'blocked_by_removed' event on a given issue. */ - | 'BLOCKED_BY_REMOVED_EVENT' - /** Represents a 'blocking_added' event on a given issue. */ - | 'BLOCKING_ADDED_EVENT' - /** Represents a 'blocking_removed' event on a given issue. */ - | 'BLOCKING_REMOVED_EVENT' - /** Represents a 'closed' event on any `Closable`. */ - | 'CLOSED_EVENT' - /** Represents a 'comment_deleted' event on a given issue or pull request. */ - | 'COMMENT_DELETED_EVENT' - /** Represents a 'connected' event on a given issue or pull request. */ - | 'CONNECTED_EVENT' - /** Represents a 'converted_from_draft' event on a given issue or pull request. */ - | 'CONVERTED_FROM_DRAFT_EVENT' - /** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ - | 'CONVERTED_NOTE_TO_ISSUE_EVENT' - /** Represents a 'converted_to_discussion' event on a given issue. */ - | 'CONVERTED_TO_DISCUSSION_EVENT' - /** Represents a mention made by one issue or pull request to another. */ - | 'CROSS_REFERENCED_EVENT' - /** Represents a 'demilestoned' event on a given issue or pull request. */ - | 'DEMILESTONED_EVENT' - /** Represents a 'disconnected' event on a given issue or pull request. */ - | 'DISCONNECTED_EVENT' - /** Represents a comment on an Issue. */ - | 'ISSUE_COMMENT' - /** Represents a 'issue_comment_pinned' event on a given issue. */ - | 'ISSUE_COMMENT_PINNED_EVENT' - /** Represents a 'issue_comment_unpinned' event on a given issue. */ - | 'ISSUE_COMMENT_UNPINNED_EVENT' - /** Represents a 'issue_field_added' event on a given issue. */ - | 'ISSUE_FIELD_ADDED_EVENT' - /** Represents a 'issue_field_changed' event on a given issue. */ - | 'ISSUE_FIELD_CHANGED_EVENT' - /** Represents a 'issue_field_removed' event on a given issue. */ - | 'ISSUE_FIELD_REMOVED_EVENT' - /** Represents a 'issue_type_added' event on a given issue. */ - | 'ISSUE_TYPE_ADDED_EVENT' - /** Represents a 'issue_type_changed' event on a given issue. */ - | 'ISSUE_TYPE_CHANGED_EVENT' - /** Represents a 'issue_type_removed' event on a given issue. */ - | 'ISSUE_TYPE_REMOVED_EVENT' - /** Represents a 'labeled' event on a given issue or pull request. */ - | 'LABELED_EVENT' - /** Represents a 'locked' event on a given issue or pull request. */ - | 'LOCKED_EVENT' - /** Represents a 'marked_as_duplicate' event on a given issue or pull request. */ - | 'MARKED_AS_DUPLICATE_EVENT' - /** Represents a 'mentioned' event on a given issue or pull request. */ - | 'MENTIONED_EVENT' - /** Represents a 'milestoned' event on a given issue or pull request. */ - | 'MILESTONED_EVENT' - /** Represents a 'moved_columns_in_project' event on a given issue or pull request. */ - | 'MOVED_COLUMNS_IN_PROJECT_EVENT' - /** Represents a 'parent_issue_added' event on a given issue. */ - | 'PARENT_ISSUE_ADDED_EVENT' - /** Represents a 'parent_issue_removed' event on a given issue. */ - | 'PARENT_ISSUE_REMOVED_EVENT' - /** Represents a 'pinned' event on a given issue or pull request. */ - | 'PINNED_EVENT' - /** Represents a 'project_v2_item_status_changed' event on a given issue or pull request. */ - | 'PROJECT_V2_ITEM_STATUS_CHANGED_EVENT' - /** Represents a 'referenced' event on a given `ReferencedSubject`. */ - | 'REFERENCED_EVENT' - /** Represents a 'removed_from_project' event on a given issue or pull request. */ - | 'REMOVED_FROM_PROJECT_EVENT' - /** Represents a 'removed_from_project_v2' event on a given issue or pull request. */ - | 'REMOVED_FROM_PROJECT_V2_EVENT' - /** Represents a 'renamed' event on a given issue or pull request */ - | 'RENAMED_TITLE_EVENT' - /** Represents a 'reopened' event on any `Closable`. */ - | 'REOPENED_EVENT' - /** Represents a 'subscribed' event on a given `Subscribable`. */ - | 'SUBSCRIBED_EVENT' - /** Represents a 'sub_issue_added' event on a given issue. */ - | 'SUB_ISSUE_ADDED_EVENT' - /** Represents a 'sub_issue_removed' event on a given issue. */ - | 'SUB_ISSUE_REMOVED_EVENT' - /** Represents a 'transferred' event on a given issue or pull request. */ - | 'TRANSFERRED_EVENT' - /** Represents an 'unassigned' event on any assignable object. */ - | 'UNASSIGNED_EVENT' - /** Represents an 'unlabeled' event on a given issue or pull request. */ - | 'UNLABELED_EVENT' - /** Represents an 'unlocked' event on a given issue or pull request. */ - | 'UNLOCKED_EVENT' - /** Represents an 'unmarked_as_duplicate' event on a given issue or pull request. */ - | 'UNMARKED_AS_DUPLICATE_EVENT' - /** Represents an 'unpinned' event on a given issue or pull request. */ - | 'UNPINNED_EVENT' - /** Represents an 'unsubscribed' event on a given `Subscribable`. */ - | 'UNSUBSCRIBED_EVENT' - /** Represents a 'user_blocked' event on a given user. */ - | 'USER_BLOCKED_EVENT'; - -/** The possible color for an issue type */ -export type IssueTypeColor = - /** blue */ - | 'BLUE' - /** gray */ - | 'GRAY' - /** green */ - | 'GREEN' - /** orange */ - | 'ORANGE' - /** pink */ - | 'PINK' - /** purple */ - | 'PURPLE' - /** red */ - | 'RED' - /** yellow */ - | 'YELLOW'; - -/** Ordering options for issue types connections */ -export type IssueTypeOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order issue types by. */ - field: IssueTypeOrderField; -}; - -/** Properties by which issue type connections can be ordered. */ -export type IssueTypeOrderField = - /** Order issue types by creation time */ - | 'CREATED_AT' - /** Order issue types by name */ - | 'NAME'; - -/** Ways in which lists of labels can be ordered upon return. */ -export type LabelOrder = { - /** The direction in which to order labels by the specified field. */ - direction: OrderDirection; - /** The field in which to order labels by. */ - field: LabelOrderField; -}; - -/** Properties by which label connections can be ordered. */ -export type LabelOrderField = - /** Order labels by creation time */ - | 'CREATED_AT' - /** Order labels by issue count */ - | 'ISSUE_COUNT' - /** Order labels by name */ - | 'NAME'; - -/** Ordering options for language connections. */ -export type LanguageOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order languages by. */ - field: LanguageOrderField; -}; - -/** Properties by which language connections can be ordered. */ -export type LanguageOrderField = - /** Order languages by the size of all files containing the language */ - | 'SIZE'; - -/** Reason why a semantic or hybrid issue search fell back to lexical search */ -export type LexicalFallbackReason = - /** Query targets non-issue types (e.g., pull requests) */ - | 'NON_ISSUE_TARGET' - /** Scoped query resolved to zero accessible repositories */ - | 'NO_ACCESSIBLE_REPOS' - /** Query has only qualifiers and no free text terms */ - | 'NO_TEXT_TERMS' - /** Query uses an in: qualifier targeting non-semantic fields */ - | 'ONLY_NON_SEMANTIC_FIELDS_REQUESTED' - /** Query contains OR operators (nested boolean qualifiers) */ - | 'OR_BOOLEAN_NOT_SUPPORTED' - /** Query contains quoted text requiring exact matches */ - | 'QUOTED_TEXT' - /** Embedding generation failed or timed out */ - | 'SERVER_ERROR'; - -/** Autogenerated input type of LinkProjectV2ToRepository */ -export type LinkProjectV2ToRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the project to link to the repository. */ - projectId: Scalars['ID']['input']; - /** The ID of the repository to link to the project. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of LinkProjectV2ToTeam */ -export type LinkProjectV2ToTeamInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the project to link to the team. */ - projectId: Scalars['ID']['input']; - /** The ID of the team to link to the project. */ - teamId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of LinkRepositoryToProject */ -export type LinkRepositoryToProjectInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project to link to a Repository */ - projectId: Scalars['ID']['input']; - /** The ID of the Repository to link to a Project. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of LockLockable */ -export type LockLockableInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A reason for why the item will be locked. */ - lockReason?: InputMaybe; - /** ID of the item to be locked. */ - lockableId: Scalars['ID']['input']; -}; - -/** The possible reasons that an issue or pull request was locked. */ -export type LockReason = - /** The issue or pull request was locked because the conversation was off-topic. */ - | 'OFF_TOPIC' - /** The issue or pull request was locked because the conversation was resolved. */ - | 'RESOLVED' - /** The issue or pull request was locked because the conversation was spam. */ - | 'SPAM' - /** The issue or pull request was locked because the conversation was too heated. */ - | 'TOO_HEATED'; - -/** Ordering options for mannequins. */ -export type MannequinOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order mannequins by. */ - field: MannequinOrderField; -}; - -/** Properties by which mannequins can be ordered. */ -export type MannequinOrderField = - /** Order mannequins why when they were created. */ - | 'CREATED_AT' - /** Order mannequins alphabetically by their source login. */ - | 'LOGIN'; - -/** Autogenerated input type of MarkDiscussionCommentAsAnswer */ -export type MarkDiscussionCommentAsAnswerInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion comment to mark as an answer. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of MarkFileAsViewed */ -export type MarkFileAsViewedInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The path of the file to mark as viewed */ - path: Scalars['String']['input']; - /** The Node ID of the pull request. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of MarkProjectV2AsTemplate */ -export type MarkProjectV2AsTemplateInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project to mark as a template. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of MarkPullRequestReadyForReview */ -export type MarkPullRequestReadyForReviewInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the pull request to be marked as ready for review. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ -export type MaxFilePathLengthParametersInput = { - /** The maximum amount of characters allowed in file paths. */ - maxFilePathLength: Scalars['Int']['input']; -}; - -/** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ -export type MaxFileSizeParametersInput = { - /** The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS). */ - maxFileSize: Scalars['Int']['input']; -}; - -/** Autogenerated input type of MergeBranch */ -export type MergeBranchInput = { - /** The email address to associate with this commit. */ - authorEmail?: InputMaybe; - /** The name of the base branch that the provided head will be merged into. */ - base: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Message to use for the merge commit. If omitted, a default will be used. */ - commitMessage?: InputMaybe; - /** The head to merge into the base branch. This can be a branch name or a commit GitObjectID. */ - head: Scalars['String']['input']; - /** The Node ID of the Repository containing the base branch that will be modified. */ - repositoryId: Scalars['ID']['input']; -}; - -/** The possible default commit messages for merges. */ -export type MergeCommitMessage = - /** Default to a blank commit message. */ - | 'BLANK' - /** Default to the pull request's body. */ - | 'PR_BODY' - /** Default to the pull request's title. */ - | 'PR_TITLE'; - -/** The possible default commit titles for merges. */ -export type MergeCommitTitle = - /** Default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). */ - | 'MERGE_MESSAGE' - /** Default to the pull request's title. */ - | 'PR_TITLE'; - -/** Autogenerated input type of MergePullRequest */ -export type MergePullRequestInput = { - /** The email address to associate with this merge. */ - authorEmail?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Commit body to use for the merge commit; if omitted, a default message will be used */ - commitBody?: InputMaybe; - /** Commit headline to use for the merge commit; if omitted, a default message will be used. */ - commitHeadline?: InputMaybe; - /** OID that the pull request head ref must match to allow merge; if omitted, no check is performed. */ - expectedHeadOid?: InputMaybe; - /** The merge method to use. If omitted, defaults to 'MERGE' */ - mergeMethod?: InputMaybe; - /** ID of the pull request to be merged. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** The possible states for a merge queue entry. */ -export type MergeQueueEntryState = - /** The entry is currently waiting for checks to pass. */ - | 'AWAITING_CHECKS' - /** The entry is currently locked. */ - | 'LOCKED' - /** The entry is currently mergeable. */ - | 'MERGEABLE' - /** The entry is currently queued. */ - | 'QUEUED' - /** The entry is currently unmergeable. */ - | 'UNMERGEABLE'; - -/** When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. */ -export type MergeQueueGroupingStrategy = - /** The merge commit created by merge queue for each PR in the group must pass all required checks to merge */ - | 'ALLGREEN' - /** Only the commit at the head of the merge group must pass its required checks to merge. */ - | 'HEADGREEN'; - -/** Method to use when merging changes from queued pull requests. */ -export type MergeQueueMergeMethod = - /** Merge commit */ - | 'MERGE' - /** Rebase and merge */ - | 'REBASE' - /** Squash and merge */ - | 'SQUASH'; - -/** The possible merging strategies for a merge queue. */ -export type MergeQueueMergingStrategy = - /** Entries only allowed to merge if they are passing. */ - | 'ALLGREEN' - /** Failing Entires are allowed to merge if they are with a passing entry. */ - | 'HEADGREEN'; - -/** Merges must be performed via a merge queue. */ -export type MergeQueueParametersInput = { - /** Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed */ - checkResponseTimeoutMinutes: Scalars['Int']['input']; - /** When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. */ - groupingStrategy: MergeQueueGroupingStrategy; - /** Limit the number of queued pull requests requesting checks and workflow runs at the same time. */ - maxEntriesToBuild: Scalars['Int']['input']; - /** The maximum number of PRs that will be merged together in a group. */ - maxEntriesToMerge: Scalars['Int']['input']; - /** Method to use when merging changes from queued pull requests. */ - mergeMethod: MergeQueueMergeMethod; - /** The minimum number of PRs that will be merged together in a group. */ - minEntriesToMerge: Scalars['Int']['input']; - /** The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. */ - minEntriesToMergeWaitMinutes: Scalars['Int']['input']; -}; - -/** Detailed status information about a pull request merge. */ -export type MergeStateStatus = - /** The head ref is out of date. */ - | 'BEHIND' - /** The merge is blocked. */ - | 'BLOCKED' - /** Mergeable and passing commit status. */ - | 'CLEAN' - /** The merge commit cannot be cleanly created. */ - | 'DIRTY' - /** The merge is blocked due to the pull request being a draft. */ - | 'DRAFT' - /** Mergeable with passing commit status and pre-receive hooks. */ - | 'HAS_HOOKS' - /** The state cannot currently be determined. */ - | 'UNKNOWN' - /** Mergeable with non-passing commit status. */ - | 'UNSTABLE'; - -/** Whether or not a PullRequest can be merged. */ -export type MergeableState = - /** The pull request cannot be merged due to merge conflicts. */ - | 'CONFLICTING' - /** The pull request can be merged. */ - | 'MERGEABLE' - /** The mergeability of the pull request is still being calculated. */ - | 'UNKNOWN'; - -/** Represents the different GitHub Enterprise Importer (GEI) migration sources. */ -export type MigrationSourceType = - /** An Azure DevOps migration source. */ - | 'AZURE_DEVOPS' - /** A Bitbucket Server migration source. */ - | 'BITBUCKET_SERVER' - /** A GitHub Migration API source. */ - | 'GITHUB_ARCHIVE'; - -/** The GitHub Enterprise Importer (GEI) migration state. */ -export type MigrationState = - /** The migration has failed. */ - | 'FAILED' - /** The migration has invalid credentials. */ - | 'FAILED_VALIDATION' - /** The migration is in progress. */ - | 'IN_PROGRESS' - /** The migration has not started. */ - | 'NOT_STARTED' - /** The migration needs to have its credentials validated. */ - | 'PENDING_VALIDATION' - /** The migration has been queued. */ - | 'QUEUED' - /** The migration has succeeded. */ - | 'SUCCEEDED'; - -/** Ordering options for milestone connections. */ -export type MilestoneOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order milestones by. */ - field: MilestoneOrderField; -}; - -/** Properties by which milestone connections can be ordered. */ -export type MilestoneOrderField = - /** Order milestones by when they were created. */ - | 'CREATED_AT' - /** Order milestones by when they are due. */ - | 'DUE_DATE' - /** Order milestones by their number. */ - | 'NUMBER' - /** Order milestones by when they were last updated. */ - | 'UPDATED_AT'; - -/** The possible states of a milestone. */ -export type MilestoneState = - /** A milestone that has been closed. */ - | 'CLOSED' - /** A milestone that is still open. */ - | 'OPEN'; - -/** Autogenerated input type of MinimizeComment */ -export type MinimizeCommentInput = { - /** The classification of comment */ - classifier: ReportedContentClassifiers; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of MoveProjectCard */ -export type MoveProjectCardInput = { - /** Place the new card after the card with this id. Pass null to place it at the top. */ - afterCardId?: InputMaybe; - /** The id of the card to move. */ - cardId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the column to move it into. */ - columnId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of MoveProjectColumn */ -export type MoveProjectColumnInput = { - /** Place the new column after the column with this id. Pass null to place it at the front. */ - afterColumnId?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the column to move. */ - columnId: Scalars['ID']['input']; -}; - -/** The possible values for the notification restriction setting. */ -export type NotificationRestrictionSettingValue = - /** The setting is disabled for the owner. */ - | 'DISABLED' - /** The setting is enabled for the owner. */ - | 'ENABLED'; - -/** The OIDC identity provider type */ -export type OidcProviderType = - /** Azure Active Directory */ - | 'AAD'; - -/** The state of an OAuth application when it was created. */ -export type OauthApplicationCreateAuditEntryState = - /** The OAuth application was active and allowed to have OAuth Accesses. */ - | 'ACTIVE' - /** The OAuth application was in the process of being deleted. */ - | 'PENDING_DELETION' - /** The OAuth application was suspended from generating OAuth Accesses due to abuse or security concerns. */ - | 'SUSPENDED'; - -/** The corresponding operation type for the action */ -export type OperationType = - /** An existing resource was accessed */ - | 'ACCESS' - /** A resource performed an authentication event */ - | 'AUTHENTICATION' - /** A new resource was created */ - | 'CREATE' - /** An existing resource was modified */ - | 'MODIFY' - /** An existing resource was removed */ - | 'REMOVE' - /** An existing resource was restored */ - | 'RESTORE' - /** An existing resource was transferred between multiple resources */ - | 'TRANSFER'; - -/** Possible directions in which to order a list of items when provided an `orderBy` argument. */ -export type OrderDirection = - /** Specifies an ascending order for a given `orderBy` argument. */ - | 'ASC' - /** Specifies a descending order for a given `orderBy` argument. */ - | 'DESC'; - -/** The permissions available to members on an Organization. */ -export type OrgAddMemberAuditEntryPermission = - /** Can read, clone, push, and add collaborators to repositories. */ - | 'ADMIN' - /** Can read and clone repositories. */ - | 'READ'; - -/** The billing plans available for organizations. */ -export type OrgCreateAuditEntryBillingPlan = - /** Team Plan */ - | 'BUSINESS' - /** Enterprise Cloud Plan */ - | 'BUSINESS_PLUS' - /** Free Plan */ - | 'FREE' - /** Tiered Per Seat Plan */ - | 'TIERED_PER_SEAT' - /** Legacy Unlimited Plan */ - | 'UNLIMITED'; - -/** Ordering options for an organization's enterprise owner connections. */ -export type OrgEnterpriseOwnerOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order enterprise owners by. */ - field: OrgEnterpriseOwnerOrderField; -}; - -/** Properties by which enterprise owners can be ordered. */ -export type OrgEnterpriseOwnerOrderField = - /** Order enterprise owners by login. */ - | 'LOGIN'; - -/** The reason a billing manager was removed from an Organization. */ -export type OrgRemoveBillingManagerAuditEntryReason = - /** SAML external identity missing */ - | 'SAML_EXTERNAL_IDENTITY_MISSING' - /** SAML SSO enforcement requires an external identity */ - | 'SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY' - /** The organization required 2FA of its billing managers and this user did not have 2FA enabled. */ - | 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE'; - -/** The type of membership a user has with an Organization. */ -export type OrgRemoveMemberAuditEntryMembershipType = - /** Organization owners have full access and can change several settings, including the names of repositories that belong to the Organization and Owners team membership. In addition, organization owners can delete the organization and all of its repositories. */ - | 'ADMIN' - /** A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. */ - | 'BILLING_MANAGER' - /** A direct member is a user that is a member of the Organization. */ - | 'DIRECT_MEMBER' - /** An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. */ - | 'OUTSIDE_COLLABORATOR' - /** A suspended member. */ - | 'SUSPENDED' - /** An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the Organization. */ - | 'UNAFFILIATED'; - -/** The reason a member was removed from an Organization. */ -export type OrgRemoveMemberAuditEntryReason = - /** SAML external identity missing */ - | 'SAML_EXTERNAL_IDENTITY_MISSING' - /** SAML SSO enforcement requires an external identity */ - | 'SAML_SSO_ENFORCEMENT_REQUIRES_EXTERNAL_IDENTITY' - /** User was removed from organization during account recovery */ - | 'TWO_FACTOR_ACCOUNT_RECOVERY' - /** The organization required 2FA of its billing managers and this user did not have 2FA enabled. */ - | 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE' - /** User account has been deleted */ - | 'USER_ACCOUNT_DELETED'; - -/** The type of membership a user has with an Organization. */ -export type OrgRemoveOutsideCollaboratorAuditEntryMembershipType = - /** A billing manager is a user who manages the billing settings for the Organization, such as updating payment information. */ - | 'BILLING_MANAGER' - /** An outside collaborator is a person who isn't explicitly a member of the Organization, but who has Read, Write, or Admin permissions to one or more repositories in the organization. */ - | 'OUTSIDE_COLLABORATOR' - /** An unaffiliated collaborator is a person who is not a member of the Organization and does not have access to any repositories in the organization. */ - | 'UNAFFILIATED'; - -/** The reason an outside collaborator was removed from an Organization. */ -export type OrgRemoveOutsideCollaboratorAuditEntryReason = - /** SAML external identity missing */ - | 'SAML_EXTERNAL_IDENTITY_MISSING' - /** The organization required 2FA of its billing managers and this user did not have 2FA enabled. */ - | 'TWO_FACTOR_REQUIREMENT_NON_COMPLIANCE'; - -/** The default permission a repository can have in an Organization. */ -export type OrgUpdateDefaultRepositoryPermissionAuditEntryPermission = - /** Can read, clone, push, and add collaborators to repositories. */ - | 'ADMIN' - /** No default permission value. */ - | 'NONE' - /** Can read and clone repositories. */ - | 'READ' - /** Can read, clone and push to repositories. */ - | 'WRITE'; - -/** The permissions available to members on an Organization. */ -export type OrgUpdateMemberAuditEntryPermission = - /** Can read, clone, push, and add collaborators to repositories. */ - | 'ADMIN' - /** Can read and clone repositories. */ - | 'READ'; - -/** The permissions available for repository creation on an Organization. */ -export type OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility = - /** All organization members are restricted from creating any repositories. */ - | 'ALL' - /** All organization members are restricted from creating internal repositories. */ - | 'INTERNAL' - /** All organization members are allowed to create any repositories. */ - | 'NONE' - /** All organization members are restricted from creating private repositories. */ - | 'PRIVATE' - /** All organization members are restricted from creating private or internal repositories. */ - | 'PRIVATE_INTERNAL' - /** All organization members are restricted from creating public repositories. */ - | 'PUBLIC' - /** All organization members are restricted from creating public or internal repositories. */ - | 'PUBLIC_INTERNAL' - /** All organization members are restricted from creating public or private repositories. */ - | 'PUBLIC_PRIVATE'; - -/** The possible organization invitation roles. */ -export type OrganizationInvitationRole = - /** The user is invited to be an admin of the organization. */ - | 'ADMIN' - /** The user is invited to be a billing manager of the organization. */ - | 'BILLING_MANAGER' - /** The user is invited to be a direct member of the organization. */ - | 'DIRECT_MEMBER' - /** The user's previous role will be reinstated. */ - | 'REINSTATE'; - -/** The possible organization invitation sources. */ -export type OrganizationInvitationSource = - /** The invitation was created from the web interface or from API */ - | 'MEMBER' - /** The invitation was created from SCIM */ - | 'SCIM' - /** The invitation was sent before this feature was added */ - | 'UNKNOWN'; - -/** The possible organization invitation types. */ -export type OrganizationInvitationType = - /** The invitation was to an email address. */ - | 'EMAIL' - /** The invitation was to an existing user. */ - | 'USER'; - -/** The possible roles within an organization for its members. */ -export type OrganizationMemberRole = - /** The user is an administrator of the organization. */ - | 'ADMIN' - /** The user is a member of the organization. */ - | 'MEMBER'; - -/** The possible values for the members can create repositories setting on an organization. */ -export type OrganizationMembersCanCreateRepositoriesSettingValue = - /** Members will be able to create public and private repositories. */ - | 'ALL' - /** Members will not be able to create public or private repositories. */ - | 'DISABLED' - /** Members will be able to create only internal repositories. */ - | 'INTERNAL' - /** Members will be able to create only private repositories. */ - | 'PRIVATE'; - -/** The Octoshift Organization migration state. */ -export type OrganizationMigrationState = - /** The Octoshift migration has failed. */ - | 'FAILED' - /** The Octoshift migration has invalid credentials. */ - | 'FAILED_VALIDATION' - /** The Octoshift migration is in progress. */ - | 'IN_PROGRESS' - /** The Octoshift migration has not started. */ - | 'NOT_STARTED' - /** The Octoshift migration needs to have its credentials validated. */ - | 'PENDING_VALIDATION' - /** The Octoshift migration is performing post repository migrations. */ - | 'POST_REPO_MIGRATION' - /** The Octoshift migration is performing pre repository migrations. */ - | 'PRE_REPO_MIGRATION' - /** The Octoshift migration has been queued. */ - | 'QUEUED' - /** The Octoshift org migration is performing repository migrations. */ - | 'REPO_MIGRATION' - /** The Octoshift migration has succeeded. */ - | 'SUCCEEDED'; - -/** Ordering options for organization connections. */ -export type OrganizationOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order organizations by. */ - field: OrganizationOrderField; -}; - -/** Properties by which organization connections can be ordered. */ -export type OrganizationOrderField = - /** Order organizations by creation time */ - | 'CREATED_AT' - /** Order organizations by login */ - | 'LOGIN'; - -/** Parameters to be used for the organization_property condition */ -export type OrganizationPropertyConditionTargetInput = { - /** Array of organization properties that must not match. */ - exclude: Array; - /** Array of organization properties that must match */ - include: Array; -}; - -/** A property that must match */ -export type OrganizationPropertyTargetDefinitionInput = { - /** The name of the property */ - name: Scalars['String']['input']; - /** The values to match for */ - propertyValues: Array; -}; - -/** Ways in which lists of package files can be ordered upon return. */ -export type PackageFileOrder = { - /** The direction in which to order package files by the specified field. */ - direction?: InputMaybe; - /** The field in which to order package files by. */ - field?: InputMaybe; -}; - -/** Properties by which package file connections can be ordered. */ -export type PackageFileOrderField = - /** Order package files by creation time */ - | 'CREATED_AT'; - -/** Ways in which lists of packages can be ordered upon return. */ -export type PackageOrder = { - /** The direction in which to order packages by the specified field. */ - direction?: InputMaybe; - /** The field in which to order packages by. */ - field?: InputMaybe; -}; - -/** Properties by which package connections can be ordered. */ -export type PackageOrderField = - /** Order packages by creation time */ - | 'CREATED_AT'; - -/** The possible types of a package. */ -export type PackageType = - /** A debian package. */ - | 'DEBIAN' - /** A docker image. */ - | 'DOCKER' - /** A maven package. */ - | 'MAVEN' - /** An npm package. */ - | 'NPM' - /** A nuget package. */ - | 'NUGET' - /** A python package. */ - | 'PYPI' - /** A rubygems package. */ - | 'RUBYGEMS'; - -/** Ways in which lists of package versions can be ordered upon return. */ -export type PackageVersionOrder = { - /** The direction in which to order package versions by the specified field. */ - direction?: InputMaybe; - /** The field in which to order package versions by. */ - field?: InputMaybe; -}; - -/** Properties by which package version connections can be ordered. */ -export type PackageVersionOrderField = - /** Order package versions by creation time */ - | 'CREATED_AT'; - -/** The possible types of patch statuses. */ -export type PatchStatus = - /** The file was added. Git status 'A'. */ - | 'ADDED' - /** The file's type was changed. Git status 'T'. */ - | 'CHANGED' - /** The file was copied. Git status 'C'. */ - | 'COPIED' - /** The file was deleted. Git status 'D'. */ - | 'DELETED' - /** The file's contents were changed. Git status 'M'. */ - | 'MODIFIED' - /** The file was renamed. Git status 'R'. */ - | 'RENAMED'; - -/** Autogenerated input type of PinEnvironment */ -export type PinEnvironmentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the environment to modify */ - environmentId: Scalars['ID']['input']; - /** The desired state of the environment. If true, environment will be pinned. If false, it will be unpinned. */ - pinned: Scalars['Boolean']['input']; -}; - -/** Autogenerated input type of PinIssueComment */ -export type PinIssueCommentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Issue Comment to pin. Comment pinning is not supported on Pull Requests. */ - issueCommentId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of PinIssue */ -export type PinIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the issue to be pinned */ - issueId: Scalars['ID']['input']; -}; - -/** Represents items that can be pinned to a profile page or dashboard. */ -export type PinnableItemType = - /** A gist. */ - | 'GIST' - /** An issue. */ - | 'ISSUE' - /** An organization. */ - | 'ORGANIZATION' - /** A project. */ - | 'PROJECT' - /** A pull request. */ - | 'PULL_REQUEST' - /** A repository. */ - | 'REPOSITORY' - /** A team. */ - | 'TEAM' - /** A user. */ - | 'USER'; - -/** Preconfigured gradients that may be used to style discussions pinned within a repository. */ -export type PinnedDiscussionGradient = - /** A gradient of blue to mint */ - | 'BLUE_MINT' - /** A gradient of blue to purple */ - | 'BLUE_PURPLE' - /** A gradient of pink to blue */ - | 'PINK_BLUE' - /** A gradient of purple to coral */ - | 'PURPLE_CORAL' - /** A gradient of red to orange */ - | 'RED_ORANGE'; - -/** Preconfigured background patterns that may be used to style discussions pinned within a repository. */ -export type PinnedDiscussionPattern = - /** An upward-facing chevron pattern */ - | 'CHEVRON_UP' - /** A hollow dot pattern */ - | 'DOT' - /** A solid dot pattern */ - | 'DOT_FILL' - /** A heart pattern */ - | 'HEART_FILL' - /** A plus sign pattern */ - | 'PLUS' - /** A lightning bolt pattern */ - | 'ZAP'; - -/** Ordering options for pinned environments */ -export type PinnedEnvironmentOrder = { - /** The direction in which to order pinned environments by the specified field. */ - direction: OrderDirection; - /** The field to order pinned environments by. */ - field: PinnedEnvironmentOrderField; -}; - -/** Properties by which pinned environments connections can be ordered */ -export type PinnedEnvironmentOrderField = - /** Order pinned environments by position */ - | 'POSITION'; - -/** The possible archived states of a project card. */ -export type ProjectCardArchivedState = - /** A project card that is archived */ - | 'ARCHIVED' - /** A project card that is not archived */ - | 'NOT_ARCHIVED'; - -/** An issue or PR and its owning repository to be used in a project card. */ -export type ProjectCardImport = { - /** The issue or pull request number. */ - number: Scalars['Int']['input']; - /** Repository name with owner (owner/repository). */ - repository: Scalars['String']['input']; -}; - -/** Various content states of a ProjectCard */ -export type ProjectCardState = - /** The card has content only. */ - | 'CONTENT_ONLY' - /** The card has a note only. */ - | 'NOTE_ONLY' - /** The card is redacted. */ - | 'REDACTED'; - -/** A project column and a list of its issues and PRs. */ -export type ProjectColumnImport = { - /** The name of the column. */ - columnName: Scalars['String']['input']; - /** A list of issues and pull requests in the column. */ - issues?: InputMaybe>; - /** The position of the column, starting from 0. */ - position: Scalars['Int']['input']; -}; - -/** The semantic purpose of the column - todo, in progress, or done. */ -export type ProjectColumnPurpose = - /** The column contains cards which are complete */ - | 'DONE' - /** The column contains cards which are currently being worked on */ - | 'IN_PROGRESS' - /** The column contains cards still to be worked on */ - | 'TODO'; - -/** Ways in which lists of projects can be ordered upon return. */ -export type ProjectOrder = { - /** The direction in which to order projects by the specified field. */ - direction: OrderDirection; - /** The field in which to order projects by. */ - field: ProjectOrderField; -}; - -/** Properties by which project connections can be ordered. */ -export type ProjectOrderField = - /** Order projects by creation time */ - | 'CREATED_AT' - /** Order projects by name */ - | 'NAME' - /** Order projects by update time */ - | 'UPDATED_AT'; - -/** State of the project; either 'open' or 'closed' */ -export type ProjectState = - /** The project is closed. */ - | 'CLOSED' - /** The project is open. */ - | 'OPEN'; - -/** GitHub-provided templates for Projects */ -export type ProjectTemplate = - /** Create a board with v2 triggers to automatically move cards across To do, In progress and Done columns. */ - | 'AUTOMATED_KANBAN_V2' - /** Create a board with triggers to automatically move cards across columns with review automation. */ - | 'AUTOMATED_REVIEWS_KANBAN' - /** Create a board with columns for To do, In progress and Done. */ - | 'BASIC_KANBAN' - /** Create a board to triage and prioritize bugs with To do, priority, and Done columns. */ - | 'BUG_TRIAGE'; - -/** A collaborator to update on a project. Only one of the userId or teamId should be provided. */ -export type ProjectV2Collaborator = { - /** The role to grant the collaborator */ - role: ProjectV2Roles; - /** The ID of the team as a collaborator. */ - teamId?: InputMaybe; - /** The ID of the user as a collaborator. */ - userId?: InputMaybe; -}; - -/** The type of a project field. */ -export type ProjectV2CustomFieldType = - /** Date */ - | 'DATE' - /** Iteration */ - | 'ITERATION' - /** Number */ - | 'NUMBER' - /** Single Select */ - | 'SINGLE_SELECT' - /** Text */ - | 'TEXT'; - -/** Ordering options for project v2 field connections */ -export type ProjectV2FieldOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order the project v2 fields by. */ - field: ProjectV2FieldOrderField; -}; - -/** Properties by which project v2 field connections can be ordered. */ -export type ProjectV2FieldOrderField = - /** Order project v2 fields by creation time */ - | 'CREATED_AT' - /** Order project v2 fields by name */ - | 'NAME' - /** Order project v2 fields by position */ - | 'POSITION'; - -/** The type of a project field. */ -export type ProjectV2FieldType = - /** Assignees */ - | 'ASSIGNEES' - /** Date */ - | 'DATE' - /** Issue type */ - | 'ISSUE_TYPE' - /** Iteration */ - | 'ITERATION' - /** Labels */ - | 'LABELS' - /** Linked Pull Requests */ - | 'LINKED_PULL_REQUESTS' - /** Milestone */ - | 'MILESTONE' - /** Number */ - | 'NUMBER' - /** Parent issue */ - | 'PARENT_ISSUE' - /** Repository */ - | 'REPOSITORY' - /** Reviewers */ - | 'REVIEWERS' - /** Single Select */ - | 'SINGLE_SELECT' - /** Sub-issues progress */ - | 'SUB_ISSUES_PROGRESS' - /** Text */ - | 'TEXT' - /** Title */ - | 'TITLE' - /** Tracked by */ - | 'TRACKED_BY' - /** Tracks */ - | 'TRACKS'; - -/** The values that can be used to update a field of an item inside a Project. Only 1 value can be updated at a time. */ -export type ProjectV2FieldValue = { - /** The ISO 8601 date to set on the field. */ - date?: InputMaybe; - /** The id of the iteration to set on the field. */ - iterationId?: InputMaybe; - /** The number to set on the field. */ - number?: InputMaybe; - /** The id of the single select option to set on the field. */ - singleSelectOptionId?: InputMaybe; - /** The text to set on the field. */ - text?: InputMaybe; -}; - -/** Ways in which to filter lists of projects. */ -export type ProjectV2Filters = { - /** List project v2 filtered by the state given. */ - state?: InputMaybe; -}; - -/** Ordering options for project v2 item field value connections */ -export type ProjectV2ItemFieldValueOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order the project v2 item field values by. */ - field: ProjectV2ItemFieldValueOrderField; -}; - -/** Properties by which project v2 item field value connections can be ordered. */ -export type ProjectV2ItemFieldValueOrderField = - /** Order project v2 item field values by the their position in the project */ - | 'POSITION'; - -/** Ordering options for project v2 item connections */ -export type ProjectV2ItemOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order the project v2 items by. */ - field: ProjectV2ItemOrderField; -}; - -/** Properties by which project v2 item connections can be ordered. */ -export type ProjectV2ItemOrderField = - /** Order project v2 items by the their position in the project */ - | 'POSITION'; - -/** The type of a project item. */ -export type ProjectV2ItemType = - /** Draft Issue */ - | 'DRAFT_ISSUE' - /** Issue */ - | 'ISSUE' - /** Pull Request */ - | 'PULL_REQUEST' - /** Redacted Item */ - | 'REDACTED'; - -/** Represents an iteration */ -export type ProjectV2Iteration = { - /** The duration of the iteration, in days. */ - duration: Scalars['Int']['input']; - /** The start date for the iteration. */ - startDate: Scalars['Date']['input']; - /** The title for the iteration. */ - title: Scalars['String']['input']; -}; - -/** Represents an iteration field configuration. */ -export type ProjectV2IterationFieldConfigurationInput = { - /** The duration of each iteration, in days. */ - duration: Scalars['Int']['input']; - /** Zero or more iterations for the field. */ - iterations: Array; - /** The start date for the first iteration. */ - startDate: Scalars['Date']['input']; -}; - -/** Ways in which lists of projects can be ordered upon return. */ -export type ProjectV2Order = { - /** The direction in which to order projects by the specified field. */ - direction: OrderDirection; - /** The field in which to order projects by. */ - field: ProjectV2OrderField; -}; - -/** Properties by which projects can be ordered. */ -export type ProjectV2OrderField = - /** The project's date and time of creation */ - | 'CREATED_AT' - /** The project's number */ - | 'NUMBER' - /** The project's title */ - | 'TITLE' - /** The project's date and time of update */ - | 'UPDATED_AT'; - -/** The possible roles of a collaborator on a project. */ -export type ProjectV2PermissionLevel = - /** The collaborator can view, edit, and maange the settings of the project */ - | 'ADMIN' - /** The collaborator can view the project */ - | 'READ' - /** The collaborator can view and edit the project */ - | 'WRITE'; - -/** The possible roles of a collaborator on a project. */ -export type ProjectV2Roles = - /** The collaborator can view, edit, and maange the settings of the project */ - | 'ADMIN' - /** The collaborator has no direct access to the project */ - | 'NONE' - /** The collaborator can view the project */ - | 'READER' - /** The collaborator can view and edit the project */ - | 'WRITER'; - -/** The display color of a single-select field option. */ -export type ProjectV2SingleSelectFieldOptionColor = - /** BLUE */ - | 'BLUE' - /** GRAY */ - | 'GRAY' - /** GREEN */ - | 'GREEN' - /** ORANGE */ - | 'ORANGE' - /** PINK */ - | 'PINK' - /** PURPLE */ - | 'PURPLE' - /** RED */ - | 'RED' - /** YELLOW */ - | 'YELLOW'; - -/** Represents a single select field option */ -export type ProjectV2SingleSelectFieldOptionInput = { - /** The display color of the option */ - color: ProjectV2SingleSelectFieldOptionColor; - /** The description text of the option */ - description: Scalars['String']['input']; - /** The name of the option */ - name: Scalars['String']['input']; -}; - -/** The possible states of a project v2. */ -export type ProjectV2State = - /** A project v2 that has been closed */ - | 'CLOSED' - /** A project v2 that is still open */ - | 'OPEN'; - -/** Ways in which project v2 status updates can be ordered. */ -export type ProjectV2StatusOrder = { - /** The direction in which to order nodes. */ - direction: OrderDirection; - /** The field by which to order nodes. */ - field: ProjectV2StatusUpdateOrderField; -}; - -/** Properties by which project v2 status updates can be ordered. */ -export type ProjectV2StatusUpdateOrderField = - /** Allows chronological ordering of project v2 status updates. */ - | 'CREATED_AT'; - -/** The possible statuses of a project v2. */ -export type ProjectV2StatusUpdateStatus = - /** A project v2 that is at risk and encountering some challenges. */ - | 'AT_RISK' - /** A project v2 that is complete. */ - | 'COMPLETE' - /** A project v2 that is inactive. */ - | 'INACTIVE' - /** A project v2 that is off track and needs attention. */ - | 'OFF_TRACK' - /** A project v2 that is on track with no risks. */ - | 'ON_TRACK'; - -/** The layout of a project v2 view. */ -export type ProjectV2ViewLayout = - /** Board layout */ - | 'BOARD_LAYOUT' - /** Roadmap layout */ - | 'ROADMAP_LAYOUT' - /** Table layout */ - | 'TABLE_LAYOUT'; - -/** Ordering options for project v2 view connections */ -export type ProjectV2ViewOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order the project v2 views by. */ - field: ProjectV2ViewOrderField; -}; - -/** Properties by which project v2 view connections can be ordered. */ -export type ProjectV2ViewOrderField = - /** Order project v2 views by creation time */ - | 'CREATED_AT' - /** Order project v2 views by name */ - | 'NAME' - /** Order project v2 views by position */ - | 'POSITION'; - -/** Ordering options for project v2 workflows connections */ -export type ProjectV2WorkflowOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order the project v2 workflows by. */ - field: ProjectV2WorkflowsOrderField; -}; - -/** Properties by which project workflows can be ordered. */ -export type ProjectV2WorkflowsOrderField = - /** The date and time of the workflow creation */ - | 'CREATED_AT' - /** The name of the workflow */ - | 'NAME' - /** The number of the workflow */ - | 'NUMBER' - /** The date and time of the workflow update */ - | 'UPDATED_AT'; - -/** Autogenerated input type of PromoteRepositoryCustomProperty */ -export type PromoteRepositoryCustomPropertyInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the repository custom property to be promoted. */ - repositoryCustomPropertyId: Scalars['ID']['input']; -}; - -/** A property that must match */ -export type PropertyTargetDefinitionInput = { - /** The name of the property */ - name: Scalars['String']['input']; - /** The values to match for */ - propertyValues: Array; - /** The source of the property. Choose 'custom' or 'system'. Defaults to 'custom' if not specified */ - source?: InputMaybe; -}; - -/** Autogenerated input type of PublishSponsorsTier */ -export type PublishSponsorsTierInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the draft tier to publish. */ - tierId: Scalars['ID']['input']; -}; - -/** Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */ -export type PullRequestAllowedMergeMethods = - /** Add all commits from the head branch to the base branch with a merge commit. */ - | 'MERGE' - /** Add all commits from the head branch onto the base branch individually. */ - | 'REBASE' - /** Combine all commits from the head branch into a single commit in the base branch. */ - | 'SQUASH'; - -/** The possible methods for updating a pull request's head branch with the base branch. */ -export type PullRequestBranchUpdateMethod = - /** Update branch via merge */ - | 'MERGE' - /** Update branch via rebase */ - | 'REBASE'; - -/** The policy controlling who can create pull requests in a repository. */ -export type PullRequestCreationPolicy = - /** Anyone can create pull requests. */ - | 'ALL' - /** Only collaborators can create pull requests. */ - | 'COLLABORATORS_ONLY'; - -/** Represents available types of methods to use when merging a pull request. */ -export type PullRequestMergeMethod = - /** Add all commits from the head branch to the base branch with a merge commit. */ - | 'MERGE' - /** Add all commits from the head branch onto the base branch individually. */ - | 'REBASE' - /** Combine all commits from the head branch into a single commit in the base branch. */ - | 'SQUASH'; - -/** Ways in which lists of issues can be ordered upon return. */ -export type PullRequestOrder = { - /** The direction in which to order pull requests by the specified field. */ - direction: OrderDirection; - /** The field in which to order pull requests by. */ - field: PullRequestOrderField; -}; - -/** Properties by which pull_requests connections can be ordered. */ -export type PullRequestOrderField = - /** Order pull_requests by creation time */ - | 'CREATED_AT' - /** Order pull_requests by update time */ - | 'UPDATED_AT'; - -/** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ -export type PullRequestParametersInput = { - /** Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */ - allowedMergeMethods?: InputMaybe>; - /** New, reviewable commits pushed will dismiss previous pull request review approvals. */ - dismissStaleReviewsOnPush: Scalars['Boolean']['input']; - /** Require an approving review in pull requests that modify files that have a designated code owner. */ - requireCodeOwnerReview: Scalars['Boolean']['input']; - /** Whether the most recent reviewable push must be approved by someone other than the person who pushed it. */ - requireLastPushApproval: Scalars['Boolean']['input']; - /** The number of approving reviews that are required before a pull request can be merged. */ - requiredApprovingReviewCount: Scalars['Int']['input']; - /** All conversations on code must be resolved before a pull request can be merged. */ - requiredReviewThreadResolution: Scalars['Boolean']['input']; - /** This argument is in beta and subject to change. A collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review. */ - requiredReviewers?: InputMaybe>; -}; - -/** The possible states of a pull request review comment. */ -export type PullRequestReviewCommentState = - /** A comment that is part of a pending review */ - | 'PENDING' - /** A comment that is part of a submitted review */ - | 'SUBMITTED'; - -/** The review status of a pull request. */ -export type PullRequestReviewDecision = - /** The pull request has received an approving review. */ - | 'APPROVED' - /** Changes have been requested on the pull request. */ - | 'CHANGES_REQUESTED' - /** A review is required before the pull request can be merged. */ - | 'REVIEW_REQUIRED'; - -/** The possible events to perform on a pull request review. */ -export type PullRequestReviewEvent = - /** Submit feedback and approve merging these changes. */ - | 'APPROVE' - /** Submit general feedback without explicit approval. */ - | 'COMMENT' - /** Dismiss review so it now longer effects merging. */ - | 'DISMISS' - /** Submit feedback that must be addressed before merging. */ - | 'REQUEST_CHANGES'; - -/** The possible states of a pull request review. */ -export type PullRequestReviewState = - /** A review allowing the pull request to merge. */ - | 'APPROVED' - /** A review blocking the pull request from merging. */ - | 'CHANGES_REQUESTED' - /** An informational review. */ - | 'COMMENTED' - /** A review that has been dismissed. */ - | 'DISMISSED' - /** A review that has not yet been submitted. */ - | 'PENDING'; - -/** The possible subject types of a pull request review comment. */ -export type PullRequestReviewThreadSubjectType = - /** A comment that has been made against the file of a pull request */ - | 'FILE' - /** A comment that has been made against the line of a pull request */ - | 'LINE'; - -/** The possible states of a pull request. */ -export type PullRequestState = - /** A pull request that has been closed without being merged. */ - | 'CLOSED' - /** A pull request that has been closed by being merged. */ - | 'MERGED' - /** A pull request that is still open. */ - | 'OPEN'; - -/** The possible item types found in a timeline. */ -export type PullRequestTimelineItemsItemType = - /** Represents an 'added_to_merge_queue' event on a given pull request. */ - | 'ADDED_TO_MERGE_QUEUE_EVENT' - /** Represents a 'added_to_project' event on a given issue or pull request. */ - | 'ADDED_TO_PROJECT_EVENT' - /** Represents a 'added_to_project_v2' event on a given issue or pull request. */ - | 'ADDED_TO_PROJECT_V2_EVENT' - /** Represents an 'assigned' event on any assignable object. */ - | 'ASSIGNED_EVENT' - /** Represents a 'automatic_base_change_failed' event on a given pull request. */ - | 'AUTOMATIC_BASE_CHANGE_FAILED_EVENT' - /** Represents a 'automatic_base_change_succeeded' event on a given pull request. */ - | 'AUTOMATIC_BASE_CHANGE_SUCCEEDED_EVENT' - /** Represents a 'auto_merge_disabled' event on a given pull request. */ - | 'AUTO_MERGE_DISABLED_EVENT' - /** Represents a 'auto_merge_enabled' event on a given pull request. */ - | 'AUTO_MERGE_ENABLED_EVENT' - /** Represents a 'auto_rebase_enabled' event on a given pull request. */ - | 'AUTO_REBASE_ENABLED_EVENT' - /** Represents a 'auto_squash_enabled' event on a given pull request. */ - | 'AUTO_SQUASH_ENABLED_EVENT' - /** Represents a 'base_ref_changed' event on a given issue or pull request. */ - | 'BASE_REF_CHANGED_EVENT' - /** Represents a 'base_ref_deleted' event on a given pull request. */ - | 'BASE_REF_DELETED_EVENT' - /** Represents a 'base_ref_force_pushed' event on a given pull request. */ - | 'BASE_REF_FORCE_PUSHED_EVENT' - /** Represents a 'blocked_by_added' event on a given issue. */ - | 'BLOCKED_BY_ADDED_EVENT' - /** Represents a 'blocked_by_removed' event on a given issue. */ - | 'BLOCKED_BY_REMOVED_EVENT' - /** Represents a 'blocking_added' event on a given issue. */ - | 'BLOCKING_ADDED_EVENT' - /** Represents a 'blocking_removed' event on a given issue. */ - | 'BLOCKING_REMOVED_EVENT' - /** Represents a 'closed' event on any `Closable`. */ - | 'CLOSED_EVENT' - /** Represents a 'comment_deleted' event on a given issue or pull request. */ - | 'COMMENT_DELETED_EVENT' - /** Represents a 'connected' event on a given issue or pull request. */ - | 'CONNECTED_EVENT' - /** Represents a 'converted_from_draft' event on a given issue or pull request. */ - | 'CONVERTED_FROM_DRAFT_EVENT' - /** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ - | 'CONVERTED_NOTE_TO_ISSUE_EVENT' - /** Represents a 'converted_to_discussion' event on a given issue. */ - | 'CONVERTED_TO_DISCUSSION_EVENT' - /** Represents a 'convert_to_draft' event on a given pull request. */ - | 'CONVERT_TO_DRAFT_EVENT' - /** Represents a mention made by one issue or pull request to another. */ - | 'CROSS_REFERENCED_EVENT' - /** Represents a 'demilestoned' event on a given issue or pull request. */ - | 'DEMILESTONED_EVENT' - /** Represents a 'deployed' event on a given pull request. */ - | 'DEPLOYED_EVENT' - /** Represents a 'deployment_environment_changed' event on a given pull request. */ - | 'DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT' - /** Represents a 'disconnected' event on a given issue or pull request. */ - | 'DISCONNECTED_EVENT' - /** Represents a 'head_ref_deleted' event on a given pull request. */ - | 'HEAD_REF_DELETED_EVENT' - /** Represents a 'head_ref_force_pushed' event on a given pull request. */ - | 'HEAD_REF_FORCE_PUSHED_EVENT' - /** Represents a 'head_ref_restored' event on a given pull request. */ - | 'HEAD_REF_RESTORED_EVENT' - /** Represents a comment on an Issue. */ - | 'ISSUE_COMMENT' - /** Represents a 'issue_comment_pinned' event on a given issue. */ - | 'ISSUE_COMMENT_PINNED_EVENT' - /** Represents a 'issue_comment_unpinned' event on a given issue. */ - | 'ISSUE_COMMENT_UNPINNED_EVENT' - /** Represents a 'issue_field_added' event on a given issue. */ - | 'ISSUE_FIELD_ADDED_EVENT' - /** Represents a 'issue_field_changed' event on a given issue. */ - | 'ISSUE_FIELD_CHANGED_EVENT' - /** Represents a 'issue_field_removed' event on a given issue. */ - | 'ISSUE_FIELD_REMOVED_EVENT' - /** Represents a 'issue_type_added' event on a given issue. */ - | 'ISSUE_TYPE_ADDED_EVENT' - /** Represents a 'issue_type_changed' event on a given issue. */ - | 'ISSUE_TYPE_CHANGED_EVENT' - /** Represents a 'issue_type_removed' event on a given issue. */ - | 'ISSUE_TYPE_REMOVED_EVENT' - /** Represents a 'labeled' event on a given issue or pull request. */ - | 'LABELED_EVENT' - /** Represents a 'locked' event on a given issue or pull request. */ - | 'LOCKED_EVENT' - /** Represents a 'marked_as_duplicate' event on a given issue or pull request. */ - | 'MARKED_AS_DUPLICATE_EVENT' - /** Represents a 'mentioned' event on a given issue or pull request. */ - | 'MENTIONED_EVENT' - /** Represents a 'merged' event on a given pull request. */ - | 'MERGED_EVENT' - /** Represents a 'milestoned' event on a given issue or pull request. */ - | 'MILESTONED_EVENT' - /** Represents a 'moved_columns_in_project' event on a given issue or pull request. */ - | 'MOVED_COLUMNS_IN_PROJECT_EVENT' - /** Represents a 'parent_issue_added' event on a given issue. */ - | 'PARENT_ISSUE_ADDED_EVENT' - /** Represents a 'parent_issue_removed' event on a given issue. */ - | 'PARENT_ISSUE_REMOVED_EVENT' - /** Represents a 'pinned' event on a given issue or pull request. */ - | 'PINNED_EVENT' - /** Represents a 'project_v2_item_status_changed' event on a given issue or pull request. */ - | 'PROJECT_V2_ITEM_STATUS_CHANGED_EVENT' - /** Represents a Git commit part of a pull request. */ - | 'PULL_REQUEST_COMMIT' - /** Represents a commit comment thread part of a pull request. */ - | 'PULL_REQUEST_COMMIT_COMMENT_THREAD' - /** A review object for a given pull request. */ - | 'PULL_REQUEST_REVIEW' - /** A threaded list of comments for a given pull request. */ - | 'PULL_REQUEST_REVIEW_THREAD' - /** Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. */ - | 'PULL_REQUEST_REVISION_MARKER' - /** Represents a 'ready_for_review' event on a given pull request. */ - | 'READY_FOR_REVIEW_EVENT' - /** Represents a 'referenced' event on a given `ReferencedSubject`. */ - | 'REFERENCED_EVENT' - /** Represents a 'removed_from_merge_queue' event on a given pull request. */ - | 'REMOVED_FROM_MERGE_QUEUE_EVENT' - /** Represents a 'removed_from_project' event on a given issue or pull request. */ - | 'REMOVED_FROM_PROJECT_EVENT' - /** Represents a 'removed_from_project_v2' event on a given issue or pull request. */ - | 'REMOVED_FROM_PROJECT_V2_EVENT' - /** Represents a 'renamed' event on a given issue or pull request */ - | 'RENAMED_TITLE_EVENT' - /** Represents a 'reopened' event on any `Closable`. */ - | 'REOPENED_EVENT' - /** Represents a 'review_dismissed' event on a given issue or pull request. */ - | 'REVIEW_DISMISSED_EVENT' - /** Represents an 'review_requested' event on a given pull request. */ - | 'REVIEW_REQUESTED_EVENT' - /** Represents an 'review_request_removed' event on a given pull request. */ - | 'REVIEW_REQUEST_REMOVED_EVENT' - /** Represents a 'subscribed' event on a given `Subscribable`. */ - | 'SUBSCRIBED_EVENT' - /** Represents a 'sub_issue_added' event on a given issue. */ - | 'SUB_ISSUE_ADDED_EVENT' - /** Represents a 'sub_issue_removed' event on a given issue. */ - | 'SUB_ISSUE_REMOVED_EVENT' - /** Represents a 'transferred' event on a given issue or pull request. */ - | 'TRANSFERRED_EVENT' - /** Represents an 'unassigned' event on any assignable object. */ - | 'UNASSIGNED_EVENT' - /** Represents an 'unlabeled' event on a given issue or pull request. */ - | 'UNLABELED_EVENT' - /** Represents an 'unlocked' event on a given issue or pull request. */ - | 'UNLOCKED_EVENT' - /** Represents an 'unmarked_as_duplicate' event on a given issue or pull request. */ - | 'UNMARKED_AS_DUPLICATE_EVENT' - /** Represents an 'unpinned' event on a given issue or pull request. */ - | 'UNPINNED_EVENT' - /** Represents an 'unsubscribed' event on a given `Subscribable`. */ - | 'UNSUBSCRIBED_EVENT' - /** Represents a 'user_blocked' event on a given user. */ - | 'USER_BLOCKED_EVENT'; - -/** The possible target states when updating a pull request. */ -export type PullRequestUpdateState = - /** A pull request that has been closed without being merged. */ - | 'CLOSED' - /** A pull request that is still open. */ - | 'OPEN'; - -/** Emojis that can be attached to Issues, Pull Requests and Comments. */ -export type ReactionContent = - /** Represents the `:confused:` emoji. */ - | 'CONFUSED' - /** Represents the `:eyes:` emoji. */ - | 'EYES' - /** Represents the `:heart:` emoji. */ - | 'HEART' - /** Represents the `:hooray:` emoji. */ - | 'HOORAY' - /** Represents the `:laugh:` emoji. */ - | 'LAUGH' - /** Represents the `:rocket:` emoji. */ - | 'ROCKET' - /** Represents the `:-1:` emoji. */ - | 'THUMBS_DOWN' - /** Represents the `:+1:` emoji. */ - | 'THUMBS_UP'; - -/** Ways in which lists of reactions can be ordered upon return. */ -export type ReactionOrder = { - /** The direction in which to order reactions by the specified field. */ - direction: OrderDirection; - /** The field in which to order reactions by. */ - field: ReactionOrderField; -}; - -/** A list of fields that reactions can be ordered by. */ -export type ReactionOrderField = - /** Allows ordering a list of reactions by when they were created. */ - | 'CREATED_AT'; - -/** Parameters to be used for the ref_name condition */ -export type RefNameConditionTargetInput = { - /** Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude: Array; - /** Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches. */ - include: Array; -}; - -/** Ways in which lists of git refs can be ordered upon return. */ -export type RefOrder = { - /** The direction in which to order refs by the specified field. */ - direction: OrderDirection; - /** The field in which to order refs by. */ - field: RefOrderField; -}; - -/** Properties by which ref connections can be ordered. */ -export type RefOrderField = - /** Order refs by their alphanumeric name */ - | 'ALPHABETICAL' - /** Order refs by underlying commit date if the ref prefix is refs/tags/ */ - | 'TAG_COMMIT_DATE'; - -/** A ref update */ -export type RefUpdate = { - /** The value this ref should be updated to. */ - afterOid: Scalars['GitObjectID']['input']; - /** The value this ref needs to point to before the update. */ - beforeOid?: InputMaybe; - /** Force a non fast-forward update. */ - force?: InputMaybe; - /** The fully qualified name of the ref to be update. For example `refs/heads/branch-name` */ - name: Scalars['GitRefname']['input']; -}; - -/** Autogenerated input type of RegenerateEnterpriseIdentityProviderRecoveryCodes */ -export type RegenerateEnterpriseIdentityProviderRecoveryCodesInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set an identity provider. */ - enterpriseId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RegenerateVerifiableDomainToken */ -export type RegenerateVerifiableDomainTokenInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the verifiable domain to regenerate the verification token of. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RejectDeployments */ -export type RejectDeploymentsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Optional comment for rejecting deployments */ - comment?: InputMaybe; - /** The ids of environments to reject deployments */ - environmentIds: Array; - /** The node ID of the workflow run containing the pending deployments. */ - workflowRunId: Scalars['ID']['input']; -}; - -/** Ways in which lists of releases can be ordered upon return. */ -export type ReleaseOrder = { - /** The direction in which to order releases by the specified field. */ - direction: OrderDirection; - /** The field in which to order releases by. */ - field: ReleaseOrderField; -}; - -/** Properties by which release connections can be ordered. */ -export type ReleaseOrderField = - /** Order releases by creation time */ - | 'CREATED_AT' - /** Order releases alphabetically by name */ - | 'NAME'; - -/** Autogenerated input type of RemoveAssigneesFromAssignable */ -export type RemoveAssigneesFromAssignableInput = { - /** The id of the assignable object to remove assignees from. */ - assignableId: Scalars['ID']['input']; - /** The ids of actors to remove as assignees. */ - assigneeIds: Array; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; -}; - -/** Autogenerated input type of RemoveBlockedBy */ -export type RemoveBlockedByInput = { - /** The ID of the blocking issue. */ - blockingIssueId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the blocked issue. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveEnterpriseAdmin */ -export type RemoveEnterpriseAdminInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Enterprise ID from which to remove the administrator. */ - enterpriseId: Scalars['ID']['input']; - /** The login of the user to remove as an administrator. */ - login: Scalars['String']['input']; -}; - -/** Autogenerated input type of RemoveEnterpriseIdentityProvider */ -export type RemoveEnterpriseIdentityProviderInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise from which to remove the identity provider. */ - enterpriseId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveEnterpriseMember */ -export type RemoveEnterpriseMemberInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise from which the user should be removed. */ - enterpriseId: Scalars['ID']['input']; - /** The ID of the user to remove from the enterprise. */ - userId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveEnterpriseOrganization */ -export type RemoveEnterpriseOrganizationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise from which the organization should be removed. */ - enterpriseId: Scalars['ID']['input']; - /** The ID of the organization to remove from the enterprise. */ - organizationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveEnterpriseSupportEntitlement */ -export type RemoveEnterpriseSupportEntitlementInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Enterprise which the admin belongs to. */ - enterpriseId: Scalars['ID']['input']; - /** The login of a member who will lose the support entitlement. */ - login: Scalars['String']['input']; -}; - -/** Autogenerated input type of RemoveLabelsFromLabelable */ -export type RemoveLabelsFromLabelableInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ids of labels to remove. */ - labelIds: Array; - /** The id of the Labelable to remove labels from. */ - labelableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveOutsideCollaborator */ -export type RemoveOutsideCollaboratorInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the organization to remove the outside collaborator from. */ - organizationId: Scalars['ID']['input']; - /** The ID of the outside collaborator to remove. */ - userId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveReaction */ -export type RemoveReactionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of the emoji reaction to remove. */ - content: ReactionContent; - /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveStar */ -export type RemoveStarInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Starrable ID to unstar. */ - starrableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveSubIssue */ -export type RemoveSubIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the issue. */ - issueId: Scalars['ID']['input']; - /** The id of the sub-issue. */ - subIssueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RemoveUpvote */ -export type RemoveUpvoteInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion or comment to remove upvote. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ReopenDiscussion */ -export type ReopenDiscussionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the discussion to be reopened. */ - discussionId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ReopenIssue */ -export type ReopenIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the issue to be opened. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ReopenPullRequest */ -export type ReopenPullRequestInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the pull request to be reopened. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ReorderEnvironment */ -export type ReorderEnvironmentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the environment to modify */ - environmentId: Scalars['ID']['input']; - /** The desired position of the environment */ - position: Scalars['Int']['input']; -}; - -/** Autogenerated input type of ReplaceActorsForAssignable */ -export type ReplaceActorsForAssignableInput = { - /** The ids of the actors to replace the existing assignees. May be used as an alternative to or in conjunction with actorLogins. */ - actorIds?: InputMaybe>; - /** The usernames of the actors to replace the existing assignees. May be used as an alternative to or in conjunction with actorIds. For bots, use the login format with [bot] suffix (e.g., 'my-app[bot]'). */ - actorLogins?: InputMaybe>; - /** Configuration for assigning an AI agent to this issue. */ - agentAssignment?: InputMaybe; - /** The id of the assignable object to replace the assignees for. */ - assignableId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; -}; - -/** The privacy of a repository */ -export type RepoAccessAuditEntryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The privacy of a repository */ -export type RepoAddMemberAuditEntryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The privacy of a repository */ -export type RepoArchivedAuditEntryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The merge options available for pull requests to this repository. */ -export type RepoChangeMergeSettingAuditEntryMergeType = - /** The pull request is added to the base branch in a merge commit. */ - | 'MERGE' - /** Commits from the pull request are added onto the base branch individually without a merge commit. */ - | 'REBASE' - /** The pull request's commits are squashed into a single commit before they are merged to the base branch. */ - | 'SQUASH'; - -/** The privacy of a repository */ -export type RepoCreateAuditEntryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The privacy of a repository */ -export type RepoDestroyAuditEntryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The privacy of a repository */ -export type RepoRemoveMemberAuditEntryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The reasons a piece of content can be reported or minimized. */ -export type ReportedContentClassifiers = - /** An abusive or harassing piece of content */ - | 'ABUSE' - /** A duplicated piece of content */ - | 'DUPLICATE' - /** An irrelevant piece of content */ - | 'OFF_TOPIC' - /** An outdated piece of content */ - | 'OUTDATED' - /** The content has been resolved */ - | 'RESOLVED' - /** A spammy piece of content */ - | 'SPAM'; - -/** The affiliation of a user to a repository */ -export type RepositoryAffiliation = - /** Repositories that the user has been added to as a collaborator. */ - | 'COLLABORATOR' - /** Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. */ - | 'ORGANIZATION_MEMBER' - /** Repositories that are owned by the authenticated user. */ - | 'OWNER'; - -/** The reason a repository is listed as 'contributed'. */ -export type RepositoryContributionType = - /** Created a commit */ - | 'COMMIT' - /** Created an issue */ - | 'ISSUE' - /** Created a pull request */ - | 'PULL_REQUEST' - /** Reviewed a pull request */ - | 'PULL_REQUEST_REVIEW' - /** Created the repository */ - | 'REPOSITORY'; - -/** The allowed actors who can edit the values of a custom property. */ -export type RepositoryCustomPropertyValuesEditableBy = - /** The organization actors. */ - | 'ORG_ACTORS' - /** The organization and repository actors. */ - | 'ORG_AND_REPO_ACTORS'; - -/** Parameters to be used for the repository_id condition */ -export type RepositoryIdConditionTargetInput = { - /** One of these repo IDs must match the repo. */ - repositoryIds: Array; -}; - -/** A repository interaction limit. */ -export type RepositoryInteractionLimit = - /** Users that are not collaborators will not be able to interact with the repository. */ - | 'COLLABORATORS_ONLY' - /** Users that have not previously committed to a repository’s default branch will be unable to interact with the repository. */ - | 'CONTRIBUTORS_ONLY' - /** Users that have recently created their account will be unable to interact with the repository. */ - | 'EXISTING_USERS' - /** No interaction limits are enabled. */ - | 'NO_LIMIT'; - -/** The length for a repository interaction limit to be enabled for. */ -export type RepositoryInteractionLimitExpiry = - /** The interaction limit will expire after 1 day. */ - | 'ONE_DAY' - /** The interaction limit will expire after 1 month. */ - | 'ONE_MONTH' - /** The interaction limit will expire after 1 week. */ - | 'ONE_WEEK' - /** The interaction limit will expire after 6 months. */ - | 'SIX_MONTHS' - /** The interaction limit will expire after 3 days. */ - | 'THREE_DAYS'; - -/** Indicates where an interaction limit is configured. */ -export type RepositoryInteractionLimitOrigin = - /** A limit that is configured at the organization level. */ - | 'ORGANIZATION' - /** A limit that is configured at the repository level. */ - | 'REPOSITORY' - /** A limit that is configured at the user-wide level. */ - | 'USER'; - -/** Ordering options for repository invitation connections. */ -export type RepositoryInvitationOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order repository invitations by. */ - field: RepositoryInvitationOrderField; -}; - -/** Properties by which repository invitation connections can be ordered. */ -export type RepositoryInvitationOrderField = - /** Order repository invitations by creation time */ - | 'CREATED_AT'; - -/** The possible reasons a given repository could be in a locked state. */ -export type RepositoryLockReason = - /** The repository is locked due to a billing related reason. */ - | 'BILLING' - /** The repository is locked due to a migration. */ - | 'MIGRATING' - /** The repository is locked due to a move. */ - | 'MOVING' - /** The repository is locked due to a rename. */ - | 'RENAME' - /** The repository is locked due to a trade controls related reason. */ - | 'TRADE_RESTRICTION' - /** The repository is locked due to an ownership transfer. */ - | 'TRANSFERRING_OWNERSHIP'; - -/** Ordering options for repository migrations. */ -export type RepositoryMigrationOrder = { - /** The ordering direction. */ - direction: RepositoryMigrationOrderDirection; - /** The field to order repository migrations by. */ - field: RepositoryMigrationOrderField; -}; - -/** Possible directions in which to order a list of repository migrations when provided an `orderBy` argument. */ -export type RepositoryMigrationOrderDirection = - /** Specifies an ascending order for a given `orderBy` argument. */ - | 'ASC' - /** Specifies a descending order for a given `orderBy` argument. */ - | 'DESC'; - -/** Properties by which repository migrations can be ordered. */ -export type RepositoryMigrationOrderField = - /** Order mannequins why when they were created. */ - | 'CREATED_AT'; - -/** Parameters to be used for the repository_name condition */ -export type RepositoryNameConditionTargetInput = { - /** Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. */ - exclude: Array; - /** Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. */ - include: Array; - /** Target changes that match these patterns will be prevented except by those with bypass permissions. */ - protected?: InputMaybe; -}; - -/** Ordering options for repository connections */ -export type RepositoryOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order repositories by. */ - field: RepositoryOrderField; -}; - -/** Properties by which repository connections can be ordered. */ -export type RepositoryOrderField = - /** Order repositories by creation time */ - | 'CREATED_AT' - /** Order repositories by name */ - | 'NAME' - /** Order repositories by push time */ - | 'PUSHED_AT' - /** Order repositories by number of stargazers */ - | 'STARGAZERS' - /** Order repositories by update time */ - | 'UPDATED_AT'; - -/** The access level to a repository */ -export type RepositoryPermission = - /** Can read, clone, and push to this repository. Can also manage issues, pull requests, and repository settings, including adding collaborators */ - | 'ADMIN' - /** Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings */ - | 'MAINTAIN' - /** Can read and clone this repository. Can also open and comment on issues and pull requests */ - | 'READ' - /** Can read and clone this repository. Can also manage issues and pull requests */ - | 'TRIAGE' - /** Can read, clone, and push to this repository. Can also manage issues and pull requests */ - | 'WRITE'; - -/** The privacy of a repository */ -export type RepositoryPrivacy = - /** Private */ - | 'PRIVATE' - /** Public */ - | 'PUBLIC'; - -/** Parameters to be used for the repository_property condition */ -export type RepositoryPropertyConditionTargetInput = { - /** Array of repository properties that must not match. */ - exclude: Array; - /** Array of repository properties that must match */ - include: Array; -}; - -/** Specifies the conditions required for a ruleset to evaluate */ -export type RepositoryRuleConditionsInput = { - /** Configuration for the organization_property condition */ - organizationProperty?: InputMaybe; - /** Configuration for the ref_name condition */ - refName?: InputMaybe; - /** Configuration for the repository_id condition */ - repositoryId?: InputMaybe; - /** Configuration for the repository_name condition */ - repositoryName?: InputMaybe; - /** Configuration for the repository_property condition */ - repositoryProperty?: InputMaybe; -}; - -/** Specifies the attributes for a new or updated rule. */ -export type RepositoryRuleInput = { - /** Optional ID of this rule when updating */ - id?: InputMaybe; - /** The parameters for the rule. */ - parameters?: InputMaybe; - /** The type of rule to create. */ - type: RepositoryRuleType; -}; - -/** Ordering options for repository rules. */ -export type RepositoryRuleOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order repository rules by. */ - field: RepositoryRuleOrderField; -}; - -/** Properties by which repository rule connections can be ordered. */ -export type RepositoryRuleOrderField = - /** Order repository rules by created time */ - | 'CREATED_AT' - /** Order repository rules by type */ - | 'TYPE' - /** Order repository rules by updated time */ - | 'UPDATED_AT'; - -/** The rule types supported in rulesets */ -export type RepositoryRuleType = - /** Authorization */ - | 'AUTHORIZATION' - /** Branch name pattern */ - | 'BRANCH_NAME_PATTERN' - /** Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. */ - | 'CODE_SCANNING' - /** Committer email pattern */ - | 'COMMITTER_EMAIL_PATTERN' - /** Commit author email pattern */ - | 'COMMIT_AUTHOR_EMAIL_PATTERN' - /** Commit message pattern */ - | 'COMMIT_MESSAGE_PATTERN' - /** Request Copilot code review for new pull requests automatically if the author has access to Copilot code review and their premium requests quota has not reached the limit. */ - | 'COPILOT_CODE_REVIEW' - /** Only allow users with bypass permission to create matching refs. */ - | 'CREATION' - /** Only allow users with bypass permissions to delete matching refs. */ - | 'DELETION' - /** Prevent commits that include files with specified file extensions from being pushed to the commit graph. */ - | 'FILE_EXTENSION_RESTRICTION' - /** Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. This includes absolute paths that contain file names. */ - | 'FILE_PATH_RESTRICTION' - /** Branch is read-only. Users cannot push to the branch. */ - | 'LOCK_BRANCH' - /** Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit graph. */ - | 'MAX_FILE_PATH_LENGTH' - /** Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. */ - | 'MAX_FILE_SIZE' - /** Max ref updates */ - | 'MAX_REF_UPDATES' - /** Merges must be performed via a merge queue. */ - | 'MERGE_QUEUE' - /** Merge queue locked ref */ - | 'MERGE_QUEUE_LOCKED_REF' - /** Prevent users with push access from force pushing to refs. */ - | 'NON_FAST_FORWARD' - /** Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. */ - | 'PULL_REQUEST' - /** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ - | 'REQUIRED_DEPLOYMENTS' - /** Prevent merge commits from being pushed to matching refs. */ - | 'REQUIRED_LINEAR_HISTORY' - /** When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule. */ - | 'REQUIRED_REVIEW_THREAD_RESOLUTION' - /** Commits pushed to matching refs must have verified signatures. */ - | 'REQUIRED_SIGNATURES' - /** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ - | 'REQUIRED_STATUS_CHECKS' - /** Require all commits be made to a non-target branch and submitted via a pull request and required workflow checks to pass before they can be merged. */ - | 'REQUIRED_WORKFLOW_STATUS_CHECKS' - /** Secret scanning */ - | 'SECRET_SCANNING' - /** Tag */ - | 'TAG' - /** Tag name pattern */ - | 'TAG_NAME_PATTERN' - /** Only allow users with bypass permission to update matching refs. */ - | 'UPDATE' - /** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ - | 'WORKFLOWS' - /** Workflow files cannot be modified. */ - | 'WORKFLOW_UPDATES'; - -/** The bypass mode for a specific actor on a ruleset. */ -export type RepositoryRulesetBypassActorBypassMode = - /** The actor can always bypass rules */ - | 'ALWAYS' - /** The actor is exempt from rules without generating a pass / fail result */ - | 'EXEMPT' - /** The actor can only bypass rules via a pull request */ - | 'PULL_REQUEST'; - -/** Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key` should be specified. */ -export type RepositoryRulesetBypassActorInput = { - /** For Team and Integration bypasses, the Team or Integration ID */ - actorId?: InputMaybe; - /** The bypass mode for this actor. */ - bypassMode: RepositoryRulesetBypassActorBypassMode; - /** For deploy key bypasses, true. Can only use ALWAYS as the bypass mode */ - deployKey?: InputMaybe; - /** For enterprise owner bypasses, true */ - enterpriseOwner?: InputMaybe; - /** For organization owner bypasses, true */ - organizationAdmin?: InputMaybe; - /** For role bypasses, the role database ID */ - repositoryRoleDatabaseId?: InputMaybe; -}; - -/** The targets supported for rulesets. */ -export type RepositoryRulesetTarget = - /** Branch */ - | 'BRANCH' - /** Push */ - | 'PUSH' - /** repository */ - | 'REPOSITORY' - /** Tag */ - | 'TAG'; - -/** The possible filters for suggested actors in a repository */ -export type RepositorySuggestedActorFilter = - /** Actors that can be assigned to issues and pull requests */ - | 'CAN_BE_ASSIGNED' - /** Actors that can be the author of issues and pull requests */ - | 'CAN_BE_AUTHOR'; - -/** The repository's visibility level. */ -export type RepositoryVisibility = - /** The repository is visible only to users in the same enterprise. */ - | 'INTERNAL' - /** The repository is visible only to those with explicit access. */ - | 'PRIVATE' - /** The repository is visible to everyone. */ - | 'PUBLIC'; - -/** The possible relationships of an alert's dependency. */ -export type RepositoryVulnerabilityAlertDependencyRelationship = - /** A direct dependency of your project */ - | 'DIRECT' - /** The relationship could not be determined */ - | 'INCONCLUSIVE' - /** A transitive dependency of your project */ - | 'TRANSITIVE' - /** The relationship is unknown */ - | 'UNKNOWN'; - -/** The possible scopes of an alert's dependency. */ -export type RepositoryVulnerabilityAlertDependencyScope = - /** A dependency that is only used in development */ - | 'DEVELOPMENT' - /** A dependency that is leveraged during application runtime */ - | 'RUNTIME'; +/** Internal type. DO NOT USE DIRECTLY. */ +type Exact = { [K in keyof T]: T[K] }; +/** Internal type. DO NOT USE DIRECTLY. */ +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +import type { Link } from '../../../../types'; +import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core'; +/** The possible state reasons of a discussion. */ +export type DiscussionStateReason = + /** The discussion is a duplicate of another */ + | 'DUPLICATE' + /** The discussion is no longer relevant */ + | 'OUTDATED' + /** The discussion was reopened */ + | 'REOPENED' + /** The discussion has been resolved */ + | 'RESOLVED'; -/** The possible states of an alert */ -export type RepositoryVulnerabilityAlertState = - /** An alert that has been automatically closed by Dependabot. */ - | 'AUTO_DISMISSED' - /** An alert that has been manually closed by a user. */ - | 'DISMISSED' - /** An alert that has been resolved by a code change. */ - | 'FIXED' - /** An alert that is still open. */ +/** The possible states of an issue. */ +export type IssueState = + /** An issue that has been closed */ + | 'CLOSED' + /** An issue that is still open */ | 'OPEN'; -/** Autogenerated input type of ReprioritizeSubIssue */ -export type ReprioritizeSubIssueInput = { - /** The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified). */ - afterId?: InputMaybe; - /** The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified). */ - beforeId?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The id of the parent issue. */ - issueId: Scalars['ID']['input']; - /** The id of the sub-issue to reprioritize. */ - subIssueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RequestReviewsByLogin */ -export type RequestReviewsByLoginInput = { - /** The logins of the bots to request reviews from, including the [bot] suffix (e.g., 'copilot-pull-request-reviewer[bot]'). */ - botLogins?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pull request to modify. */ - pullRequestId: Scalars['ID']['input']; - /** The slugs of the teams to request reviews from (format: 'org/team-slug'). */ - teamSlugs?: InputMaybe>; - /** Add users to the set rather than replace. */ - union?: InputMaybe; - /** The login strings of the users to request reviews from. */ - userLogins?: InputMaybe>; -}; - -/** Autogenerated input type of RequestReviews */ -export type RequestReviewsInput = { - /** The Node IDs of the bot to request. */ - botIds?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pull request to modify. */ - pullRequestId: Scalars['ID']['input']; - /** The Node IDs of the team to request. */ - teamIds?: InputMaybe>; - /** Add users to the set rather than replace. */ - union?: InputMaybe; - /** The Node IDs of the user to request. */ - userIds?: InputMaybe>; -}; - -/** The possible states that can be requested when creating a check run. */ -export type RequestableCheckStatusState = - /** The check suite or run has been completed. */ +/** The possible state reasons of an issue. */ +export type IssueStateReason = + /** An issue that has been closed as completed */ | 'COMPLETED' - /** The check suite or run is in progress. */ - | 'IN_PROGRESS' - /** The check suite or run is in pending state. */ - | 'PENDING' - /** The check suite or run has been queued. */ - | 'QUEUED' - /** The check suite or run is in waiting state. */ - | 'WAITING'; - -/** Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule. */ -export type RequiredDeploymentsParametersInput = { - /** The environments that must be successfully deployed to before branches can be merged. */ - requiredDeploymentEnvironments: Array; -}; - -/** A reviewing team, and file patterns describing which files they must approve changes to. */ -export type RequiredReviewerConfigurationInput = { - /** Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax. */ - filePatterns: Array; - /** Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional. */ - minimumApprovals: Scalars['Int']['input']; - /** Node ID of the team which must review changes to matching files. */ - reviewerId: Scalars['ID']['input']; -}; - -/** Specifies the attributes for a new or updated required status check. */ -export type RequiredStatusCheckInput = { - /** The ID of the App that must set the status in order for it to be accepted. Omit this value to use whichever app has recently been setting this status, or use "any" to allow any app to set the status. */ - appId?: InputMaybe; - /** Status check context that must pass for commits to be accepted to the matching branch. */ - context: Scalars['String']['input']; -}; - -/** Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass. */ -export type RequiredStatusChecksParametersInput = { - /** Allow repositories and branches to be created if a check would otherwise prohibit it. */ - doNotEnforceOnCreate?: InputMaybe; - /** Status checks that are required. */ - requiredStatusChecks: Array; - /** Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. */ - strictRequiredStatusChecksPolicy: Scalars['Boolean']['input']; -}; - -/** Autogenerated input type of RerequestCheckSuite */ -export type RerequestCheckSuiteInput = { - /** The Node ID of the check suite. */ - checkSuiteId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of ResolveReviewThread */ -export type ResolveReviewThreadInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the thread to resolve */ - threadId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RetireSponsorsTier */ -export type RetireSponsorsTierInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the published tier to retire. */ - tierId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of RevertPullRequest */ -export type RevertPullRequestInput = { - /** The description of the revert pull request. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Indicates whether the revert pull request should be a draft. */ - draft?: InputMaybe; - /** The ID of the pull request to revert. */ - pullRequestId: Scalars['ID']['input']; - /** The title of the revert pull request. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of RevokeEnterpriseOrganizationsMigratorRole */ -export type RevokeEnterpriseOrganizationsMigratorRoleInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise to which all organizations managed by it will be granted the migrator role. */ - enterpriseId: Scalars['ID']['input']; - /** The login of the user to revoke the migrator role */ - login: Scalars['String']['input']; -}; - -/** Autogenerated input type of RevokeMigratorRole */ -export type RevokeMigratorRoleInput = { - /** The user login or Team slug to revoke the migrator role from. */ - actor: Scalars['String']['input']; - /** Specifies the type of the actor, can be either USER or TEAM. */ - actorType: ActorType; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the organization that the user/team belongs to. */ - organizationId: Scalars['ID']['input']; -}; - -/** Possible roles a user may have in relation to an organization. */ -export type RoleInOrganization = - /** A user who is a direct member of the organization. */ - | 'DIRECT_MEMBER' - /** A user with full administrative access to the organization. */ - | 'OWNER' - /** A user who is unaffiliated with the organization. */ - | 'UNAFFILIATED'; - -/** The level of enforcement for a rule or ruleset. */ -export type RuleEnforcement = - /** Rules will be enforced */ - | 'ACTIVE' - /** Do not evaluate or enforce rules */ - | 'DISABLED' - /** Allow admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). */ - | 'EVALUATE'; - -/** Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. */ -export type RuleParametersInput = { - /** Parameters used for the `branch_name_pattern` rule type */ - branchNamePattern?: InputMaybe; - /** Parameters used for the `code_scanning` rule type */ - codeScanning?: InputMaybe; - /** Parameters used for the `commit_author_email_pattern` rule type */ - commitAuthorEmailPattern?: InputMaybe; - /** Parameters used for the `commit_message_pattern` rule type */ - commitMessagePattern?: InputMaybe; - /** Parameters used for the `committer_email_pattern` rule type */ - committerEmailPattern?: InputMaybe; - /** Parameters used for the `copilot_code_review` rule type */ - copilotCodeReview?: InputMaybe; - /** Parameters used for the `file_extension_restriction` rule type */ - fileExtensionRestriction?: InputMaybe; - /** Parameters used for the `file_path_restriction` rule type */ - filePathRestriction?: InputMaybe; - /** Parameters used for the `max_file_path_length` rule type */ - maxFilePathLength?: InputMaybe; - /** Parameters used for the `max_file_size` rule type */ - maxFileSize?: InputMaybe; - /** Parameters used for the `merge_queue` rule type */ - mergeQueue?: InputMaybe; - /** Parameters used for the `pull_request` rule type */ - pullRequest?: InputMaybe; - /** Parameters used for the `required_deployments` rule type */ - requiredDeployments?: InputMaybe; - /** Parameters used for the `required_status_checks` rule type */ - requiredStatusChecks?: InputMaybe; - /** Parameters used for the `tag_name_pattern` rule type */ - tagNamePattern?: InputMaybe; - /** Parameters used for the `update` rule type */ - update?: InputMaybe; - /** Parameters used for the `workflows` rule type */ - workflows?: InputMaybe; -}; - -/** The possible digest algorithms used to sign SAML requests for an identity provider. */ -export type SamlDigestAlgorithm = - /** SHA1 */ - | 'SHA1' - /** SHA256 */ - | 'SHA256' - /** SHA384 */ - | 'SHA384' - /** SHA512 */ - | 'SHA512'; - -/** The possible signature algorithms used to sign SAML requests for a Identity Provider. */ -export type SamlSignatureAlgorithm = - /** RSA-SHA1 */ - | 'RSA_SHA1' - /** RSA-SHA256 */ - | 'RSA_SHA256' - /** RSA-SHA384 */ - | 'RSA_SHA384' - /** RSA-SHA512 */ - | 'RSA_SHA512'; - -/** Ordering options for saved reply connections. */ -export type SavedReplyOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order saved replies by. */ - field: SavedReplyOrderField; -}; - -/** Properties by which saved reply connections can be ordered. */ -export type SavedReplyOrderField = - /** Order saved reply by when they were updated. */ - | 'UPDATED_AT'; - -/** Represents the individual results of a search. */ -export type SearchType = - /** Returns matching discussions in repositories. */ - | 'DISCUSSION' - /** Returns results matching issues in repositories. */ - | 'ISSUE' - /** Returns results matching issues in repositories. */ - | 'ISSUE_ADVANCED' - /** Returns results matching issues using hybrid (lexical + semantic) search. */ - | 'ISSUE_HYBRID' - /** Returns results matching issues using semantic search. */ - | 'ISSUE_SEMANTIC' - /** Returns results matching repositories. */ - | 'REPOSITORY' - /** Returns results matching users and organizations on GitHub. */ - | 'USER'; - -/** Classification of the advisory. */ -export type SecurityAdvisoryClassification = - /** Classification of general advisories. */ - | 'GENERAL' - /** Classification of malware advisories. */ - | 'MALWARE'; - -/** The possible ecosystems of a security vulnerability's package. */ -export type SecurityAdvisoryEcosystem = - /** GitHub Actions */ - | 'ACTIONS' - /** PHP packages hosted at packagist.org */ - | 'COMPOSER' - /** Erlang/Elixir packages hosted at hex.pm */ - | 'ERLANG' - /** Go modules */ - | 'GO' - /** Java artifacts hosted at the Maven central repository */ - | 'MAVEN' - /** JavaScript packages hosted at npmjs.com */ - | 'NPM' - /** .NET packages hosted at the NuGet Gallery */ - | 'NUGET' - /** Python packages hosted at PyPI.org */ - | 'PIP' - /** Dart packages hosted at pub.dev */ - | 'PUB' - /** Ruby gems hosted at RubyGems.org */ - | 'RUBYGEMS' - /** Rust crates */ - | 'RUST' - /** Swift packages */ - | 'SWIFT'; - -/** An advisory identifier to filter results on. */ -export type SecurityAdvisoryIdentifierFilter = { - /** The identifier type. */ - type: SecurityAdvisoryIdentifierType; - /** The identifier string. Supports exact or partial matching. */ - value: Scalars['String']['input']; -}; - -/** Identifier formats available for advisories. */ -export type SecurityAdvisoryIdentifierType = - /** Common Vulnerabilities and Exposures Identifier. */ - | 'CVE' - /** GitHub Security Advisory ID. */ - | 'GHSA'; - -/** Ordering options for security advisory connections */ -export type SecurityAdvisoryOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order security advisories by. */ - field: SecurityAdvisoryOrderField; -}; - -/** Properties by which security advisory connections can be ordered. */ -export type SecurityAdvisoryOrderField = - /** Order advisories by EPSS percentage */ - | 'EPSS_PERCENTAGE' - /** Order advisories by EPSS percentile */ - | 'EPSS_PERCENTILE' - /** Order advisories by publication time */ - | 'PUBLISHED_AT' - /** Order advisories by update time */ - | 'UPDATED_AT'; - -/** Severity of the vulnerability. */ -export type SecurityAdvisorySeverity = - /** Critical. */ - | 'CRITICAL' - /** High. */ - | 'HIGH' - /** Low. */ - | 'LOW' - /** Moderate. */ - | 'MODERATE'; - -/** Ordering options for security vulnerability connections */ -export type SecurityVulnerabilityOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order security vulnerabilities by. */ - field: SecurityVulnerabilityOrderField; -}; - -/** Properties by which security vulnerability connections can be ordered. */ -export type SecurityVulnerabilityOrderField = - /** Order vulnerability by update time */ - | 'UPDATED_AT'; - -/** Autogenerated input type of SetEnterpriseIdentityProvider */ -export type SetEnterpriseIdentityProviderInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The digest algorithm used to sign SAML requests for the identity provider. */ - digestMethod: SamlDigestAlgorithm; - /** The ID of the enterprise on which to set an identity provider. */ - enterpriseId: Scalars['ID']['input']; - /** The x509 certificate used by the identity provider to sign assertions and responses. */ - idpCertificate: Scalars['String']['input']; - /** The Issuer Entity ID for the SAML identity provider */ - issuer?: InputMaybe; - /** The signature algorithm used to sign SAML requests for the identity provider. */ - signatureMethod: SamlSignatureAlgorithm; - /** The URL endpoint for the identity provider's SAML SSO. */ - ssoUrl: Scalars['URI']['input']; -}; - -/** Autogenerated input type of SetIssueFieldValue */ -export type SetIssueFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The issue fields to set on the issue */ - issueFields: Array; - /** The ID of the Issue to set the field value on. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of SetOrganizationInteractionLimit */ -export type SetOrganizationInteractionLimitInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** When this limit should expire. */ - expiry?: InputMaybe; - /** The limit to set. */ - limit: RepositoryInteractionLimit; - /** The ID of the organization to set a limit for. */ - organizationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of SetRepositoryCustomPropertyValues */ -export type SetRepositoryCustomPropertyValuesInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A list of custom property names and associated values to apply. */ - properties: Array; - /** The ID of the repository to set properties for. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of SetRepositoryInteractionLimit */ -export type SetRepositoryInteractionLimitInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** When this limit should expire. */ - expiry?: InputMaybe; - /** The limit to set. */ - limit: RepositoryInteractionLimit; - /** The ID of the repository to set a limit for. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of SetUserInteractionLimit */ -export type SetUserInteractionLimitInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** When this limit should expire. */ - expiry?: InputMaybe; - /** The limit to set. */ - limit: RepositoryInteractionLimit; - /** The ID of the user to set a limit for. */ - userId: Scalars['ID']['input']; -}; - -/** Software or company that hosts social media accounts. */ -export type SocialAccountProvider = - /** Decentralized microblogging social platform. */ - | 'BLUESKY' - /** Social media and networking website. */ - | 'FACEBOOK' - /** Catch-all for social media providers that do not yet have specific handling. */ - | 'GENERIC' - /** Fork of Mastodon with a greater focus on local posting. */ - | 'HOMETOWN' - /** Social media website with a focus on photo and video sharing. */ - | 'INSTAGRAM' - /** Professional networking website. */ - | 'LINKEDIN' - /** Open-source federated microblogging service. */ - | 'MASTODON' - /** JavaScript package registry. */ - | 'NPM' - /** Social news aggregation and discussion website. */ - | 'REDDIT' - /** Live-streaming service. */ - | 'TWITCH' - /** Microblogging website. */ - | 'TWITTER' - /** Online video platform. */ - | 'YOUTUBE'; - -/** Ordering options for connections to get sponsor entities and associated USD amounts for GitHub Sponsors. */ -export type SponsorAndLifetimeValueOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order results by. */ - field: SponsorAndLifetimeValueOrderField; -}; - -/** Properties by which sponsor and lifetime value connections can be ordered. */ -export type SponsorAndLifetimeValueOrderField = - /** Order results by how much money the sponsor has paid in total. */ - | 'LIFETIME_VALUE' - /** Order results by the sponsor's login (username). */ - | 'SPONSOR_LOGIN' - /** Order results by the sponsor's relevance to the viewer. */ - | 'SPONSOR_RELEVANCE'; - -/** Ordering options for connections to get sponsor entities for GitHub Sponsors. */ -export type SponsorOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order sponsor entities by. */ - field: SponsorOrderField; -}; - -/** Properties by which sponsor connections can be ordered. */ -export type SponsorOrderField = - /** Order sponsorable entities by login (username). */ - | 'LOGIN' - /** Order sponsors by their relevance to the viewer. */ - | 'RELEVANCE'; - -/** Ordering options for connections to get sponsorable entities for GitHub Sponsors. */ -export type SponsorableOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order sponsorable entities by. */ - field: SponsorableOrderField; -}; - -/** Properties by which sponsorable connections can be ordered. */ -export type SponsorableOrderField = - /** Order sponsorable entities by login (username). */ - | 'LOGIN'; - -/** The possible actions that GitHub Sponsors activities can represent. */ -export type SponsorsActivityAction = - /** The activity was cancelling a sponsorship. */ - | 'CANCELLED_SPONSORSHIP' - /** The activity was starting a sponsorship. */ - | 'NEW_SPONSORSHIP' - /** The activity was scheduling a downgrade or cancellation. */ - | 'PENDING_CHANGE' - /** The activity was funds being refunded to the sponsor or GitHub. */ - | 'REFUND' - /** The activity was disabling matching for a previously matched sponsorship. */ - | 'SPONSOR_MATCH_DISABLED' - /** The activity was changing the sponsorship tier, either directly by the sponsor or by a scheduled/pending change. */ - | 'TIER_CHANGE'; - -/** Ordering options for GitHub Sponsors activity connections. */ -export type SponsorsActivityOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order activity by. */ - field: SponsorsActivityOrderField; -}; - -/** Properties by which GitHub Sponsors activity connections can be ordered. */ -export type SponsorsActivityOrderField = - /** Order activities by when they happened. */ - | 'TIMESTAMP'; - -/** The possible time periods for which Sponsors activities can be requested. */ -export type SponsorsActivityPeriod = - /** Don't restrict the activity to any date range, include all activity. */ - | 'ALL' - /** The previous calendar day. */ - | 'DAY' - /** The previous thirty days. */ - | 'MONTH' - /** The previous seven days. */ - | 'WEEK'; - -/** Represents countries or regions for billing and residence for a GitHub Sponsors profile. */ -export type SponsorsCountryOrRegionCode = - /** Andorra */ - | 'AD' - /** United Arab Emirates */ - | 'AE' - /** Afghanistan */ - | 'AF' - /** Antigua and Barbuda */ - | 'AG' - /** Anguilla */ - | 'AI' - /** Albania */ - | 'AL' - /** Armenia */ - | 'AM' - /** Angola */ - | 'AO' - /** Antarctica */ - | 'AQ' - /** Argentina */ - | 'AR' - /** American Samoa */ - | 'AS' - /** Austria */ - | 'AT' - /** Australia */ - | 'AU' - /** Aruba */ - | 'AW' - /** Åland */ - | 'AX' - /** Azerbaijan */ - | 'AZ' - /** Bosnia and Herzegovina */ - | 'BA' - /** Barbados */ - | 'BB' - /** Bangladesh */ - | 'BD' - /** Belgium */ - | 'BE' - /** Burkina Faso */ - | 'BF' - /** Bulgaria */ - | 'BG' - /** Bahrain */ - | 'BH' - /** Burundi */ - | 'BI' - /** Benin */ - | 'BJ' - /** Saint Barthélemy */ - | 'BL' - /** Bermuda */ - | 'BM' - /** Brunei Darussalam */ - | 'BN' - /** Bolivia */ - | 'BO' - /** Bonaire, Sint Eustatius and Saba */ - | 'BQ' - /** Brazil */ - | 'BR' - /** Bahamas */ - | 'BS' - /** Bhutan */ - | 'BT' - /** Bouvet Island */ - | 'BV' - /** Botswana */ - | 'BW' - /** Belarus */ - | 'BY' - /** Belize */ - | 'BZ' - /** Canada */ - | 'CA' - /** Cocos (Keeling) Islands */ - | 'CC' - /** Congo (Kinshasa) */ - | 'CD' - /** Central African Republic */ - | 'CF' - /** Congo (Brazzaville) */ - | 'CG' - /** Switzerland */ - | 'CH' - /** Côte d'Ivoire */ - | 'CI' - /** Cook Islands */ - | 'CK' - /** Chile */ - | 'CL' - /** Cameroon */ - | 'CM' - /** China */ - | 'CN' - /** Colombia */ - | 'CO' - /** Costa Rica */ - | 'CR' - /** Cape Verde */ - | 'CV' - /** Curaçao */ - | 'CW' - /** Christmas Island */ - | 'CX' - /** Cyprus */ - | 'CY' - /** Czech Republic */ - | 'CZ' - /** Germany */ - | 'DE' - /** Djibouti */ - | 'DJ' - /** Denmark */ - | 'DK' - /** Dominica */ - | 'DM' - /** Dominican Republic */ - | 'DO' - /** Algeria */ - | 'DZ' - /** Ecuador */ - | 'EC' - /** Estonia */ - | 'EE' - /** Egypt */ - | 'EG' - /** Western Sahara */ - | 'EH' - /** Eritrea */ - | 'ER' - /** Spain */ - | 'ES' - /** Ethiopia */ - | 'ET' - /** Finland */ - | 'FI' - /** Fiji */ - | 'FJ' - /** Falkland Islands */ - | 'FK' - /** Micronesia */ - | 'FM' - /** Faroe Islands */ - | 'FO' - /** France */ - | 'FR' - /** Gabon */ - | 'GA' - /** United Kingdom */ - | 'GB' - /** Grenada */ - | 'GD' - /** Georgia */ - | 'GE' - /** French Guiana */ - | 'GF' - /** Guernsey */ - | 'GG' - /** Ghana */ - | 'GH' - /** Gibraltar */ - | 'GI' - /** Greenland */ - | 'GL' - /** Gambia */ - | 'GM' - /** Guinea */ - | 'GN' - /** Guadeloupe */ - | 'GP' - /** Equatorial Guinea */ - | 'GQ' - /** Greece */ - | 'GR' - /** South Georgia and South Sandwich Islands */ - | 'GS' - /** Guatemala */ - | 'GT' - /** Guam */ - | 'GU' - /** Guinea-Bissau */ - | 'GW' - /** Guyana */ - | 'GY' - /** Hong Kong */ - | 'HK' - /** Heard and McDonald Islands */ - | 'HM' - /** Honduras */ - | 'HN' - /** Croatia */ - | 'HR' - /** Haiti */ - | 'HT' - /** Hungary */ - | 'HU' - /** Indonesia */ - | 'ID' - /** Ireland */ - | 'IE' - /** Israel */ - | 'IL' - /** Isle of Man */ - | 'IM' - /** India */ - | 'IN' - /** British Indian Ocean Territory */ - | 'IO' - /** Iraq */ - | 'IQ' - /** Iran */ - | 'IR' - /** Iceland */ - | 'IS' - /** Italy */ - | 'IT' - /** Jersey */ - | 'JE' - /** Jamaica */ - | 'JM' - /** Jordan */ - | 'JO' - /** Japan */ - | 'JP' - /** Kenya */ - | 'KE' - /** Kyrgyzstan */ - | 'KG' - /** Cambodia */ - | 'KH' - /** Kiribati */ - | 'KI' - /** Comoros */ - | 'KM' - /** Saint Kitts and Nevis */ - | 'KN' - /** Korea, South */ - | 'KR' - /** Kuwait */ - | 'KW' - /** Cayman Islands */ - | 'KY' - /** Kazakhstan */ - | 'KZ' - /** Laos */ - | 'LA' - /** Lebanon */ - | 'LB' - /** Saint Lucia */ - | 'LC' - /** Liechtenstein */ - | 'LI' - /** Sri Lanka */ - | 'LK' - /** Liberia */ - | 'LR' - /** Lesotho */ - | 'LS' - /** Lithuania */ - | 'LT' - /** Luxembourg */ - | 'LU' - /** Latvia */ - | 'LV' - /** Libya */ - | 'LY' - /** Morocco */ - | 'MA' - /** Monaco */ - | 'MC' - /** Moldova */ - | 'MD' - /** Montenegro */ - | 'ME' - /** Saint Martin (French part) */ - | 'MF' - /** Madagascar */ - | 'MG' - /** Marshall Islands */ - | 'MH' - /** Macedonia */ - | 'MK' - /** Mali */ - | 'ML' - /** Myanmar */ - | 'MM' - /** Mongolia */ - | 'MN' - /** Macau */ - | 'MO' - /** Northern Mariana Islands */ - | 'MP' - /** Martinique */ - | 'MQ' - /** Mauritania */ - | 'MR' - /** Montserrat */ - | 'MS' - /** Malta */ - | 'MT' - /** Mauritius */ - | 'MU' - /** Maldives */ - | 'MV' - /** Malawi */ - | 'MW' - /** Mexico */ - | 'MX' - /** Malaysia */ - | 'MY' - /** Mozambique */ - | 'MZ' - /** Namibia */ - | 'NA' - /** New Caledonia */ - | 'NC' - /** Niger */ - | 'NE' - /** Norfolk Island */ - | 'NF' - /** Nigeria */ - | 'NG' - /** Nicaragua */ - | 'NI' - /** Netherlands */ - | 'NL' - /** Norway */ - | 'NO' - /** Nepal */ - | 'NP' - /** Nauru */ - | 'NR' - /** Niue */ - | 'NU' - /** New Zealand */ - | 'NZ' - /** Oman */ - | 'OM' - /** Panama */ - | 'PA' - /** Peru */ - | 'PE' - /** French Polynesia */ - | 'PF' - /** Papua New Guinea */ - | 'PG' - /** Philippines */ - | 'PH' - /** Pakistan */ - | 'PK' - /** Poland */ - | 'PL' - /** Saint Pierre and Miquelon */ - | 'PM' - /** Pitcairn */ - | 'PN' - /** Puerto Rico */ - | 'PR' - /** Palestine */ - | 'PS' - /** Portugal */ - | 'PT' - /** Palau */ - | 'PW' - /** Paraguay */ - | 'PY' - /** Qatar */ - | 'QA' - /** Reunion */ - | 'RE' - /** Romania */ - | 'RO' - /** Serbia */ - | 'RS' - /** Russian Federation */ - | 'RU' - /** Rwanda */ - | 'RW' - /** Saudi Arabia */ - | 'SA' - /** Solomon Islands */ - | 'SB' - /** Seychelles */ - | 'SC' - /** Sudan */ - | 'SD' - /** Sweden */ - | 'SE' - /** Singapore */ - | 'SG' - /** Saint Helena */ - | 'SH' - /** Slovenia */ - | 'SI' - /** Svalbard and Jan Mayen Islands */ - | 'SJ' - /** Slovakia */ - | 'SK' - /** Sierra Leone */ - | 'SL' - /** San Marino */ - | 'SM' - /** Senegal */ - | 'SN' - /** Somalia */ - | 'SO' - /** Suriname */ - | 'SR' - /** South Sudan */ - | 'SS' - /** Sao Tome and Principe */ - | 'ST' - /** El Salvador */ - | 'SV' - /** Sint Maarten (Dutch part) */ - | 'SX' - /** Syria */ - | 'SY' - /** Swaziland */ - | 'SZ' - /** Turks and Caicos Islands */ - | 'TC' - /** Chad */ - | 'TD' - /** French Southern Lands */ - | 'TF' - /** Togo */ - | 'TG' - /** Thailand */ - | 'TH' - /** Tajikistan */ - | 'TJ' - /** Tokelau */ - | 'TK' - /** Timor-Leste */ - | 'TL' - /** Turkmenistan */ - | 'TM' - /** Tunisia */ - | 'TN' - /** Tonga */ - | 'TO' - /** Türkiye */ - | 'TR' - /** Trinidad and Tobago */ - | 'TT' - /** Tuvalu */ - | 'TV' - /** Taiwan */ - | 'TW' - /** Tanzania */ - | 'TZ' - /** Ukraine */ - | 'UA' - /** Uganda */ - | 'UG' - /** United States Minor Outlying Islands */ - | 'UM' - /** United States of America */ - | 'US' - /** Uruguay */ - | 'UY' - /** Uzbekistan */ - | 'UZ' - /** Vatican City */ - | 'VA' - /** Saint Vincent and the Grenadines */ - | 'VC' - /** Venezuela */ - | 'VE' - /** Virgin Islands, British */ - | 'VG' - /** Virgin Islands, U.S. */ - | 'VI' - /** Vietnam */ - | 'VN' - /** Vanuatu */ - | 'VU' - /** Wallis and Futuna Islands */ - | 'WF' - /** Samoa */ - | 'WS' - /** Yemen */ - | 'YE' - /** Mayotte */ - | 'YT' - /** South Africa */ - | 'ZA' - /** Zambia */ - | 'ZM' - /** Zimbabwe */ - | 'ZW'; - -/** The different kinds of goals a GitHub Sponsors member can have. */ -export type SponsorsGoalKind = - /** The goal is about getting a certain amount in USD from sponsorships each month. */ - | 'MONTHLY_SPONSORSHIP_AMOUNT' - /** The goal is about reaching a certain number of sponsors. */ - | 'TOTAL_SPONSORS_COUNT'; - -/** The different kinds of records that can be featured on a GitHub Sponsors profile page. */ -export type SponsorsListingFeaturedItemFeatureableType = - /** A repository owned by the user or organization with the GitHub Sponsors profile. */ - | 'REPOSITORY' - /** A user who belongs to the organization with the GitHub Sponsors profile. */ - | 'USER'; - -/** Ordering options for Sponsors tiers connections. */ -export type SponsorsTierOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order tiers by. */ - field: SponsorsTierOrderField; -}; - -/** Properties by which Sponsors tiers connections can be ordered. */ -export type SponsorsTierOrderField = - /** Order tiers by creation time. */ - | 'CREATED_AT' - /** Order tiers by their monthly price in cents */ - | 'MONTHLY_PRICE_IN_CENTS'; - -/** Ordering options for sponsorship newsletter connections. */ -export type SponsorshipNewsletterOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order sponsorship newsletters by. */ - field: SponsorshipNewsletterOrderField; -}; - -/** Properties by which sponsorship update connections can be ordered. */ -export type SponsorshipNewsletterOrderField = - /** Order sponsorship newsletters by when they were created. */ - | 'CREATED_AT'; - -/** Ordering options for sponsorship connections. */ -export type SponsorshipOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order sponsorship by. */ - field: SponsorshipOrderField; -}; - -/** Properties by which sponsorship connections can be ordered. */ -export type SponsorshipOrderField = - /** Order sponsorship by creation time. */ - | 'CREATED_AT'; - -/** How payment was made for funding a GitHub Sponsors sponsorship. */ -export type SponsorshipPaymentSource = - /** Payment was made through GitHub. */ - | 'GITHUB' - /** Payment was made through Patreon. */ - | 'PATREON'; - -/** The privacy of a sponsorship */ -export type SponsorshipPrivacy = - /** Private */ - | 'PRIVATE' - /** Public */ - | 'PUBLIC'; - -/** The possible default commit messages for squash merges. */ -export type SquashMergeCommitMessage = - /** Default to a blank commit message. */ - | 'BLANK' - /** Default to the branch's commit messages. */ - | 'COMMIT_MESSAGES' - /** Default to the pull request's body. */ - | 'PR_BODY'; - -/** The possible default commit titles for squash merges. */ -export type SquashMergeCommitTitle = - /** Default to the commit's title (if only one commit) or the pull request's title (when more than one commit). */ - | 'COMMIT_OR_PR_TITLE' - /** Default to the pull request's title. */ - | 'PR_TITLE'; - -/** Ways in which star connections can be ordered. */ -export type StarOrder = { - /** The direction in which to order nodes. */ - direction: OrderDirection; - /** The field in which to order nodes by. */ - field: StarOrderField; -}; - -/** Properties by which star connections can be ordered. */ -export type StarOrderField = - /** Allows ordering a list of stars by when they were created. */ - | 'STARRED_AT'; - -/** Autogenerated input type of StartOrganizationMigration */ -export type StartOrganizationMigrationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The migration source access token. */ - sourceAccessToken: Scalars['String']['input']; - /** The URL of the organization to migrate. */ - sourceOrgUrl: Scalars['URI']['input']; - /** The ID of the enterprise the target organization belongs to. */ - targetEnterpriseId: Scalars['ID']['input']; - /** The name of the target organization. */ - targetOrgName: Scalars['String']['input']; -}; - -/** Autogenerated input type of StartRepositoryMigration */ -export type StartRepositoryMigrationInput = { - /** The migration source access token. */ - accessToken?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether to continue the migration on error. Defaults to `true`. */ - continueOnError?: InputMaybe; - /** The signed URL to access the user-uploaded git archive. */ - gitArchiveUrl?: InputMaybe; - /** The GitHub personal access token of the user importing to the target repository. */ - githubPat?: InputMaybe; - /** Whether to lock the source repository. */ - lockSource?: InputMaybe; - /** The signed URL to access the user-uploaded metadata archive. */ - metadataArchiveUrl?: InputMaybe; - /** The ID of the organization that will own the imported repository. */ - ownerId: Scalars['ID']['input']; - /** The name of the imported repository. */ - repositoryName: Scalars['String']['input']; - /** Whether to skip migrating releases for the repository. */ - skipReleases?: InputMaybe; - /** The ID of the migration source. */ - sourceId: Scalars['ID']['input']; - /** The URL of the source repository. */ - sourceRepositoryUrl: Scalars['URI']['input']; - /** The visibility of the imported repository. */ - targetRepoVisibility?: InputMaybe; -}; - -/** Required status check */ -export type StatusCheckConfigurationInput = { - /** The status check context name that must be present on the commit. */ - context: Scalars['String']['input']; - /** The optional integration ID that this status check must originate from. */ - integrationId?: InputMaybe; -}; - -/** The possible commit status states. */ -export type StatusState = - /** Status is errored. */ - | 'ERROR' - /** Status is expected. */ - | 'EXPECTED' - /** Status is failing. */ - | 'FAILURE' - /** Status is pending. */ - | 'PENDING' - /** Status is successful. */ - | 'SUCCESS'; - -/** Autogenerated input type of SubmitPullRequestReview */ -export type SubmitPullRequestReviewInput = { - /** The text field to set on the Pull Request Review. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The event to send to the Pull Request Review. */ - event: PullRequestReviewEvent; - /** The Pull Request ID to submit any pending reviews. */ - pullRequestId?: InputMaybe; - /** The Pull Request Review ID to submit. */ - pullRequestReviewId?: InputMaybe; -}; - -/** The possible states of a subscription. */ -export type SubscriptionState = - /** The User is never notified. */ - | 'IGNORED' - /** The User is notified of all conversations. */ - | 'SUBSCRIBED' - /** The User is only notified when participating or @mentioned. */ - | 'UNSUBSCRIBED'; - -/** Parameters to be used for the tag_name_pattern rule */ -export type TagNamePatternParametersInput = { - /** How this rule appears when configuring it. */ - name?: InputMaybe; - /** If true, the rule will fail if the pattern matches. */ - negate?: InputMaybe; - /** The operator to use for matching. */ - operator: Scalars['String']['input']; - /** The pattern to match with. */ - pattern: Scalars['String']['input']; -}; - -/** Ordering options for team member connections */ -export type TeamMemberOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order team members by. */ - field: TeamMemberOrderField; -}; - -/** Properties by which team member connections can be ordered. */ -export type TeamMemberOrderField = - /** Order team members by creation time */ - | 'CREATED_AT' - /** Order team members by login */ - | 'LOGIN'; - -/** The possible team member roles; either 'maintainer' or 'member'. */ -export type TeamMemberRole = - /** A team maintainer has permission to add and remove team members. */ - | 'MAINTAINER' - /** A team member has no administrative permissions on the team. */ - | 'MEMBER'; - -/** Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. */ -export type TeamMembershipType = - /** Includes immediate and child team members for the team. */ - | 'ALL' - /** Includes only child team members for the team. */ - | 'CHILD_TEAM' - /** Includes only immediate members of the team. */ - | 'IMMEDIATE'; - -/** The possible team notification values. */ -export type TeamNotificationSetting = - /** No one will receive notifications. */ - | 'NOTIFICATIONS_DISABLED' - /** Everyone will receive notifications when the team is @mentioned. */ - | 'NOTIFICATIONS_ENABLED'; - -/** Ways in which team connections can be ordered. */ -export type TeamOrder = { - /** The direction in which to order nodes. */ - direction: OrderDirection; - /** The field in which to order nodes by. */ - field: TeamOrderField; -}; - -/** Properties by which team connections can be ordered. */ -export type TeamOrderField = - /** Allows ordering a list of teams by name. */ - | 'NAME'; - -/** The possible team privacy values. */ -export type TeamPrivacy = - /** A secret team can only be seen by its members. */ - | 'SECRET' - /** A visible team can be seen and @mentioned by every member of the organization. */ - | 'VISIBLE'; - -/** Ordering options for team repository connections */ -export type TeamRepositoryOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order repositories by. */ - field: TeamRepositoryOrderField; -}; - -/** Properties by which team repository connections can be ordered. */ -export type TeamRepositoryOrderField = - /** Order repositories by creation time */ - | 'CREATED_AT' - /** Order repositories by name */ - | 'NAME' - /** Order repositories by permission */ - | 'PERMISSION' - /** Order repositories by push time */ - | 'PUSHED_AT' - /** Order repositories by number of stargazers */ - | 'STARGAZERS' - /** Order repositories by update time */ - | 'UPDATED_AT'; - -/** The possible team review assignment algorithms */ -export type TeamReviewAssignmentAlgorithm = - /** Balance review load across the entire team */ - | 'LOAD_BALANCE' - /** Alternate reviews between each team member */ - | 'ROUND_ROBIN'; - -/** The role of a user on a team. */ -export type TeamRole = - /** User has admin rights on the team. */ - | 'ADMIN' - /** User is a member of the team. */ - | 'MEMBER'; - -/** The possible states of a thread subscription form action */ -export type ThreadSubscriptionFormAction = - /** The User cannot subscribe or unsubscribe to the thread */ - | 'NONE' - /** The User can subscribe to the thread */ - | 'SUBSCRIBE' - /** The User can unsubscribe to the thread */ - | 'UNSUBSCRIBE'; - -/** The possible states of a subscription. */ -export type ThreadSubscriptionState = - /** The subscription status is currently disabled. */ - | 'DISABLED' - /** The User is never notified because they are ignoring the list */ - | 'IGNORING_LIST' - /** The User is never notified because they are ignoring the thread */ - | 'IGNORING_THREAD' - /** The User is not recieving notifications from this thread */ - | 'NONE' - /** The User is notified becuase they are watching the list */ - | 'SUBSCRIBED_TO_LIST' - /** The User is notified because they are subscribed to the thread */ - | 'SUBSCRIBED_TO_THREAD' - /** The User is notified because they chose custom settings for this thread. */ - | 'SUBSCRIBED_TO_THREAD_EVENTS' - /** The User is notified because they chose custom settings for this thread. */ - | 'SUBSCRIBED_TO_THREAD_TYPE' - /** The subscription status is currently unavailable. */ - | 'UNAVAILABLE'; - -/** Reason that the suggested topic is declined. */ -export type TopicSuggestionDeclineReason = - /** The suggested topic is not relevant to the repository. */ - | 'NOT_RELEVANT' - /** The viewer does not like the suggested topic. */ - | 'PERSONAL_PREFERENCE' - /** The suggested topic is too general for the repository. */ - | 'TOO_GENERAL' - /** The suggested topic is too specific for the repository (e.g. #ruby-on-rails-version-4-2-1). */ - | 'TOO_SPECIFIC'; + /** An issue that has been closed as a duplicate. */ + | 'DUPLICATE' + /** An issue that has been closed as not planned */ + | 'NOT_PLANNED' + /** An issue that has been reopened */ + | 'REOPENED'; -/** The possible states of a tracked issue. */ -export type TrackedIssueStates = - /** The tracked issue is closed */ +/** The possible states of a milestone. */ +export type MilestoneState = + /** A milestone that has been closed. */ | 'CLOSED' - /** The tracked issue is open */ + /** A milestone that is still open. */ | 'OPEN'; -/** Autogenerated input type of TransferEnterpriseOrganization */ -export type TransferEnterpriseOrganizationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise where the organization should be transferred. */ - destinationEnterpriseId: Scalars['ID']['input']; - /** The ID of the organization to transfer. */ - organizationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of TransferIssue */ -export type TransferIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether to create labels if they don't exist in the target repository (matched by name) */ - createLabelsIfMissing?: InputMaybe; - /** The Node ID of the issue to be transferred */ - issueId: Scalars['ID']['input']; - /** The Node ID of the repository the issue should be transferred to */ - repositoryId: Scalars['ID']['input']; -}; - -/** Filters by whether or not 2FA is enabled and if the method configured is considered secure or insecure. */ -export type TwoFactorCredentialSecurityType = - /** No method of two-factor authentication. */ - | 'DISABLED' - /** Has an insecure method of two-factor authentication. GitHub currently defines this as SMS two-factor authentication. */ - | 'INSECURE' - /** Has only secure methods of two-factor authentication. */ - | 'SECURE'; - -/** Autogenerated input type of UnarchiveProjectV2Item */ -export type UnarchiveProjectV2ItemInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the ProjectV2Item to unarchive. */ - itemId: Scalars['ID']['input']; - /** The ID of the Project to archive the item from. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnarchiveRepository */ -export type UnarchiveRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the repository to unarchive. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnfollowOrganization */ -export type UnfollowOrganizationInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the organization to unfollow. */ - organizationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnfollowUser */ -export type UnfollowUserInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the user to unfollow. */ - userId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnlinkProjectV2FromRepository */ -export type UnlinkProjectV2FromRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the project to unlink from the repository. */ - projectId: Scalars['ID']['input']; - /** The ID of the repository to unlink from the project. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnlinkProjectV2FromTeam */ -export type UnlinkProjectV2FromTeamInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the project to unlink from the team. */ - projectId: Scalars['ID']['input']; - /** The ID of the team to unlink from the project. */ - teamId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnlinkRepositoryFromProject */ -export type UnlinkRepositoryFromProjectInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project linked to the Repository. */ - projectId: Scalars['ID']['input']; - /** The ID of the Repository linked to the Project. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnlockLockable */ -export type UnlockLockableInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the item to be unlocked. */ - lockableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnmarkDiscussionCommentAsAnswer */ -export type UnmarkDiscussionCommentAsAnswerInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion comment to unmark as an answer. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnmarkFileAsViewed */ -export type UnmarkFileAsViewedInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The path of the file to mark as unviewed */ - path: Scalars['String']['input']; - /** The Node ID of the pull request. */ - pullRequestId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnmarkIssueAsDuplicate */ -export type UnmarkIssueAsDuplicateInput = { - /** ID of the issue or pull request currently considered canonical/authoritative/original. */ - canonicalId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** ID of the issue or pull request currently marked as a duplicate. */ - duplicateId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnmarkProjectV2AsTemplate */ -export type UnmarkProjectV2AsTemplateInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Project to unmark as a template. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnminimizeComment */ -export type UnminimizeCommentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the subject to modify. */ - subjectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnpinIssueComment */ -export type UnpinIssueCommentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Issue Comment to unpin. Comment pinning is not supported on Pull Requests. */ - issueCommentId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnpinIssue */ -export type UnpinIssueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the issue to be unpinned */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UnresolveReviewThread */ -export type UnresolveReviewThreadInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the thread to unresolve */ - threadId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateBranchProtectionRule */ -export type UpdateBranchProtectionRuleInput = { - /** Can this branch be deleted. */ - allowsDeletions?: InputMaybe; - /** Are force pushes allowed on this branch. */ - allowsForcePushes?: InputMaybe; - /** Is branch creation a protected operation. */ - blocksCreations?: InputMaybe; - /** The global relay id of the branch protection rule to be updated. */ - branchProtectionRuleId: Scalars['ID']['input']; - /** A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. */ - bypassForcePushActorIds?: InputMaybe>; - /** A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. */ - bypassPullRequestActorIds?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Will new commits pushed to matching branches dismiss pull request review approvals. */ - dismissesStaleReviews?: InputMaybe; - /** Can admins override branch protection. */ - isAdminEnforced?: InputMaybe; - /** Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. */ - lockAllowsFetchAndMerge?: InputMaybe; - /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ - lockBranch?: InputMaybe; - /** The glob-like pattern used to determine matching branches. */ - pattern?: InputMaybe; - /** A list of User, Team, or App IDs allowed to push to matching branches. */ - pushActorIds?: InputMaybe>; - /** Whether the most recent push must be approved by someone other than the person who pushed it */ - requireLastPushApproval?: InputMaybe; - /** Number of approving reviews required to update matching branches. */ - requiredApprovingReviewCount?: InputMaybe; - /** The list of required deployment environments */ - requiredDeploymentEnvironments?: InputMaybe>; - /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ - requiredStatusCheckContexts?: InputMaybe>; - /** The list of required status checks */ - requiredStatusChecks?: InputMaybe>; - /** Are approving reviews required to update matching branches. */ - requiresApprovingReviews?: InputMaybe; - /** Are reviews from code owners required to update matching branches. */ - requiresCodeOwnerReviews?: InputMaybe; - /** Are commits required to be signed. */ - requiresCommitSignatures?: InputMaybe; - /** Are conversations required to be resolved before merging. */ - requiresConversationResolution?: InputMaybe; - /** Are successful deployments required before merging. */ - requiresDeployments?: InputMaybe; - /** Are merge commits prohibited from being pushed to this branch. */ - requiresLinearHistory?: InputMaybe; - /** Are status checks required to update matching branches. */ - requiresStatusChecks?: InputMaybe; - /** Are branches required to be up to date before merging. */ - requiresStrictStatusChecks?: InputMaybe; - /** Is pushing to matching branches restricted. */ - restrictsPushes?: InputMaybe; - /** Is dismissal of pull request reviews restricted. */ - restrictsReviewDismissals?: InputMaybe; - /** A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. */ - reviewDismissalActorIds?: InputMaybe>; -}; - -/** Autogenerated input type of UpdateCheckRun */ -export type UpdateCheckRunInput = { - /** Possible further actions the integrator can perform, which a user may trigger. */ - actions?: InputMaybe>; - /** The node of the check. */ - checkRunId: Scalars['ID']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The time that the check run finished. */ - completedAt?: InputMaybe; - /** The final conclusion of the check. */ - conclusion?: InputMaybe; - /** The URL of the integrator's site that has the full details of the check. */ - detailsUrl?: InputMaybe; - /** A reference for the run on the integrator's system. */ - externalId?: InputMaybe; - /** The name of the check. */ - name?: InputMaybe; - /** Descriptive details about the run. */ - output?: InputMaybe; - /** The node ID of the repository. */ - repositoryId: Scalars['ID']['input']; - /** The time that the check run began. */ - startedAt?: InputMaybe; - /** The current status. */ - status?: InputMaybe; -}; - -/** Autogenerated input type of UpdateCheckSuitePreferences */ -export type UpdateCheckSuitePreferencesInput = { - /** The check suite preferences to modify. */ - autoTriggerPreferences: Array; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateDiscussionComment */ -export type UpdateDiscussionCommentInput = { - /** The new contents of the comment body. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion comment to update. */ - commentId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateDiscussion */ -export type UpdateDiscussionInput = { - /** The new contents of the discussion body. */ - body?: InputMaybe; - /** The Node ID of a discussion category within the same repository to change this discussion to. */ - categoryId?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the discussion to update. */ - discussionId: Scalars['ID']['input']; - /** The new discussion title. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of UpdateEnterpriseAdministratorRole */ -export type UpdateEnterpriseAdministratorRoleInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Enterprise which the admin belongs to. */ - enterpriseId: Scalars['ID']['input']; - /** The login of a administrator whose role is being changed. */ - login: Scalars['String']['input']; - /** The new role for the Enterprise administrator. */ - role: EnterpriseAdministratorRole; -}; - -/** Autogenerated input type of UpdateEnterpriseAllowPrivateRepositoryForkingSetting */ -export type UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the allow private repository forking setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the allow private repository forking policy on the enterprise. */ - policyValue?: InputMaybe; - /** The value for the allow private repository forking setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseDefaultRepositoryPermissionSetting */ -export type UpdateEnterpriseDefaultRepositoryPermissionSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the base repository permission setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the base repository permission setting on the enterprise. */ - settingValue: EnterpriseDefaultRepositoryPermissionSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseDeployKeySetting */ -export type UpdateEnterpriseDeployKeySettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the deploy key setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the deploy key setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting */ -export type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can change repository visibility setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can change repository visibility setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanCreateRepositoriesSetting */ -export type UpdateEnterpriseMembersCanCreateRepositoriesSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can create repositories setting. */ - enterpriseId: Scalars['ID']['input']; - /** Allow members to create internal repositories. Defaults to current value. */ - membersCanCreateInternalRepositories?: InputMaybe; - /** Allow members to create private repositories. Defaults to current value. */ - membersCanCreatePrivateRepositories?: InputMaybe; - /** Allow members to create public repositories. Defaults to current value. */ - membersCanCreatePublicRepositories?: InputMaybe; - /** When false, allow member organizations to set their own repository creation member privileges. */ - membersCanCreateRepositoriesPolicyEnabled?: InputMaybe; - /** Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided. */ - settingValue?: InputMaybe; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanDeleteIssuesSetting */ -export type UpdateEnterpriseMembersCanDeleteIssuesSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can delete issues setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can delete issues setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanDeleteRepositoriesSetting */ -export type UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can delete repositories setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can delete repositories setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanInviteCollaboratorsSetting */ -export type UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can invite collaborators setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can invite collaborators setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanMakePurchasesSetting */ -export type UpdateEnterpriseMembersCanMakePurchasesSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can make purchases setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can make purchases setting on the enterprise. */ - settingValue: EnterpriseMembersCanMakePurchasesSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting */ -export type UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can update protected branches setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can update protected branches setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseMembersCanViewDependencyInsightsSetting */ -export type UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the members can view dependency insights setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the members can view dependency insights setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseOrganizationProjectsSetting */ -export type UpdateEnterpriseOrganizationProjectsSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the organization projects setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the organization projects setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseOwnerOrganizationRole */ -export type UpdateEnterpriseOwnerOrganizationRoleInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Enterprise which the owner belongs to. */ - enterpriseId: Scalars['ID']['input']; - /** The ID of the organization for membership change. */ - organizationId: Scalars['ID']['input']; - /** The role to assume in the organization. */ - organizationRole: RoleInOrganization; -}; - -/** Autogenerated input type of UpdateEnterpriseProfile */ -export type UpdateEnterpriseProfileInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The description of the enterprise. */ - description?: InputMaybe; - /** The Enterprise ID to update. */ - enterpriseId: Scalars['ID']['input']; - /** The location of the enterprise. */ - location?: InputMaybe; - /** The name of the enterprise. */ - name?: InputMaybe; - /** The security contact email address of the enterprise. */ - securityContactEmail?: InputMaybe; - /** The URL of the enterprise's website. */ - websiteUrl?: InputMaybe; -}; - -/** Autogenerated input type of UpdateEnterpriseRepositoryProjectsSetting */ -export type UpdateEnterpriseRepositoryProjectsSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the repository projects setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the repository projects setting on the enterprise. */ - settingValue: EnterpriseEnabledDisabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSetting */ -export type UpdateEnterpriseTwoFactorAuthenticationDisallowedMethodsSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the two-factor authentication disallowed methods setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the two-factor authentication disallowed methods setting on the enterprise. */ - settingValue: EnterpriseDisallowedMethodsSettingValue; -}; - -/** Autogenerated input type of UpdateEnterpriseTwoFactorAuthenticationRequiredSetting */ -export type UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the enterprise on which to set the two factor authentication required setting. */ - enterpriseId: Scalars['ID']['input']; - /** The value for the two factor authentication required setting on the enterprise. */ - settingValue: EnterpriseEnabledSettingValue; -}; - -/** Autogenerated input type of UpdateEnvironment */ -export type UpdateEnvironmentInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The node ID of the environment. */ - environmentId: Scalars['ID']['input']; - /** Whether deployments to this environment can be approved by the user who created the deployment. */ - preventSelfReview?: InputMaybe; - /** The ids of users or teams that can approve deployments to this environment */ - reviewers?: InputMaybe>; - /** The wait timer in minutes. */ - waitTimer?: InputMaybe; -}; - -/** Autogenerated input type of UpdateIpAllowListEnabledSetting */ -export type UpdateIpAllowListEnabledSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the owner on which to set the IP allow list enabled setting. */ - ownerId: Scalars['ID']['input']; - /** The value for the IP allow list enabled setting. */ - settingValue: IpAllowListEnabledSettingValue; -}; - -/** Autogenerated input type of UpdateIpAllowListEntry */ -export type UpdateIpAllowListEntryInput = { - /** An IP address or range of addresses in CIDR notation. */ - allowListValue: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the IP allow list entry to update. */ - ipAllowListEntryId: Scalars['ID']['input']; - /** Whether the IP allow list entry is active when an IP allow list is enabled. */ - isActive: Scalars['Boolean']['input']; - /** An optional name for the IP allow list entry. */ - name?: InputMaybe; -}; - -/** Autogenerated input type of UpdateIpAllowListForInstalledAppsEnabledSetting */ -export type UpdateIpAllowListForInstalledAppsEnabledSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the owner. */ - ownerId: Scalars['ID']['input']; - /** The value for the IP allow list configuration for installed GitHub Apps setting. */ - settingValue: IpAllowListForInstalledAppsEnabledSettingValue; -}; - -/** Autogenerated input type of UpdateIpAllowListUserLevelEnforcementEnabledSetting */ -export type UpdateIpAllowListUserLevelEnforcementEnabledSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the owner. */ - ownerId: Scalars['ID']['input']; - /** The value for the IP allow list user-level enforcement enabled setting. */ - settingValue: IpAllowListUserLevelEnforcementEnabledSettingValue; -}; - -/** Autogenerated input type of UpdateIssueComment */ -export type UpdateIssueCommentInput = { - /** The updated text of the comment. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the IssueComment to modify. */ - id: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateIssueField */ -export type UpdateIssueFieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A description of the issue field. */ - description?: InputMaybe; - /** The ID of the issue field to update. */ - id: Scalars['ID']['input']; - /** The name of the issue field. */ - name?: InputMaybe; - /** The options for the issue field if applicable. */ - options?: InputMaybe>; - /** The visibility of the issue field. */ - visibility?: InputMaybe; -}; - -/** Autogenerated input type of UpdateIssueFieldValue */ -export type UpdateIssueFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The field value to update. */ - issueField: IssueFieldCreateOrUpdateInput; - /** The ID of the issue. */ - issueId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateIssue */ -export type UpdateIssueInput = { - /** Configuration for assigning an AI agent to this issue. */ - agentAssignment?: InputMaybe; - /** An array of Node IDs of users or bots for this issue. */ - assigneeIds?: InputMaybe>; - /** The body for the issue description. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the Issue to modify. */ - id: Scalars['ID']['input']; - /** The ID of the Issue Type for this issue. */ - issueTypeId?: InputMaybe; - /** An array of Node IDs of labels for this issue. */ - labelIds?: InputMaybe>; - /** The Node ID of the milestone for this issue. */ - milestoneId?: InputMaybe; - /** An array of Node IDs for projects associated with this issue. */ - projectIds?: InputMaybe>; - /** The desired issue state. */ - state?: InputMaybe; - /** The title for the issue. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of UpdateIssueIssueType */ -export type UpdateIssueIssueTypeInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the issue to update */ - issueId: Scalars['ID']['input']; - /** The ID of the issue type to update on the issue */ - issueTypeId?: InputMaybe; -}; - -/** Autogenerated input type of UpdateIssueType */ -export type UpdateIssueTypeInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Color for the issue type */ - color?: InputMaybe; - /** The description of the issue type */ - description?: InputMaybe; - /** Whether or not the issue type is enabled for the organization */ - isEnabled?: InputMaybe; - /** The ID of the issue type to update */ - issueTypeId: Scalars['ID']['input']; - /** The name of the issue type */ - name?: InputMaybe; -}; - -/** Autogenerated input type of UpdateLabel */ -export type UpdateLabelInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A 6 character hex code, without the leading #, identifying the updated color of the label. */ - color?: InputMaybe; - /** A brief description of the label, such as its purpose. */ - description?: InputMaybe; - /** The Node ID of the label to be updated. */ - id: Scalars['ID']['input']; - /** The updated name of the label. */ - name?: InputMaybe; -}; - -/** Autogenerated input type of UpdateNotificationRestrictionSetting */ -export type UpdateNotificationRestrictionSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the owner on which to set the restrict notifications setting. */ - ownerId: Scalars['ID']['input']; - /** The value for the restrict notifications setting. */ - settingValue: NotificationRestrictionSettingValue; -}; - -/** Autogenerated input type of UpdateOrganizationAllowPrivateRepositoryForkingSetting */ -export type UpdateOrganizationAllowPrivateRepositoryForkingSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Enable forking of private repositories in the organization? */ - forkingEnabled: Scalars['Boolean']['input']; - /** The ID of the organization on which to set the allow private repository forking setting. */ - organizationId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateOrganizationWebCommitSignoffSetting */ -export type UpdateOrganizationWebCommitSignoffSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the organization on which to set the web commit signoff setting. */ - organizationId: Scalars['ID']['input']; - /** Enable signoff on web-based commits for repositories in the organization? */ - webCommitSignoffRequired: Scalars['Boolean']['input']; -}; - -/** Only allow users with bypass permission to update matching refs. */ -export type UpdateParametersInput = { - /** Branch can pull changes from its upstream repository */ - updateAllowsFetchAndMerge: Scalars['Boolean']['input']; -}; - -/** Autogenerated input type of UpdatePatreonSponsorability */ -export type UpdatePatreonSponsorabilityInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether Patreon tiers should be shown on the GitHub Sponsors profile page, allowing potential sponsors to make their payment through Patreon instead of GitHub. */ - enablePatreonSponsorships: Scalars['Boolean']['input']; - /** The username of the organization with the GitHub Sponsors profile, if any. Defaults to the GitHub Sponsors profile for the authenticated user if omitted. */ - sponsorableLogin?: InputMaybe; -}; - -/** Autogenerated input type of UpdateProjectCard */ -export type UpdateProjectCardInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Whether or not the ProjectCard should be archived */ - isArchived?: InputMaybe; - /** The note of ProjectCard. */ - note?: InputMaybe; - /** The ProjectCard ID to update. */ - projectCardId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateProjectColumn */ -export type UpdateProjectColumnInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of project column. */ - name: Scalars['String']['input']; - /** The ProjectColumn ID to update. */ - projectColumnId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateProject */ -export type UpdateProjectInput = { - /** The description of project. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The name of project. */ - name?: InputMaybe; - /** The Project ID to update. */ - projectId: Scalars['ID']['input']; - /** Whether the project is public or not. */ - public?: InputMaybe; - /** Whether the project is open or closed. */ - state?: InputMaybe; -}; - -/** Autogenerated input type of UpdateProjectV2Collaborators */ -export type UpdateProjectV2CollaboratorsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The collaborators to update. */ - collaborators: Array; - /** The ID of the project to update the collaborators for. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateProjectV2DraftIssue */ -export type UpdateProjectV2DraftIssueInput = { - /** The IDs of the assignees of the draft issue. */ - assigneeIds?: InputMaybe>; - /** The body of the draft issue. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the draft issue to update. */ - draftIssueId: Scalars['ID']['input']; - /** The title of the draft issue. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of UpdateProjectV2Field */ -export type UpdateProjectV2FieldInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the field to update. */ - fieldId: Scalars['ID']['input']; - /** Configuration for a field of type ITERATION. Empty input is ignored, provided values overwrite the existing configuration, and existing configuration should be fetched for partial updates. */ - iterationConfiguration?: InputMaybe; - /** The name to update. */ - name?: InputMaybe; - /** Options for a field of type SINGLE_SELECT. Empty input is ignored, provided values overwrite existing options, and existing options should be fetched for partial updates. */ - singleSelectOptions?: InputMaybe>; -}; - -/** Autogenerated input type of UpdateProjectV2 */ -export type UpdateProjectV2Input = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Set the project to closed or open. */ - closed?: InputMaybe; - /** The ID of the Project to update. */ - projectId: Scalars['ID']['input']; - /** Set the project to public or private. */ - public?: InputMaybe; - /** Set the readme description of the project. */ - readme?: InputMaybe; - /** Set the short description of the project. */ - shortDescription?: InputMaybe; - /** Set the title of the project. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of UpdateProjectV2ItemFieldValue */ -export type UpdateProjectV2ItemFieldValueInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the field to be updated. */ - fieldId: Scalars['ID']['input']; - /** The ID of the item to be updated. */ - itemId: Scalars['ID']['input']; - /** The ID of the Project. */ - projectId: Scalars['ID']['input']; - /** The value which will be set on the field. */ - value: ProjectV2FieldValue; -}; - -/** Autogenerated input type of UpdateProjectV2ItemPosition */ -export type UpdateProjectV2ItemPositionInput = { - /** The ID of the item to position this item after. If omitted or set to null the item will be moved to top. */ - afterId?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the item to be moved. */ - itemId: Scalars['ID']['input']; - /** The ID of the Project. */ - projectId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateProjectV2StatusUpdate */ -export type UpdateProjectV2StatusUpdateInput = { - /** The body of the status update. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The start date of the status update. */ - startDate?: InputMaybe; - /** The status of the status update. */ - status?: InputMaybe; - /** The ID of the status update to be updated. */ - statusUpdateId: Scalars['ID']['input']; - /** The target date of the status update. */ - targetDate?: InputMaybe; -}; - -/** Autogenerated input type of UpdatePullRequestBranch */ -export type UpdatePullRequestBranchInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The head ref oid for the upstream branch. */ - expectedHeadOid?: InputMaybe; - /** The Node ID of the pull request. */ - pullRequestId: Scalars['ID']['input']; - /** The update branch method to use. If omitted, defaults to 'MERGE' */ - updateMethod?: InputMaybe; -}; - -/** Autogenerated input type of UpdatePullRequest */ -export type UpdatePullRequestInput = { - /** An array of Node IDs of users for this pull request. */ - assigneeIds?: InputMaybe>; - /** - * The name of the branch you want your changes pulled into. This should be an existing branch - * on the current repository. - * - */ - baseRefName?: InputMaybe; - /** The contents of the pull request. */ - body?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** An array of Node IDs of labels for this pull request. */ - labelIds?: InputMaybe>; - /** Indicates whether maintainers can modify the pull request. */ - maintainerCanModify?: InputMaybe; - /** The Node ID of the milestone for this pull request. */ - milestoneId?: InputMaybe; - /** An array of Node IDs for projects associated with this pull request. */ - projectIds?: InputMaybe>; - /** The Node ID of the pull request. */ - pullRequestId: Scalars['ID']['input']; - /** The target state of the pull request. */ - state?: InputMaybe; - /** The title of the pull request. */ - title?: InputMaybe; -}; - -/** Autogenerated input type of UpdatePullRequestReviewComment */ -export type UpdatePullRequestReviewCommentInput = { - /** The text of the comment. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the comment to modify. */ - pullRequestReviewCommentId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdatePullRequestReview */ -export type UpdatePullRequestReviewInput = { - /** The contents of the pull request review body. */ - body: Scalars['String']['input']; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the pull request review to modify. */ - pullRequestReviewId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateRef */ -export type UpdateRefInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Permit updates of branch Refs that are not fast-forwards? */ - force?: InputMaybe; - /** The GitObjectID that the Ref shall be updated to target. */ - oid: Scalars['GitObjectID']['input']; - /** The Node ID of the Ref to be updated. */ - refId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateRefs */ -export type UpdateRefsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A list of ref updates. */ - refUpdates: Array; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateRepositoryCustomProperty */ -export type UpdateRepositoryCustomPropertyInput = { - /** The updated allowed values for the custom property. */ - allowedValues?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The updated default value for the custom property if the property is required. */ - defaultValue?: InputMaybe; - /** The updated description of the custom property. */ - description?: InputMaybe; - /** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */ - regex?: InputMaybe; - /** The global relay id of the source of the custom property. */ - repositoryCustomPropertyId: Scalars['ID']['input']; - /** Whether this repository custom property requires explicit values. */ - requireExplicitValues?: InputMaybe; - /** Whether the updated custom property is required. */ - required?: InputMaybe; - /** The updated actors who can edit the values of the custom property. */ - valuesEditableBy?: InputMaybe; -}; - -/** Autogenerated input type of UpdateRepository */ -export type UpdateRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A new description for the repository. Pass an empty string to erase the existing description. */ - description?: InputMaybe; - /** Indicates if the repository should have the discussions feature enabled. */ - hasDiscussionsEnabled?: InputMaybe; - /** Indicates if the repository should have the issues feature enabled. */ - hasIssuesEnabled?: InputMaybe; - /** Indicates if the repository should have the project boards feature enabled. */ - hasProjectsEnabled?: InputMaybe; - /** Indicates if the repository should have the pull requests feature enabled. */ - hasPullRequestsEnabled?: InputMaybe; - /** Indicates if the repository displays a Sponsor button for financial contributions. */ - hasSponsorshipsEnabled?: InputMaybe; - /** Indicates if the repository should have the wiki feature enabled. */ - hasWikiEnabled?: InputMaybe; - /** The URL for a web page about this repository. Pass an empty string to erase the existing URL. */ - homepageUrl?: InputMaybe; - /** The new name of the repository. */ - name?: InputMaybe; - /** The policy controlling who can create pull requests in this repository. */ - pullRequestCreationPolicy?: InputMaybe; - /** The ID of the repository to update. */ - repositoryId: Scalars['ID']['input']; - /** Whether this repository should be marked as a template such that anyone who can access it can create new repositories with the same files and directory structure. */ - template?: InputMaybe; -}; - -/** Autogenerated input type of UpdateRepositoryRuleset */ -export type UpdateRepositoryRulesetInput = { - /** A list of actors that are allowed to bypass rules in this ruleset. */ - bypassActors?: InputMaybe>; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The list of conditions for this ruleset */ - conditions?: InputMaybe; - /** The enforcement level for this ruleset */ - enforcement?: InputMaybe; - /** The name of the ruleset. */ - name?: InputMaybe; - /** The global relay id of the repository ruleset to be updated. */ - repositoryRulesetId: Scalars['ID']['input']; - /** The list of rules for this ruleset */ - rules?: InputMaybe>; - /** The target of the ruleset. */ - target?: InputMaybe; -}; - -/** Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting */ -export type UpdateRepositoryWebCommitSignoffSettingInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the repository to update. */ - repositoryId: Scalars['ID']['input']; - /** Indicates if the repository should require signoff on web-based commits. */ - webCommitSignoffRequired: Scalars['Boolean']['input']; -}; - -/** Autogenerated input type of UpdateSponsorshipPreferences */ -export type UpdateSponsorshipPreferencesInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Specify whether others should be able to see that the sponsor is sponsoring the sponsorable. Public visibility still does not reveal which tier is used. */ - privacyLevel?: InputMaybe; - /** Whether the sponsor should receive email updates from the sponsorable. */ - receiveEmails?: InputMaybe; - /** The ID of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorLogin is not given. */ - sponsorId?: InputMaybe; - /** The username of the user or organization who is acting as the sponsor, paying for the sponsorship. Required if sponsorId is not given. */ - sponsorLogin?: InputMaybe; - /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ - sponsorableId?: InputMaybe; - /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ - sponsorableLogin?: InputMaybe; -}; - -/** Autogenerated input type of UpdateSubscription */ -export type UpdateSubscriptionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The new state of the subscription. */ - state: SubscriptionState; - /** The Node ID of the subscribable object to modify. */ - subscribableId: Scalars['ID']['input']; -}; - -/** Autogenerated input type of UpdateTeamReviewAssignment */ -export type UpdateTeamReviewAssignmentInput = { - /** The algorithm to use for review assignment */ - algorithm?: InputMaybe; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Count any members whose review has already been requested against the required number of members assigned to review */ - countMembersAlreadyRequested?: InputMaybe; - /** Turn on or off review assignment */ - enabled: Scalars['Boolean']['input']; - /** An array of team member IDs to exclude */ - excludedTeamMemberIds?: InputMaybe>; - /** The Node ID of the team to update review assignments of */ - id: Scalars['ID']['input']; - /** Include the members of any child teams when assigning */ - includeChildTeamMembers?: InputMaybe; - /** Notify the entire team of the PR if it is delegated */ - notifyTeam?: InputMaybe; - /** Remove the team review request when assigning */ - removeTeamRequest?: InputMaybe; - /** The number of team members to assign */ - teamMemberCount?: InputMaybe; -}; - -/** Autogenerated input type of UpdateTeamsRepository */ -export type UpdateTeamsRepositoryInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Permission that should be granted to the teams. */ - permission: RepositoryPermission; - /** Repository ID being granted access to. */ - repositoryId: Scalars['ID']['input']; - /** A list of teams being granted access. Limit: 10 */ - teamIds: Array; -}; - -/** Autogenerated input type of UpdateTopics */ -export type UpdateTopicsInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The Node ID of the repository. */ - repositoryId: Scalars['ID']['input']; - /** An array of topic names. */ - topicNames: Array; -}; - -/** Autogenerated input type of UpdateUserList */ -export type UpdateUserListInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** A description of the list */ - description?: InputMaybe; - /** Whether or not the list is private */ - isPrivate?: InputMaybe; - /** The ID of the list to update. */ - listId: Scalars['ID']['input']; - /** The name of the list */ - name?: InputMaybe; -}; - -/** Autogenerated input type of UpdateUserListsForItem */ -export type UpdateUserListsForItemInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The item to add to the list */ - itemId: Scalars['ID']['input']; - /** The lists to which this item should belong */ - listIds: Array; - /** The suggested lists to create and add this item to */ - suggestedListIds?: InputMaybe>; -}; - -/** The possible durations that a user can be blocked for. */ -export type UserBlockDuration = - /** The user was blocked for 1 day */ - | 'ONE_DAY' - /** The user was blocked for 30 days */ - | 'ONE_MONTH' - /** The user was blocked for 7 days */ - | 'ONE_WEEK' - /** The user was blocked permanently */ - | 'PERMANENT' - /** The user was blocked for 3 days */ - | 'THREE_DAYS'; - -/** Ordering options for user status connections. */ -export type UserStatusOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order user statuses by. */ - field: UserStatusOrderField; -}; - -/** Properties by which user status connections can be ordered. */ -export type UserStatusOrderField = - /** Order user statuses by when they were updated. */ - | 'UPDATED_AT'; - -/** Whether a user being viewed contains public or private information. */ -export type UserViewType = - /** A user containing information only visible to the authenticated user. */ - | 'PRIVATE' - /** A user that is publicly visible. */ - | 'PUBLIC'; - -/** Ordering options for verifiable domain connections. */ -export type VerifiableDomainOrder = { - /** The ordering direction. */ - direction: OrderDirection; - /** The field to order verifiable domains by. */ - field: VerifiableDomainOrderField; -}; - -/** Properties by which verifiable domain connections can be ordered. */ -export type VerifiableDomainOrderField = - /** Order verifiable domains by their creation date. */ - | 'CREATED_AT' - /** Order verifiable domains by the domain name. */ - | 'DOMAIN'; - -/** Autogenerated input type of VerifyVerifiableDomain */ -export type VerifyVerifiableDomainInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** The ID of the verifiable domain to verify. */ - id: Scalars['ID']['input']; -}; - -/** A workflow that must run for this rule to pass */ -export type WorkflowFileReferenceInput = { - /** The path to the workflow file */ - path: Scalars['String']['input']; - /** The ref (branch or tag) of the workflow file to use */ - ref?: InputMaybe; - /** The ID of the repository where the workflow is defined */ - repositoryId: Scalars['Int']['input']; - /** The commit SHA of the workflow file to use */ - sha?: InputMaybe; -}; - -/** Ways in which lists of workflow runs can be ordered upon return. */ -export type WorkflowRunOrder = { - /** The direction in which to order workflow runs by the specified field. */ - direction: OrderDirection; - /** The field by which to order workflows. */ - field: WorkflowRunOrderField; -}; - -/** Properties by which workflow run connections can be ordered. */ -export type WorkflowRunOrderField = - /** Order workflow runs by most recently created */ - | 'CREATED_AT'; +/** The possible states of a pull request review. */ +export type PullRequestReviewState = + /** A review allowing the pull request to merge. */ + | 'APPROVED' + /** A review blocking the pull request from merging. */ + | 'CHANGES_REQUESTED' + /** An informational review. */ + | 'COMMENTED' + /** A review that has been dismissed. */ + | 'DISMISSED' + /** A review that has not yet been submitted. */ + | 'PENDING'; -/** The possible states for a workflow. */ -export type WorkflowState = - /** The workflow is active. */ - | 'ACTIVE' - /** The workflow was deleted from the git repository. */ - | 'DELETED' - /** The workflow was disabled by default on a fork. */ - | 'DISABLED_FORK' - /** The workflow was disabled for inactivity in the repository. */ - | 'DISABLED_INACTIVITY' - /** The workflow was disabled manually. */ - | 'DISABLED_MANUALLY'; +/** The possible states of a pull request. */ +export type PullRequestState = + /** A pull request that has been closed without being merged. */ + | 'CLOSED' + /** A pull request that has been closed by being merged. */ + | 'MERGED' + /** A pull request that is still open. */ + | 'OPEN'; -/** Require all changes made to a targeted branch to pass the specified workflows before they can be merged. */ -export type WorkflowsParametersInput = { - /** Allow repositories and branches to be created if a check would otherwise prohibit it. */ - doNotEnforceOnCreate?: InputMaybe; - /** Workflows that must pass for this rule to pass. */ - workflows: Array; -}; +/** Emojis that can be attached to Issues, Pull Requests and Comments. */ +export type ReactionContent = + /** Represents the `:confused:` emoji. */ + | 'CONFUSED' + /** Represents the `:eyes:` emoji. */ + | 'EYES' + /** Represents the `:heart:` emoji. */ + | 'HEART' + /** Represents the `:hooray:` emoji. */ + | 'HOORAY' + /** Represents the `:laugh:` emoji. */ + | 'LAUGH' + /** Represents the `:rocket:` emoji. */ + | 'ROCKET' + /** Represents the `:-1:` emoji. */ + | 'THUMBS_DOWN' + /** Represents the `:+1:` emoji. */ + | 'THUMBS_UP'; -type AuthorFields_Bot_Fragment = { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' }; +type AuthorFields_Bot_Fragment = { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' }; -type AuthorFields_EnterpriseUserAccount_Fragment = { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' }; +type AuthorFields_EnterpriseUserAccount_Fragment = { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' }; -type AuthorFields_Mannequin_Fragment = { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' }; +type AuthorFields_Mannequin_Fragment = { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' }; -type AuthorFields_Organization_Fragment = { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' }; +type AuthorFields_Organization_Fragment = { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' }; -type AuthorFields_User_Fragment = { login: string, htmlUrl: any, avatarUrl: any, type: 'User' }; +type AuthorFields_User_Fragment = { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' }; export type AuthorFieldsFragment = | AuthorFields_Bot_Fragment @@ -8020,284 +106,284 @@ export type ReactionGroupFieldsFragment = { content: ReactionContent, reactors: export type LabelFieldsFragment = { name: string, color: string }; export type FetchDiscussionByNumberQueryVariables = Exact<{ - owner: Scalars['String']['input']; - name: Scalars['String']['input']; - number: Scalars['Int']['input']; - lastThreadedComments?: InputMaybe; - lastReplies?: InputMaybe; - firstLabels?: InputMaybe; - includeIsAnswered: Scalars['Boolean']['input']; + owner: string; + name: string; + number: number; + lastThreadedComments?: number | null | undefined; + lastReplies?: number | null | undefined; + firstLabels?: number | null | undefined; + includeIsAnswered: boolean; }>; -export type FetchDiscussionByNumberQuery = { repository?: { discussion?: { __typename: 'Discussion', number: number, title: string, stateReason?: DiscussionStateReason | null, isAnswered?: boolean | null, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, replies: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; - -export type DiscussionDetailsFragment = { __typename: 'Discussion', number: number, title: string, stateReason?: DiscussionStateReason | null, isAnswered?: boolean | null, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, replies: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; - -export type CommentFieldsFragment = { databaseId?: number | null, createdAt: any, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; - -export type DiscussionCommentFieldsFragment = { databaseId?: number | null, createdAt: any, url: any, replies: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; +export type FetchDiscussionByNumberQuery = { repository: { discussion: { __typename: 'Discussion', number: number, title: string, stateReason: DiscussionStateReason | null, isAnswered?: boolean | null, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, replies: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; + +export type DiscussionDetailsFragment = { __typename: 'Discussion', number: number, title: string, stateReason: DiscussionStateReason | null, isAnswered?: boolean | null, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, replies: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; + +export type CommentFieldsFragment = { createdAt: string, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; + +export type DiscussionCommentFieldsFragment = { createdAt: string, url: Link, replies: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; export type FetchIssueByNumberQueryVariables = Exact<{ - owner: Scalars['String']['input']; - name: Scalars['String']['input']; - number: Scalars['Int']['input']; - lastComments?: InputMaybe; - firstLabels?: InputMaybe; + owner: string; + name: string; + number: number; + lastComments?: number | null | undefined; + firstLabels?: number | null | undefined; }>; -export type FetchIssueByNumberQuery = { repository?: { issue?: { __typename: 'Issue', number: number, title: string, url: any, state: IssueState, stateReason?: IssueStateReason | null, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; - -export type IssueDetailsFragment = { __typename: 'Issue', number: number, title: string, url: any, state: IssueState, stateReason?: IssueStateReason | null, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; +export type FetchIssueByNumberQuery = { repository: { issue: { __typename: 'Issue', number: number, title: string, url: Link, state: IssueState, stateReason: IssueStateReason | null, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; + +export type IssueDetailsFragment = { __typename: 'Issue', number: number, title: string, url: Link, state: IssueState, stateReason: IssueStateReason | null, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; export type FetchMergedDetailsTemplateQueryVariables = Exact<{ - ownerINDEX: Scalars['String']['input']; - nameINDEX: Scalars['String']['input']; - numberINDEX: Scalars['Int']['input']; - isDiscussionNotificationINDEX: Scalars['Boolean']['input']; - isIssueNotificationINDEX: Scalars['Boolean']['input']; - isPullRequestNotificationINDEX: Scalars['Boolean']['input']; - lastComments?: InputMaybe; - lastThreadedComments?: InputMaybe; - lastReplies?: InputMaybe; - lastReviews?: InputMaybe; - firstLabels?: InputMaybe; - firstClosingIssues?: InputMaybe; - includeIsAnswered: Scalars['Boolean']['input']; + ownerINDEX: string; + nameINDEX: string; + numberINDEX: number; + isDiscussionNotificationINDEX: boolean; + isIssueNotificationINDEX: boolean; + isPullRequestNotificationINDEX: boolean; + lastComments?: number | null | undefined; + lastThreadedComments?: number | null | undefined; + lastReplies?: number | null | undefined; + lastReviews?: number | null | undefined; + firstLabels?: number | null | undefined; + firstClosingIssues?: number | null | undefined; + includeIsAnswered: boolean; }>; -export type FetchMergedDetailsTemplateQuery = { repository?: { discussion?: { __typename: 'Discussion', number: number, title: string, stateReason?: DiscussionStateReason | null, isAnswered?: boolean | null, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, replies: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, issue?: { __typename: 'Issue', number: number, title: string, url: any, state: IssueState, stateReason?: IssueStateReason | null, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: any, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews?: { totalCount: number, nodes?: Array<{ state: PullRequestReviewState, author?: +export type FetchMergedDetailsTemplateQuery = { repository: { discussion?: { __typename: 'Discussion', number: number, title: string, stateReason: DiscussionStateReason | null, isAnswered?: boolean | null, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, replies: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, issue?: { __typename: 'Issue', number: number, title: string, url: Link, state: IssueState, stateReason: IssueStateReason | null, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: Link, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews: { totalCount: number, nodes: Array<{ state: PullRequestReviewState, author: | { login: string } | { login: string } | { login: string } | { login: string } | { login: string } - | null } | null> | null } | null, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences?: { nodes?: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; - -export type MergedDetailsQueryTemplateFragment = { repository?: { discussion?: { __typename: 'Discussion', number: number, title: string, stateReason?: DiscussionStateReason | null, isAnswered?: boolean | null, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, replies: { totalCount: number, nodes?: Array<{ databaseId?: number | null, createdAt: any, url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, issue?: { __typename: 'Issue', number: number, title: string, url: any, state: IssueState, stateReason?: IssueStateReason | null, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: any, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews?: { totalCount: number, nodes?: Array<{ state: PullRequestReviewState, author?: + | null } | null> | null } | null, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences: { nodes: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; + +export type MergedDetailsQueryTemplateFragment = { repository: { discussion?: { __typename: 'Discussion', number: number, title: string, stateReason: DiscussionStateReason | null, isAnswered?: boolean | null, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, replies: { totalCount: number, nodes: Array<{ createdAt: string, url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, issue?: { __typename: 'Issue', number: number, title: string, url: Link, state: IssueState, stateReason: IssueStateReason | null, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null, pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: Link, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews: { totalCount: number, nodes: Array<{ state: PullRequestReviewState, author: | { login: string } | { login: string } | { login: string } | { login: string } | { login: string } - | null } | null> | null } | null, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences?: { nodes?: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; + | null } | null> | null } | null, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences: { nodes: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; export type FetchPullRequestByNumberQueryVariables = Exact<{ - owner: Scalars['String']['input']; - name: Scalars['String']['input']; - number: Scalars['Int']['input']; - firstLabels?: InputMaybe; - lastComments?: InputMaybe; - lastReviews?: InputMaybe; - firstClosingIssues?: InputMaybe; + owner: string; + name: string; + number: number; + firstLabels?: number | null | undefined; + lastComments?: number | null | undefined; + lastReviews?: number | null | undefined; + firstClosingIssues?: number | null | undefined; }>; -export type FetchPullRequestByNumberQuery = { repository?: { pullRequest?: { __typename: 'PullRequest', number: number, title: string, url: any, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews?: { totalCount: number, nodes?: Array<{ state: PullRequestReviewState, author?: +export type FetchPullRequestByNumberQuery = { repository: { pullRequest: { __typename: 'PullRequest', number: number, title: string, url: Link, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews: { totalCount: number, nodes: Array<{ state: PullRequestReviewState, author: | { login: string } | { login: string } | { login: string } | { login: string } | { login: string } - | null } | null> | null } | null, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences?: { nodes?: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; - -export type PullRequestDetailsFragment = { __typename: 'PullRequest', number: number, title: string, url: any, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone?: { state: MilestoneState, title: string } | null, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, comments: { totalCount: number, nodes?: Array<{ url: any, author?: - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Bot' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'EnterpriseUserAccount' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Mannequin' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'Organization' } - | { login: string, htmlUrl: any, avatarUrl: any, type: 'User' } - | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews?: { totalCount: number, nodes?: Array<{ state: PullRequestReviewState, author?: + | null } | null> | null } | null, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences: { nodes: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null } | null }; + +export type PullRequestDetailsFragment = { __typename: 'PullRequest', number: number, title: string, url: Link, state: PullRequestState, merged: boolean, isDraft: boolean, isInMergeQueue: boolean, milestone: { state: MilestoneState, title: string } | null, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, comments: { totalCount: number, nodes: Array<{ url: Link, author: + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Bot' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'EnterpriseUserAccount' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Mannequin' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'Organization' } + | { login: string, htmlUrl: Link, avatarUrl: Link, type: 'User' } + | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null } | null> | null }, reviews: { totalCount: number, nodes: Array<{ state: PullRequestReviewState, author: | { login: string } | { login: string } | { login: string } | { login: string } | { login: string } - | null } | null> | null } | null, labels?: { nodes?: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences?: { nodes?: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups?: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; + | null } | null> | null } | null, labels: { nodes: Array<{ name: string, color: string } | null> | null } | null, closingIssuesReferences: { nodes: Array<{ number: number } | null> | null } | null, reactions: { totalCount: number }, reactionGroups: Array<{ content: ReactionContent, reactors: { totalCount: number } }> | null }; -export type PullRequestReviewFieldsFragment = { state: PullRequestReviewState, author?: +export type PullRequestReviewFieldsFragment = { state: PullRequestReviewState, author: | { login: string } | { login: string } | { login: string } @@ -8341,7 +427,6 @@ export const ReactionGroupFieldsFragmentDoc = new TypedDocumentString(` `, {"fragmentName":"ReactionGroupFields"}) as unknown as TypedDocumentString; export const CommentFieldsFragmentDoc = new TypedDocumentString(` fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields @@ -8389,7 +474,6 @@ fragment ReactionGroupFields on ReactionGroup { } } fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields @@ -8454,7 +538,6 @@ fragment LabelFields on Label { color } fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields @@ -8694,7 +777,6 @@ fragment DiscussionDetails on Discussion { } } fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields @@ -8868,7 +950,6 @@ fragment DiscussionDetails on Discussion { } } fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields @@ -9011,7 +1092,6 @@ fragment DiscussionDetails on Discussion { } } fragment CommentFields on DiscussionComment { - databaseId createdAt author { ...AuthorFields diff --git a/src/renderer/utils/notifications/handlers/discussion.test.ts b/src/renderer/utils/notifications/handlers/discussion.test.ts index f73c3ffa6..55b99c48e 100644 --- a/src/renderer/utils/notifications/handlers/discussion.test.ts +++ b/src/renderer/utils/notifications/handlers/discussion.test.ts @@ -188,7 +188,7 @@ describe('renderer/utils/notifications/handlers/discussion.ts', () => { { author: mockCommenter, createdAt: '2024-02-01T00:00:00Z', - url: 'https://github.com/gitify-app/notifications-test/discussions/123#discussioncomment-1234', + url: 'https://github.com/gitify-app/notifications-test/discussions/123#discussioncomment-1234' as Link, replies: { totalCount: 0, nodes: [], @@ -238,14 +238,14 @@ describe('renderer/utils/notifications/handlers/discussion.ts', () => { { author: mockCommenter, createdAt: '2024-01-01T00:00:00Z', - url: 'https://github.com/gitify-app/notifications-test/discussions/123#discussioncomment-1234', + url: 'https://github.com/gitify-app/notifications-test/discussions/123#discussioncomment-1234' as Link, replies: { totalCount: 1, nodes: [ { author: mockReplier, createdAt: '2024-01-01T00:00:00Z', - url: 'https://github.com/gitify-app/notifications-test/discussions/123#discussioncomment-6789', + url: 'https://github.com/gitify-app/notifications-test/discussions/123#discussioncomment-6789' as Link, reactions: { totalCount: 0, }, diff --git a/src/renderer/utils/notifications/handlers/issue.test.ts b/src/renderer/utils/notifications/handlers/issue.test.ts index 3e1c021c5..f8f740ed3 100644 --- a/src/renderer/utils/notifications/handlers/issue.test.ts +++ b/src/renderer/utils/notifications/handlers/issue.test.ts @@ -111,10 +111,11 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => { nodes: [ { author: mockCommenter, - url: 'https://github.com/gitify-app/notifications-test/issues/123#issuecomment-1234', + url: 'https://github.com/gitify-app/notifications-test/issues/123#issuecomment-1234' as Link, reactions: { totalCount: 0, }, + reactionGroups: noReactionGroups, }, ], }; diff --git a/src/renderer/utils/notifications/handlers/pullRequest.test.ts b/src/renderer/utils/notifications/handlers/pullRequest.test.ts index 326a1b8ce..201ab368f 100644 --- a/src/renderer/utils/notifications/handlers/pullRequest.test.ts +++ b/src/renderer/utils/notifications/handlers/pullRequest.test.ts @@ -200,10 +200,11 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => { nodes: [ { author: mockCommenter, - url: 'https://github.com/gitify-app/notifications-test/pulls/123#issuecomment-1234', + url: 'https://github.com/gitify-app/notifications-test/pulls/123#issuecomment-1234' as Link, reactions: { totalCount: 0, }, + reactionGroups: noReactionGroups, }, ], };