Full Code of zenghongtu/GitHub-Pro for AI

main b64fd9d639a9 cached
182 files
2.6 MB
700.6k tokens
3362 symbols
1 requests
Download .txt
Showing preview only (2,806K chars total). Download the full file or copy to clipboard to get everything.
Repository: zenghongtu/GitHub-Pro
Branch: main
Commit: b64fd9d639a9
Files: 182
Total size: 2.6 MB

Directory structure:
gitextract_wre2chye/

├── .editorconfig
├── .gitignore
├── .prettierignore
├── .prettierrc
├── README.md
├── babel.config.js
├── config/
│   ├── dev.js
│   ├── index.js
│   └── prod.js
├── openapi-codegen.config.ts
├── package.json
├── project.config.json
├── project.private.config.json
├── project.tt.json
├── src/
│   ├── app.config.ts
│   ├── app.scss
│   ├── app.tsx
│   ├── assets/
│   │   └── iconfont/
│   │       └── icon.css
│   ├── components/
│   │   ├── activity-item/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── author/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── avatar/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── empty/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── fab-button/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── font-icon/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── list-item/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── load-more/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── markdown/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── no-authority/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── repo-item/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── skeleton-card/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── user-info/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   └── user-item/
│   │       ├── index.module.scss
│   │       └── index.tsx
│   ├── constants.ts
│   ├── github/
│   │   ├── githubComponents.ts
│   │   ├── githubContext.ts
│   │   ├── githubFetcher.ts
│   │   ├── githubParameters.ts
│   │   ├── githubResponses.ts
│   │   └── githubSchemas.ts
│   ├── hooks/
│   │   ├── useInfiniteGithubRequest.ts
│   │   ├── usePageScrollBackToTop.tsx
│   │   ├── usePullDownRefreshEvent.ts
│   │   ├── useReachBottomEvent.ts
│   │   ├── useRequest.ts
│   │   ├── useRequestWIthMore.ts
│   │   └── useTrending.ts
│   ├── index.html
│   ├── pages/
│   │   ├── activity/
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   └── repo.tsx
│   │   ├── bookmarks/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── commits/
│   │   │   ├── commit-item/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── developer/
│   │   │   ├── followers/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── following/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── repos/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   └── starred/
│   │   │       ├── index.module.scss
│   │   │       └── index.tsx
│   │   ├── issues/
│   │   │   ├── comment-item/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── create-comment/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── create-issue/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── issue-detail/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── issue-item/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   └── shared_data.ts
│   │   ├── login/
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── my-languages/
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   └── languages.ts
│   │   ├── news/
│   │   │   ├── content/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.config.ts
│   │   │   └── index.tsx
│   │   ├── notifications/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── profile/
│   │   │   ├── content.tsx
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   └── issues.tsx
│   │   ├── repos/
│   │   │   ├── content/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── contributors/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── files/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── forks/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── list-render/
│   │   │   │   └── index.tsx
│   │   │   ├── readme/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── stars/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   └── watchs/
│   │   │       ├── index.module.scss
│   │   │       └── index.tsx
│   │   ├── search/
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── issues.tsx
│   │   │   ├── repos.tsx
│   │   │   └── users.tsx
│   │   ├── starred/
│   │   │   ├── content.tsx
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   └── trending/
│   │       ├── index.config.ts
│   │       ├── index.module.scss
│   │       ├── index.tsx
│   │       ├── language/
│   │       │   ├── index.module.scss
│   │       │   └── index.tsx
│   │       ├── repo-item/
│   │       │   ├── index.module.scss
│   │       │   └── index.tsx
│   │       └── user-item/
│   │           ├── index.module.scss
│   │           └── index.tsx
│   ├── services/
│   │   ├── commits.ts
│   │   ├── github.ts
│   │   ├── issues.ts
│   │   ├── repos.ts
│   │   ├── search.ts
│   │   ├── trending.ts
│   │   ├── user.ts
│   │   └── users.ts
│   ├── store/
│   │   ├── constatnts.ts
│   │   ├── index.ts
│   │   ├── reducers/
│   │   │   ├── issue.ts
│   │   │   ├── lang.ts
│   │   │   └── user.ts
│   │   └── reducers.ts
│   ├── style/
│   │   └── variables.scss
│   ├── utils/
│   │   ├── base64.js
│   │   ├── common.ts
│   │   ├── date.ts
│   │   ├── event_bus.ts
│   │   ├── repo.ts
│   │   ├── request.ts
│   │   └── size.ts
│   └── wemark/
│       ├── parser.js
│       ├── prism.js
│       ├── prism.wxss
│       ├── remarkable.js
│       ├── richtext.js
│       ├── wemark.js
│       ├── wemark.json
│       ├── wemark.wxml
│       └── wemark.wxss
├── tsconfig.json
└── types/
    ├── global.d.ts
    └── trending.ts

================================================
FILE CONTENTS
================================================

================================================
FILE: .editorconfig
================================================
# 🎨 http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

================================================
FILE: .gitignore
================================================
dist/
deploy_versions/
.temp/
.rn_temp/
node_modules/
.DS_Store
.swc


================================================
FILE: .prettierignore
================================================
node_modules
dist
tests
*.d.ts
*.js
*.md
*.yaml
.vscode


================================================
FILE: .prettierrc
================================================
{
  "printWidth": 80,
  "singleQuote": true,
  "trailingComma": "all",
  "proseWrap": "never",
  "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
  "plugins": [
    "./node_modules/prettier-plugin-packagejson",
    "./node_modules/prettier-plugin-organize-imports"
  ]
}


================================================
FILE: README.md
================================================
# GitHub Pro

<img src="docs/logo.png" width="100"><br/>

> 一个简洁、强大的 GitHub 小程序客户端


基于 Taro3 / Taro-ui / React-query / React18 / **TypeScript**。


## 想法

探究 Taro 使用 TypeScript 的坑,以及 Taro Hooks 的能力(所有页面、组件均用 Hooks) -- 结论: 真香~😋

## 扫码体验

![](docs/qrcode.jpg)

(或者微信搜索小程序:GitHub Pro)

## Preview

![](docs/github-pro.gif)

## Screenshots

|  |  |  |
| :---: | :---: | :---: |
|![](docs/Jietu20230218-171612.png)|![](docs/Jietu20230218-171628.png)|![](docs/Jietu20230218-171643.png)|
|![](docs/Jietu20230218-171702.png)|![](docs/Jietu20230218-171941.png)|![](docs/Jietu20230218-171643.png)|




## 协议

Copyright © 2023 zenghongtu


================================================
FILE: babel.config.js
================================================
// babel-preset-taro 更多选项和默认值:
// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
module.exports = {
  presets: [
    ['taro', {
      framework: 'react',
      ts: true
    }]
  ],
  plugins: [
    [
      'import',
      {
        libraryName: 'taro-ui',
        customName: name => {
          if(name === 'at-list-item'){
            name = 'at-list/item'
          } else if(name === 'at-action-sheet-item'){
            name = 'at-action-sheet/body/item'
          }
          return `taro-ui/lib/components/${name.slice(3)}`
        },
        customStyleName: name => {
          /**
           * 修复style
          */
          if(name === 'at-tabs-pane'){
            name = 'at-tabs'
          }
          else if(name === 'at-list-item'){
            name = 'at-list'
          }
          else if(name === 'at-action-sheet-item'){
            name = 'at-action-sheet'
          }
          return `taro-ui/dist/style/components/${name.slice(3)}.scss`
        }
      },
      'taro-ui'
    ]
  ]
}


================================================
FILE: config/dev.js
================================================
module.exports = {
  env: {
    NODE_ENV: '"development"'
  },
  defineConstants: {
  },
  mini: {},
  h5: {}
}


================================================
FILE: config/index.js
================================================
const path = require('path');

const config = {
  projectName: 'GitHub-Pro',
  date: '2023-2-7',
  designWidth: 750,
  deviceRatio: {
    640: 2.34 / 2,
    750: 1,
    828: 1.81 / 2
  },
  sourceRoot: 'src',
  outputRoot: 'dist',
  plugins: ['@tarojs/plugin-html'],
  defineConstants: {},
  alias: {
    '@': path.resolve(__dirname, '..', 'src'),
  },
  copy: {
    patterns: [
      {
        from: 'src/wemark',
        to: 'dist/wemark'
      }
    ],
    options: {
    }
  },
  framework: 'react',
  compiler: 'webpack5',
  cache: {
    enable: false, // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
  },

  sass: {
    resource: [path.resolve(__dirname, "..", "src/style/variables.scss")],
    // data: `@import "taro-ui/dist/style/variables/default.scss";`,
  },
  weapp: {
    compile: {
      exclude: [
        'src/wemark/remarkable.js',
      ]
    }
  },
  mini: {
    miniCssExtractPluginOption: {
      ignoreOrder: true,
    },
    postcss: {
      pxtransform: {
        enable: true,
        config: {
        },
      },
      url: {
        enable: true,
        config: {
          limit: 1024, // 设定转换尺寸上限
        },
      },
      cssModules: {
        enable: true, // 默认为 false,如需使用 css modules 功能,则设为 true
        config: {
          namingPattern: 'module', // 转换模式,取值为 global/module
          generateScopedName: '[hash:base64:6]',
        },
      },
    },
  },
  h5: {
    publicPath: '/',
    staticDirectory: 'static',
    // esnextModules: ['nutui-react'],
    postcss: {
      pxtransform: {
        enable: true,
        config: {
        },
      },
      autoprefixer: {
        enable: true,
        config: {},
      },
      cssModules: {
        enable: true, // 默认为 false,如需使用 css modules 功能,则设为 true
        config: {
          namingPattern: 'module', // 转换模式,取值为 global/module
          generateScopedName: '[name]__[local]___[hash:base64:5]',
        },
      },
    },
  },
};

module.exports = function (merge) {
  if (process.env.NODE_ENV === 'development') {
    return merge({}, config, require('./dev'));
  }
  return merge({}, config, require('./prod'));
};


================================================
FILE: config/prod.js
================================================
module.exports = {
  env: {
    NODE_ENV: '"production"'
  },
  defineConstants: {
  },
  mini: {},
  h5: {
    /**
     * WebpackChain 插件配置
     * @docs https://github.com/neutrinojs/webpack-chain
     */
    // webpackChain (chain) {
    //   /**
    //    * 如果 h5 端编译后体积过大,可以使用 webpack-bundle-analyzer 插件对打包体积进行分析。
    //    * @docs https://github.com/webpack-contrib/webpack-bundle-analyzer
    //    */
    //   chain.plugin('analyzer')
    //     .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])

    //   /**
    //    * 如果 h5 端首屏加载时间过长,可以使用 prerender-spa-plugin 插件预加载首页。
    //    * @docs https://github.com/chrisvfritz/prerender-spa-plugin
    //    */
    //   const path = require('path')
    //   const Prerender = require('prerender-spa-plugin')
    //   const staticDir = path.join(__dirname, '..', 'dist')
    //   chain
    //     .plugin('prerender')
    //     .use(new Prerender({
    //       staticDir,
    //       routes: [ '/pages/index/index' ],
    //       postProcess: (context) => ({ ...context, outputPath: path.join(staticDir, 'index.html') })
    //     }))
    // }
  }
}


================================================
FILE: openapi-codegen.config.ts
================================================
import { defineConfig } from '@openapi-codegen/cli';
import {
  generateReactQueryComponents,
  generateSchemaTypes,
} from '@openapi-codegen/typescript';
export default defineConfig({
  github: {
    from: {
      source: 'url',
      url: 'https://api.apis.guru/v2/specs/github.com/1.1.4/openapi.yaml',
    },
    outputDir: './src/github',
    to: async (context) => {
      const filenamePrefix = 'github';
      const { schemasFiles } = await generateSchemaTypes(context, {
        filenamePrefix,
      });
      await generateReactQueryComponents(context, {
        filenamePrefix,
        schemasFiles,
      });
    },
  },
});


================================================
FILE: package.json
================================================
{
  "name": "GitHub-Pro",
  "version": "1.0.0",
  "private": true,
  "description": "",
  "license": "MIT",
  "author": "jasonzeng <zenghongtu@gmail.com>",
  "scripts": {
    "build:alipay": "taro build --type alipay",
    "build:h5": "taro build --type h5",
    "build:jd": "taro build --type jd",
    "build:qq": "taro build --type qq",
    "build:quickapp": "taro build --type quickapp",
    "build:rn": "taro build --type rn",
    "build:swan": "taro build --type swan",
    "build:tt": "taro build --type tt",
    "build:weapp": "taro build --type weapp",
    "dev:alipay": "npm run build:alipay -- --watch",
    "dev:h5": "npm run build:h5 -- --watch",
    "dev:jd": "npm run build:jd -- --watch",
    "dev:qq": "npm run build:qq -- --watch",
    "dev:quickapp": "npm run build:quickapp -- --watch",
    "dev:rn": "npm run build:rn -- --watch",
    "dev:swan": "npm run build:swan -- --watch",
    "dev:tt": "npm run build:tt -- --watch",
    "dev:weapp": "npm run build:weapp -- --watch",
    "format": "prettier --write \"src/**/*.{ts,tsx}\"",
    "gen:github": "openapi-codegen gen github"
  },
  "browserslist": [
    "last 3 versions",
    "Android >= 4.1",
    "ios >= 8"
  ],
  "dependencies": {
    "@babel/runtime": "^7.7.7",
    "@tanstack/react-query": "^4.24.4",
    "@tarojs/components": "3.6.0",
    "@tarojs/helper": "3.6.0",
    "@tarojs/plugin-framework-react": "3.6.0",
    "@tarojs/plugin-html": "3.6.0",
    "@tarojs/plugin-platform-alipay": "3.6.0",
    "@tarojs/plugin-platform-jd": "3.6.0",
    "@tarojs/plugin-platform-qq": "3.6.0",
    "@tarojs/plugin-platform-swan": "3.6.0",
    "@tarojs/plugin-platform-tt": "3.6.0",
    "@tarojs/plugin-platform-weapp": "3.6.0",
    "@tarojs/react": "3.6.0",
    "@tarojs/router": "3.6.0",
    "@tarojs/runtime": "3.6.0",
    "@tarojs/shared": "3.6.0",
    "@tarojs/taro": "3.6.0",
    "@tarojs/taro-h5": "3.6.0",
    "classnames": "^2.3.2",
    "lodash": "4.17.15",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "react-redux": "^8.0.5",
    "react-refresh": "^0.11.0",
    "redux": "^4.2.1",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.4.2",
    "taro-ui": "3.1.0-beta.4",
    "zustand": "^4.3.3"
  },
  "devDependencies": {
    "@babel/core": "^7.8.0",
    "@openapi-codegen/cli": "^2.0.0",
    "@openapi-codegen/typescript": "^6.1.0",
    "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
    "@tarojs/cli": "3.6.0",
    "@tarojs/webpack5-runner": "3.6.0",
    "@types/react": "^18.0.0",
    "@types/react-dom": "^18.0.0",
    "@types/react-router-dom": "^5.1.7",
    "@types/react-syntax-highlighter": "^13.5.2",
    "@types/react-test-renderer": "^18.0.0",
    "@types/react-transition-group": "^4.4.4",
    "@types/webpack-env": "^1.13.6",
    "@typescript-eslint/eslint-plugin": "^5.20.0",
    "@typescript-eslint/parser": "^5.20.0",
    "babel-plugin-import": "^1.13.3",
    "babel-preset-taro": "3.6.0",
    "eslint": "^8.12.0",
    "eslint-config-taro": "3.6.0",
    "eslint-plugin-import": "^2.12.0",
    "eslint-plugin-react": "^7.8.2",
    "eslint-plugin-react-hooks": "^4.2.0",
    "prettier": "^2.3.2",
    "prettier-plugin-organize-imports": "^3.2.0",
    "prettier-plugin-packagejson": "^2.3.0",
    "style-loader": "1.3.0",
    "stylelint": "^14.4.0",
    "typescript": "^4.1.0",
    "webpack": "5.69.0"
  }
}


================================================
FILE: project.config.json
================================================
{
  "miniprogramRoot": "dist/",
  "projectname": "GitHub-Pro",
  "description": "",
  "appid": "wx96c15ae0f6f25368",
  "setting": {
    "urlCheck": true,
    "es6": false,
    "enhance": false,
    "compileHotReLoad": false,
    "postcss": false,
    "minified": false,
    "babelSetting": {
      "ignore": [],
      "disablePlugins": [],
      "outputPath": ""
    }
  },
  "compileType": "miniprogram",
  "libVersion": "2.30.0",
  "srcMiniprogramRoot": "dist/",
  "packOptions": {
    "ignore": [],
    "include": []
  },
  "condition": {},
  "editorSetting": {
    "tabIndent": "insertSpaces",
    "tabSize": 2
  }
}

================================================
FILE: project.private.config.json
================================================
{
  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
  "projectname": "GitHub-Pro",
  "setting": {
    "compileHotReLoad": true
  }
}

================================================
FILE: project.tt.json
================================================
{
  "miniprogramRoot": "./",
  "projectname": "GitHub-Pro",
  "description": "",
  "appid": "touristappid",
  "setting": {
    "urlCheck": true,
    "es6": false,
    "postcss": false,
    "minified": false
  },
  "compileType": "miniprogram"
}


================================================
FILE: src/app.config.ts
================================================
export default defineAppConfig({
  pages: [
    'pages/trending/index',
    'pages/news/index',
    'pages/activity/repo',
    'pages/activity/index',
    'pages/developer/index',
    'pages/profile/index',
    'pages/profile/issues',
    'pages/search/index',
    'pages/login/index',
    'pages/repos/index',
    'pages/my-languages/index',
    'pages/repos/contributors/index',
    'pages/repos/forks/index',
    'pages/repos/stars/index',
    'pages/repos/watchs/index',
    'pages/commits/index',
    'pages/repos/content/index',
    'pages/issues/index',
    'pages/issues/create-comment/index',
    'pages/issues/create-issue/index',
    'pages/issues/issue-detail/index',
    'pages/developer/followers/index',
    'pages/developer/following/index',
    'pages/developer/repos/index',
    'pages/developer/starred/index',
    'pages/repos/files/index',
    'pages/starred/index',
  ],
  window: {
    navigationStyle: 'default',
    backgroundColor: '#f3f3f3',
    backgroundTextStyle: 'dark',
    navigationBarTitleText: 'GitHub Pro',
    navigationBarBackgroundColor: '#fafafa',
    navigationBarTextStyle: 'black',
    backgroundColorTop: '#fafafa',
    backgroundColorBottom: '#fafafa',
    enablePullDownRefresh: true,
  },
  tabBar: {
    backgroundColor: '#fafafa',
    position: 'bottom',
    borderStyle: 'white',
    color: '#8499a5',
    selectedColor: '#007afb',
    list: [
      {
        pagePath: 'pages/trending/index',
        iconPath: './assets/icons/trending.png',
        selectedIconPath: './assets/icons/trending_active.png',
        text: 'Trending',
      },
      {
        pagePath: 'pages/news/index',
        iconPath: './assets/icons/news.png',
        selectedIconPath: './assets/icons/news_active.png',
        text: 'News',
      },
      {
        pagePath: 'pages/search/index',
        iconPath: './assets/icons/search.png',
        selectedIconPath: './assets/icons/search_active.png',
        text: 'Search',
      },
      {
        pagePath: 'pages/starred/index',
        iconPath: './assets/icons/star.png',
        selectedIconPath: './assets/icons/star_active.png',
        text: 'Starred',
      },
      {
        pagePath: 'pages/profile/index',
        iconPath: './assets/icons/github.png',
        selectedIconPath: './assets/icons/github_active.png',
        text: 'Profile',
      },
    ],
  },
  usingComponents: {
    wemark: './wemark/wemark',
  },
});


================================================
FILE: src/app.scss
================================================
page {
  background: $bg;
}


================================================
FILE: src/app.tsx
================================================
import '@/assets/iconfont/icon.css';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import Taro from '@tarojs/taro';
import { Component } from 'react';
import { Provider } from 'react-redux';
import './app.scss';
import configStore from './store';

const store = configStore();

const queryClient = new QueryClient({
  defaultOptions: {
    queries: {
      refetchOnWindowFocus: false,
      retry: 1,
      retryDelay: (attempt) => attempt * 2000,
      // staleTime: 10,
    },
  },
});

class App extends Component<any> {
  componentWillMount() {
    // TODO by path
    // const { path, query, scene } = this.$router.params
  }

  componentDidMount() {
    this.updateApp();
    // Taro.getClipboardData({
    //   success(res) {
    //     const data = res.data as string;
    //     if (data && data.startsWith(githubHttpsUrl)) {
    //       const [owner, repo, filePath] = parseGitHub(data);
    //       const url = getNavPath({ owner, filePath, repo });
    //       if (url) {
    //         Taro.navigateTo({ url });
    //       }
    //     }
    //   },
    // });

    // no use
    // if (process.env.TARO_ENV === 'weapp') {
    //   const env = process.env.ClOUD_ENV
    //   Taro.cloud.init({ env, traceUser: true })
    // }
  }

  componentDidShow() {}

  componentDidHide() {}

  componentDidCatchError() {}

  updateApp() {
    if (Taro.canIUse('getUpdateManager')) {
      const updateManager = Taro.getUpdateManager();
      updateManager.onCheckForUpdate(function (res) {
        // 请求完新版本信息的回调
        console.log('hasUpdate: ', res.hasUpdate);
      });
      updateManager.onUpdateReady(function () {
        Taro.showModal({
          title: '更新提示',
          content: '新版本已经准备好,是否重启应用?',
          success: function (res) {
            if (res.confirm) {
              // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
              updateManager.applyUpdate();
            }
          },
        });
      });
      updateManager.onUpdateFailed(function () {
        // 新的版本下载失败
        Taro.showModal({
          title: '已经有新版本了哟~',
          content: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~',
        });
      });
    }
  }

  // 在 App 类中的 render() 函数没有实际作用
  // 请勿修改此函数
  render() {
    return (
      <Provider store={store}>
        <QueryClientProvider client={queryClient}>
          {this.props.children}
        </QueryClientProvider>
      </Provider>
    );
  }
}

export default App;


================================================
FILE: src/assets/iconfont/icon.css
================================================
@font-face {
  font-family: 'iconfont';
  src: url('iconfont.eot?t=1568428655639'); /* IE9 */
  src: url('iconfont.eot?t=1568428655639#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
      url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABVIAAsAAAAAJowAABT3AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCIaAq2XKsZATYCJAOBGAtOAAQgBYRtB4MbG7IfM6PmdBVAFGVJU2T/lwNOZAh1gdX7CUOpEjUxxouv3XevvVhW22qVJzGwxeOEAWaYfk6OlOETx8qpCkQQSr7hv+3wtR3K+XkoJTz8z/neB03T9BOgGyEqwm4OgY5nkC8ZuX01SAIEyAy1mc1EdpsZWAVirUdqJgNU1POBL3wJll1P/M4rKsjw/Db/z6UFxesVMQqwMQrszSuC4PQ9i3uNTRvQWXF97v8Hq3atS145uSxbVi9dqYsoloEvU+1Tr9VhYVica9ut98tedxk/sBIs8UGk9ACAwP8+nzPPDgU7WYKAolroMxjYxO7vEXRqLNZov5MEIDib/znTJjdGiRmhcPf6/Dn5f/mHCpjmiItpjwYEaixPbhPq//bo3yjNiNIRC31TZkbMqFk3IfVAWlstCyGdIDw/w8BmiUZDiOqyYRPUNwGoerLHfNhv/u/gsjEKFZHLMJq9v737QwAOOaqITl16DcJGc+UFusyaPnU8diCATpkhsGWLcUuN2FQAW67eMNhIf734wQ0BSUBxHbLflM6TaGdivKHK8AijmskuTwHWtwIFVAENch+zQexIOaiKCg7rT5wWM4BOtCOANjEm0YQaqUkznU0fM9rMNvv+wnwyLeJumDvJneyus9EOex1wzCnnXHDXJ8/xkj1XT+AV+j4klPfb4l0H93pxgk638rpY0uu/44EkW64cWYpZCAJoHPIVyRMiTBTRxBBLnHgJEiWxKZAsRao06TIoCmUKgrBA5ygA8dhKFMPEPGZAgkkE2TCVIBemGeTAtAdZMJ2Pk30QFhyNEHA2IgD3ITR8gXDgJ0Q+/I0ogi0AeXDTQQjcKhAGdxSIAncyiAZ3HYgBd2PEwh2IOLgLEQ93IxLgHkQi3ItIggcQNjyGKICnEMnwHCIFXkCkwruINPgJIB2eAzLgJQMFXioohJcHMuEN/RAEoOT10wtYBfZScP643qKOhry9bQQKbXC2Jks+lmVtPZkeQZBnyOkMx6UEJuAEnAhltqIilrZtXbiEECfWuJrNkUhHEPloajo9K2IoQQ3tcKGFmpraQp0JaiQM6fbIjTAlgiOJSCQWmZ8h4xTV1IxQYkaMpIU6qM7mthD5kNs2KiqO9ZcSjQeHtJv1T+jlzIHRDk5stJ99ZFgscMrdn87ZCyMXR4sMf9VDJ9blikaFOIh6/DFGkdGc8Xoj54l/biFWcFC7yXyLXe6kmoujDbNsc5RyIGEPJP0WusGsvrHmA6T9LllYvTjhb/96HMz+xJ4EsJ6mcaAtfKGtqT2MRARwNw7gIIaIxyBApiIeQSxCFMCQOE9+hrozPDTUfWpW6/0zI4I9p2dTZ9x/Dh1oCdMiVTwUC8n6eK2VoWTQPpKhvG8mhLmEYCfExKuVIeWMkLmnzEypiykh9WXGeDNGYl3SsDhmxUm8Nk4mpwtLaT59V52TLaxk+Wzj+YQkXkiKyV6ZACk209+tLxaL7mOAllqfKqZmEV6/K5nhHoEDmYyqXE/M8FidUITkzKRCMunhs3XBumwlWwxSCySU0umsh5OmuvfH/8rgYcWRXNWXPVBVfsm/1Z9STqijjx/TtHVYxhHcRzXTjfMmQrdamntH59B3zw272toskxylDYJFsFKXG7hdrUnVw8grwxUFpO/COt5d6U++W6lDKJvVGiBSzbXcOTQ00H14FlZXyTpCZRIGMzGtRuMBczCFFB4RdEWzWD6vRkV8f6gzRviiVpVqakOui/bmOQR7RmZTd84WyJxD4KnQ90dz0EYOy4aaZ4GmKTokuq+S3QbDaMerKIkhGqMoSOcfkjSG0ldCiEV8ECeWNldOHTxcfhALSf3soVL2iFGAYbv2cPDQsYPBI2cIv0MQd4nCVp7caCkO9g3WlMecDNvkTipIn4huAzBEBxDAO8QnZcAw1Plc8MKLjjiqOAgsg+kMjw7TQKoN1SdqERcTWiBI6i+plYJsl5WieeMNXhSg17WpdwQGsecCKT+Tn6tPpSfHmbMQwBVpSFm2E0q6paDfndW30CEjeP/imAFvdcQfuPMutOp9/XoSfgv8myCeFahTnu1TcnfNsn887XtyQo4o8p53wJt95PmLNUNof0GUv3YYZPCCAAkP725nFInsU4305IzVrdt1NzPgU2Cu60B9q+/7yu/bfDHTGc+Ee68S9/0j6yb5+V5ToXxcu6JyOqd7BHnwNOYfN151hrkZmcMxQC9zz7zZoPR13FM32zk0WDBHjYJd5jxxuXeC+wTeCOPtvDymVdfH79lux7TYWjd4jVorLrR5CxCG7EbKLez1xhf83FyFMD/BswW7x7MQran/OLs0hXslTjuU+E0fetqnLr/Lv/iieMqyP8Mh1RcNT9DLRZPp+ofxH09euRrLO1uLK6LsuT+i5E5yt/lnOu+L/7pMnPaOJ2gO/0jLgH/GkCkUdIZA265+OQyRZ5GMG0PUPIdtBillEGiDaYz1b4ZBJBzddoKHKNfGCLSrfTS+tyXcerE26mwSITYDEuXH1a2gRadGA1C16i8Z+tXPfWii5XKTC5VRdTs1q1SKiny+Uilwu8V6JNU5QbCVGCFatdnIRypJkbfSPNFMlp/i+RgiGjYniErdngPuPZu9WGxd3jKL3PpPqFIakIYV0c9VhLe458zVDimczkVQa0C6+sFUI0DkZ/5VtVYr24XohqgvXUqIG/qqd7gL4QL1TlFw8OIaesJXaYgyPTw9r1hNgRZI45hAKcZBwKl+AXkzoji/nqjoenSPYcxndmo5OHp59Iy0/d5om8OwoT56fG/4mKnKPBE6ofr+Bb/W2JjATeX7AYt21S8aYPHZ7IDa6oRA8oALba9Xh7WeJdczHkWRVaC88/fn+GIUZ6HmXLD/4vQyQx45C584k4xWjsRu+hrOcGuoVBYfbw746Vu5HHsqLTz65PiHaA2ZO05dOt9YQLAywFGU1KpsPh+VUnXP0IAm0N5yqi4fksTP604er12h27Ty9+bwUr2NsM9Z+c5qUlXG1+UJYsMfx66435A5boRc8iN5P1MgGpy/x5lf71aiSbW7UfGxOq4mjSVVZz638k61m82zP1sg/m79m7EdIvcmKv7IX978R95q9IaEB463CfvdRbv0p+x57o8Z9EiXM3Hn7r+8OjI4mvzYn4Pvnp/38Kd7vhmVjyT279SK3xA4cKhYLDx++zS+b49RieKSSfqWUIj5ILVi6BEuuOXS5qAVdn19REv3nO0NJROl68le6lxsvGZFEpqhmioYTY0Y2eK4zkmeJ5bQokGysUbc8+vmer8N8lagoOjmz6+jCACUSUCONjU3CjduFv+8h61ubU4LCJpthPh3LLPd99x7P2tu9JIRcipEQPA+xtwuxtsBdyPX9ZZDUJqgucM+b0YmJa+pIQ8iIIJWTm8oYBsysGONBgtqGEoFALWWoSGD10sggN42Qy22VANqsLCiehtKNBRgUF+qfk0E5BiIcqQCqmMUSVmzORjo2R+NVe5sf/dEB1GyGLf6uA3c/lvWW/3cT459tzqjM64JgT1eK+Hf8Sq3dVeF8hEzOU4uOnzZVdWukWna3VSXN89hxpPkqFB+da3KLR6X4VzMlYFGS+doP4yTCw//47aZ8M/h2Htr82rGOpWr2UpfyJmf9GRDz99fvz+/Dl33unF67b7H63fIgqt+3fJ434LTVvthy/NnV37akObiHxxY0fU9lyf+Za/djRsL9z52kVUG5eHhHu1be+Ym2/jt2eV5i2UuAYZ+lUbTe699f119UFTMrAYxI+3798e4Zxhj2aDxEKDEDPdiMGtW+X0LEBjDb8IoABJAGFAmbrAYcGaqjYh2Oms56+QQTM0EXCcvJ+5L3Txk8NmQ42A1nHXyBMCpDmeY6vYhlIhollHoaHRX4t3M7QA3OgihG0jeUPqibOop1VanY5M8kq2DCeQpkkyfcegpRMDnWNWTS+tKcWQY1nbV4U7aNs1/mWkwNyz+rNxH7i0XiEhwy2F8psk2UUD0jtyGTLood1auiD6LvoGeFBpAp6Aw7X80+GQI+7rLKTuYfcrlOqfkgY5n5XVpB6OPPYgTPFsSUV4ub6UyKK3q7evsbZeat9ko6X8VCP2r9qdnGCQu/egpbZsinDSYDhxGd+tNTGYOsXvUAdDHfg6ZYQqp0is2818rqGx785q+u3uuEVvN3QzoxQAmIFA2B42mfCfNL8YC2xhwjCQx3BBbB8bEeGPcDFBpdOdAuc1GDkenMeDwx0CIJceaGpvVJnAemQ2fJ8GYaTWmx/U2UhzK2ZnET9rpuiOZn7wDDPEE2Yk3ruPXb2ykdWaU4qXxmFFjbNwNQx8VZCVaX+OvrUQ6MkOJK8XYNHe61WwNFQh4tFJ2EX0s8GTsZYHah5Iw4cb8jTLpbu9f7axJWRTfgoLbr9LrS/lCVm5o4qvbRp+n05aFLVGksiu+JWdTfQrU48d7yuMkinypPzqEWCO6neci+/28UbFN+jnqJ0tynMOjMeJZei5bEicX8pu4KT1jKIraHE4RqVfvgtW13BjBwDJPnlScBJDLC9NHTc7+Fh+vXZz8NIJpTcyiOKoLbt9OryPlq7UyI57+i8Vr43V2aoODErJuJPDLs7zk8oyW8xNGQxba6qlFXZx8cd3G6uXEhpw2xsbphAVS0f3yD511NDzmQYD9U3V+KBdBpYubHFEWbdrC2hz2iiB60J1hkzQ7yYIJJ82dUYKgTKCD8kU+mjk6IvKojtWiBMWBf/t1x8+0kxGvNvQMOACHgXmLXxHT9Jnx3X5/B4LiFqWOdTSS0M159rejATdwZ/7AmV9H07Mc0abFUCkQUEN30V6+1LsEGj5d3r/ZOqtn9SU05wTUzGvd/DOnSDs/L+CL3+xHJ7e5GU/GrqBPojOKElaeVNDyJaueG/nbQtNXsjT2pSnt7GVdbLx6HiOeqgiY6Z0ToJnPKQRPxHOv/EHfGu5zRJFLYNhL8fTtVt+OcCy+aEP8UeE+ir8rESIbp+oCtfStF//gxZ8O0WU8UoQoQvMUC5YTLdM6AyRYHbuGCtXXd2QhycvKE/6Rijc45R6W1oDMHyVFYEyPYzj+wAKb/iA0twueuBXfSvCcoQLyZwwqoYoKiG7lCeHyYJ6dAKjEcIRAHvox/mcG8yCTUVz86hWPCkBiN0Ii3c5gDQ2RUHcKacbNIdh5mIDMEODE8yJm5ks2GTCDmgQY0DtAunEDIPWJdf4jBw4eOnAgzH9yIrV3yNJLXYrFQn1jLUO9ufVQby+lgVJ/oHoAzIfqoQYs8PPI5qbMKe/d+7Bf+vb2ls9JyeYe6VulK4SPPgnsfHYy5mSBB3cULtStEgrTlxbv5JBL03/xmNe0ikiRHFhfN+AxQMAvnEKsmtcEhkOR19/irzpHsGztRiwEqCBxN7GPOClOaAbBNlyBhMCtgVN6/GTdpGMkxqr+EMSz63iEbDbPgZ58/vV9IQF0FQK24DwJ4hPEXmJ3IipgPYbNjnC+gnwdgT8Et4CQxDZwnGKGUBR+DxcVCmPMcZjDCIuyqfdUW52ZCgMRNJCgeN49uQp0M1/Ka/LyqnV27uUKYpRqeih9lqdkxEeyfaOndNRbAcbnP2FkS5woEPFrm0GX+x//H/4wX/sw/x/KNqk0NCU0rdJ5kup58LeJeV5AT0oLEoIqkKoJE6qcK4PjC2iQsrxiHV6pVNIZa3xF7ni+y1PcCkUIyGG8plnaxaGlpW4WmhSVS6GJUDfSwiUFm06jsvSNYCLNFERSgSpuRq1uplSJrg42RZWAjems2bR+8WqeaAP8CI7p0Y9Kq4JqVqHxc/Sc2+a30qD780R2MSUaoZScOHJkLgfenzF5enjmDtrz57QdICN8OrDFxGqamg4iZmetsxk52NRUpMFiYjQ7jldWDouGX/gEMKXZejD9AXKwi+5nx7TDA0SFFdMcl4ryYw76E6Bkhazh2pQZQKABz1PsVuzvQe7Rgs3F8TkGTD5tb+5mQmb7E1TCn7ijcvluJFelotNRLn37gFyapfqOfX+BvTh69Hku9CX9GjxXNNxt7KV1Hj+aRFlWO2sZ5bdM5SZhLXRAPdA3sGv/N1PFVecos2zJSR+G+6FD8vQV/ujRn0AfsGl+5ud7e6d0jsbH3RVYM25Yycsc9Me1Z3SCVn5rec+sHUOHlHE1Bdqw6qTPfjfFLz75JV1YbQFXk9Zb4pdz7C7L3MfuIdhq+1xhViQ/ON/DglgqGsyPnFT7XFAlttvRXt/q1Aln/eDwb3NzfwKumfx+/5WZMdPhTsdxltYKesEK3yf/Ja88yhv8iPpbRY6qRrEa1NldoNqHGODfSkPdEX+knUrjHW1U1UmrOjVHvrHif1UDPThjyzrYN0IoHTUEfccovhRhSSuJnbD/D2WJ9P/acBUOICulpJPdkiM6OiDNlaGeFxJUV8jdRBklvxOvS1Ia74ZM8M+ry2pQr8euwWWG/A8qkxfU/1UeS7r0s6kvNv66srGxKS02/p/UVR+OpLTBj2jQHKqNTELiZPuRZOc8RJ+cV1Ry/uvwsGm5uMRJHEWCY93s8hOpJsHXqkjJ3PZfcVKyx0mCZHMKmyJWj6niAoRp4ixs2nIOleajvD2WqM2SaARgvJkLToizlZNiPOSUOKdYPeY6F5DiOWeJi8o5hvSsM6ykuquvAjIMrj859iohwnZld/2F2BIVv5Mu+IdSudm9RUSFUz8hKDIodR/fzYILRSf3Y/FgSEldLrqFt81olj9fIrWsJ9h4nWZXOiqAGBg4VU6vTet4SoTzm6vIyP8CUZOQkrLH46b/QFHxjTvRIkRxsD8F4dqjLpu324vedRAlcI/tCzVxMogC6RZXTgu70BZ4ZqNWoC37FEmOpOUVNuqlaSxJoCfu5fpZM1EkWVE13TAt23F9fk4Qznhc8Lly486DJy/efHzXn0pIxI+/AIGCgnEjObVHTzyQtOSnOOiAsfHSqD8LmgaU648XFU1AtkxyXmHGEleBE86iSqx83nreCSDc9KS+ibWciXjZq+46zZCVlwafsXy6yqHteKKIM3c4Q7mKbF1fSPz4sMifW0pdwf+GavchYkHWLmjZYThb3sPY+nVM2mM5qq1Yggpb/5zAdptYdh2OMnUIpZXgUM8qqPhxVW3zK210nAWSXeM1JuJ0lqF5ac+wh1itbFZc4oRVEYYuknoyVrkgb7xnO81mAAAA')
      format('woff2'),
    url('iconfont.woff?t=1568428655639') format('woff'),
    url('iconfont.ttf?t=1568428655639') format('truetype'),
    /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
      url('iconfont.svg?t=1568428655639#iconfont') format('svg'); /* iOS 4.1- */
}

.icon {
  font-family: 'iconfont' !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-guanyu:before {
  content: '\e65d';
}

.icon-author:before {
  content: '\e60e';
}

.icon-tab:before {
  content: '\e815';
}

.icon-folder:before {
  content: '\e69c';
}

.icon-3801wenjian:before {
  content: '\e66d';
}

.icon-setting:before {
  content: '\e64e';
}

.icon-file:before {
  content: '\e857';
}

.icon-gongsi:before {
  content: '\e79e';
}

.icon-comment:before {
  content: '\e719';
}

.icon-baocuntupian:before {
  content: '\e6d1';
}

.icon-book-open:before {
  content: '\e72c';
}

.icon-code:before {
  content: '\e75c';
}

.icon-copy:before {
  content: '\e765';
}

.icon-file-image:before {
  content: '\e78c';
}

.icon-filter:before {
  content: '\e78f';
}

.icon-git-branch:before {
  content: '\e796';
}

.icon-git-pull-request:before {
  content: '\e798';
}

.icon-git-repo-forked:before {
  content: '\e799';
}

.icon-github:before {
  content: '\e79a';
}

.icon-globe:before {
  content: '\e79b';
}

.icon-hot:before {
  content: '\e7a8';
}

.icon-info:before {
  content: '\e7ac';
}

.icon-git-commit:before {
  content: '\e7ae';
}

.icon-link-external:before {
  content: '\e7bb';
}

.icon-news:before {
  content: '\e7db';
}

.icon-search:before {
  content: '\e80a';
}

.icon-star:before {
  content: '\e820';
}

.icon-book:before {
  content: '\e641';
}

.icon-fankui:before {
  content: '\e613';
}

.icon-email:before {
  content: '\e635';
}

.icon-people:before {
  content: '\e62b';
}

.icon-events:before {
  content: '\e6f5';
}

.icon-tag:before {
  content: '\e6db';
}

.icon-eye:before {
  content: '\e7a4';
}

.icon-link:before {
  content: '\e817';
}

.icon-location:before {
  content: '\e6f4';
}

.icon-activity:before {
  content: '\e645';
}


================================================
FILE: src/components/activity-item/index.module.scss
================================================
.item-wrap {
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  box-sizing: border-box;
  background: $itemBg;
}

.repo-name {
  font-weight: 800;
  color: $color-brand-light;
}

.event-wrap {
  margin-left: 5px;
  overflow: hidden;
}

.commit-sha {
  color: $color-brand-dark;
}

.event-desc {
  margin-top: 10px;
  font-size: 25px;
  font-weight: 400;
}

.event-action {
  text-transform: capitalize;
}

.issue-number {
  color: $color-brand-light;
}


================================================
FILE: src/components/activity-item/index.tsx
================================================
import Author from '@/components/author';
import type * as Schemas from '@/src/githubSchemas';
import { Text, View } from '@tarojs/components';
import { ITouchEvent } from '@tarojs/components/types/common';
import Taro from '@tarojs/taro';
import { memo } from 'react';
import styles from './index.module.scss';

const spacesRegExp = new RegExp('[\r\n\t]+', 'g');
const refsHeadsRegExp = new RegExp('refs/heads/');

const maxTextLength = 100;

const truncateText = (text = '') => {
  let truncated = text.slice(0, maxTextLength);
  if (text.length >= maxTextLength) {
    truncated += '...';
  }
  return truncated;
};

export type ActivityItemDataType = Schemas.Event;

interface ActivityItemProps {
  item: ActivityItemDataType;
}

const ActivityItem = ({ item }: ActivityItemProps) => {
  if (!item) {
    return null;
  }

  const {
    actor: { avatar_url, display_login, login },
    repo: { name },
    created_at,
  } = item;

  const handleIssueNumberClick = (full_name, number) => (e: ITouchEvent) => {
    e.stopPropagation();
    const url = `/pages/issues/issue-detail/index?full_name=${full_name}&number=${number}`;

    Taro.navigateTo({ url });
  };

  const renderEvent = () => {
    const {
      type,

      repo: { name },
      payload,
    } = item;

    switch (type) {
      case 'PushEvent': {
        const { ref, commits } = payload;
        const _ref = ref!.replace(refsHeadsRegExp, '');
        const len = commits!.length;

        return (
          <View>
            <View>
              Pushed to {_ref} at{' '}
              <Text className={styles['repo-name']}>{name}</Text>
            </View>
            <View className={styles['event-desc']}>
              {commits!.slice(0, 3).map((item) => {
                const { message, sha } = item;
                const commit = truncateText(message.replace(spacesRegExp, ''));
                const _sha = sha.substr(0, 8);
                return (
                  <View key={sha} className={styles.commit}>
                    <Text className={styles['commit-sha']}>{_sha} </Text>
                    <Text className={styles['commit-content']}> {commit}</Text>
                  </View>
                );
              })}
              {len > 3 && (
                <View className={styles.commit}>
                  <Text className={styles['commit-content']}> ...</Text>
                </View>
              )}
            </View>
          </View>
        );
      }
      case 'IssuesEvent': {
        return (
          <View>
            <View>
              <Text className={styles['event-action']}>{payload.action}</Text>{' '}
              issue <Text className={styles['repo-name']}>{name}</Text>
            </View>
            <View className={styles['event-desc']}>{payload.issue!.title}</View>
          </View>
        );
      }
      case 'PullRequestEvent': {
        const { pull_request, action } = payload;
        const { title } = pull_request!;
        return (
          <View>
            <View>
              {action} pull request{' '}
              <Text className={styles['repo-name']}>{name}</Text>
            </View>
            <View>{title}</View>
          </View>
        );
      }
      case 'IssueCommentEvent': {
        const { comment, issue } = payload;
        const { body } = comment!;
        const detail = body.replace(spacesRegExp, ' ');
        const text = truncateText(detail);
        const number = issue!.number;
        return (
          <View>
            <View>
              Created comment on{' '}
              <Text
                className={styles['issue-number']}
                onClick={handleIssueNumberClick(name, number)}
              >
                #{number}
              </Text>{' '}
              in
              <Text className={styles['repo-name']}> {name}</Text>
            </View>
            <View className={styles['event-desc']}>{text}</View>
          </View>
        );
      }
      case 'WatchEvent': {
        return (
          <View>
            <View>
              Starred <Text className={styles['repo-name']}>{name}</Text>
            </View>
          </View>
        );
      }
      case 'PublicEvent': {
        return (
          <View>
            <View>
              Open sourced <Text className={styles['repo-name']}>{name}</Text>
            </View>
          </View>
        );
      }
      case 'ForkEvent': {
        const { forkee } = payload;
        return (
          <View>
            <View>
              Forked {forkee?.full_name} from{' '}
              <Text className={styles['repo-name']}>{name}</Text>
            </View>
          </View>
        );
      }
      case 'CreateEvent': {
        return (
          <View>
            <View>
              Created {payload.ref_type} {payload.ref || ''} at
              <Text className={styles['repo-name']}> {name}</Text>
            </View>
            <View className={styles['event-desc']}>
              {payload.description || ''}
            </View>
          </View>
        );
      }
      case 'DeleteEvent': {
        return (
          <View>
            <View>
              Deleted {payload.ref_type} {payload.ref} at
              <Text className={styles['repo-name']}> {name}</Text>
            </View>
            <View>{payload.description}</View>
          </View>
        );
      }
      case 'MemberEvent': {
        return (
          <View>
            <View>
              {payload.action} permissions of {payload.member!.login} to
              {payload.repository?.full_name}
            </View>
          </View>
        );
      }
      case 'PullRequestReviewCommentEvent': {
        const comment = payload.comment;
        const body = comment!.body;
        const detail = body.replace(spacesRegExp, ' ');
        const text = truncateText(detail);
        return (
          <View>
            <View>
              Reviewed pull request in{' '}
              <Text className={styles['repo-name']}>{name}</Text>
            </View>
            <View className={styles['event-desc']}>{text}</View>
          </View>
        );
      }
      case 'GollumEvent': {
        const page = payload.pages![0];
        const { action, page_name } = page;
        return (
          <View>
            <View>
              {action} {page_name}{' '}
              <Text className={styles['repo-name']}>{name}</Text>
            </View>
          </View>
        );
      }
      case 'ReleaseEvent': {
        return (
          <View>
            <View>
              Released {payload.release!.name || payload.release!.tag_name} at{' '}
              <Text className={styles['repo-name']}>{name}</Text>
            </View>
          </View>
        );
      }
      case 'CommitCommentEvent': {
        const comment = payload.comment;

        return (
          <View>
            <View>
              Commented on commit{' '}
              <Text className={styles['repo-name']}>{name}</Text> @{' '}
              {comment!.commit_id.substring(0, 8)}
            </View>
          </View>
        );
      }
    }
    // const text = JSON.stringify(item);
    // return (
    //   <View>
    //     <View className={styles['event-desc']}>{text}</View>
    //   </View>
    // );
    return (
      <View>
        {payload?.action} at
        <Text className={styles['repo-name']}>{name}</Text>
      </View>
    );
  };

  const handleCardClick = () => {
    Taro.navigateTo({ url: `/pages/repos/index?full_name=${name}` });
  };
  return (
    <View className={styles['item-wrap']} onClick={handleCardClick}>
      <Author
        login={login}
        size="28"
        url={avatar_url}
        created_at={created_at}
      ></Author>

      <View className={styles['event-wrap']}>{renderEvent()}</View>
    </View>
  );
};

const areEqual = ({ item: prevItem }: any, { item }: any) => {
  return prevItem && prevItem.repo.name === item.repo.name;
};

export default memo(ActivityItem, areEqual);


================================================
FILE: src/components/author/index.module.scss
================================================
.author {
  display: flex;
  justify-items: center;
  width: 100%;
}

.login {
  font-size: 32px;
  font-weight: 400;
  color: #40a0fa;
}
.create-at {
  margin-left: auto;
  align-self: flex-start;
  font-size: 25px;
  color: rgb(151, 151, 151);
}


================================================
FILE: src/components/author/index.tsx
================================================
import { getTimeAgo } from '@/utils/date';
import { Text, View } from '@tarojs/components';
import Taro from '@tarojs/taro';
import { memo } from 'react';
import Avatar from '../avatar';
import styles from './index.module.scss';

interface AuthorProps {
  login: string;
  url: string;
  size?: number | string;
  created_at?: string;
}
const Author = ({ login, url, size, created_at = '' }: AuthorProps) => {
  const handleLoginClick = () => {
    const url = `/pages/developer/index?name=${login}`;
    Taro.navigateTo({ url });
  };

  url = url.endsWith('?') ? `${url}s=96&v=4` : `${url}&s=96`;

  return (
    <View
      className={styles.author}
      style={
        !!created_at ? undefined : { alignItems: 'center', paddingLeft: '20px' }
      }
    >
      <Avatar size={size} username={login} url={url}></Avatar>
      <Text className={styles.login} onClick={handleLoginClick}>
        {login}
      </Text>
      {!!created_at && (
        <Text className={styles['create-at']}>{getTimeAgo(created_at)}</Text>
      )}
    </View>
  );
};

const areEqual = ({ login: prevLogin }: any, { login }: any) => {
  return prevLogin === login;
};

export default memo(Author, areEqual);


================================================
FILE: src/components/avatar/index.module.scss
================================================
.avatar {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  border-radius: 50%;
}


================================================
FILE: src/components/avatar/index.tsx
================================================
import { Block, Image } from '@tarojs/components';
import Taro from '@tarojs/taro';
import classnames from 'classnames';
import { memo } from 'react';
import styles from './index.module.scss';

interface AvatarProps {
  url: string;
  className?: string;
  username?: string;
  circle?: boolean;
  size?: string | number;
}
const Avatar = ({
  url,
  className = '',
  username = '',
  circle = true,
  size = 40,
}: AvatarProps) => {
  const width = size + 'px';
  const styleProps: any = {
    width,
    height: width,
  };

  if (!circle) {
    styleProps.borderRadius = +size / 4 + 'px';
  }

  const handleImgClick = () => {
    if (!username) {
      return;
    }
    const url = `/pages/developer/index?name=${username}`;
    Taro.navigateTo({ url });
  };

  return (
    <Block>
      <Image
        mode="widthFix"
        onClick={handleImgClick}
        className={classnames(styles.avatar, className)}
        style={styleProps}
        src={url}
      ></Image>
    </Block>
  );
};

const areEqual = (prevProps: any, props: any) => {
  return prevProps.url === props.url;
};

export default memo(Avatar, areEqual);


================================================
FILE: src/components/empty/index.module.scss
================================================
.wrap {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;

  background: $bg;
}
.inner {
  margin: 40px auto;
}

.img {
  width: 400px;
  height: 400px;
}

.desc {
  text-align: center;
  font-size: 35px;
  color: rgb(88, 88, 88);
}

.tips {
  color: $primary;
}


================================================
FILE: src/components/empty/index.tsx
================================================
import img from '@/assets/spidertocat.png';
import { Image, Text, View } from '@tarojs/components';
import { FC } from 'react';
import styles from './index.module.scss';

const Empty: FC = () => {
  return (
    <View className={styles.wrap}>
      <View className={styles.inner}>
        <Image src={img} className={styles.img}></Image>
        <View className={styles.desc}>
          <Text>没有数据~</Text>
          <View>
            <Text className={styles.tips}>试试下拉刷新</Text>
          </View>
        </View>
        {/* <View>
          <AtButton
            size="small"
            type="primary"
            onClick={() => {
              Taro.startPullDownRefresh();
            }}
          >
            重试
          </AtButton>
        </View> */}
      </View>
    </View>
  );
};

export default Empty;


================================================
FILE: src/components/fab-button/index.module.scss
================================================
.fab-btn {
  position: fixed;
  bottom: 36px;
  right: 26px;
  z-index: 3;
}


================================================
FILE: src/components/fab-button/index.tsx
================================================
import { View } from '@tarojs/components';
import { ITouchEvent } from '@tarojs/components/types/common';
import { ReactNode } from 'react';
import { AtFab, AtIcon } from 'taro-ui';
import styles from './index.module.scss';

interface FabButtonProps {
  icon?: string;
  prefixClass?: string;
  children?: ReactNode;
  size?: 'small' | 'normal';
  onClick: (e: ITouchEvent) => void;
}

const FabButton = ({
  icon = 'filter',
  prefixClass = '',
  onClick,
  children,
  size = 'small',
}: FabButtonProps) => {
  const props: any = { value: icon };
  if (prefixClass) {
    props.prefixClass = prefixClass;
  }
  return (
    <View className={styles['fab-btn']} onClick={onClick}>
      <AtFab size={size}>{children || <AtIcon {...props}></AtIcon>}</AtFab>
    </View>
  );
};

export default FabButton;


================================================
FILE: src/components/font-icon/index.module.scss
================================================


================================================
FILE: src/components/font-icon/index.tsx
================================================
import { AtIcon } from 'taro-ui';

interface FontIconProps {
  value: string;
  size?: string | number;
  styleProps?: React.CSSProperties;
}
const FontIcon = ({ value, size = 16, styleProps = {} }: FontIconProps) => {
  const fontSize = size + 'px';

  const style: React.CSSProperties = {
    lineHeight: '1em',
    fontSize,
    ...styleProps,
  };
  return (
    <AtIcon prefixClass={'icon'} customStyle={style} value={value}></AtIcon>
  );
};

export default FontIcon;


================================================
FILE: src/components/list-item/index.module.scss
================================================
.item {
  display: flex;
  align-items: center;
  padding: 15px 24px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: $primary-text-color;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.5;
  transition: background-color 0.3s;
  position: relative;
  border-bottom: 0px solid $bg;

  &:active {
    background-color: #f0f0f0;
  }
}

.left {
  display: flex;
  align-items: center;
}

.right {
  margin-left: auto;
  @extend .left;
}

.extra-text {
  font-size: 28px;
  text-align: right;
  font-weight: 400;
  color: $text-color;
}


================================================
FILE: src/components/list-item/index.tsx
================================================
import FontIcon from '@/components/font-icon';
import { Text, View } from '@tarojs/components';
import { ITouchEvent } from '@tarojs/components/types/common';
import classnames from 'classnames';
import { AtIcon } from 'taro-ui';
import styles from './index.module.scss';

interface ListItemProps {
  onClick?: (ev: ITouchEvent) => void;
  className?: string;
  hasBorder?: boolean;
  title?: string;
  renderTitle?: () => JSX.Element;
  onRightClick?: (ev: ITouchEvent) => void;
  extraText?: string;
  language?: string;
  icon?: string;
  rightIcon?: string;
  color?: string;
  renderExtraText?: () => JSX.Element;
  arrow?: 'right' | 'left' | 'up' | 'down' | null;
  size?: string | number;
  style?: React.CSSProperties;
}

const ListItem = ({
  className,
  title,
  language,
  extraText,
  icon,
  rightIcon,
  renderTitle,
  renderExtraText,
  onClick = function () {},
  onRightClick = function () {},
  arrow = 'right',
  hasBorder = true,
  color = 'none',
  size = 25,
  style = {},
}: ListItemProps) => {
  const styleProps: any = {};

  if (hasBorder) {
    styleProps.borderBottomWidth = '1px';
  }

  const iconStyleProps: React.CSSProperties = {
    fontSize: size + 'px',
    padding: '1px',
    marginRight: '10px',
    borderRadius: '50%',
    color: '#fff',
    background: color,
    ...style,
  };

  return (
    <View
      className={classnames(styles.item, className)}
      onClick={onClick || undefined}
      style={styleProps}
    >
      <View className={styles.left}>
        {icon && <FontIcon styleProps={iconStyleProps} value={icon}></FontIcon>}
        {title || (renderTitle && renderTitle())}
      </View>
      <View className={styles.right}>
        {extraText && <Text className={styles['extra-text']}>{extraText}</Text>}
        {rightIcon && (
          <AtIcon
            onClick={onRightClick || undefined}
            size="20"
            customStyle={{ color: '#409bfc', fontWeight: 500 }}
            value={rightIcon}
          ></AtIcon>
        )}
        {arrow && (
          <AtIcon
            size="20"
            customStyle={{ color: '#ccc', fontWeight: 400 }}
            value={`chevron-${arrow}`}
          ></AtIcon>
        )}
      </View>
    </View>
  );
};

export default ListItem;


================================================
FILE: src/components/load-more/index.module.scss
================================================
.wrap {
  position: relative;
}


================================================
FILE: src/components/load-more/index.tsx
================================================
import { View } from '@tarojs/components';
import { AtLoadMore } from 'taro-ui';
import 'taro-ui/dist/style/components/activity-indicator.scss';
import 'taro-ui/dist/style/components/loading.scss';
import styles from './index.module.scss';

const LoadMore = ({ hasMore }: { hasMore: boolean }) => {
  const status = hasMore ? 'loading' : 'noMore';
  return (
    <View className={styles.wrap}>
      <AtLoadMore
        loadingText="努力加载中..."
        noMoreText="没有更多~"
        status={status}
      />
    </View>
  );
};

export default LoadMore;


================================================
FILE: src/components/markdown/index.module.scss
================================================


================================================
FILE: src/components/markdown/index.tsx
================================================
import { copyText } from '@/utils/common';
import {
  getNavPath,
  githubHttpsUrl,
  isGitHubPage,
  mdLink,
  parseGitHub,
} from '@/utils/repo';
import { View } from '@tarojs/components';
import { ITouchEvent } from '@tarojs/components/types/common';
import Taro from '@tarojs/taro';

interface MarkDownProps {
  md: string | undefined | null;
  full_name?: string;
}

const Markdown = ({ md: rawMD, full_name }: MarkDownProps) => {
  if (!rawMD) {
    return null;
  }

  const faceLink = (f: string) => {
    return (
      '![](https://www.webfx.com/tools/emoji-cheat-sheet/graphics/emojis/' +
      f +
      '.png)'
    );
  };

  const getFixedMD = (rawMD = '') => {
    let md = rawMD;

    const d = {
      '’': "'",
      '<br>': '\n\n',
      '<br/>': '\n\n',
      '<br />': '\n\n',
      '<em>': '',
      '</em>': '',
      '<strong>': '',
      '</strong>': '',
      '<li>': '* ',
      '</li>': '\n',
      '<ul>': '\n',
      '</ul>': '\n',
      '<code>': '`',
      '</code>': '`',
      '&nbsp;': ' ',
      '&quot;': '"',
      '&ldquo;': '"',
      '&rdquo;': '"',
      '&gt;': '>',
      '&lt;': '<',
    };
    for (const k in d) {
      const reg = new RegExp(k, 'g');
      md = md.replace(reg, d[k]);
    }

    const faceRegExp = [/:([a-z_]{1,30}?):/g, /[+*-] (\[[x ]\])/g];
    faceRegExp.map((f) => {
      const tmpreg = md;
      while ((match = f.exec(tmpreg))) {
        if (match[1].startsWith('[')) {
          match[0] = match[1];
          if (match[1].indexOf('x') > 0) {
            match[1] = 'white_check_mark';
          } else {
            match[1] = 'white_medium_square';
          }
        }
        md = md.replace(match[0], faceLink(match[1]));
      }
    });

    const linkRegExp =
      /((^|[ \n:\uff1a\uff0c]+)(https?:\/\/[/0-9a-zA-Z.&=#_?-]+)([ \t\r\n]+|$))/g;
    const matchCnt = 3;
    let match: any;
    const newHtml = md;
    while ((match = linkRegExp.exec(newHtml))) {
      if (match[1] && match[matchCnt]) {
        const t = match[1];
        const url = match[matchCnt];
        const r = t.replace(url, mdLink(url, url));
        md = md.replace(match[1], r);
      }
    }
    return md;
  };

  const md = getFixedMD(rawMD);

  const handleClick = (e: ITouchEvent) => {
    let clickurl = e.detail.currentTarget.dataset.text;
    console.log('clickurl: ', clickurl);

    const isRelativeFile =
      clickurl && (clickurl.startsWith('./') || !clickurl.startsWith('http'));
    if (isRelativeFile) {
      clickurl = `${githubHttpsUrl}/${full_name}/${clickurl}`;
    }

    const isGitHubUrl = isRelativeFile || isGitHubPage(clickurl);

    // TODO 跳转其他小程序
    if (isGitHubUrl) {
      const [owner, repo, filePath] = parseGitHub(clickurl);
      const path = getNavPath({ owner, repo, filePath });
      console.log('path: ', path);

      if (path) {
        Taro.navigateTo({ url: path });
      }
      return;
    } else {
      copyText(clickurl);
    }
  };

  const baseUrl = full_name
    ? 'https://raw.githubusercontent.com/' + full_name + '/master/'
    : '';

  // TODO 修复 md 中含有 html 情况下的渲染
  // TODO 修复表格显示问题
  // TODO 添加 currentDir,获取正确的图片引入地址
  return (
    <View>
      <wemark
        onClick={handleClick}
        md={md}
        link
        highlight
        type="wemark"
        baseurl={baseUrl}
      />
    </View>
  );
};

export default Markdown;


================================================
FILE: src/components/no-authority/index.module.scss
================================================
.wrap {
  display: flex;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  text-align: center;
  align-items: center;
  // background: $itemBg;
}
.inner {
  margin: auto;
}

.img {
  width: 400px;
  height: 400px;
}

.desc {
  font-size: 35px;
  color: rgb(88, 88, 88);
}

.login {
  margin-top: 20px;
}


================================================
FILE: src/components/no-authority/index.tsx
================================================
import img from '@/assets/stormtroopocat.png';
import { Image, View } from '@tarojs/components';
import Taro from '@tarojs/taro';
import { AtButton } from 'taro-ui';
import styles from './index.module.scss';

const NoAuthority = () => {
  return (
    <View className={styles.wrap}>
      <View className={styles.inner}>
        <Image src={img} className={styles.img}></Image>
        <View className={styles.desc}>需要登录才能查看</View>
        <View className={styles.login}>
          <AtButton
            size="small"
            circle
            type="primary"
            onClick={() => {
              Taro.navigateTo({ url: `/pages/login/index` });
            }}
          >
            前往登录
          </AtButton>
        </View>
      </View>
    </View>
  );
};

export default NoAuthority;


================================================
FILE: src/components/repo-item/index.module.scss
================================================
.repo-wrap {
  display: flex;
  margin: 25px 20px;
  padding: 20px;
  box-sizing: border-box;
  font-size: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  background: $itemBg;
}

.avatar {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  border-radius: 50%;
}
.info {
  flex: 1;
}

.lang-color {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-left: 8px;
}
.top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.name {
  color: #40a0fa;
  font-weight: 700;
  font-size: 28px;
}

.language {
  margin-left: auto;
  align-self: flex-start;
}

.desc {
  font-size: 23px;
  font-weight: 400;
  margin: 10px 0 10px 5px;
}

.bottom {
  display: flex;
  justify-content: flex-start;
  font-size: 23px;
  font-weight: 300;
}

.meta-item {
  flex: 1;
  white-space: nowrap;
  color: rgb(107, 107, 107);
}


================================================
FILE: src/components/repo-item/index.tsx
================================================
import { SearchReposResponse } from '@/github/githubComponents';
import { Text, View } from '@tarojs/components';
import { ITouchEvent } from '@tarojs/components/types/common';
import Taro from '@tarojs/taro';
import { memo } from 'react';
import { LANGUAGE_COLOR_MAP } from '../../pages/my-languages/languages';
import FontIcon from '../font-icon';
import styles from './index.module.scss';

interface RepoItemProps {
  repo: SearchReposResponse['items'][number];
}

const RepoItem = ({ repo }: RepoItemProps) => {
  if (!repo) {
    return null;
  }
  const {
    id,
    node_id,
    name,
    full_name,
    owner,
    html_url,
    description,
    fork,
    url,
    forks_url,
    keys_url,
    collaborators_url,
    teams_url,
    hooks_url,
    issue_events_url,
    events_url,
    assignees_url,
    branches_url,
    tags_url,
    blobs_url,
    git_tags_url,
    git_refs_url,
    trees_url,
    statuses_url,
    languages_url,
    stargazers_url,
    contributors_url,
    subscribers_url,
    subscription_url,
    commits_url,
    git_commits_url,
    comments_url,
    issue_comment_url,
    contents_url,
    compare_url,
    merges_url,
    archive_url,
    downloads_url,
    issues_url,
    pulls_url,
    milestones_url,
    notifications_url,
    labels_url,
    releases_url,
    deployments_url,
    created_at,
    updated_at,
    pushed_at,
    git_url,
    ssh_url,
    clone_url,
    svn_url,
    homepage,
    size,
    stargazers_count,
    watchers_count,
    language,
    has_issues,
    has_projects,
    has_downloads,
    has_wiki,
    has_pages,
    forks_count,
    mirror_url,
    archived,
    disabled,
    open_issues_count,
    license,
    forks,
    open_issues,
    watchers,
    default_branch,
    permissions,
  } = repo;

  const { avatar_url, login } = owner || {};

  const handleNameClick = (e: ITouchEvent) => {
    e.stopPropagation();
    const url = `/pages/developer/index?name=${login}`;
    Taro.navigateTo({ url });
  };

  const handleCardClick = () => {
    const url = `/pages/repos/index?owner=${login}&repo=${name}`;

    Taro.navigateTo({ url });
  };

  return (
    <View className={styles['repo-wrap']} onClick={handleCardClick}>
      {/* <Avatar url={avatar_url} size="40" username={login}></Avatar> */}
      <View className={styles.info}>
        <View className={styles.top}>
          <Text className={styles.name}>{full_name}</Text>
          <Text className={styles.language}>{language || ''}</Text>
          <Text
            className={styles['lang-color']}
            style={{ background: LANGUAGE_COLOR_MAP[language!] }}
          ></Text>
        </View>
        <View className={styles.desc}>{description || ''}</View>
        <View className={styles.bottom}>
          <View className={styles['meta-item']}>
            <FontIcon size="14" value="star"></FontIcon>
            <Text style={{ fontWeight: 400 }}>{stargazers_count}</Text>
          </View>
          <View className={styles['meta-item']}>
            <FontIcon size="14" value="git-repo-forked"></FontIcon>
            <Text style={{ fontWeight: 400 }}>{forks_count}</Text>
          </View>
          <View className={styles['meta-item']} onClick={handleNameClick}>
            Updated on{' '}
            <Text style={{ fontWeight: 400 }}>{updated_at.slice(0, 10)}</Text>
          </View>
        </View>
      </View>
    </View>
  );
};

const areEqual = ({ repo: prevRepo }: any, { repo }: any) => {
  return prevRepo && prevRepo.full_name === repo.full_name;
};

export default memo(RepoItem, areEqual);


================================================
FILE: src/components/skeleton-card/index.module.scss
================================================
.loading {
  text-align: center;
  margin-top: 250px;
  color: $loading-text-color;
  font-size: 30px;
}


================================================
FILE: src/components/skeleton-card/index.tsx
================================================
import monaLoadingGif from '@/assets/mona-loading.gif';
import { Block, Image, Text, View } from '@tarojs/components';
import { FC, ReactNode } from 'react';
import Empty from '../empty';
import styles from './index.module.scss';

const SkeletonCard: FC<{
  children: ReactNode;
  isLoading?: boolean;
  isError?: boolean;
}> = ({ children, isLoading, isError }) => {
  // TODO skeleton replace loading
  return (
    <Block>
      {isLoading ? (
        <View className={styles.loading}>
          <Image
            mode="widthFix"
            style={{ width: '90px' }}
            src={monaLoadingGif}
          ></Image>
          <View>
            <Text>努力加载..</Text>
          </View>
        </View>
      ) : isError ? (
        <Empty></Empty>
      ) : (
        children
      )}
    </Block>
  );
};

export default SkeletonCard;


================================================
FILE: src/components/user-info/index.module.scss
================================================
.wrap {
}

.header {
  padding: 20px;
  display: flex;
  align-items: space-between;
  background: $itemBg;
}

.divide {
  height: 1px;
  width: 100vw;
}

.basic {
  display: flex;
  flex-wrap: wrap;
  margin-right: auto;
  font-size: 25px;
}
.name {
  width: 100%;
  font-size: 32px;
  font-weight: 600;
  color: $primary;
}

.bio {
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-all;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  color: $text-color;
}

.Joined {
  width: 100%;
  font-size: 25px;
  font-weight: 400;
}

.info {
  margin-top: 30px;
  padding: 20px;
  border-radius: 10px;
  box-sizing: border-box;
  background: $itemBg;
}

.meta {
  margin: 0;
}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  flex: 1;
  text-align: center;
}

.item-count {
  color: rgb(43, 43, 43);
  font-weight: 600;
  font-size: 35px;
}

.item-label {
  font-weight: 400;
  font-size: 28px;
  text-transform: capitalize;
}

.logout {
  padding: 30px;
}

.action-btns {
  display: flex;
  justify-content: space-around;
  padding: 0 30px 20px;

  background-color: $itemBg;
}
.btn {
}


================================================
FILE: src/components/user-info/index.tsx
================================================
import {
  useActivityCheckRepoIsStarredByAuthenticatedUser,
  useActivityStarRepoForAuthenticatedUser,
} from '@/github/githubComponents';
import { copyText } from '@/utils/common';
import { getTimeAgo } from '@/utils/date';
import { Block, View } from '@tarojs/components';
import Taro from '@tarojs/taro';
import classnames from 'classnames';
import { AtButton, AtList } from 'taro-ui';
import Avatar from '../avatar';
import Empty from '../empty';
import ListItem from '../list-item';
import styles from './index.module.scss';

const supportStarParams = { owner: 'zenghongtu', repo: 'GitHub-Pro' };

const UserInfo = ({
  userInfo,
  isFollowing,
  onFollowClick,
  onLogout,
  isCurrent = true,
}: any) => {
  if (!userInfo) {
    return <Empty></Empty>;
  }

  const { data } = useActivityCheckRepoIsStarredByAuthenticatedUser({
    pathParams: supportStarParams,
  });
  const isStarred = !data && data !== null;

  const { mutateAsync } = useActivityStarRepoForAuthenticatedUser({});

  const handleNavTo = (url: string) => () => {
    Taro.navigateTo({ url });
  };

  const handleCopy = (text: string) => () => {
    copyText(text);
  };

  const handleSupport = () => {
    mutateAsync({ pathParams: supportStarParams }).then((res) => {
      if (!res && res !== null) {
        Taro.showToast({ title: '感谢支持! 🎈', icon: 'none' });
      }
    });
  };
  const {
    login,
    id,
    node_id,
    avatar_url,
    gravatar_id,
    url,
    html_url,
    followers_url,
    following_url,
    gists_url,
    starred_url,
    subscriptions_url,
    organizations_url,
    repos_url,
    events_url,
    received_events_url,
    type,
    site_admin,
    name,
    company = '',
    blog = '',
    location = '',
    email = '',
    hireable,
    bio = '',
    public_repos,
    public_gists,
    followers = 0,
    following = 0,
    created_at,
    updated_at,
  } = userInfo!;
  const style: React.CSSProperties = { padding: '6px', fontSize: '16px' };

  return (
    <View className={styles.wrap}>
      <View className={styles.header}>
        <Avatar circle={false} size="70" url={`${avatar_url}&s=96`}></Avatar>
        <View className={styles.basic}>
          <View className={styles.name}>
            {name || login} ({login})
          </View>
          <View className={styles.bio}>{bio}</View>
          <View className={styles.Joined}>
            Joined at {getTimeAgo(created_at)}
          </View>
        </View>
      </View>
      <View className={styles.divide}></View>
      <View className={classnames(styles.info, styles.meta)}>
        <View className={styles.nav}>
          <View
            className={styles['nav-item']}
            onClick={handleNavTo(
              `/pages/developer/repos/index?isCurrent=${isCurrent}&name=${login}`,
            )}
          >
            <View className={styles['item-count']}>
              {Number(public_repos).toLocaleString()}
            </View>
            <View className={styles['item-label']}>repositories</View>
          </View>
          <View
            className={styles['nav-item']}
            onClick={handleNavTo(
              `/pages/developer/followers/index?name=${login}`,
            )}
          >
            <View className={styles['item-count']}>
              {Number(followers).toLocaleString()}
            </View>
            <View className={styles['item-label']}>followers</View>
          </View>
          <View
            className={styles['nav-item']}
            onClick={handleNavTo(
              `/pages/developer/following/index?name=${login}`,
            )}
          >
            <View className={styles['item-count']}>
              {Number(following).toLocaleString()}
            </View>
            <View className={styles['item-label']}>following</View>
          </View>

          {/* <View className={styles["nav-item"]}>
              <View className={styles["item-count"]}>{public_gists}</View>
              <View className={styles["item-label"]}>Gists</View>
            </View> */}
        </View>
      </View>
      {!isCurrent && (
        <View className={styles['action-btns']}>
          <AtButton
            className={styles.btn}
            type="primary"
            full={false}
            size="small"
            circle
            onClick={onFollowClick}
          >
            {isFollowing ? 'unfollow' : 'follow'}
          </AtButton>
          <AtButton
            className={styles.btn}
            openType="share"
            type="primary"
            full={false}
            size="small"
            circle
          >
            share
          </AtButton>
        </View>
      )}

      <View className={styles.info}>
        <ListItem
          hasBorder={true}
          icon="activity"
          arrow="right"
          title="Activity"
          style={style}
          color="#3B85F6"
          onClick={handleNavTo(`/pages/activity/index?name=${login}`)}
        />
        {!isCurrent && (
          <ListItem
            hasBorder={true}
            icon="star"
            arrow="right"
            title="Starred"
            style={style}
            color="#01b09d"
            onClick={handleNavTo(
              `/pages/developer/starred/index?name=${login}`,
            )}
          />
        )}

        <ListItem
          hasBorder={false}
          arrow="right"
          title="Issues"
          icon="info"
          // @ts-ignore
          style={{ ...style, fontWeight: '800' }}
          color="#EC407A"
          onClick={handleNavTo(`/pages/profile/issues`)}
        />
      </View>

      <View className={styles.info}>
        <ListItem
          arrow={null}
          hasBorder={true}
          title="Email"
          icon="email"
          color="#F99501"
          style={style}
          extraText={email}
          onClick={handleCopy(email)}
        ></ListItem>
        <ListItem
          arrow={null}
          hasBorder={true}
          title="Blog"
          icon="link"
          color="#3F9FFF"
          style={style}
          extraText={blog}
          onClick={handleCopy(blog)}
        ></ListItem>
        <ListItem
          arrow={null}
          icon="people"
          hasBorder={true}
          title="Company"
          color="#F44337"
          style={style}
          extraText={company}
          onClick={handleCopy(company)}
        ></ListItem>
        <ListItem
          icon="location"
          arrow={null}
          hasBorder={false}
          title="Location"
          color="#2F63CD"
          style={style}
          extraText={location}
          onClick={handleCopy(location)}
        ></ListItem>
      </View>
      {isCurrent && (
        <Block>
          <View className={styles.info}>
            <AtList hasBorder={false}>
              {!isStarred && (
                <ListItem
                  icon="star"
                  color="#ff0012"
                  // @ts-ignore
                  style={{ ...style, fontWeight: '800' }}
                  hasBorder={true}
                  // arrow="right"
                  title="Star Support"
                  onClick={handleSupport}
                />
              )}
              <ListItem
                icon="fankui"
                color="#ff9324"
                // @ts-ignore
                style={{ ...style, fontWeight: '800' }}
                hasBorder={true}
                arrow="right"
                title="Feedback"
                onClick={handleNavTo(
                  `/pages/issues/index?full_name=zenghongtu/GitHub-Pro`,
                )}
              />
              <ListItem
                icon="guanyu"
                color="#f23d7a"
                style={style}
                hasBorder={false}
                arrow="right"
                title="About"
                onClick={handleNavTo(
                  `/pages/repos/index?owner=zenghongtu&repo=GitHub-Pro`,
                )}
              />
            </AtList>
          </View>
          <View className={styles.logout}>
            <AtButton
              onClick={onLogout}
              customStyle={{ background: '#fb3e3b', border: 'none' }}
              type="primary"
            >
              Logout
            </AtButton>
          </View>
        </Block>
      )}
    </View>
  );
};

export default UserInfo;


================================================
FILE: src/components/user-item/index.module.scss
================================================
.user {
  display: flex;
  align-items: center;
  margin: 20px;
  padding: 8px 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  box-sizing: border-box;
  background: $itemBg;
}


================================================
FILE: src/components/user-item/index.tsx
================================================
import { Block, View } from '@tarojs/components';
import Author from '../author';
import Empty from '../empty';
import LoadMore from '../load-more';
import styles from './index.module.scss';

const UserItem = ({ data, hasMore }: any) => {
  return (
    <View>
      {data ? (
        <Block>
          {data.map((user) => {
            const node_id = user.node_id;
            const login = user.login;
            const avatar_url = user.avatar_url;
            return (
              <View key={node_id} className={styles.user}>
                <Author login={login} url={avatar_url}></Author>
              </View>
            );
          })}
          {data && <LoadMore hasMore={!!hasMore}></LoadMore>}
        </Block>
      ) : (
        <Empty></Empty>
      )}
    </View>
  );
};

export default UserItem;


================================================
FILE: src/constants.ts
================================================
export interface IDefaultParams {
  per_page?: number;
  page?: number;
}
export const defaultParams: IDefaultParams = {
  per_page: 20,
  page: 1,
};

export const issueDefaultParams: IDefaultParams = {
  // 多了会 GG
  per_page: 10,
  page: 1,
};

export const defaultSearchParams = {
  q: '',
  sort: '',
  order: '',
  per_page: 30,
  page: 1,
};

export const REACH_BOTTOM_EVENT = 'reach_bottom_event';
export const PULL_DOWN_REFRESH_EVENT = 'pull_down_refresh_event';

export const THROTTLE_DELAY = 1500;

export const TRENDING_URL = 'https://trending.stayin.cn';

export const CURRENT_LANGUAGE_STORAGE_KEY = 'current-language';


================================================
FILE: src/github/githubComponents.ts
================================================
/**
 * Generated by @openapi-codegen
 *
 * @version 1.1.4
 */
import * as reactQuery from '@tanstack/react-query';
import { GithubContext, useGithubContext } from './githubContext';
import type * as Fetcher from './githubFetcher';
import { githubFetch } from './githubFetcher';
import type * as Responses from './githubResponses';
import type * as Schemas from './githubSchemas';

export type MetaRootError = Fetcher.ErrorWrapper<undefined>;

export type MetaRootResponse = {
  /**
   * @format uri
   */
  authorizations_url: string;
  /**
   * @format uri
   */
  code_search_url: string;
  /**
   * @format uri
   */
  commit_search_url: string;
  /**
   * @format uri
   */
  current_user_authorizations_html_url: string;
  /**
   * @format uri
   */
  current_user_repositories_url: string;
  /**
   * @format uri
   */
  current_user_url: string;
  /**
   * @format uri
   */
  emails_url: string;
  /**
   * @format uri
   */
  emojis_url: string;
  /**
   * @format uri
   */
  events_url: string;
  /**
   * @format uri
   */
  feeds_url: string;
  /**
   * @format uri
   */
  followers_url: string;
  /**
   * @format uri
   */
  following_url: string;
  /**
   * @format uri
   */
  gists_url: string;
  /**
   * @format uri
   */
  hub_url: string;
  /**
   * @format uri
   */
  issue_search_url: string;
  /**
   * @format uri
   */
  issues_url: string;
  /**
   * @format uri
   */
  keys_url: string;
  /**
   * @format uri
   */
  label_search_url: string;
  /**
   * @format uri
   */
  notifications_url: string;
  /**
   * @format uri
   */
  organization_repositories_url: string;
  /**
   * @format uri
   */
  organization_teams_url: string;
  /**
   * @format uri
   */
  organization_url: string;
  /**
   * @format uri
   */
  public_gists_url: string;
  /**
   * @format uri
   */
  rate_limit_url: string;
  /**
   * @format uri
   */
  repository_search_url: string;
  /**
   * @format uri
   */
  repository_url: string;
  /**
   * @format uri
   */
  starred_gists_url: string;
  /**
   * @format uri
   */
  starred_url: string;
  /**
   * @format uri
   */
  topic_search_url?: string;
  /**
   * @format uri
   */
  user_organizations_url: string;
  /**
   * @format uri
   */
  user_repositories_url: string;
  /**
   * @format uri
   */
  user_search_url: string;
  /**
   * @format uri
   */
  user_url: string;
};

export type MetaRootVariables = GithubContext['fetcherOptions'];

/**
 * Get Hypermedia links to resources accessible in GitHub's REST API
 */
export const fetchMetaRoot = (
  variables: MetaRootVariables,
  signal?: AbortSignal,
) =>
  githubFetch<MetaRootResponse, MetaRootError, undefined, {}, {}, {}>({
    url: '/',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * Get Hypermedia links to resources accessible in GitHub's REST API
 */
export const useMetaRoot = <TData = MetaRootResponse>(
  variables: MetaRootVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<MetaRootResponse, MetaRootError, TData>,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<MetaRootResponse, MetaRootError, TData>(
    queryKeyFn({ path: '/', operationId: 'metaRoot', variables }),
    ({ signal }) => fetchMetaRoot({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsGetAuthenticatedError = Fetcher.ErrorWrapper<undefined>;

export type AppsGetAuthenticatedVariables = GithubContext['fetcherOptions'];

/**
 * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsGetAuthenticated = (
  variables: AppsGetAuthenticatedVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Integration,
    AppsGetAuthenticatedError,
    undefined,
    {},
    {},
    {}
  >({ url: '/app', method: 'get', ...variables, signal });

/**
 * Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)" endpoint.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsGetAuthenticated = <TData = Schemas.Integration>(
  variables: AppsGetAuthenticatedVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.Integration,
      AppsGetAuthenticatedError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.Integration,
    AppsGetAuthenticatedError,
    TData
  >(
    queryKeyFn({
      path: '/app',
      operationId: 'appsGetAuthenticated',
      variables,
    }),
    ({ signal }) =>
      fetchAppsGetAuthenticated({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsCreateFromManifestPathParams = {
  code: string;
};

export type AppsCreateFromManifestError = Fetcher.ErrorWrapper<
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 422;
      payload: Responses.ValidationFailedSimple;
    }
>;

export type AppsCreateFromManifestResponse = {
  /**
   * @example "Iv1.25b5d1e65ffc4022"
   */
  client_id: string;
  /**
   * @example "1d4b2097ac622ba702d19de498f005747a8b21d3"
   */
  client_secret: string;
  /**
   * @example "2017-07-08T20:18:44.000Z"
   * @format date-time
   */
  created_at: string;
  /**
   * @example The description of the app.
   */
  description: string | null;
  /**
   * The list of events for the GitHub app
   *
   * @example label
   * @example deployment
   */
  events: string[];
  /**
   * @example https://example.com
   * @format uri
   */
  external_url: string;
  /**
   * @example https://github.com/apps/super-ci
   * @format uri
   */
  html_url: string;
  /**
   * Unique identifier of the GitHub app
   *
   * @example 37
   */
  id?: number;
  /**
   * The number of installations associated with the GitHub app
   *
   * @example 5
   */
  installations_count?: number;
  /**
   * The name of the GitHub app
   *
   * @example Probot Owners
   */
  name?: string;
  /**
   * @example MDExOkludGVncmF0aW9uMQ==
   */
  node_id?: string;
  /**
   * Simple User
   */
  owner?: Schemas.SimpleUser;
  /**
   * @example "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"
   */
  pem: string;
  /**
   * The set of permissions for the GitHub app
   *
   * @example {"deployments":"write","issues":"read"}
   */
  permissions: {
    checks?: string;
    contents?: string;
    deployments?: string;
    issues?: string;
    metadata?: string;
  } & {
    [key: string]: string;
  };
  /**
   * The slug name of the GitHub app
   *
   * @example probot-owners
   */
  slug?: string;
  /**
   * @example "2017-07-08T20:18:44.000Z"
   * @format date-time
   */
  updated_at: string;
  /**
   * @example "6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b"
   */
  webhook_secret: string;
} & {
  [key: string]: any;
};

export type AppsCreateFromManifestVariables = {
  pathParams: AppsCreateFromManifestPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.
 */
export const fetchAppsCreateFromManifest = (
  variables: AppsCreateFromManifestVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    AppsCreateFromManifestResponse,
    AppsCreateFromManifestError,
    undefined,
    {},
    {},
    AppsCreateFromManifestPathParams
  >({
    url: '/app-manifests/{code}/conversions',
    method: 'post',
    ...variables,
    signal,
  });

/**
 * Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.
 */
export const useAppsCreateFromManifest = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      AppsCreateFromManifestResponse,
      AppsCreateFromManifestError,
      AppsCreateFromManifestVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    AppsCreateFromManifestResponse,
    AppsCreateFromManifestError,
    AppsCreateFromManifestVariables
  >(
    (variables: AppsCreateFromManifestVariables) =>
      fetchAppsCreateFromManifest({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsGetWebhookConfigForAppError = Fetcher.ErrorWrapper<undefined>;

export type AppsGetWebhookConfigForAppVariables =
  GithubContext['fetcherOptions'];

/**
 * Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsGetWebhookConfigForApp = (
  variables: AppsGetWebhookConfigForAppVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.WebhookConfig,
    AppsGetWebhookConfigForAppError,
    undefined,
    {},
    {},
    {}
  >({ url: '/app/hook/config', method: 'get', ...variables, signal });

/**
 * Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsGetWebhookConfigForApp = <TData = Schemas.WebhookConfig>(
  variables: AppsGetWebhookConfigForAppVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.WebhookConfig,
      AppsGetWebhookConfigForAppError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.WebhookConfig,
    AppsGetWebhookConfigForAppError,
    TData
  >(
    queryKeyFn({
      path: '/app/hook/config',
      operationId: 'appsGetWebhookConfigForApp',
      variables,
    }),
    ({ signal }) =>
      fetchAppsGetWebhookConfigForApp(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsUpdateWebhookConfigForAppError =
  Fetcher.ErrorWrapper<undefined>;

export type AppsUpdateWebhookConfigForAppRequestBody = {
  content_type?: Schemas.WebhookConfigContentType;
  insecure_ssl?: Schemas.WebhookConfigInsecureSsl;
  secret?: Schemas.WebhookConfigSecret;
  url?: Schemas.WebhookConfigUrl;
};

export type AppsUpdateWebhookConfigForAppVariables = {
  body?: AppsUpdateWebhookConfigForAppRequestBody;
} & GithubContext['fetcherOptions'];

/**
 * Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsUpdateWebhookConfigForApp = (
  variables: AppsUpdateWebhookConfigForAppVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.WebhookConfig,
    AppsUpdateWebhookConfigForAppError,
    AppsUpdateWebhookConfigForAppRequestBody,
    {},
    {},
    {}
  >({ url: '/app/hook/config', method: 'patch', ...variables, signal });

/**
 * Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsUpdateWebhookConfigForApp = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.WebhookConfig,
      AppsUpdateWebhookConfigForAppError,
      AppsUpdateWebhookConfigForAppVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.WebhookConfig,
    AppsUpdateWebhookConfigForAppError,
    AppsUpdateWebhookConfigForAppVariables
  >(
    (variables: AppsUpdateWebhookConfigForAppVariables) =>
      fetchAppsUpdateWebhookConfigForApp({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsListInstallationsQueryParams = {
  /**
   * Results per page (max 100).
   *
   * @default 30
   */
  per_page?: number;
  /**
   * Page number of the results to fetch.
   *
   * @default 1
   */
  page?: number;
  /**
   * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
   */
  since?: string;
  outdated?: string;
};

export type AppsListInstallationsError = Fetcher.ErrorWrapper<undefined>;

export type AppsListInstallationsResponse = Schemas.Installation[];

export type AppsListInstallationsVariables = {
  queryParams?: AppsListInstallationsQueryParams;
} & GithubContext['fetcherOptions'];

/**
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 *
 * The permissions the installation has are included under the `permissions` key.
 */
export const fetchAppsListInstallations = (
  variables: AppsListInstallationsVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    AppsListInstallationsResponse,
    AppsListInstallationsError,
    undefined,
    {},
    AppsListInstallationsQueryParams,
    {}
  >({ url: '/app/installations', method: 'get', ...variables, signal });

/**
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 *
 * The permissions the installation has are included under the `permissions` key.
 */
export const useAppsListInstallations = <TData = AppsListInstallationsResponse>(
  variables: AppsListInstallationsVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      AppsListInstallationsResponse,
      AppsListInstallationsError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    AppsListInstallationsResponse,
    AppsListInstallationsError,
    TData
  >(
    queryKeyFn({
      path: '/app/installations',
      operationId: 'appsListInstallations',
      variables,
    }),
    ({ signal }) =>
      fetchAppsListInstallations({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsDeleteInstallationPathParams = {
  /**
   * installation_id parameter
   */
  installationId: number;
};

export type AppsDeleteInstallationError = Fetcher.ErrorWrapper<{
  status: 404;
  payload: Responses.NotFound;
}>;

export type AppsDeleteInstallationVariables = {
  pathParams: AppsDeleteInstallationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsDeleteInstallation = (
  variables: AppsDeleteInstallationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsDeleteInstallationError,
    undefined,
    {},
    {},
    AppsDeleteInstallationPathParams
  >({
    url: '/app/installations/{installationId}',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)" endpoint.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsDeleteInstallation = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsDeleteInstallationError,
      AppsDeleteInstallationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsDeleteInstallationError,
    AppsDeleteInstallationVariables
  >(
    (variables: AppsDeleteInstallationVariables) =>
      fetchAppsDeleteInstallation({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsGetInstallationPathParams = {
  /**
   * installation_id parameter
   */
  installationId: number;
};

export type AppsGetInstallationError = Fetcher.ErrorWrapper<
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 415;
      payload: Responses.PreviewHeaderMissing;
    }
>;

export type AppsGetInstallationVariables = {
  pathParams: AppsGetInstallationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsGetInstallation = (
  variables: AppsGetInstallationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Installation,
    AppsGetInstallationError,
    undefined,
    {},
    {},
    AppsGetInstallationPathParams
  >({
    url: '/app/installations/{installationId}',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsGetInstallation = <TData = Schemas.Installation>(
  variables: AppsGetInstallationVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.Installation,
      AppsGetInstallationError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.Installation,
    AppsGetInstallationError,
    TData
  >(
    queryKeyFn({
      path: '/app/installations/{installation_id}',
      operationId: 'appsGetInstallation',
      variables,
    }),
    ({ signal }) =>
      fetchAppsGetInstallation({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsCreateInstallationAccessTokenPathParams = {
  /**
   * installation_id parameter
   */
  installationId: number;
};

export type AppsCreateInstallationAccessTokenError = Fetcher.ErrorWrapper<
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 415;
      payload: Responses.PreviewHeaderMissing;
    }
  | {
      status: 422;
      payload: Responses.ValidationFailed;
    }
>;

export type AppsCreateInstallationAccessTokenRequestBody = {
  permissions?: Schemas.AppPermissions;
  /**
   * List of repository names that the token should have access to
   */
  repositories?: string[];
  /**
   * List of repository IDs that the token should have access to
   *
   * @example 1
   */
  repository_ids?: number[];
};

export type AppsCreateInstallationAccessTokenVariables = {
  body?: AppsCreateInstallationAccessTokenRequestBody;
  pathParams: AppsCreateInstallationAccessTokenPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsCreateInstallationAccessToken = (
  variables: AppsCreateInstallationAccessTokenVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.InstallationToken,
    AppsCreateInstallationAccessTokenError,
    AppsCreateInstallationAccessTokenRequestBody,
    {},
    {},
    AppsCreateInstallationAccessTokenPathParams
  >({
    url: '/app/installations/{installationId}/access_tokens',
    method: 'post',
    ...variables,
    signal,
  });

/**
 * Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsCreateInstallationAccessToken = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.InstallationToken,
      AppsCreateInstallationAccessTokenError,
      AppsCreateInstallationAccessTokenVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.InstallationToken,
    AppsCreateInstallationAccessTokenError,
    AppsCreateInstallationAccessTokenVariables
  >(
    (variables: AppsCreateInstallationAccessTokenVariables) =>
      fetchAppsCreateInstallationAccessToken({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type AppsUnsuspendInstallationPathParams = {
  /**
   * installation_id parameter
   */
  installationId: number;
};

export type AppsUnsuspendInstallationError = Fetcher.ErrorWrapper<{
  status: 404;
  payload: Responses.NotFound;
}>;

export type AppsUnsuspendInstallationVariables = {
  pathParams: AppsUnsuspendInstallationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Removes a GitHub App installation suspension.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsUnsuspendInstallation = (
  variables: AppsUnsuspendInstallationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsUnsuspendInstallationError,
    undefined,
    {},
    {},
    AppsUnsuspendInstallationPathParams
  >({
    url: '/app/installations/{installationId}/suspended',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * Removes a GitHub App installation suspension.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsUnsuspendInstallation = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsUnsuspendInstallationError,
      AppsUnsuspendInstallationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsUnsuspendInstallationError,
    AppsUnsuspendInstallationVariables
  >(
    (variables: AppsUnsuspendInstallationVariables) =>
      fetchAppsUnsuspendInstallation({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsSuspendInstallationPathParams = {
  /**
   * installation_id parameter
   */
  installationId: number;
};

export type AppsSuspendInstallationError = Fetcher.ErrorWrapper<{
  status: 404;
  payload: Responses.NotFound;
}>;

export type AppsSuspendInstallationVariables = {
  pathParams: AppsSuspendInstallationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const fetchAppsSuspendInstallation = (
  variables: AppsSuspendInstallationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsSuspendInstallationError,
    undefined,
    {},
    {},
    AppsSuspendInstallationPathParams
  >({
    url: '/app/installations/{installationId}/suspended',
    method: 'put',
    ...variables,
    signal,
  });

/**
 * Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
 *
 * You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
 */
export const useAppsSuspendInstallation = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsSuspendInstallationError,
      AppsSuspendInstallationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsSuspendInstallationError,
    AppsSuspendInstallationVariables
  >(
    (variables: AppsSuspendInstallationVariables) =>
      fetchAppsSuspendInstallation({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type OauthAuthorizationsListGrantsQueryParams = {
  /**
   * Results per page (max 100).
   *
   * @default 30
   */
  per_page?: number;
  /**
   * Page number of the results to fetch.
   *
   * @default 1
   */
  page?: number;
  /**
   * The client ID of your GitHub app.
   */
  client_id?: string;
};

export type OauthAuthorizationsListGrantsError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
>;

export type OauthAuthorizationsListGrantsResponse = Schemas.ApplicationGrant[];

export type OauthAuthorizationsListGrantsVariables = {
  queryParams?: OauthAuthorizationsListGrantsQueryParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `["repo", "user"]`.
 */
export const fetchOauthAuthorizationsListGrants = (
  variables: OauthAuthorizationsListGrantsVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    OauthAuthorizationsListGrantsResponse,
    OauthAuthorizationsListGrantsError,
    undefined,
    {},
    OauthAuthorizationsListGrantsQueryParams,
    {}
  >({ url: '/applications/grants', method: 'get', ...variables, signal });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `["repo", "user"]`.
 */
export const useOauthAuthorizationsListGrants = <
  TData = OauthAuthorizationsListGrantsResponse,
>(
  variables: OauthAuthorizationsListGrantsVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      OauthAuthorizationsListGrantsResponse,
      OauthAuthorizationsListGrantsError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    OauthAuthorizationsListGrantsResponse,
    OauthAuthorizationsListGrantsError,
    TData
  >(
    queryKeyFn({
      path: '/applications/grants',
      operationId: 'oauthAuthorizationsListGrants',
      variables,
    }),
    ({ signal }) =>
      fetchOauthAuthorizationsListGrants(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type OauthAuthorizationsDeleteGrantPathParams = {
  /**
   * grant_id parameter
   */
  grantId: number;
};

export type OauthAuthorizationsDeleteGrantError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
>;

export type OauthAuthorizationsDeleteGrantVariables = {
  pathParams: OauthAuthorizationsDeleteGrantPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
 */
export const fetchOauthAuthorizationsDeleteGrant = (
  variables: OauthAuthorizationsDeleteGrantVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    OauthAuthorizationsDeleteGrantError,
    undefined,
    {},
    {},
    OauthAuthorizationsDeleteGrantPathParams
  >({
    url: '/applications/grants/{grantId}',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
 */
export const useOauthAuthorizationsDeleteGrant = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      OauthAuthorizationsDeleteGrantError,
      OauthAuthorizationsDeleteGrantVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    OauthAuthorizationsDeleteGrantError,
    OauthAuthorizationsDeleteGrantVariables
  >(
    (variables: OauthAuthorizationsDeleteGrantVariables) =>
      fetchOauthAuthorizationsDeleteGrant({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type OauthAuthorizationsGetGrantPathParams = {
  /**
   * grant_id parameter
   */
  grantId: number;
};

export type OauthAuthorizationsGetGrantError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
>;

export type OauthAuthorizationsGetGrantVariables = {
  pathParams: OauthAuthorizationsGetGrantPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const fetchOauthAuthorizationsGetGrant = (
  variables: OauthAuthorizationsGetGrantVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.ApplicationGrant,
    OauthAuthorizationsGetGrantError,
    undefined,
    {},
    {},
    OauthAuthorizationsGetGrantPathParams
  >({
    url: '/applications/grants/{grantId}',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const useOauthAuthorizationsGetGrant = <
  TData = Schemas.ApplicationGrant,
>(
  variables: OauthAuthorizationsGetGrantVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.ApplicationGrant,
      OauthAuthorizationsGetGrantError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.ApplicationGrant,
    OauthAuthorizationsGetGrantError,
    TData
  >(
    queryKeyFn({
      path: '/applications/grants/{grant_id}',
      operationId: 'oauthAuthorizationsGetGrant',
      variables,
    }),
    ({ signal }) =>
      fetchOauthAuthorizationsGetGrant(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsDeleteAuthorizationPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
};

export type AppsDeleteAuthorizationError = Fetcher.ErrorWrapper<{
  status: 422;
  payload: Responses.ValidationFailed;
}>;

export type AppsDeleteAuthorizationRequestBody = {
  /**
   * The OAuth access token used to authenticate to the GitHub API.
   */
  access_token?: string;
};

export type AppsDeleteAuthorizationVariables = {
  body?: AppsDeleteAuthorizationRequestBody;
  pathParams: AppsDeleteAuthorizationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
 */
export const fetchAppsDeleteAuthorization = (
  variables: AppsDeleteAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsDeleteAuthorizationError,
    AppsDeleteAuthorizationRequestBody,
    {},
    {},
    AppsDeleteAuthorizationPathParams
  >({
    url: '/applications/{clientId}/grant',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
 */
export const useAppsDeleteAuthorization = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsDeleteAuthorizationError,
      AppsDeleteAuthorizationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsDeleteAuthorizationError,
    AppsDeleteAuthorizationVariables
  >(
    (variables: AppsDeleteAuthorizationVariables) =>
      fetchAppsDeleteAuthorization({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsRevokeGrantForApplicationPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
  accessToken: string;
};

export type AppsRevokeGrantForApplicationError =
  Fetcher.ErrorWrapper<undefined>;

export type AppsRevokeGrantForApplicationVariables = {
  pathParams: AppsRevokeGrantForApplicationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.
 *
 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under "Authorized OAuth Apps" on GitHub](https://github.com/settings/applications#authorized).
 */
export const fetchAppsRevokeGrantForApplication = (
  variables: AppsRevokeGrantForApplicationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsRevokeGrantForApplicationError,
    undefined,
    {},
    {},
    AppsRevokeGrantForApplicationPathParams
  >({
    url: '/applications/{clientId}/grants/{accessToken}',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.
 *
 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under "Authorized OAuth Apps" on GitHub](https://github.com/settings/applications#authorized).
 */
export const useAppsRevokeGrantForApplication = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsRevokeGrantForApplicationError,
      AppsRevokeGrantForApplicationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsRevokeGrantForApplicationError,
    AppsRevokeGrantForApplicationVariables
  >(
    (variables: AppsRevokeGrantForApplicationVariables) =>
      fetchAppsRevokeGrantForApplication({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsDeleteTokenPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
};

export type AppsDeleteTokenError = Fetcher.ErrorWrapper<{
  status: 422;
  payload: Responses.ValidationFailed;
}>;

export type AppsDeleteTokenRequestBody = {
  /**
   * The OAuth access token used to authenticate to the GitHub API.
   */
  access_token: string;
};

export type AppsDeleteTokenVariables = {
  body: AppsDeleteTokenRequestBody;
  pathParams: AppsDeleteTokenPathParams;
} & GithubContext['fetcherOptions'];

/**
 * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.
 */
export const fetchAppsDeleteToken = (
  variables: AppsDeleteTokenVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsDeleteTokenError,
    AppsDeleteTokenRequestBody,
    {},
    {},
    AppsDeleteTokenPathParams
  >({
    url: '/applications/{clientId}/token',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.
 */
export const useAppsDeleteToken = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsDeleteTokenError,
      AppsDeleteTokenVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsDeleteTokenError,
    AppsDeleteTokenVariables
  >(
    (variables: AppsDeleteTokenVariables) =>
      fetchAppsDeleteToken({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsResetTokenPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
};

export type AppsResetTokenError = Fetcher.ErrorWrapper<{
  status: 422;
  payload: Responses.ValidationFailed;
}>;

export type AppsResetTokenRequestBody = {
  /**
   * The access_token of the OAuth application.
   */
  access_token: string;
};

export type AppsResetTokenVariables = {
  body: AppsResetTokenRequestBody;
  pathParams: AppsResetTokenPathParams;
} & GithubContext['fetcherOptions'];

/**
 * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const fetchAppsResetToken = (
  variables: AppsResetTokenVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    AppsResetTokenError,
    AppsResetTokenRequestBody,
    {},
    {},
    AppsResetTokenPathParams
  >({
    url: '/applications/{clientId}/token',
    method: 'patch',
    ...variables,
    signal,
  });

/**
 * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const useAppsResetToken = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      AppsResetTokenError,
      AppsResetTokenVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    AppsResetTokenError,
    AppsResetTokenVariables
  >(
    (variables: AppsResetTokenVariables) =>
      fetchAppsResetToken({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsCheckTokenPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
};

export type AppsCheckTokenError = Fetcher.ErrorWrapper<
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 422;
      payload: Responses.ValidationFailed;
    }
>;

export type AppsCheckTokenRequestBody = {
  /**
   * The access_token of the OAuth application.
   */
  access_token: string;
};

export type AppsCheckTokenVariables = {
  body: AppsCheckTokenRequestBody;
  pathParams: AppsCheckTokenPathParams;
} & GithubContext['fetcherOptions'];

/**
 * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.
 */
export const fetchAppsCheckToken = (
  variables: AppsCheckTokenVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    AppsCheckTokenError,
    AppsCheckTokenRequestBody,
    {},
    {},
    AppsCheckTokenPathParams
  >({
    url: '/applications/{clientId}/token',
    method: 'post',
    ...variables,
    signal,
  });

/**
 * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.
 */
export const useAppsCheckToken = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      AppsCheckTokenError,
      AppsCheckTokenVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    AppsCheckTokenError,
    AppsCheckTokenVariables
  >(
    (variables: AppsCheckTokenVariables) =>
      fetchAppsCheckToken({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsScopeTokenPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
};

export type AppsScopeTokenError = Fetcher.ErrorWrapper<
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 422;
      payload: Responses.ValidationFailed;
    }
>;

export type AppsScopeTokenRequestBody = {
  /**
   * **Required.** The OAuth access token used to authenticate to the GitHub API.
   *
   * @example e72e16c7e42f292c6912e7710c838347ae178b4a
   */
  access_token: string;
  permissions?: Schemas.AppPermissions;
  /**
   * The list of repository names to scope the user-to-server access token to. `repositories` may not be specified if `repository_ids` is specified.
   */
  repositories?: string[];
  /**
   * The list of repository IDs to scope the user-to-server access token to. `repository_ids` may not be specified if `repositories` is specified.
   *
   * @example 1
   */
  repository_ids?: number[];
  /**
   * The name of the user or organization to scope the user-to-server access token to. **Required** unless `target_id` is specified.
   *
   * @example octocat
   */
  target?: string;
  /**
   * The ID of the user or organization to scope the user-to-server access token to. **Required** unless `target` is specified.
   *
   * @example 1
   */
  target_id?: number;
};

export type AppsScopeTokenVariables = {
  body: AppsScopeTokenRequestBody;
  pathParams: AppsScopeTokenPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const fetchAppsScopeToken = (
  variables: AppsScopeTokenVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    AppsScopeTokenError,
    AppsScopeTokenRequestBody,
    {},
    {},
    AppsScopeTokenPathParams
  >({
    url: '/applications/{clientId}/token/scoped',
    method: 'post',
    ...variables,
    signal,
  });

/**
 * Exchanges a non-repository scoped user-to-server OAuth access token for a repository scoped user-to-server OAuth access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const useAppsScopeToken = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      AppsScopeTokenError,
      AppsScopeTokenVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    AppsScopeTokenError,
    AppsScopeTokenVariables
  >(
    (variables: AppsScopeTokenVariables) =>
      fetchAppsScopeToken({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsRevokeAuthorizationForApplicationPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
  accessToken: string;
};

export type AppsRevokeAuthorizationForApplicationError =
  Fetcher.ErrorWrapper<undefined>;

export type AppsRevokeAuthorizationForApplicationVariables = {
  pathParams: AppsRevokeAuthorizationForApplicationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.
 */
export const fetchAppsRevokeAuthorizationForApplication = (
  variables: AppsRevokeAuthorizationForApplicationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    AppsRevokeAuthorizationForApplicationError,
    undefined,
    {},
    {},
    AppsRevokeAuthorizationForApplicationPathParams
  >({
    url: '/applications/{clientId}/tokens/{accessToken}',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.
 */
export const useAppsRevokeAuthorizationForApplication = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      AppsRevokeAuthorizationForApplicationError,
      AppsRevokeAuthorizationForApplicationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    AppsRevokeAuthorizationForApplicationError,
    AppsRevokeAuthorizationForApplicationVariables
  >(
    (variables: AppsRevokeAuthorizationForApplicationVariables) =>
      fetchAppsRevokeAuthorizationForApplication({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type AppsCheckAuthorizationPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
  accessToken: string;
};

export type AppsCheckAuthorizationError = Fetcher.ErrorWrapper<{
  status: 404;
  payload: Responses.NotFound;
}>;

export type AppsCheckAuthorizationResponse = Schemas.Authorization;

export type AppsCheckAuthorizationVariables = {
  pathParams: AppsCheckAuthorizationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const fetchAppsCheckAuthorization = (
  variables: AppsCheckAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    AppsCheckAuthorizationResponse,
    AppsCheckAuthorizationError,
    undefined,
    {},
    {},
    AppsCheckAuthorizationPathParams
  >({
    url: '/applications/{clientId}/tokens/{accessToken}',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const useAppsCheckAuthorization = <
  TData = AppsCheckAuthorizationResponse,
>(
  variables: AppsCheckAuthorizationVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      AppsCheckAuthorizationResponse,
      AppsCheckAuthorizationError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    AppsCheckAuthorizationResponse,
    AppsCheckAuthorizationError,
    TData
  >(
    queryKeyFn({
      path: '/applications/{client_id}/tokens/{access_token}',
      operationId: 'appsCheckAuthorization',
      variables,
    }),
    ({ signal }) =>
      fetchAppsCheckAuthorization({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsResetAuthorizationPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
  accessToken: string;
};

export type AppsResetAuthorizationError = Fetcher.ErrorWrapper<undefined>;

export type AppsResetAuthorizationVariables = {
  pathParams: AppsResetAuthorizationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const fetchAppsResetAuthorization = (
  variables: AppsResetAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    AppsResetAuthorizationError,
    undefined,
    {},
    {},
    AppsResetAuthorizationPathParams
  >({
    url: '/applications/{clientId}/tokens/{accessToken}',
    method: 'post',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue OAuth endpoints that contain `access_token` in the path parameter. We have introduced new endpoints that allow you to securely manage tokens for OAuth Apps by moving `access_token` to the request body. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).
 *
 * OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.
 */
export const useAppsResetAuthorization = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      AppsResetAuthorizationError,
      AppsResetAuthorizationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    AppsResetAuthorizationError,
    AppsResetAuthorizationVariables
  >(
    (variables: AppsResetAuthorizationVariables) =>
      fetchAppsResetAuthorization({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type AppsGetBySlugPathParams = {
  appSlug: string;
};

export type AppsGetBySlugError = Fetcher.ErrorWrapper<
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 415;
      payload: Responses.PreviewHeaderMissing;
    }
>;

export type AppsGetBySlugVariables = {
  pathParams: AppsGetBySlugPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
 *
 * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
 */
export const fetchAppsGetBySlug = (
  variables: AppsGetBySlugVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Integration,
    AppsGetBySlugError,
    undefined,
    {},
    {},
    AppsGetBySlugPathParams
  >({ url: '/apps/{appSlug}', method: 'get', ...variables, signal });

/**
 * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
 *
 * If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
 */
export const useAppsGetBySlug = <TData = Schemas.Integration>(
  variables: AppsGetBySlugVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<Schemas.Integration, AppsGetBySlugError, TData>,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<Schemas.Integration, AppsGetBySlugError, TData>(
    queryKeyFn({
      path: '/apps/{app_slug}',
      operationId: 'appsGetBySlug',
      variables,
    }),
    ({ signal }) =>
      fetchAppsGetBySlug({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type OauthAuthorizationsListAuthorizationsQueryParams = {
  /**
   * Results per page (max 100).
   *
   * @default 30
   */
  per_page?: number;
  /**
   * Page number of the results to fetch.
   *
   * @default 1
   */
  page?: number;
  /**
   * The client ID of your GitHub app.
   */
  client_id?: string;
};

export type OauthAuthorizationsListAuthorizationsError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
>;

export type OauthAuthorizationsListAuthorizationsResponse =
  Schemas.Authorization[];

export type OauthAuthorizationsListAuthorizationsVariables = {
  queryParams?: OauthAuthorizationsListAuthorizationsQueryParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const fetchOauthAuthorizationsListAuthorizations = (
  variables: OauthAuthorizationsListAuthorizationsVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    OauthAuthorizationsListAuthorizationsResponse,
    OauthAuthorizationsListAuthorizationsError,
    undefined,
    {},
    OauthAuthorizationsListAuthorizationsQueryParams,
    {}
  >({ url: '/authorizations', method: 'get', ...variables, signal });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const useOauthAuthorizationsListAuthorizations = <
  TData = OauthAuthorizationsListAuthorizationsResponse,
>(
  variables: OauthAuthorizationsListAuthorizationsVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      OauthAuthorizationsListAuthorizationsResponse,
      OauthAuthorizationsListAuthorizationsError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    OauthAuthorizationsListAuthorizationsResponse,
    OauthAuthorizationsListAuthorizationsError,
    TData
  >(
    queryKeyFn({
      path: '/authorizations',
      operationId: 'oauthAuthorizationsListAuthorizations',
      variables,
    }),
    ({ signal }) =>
      fetchOauthAuthorizationsListAuthorizations(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type OauthAuthorizationsCreateAuthorizationError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 410;
      payload: Responses.Gone;
    }
  | {
      status: 422;
      payload: Responses.ValidationFailed;
    }
>;

export type OauthAuthorizationsCreateAuthorizationRequestBody = {
  /**
   * The OAuth app client key for which to create the token.
   *
   * @maxLength 20
   */
  client_id?: string;
  /**
   * The OAuth app client secret for which to create the token.
   *
   * @maxLength 40
   */
  client_secret?: string;
  /**
   * A unique string to distinguish an authorization from others created for the same client ID and user.
   */
  fingerprint?: string;
  /**
   * A note to remind you what the OAuth token is for.
   *
   * @example Update all gems
   */
  note?: string;
  /**
   * A URL to remind you what app the OAuth token is for.
   */
  note_url?: string;
  /**
   * A list of scopes that this authorization is in.
   *
   * @example public_repo
   * @example user
   */
  scopes?: string[] | null;
};

export type OauthAuthorizationsCreateAuthorizationVariables = {
  body?: OauthAuthorizationsCreateAuthorizationRequestBody;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
 *
 * Creates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 *
 * To create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.
 *
 * You can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).
 *
 * Organizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).
 */
export const fetchOauthAuthorizationsCreateAuthorization = (
  variables: OauthAuthorizationsCreateAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    OauthAuthorizationsCreateAuthorizationError,
    OauthAuthorizationsCreateAuthorizationRequestBody,
    {},
    {},
    {}
  >({ url: '/authorizations', method: 'post', ...variables, signal });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
 *
 * Creates OAuth tokens using [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 *
 * To create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.
 *
 * You can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).
 *
 * Organizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).
 */
export const useOauthAuthorizationsCreateAuthorization = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      OauthAuthorizationsCreateAuthorizationError,
      OauthAuthorizationsCreateAuthorizationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    OauthAuthorizationsCreateAuthorizationError,
    OauthAuthorizationsCreateAuthorizationVariables
  >(
    (variables: OauthAuthorizationsCreateAuthorizationVariables) =>
      fetchOauthAuthorizationsCreateAuthorization({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type OauthAuthorizationsGetOrCreateAuthorizationForAppPathParams = {
  /**
   * The client ID of your GitHub app.
   */
  clientId: string;
};

export type OauthAuthorizationsGetOrCreateAuthorizationForAppError =
  Fetcher.ErrorWrapper<
    | {
        status: 304;
        payload: Responses.NotModified;
      }
    | {
        status: 401;
        payload: Responses.RequiresAuthentication;
      }
    | {
        status: 403;
        payload: Responses.Forbidden;
      }
    | {
        status: 422;
        payload: Responses.ValidationFailed;
      }
  >;

export type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestBody = {
  /**
   * The OAuth app client secret for which to create the token.
   *
   * @maxLength 40
   */
  client_secret: string;
  /**
   * A unique string to distinguish an authorization from others created for the same client ID and user.
   */
  fingerprint?: string;
  /**
   * A note to remind you what the OAuth token is for.
   *
   * @example Update all gems
   */
  note?: string;
  /**
   * A URL to remind you what app the OAuth token is for.
   */
  note_url?: string;
  /**
   * A list of scopes that this authorization is in.
   *
   * @example public_repo
   * @example user
   */
  scopes?: string[] | null;
};

export type OauthAuthorizationsGetOrCreateAuthorizationForAppVariables = {
  body: OauthAuthorizationsGetOrCreateAuthorizationForAppRequestBody;
  pathParams: OauthAuthorizationsGetOrCreateAuthorizationForAppPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
 *
 * Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
 *
 * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 *
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const fetchOauthAuthorizationsGetOrCreateAuthorizationForApp = (
  variables: OauthAuthorizationsGetOrCreateAuthorizationForAppVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    OauthAuthorizationsGetOrCreateAuthorizationForAppError,
    OauthAuthorizationsGetOrCreateAuthorizationForAppRequestBody,
    {},
    {},
    OauthAuthorizationsGetOrCreateAuthorizationForAppPathParams
  >({
    url: '/authorizations/clients/{clientId}',
    method: 'put',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
 *
 * Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
 *
 * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 *
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const useOauthAuthorizationsGetOrCreateAuthorizationForApp = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      OauthAuthorizationsGetOrCreateAuthorizationForAppError,
      OauthAuthorizationsGetOrCreateAuthorizationForAppVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    OauthAuthorizationsGetOrCreateAuthorizationForAppError,
    OauthAuthorizationsGetOrCreateAuthorizationForAppVariables
  >(
    (variables: OauthAuthorizationsGetOrCreateAuthorizationForAppVariables) =>
      fetchOauthAuthorizationsGetOrCreateAuthorizationForApp({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintPathParams =
  {
    /**
     * The client ID of your GitHub app.
     */
    clientId: string;
    fingerprint: string;
  };

export type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintError =
  Fetcher.ErrorWrapper<{
    status: 422;
    payload: Responses.ValidationFailed;
  }>;

export type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestBody =
  {
    /**
     * The OAuth app client secret for which to create the token.
     *
     * @maxLength 40
     */
    client_secret: string;
    /**
     * A note to remind you what the OAuth token is for.
     *
     * @example Update all gems
     */
    note?: string;
    /**
     * A URL to remind you what app the OAuth token is for.
     */
    note_url?: string;
    /**
     * A list of scopes that this authorization is in.
     *
     * @example public_repo
     * @example user
     */
    scopes?: string[] | null;
  };

export type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVariables =
  {
    body: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestBody;
    pathParams: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintPathParams;
  } & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
 *
 * This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
 *
 * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 */
export const fetchOauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprint =
  (
    variables: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVariables,
    signal?: AbortSignal,
  ) =>
    githubFetch<
      Schemas.Authorization,
      OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintError,
      OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestBody,
      {},
      {},
      OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintPathParams
    >({
      url: '/authorizations/clients/{clientId}/{fingerprint}',
      method: 'put',
      ...variables,
      signal,
    });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * **Warning:** Apps must use the [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).
 *
 * This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
 *
 * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 */
export const useOauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprint =
  (
    options?: Omit<
      reactQuery.UseMutationOptions<
        Schemas.Authorization,
        OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintError,
        OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVariables
      >,
      'mutationFn'
    >,
  ) => {
    const { fetcherOptions } = useGithubContext();
    return reactQuery.useMutation<
      Schemas.Authorization,
      OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintError,
      OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVariables
    >(
      (
        variables: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVariables,
      ) =>
        fetchOauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprint({
          ...fetcherOptions,
          ...variables,
        }),
      options,
    );
  };

export type OauthAuthorizationsDeleteAuthorizationPathParams = {
  /**
   * authorization_id parameter
   */
  authorizationId: number;
};

export type OauthAuthorizationsDeleteAuthorizationError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
>;

export type OauthAuthorizationsDeleteAuthorizationVariables = {
  pathParams: OauthAuthorizationsDeleteAuthorizationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const fetchOauthAuthorizationsDeleteAuthorization = (
  variables: OauthAuthorizationsDeleteAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    OauthAuthorizationsDeleteAuthorizationError,
    undefined,
    {},
    {},
    OauthAuthorizationsDeleteAuthorizationPathParams
  >({
    url: '/authorizations/{authorizationId}',
    method: 'delete',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const useOauthAuthorizationsDeleteAuthorization = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      OauthAuthorizationsDeleteAuthorizationError,
      OauthAuthorizationsDeleteAuthorizationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    OauthAuthorizationsDeleteAuthorizationError,
    OauthAuthorizationsDeleteAuthorizationVariables
  >(
    (variables: OauthAuthorizationsDeleteAuthorizationVariables) =>
      fetchOauthAuthorizationsDeleteAuthorization({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type OauthAuthorizationsGetAuthorizationPathParams = {
  /**
   * authorization_id parameter
   */
  authorizationId: number;
};

export type OauthAuthorizationsGetAuthorizationError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 401;
      payload: Responses.RequiresAuthentication;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
>;

export type OauthAuthorizationsGetAuthorizationVariables = {
  pathParams: OauthAuthorizationsGetAuthorizationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const fetchOauthAuthorizationsGetAuthorization = (
  variables: OauthAuthorizationsGetAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    OauthAuthorizationsGetAuthorizationError,
    undefined,
    {},
    {},
    OauthAuthorizationsGetAuthorizationPathParams
  >({
    url: '/authorizations/{authorizationId}',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 */
export const useOauthAuthorizationsGetAuthorization = <
  TData = Schemas.Authorization,
>(
  variables: OauthAuthorizationsGetAuthorizationVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.Authorization,
      OauthAuthorizationsGetAuthorizationError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.Authorization,
    OauthAuthorizationsGetAuthorizationError,
    TData
  >(
    queryKeyFn({
      path: '/authorizations/{authorization_id}',
      operationId: 'oauthAuthorizationsGetAuthorization',
      variables,
    }),
    ({ signal }) =>
      fetchOauthAuthorizationsGetAuthorization(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type OauthAuthorizationsUpdateAuthorizationPathParams = {
  /**
   * authorization_id parameter
   */
  authorizationId: number;
};

export type OauthAuthorizationsUpdateAuthorizationError = Fetcher.ErrorWrapper<{
  status: 422;
  payload: Responses.ValidationFailed;
}>;

export type OauthAuthorizationsUpdateAuthorizationRequestBody = {
  /**
   * A list of scopes to add to this authorization.
   */
  add_scopes?: string[];
  /**
   * A unique string to distinguish an authorization from others created for the same client ID and user.
   */
  fingerprint?: string;
  /**
   * A note to remind you what the OAuth token is for.
   *
   * @example Update all gems
   */
  note?: string;
  /**
   * A URL to remind you what app the OAuth token is for.
   */
  note_url?: string;
  /**
   * A list of scopes to remove from this authorization.
   */
  remove_scopes?: string[];
  /**
   * A list of scopes that this authorization is in.
   *
   * @example public_repo
   * @example user
   */
  scopes?: string[] | null;
};

export type OauthAuthorizationsUpdateAuthorizationVariables = {
  body?: OauthAuthorizationsUpdateAuthorizationRequestBody;
  pathParams: OauthAuthorizationsUpdateAuthorizationPathParams;
} & GithubContext['fetcherOptions'];

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 *
 * You can only send one of these scope keys at a time.
 */
export const fetchOauthAuthorizationsUpdateAuthorization = (
  variables: OauthAuthorizationsUpdateAuthorizationVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.Authorization,
    OauthAuthorizationsUpdateAuthorizationError,
    OauthAuthorizationsUpdateAuthorizationRequestBody,
    {},
    {},
    OauthAuthorizationsUpdateAuthorizationPathParams
  >({
    url: '/authorizations/{authorizationId}',
    method: 'patch',
    ...variables,
    signal,
  });

/**
 * **Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/rest/reference/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).
 *
 * If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see "[Working with two-factor authentication](https://docs.github.com/rest/overview/other-authentication-methods#working-with-two-factor-authentication)."
 *
 * You can only send one of these scope keys at a time.
 */
export const useOauthAuthorizationsUpdateAuthorization = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.Authorization,
      OauthAuthorizationsUpdateAuthorizationError,
      OauthAuthorizationsUpdateAuthorizationVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.Authorization,
    OauthAuthorizationsUpdateAuthorizationError,
    OauthAuthorizationsUpdateAuthorizationVariables
  >(
    (variables: OauthAuthorizationsUpdateAuthorizationVariables) =>
      fetchOauthAuthorizationsUpdateAuthorization({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type CodesOfConductGetAllCodesOfConductError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 415;
      payload: Responses.PreviewHeaderMissing;
    }
>;

export type CodesOfConductGetAllCodesOfConductResponse =
  Schemas.CodeOfConduct[];

export type CodesOfConductGetAllCodesOfConductVariables =
  GithubContext['fetcherOptions'];

export const fetchCodesOfConductGetAllCodesOfConduct = (
  variables: CodesOfConductGetAllCodesOfConductVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    CodesOfConductGetAllCodesOfConductResponse,
    CodesOfConductGetAllCodesOfConductError,
    undefined,
    {},
    {},
    {}
  >({ url: '/codes_of_conduct', method: 'get', ...variables, signal });

export const useCodesOfConductGetAllCodesOfConduct = <
  TData = CodesOfConductGetAllCodesOfConductResponse,
>(
  variables: CodesOfConductGetAllCodesOfConductVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      CodesOfConductGetAllCodesOfConductResponse,
      CodesOfConductGetAllCodesOfConductError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    CodesOfConductGetAllCodesOfConductResponse,
    CodesOfConductGetAllCodesOfConductError,
    TData
  >(
    queryKeyFn({
      path: '/codes_of_conduct',
      operationId: 'codesOfConductGetAllCodesOfConduct',
      variables,
    }),
    ({ signal }) =>
      fetchCodesOfConductGetAllCodesOfConduct(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type CodesOfConductGetConductCodePathParams = {
  key: string;
};

export type CodesOfConductGetConductCodeError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 415;
      payload: Responses.PreviewHeaderMissing;
    }
>;

export type CodesOfConductGetConductCodeVariables = {
  pathParams: CodesOfConductGetConductCodePathParams;
} & GithubContext['fetcherOptions'];

export const fetchCodesOfConductGetConductCode = (
  variables: CodesOfConductGetConductCodeVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.CodeOfConduct,
    CodesOfConductGetConductCodeError,
    undefined,
    {},
    {},
    CodesOfConductGetConductCodePathParams
  >({ url: '/codes_of_conduct/{key}', method: 'get', ...variables, signal });

export const useCodesOfConductGetConductCode = <TData = Schemas.CodeOfConduct>(
  variables: CodesOfConductGetConductCodeVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.CodeOfConduct,
      CodesOfConductGetConductCodeError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.CodeOfConduct,
    CodesOfConductGetConductCodeError,
    TData
  >(
    queryKeyFn({
      path: '/codes_of_conduct/{key}',
      operationId: 'codesOfConductGetConductCode',
      variables,
    }),
    ({ signal }) =>
      fetchCodesOfConductGetConductCode(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type AppsCreateContentAttachmentPathParams = {
  contentReferenceId: number;
};

export type AppsCreateContentAttachmentError = Fetcher.ErrorWrapper<
  | {
      status: 304;
      payload: Responses.NotModified;
    }
  | {
      status: 403;
      payload: Responses.Forbidden;
    }
  | {
      status: 404;
      payload: Responses.NotFound;
    }
  | {
      status: 410;
      payload: Responses.Gone;
    }
  | {
      status: 415;
      payload: Responses.PreviewHeaderMissing;
    }
  | {
      status: 422;
      payload: Responses.ValidationFailed;
    }
>;

export type AppsCreateContentAttachmentRequestBody = {
  /**
   * The body of the attachment
   *
   * @example Body of the attachment
   * @maxLength 262144
   */
  body: string;
  /**
   * The title of the attachment
   *
   * @example Title of the attachment
   * @maxLength 1024
   */
  title: string;
};

export type AppsCreateContentAttachmentVariables = {
  body: AppsCreateContentAttachmentRequestBody;
  pathParams: AppsCreateContentAttachmentPathParams;
} & GithubContext['fetcherOptions'];

/**
 * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.
 *
 * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments.
 *
 * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
 */
export const fetchAppsCreateContentAttachment = (
  variables: AppsCreateContentAttachmentVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.ContentReferenceAttachment,
    AppsCreateContentAttachmentError,
    AppsCreateContentAttachmentRequestBody,
    {},
    {},
    AppsCreateContentAttachmentPathParams
  >({
    url: '/content_references/{contentReferenceId}/attachments',
    method: 'post',
    ...variables,
    signal,
  });

/**
 * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.
 *
 * The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments.
 *
 * You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
 */
export const useAppsCreateContentAttachment = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      Schemas.ContentReferenceAttachment,
      AppsCreateContentAttachmentError,
      AppsCreateContentAttachmentVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    Schemas.ContentReferenceAttachment,
    AppsCreateContentAttachmentError,
    AppsCreateContentAttachmentVariables
  >(
    (variables: AppsCreateContentAttachmentVariables) =>
      fetchAppsCreateContentAttachment({ ...fetcherOptions, ...variables }),
    options,
  );
};

export type EmojisGetError = Fetcher.ErrorWrapper<{
  status: 304;
  payload: Responses.NotModified;
}>;

export type EmojisGetResponse = {
  [key: string]: string;
};

export type EmojisGetVariables = GithubContext['fetcherOptions'];

/**
 * Lists all the emojis available to use on GitHub.
 */
export const fetchEmojisGet = (
  variables: EmojisGetVariables,
  signal?: AbortSignal,
) =>
  githubFetch<EmojisGetResponse, EmojisGetError, undefined, {}, {}, {}>({
    url: '/emojis',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * Lists all the emojis available to use on GitHub.
 */
export const useEmojisGet = <TData = EmojisGetResponse>(
  variables: EmojisGetVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<EmojisGetResponse, EmojisGetError, TData>,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<EmojisGetResponse, EmojisGetError, TData>(
    queryKeyFn({ path: '/emojis', operationId: 'emojisGet', variables }),
    ({ signal }) => fetchEmojisGet({ ...fetcherOptions, ...variables }, signal),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type EnterpriseAdminGetGithubActionsPermissionsEnterprisePathParams = {
  /**
   * The slug version of the enterprise name. You can also substitute this value with the enterprise id.
   */
  enterprise: string;
};

export type EnterpriseAdminGetGithubActionsPermissionsEnterpriseError =
  Fetcher.ErrorWrapper<undefined>;

export type EnterpriseAdminGetGithubActionsPermissionsEnterpriseVariables = {
  pathParams: EnterpriseAdminGetGithubActionsPermissionsEnterprisePathParams;
} & GithubContext['fetcherOptions'];

/**
 * Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const fetchEnterpriseAdminGetGithubActionsPermissionsEnterprise = (
  variables: EnterpriseAdminGetGithubActionsPermissionsEnterpriseVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    Schemas.ActionsEnterprisePermissions,
    EnterpriseAdminGetGithubActionsPermissionsEnterpriseError,
    undefined,
    {},
    {},
    EnterpriseAdminGetGithubActionsPermissionsEnterprisePathParams
  >({
    url: '/enterprises/{enterprise}/actions/permissions',
    method: 'get',
    ...variables,
    signal,
  });

/**
 * Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const useEnterpriseAdminGetGithubActionsPermissionsEnterprise = <
  TData = Schemas.ActionsEnterprisePermissions,
>(
  variables: EnterpriseAdminGetGithubActionsPermissionsEnterpriseVariables,
  options?: Omit<
    reactQuery.UseQueryOptions<
      Schemas.ActionsEnterprisePermissions,
      EnterpriseAdminGetGithubActionsPermissionsEnterpriseError,
      TData
    >,
    'queryKey' | 'queryFn'
  >,
) => {
  const { fetcherOptions, queryOptions, queryKeyFn } =
    useGithubContext(options);
  return reactQuery.useQuery<
    Schemas.ActionsEnterprisePermissions,
    EnterpriseAdminGetGithubActionsPermissionsEnterpriseError,
    TData
  >(
    queryKeyFn({
      path: '/enterprises/{enterprise}/actions/permissions',
      operationId: 'enterpriseAdminGetGithubActionsPermissionsEnterprise',
      variables,
    }),
    ({ signal }) =>
      fetchEnterpriseAdminGetGithubActionsPermissionsEnterprise(
        { ...fetcherOptions, ...variables },
        signal,
      ),
    {
      ...options,
      ...queryOptions,
    },
  );
};

export type EnterpriseAdminSetGithubActionsPermissionsEnterprisePathParams = {
  /**
   * The slug version of the enterprise name. You can also substitute this value with the enterprise id.
   */
  enterprise: string;
};

export type EnterpriseAdminSetGithubActionsPermissionsEnterpriseError =
  Fetcher.ErrorWrapper<undefined>;

export type EnterpriseAdminSetGithubActionsPermissionsEnterpriseRequestBody = {
  allowed_actions?: Schemas.AllowedActions;
  enabled_organizations: Schemas.EnabledOrganizations;
};

export type EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables = {
  body: EnterpriseAdminSetGithubActionsPermissionsEnterpriseRequestBody;
  pathParams: EnterpriseAdminSetGithubActionsPermissionsEnterprisePathParams;
} & GithubContext['fetcherOptions'];

/**
 * Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const fetchEnterpriseAdminSetGithubActionsPermissionsEnterprise = (
  variables: EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables,
  signal?: AbortSignal,
) =>
  githubFetch<
    undefined,
    EnterpriseAdminSetGithubActionsPermissionsEnterpriseError,
    EnterpriseAdminSetGithubActionsPermissionsEnterpriseRequestBody,
    {},
    {},
    EnterpriseAdminSetGithubActionsPermissionsEnterprisePathParams
  >({
    url: '/enterprises/{enterprise}/actions/permissions',
    method: 'put',
    ...variables,
    signal,
  });

/**
 * Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const useEnterpriseAdminSetGithubActionsPermissionsEnterprise = (
  options?: Omit<
    reactQuery.UseMutationOptions<
      undefined,
      EnterpriseAdminSetGithubActionsPermissionsEnterpriseError,
      EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables
    >,
    'mutationFn'
  >,
) => {
  const { fetcherOptions } = useGithubContext();
  return reactQuery.useMutation<
    undefined,
    EnterpriseAdminSetGithubActionsPermissionsEnterpriseError,
    EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables
  >(
    (
      variables: EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables,
    ) =>
      fetchEnterpriseAdminSetGithubActionsPermissionsEnterprise({
        ...fetcherOptions,
        ...variables,
      }),
    options,
  );
};

export type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprisePathParams =
  {
    /**
     * The slug version of the enterprise name. You can also substitute this value with the enterprise id.
     */
    enterprise: string;
  };

export type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseQueryParams =
  {
    /**
     * Results per page (max 100).
     *
     * @default 30
     */
    per_page?: number;
    /**
     * Page number of the results to fetch.
     *
     * @default 1
     */
    page?: number;
  };

export type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseError =
  Fetcher.ErrorWrapper<undefined>;

export type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseResponse =
  {
    organizations: Schemas.OrganizationSimple[];
    total_count: number;
  };

export type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseVariables =
  {
    pathParams: EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprisePathParams;
    queryParams?: EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseQueryParams;
  } & GithubContext['fetcherOptions'];

/**
 * Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const fetchEnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprise =
  (
    variables: EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseVariables,
    signal?: AbortSignal,
  ) =>
    githubFetch<
      EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseResponse,
      EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseError,
      undefined,
      {},
      EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseQueryParams,
      EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprisePathParams
    >({
      url: '/enterprises/{enterprise}/actions/permissions/organizations',
      method: 'get',
      ...variables,
      signal,
    });

/**
 * Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const useEnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprise =
  <
    TData = EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseResponse,
  >(
    variables: EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseVariables,
    options?: Omit<
      reactQuery.UseQueryOptions<
        EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseResponse,
        EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseError,
        TData
      >,
      'queryKey' | 'queryFn'
    >,
  ) => {
    const { fetcherOptions, queryOptions, queryKeyFn } =
      useGithubContext(options);
    return reactQuery.useQuery<
      EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseResponse,
      EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseError,
      TData
    >(
      queryKeyFn({
        path: '/enterprises/{enterprise}/actions/permissions/organizations',
        operationId:
          'enterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprise',
        variables,
      }),
      ({ signal }) =>
        fetchEnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprise(
          { ...fetcherOptions, ...variables },
          signal,
        ),
      {
        ...options,
        ...queryOptions,
      },
    );
  };

export type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprisePathParams =
  {
    /**
     * The slug version of the enterprise name. You can also substitute this value with the enterprise id.
     */
    enterprise: string;
  };

export type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseError =
  Fetcher.ErrorWrapper<undefined>;

export type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseRequestBody =
  {
    /**
     * List of organization IDs to enable for GitHub Actions.
     */
    selected_organization_ids: number[];
  };

export type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseVariables =
  {
    body: EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseRequestBody;
    pathParams: EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprisePathParams;
  } & GithubContext['fetcherOptions'];

/**
 * Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const fetchEnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprise =
  (
    variables: EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseVariables,
    signal?: AbortSignal,
  ) =>
    githubFetch<
      undefined,
      EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseError,
      EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseRequestBody,
      {},
      {},
      EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprisePathParams
    >({
      url: '/enterprises/{enterprise}/actions/permissions/organizations',
      method: 'put',
      ...variables,
      signal,
    });

/**
 * Replaces the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."
 *
 * You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
 */
export const useEnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprise =
  (
    options?: Omit<
      reactQuery.UseMutationOptions<
        undefined,
        EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseError,
        EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseVariables
      >,
      'mutationFn'
    >,
  ) => {
    const { fetcherOptions } = useGithubContext();
    return reactQuery.useMutation<
      undefined,
      EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseError,
      EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseVariables
    >(
      (
        variables: EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseVariables,
      ) =>
        fetchEnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprise(
          { ...fetcherOptions, ...v
Download .txt
gitextract_wre2chye/

├── .editorconfig
├── .gitignore
├── .prettierignore
├── .prettierrc
├── README.md
├── babel.config.js
├── config/
│   ├── dev.js
│   ├── index.js
│   └── prod.js
├── openapi-codegen.config.ts
├── package.json
├── project.config.json
├── project.private.config.json
├── project.tt.json
├── src/
│   ├── app.config.ts
│   ├── app.scss
│   ├── app.tsx
│   ├── assets/
│   │   └── iconfont/
│   │       └── icon.css
│   ├── components/
│   │   ├── activity-item/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── author/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── avatar/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── empty/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── fab-button/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── font-icon/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── list-item/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── load-more/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── markdown/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── no-authority/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── repo-item/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── skeleton-card/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── user-info/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   └── user-item/
│   │       ├── index.module.scss
│   │       └── index.tsx
│   ├── constants.ts
│   ├── github/
│   │   ├── githubComponents.ts
│   │   ├── githubContext.ts
│   │   ├── githubFetcher.ts
│   │   ├── githubParameters.ts
│   │   ├── githubResponses.ts
│   │   └── githubSchemas.ts
│   ├── hooks/
│   │   ├── useInfiniteGithubRequest.ts
│   │   ├── usePageScrollBackToTop.tsx
│   │   ├── usePullDownRefreshEvent.ts
│   │   ├── useReachBottomEvent.ts
│   │   ├── useRequest.ts
│   │   ├── useRequestWIthMore.ts
│   │   └── useTrending.ts
│   ├── index.html
│   ├── pages/
│   │   ├── activity/
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   └── repo.tsx
│   │   ├── bookmarks/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── commits/
│   │   │   ├── commit-item/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── developer/
│   │   │   ├── followers/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── following/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── repos/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   └── starred/
│   │   │       ├── index.module.scss
│   │   │       └── index.tsx
│   │   ├── issues/
│   │   │   ├── comment-item/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── create-comment/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── create-issue/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── issue-detail/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── issue-item/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   └── shared_data.ts
│   │   ├── login/
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── my-languages/
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   └── languages.ts
│   │   ├── news/
│   │   │   ├── content/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.config.ts
│   │   │   └── index.tsx
│   │   ├── notifications/
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   ├── profile/
│   │   │   ├── content.tsx
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   └── issues.tsx
│   │   ├── repos/
│   │   │   ├── content/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── contributors/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── files/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── forks/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── list-render/
│   │   │   │   └── index.tsx
│   │   │   ├── readme/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   ├── stars/
│   │   │   │   ├── index.module.scss
│   │   │   │   └── index.tsx
│   │   │   └── watchs/
│   │   │       ├── index.module.scss
│   │   │       └── index.tsx
│   │   ├── search/
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   ├── index.tsx
│   │   │   ├── issues.tsx
│   │   │   ├── repos.tsx
│   │   │   └── users.tsx
│   │   ├── starred/
│   │   │   ├── content.tsx
│   │   │   ├── index.config.ts
│   │   │   ├── index.module.scss
│   │   │   └── index.tsx
│   │   └── trending/
│   │       ├── index.config.ts
│   │       ├── index.module.scss
│   │       ├── index.tsx
│   │       ├── language/
│   │       │   ├── index.module.scss
│   │       │   └── index.tsx
│   │       ├── repo-item/
│   │       │   ├── index.module.scss
│   │       │   └── index.tsx
│   │       └── user-item/
│   │           ├── index.module.scss
│   │           └── index.tsx
│   ├── services/
│   │   ├── commits.ts
│   │   ├── github.ts
│   │   ├── issues.ts
│   │   ├── repos.ts
│   │   ├── search.ts
│   │   ├── trending.ts
│   │   ├── user.ts
│   │   └── users.ts
│   ├── store/
│   │   ├── constatnts.ts
│   │   ├── index.ts
│   │   ├── reducers/
│   │   │   ├── issue.ts
│   │   │   ├── lang.ts
│   │   │   └── user.ts
│   │   └── reducers.ts
│   ├── style/
│   │   └── variables.scss
│   ├── utils/
│   │   ├── base64.js
│   │   ├── common.ts
│   │   ├── date.ts
│   │   ├── event_bus.ts
│   │   ├── repo.ts
│   │   ├── request.ts
│   │   └── size.ts
│   └── wemark/
│       ├── parser.js
│       ├── prism.js
│       ├── prism.wxss
│       ├── remarkable.js
│       ├── richtext.js
│       ├── wemark.js
│       ├── wemark.json
│       ├── wemark.wxml
│       └── wemark.wxss
├── tsconfig.json
└── types/
    ├── global.d.ts
    └── trending.ts
Download .txt
Showing preview only (343K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3362 symbols across 57 files)

FILE: src/app.tsx
  class App (line 22) | class App extends Component<any> {
    method componentWillMount (line 23) | componentWillMount() {
    method componentDidMount (line 28) | componentDidMount() {
    method componentDidShow (line 50) | componentDidShow() {}
    method componentDidHide (line 52) | componentDidHide() {}
    method componentDidCatchError (line 54) | componentDidCatchError() {}
    method updateApp (line 56) | updateApp() {
    method render (line 87) | render() {

FILE: src/components/activity-item/index.tsx
  type ActivityItemDataType (line 22) | type ActivityItemDataType = Schemas.Event;
  type ActivityItemProps (line 24) | interface ActivityItemProps {

FILE: src/components/author/index.tsx
  type AuthorProps (line 8) | interface AuthorProps {

FILE: src/components/avatar/index.tsx
  type AvatarProps (line 7) | interface AvatarProps {

FILE: src/components/fab-button/index.tsx
  type FabButtonProps (line 7) | interface FabButtonProps {

FILE: src/components/font-icon/index.tsx
  type FontIconProps (line 3) | interface FontIconProps {

FILE: src/components/list-item/index.tsx
  type ListItemProps (line 8) | interface ListItemProps {

FILE: src/components/markdown/index.tsx
  type MarkDownProps (line 13) | interface MarkDownProps {

FILE: src/components/repo-item/index.tsx
  type RepoItemProps (line 10) | interface RepoItemProps {

FILE: src/constants.ts
  type IDefaultParams (line 1) | interface IDefaultParams {
  constant REACH_BOTTOM_EVENT (line 24) | const REACH_BOTTOM_EVENT = 'reach_bottom_event';
  constant PULL_DOWN_REFRESH_EVENT (line 25) | const PULL_DOWN_REFRESH_EVENT = 'pull_down_refresh_event';
  constant THROTTLE_DELAY (line 27) | const THROTTLE_DELAY = 1500;
  constant TRENDING_URL (line 29) | const TRENDING_URL = 'https://trending.stayin.cn';
  constant CURRENT_LANGUAGE_STORAGE_KEY (line 31) | const CURRENT_LANGUAGE_STORAGE_KEY = 'current-language';

FILE: src/github/githubComponents.ts
  type MetaRootError (line 13) | type MetaRootError = Fetcher.ErrorWrapper<undefined>;
  type MetaRootResponse (line 15) | type MetaRootResponse = {
  type MetaRootVariables (line 150) | type MetaRootVariables = GithubContext['fetcherOptions'];
  type AppsGetAuthenticatedError (line 188) | type AppsGetAuthenticatedError = Fetcher.ErrorWrapper<undefined>;
  type AppsGetAuthenticatedVariables (line 190) | type AppsGetAuthenticatedVariables = GithubContext['fetcherOptions'];
  type AppsCreateFromManifestPathParams (line 247) | type AppsCreateFromManifestPathParams = {
  type AppsCreateFromManifestError (line 251) | type AppsCreateFromManifestError = Fetcher.ErrorWrapper<
  type AppsCreateFromManifestResponse (line 262) | type AppsCreateFromManifestResponse = {
  type AppsCreateFromManifestVariables (line 360) | type AppsCreateFromManifestVariables = {
  type AppsGetWebhookConfigForAppError (line 410) | type AppsGetWebhookConfigForAppError = Fetcher.ErrorWrapper<undefined>;
  type AppsGetWebhookConfigForAppVariables (line 412) | type AppsGetWebhookConfigForAppVariables =
  type AppsUpdateWebhookConfigForAppError (line 473) | type AppsUpdateWebhookConfigForAppError =
  type AppsUpdateWebhookConfigForAppRequestBody (line 476) | type AppsUpdateWebhookConfigForAppRequestBody = {
  type AppsUpdateWebhookConfigForAppVariables (line 483) | type AppsUpdateWebhookConfigForAppVariables = {
  type AppsListInstallationsQueryParams (line 532) | type AppsListInstallationsQueryParams = {
  type AppsListInstallationsError (line 552) | type AppsListInstallationsError = Fetcher.ErrorWrapper<undefined>;
  type AppsListInstallationsResponse (line 554) | type AppsListInstallationsResponse = Schemas.Installation[];
  type AppsListInstallationsVariables (line 556) | type AppsListInstallationsVariables = {
  type AppsDeleteInstallationPathParams (line 615) | type AppsDeleteInstallationPathParams = {
  type AppsDeleteInstallationError (line 622) | type AppsDeleteInstallationError = Fetcher.ErrorWrapper<{
  type AppsDeleteInstallationVariables (line 627) | type AppsDeleteInstallationVariables = {
  type AppsGetInstallationPathParams (line 681) | type AppsGetInstallationPathParams = {
  type AppsGetInstallationError (line 688) | type AppsGetInstallationError = Fetcher.ErrorWrapper<
  type AppsGetInstallationVariables (line 699) | type AppsGetInstallationVariables = {
  type AppsCreateInstallationAccessTokenPathParams (line 763) | type AppsCreateInstallationAccessTokenPathParams = {
  type AppsCreateInstallationAccessTokenError (line 770) | type AppsCreateInstallationAccessTokenError = Fetcher.ErrorWrapper<
  type AppsCreateInstallationAccessTokenRequestBody (line 793) | type AppsCreateInstallationAccessTokenRequestBody = {
  type AppsCreateInstallationAccessTokenVariables (line 807) | type AppsCreateInstallationAccessTokenVariables = {
  type AppsUnsuspendInstallationPathParams (line 865) | type AppsUnsuspendInstallationPathParams = {
  type AppsUnsuspendInstallationError (line 872) | type AppsUnsuspendInstallationError = Fetcher.ErrorWrapper<{
  type AppsUnsuspendInstallationVariables (line 877) | type AppsUnsuspendInstallationVariables = {
  type AppsSuspendInstallationPathParams (line 931) | type AppsSuspendInstallationPathParams = {
  type AppsSuspendInstallationError (line 938) | type AppsSuspendInstallationError = Fetcher.ErrorWrapper<{
  type AppsSuspendInstallationVariables (line 943) | type AppsSuspendInstallationVariables = {
  type OauthAuthorizationsListGrantsQueryParams (line 997) | type OauthAuthorizationsListGrantsQueryParams = {
  type OauthAuthorizationsListGrantsError (line 1016) | type OauthAuthorizationsListGrantsError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsListGrantsResponse (line 1035) | type OauthAuthorizationsListGrantsResponse = Schemas.ApplicationGrant[];
  type OauthAuthorizationsListGrantsVariables (line 1037) | type OauthAuthorizationsListGrantsVariables = {
  type OauthAuthorizationsDeleteGrantPathParams (line 1101) | type OauthAuthorizationsDeleteGrantPathParams = {
  type OauthAuthorizationsDeleteGrantError (line 1108) | type OauthAuthorizationsDeleteGrantError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsDeleteGrantVariables (line 1123) | type OauthAuthorizationsDeleteGrantVariables = {
  type OauthAuthorizationsGetGrantPathParams (line 1177) | type OauthAuthorizationsGetGrantPathParams = {
  type OauthAuthorizationsGetGrantError (line 1184) | type OauthAuthorizationsGetGrantError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsGetGrantVariables (line 1199) | type OauthAuthorizationsGetGrantVariables = {
  type AppsDeleteAuthorizationPathParams (line 1264) | type AppsDeleteAuthorizationPathParams = {
  type AppsDeleteAuthorizationError (line 1271) | type AppsDeleteAuthorizationError = Fetcher.ErrorWrapper<{
  type AppsDeleteAuthorizationRequestBody (line 1276) | type AppsDeleteAuthorizationRequestBody = {
  type AppsDeleteAuthorizationVariables (line 1283) | type AppsDeleteAuthorizationVariables = {
  type AppsRevokeGrantForApplicationPathParams (line 1336) | type AppsRevokeGrantForApplicationPathParams = {
  type AppsRevokeGrantForApplicationError (line 1344) | type AppsRevokeGrantForApplicationError =
  type AppsRevokeGrantForApplicationVariables (line 1347) | type AppsRevokeGrantForApplicationVariables = {
  type AppsDeleteTokenPathParams (line 1405) | type AppsDeleteTokenPathParams = {
  type AppsDeleteTokenError (line 1412) | type AppsDeleteTokenError = Fetcher.ErrorWrapper<{
  type AppsDeleteTokenRequestBody (line 1417) | type AppsDeleteTokenRequestBody = {
  type AppsDeleteTokenVariables (line 1424) | type AppsDeleteTokenVariables = {
  type AppsResetTokenPathParams (line 1475) | type AppsResetTokenPathParams = {
  type AppsResetTokenError (line 1482) | type AppsResetTokenError = Fetcher.ErrorWrapper<{
  type AppsResetTokenRequestBody (line 1487) | type AppsResetTokenRequestBody = {
  type AppsResetTokenVariables (line 1494) | type AppsResetTokenVariables = {
  type AppsCheckTokenPathParams (line 1545) | type AppsCheckTokenPathParams = {
  type AppsCheckTokenError (line 1552) | type AppsCheckTokenError = Fetcher.ErrorWrapper<
  type AppsCheckTokenRequestBody (line 1563) | type AppsCheckTokenRequestBody = {
  type AppsCheckTokenVariables (line 1570) | type AppsCheckTokenVariables = {
  type AppsScopeTokenPathParams (line 1621) | type AppsScopeTokenPathParams = {
  type AppsScopeTokenError (line 1628) | type AppsScopeTokenError = Fetcher.ErrorWrapper<
  type AppsScopeTokenRequestBody (line 1647) | type AppsScopeTokenRequestBody = {
  type AppsScopeTokenVariables (line 1679) | type AppsScopeTokenVariables = {
  type AppsRevokeAuthorizationForApplicationPathParams (line 1730) | type AppsRevokeAuthorizationForApplicationPathParams = {
  type AppsRevokeAuthorizationForApplicationError (line 1738) | type AppsRevokeAuthorizationForApplicationError =
  type AppsRevokeAuthorizationForApplicationVariables (line 1741) | type AppsRevokeAuthorizationForApplicationVariables = {
  type AppsCheckAuthorizationPathParams (line 1798) | type AppsCheckAuthorizationPathParams = {
  type AppsCheckAuthorizationError (line 1806) | type AppsCheckAuthorizationError = Fetcher.ErrorWrapper<{
  type AppsCheckAuthorizationResponse (line 1811) | type AppsCheckAuthorizationResponse = Schemas.Authorization;
  type AppsCheckAuthorizationVariables (line 1813) | type AppsCheckAuthorizationVariables = {
  type AppsResetAuthorizationPathParams (line 1879) | type AppsResetAuthorizationPathParams = {
  type AppsResetAuthorizationError (line 1887) | type AppsResetAuthorizationError = Fetcher.ErrorWrapper<undefined>;
  type AppsResetAuthorizationVariables (line 1889) | type AppsResetAuthorizationVariables = {
  type AppsGetBySlugPathParams (line 1943) | type AppsGetBySlugPathParams = {
  type AppsGetBySlugError (line 1947) | type AppsGetBySlugError = Fetcher.ErrorWrapper<
  type AppsGetBySlugVariables (line 1962) | type AppsGetBySlugVariables = {
  type OauthAuthorizationsListAuthorizationsQueryParams (line 2013) | type OauthAuthorizationsListAuthorizationsQueryParams = {
  type OauthAuthorizationsListAuthorizationsError (line 2032) | type OauthAuthorizationsListAuthorizationsError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsListAuthorizationsResponse (line 2051) | type OauthAuthorizationsListAuthorizationsResponse =
  type OauthAuthorizationsListAuthorizationsVariables (line 2054) | type OauthAuthorizationsListAuthorizationsVariables = {
  type OauthAuthorizationsCreateAuthorizationError (line 2114) | type OauthAuthorizationsCreateAuthorizationError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsCreateAuthorizationRequestBody (line 2137) | type OauthAuthorizationsCreateAuthorizationRequestBody = {
  type OauthAuthorizationsCreateAuthorizationVariables (line 2173) | type OauthAuthorizationsCreateAuthorizationVariables = {
  type OauthAuthorizationsGetOrCreateAuthorizationForAppPathParams (line 2241) | type OauthAuthorizationsGetOrCreateAuthorizationForAppPathParams = {
  type OauthAuthorizationsGetOrCreateAuthorizationForAppError (line 2248) | type OauthAuthorizationsGetOrCreateAuthorizationForAppError =
  type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestBody (line 2268) | type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestBody = {
  type OauthAuthorizationsGetOrCreateAuthorizationForAppVariables (line 2298) | type OauthAuthorizationsGetOrCreateAuthorizationForAppVariables = {
  type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintPathParams (line 2368) | type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintPath...
  type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintError (line 2377) | type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintError =
  type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestBody (line 2383) | type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequ...
  type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVariables (line 2410) | type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintVari...
  type OauthAuthorizationsDeleteAuthorizationPathParams (line 2481) | type OauthAuthorizationsDeleteAuthorizationPathParams = {
  type OauthAuthorizationsDeleteAuthorizationError (line 2488) | type OauthAuthorizationsDeleteAuthorizationError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsDeleteAuthorizationVariables (line 2503) | type OauthAuthorizationsDeleteAuthorizationVariables = {
  type OauthAuthorizationsGetAuthorizationPathParams (line 2556) | type OauthAuthorizationsGetAuthorizationPathParams = {
  type OauthAuthorizationsGetAuthorizationError (line 2563) | type OauthAuthorizationsGetAuthorizationError = Fetcher.ErrorWrapper<
  type OauthAuthorizationsGetAuthorizationVariables (line 2578) | type OauthAuthorizationsGetAuthorizationVariables = {
  type OauthAuthorizationsUpdateAuthorizationPathParams (line 2643) | type OauthAuthorizationsUpdateAuthorizationPathParams = {
  type OauthAuthorizationsUpdateAuthorizationError (line 2650) | type OauthAuthorizationsUpdateAuthorizationError = Fetcher.ErrorWrapper<{
  type OauthAuthorizationsUpdateAuthorizationRequestBody (line 2655) | type OauthAuthorizationsUpdateAuthorizationRequestBody = {
  type OauthAuthorizationsUpdateAuthorizationVariables (line 2687) | type OauthAuthorizationsUpdateAuthorizationVariables = {
  type CodesOfConductGetAllCodesOfConductError (line 2749) | type CodesOfConductGetAllCodesOfConductError = Fetcher.ErrorWrapper<
  type CodesOfConductGetAllCodesOfConductResponse (line 2760) | type CodesOfConductGetAllCodesOfConductResponse =
  type CodesOfConductGetAllCodesOfConductVariables (line 2763) | type CodesOfConductGetAllCodesOfConductVariables =
  type CodesOfConductGetConductCodePathParams (line 2816) | type CodesOfConductGetConductCodePathParams = {
  type CodesOfConductGetConductCodeError (line 2820) | type CodesOfConductGetConductCodeError = Fetcher.ErrorWrapper<
  type CodesOfConductGetConductCodeVariables (line 2835) | type CodesOfConductGetConductCodeVariables = {
  type AppsCreateContentAttachmentPathParams (line 2887) | type AppsCreateContentAttachmentPathParams = {
  type AppsCreateContentAttachmentError (line 2891) | type AppsCreateContentAttachmentError = Fetcher.ErrorWrapper<
  type AppsCreateContentAttachmentRequestBody (line 2918) | type AppsCreateContentAttachmentRequestBody = {
  type AppsCreateContentAttachmentVariables (line 2935) | type AppsCreateContentAttachmentVariables = {
  type EmojisGetError (line 2994) | type EmojisGetError = Fetcher.ErrorWrapper<{
  type EmojisGetResponse (line 2999) | type EmojisGetResponse = {
  type EmojisGetVariables (line 3003) | type EmojisGetVariables = GithubContext['fetcherOptions'];
  type EnterpriseAdminGetGithubActionsPermissionsEnterprisePathParams (line 3041) | type EnterpriseAdminGetGithubActionsPermissionsEnterprisePathParams = {
  type EnterpriseAdminGetGithubActionsPermissionsEnterpriseError (line 3048) | type EnterpriseAdminGetGithubActionsPermissionsEnterpriseError =
  type EnterpriseAdminGetGithubActionsPermissionsEnterpriseVariables (line 3051) | type EnterpriseAdminGetGithubActionsPermissionsEnterpriseVariables = {
  type EnterpriseAdminSetGithubActionsPermissionsEnterprisePathParams (line 3120) | type EnterpriseAdminSetGithubActionsPermissionsEnterprisePathParams = {
  type EnterpriseAdminSetGithubActionsPermissionsEnterpriseError (line 3127) | type EnterpriseAdminSetGithubActionsPermissionsEnterpriseError =
  type EnterpriseAdminSetGithubActionsPermissionsEnterpriseRequestBody (line 3130) | type EnterpriseAdminSetGithubActionsPermissionsEnterpriseRequestBody = {
  type EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables (line 3135) | type EnterpriseAdminSetGithubActionsPermissionsEnterpriseVariables = {
  type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprisePathParams (line 3195) | type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpr...
  type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseQueryParams (line 3203) | type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpr...
  type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseError (line 3219) | type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpr...
  type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseResponse (line 3222) | type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpr...
  type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpriseVariables (line 3228) | type EnterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterpr...
  type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprisePathParams (line 3302) | type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpri...
  type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseError (line 3310) | type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpri...
  type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseRequestBody (line 3313) | type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpri...
  type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpriseVariables (line 3321) | type EnterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterpri...
  type EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterprisePathParams (line 3383) | type EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterprisePa...
  type EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterpriseError (line 3395) | type EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterpriseEr...
  type EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterpriseVariables (line 3398) | type EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterpriseVa...
  type EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterprisePathParams (line 3460) | type EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterprisePat...
  type EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterpriseError (line 3472) | type EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterpriseErr...
  type EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterpriseVariables (line 3475) | type EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterpriseVar...
  type EnterpriseAdminGetAllowedActionsEnterprisePathParams (line 3537) | type EnterpriseAdminGetAllowedActionsEnterprisePathParams = {
  type EnterpriseAdminGetAllowedActionsEnterpriseError (line 3544) | type EnterpriseAdminGetAllowedActionsEnterpriseError =
  type EnterpriseAdminGetAllowedActionsEnterpriseVariables (line 3547) | type EnterpriseAdminGetAllowedActionsEnterpriseVariables = {
  type EnterpriseAdminSetAllowedActionsEnterprisePathParams (line 3616) | type EnterpriseAdminSetAllowedActionsEnterprisePathParams = {
  type EnterpriseAdminSetAllowedActionsEnterpriseError (line 3623) | type EnterpriseAdminSetAllowedActionsEnterpriseError =
  type EnterpriseAdminSetAllowedActionsEnterpriseVariables (line 3626) | type EnterpriseAdminSetAllowedActionsEnterpriseVariables = {
  type EnterpriseAdminListSelfHostedRunnerGroupsForEnterprisePathParams (line 3684) | type EnterpriseAdminListSelfHostedRunnerGroupsForEnterprisePathParams = {
  type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseQueryParams (line 3691) | type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseQueryParams =
  type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseError (line 3707) | type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseError =
  type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponse (line 3710) | type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponse = {
  type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseVariables (line 3715) | type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseVariables = {
  type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterprisePathParams (line 3785) | type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterprisePathParams =
  type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseError (line 3793) | type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseError =
  type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequestBody (line 3796) | type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequestBody =
  type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseVariables (line 3816) | type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseVariables = {
  type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterprisePathParams (line 3876) | type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterprisePathParams =
  type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseError (line 3888) | type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseError =
  type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseVariables (line 3891) | type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseVariables =
  type EnterpriseAdminGetSelfHostedRunnerGroupForEnterprisePathParams (line 3951) | type EnterpriseAdminGetSelfHostedRunnerGroupForEnterprisePathParams = {
  type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseError (line 3962) | type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseError =
  type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseVariables (line 3965) | type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseVariables = {
  type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterprisePathParams (line 4034) | type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterprisePathParams =
  type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseError (line 4046) | type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseError =
  type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequestBody (line 4049) | type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequestBody =
  type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseVariables (line 4063) | type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseVariables = {
  type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterprisePathParams (line 4123) | type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterprisePath...
  type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseQueryParams (line 4135) | type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseQuer...
  type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseError (line 4151) | type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseError =
  type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseResponse (line 4154) | type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseResp...
  type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseVariables (line 4160) | type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseVari...
  type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterprisePathParams (line 4234) | type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterprisePathP...
  type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseError (line 4246) | type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseError =
  type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestBody (line 4249) | type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseReque...
  type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseVariables (line 4257) | type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseVaria...
  type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterprisePathParams (line 4320) | type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterprisePa...
  type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseError (line 4336) | type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseEr...
  type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseVariables (line 4339) | type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseVa...
  type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterprisePathParams (line 4401) | type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterprisePathP...
  type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseError (line 4417) | type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseError =
  type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseVariables (line 4420) | type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseVaria...
  type EnterpriseAdminListSelfHostedRunnersInGroupForEnterprisePathParams (line 4482) | type EnterpriseAdminListSelfHostedRunnersInGroupForEnterprisePathParams =
  type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseQueryParams (line 4494) | type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseQueryParams =
  type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseError (line 4510) | type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseError =
  type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponse (line 4513) | type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponse = {
  type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseVariables (line 4518) | type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseVariables =
  type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterprisePathParams (line 4589) | type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterprisePathParams =
  type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseError (line 4601) | type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseError =
  type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseRequestBody (line 4604) | type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseRequestBody =
  type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseVariables (line 4612) | type EnterpriseAdminSetSelfHostedRunnersInGroupForEnterpriseVariables = {
  type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterprisePathParams (line 4672) | type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterprisePathPara...
  type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseError (line 4688) | type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseError =
  type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseVariables (line 4691) | type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseVariables =
  type EnterpriseAdminAddSelfHostedRunnerToGroupForEnterprisePathParams (line 4752) | type EnterpriseAdminAddSelfHostedRunnerToGroupForEnterprisePathParams = {
  type EnterpriseAdminAddSelfHostedRunnerToGroupForEnterpriseError (line 4767) | type EnterpriseAdminAddSelfHostedRunnerToGroupForEnterpriseError =
  type EnterpriseAdminAddSelfHostedRunnerToGroupForEnterpriseVariables (line 4770) | type EnterpriseAdminAddSelfHostedRunnerToGroupForEnterpriseVariables = {
  type EnterpriseAdminListSelfHostedRunnersForEnterprisePathParams (line 4831) | type EnterpriseAdminListSelfHostedRunnersForEnterprisePathParams = {
  type EnterpriseAdminListSelfHostedRunnersForEnterpriseQueryParams (line 4838) | type EnterpriseAdminListSelfHostedRunnersForEnterpriseQueryParams = {
  type EnterpriseAdminListSelfHostedRunnersForEnterpriseError (line 4853) | type EnterpriseAdminListSelfHostedRunnersForEnterpriseError =
  type EnterpriseAdminListSelfHostedRunnersForEnterpriseResponse (line 4856) | type EnterpriseAdminListSelfHostedRunnersForEnterpriseResponse = {
  type EnterpriseAdminListSelfHostedRunnersForEnterpriseVariables (line 4861) | type EnterpriseAdminListSelfHostedRunnersForEnterpriseVariables = {
  type EnterpriseAdminListRunnerApplicationsForEnterprisePathParams (line 4931) | type EnterpriseAdminListRunnerApplicationsForEnterprisePathParams = {
  type EnterpriseAdminListRunnerApplicationsForEnterpriseError (line 4938) | type EnterpriseAdminListRunnerApplicationsForEnterpriseError =
  type EnterpriseAdminListRunnerApplicationsForEnterpriseResponse (line 4941) | type EnterpriseAdminListRunnerApplicationsForEnterpriseResponse =
  type EnterpriseAdminListRunnerApplicationsForEnterpriseVariables (line 4944) | type EnterpriseAdminListRunnerApplicationsForEnterpriseVariables = {
  type EnterpriseAdminCreateRegistrationTokenForEnterprisePathParams (line 5013) | type EnterpriseAdminCreateRegistrationTokenForEnterprisePathParams = {
  type EnterpriseAdminCreateRegistrationTokenForEnterpriseError (line 5020) | type EnterpriseAdminCreateRegistrationTokenForEnterpriseError =
  type EnterpriseAdminCreateRegistrationTokenForEnterpriseVariables (line 5023) | type EnterpriseAdminCreateRegistrationTokenForEnterpriseVariables = {
  type EnterpriseAdminCreateRemoveTokenForEnterprisePathParams (line 5096) | type EnterpriseAdminCreateRemoveTokenForEnterprisePathParams = {
  type EnterpriseAdminCreateRemoveTokenForEnterpriseError (line 5103) | type EnterpriseAdminCreateRemoveTokenForEnterpriseError =
  type EnterpriseAdminCreateRemoveTokenForEnterpriseVariables (line 5106) | type EnterpriseAdminCreateRemoveTokenForEnterpriseVariables = {
  type EnterpriseAdminDeleteSelfHostedRunnerFromEnterprisePathParams (line 5181) | type EnterpriseAdminDeleteSelfHostedRunnerFromEnterprisePathParams = {
  type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseError (line 5192) | type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseError =
  type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseVariables (line 5195) | type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseVariables = {
  type EnterpriseAdminGetSelfHostedRunnerForEnterprisePathParams (line 5252) | type EnterpriseAdminGetSelfHostedRunnerForEnterprisePathParams = {
  type EnterpriseAdminGetSelfHostedRunnerForEnterpriseError (line 5263) | type EnterpriseAdminGetSelfHostedRunnerForEnterpriseError =
  type EnterpriseAdminGetSelfHostedRunnerForEnterpriseVariables (line 5266) | type EnterpriseAdminGetSelfHostedRunnerForEnterpriseVariables = {
  type AuditLogGetAuditLogPathParams (line 5335) | type AuditLogGetAuditLogPathParams = {
  type AuditLogGetAuditLogQueryParams (line 5342) | type AuditLogGetAuditLogQueryParams = {
  type AuditLogGetAuditLogError (line 5385) | type AuditLogGetAuditLogError = Fetcher.ErrorWrapper<undefined>;
  type AuditLogGetAuditLogResponse (line 5387) | type AuditLogGetAuditLogResponse = Schemas.AuditLogEvent[];
  type AuditLogGetAuditLogVariables (line 5389) | type AuditLogGetAuditLogVariables = {
  type BillingGetGithubActionsBillingGhePathParams (line 5454) | type BillingGetGithubActionsBillingGhePathParams = {
  type BillingGetGithubActionsBillingGheError (line 5461) | type BillingGetGithubActionsBillingGheError =
  type BillingGetGithubActionsBillingGheVariables (line 5464) | type BillingGetGithubActionsBillingGheVariables = {
  type BillingGetGithubPackagesBillingGhePathParams (line 5537) | type BillingGetGithubPackagesBillingGhePathParams = {
  type BillingGetGithubPackagesBillingGheError (line 5544) | type BillingGetGithubPackagesBillingGheError =
  type BillingGetGithubPackagesBillingGheVariables (line 5547) | type BillingGetGithubPackagesBillingGheVariables = {
  type BillingGetSharedStorageBillingGhePathParams (line 5620) | type BillingGetSharedStorageBillingGhePathParams = {
  type BillingGetSharedStorageBillingGheError (line 5627) | type BillingGetSharedStorageBillingGheError =
  type BillingGetSharedStorageBillingGheVariables (line 5630) | type BillingGetSharedStorageBillingGheVariables = {
  type ActivityListPublicEventsQueryParams (line 5703) | type ActivityListPublicEventsQueryParams = {
  type ActivityListPublicEventsError (line 5718) | type ActivityListPublicEventsError = Fetcher.ErrorWrapper<
  type ActivityListPublicEventsResponse (line 5733) | type ActivityListPublicEventsResponse = Schemas.Event[];
  type ActivityListPublicEventsVariables (line 5735) | type ActivityListPublicEventsVariables = {
  type ActivityGetFeedsError (line 5795) | type ActivityGetFeedsError = Fetcher.ErrorWrapper<undefined>;
  type ActivityGetFeedsVariables (line 5797) | type ActivityGetFeedsVariables = GithubContext['fetcherOptions'];
  type GistsListQueryParams (line 5856) | type GistsListQueryParams = {
  type GistsListError (line 5875) | type GistsListError = Fetcher.ErrorWrapper<
  type GistsListResponse (line 5886) | type GistsListResponse = Schemas.BaseGist[];
  type GistsListVariables (line 5888) | type GistsListVariables = {
  type GistsCreateError (line 5930) | type GistsCreateError = Fetcher.ErrorWrapper<
  type GistsCreateRequestBody (line 5949) | type GistsCreateRequestBody = {
  type GistsCreateVariables (line 5972) | type GistsCreateVariables = {
  type GistsListPublicQueryParams (line 6021) | type GistsListPublicQueryParams = {
  type GistsListPublicError (line 6040) | type GistsListPublicError = Fetcher.ErrorWrapper<
  type GistsListPublicResponse (line 6055) | type GistsListPublicResponse = Schemas.BaseGist[];
  type GistsListPublicVariables (line 6057) | type GistsListPublicVariables = {
  type GistsListStarredQueryParams (line 6116) | type GistsListStarredQueryParams = {
  type GistsListStarredError (line 6135) | type GistsListStarredError = Fetcher.ErrorWrapper<
  type GistsListStarredResponse (line 6150) | type GistsListStarredResponse = Schemas.BaseGist[];
  type GistsListStarredVariables (line 6152) | type GistsListStarredVariables = {
  type GistsDeletePathParams (line 6207) | type GistsDeletePathParams = {
  type GistsDeleteError (line 6214) | type GistsDeleteError = Fetcher.ErrorWrapper<
  type GistsDeleteVariables (line 6229) | type GistsDeleteVariables = {
  type GistsGetPathParams (line 6268) | type GistsGetPathParams = {
  type GistsGetError (line 6275) | type GistsGetError = Fetcher.ErrorWrapper<
  type GistsGetVariables (line 6290) | type GistsGetVariables = {
  type GistsUpdatePathParams (line 6330) | type GistsUpdatePathParams = {
  type GistsUpdateError (line 6337) | type GistsUpdateError = Fetcher.ErrorWrapper<
  type GistsUpdateVariables (line 6348) | type GistsUpdateVariables = {
  type GistsListCommentsPathParams (line 6547) | type GistsListCommentsPathParams = {
  type GistsListCommentsQueryParams (line 6554) | type GistsListCommentsQueryParams = {
  type GistsListCommentsError (line 6569) | type GistsListCommentsError = Fetcher.ErrorWrapper<
  type GistsListCommentsResponse (line 6584) | type GistsListCommentsResponse = Schemas.GistComment[];
  type GistsListCommentsVariables (line 6586) | type GistsListCommentsVariables = {
  type GistsCreateCommentPathParams (line 6636) | type GistsCreateCommentPathParams = {
  type GistsCreateCommentError (line 6643) | type GistsCreateCommentError = Fetcher.ErrorWrapper<
  type GistsCreateCommentRequestBody (line 6658) | type GistsCreateCommentRequestBody = {
  type GistsCreateCommentVariables (line 6668) | type GistsCreateCommentVariables = {
  type GistsDeleteCommentPathParams (line 6708) | type GistsDeleteCommentPathParams = {
  type GistsDeleteCommentError (line 6719) | type GistsDeleteCommentError = Fetcher.ErrorWrapper<
  type GistsDeleteCommentVariables (line 6734) | type GistsDeleteCommentVariables = {
  type GistsGetCommentPathParams (line 6778) | type GistsGetCommentPathParams = {
  type GistsGetCommentError (line 6789) | type GistsGetCommentError = Fetcher.ErrorWrapper<
  type GistsGetCommentVariables (line 6804) | type GistsGetCommentVariables = {
  type GistsUpdateCommentPathParams (line 6854) | type GistsUpdateCommentPathParams = {
  type GistsUpdateCommentError (line 6865) | type GistsUpdateCommentError = Fetcher.ErrorWrapper<{
  type GistsUpdateCommentRequestBody (line 6870) | type GistsUpdateCommentRequestBody = {
  type GistsUpdateCommentVariables (line 6880) | type GistsUpdateCommentVariables = {
  type GistsListCommitsPathParams (line 6925) | type GistsListCommitsPathParams = {
  type GistsListCommitsQueryParams (line 6932) | type GistsListCommitsQueryParams = {
  type GistsListCommitsError (line 6947) | type GistsListCommitsError = Fetcher.ErrorWrapper<
  type GistsListCommitsResponse (line 6962) | type GistsListCommitsResponse = Schemas.GistCommit[];
  type GistsListCommitsVariables (line 6964) | type GistsListCommitsVariables = {
  type GistsListForksPathParams (line 7014) | type GistsListForksPathParams = {
  type GistsListForksQueryParams (line 7021) | type GistsListForksQueryParams = {
  type GistsListForksError (line 7036) | type GistsListForksError = Fetcher.ErrorWrapper<
  type GistsListForksResponse (line 7051) | type GistsListForksResponse = Schemas.GistSimple[];
  type GistsListForksVariables (line 7053) | type GistsListForksVariables = {
  type GistsForkPathParams (line 7103) | type GistsForkPathParams = {
  type GistsForkError (line 7110) | type GistsForkError = Fetcher.ErrorWrapper<
  type GistsForkVariables (line 7129) | type GistsForkVariables = {
  type GistsUnstarPathParams (line 7174) | type GistsUnstarPathParams = {
  type GistsUnstarError (line 7181) | type GistsUnstarError = Fetcher.ErrorWrapper<
  type GistsUnstarVariables (line 7196) | type GistsUnstarVariables = {
  type GistsCheckIsStarredPathParams (line 7235) | type GistsCheckIsStarredPathParams = {
  type GistsCheckIsStarredError (line 7242) | type GistsCheckIsStarredError = Fetcher.ErrorWrapper<
  type GistsCheckIsStarredVariables (line 7257) | type GistsCheckIsStarredVariables = {
  type GistsStarPathParams (line 7298) | type GistsStarPathParams = {
  type GistsStarError (line 7305) | type GistsStarError = Fetcher.ErrorWrapper<
  type GistsStarVariables (line 7320) | type GistsStarVariables = {
  type GistsGetRevisionPathParams (line 7361) | type GistsGetRevisionPathParams = {
  type GistsGetRevisionError (line 7369) | type GistsGetRevisionError = Fetcher.ErrorWrapper<
  type GistsGetRevisionVariables (line 7384) | type GistsGetRevisionVariables = {
  type GitignoreGetAllTemplatesError (line 7429) | type GitignoreGetAllTemplatesError = Fetcher.ErrorWrapper<{
  type GitignoreGetAllTemplatesResponse (line 7434) | type GitignoreGetAllTemplatesResponse = string[];
  type GitignoreGetAllTemplatesVariables (line 7436) | type GitignoreGetAllTemplatesVariables = GithubContext['fetcherOptions'];
  type GitignoreGetTemplatePathParams (line 7494) | type GitignoreGetTemplatePathParams = {
  type GitignoreGetTemplateError (line 7498) | type GitignoreGetTemplateError = Fetcher.ErrorWrapper<{
  type GitignoreGetTemplateVariables (line 7503) | type GitignoreGetTemplateVariables = {
  type AppsListReposAccessibleToInstallationQueryParams (line 7565) | type AppsListReposAccessibleToInstallationQueryParams = {
  type AppsListReposAccessibleToInstallationError (line 7580) | type AppsListReposAccessibleToInstallationError = Fetcher.ErrorWrapper<
  type AppsListReposAccessibleToInstallationResponse (line 7595) | type AppsListReposAccessibleToInstallationResponse = {
  type AppsListReposAccessibleToInstallationVariables (line 7604) | type AppsListReposAccessibleToInstallationVariables = {
  type AppsRevokeInstallationAccessTokenError (line 7668) | type AppsRevokeInstallationAccessTokenError =
  type AppsRevokeInstallationAccessTokenVariables (line 7671) | type AppsRevokeInstallationAccessTokenVariables =
  type IssuesListQueryParams (line 7726) | type IssuesListQueryParams = {
  type IssuesListError (line 7788) | type IssuesListError = Fetcher.ErrorWrapper<
  type IssuesListResponse (line 7803) | type IssuesListResponse = Schemas.Issue[];
  type IssuesListVariables (line 7805) | type IssuesListVariables = {
  type LicensesGetAllCommonlyUsedQueryParams (line 7864) | type LicensesGetAllCommonlyUsedQueryParams = {
  type LicensesGetAllCommonlyUsedError (line 7880) | type LicensesGetAllCommonlyUsedError = Fetcher.ErrorWrapper<{
  type LicensesGetAllCommonlyUsedResponse (line 7885) | type LicensesGetAllCommonlyUsedResponse = Schemas.LicenseSimple[];
  type LicensesGetAllCommonlyUsedVariables (line 7887) | type LicensesGetAllCommonlyUsedVariables = {
  type LicensesGetPathParams (line 7941) | type LicensesGetPathParams = {
  type LicensesGetError (line 7945) | type LicensesGetError = Fetcher.ErrorWrapper<
  type LicensesGetVariables (line 7960) | type LicensesGetVariables = {
  type MarkdownRenderError (line 8001) | type MarkdownRenderError = Fetcher.ErrorWrapper<{
  type MarkdownRenderRequestBody (line 8006) | type MarkdownRenderRequestBody = {
  type MarkdownRenderVariables (line 8024) | type MarkdownRenderVariables = {
  type MarkdownRenderRawError (line 8063) | type MarkdownRenderRawError = Fetcher.ErrorWrapper<{
  type MarkdownRenderRawVariables (line 8068) | type MarkdownRenderRawVariables = GithubContext['fetcherOptions'];
  type AppsGetSubscriptionPlanForAccountPathParams (line 8109) | type AppsGetSubscriptionPlanForAccountPathParams = {
  type AppsGetSubscriptionPlanForAccountError (line 8116) | type AppsGetSubscriptionPlanForAccountError = Fetcher.ErrorWrapper<
  type AppsGetSubscriptionPlanForAccountVariables (line 8127) | type AppsGetSubscriptionPlanForAccountVariables = {
  type AppsListPlansQueryParams (line 8196) | type AppsListPlansQueryParams = {
  type AppsListPlansError (line 8211) | type AppsListPlansError = Fetcher.ErrorWrapper<
  type AppsListPlansResponse (line 8222) | type AppsListPlansResponse = Schemas.MarketplaceListingPlan[];
  type AppsListPlansVariables (line 8224) | type AppsListPlansVariables = {
  type AppsListAccountsForPlanPathParams (line 8279) | type AppsListAccountsForPlanPathParams = {
  type AppsListAccountsForPlanQueryParams (line 8286) | type AppsListAccountsForPlanQueryParams = {
  type AppsListAccountsForPlanError (line 8311) | type AppsListAccountsForPlanError = Fetcher.ErrorWrapper<
  type AppsListAccountsForPlanResponse (line 8326) | type AppsListAccountsForPlanResponse = Schemas.MarketplacePurchase[];
  type AppsListAccountsForPlanVariables (line 8328) | type AppsListAccountsForPlanVariables = {
  type AppsGetSubscriptionPlanForAccountStubbedPathParams (line 8395) | type AppsGetSubscriptionPlanForAccountStubbedPathParams = {
  type AppsGetSubscriptionPlanForAccountStubbedError (line 8402) | type AppsGetSubscriptionPlanForAccountStubbedError =
  type AppsGetSubscriptionPlanForAccountStubbedVariables (line 8408) | type AppsGetSubscriptionPlanForAccountStubbedVariables = {
  type AppsListPlansStubbedQueryParams (line 8477) | type AppsListPlansStubbedQueryParams = {
  type AppsListPlansStubbedError (line 8492) | type AppsListPlansStubbedError = Fetcher.ErrorWrapper<{
  type AppsListPlansStubbedResponse (line 8497) | type AppsListPlansStubbedResponse = Schemas.MarketplaceListingPlan[];
  type AppsListPlansStubbedVariables (line 8499) | type AppsListPlansStubbedVariables = {
  type AppsListAccountsForPlanStubbedPathParams (line 8563) | type AppsListAccountsForPlanStubbedPathParams = {
  type AppsListAccountsForPlanStubbedQueryParams (line 8570) | type AppsListAccountsForPlanStubbedQueryParams = {
  type AppsListAccountsForPlanStubbedError (line 8595) | type AppsListAccountsForPlanStubbedError = Fetcher.ErrorWrapper<{
  type AppsListAccountsForPlanStubbedResponse (line 8600) | type AppsListAccountsForPlanStubbedResponse =
  type AppsListAccountsForPlanStubbedVariables (line 8603) | type AppsListAccountsForPlanStubbedVariables = {
  type MetaGetError (line 8673) | type MetaGetError = Fetcher.ErrorWrapper<{
  type MetaGetVariables (line 8678) | type MetaGetVariables = GithubContext['fetcherOptions'];
  type ActivityListPublicEventsForRepoNetworkPathParams (line 8720) | type ActivityListPublicEventsForRepoNetworkPathParams = {
  type ActivityListPublicEventsForRepoNetworkQueryParams (line 8725) | type ActivityListPublicEventsForRepoNetworkQueryParams = {
  type ActivityListPublicEventsForRepoNetworkError (line 8740) | type ActivityListPublicEventsForRepoNetworkError = Fetcher.ErrorWrapper<
  type ActivityListPublicEventsForRepoNetworkResponse (line 8759) | type ActivityListPublicEventsForRepoNetworkResponse = Schemas.Event[];
  type ActivityListPublicEventsForRepoNetworkVariables (line 8761) | type ActivityListPublicEventsForRepoNetworkVariables = {
  type ActivityListNotificationsForAuthenticatedUserQueryParams (line 8821) | type ActivityListNotificationsForAuthenticatedUserQueryParams = {
  type ActivityListNotificationsForAuthenticatedUserError (line 8856) | type ActivityListNotificationsForAuthenticatedUserError =
  type ActivityListNotificationsForAuthenticatedUserResponse (line 8876) | type ActivityListNotificationsForAuthenticatedUserResponse =
  type ActivityListNotificationsForAuthenticatedUserVariables (line 8879) | type ActivityListNotificationsForAuthenticatedUserVariables = {
  type ActivityMarkNotificationsAsReadError (line 8939) | type ActivityMarkNotificationsAsReadError = Fetcher.ErrorWrapper<
  type ActivityMarkNotificationsAsReadResponse (line 8954) | type ActivityMarkNotificationsAsReadResponse = {
  type ActivityMarkNotificationsAsReadRequestBody (line 8958) | type ActivityMarkNotificationsAsReadRequestBody = {
  type ActivityMarkNotificationsAsReadVariables (line 8971) | type ActivityMarkNotificationsAsReadVariables = {
  type ActivityGetThreadPathParams (line 9016) | type ActivityGetThreadPathParams = {
  type ActivityGetThreadError (line 9023) | type ActivityGetThreadError = Fetcher.ErrorWrapper<
  type ActivityGetThreadVariables (line 9038) | type ActivityGetThreadVariables = {
  type ActivityMarkThreadAsReadPathParams (line 9084) | type ActivityMarkThreadAsReadPathParams = {
  type ActivityMarkThreadAsReadError (line 9091) | type ActivityMarkThreadAsReadError = Fetcher.ErrorWrapper<
  type ActivityMarkThreadAsReadVariables (line 9102) | type ActivityMarkThreadAsReadVariables = {
  type ActivityDeleteThreadSubscriptionPathParams (line 9146) | type ActivityDeleteThreadSubscriptionPathParams = {
  type ActivityDeleteThreadSubscriptionError (line 9153) | type ActivityDeleteThreadSubscriptionError = Fetcher.ErrorWrapper<
  type ActivityDeleteThreadSubscriptionVariables (line 9168) | type ActivityDeleteThreadSubscriptionVariables = {
  type ActivityGetThreadSubscriptionForAuthenticatedUserPathParams (line 9221) | type ActivityGetThreadSubscriptionForAuthenticatedUserPathParams = {
  type ActivityGetThreadSubscriptionForAuthenticatedUserError (line 9228) | type ActivityGetThreadSubscriptionForAuthenticatedUserError =
  type ActivityGetThreadSubscriptionForAuthenticatedUserVariables (line 9244) | type ActivityGetThreadSubscriptionForAuthenticatedUserVariables = {
  type ActivitySetThreadSubscriptionPathParams (line 9313) | type ActivitySetThreadSubscriptionPathParams = {
  type ActivitySetThreadSubscriptionError (line 9320) | type ActivitySetThreadSubscriptionError = Fetcher.ErrorWrapper<
  type ActivitySetThreadSubscriptionRequestBody (line 9335) | type ActivitySetThreadSubscriptionRequestBody = {
  type ActivitySetThreadSubscriptionVariables (line 9344) | type ActivitySetThreadSubscriptionVariables = {
  type MetaGetOctocatQueryParams (line 9403) | type MetaGetOctocatQueryParams = {
  type MetaGetOctocatError (line 9410) | type MetaGetOctocatError = Fetcher.ErrorWrapper<undefined>;
  type MetaGetOctocatVariables (line 9412) | type MetaGetOctocatVariables = {
  type OrgsListQueryParams (line 9455) | type OrgsListQueryParams = {
  type OrgsListError (line 9468) | type OrgsListError = Fetcher.ErrorWrapper<{
  type OrgsListResponse (line 9473) | type OrgsListResponse = Schemas.OrganizationSimple[];
  type OrgsListVariables (line 9475) | type OrgsListVariables = {
  type OrgsGetPathParams (line 9521) | type OrgsGetPathParams = {
  type OrgsGetError (line 9525) | type OrgsGetError = Fetcher.ErrorWrapper<{
  type OrgsGetVariables (line 9530) | type OrgsGetVariables = {
  type OrgsUpdatePathParams (line 9576) | type OrgsUpdatePathParams = {
  type OrgsUpdateError (line 9580) | type OrgsUpdateError = Fetcher.ErrorWrapper<
  type OrgsUpdateRequestBody (line 9595) | type OrgsUpdateRequestBody = {
  type OrgsUpdateVariables (line 9711) | type OrgsUpdateVariables = {
  type ActionsGetGithubActionsPermissionsOrganizationPathParams (line 9761) | type ActionsGetGithubActionsPermissionsOrganizationPathParams = {
  type ActionsGetGithubActionsPermissionsOrganizationError (line 9765) | type ActionsGetGithubActionsPermissionsOrganizationError =
  type ActionsGetGithubActionsPermissionsOrganizationVariables (line 9768) | type ActionsGetGithubActionsPermissionsOrganizationVariables = {
  type ActionsSetGithubActionsPermissionsOrganizationPathParams (line 9837) | type ActionsSetGithubActionsPermissionsOrganizationPathParams = {
  type ActionsSetGithubActionsPermissionsOrganizationError (line 9841) | type ActionsSetGithubActionsPermissionsOrganizationError =
  type ActionsSetGithubActionsPermissionsOrganizationRequestBody (line 9844) | type ActionsSetGithubActionsPermissionsOrganizationRequestBody = {
  type ActionsSetGithubActionsPermissionsOrganizationVariables (line 9849) | type ActionsSetGithubActionsPermissionsOrganizationVariables = {
  type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationPathParams (line 9911) | type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationPath...
  type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationQueryParams (line 9916) | type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationQuer...
  type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationError (line 9932) | type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationError =
  type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResponse (line 9935) | type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResp...
  type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationVariables (line 9941) | type ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationVari...
  type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationPathParams (line 10015) | type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationPathP...
  type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationError (line 10020) | type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationError =
  type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequestBody (line 10023) | type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationReque...
  type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationVariables (line 10031) | type ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationVaria...
  type ActionsDisableSelectedRepositoryGithubActionsOrganizationPathParams (line 10094) | type ActionsDisableSelectedRepositoryGithubActionsOrganizationPathParams =
  type ActionsDisableSelectedRepositoryGithubActionsOrganizationError (line 10100) | type ActionsDisableSelectedRepositoryGithubActionsOrganizationError =
  type ActionsDisableSelectedRepositoryGithubActionsOrganizationVariables (line 10103) | type ActionsDisableSelectedRepositoryGithubActionsOrganizationVariables =
  type ActionsEnableSelectedRepositoryGithubActionsOrganizationPathParams (line 10163) | type ActionsEnableSelectedRepositoryGithubActionsOrganizationPathParams =
  type ActionsEnableSelectedRepositoryGithubActionsOrganizationError (line 10169) | type ActionsEnableSelectedRepositoryGithubActionsOrganizationError =
  type ActionsEnableSelectedRepositoryGithubActionsOrganizationVariables (line 10172) | type ActionsEnableSelectedRepositoryGithubActionsOrganizationVariables =
  type ActionsGetAllowedActionsOrganizationPathParams (line 10232) | type ActionsGetAllowedActionsOrganizationPathParams = {
  type ActionsGetAllowedActionsOrganizationError (line 10236) | type ActionsGetAllowedActionsOrganizationError =
  type ActionsGetAllowedActionsOrganizationVariables (line 10239) | type ActionsGetAllowedActionsOrganizationVariables = {
  type ActionsSetAllowedActionsOrganizationPathParams (line 10308) | type ActionsSetAllowedActionsOrganizationPathParams = {
  type ActionsSetAllowedActionsOrganizationError (line 10312) | type ActionsSetAllowedActionsOrganizationError =
  type ActionsSetAllowedActionsOrganizationVariables (line 10315) | type ActionsSetAllowedActionsOrganizationVariables = {
  type ActionsListSelfHostedRunnerGroupsForOrgPathParams (line 10381) | type ActionsListSelfHostedRunnerGroupsForOrgPathParams = {
  type ActionsListSelfHostedRunnerGroupsForOrgQueryParams (line 10385) | type ActionsListSelfHostedRunnerGroupsForOrgQueryParams = {
  type ActionsListSelfHostedRunnerGroupsForOrgError (line 10400) | type ActionsListSelfHostedRunnerGroupsForOrgError =
  type ActionsListSelfHostedRunnerGroupsForOrgResponse (line 10403) | type ActionsListSelfHostedRunnerGroupsForOrgResponse = {
  type ActionsListSelfHostedRunnerGroupsForOrgVariables (line 10408) | type ActionsListSelfHostedRunnerGroupsForOrgVariables = {
  type ActionsCreateSelfHostedRunnerGroupForOrgPathParams (line 10482) | type ActionsCreateSelfHostedRunnerGroupForOrgPathParams = {
  type ActionsCreateSelfHostedRunnerGroupForOrgError (line 10486) | type ActionsCreateSelfHostedRunnerGroupForOrgError =
  type ActionsCreateSelfHostedRunnerGroupForOrgRequestBody (line 10489) | type ActionsCreateSelfHostedRunnerGroupForOrgRequestBody = {
  type ActionsCreateSelfHostedRunnerGroupForOrgVariables (line 10510) | type ActionsCreateSelfHostedRunnerGroupForOrgVariables = {
  type ActionsDeleteSelfHostedRunnerGroupFromOrgPathParams (line 10572) | type ActionsDeleteSelfHostedRunnerGroupFromOrgPathParams = {
  type ActionsDeleteSelfHostedRunnerGroupFromOrgError (line 10580) | type ActionsDeleteSelfHostedRunnerGroupFromOrgError =
  type ActionsDeleteSelfHostedRunnerGroupFromOrgVariables (line 10583) | type ActionsDeleteSelfHostedRunnerGroupFromOrgVariables = {
  type ActionsGetSelfHostedRunnerGroupForOrgPathParams (line 10644) | type ActionsGetSelfHostedRunnerGroupForOrgPathParams = {
  type ActionsGetSelfHostedRunnerGroupForOrgError (line 10652) | type ActionsGetSelfHostedRunnerGroupForOrgError =
  type ActionsGetSelfHostedRunnerGroupForOrgVariables (line 10655) | type ActionsGetSelfHostedRunnerGroupForOrgVariables = {
  type ActionsUpdateSelfHostedRunnerGroupForOrgPathParams (line 10728) | type ActionsUpdateSelfHostedRunnerGroupForOrgPathParams = {
  type ActionsUpdateSelfHostedRunnerGroupForOrgError (line 10736) | type ActionsUpdateSelfHostedRunnerGroupForOrgError =
  type ActionsUpdateSelfHostedRunnerGroupForOrgRequestBody (line 10739) | type ActionsUpdateSelfHostedRunnerGroupForOrgRequestBody = {
  type ActionsUpdateSelfHostedRunnerGroupForOrgVariables (line 10750) | type ActionsUpdateSelfHostedRunnerGroupForOrgVariables = {
  type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgPathParams (line 10812) | type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgPathParams = {
  type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgQueryParams (line 10820) | type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgQueryParams = {
  type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgError (line 10835) | type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgError =
  type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse (line 10838) | type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponse = {
  type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgVariables (line 10843) | type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgVariables = {
  type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgPathParams (line 10917) | type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgPathParams = {
  type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgError (line 10925) | type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgError =
  type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequestBody (line 10928) | type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequestBody = {
  type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgVariables (line 10935) | type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgVariables = {
  type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgPathParams (line 10997) | type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgPathParams = {
  type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgError (line 11006) | type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgError =
  type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgVariables (line 11009) | type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgVariables = {
  type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgPathParams (line 11072) | type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgPathParams = {
  type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgError (line 11081) | type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgError =
  type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgVariables (line 11084) | type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgVariables = {
  type ActionsListSelfHostedRunnersInGroupForOrgPathParams (line 11149) | type ActionsListSelfHostedRunnersInGroupForOrgPathParams = {
  type ActionsListSelfHostedRunnersInGroupForOrgQueryParams (line 11157) | type ActionsListSelfHostedRunnersInGroupForOrgQueryParams = {
  type ActionsListSelfHostedRunnersInGroupForOrgError (line 11172) | type ActionsListSelfHostedRunnersInGroupForOrgError =
  type ActionsListSelfHostedRunnersInGroupForOrgResponse (line 11175) | type ActionsListSelfHostedRunnersInGroupForOrgResponse = {
  type ActionsListSelfHostedRunnersInGroupForOrgVariables (line 11180) | type ActionsListSelfHostedRunnersInGroupForOrgVariables = {
  type ActionsSetSelfHostedRunnersInGroupForOrgPathParams (line 11254) | type ActionsSetSelfHostedRunnersInGroupForOrgPathParams = {
  type ActionsSetSelfHostedRunnersInGroupForOrgError (line 11262) | type ActionsSetSelfHostedRunnersInGroupForOrgError =
  type ActionsSetSelfHostedRunnersInGroupForOrgRequestBody (line 11265) | type ActionsSetSelfHostedRunnersInGroupForOrgRequestBody = {
  type ActionsSetSelfHostedRunnersInGroupForOrgVariables (line 11272) | type ActionsSetSelfHostedRunnersInGroupForOrgVariables = {
  type ActionsRemoveSelfHostedRunnerFromGroupForOrgPathParams (line 11334) | type ActionsRemoveSelfHostedRunnerFromGroupForOrgPathParams = {
  type ActionsRemoveSelfHostedRunnerFromGroupForOrgError (line 11346) | type ActionsRemoveSelfHostedRunnerFromGroupForOrgError =
  type ActionsRemoveSelfHostedRunnerFromGroupForOrgVariables (line 11349) | type ActionsRemoveSelfHostedRunnerFromGroupForOrgVariables = {
  type ActionsAddSelfHostedRunnerToGroupForOrgPathParams (line 11412) | type ActionsAddSelfHostedRunnerToGroupForOrgPathParams = {
  type ActionsAddSelfHostedRunnerToGroupForOrgError (line 11424) | type ActionsAddSelfHostedRunnerToGroupForOrgError =
  type ActionsAddSelfHostedRunnerToGroupForOrgVariables (line 11427) | type ActionsAddSelfHostedRunnerToGroupForOrgVariables = {
  type ActionsListSelfHostedRunnersForOrgPathParams (line 11492) | type ActionsListSelfHostedRunnersForOrgPathParams = {
  type ActionsListSelfHostedRunnersForOrgQueryParams (line 11496) | type ActionsListSelfHostedRunnersForOrgQueryParams = {
  type ActionsListSelfHostedRunnersForOrgError (line 11511) | type ActionsListSelfHostedRunnersForOrgError =
  type ActionsListSelfHostedRunnersForOrgResponse (line 11514) | type ActionsListSelfHostedRunnersForOrgResponse = {
  type ActionsListSelfHostedRunnersForOrgVariables (line 11519) | type ActionsListSelfHostedRunnersForOrgVariables = {
  type ActionsListRunnerApplicationsForOrgPathParams (line 11589) | type ActionsListRunnerApplicationsForOrgPathParams = {
  type ActionsListRunnerApplicationsForOrgError (line 11593) | type ActionsListRunnerApplicationsForOrgError =
  type ActionsListRunnerApplicationsForOrgResponse (line 11596) | type ActionsListRunnerApplicationsForOrgResponse =
  type ActionsListRunnerApplicationsForOrgVariables (line 11599) | type ActionsListRunnerApplicationsForOrgVariables = {
  type ActionsCreateRegistrationTokenForOrgPathParams (line 11668) | type ActionsCreateRegistrationTokenForOrgPathParams = {
  type ActionsCreateRegistrationTokenForOrgError (line 11672) | type ActionsCreateRegistrationTokenForOrgError =
  type ActionsCreateRegistrationTokenForOrgVariables (line 11675) | type ActionsCreateRegistrationTokenForOrgVariables = {
  type ActionsCreateRemoveTokenForOrgPathParams (line 11748) | type ActionsCreateRemoveTokenForOrgPathParams = {
  type ActionsCreateRemoveTokenForOrgError (line 11752) | type ActionsCreateRemoveTokenForOrgError =
  type ActionsCreateRemoveTokenForOrgVariables (line 11755) | type ActionsCreateRemoveTokenForOrgVariables = {
  type ActionsDeleteSelfHostedRunnerFromOrgPathParams (line 11827) | type ActionsDeleteSelfHostedRunnerFromOrgPathParams = {
  type ActionsDeleteSelfHostedRunnerFromOrgError (line 11835) | type ActionsDeleteSelfHostedRunnerFromOrgError =
  type ActionsDeleteSelfHostedRunnerFromOrgVariables (line 11838) | type ActionsDeleteSelfHostedRunnerFromOrgVariables = {
  type ActionsGetSelfHostedRunnerForOrgPathParams (line 11895) | type ActionsGetSelfHostedRunnerForOrgPathParams = {
  type ActionsGetSelfHostedRunnerForOrgError (line 11903) | type ActionsGetSelfHostedRunnerForOrgError =
  type ActionsGetSelfHostedRunnerForOrgVariables (line 11906) | type ActionsGetSelfHostedRunnerForOrgVariables = {
  type ActionsListOrgSecretsPathParams (line 11973) | type ActionsListOrgSecretsPathParams = {
  type ActionsListOrgSecretsQueryParams (line 11977) | type ActionsListOrgSecretsQueryParams = {
  type ActionsListOrgSecretsError (line 11992) | type ActionsListOrgSecretsError = Fetcher.ErrorWrapper<undefined>;
  type ActionsListOrgSecretsResponse (line 11994) | type ActionsListOrgSecretsResponse = {
  type ActionsListOrgSecretsVariables (line 11999) | type ActionsListOrgSecretsVariables = {
  type ActionsGetOrgPublicKeyPathParams (line 12060) | type ActionsGetOrgPublicKeyPathParams = {
  type ActionsGetOrgPublicKeyError (line 12064) | type ActionsGetOrgPublicKeyError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetOrgPublicKeyVariables (line 12066) | type ActionsGetOrgPublicKeyVariables = {
  type ActionsDeleteOrgSecretPathParams (line 12126) | type ActionsDeleteOrgSecretPathParams = {
  type ActionsDeleteOrgSecretError (line 12134) | type ActionsDeleteOrgSecretError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDeleteOrgSecretVariables (line 12136) | type ActionsDeleteOrgSecretVariables = {
  type ActionsGetOrgSecretPathParams (line 12186) | type ActionsGetOrgSecretPathParams = {
  type ActionsGetOrgSecretError (line 12194) | type ActionsGetOrgSecretError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetOrgSecretVariables (line 12196) | type ActionsGetOrgSecretVariables = {
  type ActionsCreateOrUpdateOrgSecretPathParams (line 12258) | type ActionsCreateOrUpdateOrgSecretPathParams = {
  type ActionsCreateOrUpdateOrgSecretError (line 12266) | type ActionsCreateOrUpdateOrgSecretError =
  type ActionsCreateOrUpdateOrgSecretRequestBody (line 12269) | type ActionsCreateOrUpdateOrgSecretRequestBody = {
  type ActionsCreateOrUpdateOrgSecretVariables (line 12293) | type ActionsCreateOrUpdateOrgSecretVariables = {
  type ActionsListSelectedReposForOrgSecretPathParams (line 12492) | type ActionsListSelectedReposForOrgSecretPathParams = {
  type ActionsListSelectedReposForOrgSecretQueryParams (line 12500) | type ActionsListSelectedReposForOrgSecretQueryParams = {
  type ActionsListSelectedReposForOrgSecretError (line 12515) | type ActionsListSelectedReposForOrgSecretError =
  type ActionsListSelectedReposForOrgSecretResponse (line 12518) | type ActionsListSelectedReposForOrgSecretResponse = {
  type ActionsListSelectedReposForOrgSecretVariables (line 12523) | type ActionsListSelectedReposForOrgSecretVariables = {
  type ActionsSetSelectedReposForOrgSecretPathParams (line 12589) | type ActionsSetSelectedReposForOrgSecretPathParams = {
  type ActionsSetSelectedReposForOrgSecretError (line 12597) | type ActionsSetSelectedReposForOrgSecretError =
  type ActionsSetSelectedReposForOrgSecretRequestBody (line 12600) | type ActionsSetSelectedReposForOrgSecretRequestBody = {
  type ActionsSetSelectedReposForOrgSecretVariables (line 12607) | type ActionsSetSelectedReposForOrgSecretVariables = {
  type ActionsRemoveSelectedRepoFromOrgSecretPathParams (line 12661) | type ActionsRemoveSelectedRepoFromOrgSecretPathParams = {
  type ActionsRemoveSelectedRepoFromOrgSecretError (line 12670) | type ActionsRemoveSelectedRepoFromOrgSecretError =
  type ActionsRemoveSelectedRepoFromOrgSecretVariables (line 12673) | type ActionsRemoveSelectedRepoFromOrgSecretVariables = {
  type ActionsAddSelectedRepoToOrgSecretPathParams (line 12726) | type ActionsAddSelectedRepoToOrgSecretPathParams = {
  type ActionsAddSelectedRepoToOrgSecretError (line 12735) | type ActionsAddSelectedRepoToOrgSecretError =
  type ActionsAddSelectedRepoToOrgSecretVariables (line 12738) | type ActionsAddSelectedRepoToOrgSecretVariables = {
  type OrgsGetAuditLogPathParams (line 12791) | type OrgsGetAuditLogPathParams = {
  type OrgsGetAuditLogQueryParams (line 12795) | type OrgsGetAuditLogQueryParams = {
  type OrgsGetAuditLogError (line 12838) | type OrgsGetAuditLogError = Fetcher.ErrorWrapper<undefined>;
  type OrgsGetAuditLogResponse (line 12840) | type OrgsGetAuditLogResponse = Schemas.AuditLogEvent[];
  type OrgsGetAuditLogVariables (line 12842) | type OrgsGetAuditLogVariables = {
  type OrgsListBlockedUsersPathParams (line 12906) | type OrgsListBlockedUsersPathParams = {
  type OrgsListBlockedUsersError (line 12910) | type OrgsListBlockedUsersError = Fetcher.ErrorWrapper<{
  type OrgsListBlockedUsersResponse (line 12915) | type OrgsListBlockedUsersResponse = Schemas.SimpleUser[];
  type OrgsListBlockedUsersVariables (line 12917) | type OrgsListBlockedUsersVariables = {
  type OrgsUnblockUserPathParams (line 12972) | type OrgsUnblockUserPathParams = {
  type OrgsUnblockUserError (line 12977) | type OrgsUnblockUserError = Fetcher.ErrorWrapper<undefined>;
  type OrgsUnblockUserVariables (line 12979) | type OrgsUnblockUserVariables = {
  type OrgsCheckBlockedUserPathParams (line 13023) | type OrgsCheckBlockedUserPathParams = {
  type OrgsCheckBlockedUserError (line 13028) | type OrgsCheckBlockedUserError = Fetcher.ErrorWrapper<{
  type OrgsCheckBlockedUserVariables (line 13033) | type OrgsCheckBlockedUserVariables = {
  type OrgsBlockUserPathParams (line 13079) | type OrgsBlockUserPathParams = {
  type OrgsBlockUserError (line 13084) | type OrgsBlockUserError = Fetcher.ErrorWrapper<{
  type OrgsBlockUserVariables (line 13089) | type OrgsBlockUserVariables = {
  type OrgsListSamlSsoAuthorizationsPathParams (line 13133) | type OrgsListSamlSsoAuthorizationsPathParams = {
  type OrgsListSamlSsoAuthorizationsError (line 13137) | type OrgsListSamlSsoAuthorizationsError =
  type OrgsListSamlSsoAuthorizationsResponse (line 13140) | type OrgsListSamlSsoAuthorizationsResponse =
  type OrgsListSamlSsoAuthorizationsVariables (line 13143) | type OrgsListSamlSsoAuthorizationsVariables = {
  type OrgsRemoveSamlSsoAuthorizationPathParams (line 13212) | type OrgsRemoveSamlSsoAuthorizationPathParams = {
  type OrgsRemoveSamlSsoAuthorizationError (line 13217) | type OrgsRemoveSamlSsoAuthorizationError = Fetcher.ErrorWrapper<{
  type OrgsRemoveSamlSsoAuthorizationVariables (line 13222) | type OrgsRemoveSamlSsoAuthorizationVariables = {
  type ActivityListPublicOrgEventsPathParams (line 13276) | type ActivityListPublicOrgEventsPathParams = {
  type ActivityListPublicOrgEventsQueryParams (line 13280) | type ActivityListPublicOrgEventsQueryParams = {
  type ActivityListPublicOrgEventsError (line 13295) | type ActivityListPublicOrgEventsError = Fetcher.ErrorWrapper<undefined>;
  type ActivityListPublicOrgEventsResponse (line 13297) | type ActivityListPublicOrgEventsResponse = Schemas.Event[];
  type ActivityListPublicOrgEventsVariables (line 13299) | type ActivityListPublicOrgEventsVariables = {
  type OrgsListFailedInvitationsPathParams (line 13354) | type OrgsListFailedInvitationsPathParams = {
  type OrgsListFailedInvitationsQueryParams (line 13358) | type OrgsListFailedInvitationsQueryParams = {
  type OrgsListFailedInvitationsError (line 13373) | type OrgsListFailedInvitationsError = Fetcher.ErrorWrapper<{
  type OrgsListFailedInvitationsResponse (line 13378) | type OrgsListFailedInvitationsResponse =
  type OrgsListFailedInvitationsVariables (line 13381) | type OrgsListFailedInvitationsVariables = {
  type OrgsListWebhooksPathParams (line 13447) | type OrgsListWebhooksPathParams = {
  type OrgsListWebhooksQueryParams (line 13451) | type OrgsListWebhooksQueryParams = {
  type OrgsListWebhooksError (line 13466) | type OrgsListWebhooksError = Fetcher.ErrorWrapper<{
  type OrgsListWebhooksResponse (line 13471) | type OrgsListWebhooksResponse = Schemas.OrgHook[];
  type OrgsListWebhooksVariables (line 13473) | type OrgsListWebhooksVariables = {
  type OrgsCreateWebhookPathParams (line 13523) | type OrgsCreateWebhookPathParams = {
  type OrgsCreateWebhookError (line 13527) | type OrgsCreateWebhookError = Fetcher.ErrorWrapper<
  type OrgsCreateWebhookRequestBody (line 13538) | type OrgsCreateWebhookRequestBody = {
  type OrgsCreateWebhookVariables (line 13574) | type OrgsCreateWebhookVariables = {
  type OrgsDeleteWebhookPathParams (line 13620) | type OrgsDeleteWebhookPathParams = {
  type OrgsDeleteWebhookError (line 13625) | type OrgsDeleteWebhookError = Fetcher.ErrorWrapper<{
  type OrgsDeleteWebhookVariables (line 13630) | type OrgsDeleteWebhookVariables = {
  type OrgsGetWebhookPathParams (line 13674) | type OrgsGetWebhookPathParams = {
  type OrgsGetWebhookError (line 13679) | type OrgsGetWebhookError = Fetcher.ErrorWrapper<{
  type OrgsGetWebhookVariables (line 13684) | type OrgsGetWebhookVariables = {
  type OrgsUpdateWebhookPathParams (line 13731) | type OrgsUpdateWebhookPathParams = {
  type OrgsUpdateWebhookError (line 13736) | type OrgsUpdateWebhookError = Fetcher.ErrorWrapper<
  type OrgsUpdateWebhookRequestBody (line 13747) | type OrgsUpdateWebhookRequestBody = {
  type OrgsUpdateWebhookVariables (line 13775) | type OrgsUpdateWebhookVariables = {
  type OrgsGetWebhookConfigForOrgPathParams (line 13826) | type OrgsGetWebhookConfigForOrgPathParams = {
  type OrgsGetWebhookConfigForOrgError (line 13831) | type OrgsGetWebhookConfigForOrgError = Fetcher.ErrorWrapper<undefined>;
  type OrgsGetWebhookConfigForOrgVariables (line 13833) | type OrgsGetWebhookConfigForOrgVariables = {
  type OrgsUpdateWebhookConfigForOrgPathParams (line 13900) | type OrgsUpdateWebhookConfigForOrgPathParams = {
  type OrgsUpdateWebhookConfigForOrgError (line 13905) | type OrgsUpdateWebhookConfigForOrgError =
  type OrgsUpdateWebhookConfigForOrgRequestBody (line 13908) | type OrgsUpdateWebhookConfigForOrgRequestBody = {
  type OrgsUpdateWebhookConfigForOrgVariables (line 13915) | type OrgsUpdateWebhookConfigForOrgVariables = {
  type OrgsPingWebhookPathParams (line 13970) | type OrgsPingWebhookPathParams = {
  type OrgsPingWebhookError (line 13975) | type OrgsPingWebhookError = Fetcher.ErrorWrapper<{
  type OrgsPingWebhookVariables (line 13980) | type OrgsPingWebhookVariables = {
  type AppsGetOrgInstallationPathParams (line 14030) | type AppsGetOrgInstallationPathParams = {
  type AppsGetOrgInstallationError (line 14034) | type AppsGetOrgInstallationError = Fetcher.ErrorWrapper<undefined>;
  type AppsGetOrgInstallationVariables (line 14036) | type AppsGetOrgInstallationVariables = {
  type OrgsListAppInstallationsPathParams (line 14095) | type OrgsListAppInstallationsPathParams = {
  type OrgsListAppInstallationsQueryParams (line 14099) | type OrgsListAppInstallationsQueryParams = {
  type OrgsListAppInstallationsError (line 14114) | type OrgsListAppInstallationsError = Fetcher.ErrorWrapper<undefined>;
  type OrgsListAppInstallationsResponse (line 14116) | type OrgsListAppInstallationsResponse = {
  type OrgsListAppInstallationsVariables (line 14121) | type OrgsListAppInstallationsVariables = {
  type InteractionsRemoveRestrictionsForOrgPathParams (line 14182) | type InteractionsRemoveRestrictionsForOrgPathParams = {
  type InteractionsRemoveRestrictionsForOrgError (line 14186) | type InteractionsRemoveRestrictionsForOrgError =
  type InteractionsRemoveRestrictionsForOrgVariables (line 14189) | type InteractionsRemoveRestrictionsForOrgVariables = {
  type InteractionsGetRestrictionsForOrgPathParams (line 14242) | type InteractionsGetRestrictionsForOrgPathParams = {
  type InteractionsGetRestrictionsForOrgError (line 14246) | type InteractionsGetRestrictionsForOrgError =
  type InteractionsGetRestrictionsForOrgVariables (line 14249) | type InteractionsGetRestrictionsForOrgVariables = {
  type InteractionsSetRestrictionsForOrgPathParams (line 14314) | type InteractionsSetRestrictionsForOrgPathParams = {
  type InteractionsSetRestrictionsForOrgError (line 14318) | type InteractionsSetRestrictionsForOrgError = Fetcher.ErrorWrapper<{
  type InteractionsSetRestrictionsForOrgVariables (line 14323) | type InteractionsSetRestrictionsForOrgVariables = {
  type OrgsListPendingInvitationsPathParams (line 14377) | type OrgsListPendingInvitationsPathParams = {
  type OrgsListPendingInvitationsQueryParams (line 14381) | type OrgsListPendingInvitationsQueryParams = {
  type OrgsListPendingInvitationsError (line 14396) | type OrgsListPendingInvitationsError = Fetcher.ErrorWrapper<{
  type OrgsListPendingInvitationsResponse (line 14401) | type OrgsListPendingInvitationsResponse =
  type OrgsListPendingInvitationsVariables (line 14404) | type OrgsListPendingInvitationsVariables = {
  type OrgsCreateInvitationPathParams (line 14465) | type OrgsCreateInvitationPathParams = {
  type OrgsCreateInvitationError (line 14469) | type OrgsCreateInvitationError = Fetcher.ErrorWrapper<
  type OrgsCreateInvitationRequestBody (line 14480) | type OrgsCreateInvitationRequestBody = {
  type OrgsCreateInvitationVariables (line 14504) | type OrgsCreateInvitationVariables = {
  type OrgsCancelInvitationPathParams (line 14554) | type OrgsCancelInvitationPathParams = {
  type OrgsCancelInvitationError (line 14562) | type OrgsCancelInvitationError = Fetcher.ErrorWrapper<
  type OrgsCancelInvitationVariables (line 14573) | type OrgsCancelInvitationVariables = {
  type OrgsListInvitationTeamsPathParams (line 14627) | type OrgsListInvitationTeamsPathParams = {
  type OrgsListInvitationTeamsQueryParams (line 14635) | type OrgsListInvitationTeamsQueryParams = {
  type OrgsListInvitationTeamsError (line 14650) | type OrgsListInvitationTeamsError = Fetcher.ErrorWrapper<{
  type OrgsListInvitationTeamsResponse (line 14655) | type OrgsListInvitationTeamsResponse = Schemas.Team[];
  type OrgsListInvitationTeamsVariables (line 14657) | type OrgsListInvitationTeamsVariables = {
  type IssuesListForOrgPathParams (line 14720) | type IssuesListForOrgPathParams = {
  type IssuesListForOrgQueryParams (line 14724) | type IssuesListForOrgQueryParams = {
  type IssuesListForOrgError (line 14782) | type IssuesListForOrgError = Fetcher.ErrorWrapper<{
  type IssuesListForOrgResponse (line 14787) | type IssuesListForOrgResponse = Schemas.Issue[];
  type IssuesListForOrgVariables (line 14789) | type IssuesListForOrgVariables = {
  type OrgsListMembersPathParams (line 14855) | type OrgsListMembersPathParams = {
  type OrgsListMembersQueryParams (line 14859) | type OrgsListMembersQueryParams = {
  type OrgsListMembersError (line 14891) | type OrgsListMembersError = Fetcher.ErrorWrapper<{
  type OrgsListMembersResponse (line 14896) | type OrgsListMembersResponse = Schemas.SimpleUser[];
  type OrgsListMembersVariables (line 14898) | type OrgsListMembersVariables = {
  type OrgsRemoveMemberPathParams (line 14954) | type OrgsRemoveMemberPathParams = {
  type OrgsRemoveMemberError (line 14959) | type OrgsRemoveMemberError = Fetcher.ErrorWrapper<{
  type OrgsRemoveMemberVariables (line 14964) | type OrgsRemoveMemberVariables = {
  type OrgsCheckMembershipForUserPathParams (line 15014) | type OrgsCheckMembershipForUserPathParams = {
  type OrgsCheckMembershipForUserError (line 15019) | type OrgsCheckMembershipForUserError = Fetcher.ErrorWrapper<undefined>;
  type OrgsCheckMembershipForUserVariables (line 15021) | type OrgsCheckMembershipForUserVariables = {
  type OrgsRemoveMembershipForUserPathParams (line 15080) | type OrgsRemoveMembershipForUserPathParams = {
  type OrgsRemoveMembershipForUserError (line 15085) | type OrgsRemoveMembershipForUserError = Fetcher.ErrorWrapper<
  type OrgsRemoveMembershipForUserVariables (line 15096) | type OrgsRemoveMembershipForUserVariables = {
  type OrgsGetMembershipForUserPathParams (line 15150) | type OrgsGetMembershipForUserPathParams = {
  type OrgsGetMembershipForUserError (line 15155) | type OrgsGetMembershipForUserError = Fetcher.ErrorWrapper<
  type OrgsGetMembershipForUserVariables (line 15166) | type OrgsGetMembershipForUserVariables = {
  type OrgsSetMembershipForUserPathParams (line 15229) | type OrgsSetMembershipForUserPathParams = {
  type OrgsSetMembershipForUserError (line 15234) | type OrgsSetMembershipForUserError = Fetcher.ErrorWrapper<
  type OrgsSetMembershipForUserRequestBody (line 15245) | type OrgsSetMembershipForUserRequestBody = {
  type OrgsSetMembershipForUserVariables (line 15256) | type OrgsSetMembershipForUserVariables = {
  type MigrationsListForOrgPathParams (line 15323) | type MigrationsListForOrgPathParams = {
  type MigrationsListForOrgQueryParams (line 15327) | type MigrationsListForOrgQueryParams = {
  type MigrationsListForOrgError (line 15346) | type MigrationsListForOrgError = Fetcher.ErrorWrapper<undefined>;
  type MigrationsListForOrgResponse (line 15348) | type MigrationsListForOrgResponse = Schemas.Migration[];
  type MigrationsListForOrgVariables (line 15350) | type MigrationsListForOrgVariables = {
  type MigrationsStartForOrgPathParams (line 15406) | type MigrationsStartForOrgPathParams = {
  type MigrationsStartForOrgError (line 15410) | type MigrationsStartForOrgError = Fetcher.ErrorWrapper<
  type MigrationsStartForOrgRequestBody (line 15421) | type MigrationsStartForOrgRequestBody = {
  type MigrationsStartForOrgVariables (line 15441) | type MigrationsStartForOrgVariables = {
  type MigrationsGetStatusForOrgPathParams (line 15487) | type MigrationsGetStatusForOrgPathParams = {
  type MigrationsGetStatusForOrgQueryParams (line 15495) | type MigrationsGetStatusForOrgQueryParams = {
  type MigrationsGetStatusForOrgError (line 15502) | type MigrationsGetStatusForOrgError = Fetcher.ErrorWrapper<{
  type MigrationsGetStatusForOrgVariables (line 15507) | type MigrationsGetStatusForOrgVariables = {
  type MigrationsDeleteArchiveForOrgPathParams (line 15585) | type MigrationsDeleteArchiveForOrgPathParams = {
  type MigrationsDeleteArchiveForOrgError (line 15593) | type MigrationsDeleteArchiveForOrgError = Fetcher.ErrorWrapper<{
  type MigrationsDeleteArchiveForOrgVariables (line 15598) | type MigrationsDeleteArchiveForOrgVariables = {
  type MigrationsDownloadArchiveForOrgPathParams (line 15648) | type MigrationsDownloadArchiveForOrgPathParams = {
  type MigrationsDownloadArchiveForOrgError (line 15656) | type MigrationsDownloadArchiveForOrgError = Fetcher.ErrorWrapper<{
  type MigrationsDownloadArchiveForOrgVariables (line 15661) | type MigrationsDownloadArchiveForOrgVariables = {
  type MigrationsUnlockRepoForOrgPathParams (line 15724) | type MigrationsUnlockRepoForOrgPathParams = {
  type MigrationsUnlockRepoForOrgError (line 15736) | type MigrationsUnlockRepoForOrgError = Fetcher.ErrorWrapper<{
  type MigrationsUnlockRepoForOrgVariables (line 15741) | type MigrationsUnlockRepoForOrgVariables = {
  type MigrationsListReposForOrgPathParams (line 15791) | type MigrationsListReposForOrgPathParams = {
  type MigrationsListReposForOrgQueryParams (line 15799) | type MigrationsListReposForOrgQueryParams = {
  type MigrationsListReposForOrgError (line 15814) | type MigrationsListReposForOrgError = Fetcher.ErrorWrapper<{
  type MigrationsListReposForOrgResponse (line 15819) | type MigrationsListReposForOrgResponse = Schemas.MinimalRepository[];
  type MigrationsListReposForOrgVariables (line 15821) | type MigrationsListReposForOrgVariables = {
  type OrgsListOutsideCollaboratorsPathParams (line 15887) | type OrgsListOutsideCollaboratorsPathParams = {
  type OrgsListOutsideCollaboratorsQueryParams (line 15891) | type OrgsListOutsideCollaboratorsQueryParams = {
  type OrgsListOutsideCollaboratorsError (line 15914) | type OrgsListOutsideCollaboratorsError = Fetcher.ErrorWrapper<undefined>;
  type OrgsListOutsideCollaboratorsResponse (line 15916) | type OrgsListOutsideCollaboratorsResponse = Schemas.SimpleUser[];
  type OrgsListOutsideCollaboratorsVariables (line 15918) | type OrgsListOutsideCollaboratorsVariables = {
  type OrgsRemoveOutsideCollaboratorPathParams (line 15984) | type OrgsRemoveOutsideCollaboratorPathParams = {
  type OrgsRemoveOutsideCollaboratorError (line 15989) | type OrgsRemoveOutsideCollaboratorError = Fetcher.ErrorWrapper<{
  type OrgsRemoveOutsideCollaboratorVariables (line 15997) | type OrgsRemoveOutsideCollaboratorVariables = {
  type OrgsConvertMemberToOutsideCollaboratorPathParams (line 16047) | type OrgsConvertMemberToOutsideCollaboratorPathParams = {
  type OrgsConvertMemberToOutsideCollaboratorError (line 16052) | type OrgsConvertMemberToOutsideCollaboratorError = Fetcher.ErrorWrapper<
  type OrgsConvertMemberToOutsideCollaboratorVariables (line 16066) | type OrgsConvertMemberToOutsideCollaboratorVariables = {
  type PackagesDeletePackageForOrgPathParams (line 16119) | type PackagesDeletePackageForOrgPathParams = {
  type PackagesDeletePackageForOrgError (line 16131) | type PackagesDeletePackageForOrgError = Fetcher.ErrorWrapper<
  type PackagesDeletePackageForOrgVariables (line 16146) | type PackagesDeletePackageForOrgVariables = {
  type PackagesGetPackageForOrganizationPathParams (line 16204) | type PackagesGetPackageForOrganizationPathParams = {
  type PackagesGetPackageForOrganizationError (line 16216) | type PackagesGetPackageForOrganizationError =
  type PackagesGetPackageForOrganizationVariables (line 16219) | type PackagesGetPackageForOrganizationVariables = {
  type PackagesRestorePackageForOrgPathParams (line 16288) | type PackagesRestorePackageForOrgPathParams = {
  type PackagesRestorePackageForOrgQueryParams (line 16300) | type PackagesRestorePackageForOrgQueryParams = {
  type PackagesRestorePackageForOrgError (line 16307) | type PackagesRestorePackageForOrgError = Fetcher.ErrorWrapper<
  type PackagesRestorePackageForOrgVariables (line 16322) | type PackagesRestorePackageForOrgVariables = {
  type PackagesGetAllPackageVersionsForPackageOwnedByOrgPathParams (line 16389) | type PackagesGetAllPackageVersionsForPackageOwnedByOrgPathParams = {
  type PackagesGetAllPackageVersionsForPackageOwnedByOrgQueryParams (line 16401) | type PackagesGetAllPackageVersionsForPackageOwnedByOrgQueryParams = {
  type PackagesGetAllPackageVersionsForPackageOwnedByOrgError (line 16422) | type PackagesGetAllPackageVersionsForPackageOwnedByOrgError =
  type PackagesGetAllPackageVersionsForPackageOwnedByOrgResponse (line 16438) | type PackagesGetAllPackageVersionsForPackageOwnedByOrgResponse =
  type PackagesGetAllPackageVersionsForPackageOwnedByOrgVariables (line 16441) | type PackagesGetAllPackageVersionsForPackageOwnedByOrgVariables = {
  type PackagesDeletePackageVersionForOrgPathParams (line 16513) | type PackagesDeletePackageVersionForOrgPathParams = {
  type PackagesDeletePackageVersionForOrgError (line 16529) | type PackagesDeletePackageVersionForOrgError = Fetcher.ErrorWrapper<
  type PackagesDeletePackageVersionForOrgVariables (line 16544) | type PackagesDeletePackageVersionForOrgVariables = {
  type PackagesGetPackageVersionForOrganizationPathParams (line 16605) | type PackagesGetPackageVersionForOrganizationPathParams = {
  type PackagesGetPackageVersionForOrganizationError (line 16621) | type PackagesGetPackageVersionForOrganizationError =
  type PackagesGetPackageVersionForOrganizationVariables (line 16624) | type PackagesGetPackageVersionForOrganizationVariables = {
  type PackagesRestorePackageVersionForOrgPathParams (line 16695) | type PackagesRestorePackageVersionForOrgPathParams = {
  type PackagesRestorePackageVersionForOrgError (line 16711) | type PackagesRestorePackageVersionForOrgError = Fetcher.ErrorWrapper<
  type PackagesRestorePackageVersionForOrgVariables (line 16726) | type PackagesRestorePackageVersionForOrgVariables = {
  type ProjectsListForOrgPathParams (line 16795) | type ProjectsListForOrgPathParams = {
  type ProjectsListForOrgQueryParams (line 16799) | type ProjectsListForOrgQueryParams = {
  type ProjectsListForOrgError (line 16820) | type ProjectsListForOrgError = Fetcher.ErrorWrapper<{
  type ProjectsListForOrgResponse (line 16825) | type ProjectsListForOrgResponse = Schemas.Project[];
  type ProjectsListForOrgVariables (line 16827) | type ProjectsListForOrgVariables = {
  type ProjectsCreateForOrgPathParams (line 16883) | type ProjectsCreateForOrgPathParams = {
  type ProjectsCreateForOrgError (line 16887) | type ProjectsCreateForOrgError = Fetcher.ErrorWrapper<
  type ProjectsCreateForOrgRequestBody (line 16910) | type ProjectsCreateForOrgRequestBody = {
  type ProjectsCreateForOrgVariables (line 16921) | type ProjectsCreateForOrgVariables = {
  type OrgsListPublicMembersPathParams (line 16967) | type OrgsListPublicMembersPathParams = {
  type OrgsListPublicMembersQueryParams (line 16971) | type OrgsListPublicMembersQueryParams = {
  type OrgsListPublicMembersError (line 16986) | type OrgsListPublicMembersError = Fetcher.ErrorWrapper<undefined>;
  type OrgsListPublicMembersResponse (line 16988) | type OrgsListPublicMembersResponse = Schemas.SimpleUser[];
  type OrgsListPublicMembersVariables (line 16990) | type OrgsListPublicMembersVariables = {
  type OrgsRemovePublicMembershipForAuthenticatedUserPathParams (line 17046) | type OrgsRemovePublicMembershipForAuthenticatedUserPathParams = {
  type OrgsRemovePublicMembershipForAuthenticatedUserError (line 17051) | type OrgsRemovePublicMembershipForAuthenticatedUserError =
  type OrgsRemovePublicMembershipForAuthenticatedUserVariables (line 17054) | type OrgsRemovePublicMembershipForAuthenticatedUserVariables = {
  type OrgsCheckPublicMembershipForUserPathParams (line 17101) | type OrgsCheckPublicMembershipForUserPathParams = {
  type OrgsCheckPublicMembershipForUserError (line 17106) | type OrgsCheckPublicMembershipForUserError =
  type OrgsCheckPublicMembershipForUserVariables (line 17109) | type OrgsCheckPublicMembershipForUserVariables = {
  type OrgsSetPublicMembershipForAuthenticatedUserPathParams (line 17166) | type OrgsSetPublicMembershipForAuthenticatedUserPathParams = {
  type OrgsSetPublicMembershipForAuthenticatedUserError (line 17171) | type OrgsSetPublicMembershipForAuthenticatedUserError =
  type OrgsSetPublicMembershipForAuthenticatedUserVariables (line 17177) | type OrgsSetPublicMembershipForAuthenticatedUserVariables = {
  type ReposListForOrgPathParams (line 17234) | type ReposListForOrgPathParams = {
  type ReposListForOrgQueryParams (line 17238) | type ReposListForOrgQueryParams = {
  type ReposListForOrgError (line 17274) | type ReposListForOrgError = Fetcher.ErrorWrapper<undefined>;
  type ReposListForOrgResponse (line 17276) | type ReposListForOrgResponse = Schemas.MinimalRepository[];
  type ReposListForOrgVariables (line 17278) | type ReposListForOrgVariables = {
  type ReposCreateInOrgPathParams (line 17334) | type ReposCreateInOrgPathParams = {
  type ReposCreateInOrgError (line 17338) | type ReposCreateInOrgError = Fetcher.ErrorWrapper<
  type ReposCreateInOrgRequestBody (line 17349) | type ReposCreateInOrgRequestBody = {
  type ReposCreateInOrgVariables (line 17441) | type ReposCreateInOrgVariables = {
  type BillingGetGithubActionsBillingOrgPathParams (line 17501) | type BillingGetGithubActionsBillingOrgPathParams = {
  type BillingGetGithubActionsBillingOrgError (line 17505) | type BillingGetGithubActionsBillingOrgError =
  type BillingGetGithubActionsBillingOrgVariables (line 17508) | type BillingGetGithubActionsBillingOrgVariables = {
  type BillingGetGithubPackagesBillingOrgPathParams (line 17581) | type BillingGetGithubPackagesBillingOrgPathParams = {
  type BillingGetGithubPackagesBillingOrgError (line 17585) | type BillingGetGithubPackagesBillingOrgError =
  type BillingGetGithubPackagesBillingOrgVariables (line 17588) | type BillingGetGithubPackagesBillingOrgVariables = {
  type BillingGetSharedStorageBillingOrgPathParams (line 17661) | type BillingGetSharedStorageBillingOrgPathParams = {
  type BillingGetSharedStorageBillingOrgError (line 17665) | type BillingGetSharedStorageBillingOrgError =
  type BillingGetSharedStorageBillingOrgVariables (line 17668) | type BillingGetSharedStorageBillingOrgVariables = {
  type TeamsListIdpGroupsForOrgPathParams (line 17741) | type TeamsListIdpGroupsForOrgPathParams = {
  type TeamsListIdpGroupsForOrgQueryParams (line 17745) | type TeamsListIdpGroupsForOrgQueryParams = {
  type TeamsListIdpGroupsForOrgError (line 17758) | type TeamsListIdpGroupsForOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListIdpGroupsForOrgVariables (line 17760) | type TeamsListIdpGroupsForOrgVariables = {
  type TeamsListPathParams (line 17832) | type TeamsListPathParams = {
  type TeamsListQueryParams (line 17836) | type TeamsListQueryParams = {
  type TeamsListError (line 17851) | type TeamsListError = Fetcher.ErrorWrapper<{
  type TeamsListResponse (line 17856) | type TeamsListResponse = Schemas.Team[];
  type TeamsListVariables (line 17858) | type TeamsListVariables = {
  type TeamsCreatePathParams (line 17905) | type TeamsCreatePathParams = {
  type TeamsCreateError (line 17909) | type TeamsCreateError = Fetcher.ErrorWrapper<
  type TeamsCreateRequestBody (line 17920) | type TeamsCreateRequestBody = {
  type TeamsCreateVariables (line 17963) | type TeamsCreateVariables = {
  type TeamsDeleteInOrgPathParams (line 18013) | type TeamsDeleteInOrgPathParams = {
  type TeamsDeleteInOrgError (line 18021) | type TeamsDeleteInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsDeleteInOrgVariables (line 18023) | type TeamsDeleteInOrgVariables = {
  type TeamsGetByNamePathParams (line 18081) | type TeamsGetByNamePathParams = {
  type TeamsGetByNameError (line 18089) | type TeamsGetByNameError = Fetcher.ErrorWrapper<{
  type TeamsGetByNameVariables (line 18094) | type TeamsGetByNameVariables = {
  type TeamsUpdateInOrgPathParams (line 18150) | type TeamsUpdateInOrgPathParams = {
  type TeamsUpdateInOrgError (line 18158) | type TeamsUpdateInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsUpdateInOrgRequestBody (line 18160) | type TeamsUpdateInOrgRequestBody = {
  type TeamsUpdateInOrgVariables (line 18193) | type TeamsUpdateInOrgVariables = {
  type TeamsListDiscussionsInOrgPathParams (line 18248) | type TeamsListDiscussionsInOrgPathParams = {
  type TeamsListDiscussionsInOrgQueryParams (line 18256) | type TeamsListDiscussionsInOrgQueryParams = {
  type TeamsListDiscussionsInOrgError (line 18281) | type TeamsListDiscussionsInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListDiscussionsInOrgResponse (line 18283) | type TeamsListDiscussionsInOrgResponse = Schemas.TeamDiscussion[];
  type TeamsListDiscussionsInOrgVariables (line 18285) | type TeamsListDiscussionsInOrgVariables = {
  type TeamsCreateDiscussionInOrgPathParams (line 18355) | type TeamsCreateDiscussionInOrgPathParams = {
  type TeamsCreateDiscussionInOrgError (line 18363) | type TeamsCreateDiscussionInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsCreateDiscussionInOrgRequestBody (line 18365) | type TeamsCreateDiscussionInOrgRequestBody = {
  type TeamsCreateDiscussionInOrgVariables (line 18382) | type TeamsCreateDiscussionInOrgVariables = {
  type TeamsDeleteDiscussionInOrgPathParams (line 18441) | type TeamsDeleteDiscussionInOrgPathParams = {
  type TeamsDeleteDiscussionInOrgError (line 18450) | type TeamsDeleteDiscussionInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsDeleteDiscussionInOrgVariables (line 18452) | type TeamsDeleteDiscussionInOrgVariables = {
  type TeamsGetDiscussionInOrgPathParams (line 18506) | type TeamsGetDiscussionInOrgPathParams = {
  type TeamsGetDiscussionInOrgError (line 18515) | type TeamsGetDiscussionInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsGetDiscussionInOrgVariables (line 18517) | type TeamsGetDiscussionInOrgVariables = {
  type TeamsUpdateDiscussionInOrgPathParams (line 18581) | type TeamsUpdateDiscussionInOrgPathParams = {
  type TeamsUpdateDiscussionInOrgError (line 18590) | type TeamsUpdateDiscussionInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsUpdateDiscussionInOrgRequestBody (line 18592) | type TeamsUpdateDiscussionInOrgRequestBody = {
  type TeamsUpdateDiscussionInOrgVariables (line 18603) | type TeamsUpdateDiscussionInOrgVariables = {
  type TeamsListDiscussionCommentsInOrgPathParams (line 18658) | type TeamsListDiscussionCommentsInOrgPathParams = {
  type TeamsListDiscussionCommentsInOrgQueryParams (line 18667) | type TeamsListDiscussionCommentsInOrgQueryParams = {
  type TeamsListDiscussionCommentsInOrgError (line 18688) | type TeamsListDiscussionCommentsInOrgError =
  type TeamsListDiscussionCommentsInOrgResponse (line 18691) | type TeamsListDiscussionCommentsInOrgResponse =
  type TeamsListDiscussionCommentsInOrgVariables (line 18694) | type TeamsListDiscussionCommentsInOrgVariables = {
  type TeamsCreateDiscussionCommentInOrgPathParams (line 18764) | type TeamsCreateDiscussionCommentInOrgPathParams = {
  type TeamsCreateDiscussionCommentInOrgError (line 18773) | type TeamsCreateDiscussionCommentInOrgError =
  type TeamsCreateDiscussionCommentInOrgRequestBody (line 18776) | type TeamsCreateDiscussionCommentInOrgRequestBody = {
  type TeamsCreateDiscussionCommentInOrgVariables (line 18783) | type TeamsCreateDiscussionCommentInOrgVariables = {
  type TeamsDeleteDiscussionCommentInOrgPathParams (line 18845) | type TeamsDeleteDiscussionCommentInOrgPathParams = {
  type TeamsDeleteDiscussionCommentInOrgError (line 18855) | type TeamsDeleteDiscussionCommentInOrgError =
  type TeamsDeleteDiscussionCommentInOrgVariables (line 18858) | type TeamsDeleteDiscussionCommentInOrgVariables = {
  type TeamsGetDiscussionCommentInOrgPathParams (line 18915) | type TeamsGetDiscussionCommentInOrgPathParams = {
  type TeamsGetDiscussionCommentInOrgError (line 18925) | type TeamsGetDiscussionCommentInOrgError =
  type TeamsGetDiscussionCommentInOrgVariables (line 18928) | type TeamsGetDiscussionCommentInOrgVariables = {
  type TeamsUpdateDiscussionCommentInOrgPathParams (line 18997) | type TeamsUpdateDiscussionCommentInOrgPathParams = {
  type TeamsUpdateDiscussionCommentInOrgError (line 19007) | type TeamsUpdateDiscussionCommentInOrgError =
  type TeamsUpdateDiscussionCommentInOrgRequestBody (line 19010) | type TeamsUpdateDiscussionCommentInOrgRequestBody = {
  type TeamsUpdateDiscussionCommentInOrgVariables (line 19017) | type TeamsUpdateDiscussionCommentInOrgVariables = {
  type ReactionsListForTeamDiscussionCommentInOrgPathParams (line 19075) | type ReactionsListForTeamDiscussionCommentInOrgPathParams = {
  type ReactionsListForTeamDiscussionCommentInOrgQueryParams (line 19085) | type ReactionsListForTeamDiscussionCommentInOrgQueryParams = {
  type ReactionsListForTeamDiscussionCommentInOrgError (line 19112) | type ReactionsListForTeamDiscussionCommentInOrgError =
  type ReactionsListForTeamDiscussionCommentInOrgResponse (line 19115) | type ReactionsListForTeamDiscussionCommentInOrgResponse =
  type ReactionsListForTeamDiscussionCommentInOrgVariables (line 19118) | type ReactionsListForTeamDiscussionCommentInOrgVariables = {
  type ReactionsCreateForTeamDiscussionCommentInOrgPathParams (line 19188) | type ReactionsCreateForTeamDiscussionCommentInOrgPathParams = {
  type ReactionsCreateForTeamDiscussionCommentInOrgError (line 19198) | type ReactionsCreateForTeamDiscussionCommentInOrgError =
  type ReactionsCreateForTeamDiscussionCommentInOrgRequestBody (line 19201) | type ReactionsCreateForTeamDiscussionCommentInOrgRequestBody = {
  type ReactionsCreateForTeamDiscussionCommentInOrgVariables (line 19216) | type ReactionsCreateForTeamDiscussionCommentInOrgVariables = {
  type ReactionsDeleteForTeamDiscussionCommentPathParams (line 19274) | type ReactionsDeleteForTeamDiscussionCommentPathParams = {
  type ReactionsDeleteForTeamDiscussionCommentError (line 19285) | type ReactionsDeleteForTeamDiscussionCommentError =
  type ReactionsDeleteForTeamDiscussionCommentVariables (line 19288) | type ReactionsDeleteForTeamDiscussionCommentVariables = {
  type ReactionsListForTeamDiscussionInOrgPathParams (line 19345) | type ReactionsListForTeamDiscussionInOrgPathParams = {
  type ReactionsListForTeamDiscussionInOrgQueryParams (line 19354) | type ReactionsListForTeamDiscussionInOrgQueryParams = {
  type ReactionsListForTeamDiscussionInOrgError (line 19381) | type ReactionsListForTeamDiscussionInOrgError =
  type ReactionsListForTeamDiscussionInOrgResponse (line 19384) | type ReactionsListForTeamDiscussionInOrgResponse = Schemas.Reaction[];
  type ReactionsListForTeamDiscussionInOrgVariables (line 19386) | type ReactionsListForTeamDiscussionInOrgVariables = {
  type ReactionsCreateForTeamDiscussionInOrgPathParams (line 19456) | type ReactionsCreateForTeamDiscussionInOrgPathParams = {
  type ReactionsCreateForTeamDiscussionInOrgError (line 19465) | type ReactionsCreateForTeamDiscussionInOrgError =
  type ReactionsCreateForTeamDiscussionInOrgRequestBody (line 19468) | type ReactionsCreateForTeamDiscussionInOrgRequestBody = {
  type ReactionsCreateForTeamDiscussionInOrgVariables (line 19483) | type ReactionsCreateForTeamDiscussionInOrgVariables = {
  type ReactionsDeleteForTeamDiscussionPathParams (line 19541) | type ReactionsDeleteForTeamDiscussionPathParams = {
  type ReactionsDeleteForTeamDiscussionError (line 19551) | type ReactionsDeleteForTeamDiscussionError =
  type ReactionsDeleteForTeamDiscussionVariables (line 19554) | type ReactionsDeleteForTeamDiscussionVariables = {
  type TeamsListPendingInvitationsInOrgPathParams (line 19611) | type TeamsListPendingInvitationsInOrgPathParams = {
  type TeamsListPendingInvitationsInOrgQueryParams (line 19619) | type TeamsListPendingInvitationsInOrgQueryParams = {
  type TeamsListPendingInvitationsInOrgError (line 19634) | type TeamsListPendingInvitationsInOrgError =
  type TeamsListPendingInvitationsInOrgResponse (line 19637) | type TeamsListPendingInvitationsInOrgResponse =
  type TeamsListPendingInvitationsInOrgVariables (line 19640) | type TeamsListPendingInvitationsInOrgVariables = {
  type TeamsListMembersInOrgPathParams (line 19710) | type TeamsListMembersInOrgPathParams = {
  type TeamsListMembersInOrgQueryParams (line 19718) | type TeamsListMembersInOrgQueryParams = {
  type TeamsListMembersInOrgError (line 19742) | type TeamsListMembersInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListMembersInOrgResponse (line 19744) | type TeamsListMembersInOrgResponse = Schemas.SimpleUser[];
  type TeamsListMembersInOrgVariables (line 19746) | type TeamsListMembersInOrgVariables = {
  type TeamsRemoveMembershipForUserInOrgPathParams (line 19811) | type TeamsRemoveMembershipForUserInOrgPathParams = {
  type TeamsRemoveMembershipForUserInOrgError (line 19820) | type TeamsRemoveMembershipForUserInOrgError =
  type TeamsRemoveMembershipForUserInOrgVariables (line 19823) | type TeamsRemoveMembershipForUserInOrgVariables = {
  type TeamsGetMembershipForUserInOrgPathParams (line 19888) | type TeamsGetMembershipForUserInOrgPathParams = {
  type TeamsGetMembershipForUserInOrgError (line 19897) | type TeamsGetMembershipForUserInOrgError =
  type TeamsGetMembershipForUserInOrgVariables (line 19900) | type TeamsGetMembershipForUserInOrgVariables = {
  type TeamsAddOrUpdateMembershipForUserInOrgPathParams (line 19977) | type TeamsAddOrUpdateMembershipForUserInOrgPathParams = {
  type TeamsAddOrUpdateMembershipForUserInOrgError (line 19986) | type TeamsAddOrUpdateMembershipForUserInOrgError = Fetcher.ErrorWrapper<{
  type TeamsAddOrUpdateMembershipForUserInOrgRequestBody (line 19998) | type TeamsAddOrUpdateMembershipForUserInOrgRequestBody = {
  type TeamsAddOrUpdateMembershipForUserInOrgVariables (line 20009) | type TeamsAddOrUpdateMembershipForUserInOrgVariables = {
  type TeamsListProjectsInOrgPathParams (line 20083) | type TeamsListProjectsInOrgPathParams = {
  type TeamsListProjectsInOrgQueryParams (line 20091) | type TeamsListProjectsInOrgQueryParams = {
  type TeamsListProjectsInOrgError (line 20106) | type TeamsListProjectsInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListProjectsInOrgResponse (line 20108) | type TeamsListProjectsInOrgResponse = Schemas.TeamProject[];
  type TeamsListProjectsInOrgVariables (line 20110) | type TeamsListProjectsInOrgVariables = {
  type TeamsRemoveProjectInOrgPathParams (line 20177) | type TeamsRemoveProjectInOrgPathParams = {
  type TeamsRemoveProjectInOrgError (line 20186) | type TeamsRemoveProjectInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsRemoveProjectInOrgVariables (line 20188) | type TeamsRemoveProjectInOrgVariables = {
  type TeamsCheckPermissionsForProjectInOrgPathParams (line 20242) | type TeamsCheckPermissionsForProjectInOrgPathParams = {
  type TeamsCheckPermissionsForProjectInOrgError (line 20251) | type TeamsCheckPermissionsForProjectInOrgError =
  type TeamsCheckPermissionsForProjectInOrgVariables (line 20254) | type TeamsCheckPermissionsForProjectInOrgVariables = {
  type TeamsAddOrUpdateProjectPermissionsInOrgPathParams (line 20323) | type TeamsAddOrUpdateProjectPermissionsInOrgPathParams = {
  type TeamsAddOrUpdateProjectPermissionsInOrgError (line 20332) | type TeamsAddOrUpdateProjectPermissionsInOrgError =
  type TeamsAddOrUpdateProjectPermissionsInOrgVariables (line 20341) | type TeamsAddOrUpdateProjectPermissionsInOrgVariables = {
  type TeamsListReposInOrgPathParams (line 20417) | type TeamsListReposInOrgPathParams = {
  type TeamsListReposInOrgQueryParams (line 20425) | type TeamsListReposInOrgQueryParams = {
  type TeamsListReposInOrgError (line 20440) | type TeamsListReposInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListReposInOrgResponse (line 20442) | type TeamsListReposInOrgResponse = Schemas.MinimalRepository[];
  type TeamsListReposInOrgVariables (line 20444) | type TeamsListReposInOrgVariables = {
  type TeamsRemoveRepoInOrgPathParams (line 20509) | type TeamsRemoveRepoInOrgPathParams = {
  type TeamsRemoveRepoInOrgError (line 20519) | type TeamsRemoveRepoInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsRemoveRepoInOrgVariables (line 20521) | type TeamsRemoveRepoInOrgVariables = {
  type TeamsCheckPermissionsForRepoInOrgPathParams (line 20575) | type TeamsCheckPermissionsForRepoInOrgPathParams = {
  type TeamsCheckPermissionsForRepoInOrgError (line 20585) | type TeamsCheckPermissionsForRepoInOrgError =
  type TeamsCheckPermissionsForRepoInOrgVariables (line 20588) | type TeamsCheckPermissionsForRepoInOrgVariables = {
  type TeamsAddOrUpdateRepoPermissionsInOrgPathParams (line 20663) | type TeamsAddOrUpdateRepoPermissionsInOrgPathParams = {
  type TeamsAddOrUpdateRepoPermissionsInOrgError (line 20673) | type TeamsAddOrUpdateRepoPermissionsInOrgError =
  type TeamsAddOrUpdateRepoPermissionsInOrgRequestBody (line 20676) | type TeamsAddOrUpdateRepoPermissionsInOrgRequestBody = {
  type TeamsAddOrUpdateRepoPermissionsInOrgVariables (line 20690) | type TeamsAddOrUpdateRepoPermissionsInOrgVariables = {
  type TeamsListIdpGroupsInOrgPathParams (line 20752) | type TeamsListIdpGroupsInOrgPathParams = {
  type TeamsListIdpGroupsInOrgError (line 20760) | type TeamsListIdpGroupsInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListIdpGroupsInOrgVariables (line 20762) | type TeamsListIdpGroupsInOrgVariables = {
  type TeamsCreateOrUpdateIdpGroupConnectionsInOrgPathParams (line 20830) | type TeamsCreateOrUpdateIdpGroupConnectionsInOrgPathParams = {
  type TeamsCreateOrUpdateIdpGroupConnectionsInOrgError (line 20838) | type TeamsCreateOrUpdateIdpGroupConnectionsInOrgError =
  type TeamsCreateOrUpdateIdpGroupConnectionsInOrgRequestBody (line 20841) | type TeamsCreateOrUpdateIdpGroupConnectionsInOrgRequestBody = {
  type TeamsCreateOrUpdateIdpGroupConnectionsInOrgVariables (line 20861) | type TeamsCreateOrUpdateIdpGroupConnectionsInOrgVariables = {
  type TeamsListChildInOrgPathParams (line 20923) | type TeamsListChildInOrgPathParams = {
  type TeamsListChildInOrgQueryParams (line 20931) | type TeamsListChildInOrgQueryParams = {
  type TeamsListChildInOrgError (line 20946) | type TeamsListChildInOrgError = Fetcher.ErrorWrapper<undefined>;
  type TeamsListChildInOrgResponse (line 20948) | type TeamsListChildInOrgResponse = Schemas.Team[];
  type TeamsListChildInOrgVariables (line 20950) | type TeamsListChildInOrgVariables = {
  type ProjectsDeleteCardPathParams (line 21015) | type ProjectsDeleteCardPathParams = {
  type ProjectsDeleteCardError (line 21022) | type ProjectsDeleteCardError = Fetcher.ErrorWrapper<
  type ProjectsDeleteCardVariables (line 21045) | type ProjectsDeleteCardVariables = {
  type ProjectsGetCardPathParams (line 21089) | type ProjectsGetCardPathParams = {
  type ProjectsGetCardError (line 21096) | type ProjectsGetCardError = Fetcher.ErrorWrapper<
  type ProjectsGetCardVariables (line 21115) | type ProjectsGetCardVariables = {
  type ProjectsUpdateCardPathParams (line 21165) | type ProjectsUpdateCardPathParams = {
  type ProjectsUpdateCardError (line 21172) | type ProjectsUpdateCardError = Fetcher.ErrorWrapper<
  type ProjectsUpdateCardRequestBody (line 21195) | type ProjectsUpdateCardRequestBody = {
  type ProjectsUpdateCardVariables (line 21210) | type ProjectsUpdateCardVariables = {
  type ProjectsMoveCardPathParams (line 21255) | type ProjectsMoveCardPathParams = {
  type ProjectsMoveCardError (line 21262) | type ProjectsMoveCardError = Fetcher.ErrorWrapper<
  type ProjectsMoveCardRequestBody (line 21302) | type ProjectsMoveCardRequestBody = {
  type ProjectsMoveCardVariables (line 21318) | type ProjectsMoveCardVariables = {
  type ProjectsDeleteColumnPathParams (line 21363) | type ProjectsDeleteColumnPathParams = {
  type ProjectsDeleteColumnError (line 21370) | type ProjectsDeleteColumnError = Fetcher.ErrorWrapper<
  type ProjectsDeleteColumnVariables (line 21385) | type ProjectsDeleteColumnVariables = {
  type ProjectsGetColumnPathParams (line 21429) | type ProjectsGetColumnPathParams = {
  type ProjectsGetColumnError (line 21436) | type ProjectsGetColumnError = Fetcher.ErrorWrapper<
  type ProjectsGetColumnVariables (line 21455) | type ProjectsGetColumnVariables = {
  type ProjectsUpdateColumnPathParams (line 21509) | type ProjectsUpdateColumnPathParams = {
  type ProjectsUpdateColumnError (line 21516) | type ProjectsUpdateColumnError = Fetcher.ErrorWrapper<
  type ProjectsUpdateColumnRequestBody (line 21531) | type ProjectsUpdateColumnRequestBody = {
  type ProjectsUpdateColumnVariables (line 21540) | type ProjectsUpdateColumnVariables = {
  type ProjectsListCardsPathParams (line 21585) | type ProjectsListCardsPathParams = {
  type ProjectsListCardsQueryParams (line 21592) | type ProjectsListCardsQueryParams = {
  type ProjectsListCardsError (line 21613) | type ProjectsListCardsError = Fetcher.ErrorWrapper<
  type ProjectsListCardsResponse (line 21628) | type ProjectsListCardsResponse = Schemas.ProjectCard[];
  type ProjectsListCardsVariables (line 21630) | type ProjectsListCardsVariables = {
  type ProjectsCreateCardPathParams (line 21685) | type ProjectsCreateCardPathParams = {
  type ProjectsCreateCardError (line 21692) | type ProjectsCreateCardError = Fetcher.ErrorWrapper<
  type ProjectsCreateCardVariables (line 21723) | type ProjectsCreateCardVariables = {
  type ProjectsMoveColumnPathParams (line 21821) | type ProjectsMoveColumnPathParams = {
  type ProjectsMoveColumnError (line 21828) | type ProjectsMoveColumnError = Fetcher.ErrorWrapper<
  type ProjectsMoveColumnRequestBody (line 21847) | type ProjectsMoveColumnRequestBody = {
  type ProjectsMoveColumnVariables (line 21857) | type ProjectsMoveColumnVariables = {
  type ProjectsDeletePathParams (line 21902) | type ProjectsDeletePathParams = {
  type ProjectsDeleteError (line 21906) | type ProjectsDeleteError = Fetcher.ErrorWrapper<
  type ProjectsDeleteVariables (line 21933) | type ProjectsDeleteVariables = {
  type ProjectsGetPathParams (line 21978) | type ProjectsGetPathParams = {
  type ProjectsGetError (line 21982) | type ProjectsGetError = Fetcher.ErrorWrapper<
  type ProjectsGetVariables (line 21997) | type ProjectsGetVariables = {
  type ProjectsUpdatePathParams (line 22044) | type ProjectsUpdatePathParams = {
  type ProjectsUpdateError (line 22048) | type ProjectsUpdateError = Fetcher.ErrorWrapper<
  type ProjectsUpdateRequestBody (line 22075) | type ProjectsUpdateRequestBody = {
  type ProjectsUpdateVariables (line 22104) | type ProjectsUpdateVariables = {
  type ProjectsListCollaboratorsPathParams (line 22150) | type ProjectsListCollaboratorsPathParams = {
  type ProjectsListCollaboratorsQueryParams (line 22154) | type ProjectsListCollaboratorsQueryParams = {
  type ProjectsListCollaboratorsError (line 22178) | type ProjectsListCollaboratorsError = Fetcher.ErrorWrapper<
  type ProjectsListCollaboratorsResponse (line 22205) | type ProjectsListCollaboratorsResponse = Schemas.SimpleUser[];
  type ProjectsListCollaboratorsVariables (line 22207) | type ProjectsListCollaboratorsVariables = {
  type ProjectsRemoveCollaboratorPathParams (line 22273) | type ProjectsRemoveCollaboratorPathParams = {
  type ProjectsRemoveCollaboratorError (line 22278) | type ProjectsRemoveCollaboratorError = Fetcher.ErrorWrapper<
  type ProjectsRemoveCollaboratorVariables (line 22305) | type ProjectsRemoveCollaboratorVariables = {
  type ProjectsAddCollaboratorPathParams (line 22355) | type ProjectsAddCollaboratorPathParams = {
  type ProjectsAddCollaboratorError (line 22360) | type ProjectsAddCollaboratorError = Fetcher.ErrorWrapper<
  type ProjectsAddCollaboratorRequestBody (line 22387) | type ProjectsAddCollaboratorRequestBody = {
  type ProjectsAddCollaboratorVariables (line 22397) | type ProjectsAddCollaboratorVariables = {
  type ProjectsGetPermissionForUserPathParams (line 22448) | type ProjectsGetPermissionForUserPathParams = {
  type ProjectsGetPermissionForUserError (line 22453) | type ProjectsGetPermissionForUserError = Fetcher.ErrorWrapper<
  type ProjectsGetPermissionForUserVariables (line 22480) | type ProjectsGetPermissionForUserVariables = {
  type ProjectsListColumnsPathParams (line 22545) | type ProjectsListColumnsPathParams = {
  type ProjectsListColumnsQueryParams (line 22549) | type ProjectsListColumnsQueryParams = {
  type ProjectsListColumnsError (line 22564) | type ProjectsListColumnsError = Fetcher.ErrorWrapper<
  type ProjectsListColumnsResponse (line 22579) | type ProjectsListColumnsResponse = Schemas.ProjectColumn[];
  type ProjectsListColumnsVariables (line 22581) | type ProjectsListColumnsVariables = {
  type ProjectsCreateColumnPathParams (line 22636) | type ProjectsCreateColumnPathParams = {
  type ProjectsCreateColumnError (line 22640) | type ProjectsCreateColumnError = Fetcher.ErrorWrapper<
  type ProjectsCreateColumnRequestBody (line 22659) | type ProjectsCreateColumnRequestBody = {
  type ProjectsCreateColumnVariables (line 22668) | type ProjectsCreateColumnVariables = {
  type RateLimitGetError (line 22713) | type RateLimitGetError = Fetcher.ErrorWrapper<
  type RateLimitGetVariables (line 22724) | type RateLimitGetVariables = GithubContext['fetcherOptions'];
  type ReactionsDeleteLegacyPathParams (line 22777) | type ReactionsDeleteLegacyPathParams = {
  type ReactionsDeleteLegacyError (line 22781) | type ReactionsDeleteLegacyError = Fetcher.ErrorWrapper<
  type ReactionsDeleteLegacyVariables (line 22804) | type ReactionsDeleteLegacyVariables = {
  type ReposDeletePathParams (line 22853) | type ReposDeletePathParams = {
  type ReposDeleteError (line 22858) | type ReposDeleteError = Fetcher.ErrorWrapper<
  type ReposDeleteVariables (line 22872) | type ReposDeleteVariables = {
  type ReposGetPathParams (line 22923) | type ReposGetPathParams = {
  type ReposGetError (line 22928) | type ReposGetError = Fetcher.ErrorWrapper<
  type ReposGetVariables (line 22943) | type ReposGetVariables = {
  type ReposUpdatePathParams (line 22993) | type ReposUpdatePathParams = {
  type ReposUpdateError (line 22998) | type ReposUpdateError = Fetcher.ErrorWrapper<
  type ReposUpdateRequestBody (line 23013) | type ReposUpdateRequestBody = {
  type ReposUpdateVariables (line 23097) | type ReposUpdateVariables = {
  type ActionsListArtifactsForRepoPathParams (line 23143) | type ActionsListArtifactsForRepoPathParams = {
  type ActionsListArtifactsForRepoQueryParams (line 23148) | type ActionsListArtifactsForRepoQueryParams = {
  type ActionsListArtifactsForRepoError (line 23163) | type ActionsListArtifactsForRepoError = Fetcher.ErrorWrapper<undefined>;
  type ActionsListArtifactsForRepoResponse (line 23165) | type ActionsListArtifactsForRepoResponse = {
  type ActionsListArtifactsForRepoVariables (line 23170) | type ActionsListArtifactsForRepoVariables = {
  type ActionsDeleteArtifactPathParams (line 23236) | type ActionsDeleteArtifactPathParams = {
  type ActionsDeleteArtifactError (line 23245) | type ActionsDeleteArtifactError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDeleteArtifactVariables (line 23247) | type ActionsDeleteArtifactVariables = {
  type ActionsGetArtifactPathParams (line 23297) | type ActionsGetArtifactPathParams = {
  type ActionsGetArtifactError (line 23306) | type ActionsGetArtifactError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetArtifactVariables (line 23308) | type ActionsGetArtifactVariables = {
  type ActionsDownloadArtifactPathParams (line 23364) | type ActionsDownloadArtifactPathParams = {
  type ActionsDownloadArtifactError (line 23374) | type ActionsDownloadArtifactError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDownloadArtifactVariables (line 23376) | type ActionsDownloadArtifactVariables = {
  type ActionsGetJobForWorkflowRunPathParams (line 23434) | type ActionsGetJobForWorkflowRunPathParams = {
  type ActionsGetJobForWorkflowRunError (line 23443) | type ActionsGetJobForWorkflowRunError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetJobForWorkflowRunVariables (line 23445) | type ActionsGetJobForWorkflowRunVariables = {
  type ActionsDownloadJobLogsForWorkflowRunPathParams (line 23508) | type ActionsDownloadJobLogsForWorkflowRunPathParams = {
  type ActionsDownloadJobLogsForWorkflowRunError (line 23517) | type ActionsDownloadJobLogsForWorkflowRunError =
  type ActionsDownloadJobLogsForWorkflowRunVariables (line 23520) | type ActionsDownloadJobLogsForWorkflowRunVariables = {
  type ActionsGetGithubActionsPermissionsRepositoryPathParams (line 23589) | type ActionsGetGithubActionsPermissionsRepositoryPathParams = {
  type ActionsGetGithubActionsPermissionsRepositoryError (line 23594) | type ActionsGetGithubActionsPermissionsRepositoryError =
  type ActionsGetGithubActionsPermissionsRepositoryVariables (line 23597) | type ActionsGetGithubActionsPermissionsRepositoryVariables = {
  type ActionsSetGithubActionsPermissionsRepositoryPathParams (line 23668) | type ActionsSetGithubActionsPermissionsRepositoryPathParams = {
  type ActionsSetGithubActionsPermissionsRepositoryError (line 23673) | type ActionsSetGithubActionsPermissionsRepositoryError =
  type ActionsSetGithubActionsPermissionsRepositoryRequestBody (line 23676) | type ActionsSetGithubActionsPermissionsRepositoryRequestBody = {
  type ActionsSetGithubActionsPermissionsRepositoryVariables (line 23681) | type ActionsSetGithubActionsPermissionsRepositoryVariables = {
  type ActionsGetAllowedActionsRepositoryPathParams (line 23743) | type ActionsGetAllowedActionsRepositoryPathParams = {
  type ActionsGetAllowedActionsRepositoryError (line 23748) | type ActionsGetAllowedActionsRepositoryError =
  type ActionsGetAllowedActionsRepositoryVariables (line 23751) | type ActionsGetAllowedActionsRepositoryVariables = {
  type ActionsSetAllowedActionsRepositoryPathParams (line 23820) | type ActionsSetAllowedActionsRepositoryPathParams = {
  type ActionsSetAllowedActionsRepositoryError (line 23825) | type ActionsSetAllowedActionsRepositoryError =
  type ActionsSetAllowedActionsRepositoryVariables (line 23828) | type ActionsSetAllowedActionsRepositoryVariables = {
  type ActionsListSelfHostedRunnersForRepoPathParams (line 23894) | type ActionsListSelfHostedRunnersForRepoPathParams = {
  type ActionsListSelfHostedRunnersForRepoQueryParams (line 23899) | type ActionsListSelfHostedRunnersForRepoQueryParams = {
  type ActionsListSelfHostedRunnersForRepoError (line 23914) | type ActionsListSelfHostedRunnersForRepoError =
  type ActionsListSelfHostedRunnersForRepoResponse (line 23917) | type ActionsListSelfHostedRunnersForRepoResponse = {
  type ActionsListSelfHostedRunnersForRepoVariables (line 23922) | type ActionsListSelfHostedRunnersForRepoVariables = {
  type ActionsListRunnerApplicationsForRepoPathParams (line 23988) | type ActionsListRunnerApplicationsForRepoPathParams = {
  type ActionsListRunnerApplicationsForRepoError (line 23993) | type ActionsListRunnerApplicationsForRepoError =
  type ActionsListRunnerApplicationsForRepoResponse (line 23996) | type ActionsListRunnerApplicationsForRepoResponse =
  type ActionsListRunnerApplicationsForRepoVariables (line 23999) | type ActionsListRunnerApplicationsForRepoVariables = {
  type ActionsCreateRegistrationTokenForRepoPathParams (line 24068) | type ActionsCreateRegistrationTokenForRepoPathParams = {
  type ActionsCreateRegistrationTokenForRepoError (line 24073) | type ActionsCreateRegistrationTokenForRepoError =
  type ActionsCreateRegistrationTokenForRepoVariables (line 24076) | type ActionsCreateRegistrationTokenForRepoVariables = {
  type ActionsCreateRemoveTokenForRepoPathParams (line 24147) | type ActionsCreateRemoveTokenForRepoPathParams = {
  type ActionsCreateRemoveTokenForRepoError (line 24152) | type ActionsCreateRemoveTokenForRepoError =
  type ActionsCreateRemoveTokenForRepoVariables (line 24155) | type ActionsCreateRemoveTokenForRepoVariables = {
  type ActionsDeleteSelfHostedRunnerFromRepoPathParams (line 24223) | type ActionsDeleteSelfHostedRunnerFromRepoPathParams = {
  type ActionsDeleteSelfHostedRunnerFromRepoError (line 24232) | type ActionsDeleteSelfHostedRunnerFromRepoError =
  type ActionsDeleteSelfHostedRunnerFromRepoVariables (line 24235) | type ActionsDeleteSelfHostedRunnerFromRepoVariables = {
  type ActionsGetSelfHostedRunnerForRepoPathParams (line 24294) | type ActionsGetSelfHostedRunnerForRepoPathParams = {
  type ActionsGetSelfHostedRunnerForRepoError (line 24303) | type ActionsGetSelfHostedRunnerForRepoError =
  type ActionsGetSelfHostedRunnerForRepoVariables (line 24306) | type ActionsGetSelfHostedRunnerForRepoVariables = {
  type ActionsListWorkflowRunsForRepoPathParams (line 24375) | type ActionsListWorkflowRunsForRepoPathParams = {
  type ActionsListWorkflowRunsForRepoQueryParams (line 24380) | type ActionsListWorkflowRunsForRepoQueryParams = {
  type ActionsListWorkflowRunsForRepoError (line 24424) | type ActionsListWorkflowRunsForRepoError =
  type ActionsListWorkflowRunsForRepoResponse (line 24427) | type ActionsListWorkflowRunsForRepoResponse = {
  type ActionsListWorkflowRunsForRepoVariables (line 24432) | type ActionsListWorkflowRunsForRepoVariables = {
  type ActionsDeleteWorkflowRunPathParams (line 24502) | type ActionsDeleteWorkflowRunPathParams = {
  type ActionsDeleteWorkflowRunError (line 24511) | type ActionsDeleteWorkflowRunError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDeleteWorkflowRunVariables (line 24513) | type ActionsDeleteWorkflowRunVariables = {
  type ActionsGetWorkflowRunPathParams (line 24567) | type ActionsGetWorkflowRunPathParams = {
  type ActionsGetWorkflowRunError (line 24576) | type ActionsGetWorkflowRunError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetWorkflowRunVariables (line 24578) | type ActionsGetWorkflowRunVariables = {
  type ActionsGetReviewsForRunPathParams (line 24638) | type ActionsGetReviewsForRunPathParams = {
  type ActionsGetReviewsForRunError (line 24647) | type ActionsGetReviewsForRunError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetReviewsForRunResponse (line 24649) | type ActionsGetReviewsForRunResponse = Schemas.EnvironmentApprovals[];
  type ActionsGetReviewsForRunVariables (line 24651) | type ActionsGetReviewsForRunVariables = {
  type ActionsListWorkflowRunArtifactsPathParams (line 24713) | type ActionsListWorkflowRunArtifactsPathParams = {
  type ActionsListWorkflowRunArtifactsQueryParams (line 24722) | type ActionsListWorkflowRunArtifactsQueryParams = {
  type ActionsListWorkflowRunArtifactsError (line 24737) | type ActionsListWorkflowRunArtifactsError =
  type ActionsListWorkflowRunArtifactsResponse (line 24740) | type ActionsListWorkflowRunArtifactsResponse = {
  type ActionsListWorkflowRunArtifactsVariables (line 24745) | type ActionsListWorkflowRunArtifactsVariables = {
  type ActionsCancelWorkflowRunPathParams (line 24811) | type ActionsCancelWorkflowRunPathParams = {
  type ActionsCancelWorkflowRunError (line 24820) | type ActionsCancelWorkflowRunError = Fetcher.ErrorWrapper<undefined>;
  type ActionsCancelWorkflowRunVariables (line 24822) | type ActionsCancelWorkflowRunVariables = {
  type ActionsListJobsForWorkflowRunPathParams (line 24872) | type ActionsListJobsForWorkflowRunPathParams = {
  type ActionsListJobsForWorkflowRunQueryParams (line 24881) | type ActionsListJobsForWorkflowRunQueryParams = {
  type ActionsListJobsForWorkflowRunError (line 24904) | type ActionsListJobsForWorkflowRunError =
  type ActionsListJobsForWorkflowRunResponse (line 24907) | type ActionsListJobsForWorkflowRunResponse = {
  type ActionsListJobsForWorkflowRunVariables (line 24912) | type ActionsListJobsForWorkflowRunVariables = {
  type ActionsDeleteWorkflowRunLogsPathParams (line 24978) | type ActionsDeleteWorkflowRunLogsPathParams = {
  type ActionsDeleteWorkflowRunLogsError (line 24987) | type ActionsDeleteWorkflowRunLogsError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDeleteWorkflowRunLogsVariables (line 24989) | type ActionsDeleteWorkflowRunLogsVariables = {
  type ActionsDownloadWorkflowRunLogsPathParams (line 25039) | type ActionsDownloadWorkflowRunLogsPathParams = {
  type ActionsDownloadWorkflowRunLogsError (line 25048) | type ActionsDownloadWorkflowRunLogsError =
  type ActionsDownloadWorkflowRunLogsVariables (line 25051) | type ActionsDownloadWorkflowRunLogsVariables = {
  type ActionsGetPendingDeploymentsForRunPathParams (line 25120) | type ActionsGetPendingDeploymentsForRunPathParams = {
  type ActionsGetPendingDeploymentsForRunError (line 25129) | type ActionsGetPendingDeploymentsForRunError =
  type ActionsGetPendingDeploymentsForRunResponse (line 25132) | type ActionsGetPendingDeploymentsForRunResponse =
  type ActionsGetPendingDeploymentsForRunVariables (line 25135) | type ActionsGetPendingDeploymentsForRunVariables = {
  type ActionsReviewPendingDeploymentsForRunPathParams (line 25204) | type ActionsReviewPendingDeploymentsForRunPathParams = {
  type ActionsReviewPendingDeploymentsForRunError (line 25213) | type ActionsReviewPendingDeploymentsForRunError =
  type ActionsReviewPendingDeploymentsForRunResponse (line 25216) | type ActionsReviewPendingDeploymentsForRunResponse =
  type ActionsReviewPendingDeploymentsForRunRequestBody (line 25219) | type ActionsReviewPendingDeploymentsForRunRequestBody = {
  type ActionsReviewPendingDeploymentsForRunVariables (line 25241) | type ActionsReviewPendingDeploymentsForRunVariables = {
  type ActionsReRunWorkflowPathParams (line 25299) | type ActionsReRunWorkflowPathParams = {
  type ActionsReRunWorkflowError (line 25308) | type ActionsReRunWorkflowError = Fetcher.ErrorWrapper<undefined>;
  type ActionsReRunWorkflowVariables (line 25310) | type ActionsReRunWorkflowVariables = {
  type ActionsGetWorkflowRunUsagePathParams (line 25360) | type ActionsGetWorkflowRunUsagePathParams = {
  type ActionsGetWorkflowRunUsageError (line 25369) | type ActionsGetWorkflowRunUsageError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetWorkflowRunUsageVariables (line 25371) | type ActionsGetWorkflowRunUsageVariables = {
  type ActionsListRepoSecretsPathParams (line 25438) | type ActionsListRepoSecretsPathParams = {
  type ActionsListRepoSecretsQueryParams (line 25443) | type ActionsListRepoSecretsQueryParams = {
  type ActionsListRepoSecretsError (line 25458) | type ActionsListRepoSecretsError = Fetcher.ErrorWrapper<undefined>;
  type ActionsListRepoSecretsResponse (line 25460) | type ActionsListRepoSecretsResponse = {
  type ActionsListRepoSecretsVariables (line 25465) | type ActionsListRepoSecretsVariables = {
  type ActionsGetRepoPublicKeyPathParams (line 25528) | type ActionsGetRepoPublicKeyPathParams = {
  type ActionsGetRepoPublicKeyError (line 25533) | type ActionsGetRepoPublicKeyError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetRepoPublicKeyVariables (line 25535) | type ActionsGetRepoPublicKeyVariables = {
  type ActionsDeleteRepoSecretPathParams (line 25595) | type ActionsDeleteRepoSecretPathParams = {
  type ActionsDeleteRepoSecretError (line 25604) | type ActionsDeleteRepoSecretError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDeleteRepoSecretVariables (line 25606) | type ActionsDeleteRepoSecretVariables = {
  type ActionsGetRepoSecretPathParams (line 25656) | type ActionsGetRepoSecretPathParams = {
  type ActionsGetRepoSecretError (line 25665) | type ActionsGetRepoSecretError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetRepoSecretVariables (line 25667) | type ActionsGetRepoSecretVariables = {
  type ActionsCreateOrUpdateRepoSecretPathParams (line 25727) | type ActionsCreateOrUpdateRepoSecretPathParams = {
  type ActionsCreateOrUpdateRepoSecretError (line 25736) | type ActionsCreateOrUpdateRepoSecretError =
  type ActionsCreateOrUpdateRepoSecretRequestBody (line 25739) | type ActionsCreateOrUpdateRepoSecretRequestBody = {
  type ActionsCreateOrUpdateRepoSecretVariables (line 25752) | type ActionsCreateOrUpdateRepoSecretVariables = {
  type ActionsListRepoWorkflowsPathParams (line 25951) | type ActionsListRepoWorkflowsPathParams = {
  type ActionsListRepoWorkflowsQueryParams (line 25956) | type ActionsListRepoWorkflowsQueryParams = {
  type ActionsListRepoWorkflowsError (line 25971) | type ActionsListRepoWorkflowsError = Fetcher.ErrorWrapper<undefined>;
  type ActionsListRepoWorkflowsResponse (line 25973) | type ActionsListRepoWorkflowsResponse = {
  type ActionsListRepoWorkflowsVariables (line 25978) | type ActionsListRepoWorkflowsVariables = {
  type ActionsGetWorkflowPathParams (line 26044) | type ActionsGetWorkflowPathParams = {
  type ActionsGetWorkflowError (line 26053) | type ActionsGetWorkflowError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetWorkflowVariables (line 26055) | type ActionsGetWorkflowVariables = {
  type ActionsDisableWorkflowPathParams (line 26111) | type ActionsDisableWorkflowPathParams = {
  type ActionsDisableWorkflowError (line 26120) | type ActionsDisableWorkflowError = Fetcher.ErrorWrapper<undefined>;
  type ActionsDisableWorkflowVariables (line 26122) | type ActionsDisableWorkflowVariables = {
  type ActionsCreateWorkflowDispatchPathParams (line 26176) | type ActionsCreateWorkflowDispatchPathParams = {
  type ActionsCreateWorkflowDispatchError (line 26185) | type ActionsCreateWorkflowDispatchError =
  type ActionsCreateWorkflowDispatchRequestBody (line 26188) | type ActionsCreateWorkflowDispatchRequestBody = {
  type ActionsCreateWorkflowDispatchVariables (line 26203) | type ActionsCreateWorkflowDispatchVariables = {
  type ActionsEnableWorkflowPathParams (line 26262) | type ActionsEnableWorkflowPathParams = {
  type ActionsEnableWorkflowError (line 26271) | type ActionsEnableWorkflowError = Fetcher.ErrorWrapper<undefined>;
  type ActionsEnableWorkflowVariables (line 26273) | type ActionsEnableWorkflowVariables = {
  type ActionsListWorkflowRunsPathParams (line 26327) | type ActionsListWorkflowRunsPathParams = {
  type ActionsListWorkflowRunsQueryParams (line 26336) | type ActionsListWorkflowRunsQueryParams = {
  type ActionsListWorkflowRunsError (line 26380) | type ActionsListWorkflowRunsError = Fetcher.ErrorWrapper<undefined>;
  type ActionsListWorkflowRunsResponse (line 26382) | type ActionsListWorkflowRunsResponse = {
  type ActionsListWorkflowRunsVariables (line 26387) | type ActionsListWorkflowRunsVariables = {
  type ActionsGetWorkflowUsagePathParams (line 26454) | type ActionsGetWorkflowUsagePathParams = {
  type ActionsGetWorkflowUsageError (line 26463) | type ActionsGetWorkflowUsageError = Fetcher.ErrorWrapper<undefined>;
  type ActionsGetWorkflowUsageVariables (line 26465) | type ActionsGetWorkflowUsageVariables = {
  type IssuesListAssigneesPathParams (line 26529) | type IssuesListAssigneesPathParams = {
  type IssuesListAssigneesQueryParams (line 26534) | type IssuesListAssigneesQueryParams = {
  type IssuesListAssigneesError (line 26549) | type IssuesListAssigneesError = Fetcher.ErrorWrapper<{
  type IssuesListAssigneesResponse (line 26554) | type IssuesListAssigneesResponse = Schemas.SimpleUser[];
  type IssuesListAssigneesVariables (line 26556) | type IssuesListAssigneesVariables = {
  type IssuesCheckUserCanBeAssignedPathParams (line 26617) | type IssuesCheckUserCanBeAssignedPathParams = {
  type IssuesCheckUserCanBeAssignedError (line 26623) | type IssuesCheckUserCanBeAssignedError = Fetcher.ErrorWrapper<{
  type IssuesCheckUserCanBeAssignedVariables (line 26628) | type IssuesCheckUserCanBeAssignedVariables = {
  type ReposDisableAutomatedSecurityFixesPathParams (line 26699) | type ReposDisableAutomatedSecurityFixesPathParams = {
  type ReposDisableAutomatedSecurityFixesError (line 26704) | type ReposDisableAutomatedSecurityFixesError =
  type ReposDisableAutomatedSecurityFixesVariables (line 26707) | type ReposDisableAutomatedSecurityFixesVariables = {
  type ReposEnableAutomatedSecurityFixesPathParams (line 26760) | type ReposEnableAutomatedSecurityFixesPathParams = {
  type ReposEnableAutomatedSecurityFixesError (line 26765) | type ReposEnableAutomatedSecurityFixesError =
  type ReposEnableAutomatedSecurityFixesVariables (line 26768) | type ReposEnableAutomatedSecurityFixesVariables = {
  type ReposListBranchesPathParams (line 26821) | type ReposListBranchesPathParams = {
  type ReposListBranchesQueryParams (line 26826) | type ReposListBranchesQueryParams = {
  type ReposListBranchesError (line 26845) | type ReposListBranchesError = Fetcher.ErrorWrapper<{
  type ReposListBranchesResponse (line 26850) | type ReposListBranchesResponse = Schemas.ShortBranch[];
  type ReposListBranchesVariables (line 26852) | type ReposListBranchesVariables = {
  type ReposGetBranchPathParams (line 26907) | type ReposGetBranchPathParams = {
  type ReposGetBranchError (line 26916) | type ReposGetBranchError = Fetcher.ErrorWrapper<
  type ReposGetBranchVariables (line 26927) | type ReposGetBranchVariables = {
  type ReposDeleteBranchProtectionPathParams (line 26981) | type ReposDeleteBranchProtectionPathParams = {
  type ReposDeleteBranchProtectionError (line 26990) | type ReposDeleteBranchProtectionError = Fetcher.ErrorWrapper<{
  type ReposDeleteBranchProtectionVariables (line 26995) | type ReposDeleteBranchProtectionVariables = {
  type ReposGetBranchProtectionPathParams (line 27045) | type ReposGetBranchProtectionPathParams = {
  type ReposGetBranchProtectionError (line 27054) | type ReposGetBranchProtectionError = Fetcher.ErrorWrapper<{
  type ReposGetBranchProtectionVariables (line 27059) | type ReposGetBranchProtectionVariables = {
  type ReposUpdateBranchProtectionPathParams (line 27122) | type ReposUpdateBranchProtectionPathParams = {
  type ReposUpdateBranchProtectionError (line 27131) | type ReposUpdateBranchProtectionError = Fetcher.ErrorWrapper<
  type ReposUpdateBranchProtectionRequestBody (line 27150) | type ReposUpdateBranchProtectionRequestBody = {
  type ReposUpdateBranchProtectionVariables (line 27229) | type ReposUpdateBranchProtectionVariables = {
  type ReposDeleteAdminBranchProtectionPathParams (line 27292) | type ReposDeleteAdminBranchProtectionPathParams = {
  type ReposDeleteAdminBranchProtectionError (line 27301) | type ReposDeleteAdminBranchProtectionError = Fetcher.ErrorWrapper<{
  type ReposDeleteAdminBranchProtectionVariables (line 27306) | type ReposDeleteAdminBranchProtectionVariables = {
  type ReposGetAdminBranchProtectionPathParams (line 27363) | type ReposGetAdminBranchProtectionPathParams = {
  type ReposGetAdminBranchProtectionError (line 27372) | type ReposGetAdminBranchProtectionError =
  type ReposGetAdminBranchProtectionVariables (line 27375) | type ReposGetAdminBranchProtectionVariables = {
  type ReposSetAdminBranchProtectionPathParams (line 27440) | type ReposSetAdminBranchProtectionPathParams = {
  type ReposSetAdminBranchProtectionError (line 27449) | type ReposSetAdminBranchProtectionError =
  type ReposSetAdminBranchProtectionVariables (line 27452) | type ReposSetAdminBranchProtectionVariables = {
  type ReposDeletePullRequestReviewProtectionPathParams (line 27506) | type ReposDeletePullRequestReviewProtectionPathParams = {
  type ReposDeletePullRequestReviewProtectionError (line 27515) | type ReposDeletePullRequestReviewProtectionError = Fetcher.ErrorWrapper<{
  type ReposDeletePullRequestReviewProtectionVariables (line 27520) | type ReposDeletePullRequestReviewProtectionVariables = {
  type ReposGetPullRequestReviewProtectionPathParams (line 27573) | type ReposGetPullRequestReviewProtectionPathParams = {
  type ReposGetPullRequestReviewProtectionError (line 27582) | type ReposGetPullRequestReviewProtectionError =
  type ReposGetPullRequestReviewProtectionVariables (line 27585) | type ReposGetPullRequestReviewProtectionVariables = {
  type ReposUpdatePullRequestReviewProtectionPathParams (line 27648) | type ReposUpdatePullRequestReviewProtectionPathParams = {
  type ReposUpdatePullRequestReviewProtectionError (line 27657) | type ReposUpdatePullRequestReviewProtectionError = Fetcher.ErrorWrapper<{
  type ReposUpdatePullRequestReviewProtectionRequestBody (line 27662) | type ReposUpdatePullRequestReviewProtectionRequestBody = {
  type ReposUpdatePullRequestReviewProtectionVariables (line 27690) | type ReposUpdatePullRequestReviewProtectionVariables = {
  type ReposDeleteCommitSignatureProtectionPathParams (line 27752) | type ReposDeleteCommitSignatureProtectionPathParams = {
  type ReposDeleteCommitSignatureProtectionError (line 27761) | type ReposDeleteCommitSignatureProtectionError = Fetcher.ErrorWrapper<{
  type ReposDeleteCommitSignatureProtectionVariables (line 27766) | type ReposDeleteCommitSignatureProtectionVariables = {
  type ReposGetCommitSignatureProtectionPathParams (line 27823) | type ReposGetCommitSignatureProtectionPathParams = {
  type ReposGetCommitSignatureProtectionError (line 27832) | type ReposGetCommitSignatureProtectionError = Fetcher.ErrorWrapper<{
  type ReposGetCommitSignatureProtectionVariables (line 27837) | type ReposGetCommitSignatureProtectionVariables = {
  type ReposCreateCommitSignatureProtectionPathParams (line 27910) | type ReposCreateCommitSignatureProtectionPathParams = {
  type ReposCreateCommitSignatureProtectionError (line 27919) | type ReposCreateCommitSignatureProtectionError = Fetcher.ErrorWrapper<{
  type ReposCreateCommitSignatureProtectionVariables (line 27924) | type ReposCreateCommitSignatureProtectionVariables = {
  type ReposRemoveStatusCheckProtectionPathParams (line 27981) | type ReposRemoveStatusCheckProtectionPathParams = {
  type ReposRemoveStatusCheckProtectionError (line 27990) | type ReposRemoveStatusCheckProtectionError =
  type ReposRemoveStatusCheckProtectionVariables (line 27993) | type ReposRemoveStatusCheckProtectionVariables = {
  type ReposGetStatusChecksProtectionPathParams (line 28046) | type ReposGetStatusChecksProtectionPathParams = {
  type ReposGetStatusChecksProtectionError (line 28055) | type ReposGetStatusChecksProtectionError = Fetcher.ErrorWrapper<{
  type ReposGetStatusChecksProtectionVariables (line 28060) | type ReposGetStatusChecksProtectionVariables = {
  type ReposUpdateStatusCheckProtectionPathParams (line 28125) | type ReposUpdateStatusCheckProtectionPathParams = {
  type ReposUpdateStatusCheckProtectionError (line 28134) | type ReposUpdateStatusCheckProtectionError = Fetcher.ErrorWrapper<
  type ReposUpdateStatusCheckProtectionRequestBody (line 28145) | type ReposUpdateStatusCheckProtectionRequestBody = {
  type ReposUpdateStatusCheckProtectionVariables (line 28156) | type ReposUpdateStatusCheckProtectionVariables = {
  type ReposRemoveStatusCheckContextsPathParams (line 28214) | type ReposRemoveStatusCheckContextsPathParams = {
  type ReposRemoveStatusCheckContextsError (line 28223) | type ReposRemoveStatusCheckContextsError = Fetcher.ErrorWrapper<
  type ReposRemoveStatusCheckContextsResponse (line 28234) | type ReposRemoveStatusCheckContextsResponse = string[];
  type ReposRemoveStatusCheckContextsRequestBody (line 28236) | type ReposRemoveStatusCheckContextsRequestBody = {
  type ReposRemoveStatusCheckContextsVariables (line 28243) | type ReposRemoveStatusCheckContextsVariables = {
  type ReposGetAllStatusCheckContextsPathParams (line 28294) | type ReposGetAllStatusCheckContextsPathParams = {
  type ReposGetAllStatusCheckContextsError (line 28303) | type ReposGetAllStatusCheckContextsError = Fetcher.ErrorWrapper<{
  type ReposGetAllStatusCheckContextsResponse (line 28308) | type ReposGetAllStatusCheckContextsResponse = string[];
  type ReposGetAllStatusCheckContextsVariables (line 28310) | type ReposGetAllStatusCheckContextsVariables = {
  type ReposAddStatusCheckContextsPathParams (line 28375) | type ReposAddStatusCheckContextsPathParams = {
  type ReposAddStatusCheckContextsError (line 28384) | type ReposAddStatusCheckContextsError = Fetcher.ErrorWrapper<
  type ReposAddStatusCheckContextsResponse (line 28399) | type ReposAddStatusCheckContextsResponse = string[];
  type ReposAddStatusCheckContextsRequestBody (line 28401) | type ReposAddStatusCheckContextsRequestBody = {
  type ReposAddStatusCheckContextsVariables (line 28408) | type ReposAddStatusCheckContextsVariables = {
  type ReposSetStatusCheckContextsPathParams (line 28459) | type ReposSetStatusCheckContextsPathParams = {
  type ReposSetStatusCheckContextsError (line 28468) | type ReposSetStatusCheckContextsError = Fetcher.ErrorWrapper<
  type ReposSetStatusCheckContextsResponse (line 28479) | type ReposSetStatusCheckContextsResponse = string[];
  type ReposSetStatusCheckContextsRequestBody (line 28481) | type ReposSetStatusCheckContextsRequestBody = {
  type ReposSetStatusCheckContextsVariables (line 28488) | type ReposSetStatusCheckContextsVariables = {
  type ReposDeleteAccessRestrictionsPathParams (line 28539) | type ReposDeleteAccessRestrictionsPathParams = {
  type ReposDeleteAccessRestrictionsError (line 28548) | type ReposDeleteAccessRestrictionsError =
  type ReposDeleteAccessRestrictionsVariables (line 28551) | type ReposDeleteAccessRestrictionsVariables = {
  type ReposGetAccessRestrictionsPathParams (line 28605) | type ReposGetAccessRestrictionsPathParams = {
  type ReposGetAccessRestrictionsError (line 28614) | type ReposGetAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposGetAccessRestrictionsVariables (line 28619) | type ReposGetAccessRestrictionsVariables = {
  type ReposRemoveAppAccessRestrictionsPathParams (line 28692) | type ReposRemoveAppAccessRestrictionsPathParams = {
  type ReposRemoveAppAccessRestrictionsError (line 28701) | type ReposRemoveAppAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposRemoveAppAccessRestrictionsResponse (line 28706) | type ReposRemoveAppAccessRestrictionsResponse = Schemas.Integration[];
  type ReposRemoveAppAccessRestrictionsRequestBody (line 28708) | type ReposRemoveAppAccessRestrictionsRequestBody = {
  type ReposRemoveAppAccessRestrictionsVariables (line 28715) | type ReposRemoveAppAccessRestrictionsVariables = {
  type ReposGetAppsWithAccessToProtectedBranchPathParams (line 28781) | type ReposGetAppsWithAccessToProtectedBranchPathParams = {
  type ReposGetAppsWithAccessToProtectedBranchError (line 28790) | type ReposGetAppsWithAccessToProtectedBranchError =
  type ReposGetAppsWithAccessToProtectedBranchResponse (line 28796) | type ReposGetAppsWithAccessToProtectedBranchResponse =
  type ReposGetAppsWithAccessToProtectedBranchVariables (line 28799) | type ReposGetAppsWithAccessToProtectedBranchVariables = {
  type ReposAddAppAccessRestrictionsPathParams (line 28868) | type ReposAddAppAccessRestrictionsPathParams = {
  type ReposAddAppAccessRestrictionsError (line 28877) | type ReposAddAppAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposAddAppAccessRestrictionsResponse (line 28882) | type ReposAddAppAccessRestrictionsResponse = Schemas.Integration[];
  type ReposAddAppAccessRestrictionsRequestBody (line 28884) | type ReposAddAppAccessRestrictionsRequestBody = {
  type ReposAddAppAccessRestrictionsVariables (line 28891) | type ReposAddAppAccessRestrictionsVariables = {
  type ReposSetAppAccessRestrictionsPathParams (line 28954) | type ReposSetAppAccessRestrictionsPathParams = {
  type ReposSetAppAccessRestrictionsError (line 28963) | type ReposSetAppAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposSetAppAccessRestrictionsResponse (line 28968) | type ReposSetAppAccessRestrictionsResponse = Schemas.Integration[];
  type ReposSetAppAccessRestrictionsRequestBody (line 28970) | type ReposSetAppAccessRestrictionsRequestBody = {
  type ReposSetAppAccessRestrictionsVariables (line 28977) | type ReposSetAppAccessRestrictionsVariables = {
  type ReposRemoveTeamAccessRestrictionsPathParams (line 29040) | type ReposRemoveTeamAccessRestrictionsPathParams = {
  type ReposRemoveTeamAccessRestrictionsError (line 29049) | type ReposRemoveTeamAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposRemoveTeamAccessRestrictionsResponse (line 29054) | type ReposRemoveTeamAccessRestrictionsResponse = Schemas.Team[];
  type ReposRemoveTeamAccessRestrictionsRequestBody (line 29056) | type ReposRemoveTeamAccessRestrictionsRequestBody = {
  type ReposRemoveTeamAccessRestrictionsVariables (line 29063) | type ReposRemoveTeamAccessRestrictionsVariables = {
  type ReposGetTeamsWithAccessToProtectedBranchPathParams (line 29129) | type ReposGetTeamsWithAccessToProtectedBranchPathParams = {
  type ReposGetTeamsWithAccessToProtectedBranchError (line 29138) | type ReposGetTeamsWithAccessToProtectedBranchError =
  type ReposGetTeamsWithAccessToProtectedBranchResponse (line 29144) | type ReposGetTeamsWithAccessToProtectedBranchResponse = Schemas.Team[];
  type ReposGetTeamsWithAccessToProtectedBranchVariables (line 29146) | type ReposGetTeamsWithAccessToProtectedBranchVariables = {
  type ReposAddTeamAccessRestrictionsPathParams (line 29215) | type ReposAddTeamAccessRestrictionsPathParams = {
  type ReposAddTeamAccessRestrictionsError (line 29224) | type ReposAddTeamAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposAddTeamAccessRestrictionsResponse (line 29229) | type ReposAddTeamAccessRestrictionsResponse = Schemas.Team[];
  type ReposAddTeamAccessRestrictionsRequestBody (line 29231) | type ReposAddTeamAccessRestrictionsRequestBody = {
  type ReposAddTeamAccessRestrictionsVariables (line 29238) | type ReposAddTeamAccessRestrictionsVariables = {
  type ReposSetTeamAccessRestrictionsPathParams (line 29301) | type ReposSetTeamAccessRestrictionsPathParams = {
  type ReposSetTeamAccessRestrictionsError (line 29310) | type ReposSetTeamAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposSetTeamAccessRestrictionsResponse (line 29315) | type ReposSetTeamAccessRestrictionsResponse = Schemas.Team[];
  type ReposSetTeamAccessRestrictionsRequestBody (line 29317) | type ReposSetTeamAccessRestrictionsRequestBody = {
  type ReposSetTeamAccessRestrictionsVariables (line 29324) | type ReposSetTeamAccessRestrictionsVariables = {
  type ReposRemoveUserAccessRestrictionsPathParams (line 29387) | type ReposRemoveUserAccessRestrictionsPathParams = {
  type ReposRemoveUserAccessRestrictionsError (line 29396) | type ReposRemoveUserAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposRemoveUserAccessRestrictionsResponse (line 29401) | type ReposRemoveUserAccessRestrictionsResponse = Schemas.SimpleUser[];
  type ReposRemoveUserAccessRestrictionsRequestBody (line 29403) | type ReposRemoveUserAccessRestrictionsRequestBody = {
  type ReposRemoveUserAccessRestrictionsVariables (line 29410) | type ReposRemoveUserAccessRestrictionsVariables = {
  type ReposGetUsersWithAccessToProtectedBranchPathParams (line 29476) | type ReposGetUsersWithAccessToProtectedBranchPathParams = {
  type ReposGetUsersWithAccessToProtectedBranchError (line 29485) | type ReposGetUsersWithAccessToProtectedBranchError =
  type ReposGetUsersWithAccessToProtectedBranchResponse (line 29491) | type ReposGetUsersWithAccessToProtectedBranchResponse =
  type ReposGetUsersWithAccessToProtectedBranchVariables (line 29494) | type ReposGetUsersWithAccessToProtectedBranchVariables = {
  type ReposAddUserAccessRestrictionsPathParams (line 29563) | type ReposAddUserAccessRestrictionsPathParams = {
  type ReposAddUserAccessRestrictionsError (line 29572) | type ReposAddUserAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposAddUserAccessRestrictionsResponse (line 29577) | type ReposAddUserAccessRestrictionsResponse = Schemas.SimpleUser[];
  type ReposAddUserAccessRestrictionsRequestBody (line 29579) | type ReposAddUserAccessRestrictionsRequestBody = {
  type ReposAddUserAccessRestrictionsVariables (line 29586) | type ReposAddUserAccessRestrictionsVariables = {
  type ReposSetUserAccessRestrictionsPathParams (line 29649) | type ReposSetUserAccessRestrictionsPathParams = {
  type ReposSetUserAccessRestrictionsError (line 29658) | type ReposSetUserAccessRestrictionsError = Fetcher.ErrorWrapper<{
  type ReposSetUserAccessRestrictionsResponse (line 29663) | type ReposSetUserAccessRestrictionsResponse = Schemas.SimpleUser[];
  type ReposSetUserAccessRestrictionsRequestBody (line 29665) | type ReposSetUserAccessRestrictionsRequestBody = {
  type ReposSetUserAccessRestrictionsVariables (line 29672) | type ReposSetUserAccessRestrictionsVariables = {
  type ReposRenameBranchPathParams (line 29735) | type ReposRenameBranchPathParams = {
  type ReposRenameBranchError (line 29744) | type ReposRenameBranchError = Fetcher.ErrorWrapper<
  type ReposRenameBranchRequestBody (line 29759) | type ReposRenameBranchRequestBody = {
  type ReposRenameBranchVariables (line 29766) | type ReposRenameBranchVariables = {
  type ChecksCreatePathParams (line 29845) | type ChecksCreatePathParams = {
  type ChecksCreateError (line 29850) | type ChecksCreateError = Fetcher.ErrorWrapper<undefined>;
  type ChecksCreateVariables (line 29852) | type ChecksCreateVariables = {
  type ChecksGetPathParams (line 29930) | type ChecksGetPathParams = {
  type ChecksGetError (line 29939) | type ChecksGetError = Fetcher.ErrorWrapper<undefined>;
  type ChecksGetVariables (line 29941) | type ChecksGetVariables = {
  type ChecksUpdatePathParams (line 29996) | type ChecksUpdatePathParams = {
  type ChecksUpdateError (line 30005) | type ChecksUpdateError = Fetcher.ErrorWrapper<undefined>;
  type ChecksUpdateVariables (line 30007) | type ChecksUpdateVariables = {
  type ChecksListAnnotationsPathParams (line 30081) | type ChecksListAnnotationsPathParams = {
  type ChecksListAnnotationsQueryParams (line 30090) | type ChecksListAnnotationsQueryParams = {
  type ChecksListAnnotationsError (line 30105) | type ChecksListAnnotationsError = Fetcher.ErrorWrapper<undefined>;
  type ChecksListAnnotationsResponse (line 30107) | type ChecksListAnnotationsResponse = Schemas.CheckAnnotation[];
  type ChecksListAnnotationsVariables (line 30109) | type ChecksListAnnotationsVariables = {
  type ChecksCreateSuitePathParams (line 30170) | type ChecksCreateSuitePathParams = {
  type ChecksCreateSuiteError (line 30175) | type ChecksCreateSuiteError = Fetcher.ErrorWrapper<undefined>;
  type ChecksCreateSuiteRequestBody (line 30177) | type ChecksCreateSuiteRequestBody = {
  type ChecksCreateSuiteVariables (line 30184) | type ChecksCreateSuiteVariables = {
  type ChecksSetSuitesPreferencesPathParams (line 30239) | type ChecksSetSuitesPreferencesPathParams = {
  type ChecksSetSuitesPreferencesError (line 30244) | type ChecksSetSuitesPreferencesError = Fetcher.ErrorWrapper<undefined>;
  type ChecksSetSuitesPreferencesRequestBody (line 30246) | type ChecksSetSuitesPreferencesRequestBody = {
  type ChecksSetSuitesPreferencesVariables (line 30264) | type ChecksSetSuitesPreferencesVariables = {
  type ChecksGetSuitePathParams (line 30315) | type ChecksGetSuitePathParams = {
  type ChecksGetSuiteError (line 30324) | type ChecksGetSuiteError = Fetcher.ErrorWrapper<undefined>;
  type ChecksGetSuiteVariables (line 30326) | type ChecksGetSuiteVariables = {
  type ChecksListForSuitePathParams (line 30382) | type ChecksListForSuitePathParams = {
  type ChecksListForSuiteQueryParams (line 30391) | type ChecksListForSuiteQueryParams = {
  type ChecksListForSuiteError (line 30420) | type ChecksListForSuiteError = Fetcher.ErrorWrapper<undefined>;
  type ChecksListForSuiteResponse (line 30422) | type ChecksListForSuiteResponse = {
  type ChecksListForSuiteVariables (line 30427) | type ChecksListForSuiteVariables = {
  type ChecksRerequestSuitePathParams (line 30492) | type ChecksRerequestSuitePathParams = {
  type ChecksRerequestSuiteError (line 30501) | type ChecksRerequestSuiteError = Fetcher.ErrorWrapper<undefined>;
  type ChecksRerequestSuiteVariables (line 30503) | type ChecksRerequestSuiteVariables = {
  type CodeScanningListAlertsForRepoPathParams (line 30557) | type CodeScanningListAlertsForRepoPathParams = {
  type CodeScanningListAlertsForRepoQueryParams (line 30562) | type CodeScanningListAlertsForRepoQueryParams = {
  type CodeScanningListAlertsForRepoError (line 30593) | type CodeScanningListAlertsForRepoError = Fetcher.ErrorWrapper<
  type CodeScanningListAlertsForRepoResponse (line 30608) | type CodeScanningListAlertsForRepoResponse =
  type CodeScanningListAlertsForRepoVariables (line 30611) | type CodeScanningListAlertsForRepoVariables = {
  type CodeScanningGetAlertPathParams (line 30693) | type CodeScanningGetAlertPathParams = {
  type CodeScanningGetAlertError (line 30702) | type CodeScanningGetAlertError = Fetcher.ErrorWrapper<
  type CodeScanningGetAlertVariables (line 30717) | type CodeScanningGetAlertVariables = {
  type CodeScanningUpdateAlertPathParams (line 30783) | type CodeScanningUpdateAlertPathParams = {
  type CodeScanningUpdateAlertError (line 30792) | type CodeScanningUpdateAlertError = Fetcher.ErrorWrapper<
  type CodeScanningUpdateAlertRequestBody (line 30807) | type CodeScanningUpdateAlertRequestBody = {
  type CodeScanningUpdateAlertVariables (line 30812) | type CodeScanningUpdateAlertVariables = {
  type CodeScanningListAlertsInstancesPathParams (line 30863) | type CodeScanningListAlertsInstancesPathParams = {
  type CodeScanningListAlertsInstancesQueryParams (line 30872) | type CodeScanningListAlertsInstancesQueryParams = {
  type CodeScanningListAlertsInstancesError (line 30891) | type CodeScanningListAlertsInstancesError = Fetcher.ErrorWrapper<
  type CodeScanningListAlertsInstancesResponse (line 30906) | type CodeScanningListAlertsInstancesResponse =
  type CodeScanningListAlertsInstancesVariables (line 30909) | type CodeScanningListAlertsInstancesVariables = {
  type CodeScanningListRecentAnalysesPathParams (line 30975) | type CodeScanningListRecentAnalysesPathParams = {
  type CodeScanningListRecentAnalysesQueryParams (line 30980) | type CodeScanningListRecentAnalysesQueryParams = {
  type CodeScanningListRecentAnalysesError (line 31011) | type CodeScanningListRecentAnalysesError = Fetcher.ErrorWrapper<
  type CodeScanningListRecentAnalysesResponse (line 31026) | type CodeScanningListRecentAnalysesResponse =
  type CodeScanningListRecentAnalysesVariables (line 31029) | type CodeScanningListRecentAnalysesVariables = {
  type CodeScanningDeleteAnalysisPathParams (line 31125) | type CodeScanningDeleteAnalysisPathParams = {
  type CodeScanningDeleteAnalysisQueryParams (line 31134) | type CodeScanningDeleteAnalysisQueryParams = {
  type CodeScanningDeleteAnalysisError (line 31141) | type CodeScanningDeleteAnalysisError = Fetcher.ErrorWrapper<
  type CodeScanningDeleteAnalysisVariables (line 31160) | type CodeScanningDeleteAnalysisVariables = {
  type CodeScanningGetAnalysisPathParams (line 31337) | type CodeScanningGetAnalysisPathParams = {
  type CodeScanningGetAnalysisError (line 31346) | type CodeScanningGetAnalysisError = Fetcher.ErrorWrapper<
  type CodeScanningGetAnalysisVariables (line 31361) | type CodeScanningGetAnalysisVariables = {
  type CodeScanningUploadSarifPathParams (line 31465) | type CodeScanningUploadSarifPathParams = {
  type CodeScanningUploadSarifError (line 31470) | type CodeScanningUploadSarifError = Fetcher.ErrorWrapper<
  type CodeScanningUploadSarifRequestBody (line 31485) | type CodeScanningUploadSarifRequestBody = {
  type CodeScanningUploadSarifVariables (line 31509) | type CodeScanningUploadSarifVariables = {
  type CodeScanningGetSarifPathParams (line 31592) | type CodeScanningGetSarifPathParams = {
  type CodeScanningGetSarifError (line 31601) | type CodeScanningGetSarifError = Fetcher.ErrorWrapper<
  type CodeScanningGetSarifVariables (line 31612) | type CodeScanningGetSarifVariables = {
  type ReposListCollaboratorsPathParams (line 31674) | type ReposListCollaboratorsPathParams = {
  type ReposListCollaboratorsQueryParams (line 31679) | type ReposListCollaboratorsQueryParams = {
  type ReposListCollaboratorsError (line 31703) | type ReposListCollaboratorsError = Fetcher.ErrorWrapper<{
  type ReposListCollaboratorsResponse (line 31708) | type ReposListCollaboratorsResponse = Schemas.Collaborator[];
  type ReposListCollaboratorsVariables (line 31710) | type ReposListCollaboratorsVariables = {
  type ReposRemoveCollaboratorPathParams (line 31777) | type ReposRemoveCollaboratorPathParams = {
  type ReposRemoveCollaboratorError (line 31783) | type ReposRemoveCollaboratorError = Fetcher.ErrorWrapper<undefined>;
  type ReposRemoveCollaboratorVariables (line 31785) | type ReposRemoveCollaboratorVariables = {
  type ReposCheckCollaboratorPathParams (line 31829) | type ReposCheckCollaboratorPathParams = {
  type ReposCheckCollaboratorError (line 31835) | type ReposCheckCollaboratorError = Fetcher.ErrorWrapper<undefined>;
  type ReposCheckCollaboratorVariables (line 31837) | type ReposCheckCollaboratorVariables = {
  type ReposAddCollaboratorPathParams (line 31893) | type ReposAddCollaboratorPathParams = {
  type ReposAddCollaboratorError (line 31899) | type ReposAddCollaboratorError = Fetcher.ErrorWrapper<
  type ReposAddCollaboratorRequestBody (line 31910) | type ReposAddCollaboratorRequestBody = {
  type ReposAddCollaboratorVariables (line 31928) | type ReposAddCollaboratorVariables = {
  type ReposGetCollaboratorPermissionLevelPathParams (line 31999) | type ReposGetCollaboratorPermissionLevelPathParams = {
  type ReposGetCollaboratorPermissionLevelError (line 32005) | type ReposGetCollaboratorPermissionLevelError = Fetcher.ErrorWrapper<{
  type ReposGetCollaboratorPermissionLevelVariables (line 32010) | type ReposGetCollaboratorPermissionLevelVariables = {
  type ReposListCommitCommentsForRepoPathParams (line 32075) | type ReposListCommitCommentsForRepoPathParams = {
  type ReposListCommitCommentsForRepoQueryParams (line 32080) | type ReposListCommitCommentsForRepoQueryParams = {
  type ReposListCommitCommentsForRepoError (line 32095) | type ReposListCommitCommentsForRepoError =
  type ReposListCommitCommentsForRepoResponse (line 32098) | type ReposListCommitCommentsForRepoResponse = Schemas.CommitComment[];
  type ReposListCommitCommentsForRepoVariables (line 32100) | type ReposListCommitCommentsForRepoVariables = {
  type ReposDeleteCommitCommentPathParams (line 32170) | type ReposDeleteCommitCommentPathParams = {
  type ReposDeleteCommitCommentError (line 32179) | type ReposDeleteCommitCommentError = Fetcher.ErrorWrapper<{
  type ReposDeleteCommitCommentVariables (line 32184) | type ReposDeleteCommitCommentVariables = {
  type ReposGetCommitCommentPathParams (line 32228) | type ReposGetCommitCommentPathParams = {
  type ReposGetCommitCommentError (line 32237) | type ReposGetCommitCommentError = Fetcher.ErrorWrapper<{
  type ReposGetCommitCommentVariables (line 32242) | type ReposGetCommitCommentVariables = {
  type ReposUpdateCommitCommentPathParams (line 32296) | type ReposUpdateCommitCommentPathParams = {
  type ReposUpdateCommitCommentError (line 32305) | type ReposUpdateCommitCommentError = Fetcher.ErrorWrapper<{
  type ReposUpdateCommitCommentRequestBody (line 32310) | type ReposUpdateCommitCommentRequestBody = {
  type ReposUpdateCommitCommentVariables (line 32317) | type ReposUpdateCommitCommentVariables = {
  type ReactionsListForCommitCommentPathParams (line 32362) | type ReactionsListForCommitCommentPathParams = {
  type ReactionsListForCommitCommentQueryParams (line 32371) | type ReactionsListForCommitCommentQueryParams = {
  type ReactionsListForCommitCommentError (line 32398) | type ReactionsListForCommitCommentError = Fetcher.ErrorWrapper<
  type ReactionsListForCommitCommentResponse (line 32409) | type ReactionsListForCommitCommentResponse = Schemas.Reaction[];
  type ReactionsListForCommitCommentVariables (line 32411) | type ReactionsListForCommitCommentVariables = {
  type ReactionsCreateForCommitCommentPathParams (line 32477) | type ReactionsCreateForCommitCommentPathParams = {
  type ReactionsCreateForCommitCommentError (line 32486) | type ReactionsCreateForCommitCommentError = Fetcher.ErrorWrapper<
  type ReactionsCreateForCommitCommentRequestBody (line 32497) | type ReactionsCreateForCommitCommentRequestBody = {
  type ReactionsCreateForCommitCommentVariables (line 32512) | type ReactionsCreateForCommitCommentVariables = {
  type ReactionsDeleteForCommitCommentPathParams (line 32563) | type ReactionsDeleteForCommitCommentPathParams = {
  type ReactionsDeleteForCommitCommentError (line 32573) | type ReactionsDeleteForCommitCommentError =
  type ReactionsDeleteForCommitCommentVariables (line 32576) | type ReactionsDeleteForCommitCommentVariables = {
  type ReposListCommitsPathParams (line 32630) | type ReposListCommitsPathParams = {
  type ReposListCommitsQueryParams (line 32635) | type ReposListCommitsQueryParams = {
  type ReposListCommitsError (line 32678) | type ReposListCommitsError = Fetcher.ErrorWrapper<
  type ReposListCommitsResponse (line 32697) | type ReposListCommitsResponse = Schemas.Commit[];
  type ReposListCommitsVariables (line 32699) | type ReposListCommitsVariables = {
  type ReposListBranchesForHeadCommitPathParams (line 32814) | type ReposListBranchesForHeadCommitPathParams = {
  type ReposListBranchesForHeadCommitError (line 32823) | type ReposListBranchesForHeadCommitError = Fetcher.ErrorWrapper<
  type ReposListBranchesForHeadCommitResponse (line 32834) | type ReposListBranchesForHeadCommitResponse = Schemas.BranchShort[];
  type ReposListBranchesForHeadCommitVariables (line 32836) | type ReposListBranchesForHeadCommitVariables = {
  type ReposListCommentsForCommitPathParams (line 32905) | type ReposListCommentsForCommitPathParams = {
  type ReposListCommentsForCommitQueryParams (line 32914) | type ReposListCommentsForCommitQueryParams = {
  type ReposListCommentsForCommitError (line 32929) | type ReposListCommentsForCommitError = Fetcher.ErrorWrapper<undefined>;
  type ReposListCommentsForCommitResponse (line 32931) | type ReposListCommentsForCommitResponse = Schemas.CommitComment[];
  type ReposListCommentsForCommitVariables (line 32933) | type ReposListCommentsForCommitVariables = {
  type ReposCreateCommitCommentPathParams (line 32999) | type ReposCreateCommitCommentPathParams = {
  type ReposCreateCommitCommentError (line 33008) | type ReposCreateCommitCommentError = Fetcher.ErrorWrapper<
  type ReposCreateCommitCommentRequestBody (line 33019) | type ReposCreateCommitCommentRequestBody = {
  type ReposCreateCommitCommentVariables (line 33038) | type ReposCreateCommitCommentVariables = {
  type ReposListPullRequestsAssociatedWithCommitPathParams (line 33093) | type ReposListPullRequestsAssociatedWithCommitPathParams = {
  type ReposListPullRequestsAssociatedWithCommitQueryParams (line 33102) | type ReposListPullRequestsAssociatedWithCommitQueryParams = {
  type ReposListPullRequestsAssociatedWithCommitError (line 33117) | type ReposListPullRequestsAssociatedWithCommitError =
  type ReposListPullRequestsAssociatedWithCommitResponse (line 33123) | type ReposListPullRequestsAssociatedWithCommitResponse =
  type ReposListPullRequestsAssociatedWithCommitVariables (line 33126) | type ReposListPullRequestsAssociatedWithCommitVariables = {
  type ReposGetCommitPathParams (line 33192) | type ReposGetCommitPathParams = {
  type ReposGetCommitQueryParams (line 33201) | type ReposGetCommitQueryParams = {
  type ReposGetCommitError (line 33216) | type ReposGetCommitError = Fetcher.ErrorWrapper<
  type ReposGetCommitVariables (line 33231) | type ReposGetCommitVariables = {
  type ChecksListForRefPathParams (line 33354) | type ChecksListForRefPathParams = {
  type ChecksListForRefQueryParams (line 33363) | type ChecksListForRefQueryParams = {
  type ChecksListForRefError (line 33393) | type ChecksListForRefError = Fetcher.ErrorWrapper<undefined>;
  type ChecksListForRefResponse (line 33395) | type ChecksListForRefResponse = {
  type ChecksListForRefVariables (line 33400) | type ChecksListForRefVariables = {
  type ChecksListSuitesForRefPathParams (line 33465) | type ChecksListSuitesForRefPathParams = {
  type ChecksListSuitesForRefQueryParams (line 33474) | type ChecksListSuitesForRefQueryParams = {
  type ChecksListSuitesForRefError (line 33497) | type ChecksListSuitesForRefError = Fetcher.ErrorWrapper<undefined>;
  type ChecksListSuitesForRefResponse (line 33499) | type ChecksListSuitesForRefResponse = {
  type ChecksListSuitesForRefVariables (line 33504) | type ChecksListSuitesForRefVariables = {
  type ReposGetCombinedStatusForRefPathParams (line 33571) | type ReposGetCombinedStatusForRefPathParams = {
  type ReposGetCombinedStatusForRefQueryParams (line 33580) | type ReposGetCombinedStatusForRefQueryParams = {
  type ReposGetCombinedStatusForRefError (line 33595) | type ReposGetCombinedStatusForRefError = Fetcher.ErrorWrapper<{
  type ReposGetCombinedStatusForRefVariables (line 33600) | type ReposGetCombinedStatusForRefVariables = {
  type ReposListCommitStatusesForRefPathParams (line 33682) | type ReposListCommitStatusesForRefPathParams = {
  type ReposListCommitStatusesForRefQueryParams (line 33691) | type ReposListCommitStatusesForRefQueryParams = {
  type ReposListCommitStatusesForRefError (line 33706) | type ReposListCommitStatusesForRefError = Fetcher.ErrorWrapper<{
  type ReposListCommitStatusesForRefResponse (line 33711) | type ReposListCommitStatusesForRefResponse = Schemas.Status[];
  type ReposListCommitStatusesForRefVariables (line 33713) | type ReposListCommitStatusesForRefVariables = {
  type CodesOfConductGetForRepoPathParams (line 33783) | type CodesOfConductGetForRepoPathParams = {
  type CodesOfConductGetForRepoError (line 33788) | type CodesOfConductGetForRepoError = Fetcher.ErrorWrapper<undefined>;
  type CodesOfConductGetForRepoVariables (line 33790) | type CodesOfConductGetForRepoVariables = {
  type ReposGetCommunityProfileMetricsPathParams (line 33857) | type ReposGetCommunityProfileMetricsPathParams = {
  type ReposGetCommunityProfileMetricsError (line 33862) | type ReposGetCommunityProfileMetricsError =
  type ReposGetCommunityProfileMetricsVariables (line 33865) | type ReposGetCommunityProfileMetricsVariables = {
  type ReposCompareCommitsPathParams (line 33952) | type ReposCompareCommitsPathParams = {
  type ReposCompareCommitsError (line 33959) | type ReposCompareCommitsError = Fetcher.ErrorWrapper<
  type ReposCompareCommitsVariables (line 33970) | type ReposCompareCommitsVariables = {
  type ReposDeleteFilePathParams (line 34110) | type ReposDeleteFilePathParams = {
  type ReposDeleteFileError (line 34119) | type ReposDeleteFileError = Fetcher.ErrorWrapper<
  type ReposDeleteFileRequestBody (line 34138) | type ReposDeleteFileRequestBody = {
  type ReposDeleteFileVariables (line 34179) | type ReposDeleteFileVariables = {
  type ReposGetContentPathParams (line 34242) | type ReposGetContentPathParams = {
  type ReposGetContentQueryParams (line 34251) | type ReposGetContentQueryParams = {
  type ReposGetContentError (line 34258) | type ReposGetContentError = Fetcher.ErrorWrapper<
  type ReposGetContentVariables (line 34273) | type ReposGetContentVariables = {
  type ReposCreateOrUpdateFileContentsPathParams (line 34411) | type ReposCreateOrUpdateFileContentsPathParams = {
  type ReposCreateOrUpdateFileContentsError (line 34420) | type ReposCreateOrUpdateFileContentsError = Fetcher.ErrorWrapper<
  type ReposCreateOrUpdateFileContentsRequestBody (line 34435) | type ReposCreateOrUpdateFileContentsRequestBody = {
  type ReposCreateOrUpdateFileContentsVariables (line 34488) | type ReposCreateOrUpdateFileContentsVariables = {
  type ReposListContributorsPathParams (line 34539) | type ReposListContributorsPathParams = {
  type ReposListContributorsQueryParams (line 34544) | type ReposListContributorsQueryParams = {
  type ReposListContributorsError (line 34563) | type ReposListContributorsError = Fetcher.ErrorWrapper<
  type ReposListContributorsResponse (line 34574) | type ReposListContributorsResponse = Schemas.Contributor[];
  type ReposListContributorsVariables (line 34576) | type ReposListContributorsVariables = {
  type ReposListDeploymentsPathParams (line 34641) | type ReposListDeploymentsPathParams = {
  type ReposListDeploymentsQueryParams (line 34646) | type ReposListDeploymentsQueryParams = {
  type ReposListDeploymentsError (line 34685) | type ReposListDeploymentsError = Fetcher.ErrorWrapper<undefined>;
  type ReposListDeploymentsResponse (line 34687) | type ReposListDeploymentsResponse = Schemas.Deployment[];
  type ReposListDeploymentsVariables (line 34689) | type ReposListDeploymentsVariables = {
  type ReposCreateDeploymentPathParams (line 34750) | type ReposCreateDeploymentPathParams = {
  type ReposCreateDeploymentError (line 34755) | type ReposCreateDeploymentError = Fetcher.ErrorWrapper<
  type ReposCreateDeploymentRequestBody (line 34772) | type ReposCreateDeploymentRequestBody = {
  type ReposCreateDeploymentVariables (line 34828) | type ReposCreateDeploymentVariables = {
  type ReposDeleteDeploymentPathParams (line 34976) | type ReposDeleteDeploymentPathParams = {
  type ReposDeleteDeploymentError (line 34985) | type ReposDeleteDeploymentError = Fetcher.ErrorWrapper<
  type ReposDeleteDeploymentVariables (line 34996) | type ReposDeleteDeploymentVariables = {
  type ReposGetDeploymentPathParams (line 35060) | type ReposGetDeploymentPathParams = {
  type ReposGetDeploymentError (line 35069) | type ReposGetDeploymentError = Fetcher.ErrorWrapper<{
  type ReposGetDeploymentVariables (line 35074) | type ReposGetDeploymentVariables = {
  type ReposListDeploymentStatusesPathParams (line 35128) | type ReposListDeploymentStatusesPathParams = {
  type ReposListDeploymentStatusesQueryParams (line 35137) | type ReposListDeploymentStatusesQueryParams = {
  type ReposListDeploymentStatusesError (line 35152) | type ReposListDeploymentStatusesError = Fetcher.ErrorWrapper<{
  type ReposListDeploymentStatusesResponse (line 35157) | type ReposListDeploymentStatusesResponse = Schemas.DeploymentStatus[];
  type ReposListDeploymentStatusesVariables (line 35159) | type ReposListDeploymentStatusesVariables = {
  type ReposCreateDeploymentStatusPathParams (line 35225) | type ReposCreateDeploymentStatusPathParams = {
  type ReposCreateDeploymentStatusError (line 35234) | type ReposCreateDeploymentStatusError = Fetcher.ErrorWrapper<{
  type ReposCreateDeploymentStatusRequestBody (line 35239) | type ReposCreateDeploymentStatusRequestBody = {
  type ReposCreateDeploymentStatusVariables (line 35289) | type ReposCreateDeploymentStatusVariables = {
  type ReposGetDeploymentStatusPathParams (line 35344) | type ReposGetDeploymentStatusPathParams = {
  type ReposGetDeploymentStatusError (line 35354) | type ReposGetDeploymentStatusError = Fetcher.ErrorWrapper<
  type ReposGetDeploymentStatusVariables (line 35365) | type ReposGetDeploymentStatusVariables = {
  type ReposCreateDispatchEventPathParams (line 35428) | type ReposCreateDispatchEventPathParams = {
  type ReposCreateDispatchEventError (line 35433) | type ReposCreateDispatchEventError = Fetcher.ErrorWrapper<{
  type ReposCreateDispatchEventRequestBody (line 35438) | type ReposCreateDispatchEventRequestBody = {
  type ReposCreateDispatchEventVariables (line 35451) | type ReposCreateDispatchEventVariables = {
  type ReposGetAllEnvironmentsPathParams (line 35520) | type ReposGetAllEnvironmentsPathParams = {
  type ReposGetAllEnvironmentsError (line 35525) | type ReposGetAllEnvironmentsError = Fetcher.ErrorWrapper<undefined>;
  type ReposGetAllEnvironmentsResponse (line 35527) | type ReposGetAllEnvironmentsResponse = {
  type ReposGetAllEnvironmentsVariables (line 35537) | type ReposGetAllEnvironmentsVariables = {
  type ReposDeleteAnEnvironmentPathParams (line 35603) | type ReposDeleteAnEnvironmentPathParams = {
  type ReposDeleteAnEnvironmentError (line 35612) | type ReposDeleteAnEnvironmentError = Fetcher.ErrorWrapper<undefined>;
  type ReposDeleteAnEnvironmentVariables (line 35614) | type ReposDeleteAnEnvironmentVariables = {
  type ReposGetEnvironmentPathParams (line 35664) | type ReposGetEnvironmentPathParams = {
  type ReposGetEnvironmentError (line 35673) | type ReposGetEnvironmentError = Fetcher.ErrorWrapper<undefined>;
  type ReposGetEnvironmentVariables (line 35675) | type ReposGetEnvironmentVariables = {
  type ReposCreateOrUpdateEnvironmentPathParams (line 35735) | type ReposCreateOrUpdateEnvironmentPathParams = {
  type ReposCreateOrUpdateEnvironmentError (line 35744) | type ReposCreateOrUpdateEnvironmentError = Fetcher.ErrorWrapper<{
  type ReposCreateOrUpdateEnvironmentVariables (line 35749) | type ReposCreateOrUpdateEnvironmentVariables = {
  type ActivityListRepoEventsPathParams (line 35846) | type ActivityListRepoEventsPathParams = {
  type ActivityListRepoEventsQueryParams (line 35851) | type ActivityListRepoEventsQueryParams = {
  type ActivityListRepoEventsError (line 35866) | type ActivityListRepoEventsError = Fetcher.ErrorWrapper<undefined>;
  type ActivityListRepoEventsResponse (line 35868) | type ActivityListRepoEventsResponse = Schemas.Event[];
  type ActivityListRepoEventsVariables (line 35870) | type ActivityListRepoEventsVariables = {
  type ReposListForksPathParams (line 35927) | type ReposListForksPathParams = {
  type ReposListForksQueryParams (line 35932) | type ReposListForksQueryParams = {
  type ReposListForksError (line 35961) | type ReposListForksError = Fetcher.ErrorWrapper<{
  type ReposListForksResponse (line 35966) | type ReposListForksResponse = Schemas.MinimalRepository[];
  type ReposListForksVariables (line 35968) | type ReposListForksVariables = {
  type ReposCreateForkPathParams (line 36023) | type ReposCreateForkPathParams = {
  type ReposCreateForkQueryParams (line 36028) | type ReposCreateForkQueryParams = {
  type ReposCreateForkError (line 36039) | type ReposCreateForkError = Fetcher.ErrorWrapper<
  type ReposCreateForkVariables (line 36058) | type ReposCreateForkVariables = {
  type GitCreateBlobPathParams (line 36124) | type GitCreateBlobPathParams = {
  type GitCreateBlobError (line 36129) | type GitCreateBlobError = Fetcher.ErrorWrapper<
  type GitCreateBlobRequestBody (line 36148) | type GitCreateBlobRequestBody = {
  type GitCreateBlobVariables (line 36161) | type GitCreateBlobVariables = {
  type GitGetBlobPathParams (line 36206) | type GitGetBlobPathParams = {
  type GitGetBlobError (line 36212) | type GitGetBlobError = Fetcher.ErrorWrapper<
  type GitGetBlobVariables (line 36227) | type GitGetBlobVariables = {
  type GitCreateCommitPathParams (line 36283) | type GitCreateCommitPathParams = {
  type GitCreateCommitError (line 36288) | type GitCreateCommitError = Fetcher.ErrorWrapper<
  type GitCreateCommitRequestBody (line 36299) | type GitCreateCommitRequestBody = {
  type GitCreateCommitVariables (line 36352) | type GitCreateCommitVariables = {
  type GitGetCommitPathParams (line 36461) | type GitGetCommitPathParams = {
  type GitGetCommitError (line 36470) | type GitGetCommitError = Fetcher.ErrorWrapper<{
  type GitGetCommitVariables (line 36475) | type GitGetCommitVariables = {
  type GitListMatchingRefsPathParams (line 36585) | type GitListMatchingRefsPathParams = {
  type GitListMatchingRefsQueryParams (line 36594) | type GitListMatchingRefsQueryParams = {
  type GitListMatchingRefsError (line 36609) | type GitListMatchingRefsError = Fetcher.ErrorWrapper<undefined>;
  type GitListMatchingRefsResponse (line 36611) | type GitListMatchingRefsResponse = Schemas.GitRef[];
  type GitListMatchingRefsVariables (line 36613) | type GitListMatchingRefsVariables = {
  type GitGetRefPathParams (line 36686) | type GitGetRefPathParams = {
  type GitGetRefError (line 36695) | type GitGetRefError = Fetcher.ErrorWrapper<{
  type GitGetRefVariables (line 36700) | type GitGetRefVariables = {
  type GitCreateRefPathParams (line 36755) | type GitCreateRefPathParams = {
  type GitCreateRefError (line 36760) | type GitCreateRefError = Fetcher.ErrorWrapper<{
  type GitCreateRefRequestBody (line 36765) | type GitCreateRefRequestBody = {
  type GitCreateRefVariables (line 36780) | type GitCreateRefVariables = {
  type GitDeleteRefPathParams (line 36831) | type GitDeleteRefPathParams = {
  type GitDeleteRefError (line 36840) | type GitDeleteRefError = Fetcher.ErrorWrapper<{
  type GitDeleteRefVariables (line 36845) | type GitDeleteRefVariables = {
  type GitUpdateRefPathParams (line 36889) | type GitUpdateRefPathParams = {
  type GitUpdateRefError (line 36898) | type GitUpdateRefError = Fetcher.ErrorWrapper<{
  type GitUpdateRefRequestBody (line 36903) | type GitUpdateRefRequestBody = {
  type GitUpdateRefVariables (line 36916) | type GitUpdateRefVariables = {
  type GitCreateTagPathParams (line 36961) | type GitCreateTagPathParams = {
  type GitCreateTagError (line 36966) | type GitCreateTagError = Fetcher.ErrorWrapper<{
  type GitCreateTagRequestBody (line 36971) | type GitCreateTagRequestBody = {
  type GitCreateTagVariables (line 37007) | type GitCreateTagVariables = {
  type GitGetTagPathParams (line 37116) | type GitGetTagPathParams = {
  type GitGetTagError (line 37122) | type GitGetTagError = Fetcher.ErrorWrapper<{
  type GitGetTagVariables (line 37127) | type GitGetTagVariables = {
  type GitCreateTreePathParams (line 37232) | type GitCreateTreePathParams = {
  type GitCreateTreeError (line 37237) | type GitCreateTreeError = Fetcher.ErrorWrapper<
  type GitCreateTreeRequestBody (line 37252) | type GitCreateTreeRequestBody = {
  type GitCreateTreeVariables (line 37289) | type GitCreateTreeVariables = {
  type GitGetTreePathParams (line 37344) | type GitGetTreePathParams = {
  type GitGetTreeQueryParams (line 37350) | type GitGetTreeQueryParams = {
  type GitGetTreeError (line 37357) | type GitGetTreeError = Fetcher.ErrorWrapper<
  type GitGetTreeVariables (line 37368) | type GitGetTreeVariables = {
  type ReposListWebhooksPathParams (line 37425) | type ReposListWebhooksPathParams = {
  type ReposListWebhooksQueryParams (line 37430) | type ReposListWebhooksQueryParams = {
  type ReposListWebhooksError (line 37445) | type ReposListWebhooksError = Fetcher.ErrorWrapper<{
  type ReposListWebhooksResponse (line 37450) | type ReposListWebhooksResponse = Schemas.Hook[];
  type ReposListWebhooksVariables (line 37452) | type ReposListWebhooksVariables = {
  type ReposCreateWebhookPathParams (line 37507) | type ReposCreateWebhookPathParams = {
  type ReposCreateWebhookError (line 37512) | type ReposCreateWebhookError = Fetcher.ErrorWrapper<
  type ReposCreateWebhookRequestBody (line 37527) | type ReposCreateWebhookRequestBody = {
  type ReposCreateWebhookVariables (line 37563) | type ReposCreateWebhookVariables = {
  type ReposDeleteWebhookPathParams (line 37616) | type ReposDeleteWebhookPathParams = {
  type ReposDeleteWebhookError (line 37622) | type ReposDeleteWebhookError = Fetcher.ErrorWrapper<{
  type ReposDeleteWebhookVariables (line 37627) | type ReposDeleteWebhookVariables = {
  type ReposGetWebhookPathParams (line 37671) | type ReposGetWebhookPathParams = {
  type ReposGetWebhookError (line 37677) | type ReposGetWebhookError = Fetcher.ErrorWrapper<{
  type ReposGetWebhookVariables (line 37682) | type ReposGetWebhookVariables = {
  type ReposUpdateWebhookPathParams (line 37734) | type ReposUpdateWebhookPathParams = {
  type ReposUpdateWebhookError (line 37740) | type ReposUpdateWebhookError = Fetcher.ErrorWrapper<
  type ReposUpdateWebhookRequestBody (line 37751) | type ReposUpdateWebhookRequestBody = {
  type ReposUpdateWebhookVariables (line 37791) | type ReposUpdateWebhookVariables = {
  type ReposGetWebhookConfigForRepoPathParams (line 37842) | type ReposGetWebhookConfigForRepoPathParams = {
  type ReposGetWebhookConfigForRepoError (line 37848) | type ReposGetWebhookConfigForRepoError = Fetcher.ErrorWrapper<undefined>;
  type ReposGetWebhookConfigForRepoVariables (line 37850) | type ReposGetWebhookConfigForRepoVariables = {
  type ReposUpdateWebhookConfigForRepoPathParams (line 37917) | type ReposUpdateWebhookConfigForRepoPathParams = {
  type ReposUpdateWebhookConfigForRepoError (line 37923) | type ReposUpdateWebhookConfigForRepoError =
  type ReposUpdateWebhookConfigForRepoRequestBody (line 37926) | type ReposUpdateWebhookConfigForRepoRequestBody = {
  type ReposUpdateWebhookConfigForRepoVariables (line 37933) | type ReposUpdateWebhookConfigForRepoVariables = {
  type ReposPingWebhookPathParams (line 37988) | type ReposPingWebhookPathParams = {
  type ReposPingWebhookError (line 37994) | type ReposPingWebhookError = Fetcher.ErrorWrapper<{
  type ReposPingWebhookVariables (line 37999) | type ReposPingWebhookVariables = {
  type ReposTestPushWebhookPathParams (line 38049) | type ReposTestPushWebhookPathParams = {
  type ReposTestPushWebhookError (line 38055) | type ReposTestPushWebhookError = Fetcher.ErrorWrapper<{
  type ReposTestPushWebhookVariables (line 38060) | type ReposTestPushWebhookVariables = {
  type MigrationsCancelImportPathParams (line 38114) | type MigrationsCancelImportPathParams = {
  type MigrationsCancelImportError (line 38119) | type MigrationsCancelImportError = Fetcher.ErrorWrapper<undefined>;
  type MigrationsCancelImportVariables (line 38121) | type MigrationsCancelImportVariables = {
  type MigrationsGetImportStatusPathParams (line 38171) | type MigrationsGetImportStatusPathParams = {
  type MigrationsGetImportStatusError (line 38176) | type MigrationsGetImportStatusError = Fetcher.ErrorWrapper<{
  type MigrationsGetImportStatusVariables (line 38181) | type MigrationsGetImportStatusVariables = {
  type MigrationsUpdateImportPathParams (line 38310) | type MigrationsUpdateImportPathParams = {
  type MigrationsUpdateImportError (line 38315) | type MigrationsUpdateImportError = Fetcher.ErrorWrapper<undefined>;
  type MigrationsUpdateImportRequestBody (line 38317) | type MigrationsUpdateImportRequestBody = {
  type MigrationsUpdateImportVariables (line 38336) | type MigrationsUpdateImportVariables = {
  type MigrationsStartImportPathParams (line 38389) | type MigrationsStartImportPathParams = {
  type MigrationsStartImportError (line 38394) | type MigrationsStartImportError = Fetcher.ErrorWrapper<
  type MigrationsStartImportRequestBody (line 38405) | type MigrationsStartImportRequestBody = {
  type MigrationsStartImportVariables (line 38428) | type MigrationsStartImportVariables = {
  type MigrationsGetCommitAuthorsPathParams (line 38479) | type MigrationsGetCommitAuthorsPathParams = {
  type MigrationsGetCommitAuthorsQueryParams (line 38484) | type MigrationsGetCommitAuthorsQueryParams = {
  type MigrationsGetCommitAuthorsError (line 38491) | type MigrationsGetCommitAuthorsError = Fetcher.ErrorWrapper<{
  type MigrationsGetCommitAuthorsResponse (line 38496) | type MigrationsGetCommitAuthorsResponse = Schemas.PorterAuthor[];
  type MigrationsGetCommitAuthorsVariables (line 38498) | type MigrationsGetCommitAuthorsVariables = {
  type MigrationsMapCommitAuthorPathParams (line 38568) | type MigrationsMapCommitAuthorPathParams = {
  type MigrationsMapCommitAuthorError (line 38574) | type MigrationsMapCommitAuthorError = Fetcher.ErrorWrapper<
  type MigrationsMapCommitAuthorRequestBody (line 38585) | type MigrationsMapCommitAuthorRequestBody = {
  type MigrationsMapCommitAuthorVariables (line 38600) | type MigrationsMapCommitAuthorVariables = {
  type MigrationsGetLargeFilesPathParams (line 38651) | type MigrationsGetLargeFilesPathParams = {
  type MigrationsGetLargeFilesError (line 38656) | type MigrationsGetLargeFilesError = Fetcher.ErrorWrapper<undefined>;
  type MigrationsGetLargeFilesResponse (line 38658) | type MigrationsGetLargeFilesResponse = Schemas.PorterLargeFile[];
  type MigrationsGetLargeFilesVariables (line 38660) | type MigrationsGetLargeFilesVariables = {
  type MigrationsSetLfsPreferencePathParams (line 38722) | type MigrationsSetLfsPreferencePathParams = {
  type MigrationsSetLfsPreferenceError (line 38727) | type MigrationsSetLfsPreferenceError = Fetcher.ErrorWrapper<{
  type MigrationsSetLfsPreferenceRequestBody (line 38732) | type MigrationsSetLfsPreferenceRequestBody = {
  type MigrationsSetLfsPreferenceVariables (line 38739) | type MigrationsSetLfsPreferenceVariables = {
  type AppsGetRepoInstallationPathParams (line 38790) | type AppsGetRepoInstallationPathParams = {
  type AppsGetRepoInstallationError (line 38795) | type AppsGetRepoInstallationError = Fetcher.ErrorWrapper<
  type AppsGetRepoInstallationVariables (line 38806) | type AppsGetRepoInstallationVariables = {
  type InteractionsRemoveRestrictionsForRepoPathParams (line 38870) | type InteractionsRemoveRestrictionsForRepoPathParams = {
  type InteractionsRemoveRestrictionsForRepoError (line 38875) | type InteractionsRemoveRestrictionsForRepoError =
  type InteractionsRemoveRestrictionsForRepoVariables (line 38878) | type InteractionsRemoveRestrictionsForRepoVariables = {
  type InteractionsGetRestrictionsForRepoPathParams (line 38931) | type InteractionsGetRestrictionsForRepoPathParams = {
  type InteractionsGetRestrictionsForRepoError (line 38936) | type InteractionsGetRestrictionsForRepoError =
  type InteractionsGetRestrictionsForRepoVariables (line 38939) | type InteractionsGetRestrictionsForRepoVariables = {
  type InteractionsSetRestrictionsForRepoPathParams (line 39004) | type InteractionsSetRestrictionsForRepoPathParams = {
  type InteractionsSetRestrictionsForRepoError (line 39009) | type InteractionsSetRestrictionsForRepoError =
  type InteractionsSetRestrictionsForRepoVariables (line 39012) | type InteractionsSetRestrictionsForRepoVariables = {
  type ReposListInvitationsPathParams (line 39066) | type ReposListInvitationsPathParams = {
  type ReposListInvitationsQueryParams (line 39071) | type ReposListInvitationsQueryParams = {
  type ReposListInvitationsError (line 39086) | type ReposListInvitationsError = Fetcher.ErrorWrapper<undefined>;
  type ReposListInvitationsResponse (line 39088) | type ReposListInvitationsResponse = Schemas.RepositoryInvitation[];
  type ReposListInvitationsVariables (line 39090) | type ReposListInvitationsVariables = {
  type ReposDeleteInvitationPathParams (line 39151) | type ReposDeleteInvitationPathParams = {
  type ReposDeleteInvitationError (line 39160) | type ReposDeleteInvitationError = Fetcher.ErrorWrapper<undefined>;
  type ReposDeleteInvitationVariables (line 39162) | type ReposDeleteInvitationVariables = {
  type ReposUpdateInvitationPathParams (line 39206) | type ReposUpdateInvitationPathParams = {
  type ReposUpdateInvitationError (line 39215) | type ReposUpdateInvitationError = Fetcher.ErrorWrapper<undefined>;
  type ReposUpdateInvitationRequestBody (line 39217) | type ReposUpdateInvitationRequestBody = {
  type ReposUpdateInvitationVariables (line 39224) | type ReposUpdateInvitationVariables = {
  type IssuesListForRepoPathParams (line 39269) | type IssuesListForRepoPathParams = {
  type IssuesListForRepoQueryParams (line 39274) | type IssuesListForRepoQueryParams = {
  type IssuesListForRepoError (line 39331) | type IssuesListForRepoError = Fetcher.ErrorWrapper<
  type IssuesListForRepoResponse (line 39346) | type IssuesListForRepoResponse = Schemas.IssueSimple[];
  type IssuesListForRepoVariables (line 39348) | type IssuesListForRepoVariables = {
  type IssuesCreatePathParams (line 39419) | type IssuesCreatePathParams = {
  type IssuesCreateError (line 39424) | type IssuesCreateError = Fetcher.ErrorWrapper<
  type IssuesCreateRequestBody (line 39447) | type IssuesCreateRequestBody = {
  type IssuesCreateVariables (line 39479) | type IssuesCreateVariables = {
  type IssuesListCommentsForRepoPathParams (line 39534) | type IssuesListCommentsForRepoPathParams = {
  type IssuesListCommentsForRepoQueryParams (line 39539) | type IssuesListCommentsForRepoQueryParams = {
  type IssuesListCommentsForRepoError (line 39568) | type IssuesListCommentsForRepoError = Fetcher.ErrorWrapper<
  type IssuesListCommentsForRepoResponse (line 39579) | type IssuesListCommentsForRepoResponse = Schemas.IssueComment[];
  type IssuesListCommentsForRepoVariables (line 39581) | type IssuesListCommentsForRepoVariables = {
  type IssuesDeleteCommentPathParams (line 39647) | type IssuesDeleteCommentPathParams = {
  type IssuesDeleteCommentError (line 39656) | type IssuesDeleteCommentError = Fetcher.ErrorWrapper<undefined>;
  type IssuesDeleteCommentVariables (line 39658) | type IssuesDeleteCommentVariables = {
  type IssuesGetCommentPathParams (line 39702) | type IssuesGetCommentPathParams = {
  type IssuesGetCommentError (line 39711) | type IssuesGetCommentError = Fetcher.ErrorWrapper<{
  type IssuesGetCommentVariables (line 39716) | type IssuesGetCommentVariables = {
  type IssuesUpdateCommentPathParams (line 39770) | type IssuesUpdateCommentPathParams = {
  type IssuesUpdateCommentError (line 39779) | type IssuesUpdateCommentError = Fetcher.ErrorWrapper<{
  type IssuesUpdateCommentRequestBody (line 39784) | type IssuesUpdateCommentRequestBody = {
  type IssuesUpdateCommentVariables (line 39791) | type IssuesUpdateCommentVariables = {
  type ReactionsListForIssueCommentPathParams (line 39836) | type ReactionsListForIssueCommentPathParams = {
  type ReactionsListForIssueCommentQueryParams (line 39845) | type ReactionsListForIssueCommentQueryParams = {
  type ReactionsListForIssueCommentError (line 39872) | type ReactionsListForIssueCommentError = Fetcher.ErrorWrapper<
  type ReactionsListForIssueCommentResponse (line 39883) | type ReactionsListForIssueCommentResponse = Schemas.Reaction[];
  type ReactionsListForIssueCommentVariables (line 39885) | type ReactionsListForIssueCommentVariables = {
  type ReactionsCreateForIssueCommentPathParams (line 39951) | type ReactionsCreateForIssueCommentPathParams = {
  type ReactionsCreateForIssueCommentError (line 39960) | type ReactionsCreateForIssueCommentError = Fetcher.ErrorWrapper<
  type ReactionsCreateForIssueCommentRequestBody (line 39971) | type ReactionsCreateForIssueCommentRequestBody = {
  type ReactionsCreateForIssueCommentVariables (line 39986) | type ReactionsCreateForIssueCommentVariables = {
  type ReactionsDeleteForIssueCommentPathParams (line 40037) | type ReactionsDeleteForIssueCommentPathParams = {
  type ReactionsDeleteForIssueCommentError (line 40047) | type ReactionsDeleteForIssueCommentError =
  type ReactionsDeleteForIssueCommentVariables (line 40050) | type ReactionsDeleteForIssueCommentVariables = {
  type IssuesListEventsForRepoPathParams (line 40104) | type IssuesListEventsForRepoPathParams = {
  type IssuesListEventsForRepoQueryParams (line 40109) | type IssuesListEventsForRepoQueryParams = {
  type IssuesListEventsForRepoError (line 40124) | type IssuesListEventsForRepoError = Fetcher.ErrorWrapper<{
  type IssuesListEventsForRepoResponse (line 40129) | type IssuesListEventsForRepoResponse = Schemas.IssueEvent[];
  type IssuesListEventsForRepoVariables (line 40131) | type IssuesListEventsForRepoVariables = {
  type IssuesGetEventPathParams (line 40188) | type IssuesGetEventPathParams = {
  type IssuesGetEventError (line 40194) | type IssuesGetEventError = Fetcher.ErrorWrapper<
  type IssuesGetEventVariables (line 40209) | type IssuesGetEventVariables = {
  type IssuesGetPathParams (line 40255) | type IssuesGetPathParams = {
  type IssuesGetError (line 40264) | type IssuesGetError = Fetcher.ErrorWrapper<
  type IssuesGetVariables (line 40283) | type IssuesGetVariables = {
  type IssuesUpdatePathParams (line 40354) | type IssuesUpdatePathParams = {
  type IssuesUpdateError (line 40363) | type IssuesUpdateError = Fetcher.ErrorWrapper<
  type IssuesUpdateRequestBody (line 40390) | type IssuesUpdateRequestBody = {
  type IssuesUpdateVariables (line 40426) | type IssuesUpdateVariables = {
  type IssuesRemoveAssigneesPathParams (line 40477) | type IssuesRemoveAssigneesPathParams = {
  type IssuesRemoveAssigneesError (line 40486) | type IssuesRemoveAssigneesError = Fetcher.ErrorWrapper<undefined>;
  type IssuesRemoveAssigneesRequestBody (line 40488) | type IssuesRemoveAssigneesRequestBody = {
  type IssuesRemoveAssigneesVariables (line 40495) | type IssuesRemoveAssigneesVariables = {
  type IssuesAddAssigneesPathParams (line 40546) | type IssuesAddAssigneesPathParams = {
  type IssuesAddAssigneesError (line 40555) | type IssuesAddAssigneesError = Fetcher.ErrorWrapper<undefined>;
  type IssuesAddAssigneesRequestBody (line 40557) | type IssuesAddAssigneesRequestBody = {
  type IssuesAddAssigneesVariables (line 40564) | type IssuesAddAssigneesVariables = {
  type IssuesListCommentsPathParams (line 40615) | type IssuesListCommentsPathParams = {
  type IssuesListCommentsQueryParams (line 40624) | type IssuesListCommentsQueryParams = {
  type IssuesListCommentsError (line 40643) | type IssuesListCommentsError = Fetcher.ErrorWrapper<
  type IssuesListCommentsResponse (line 40654) | type IssuesListCommentsResponse = Schemas.IssueComment[];
  type IssuesListCommentsVariables (line 40656) | type IssuesListCommentsVariables = {
  type IssuesCreateCommentPathParams (line 40717) | type IssuesCreateCommentPathParams = {
  type IssuesCreateCommentError (line 40726) | type IssuesCreateCommentError = Fetcher.ErrorWrapper<
  type IssuesCreateCommentRequestBody (line 40745) | type IssuesCreateCommentRequestBody = {
  type IssuesCreateCommentVariables (line 40752) | type IssuesCreateCommentVariables = {
  type IssuesListEventsPathParams (line 40803) | type IssuesListEventsPathParams = {
  type IssuesListEventsQueryParams (line 40812) | type IssuesListEventsQueryParams = {
  type IssuesListEventsError (line 40827) | type IssuesListEventsError = Fetcher.ErrorWrapper<{
  type IssuesListEventsResponse (line 40832) | type IssuesListEventsResponse = Schemas.IssueEventForIssue[];
  type IssuesListEventsVariables (line 40834) | type IssuesListEventsVariables = {
  type IssuesRemoveAllLabelsPathParams (line 40889) | type IssuesRemoveAllLabelsPathParams = {
  type IssuesRemoveAllLabelsError (line 40898) | type IssuesRemoveAllLabelsError = Fetcher.ErrorWrapper<{
  type IssuesRemoveAllLabelsVariables (line 40903) | type IssuesRemoveAllLabelsVariables = {
  type IssuesListLabelsOnIssuePathParams (line 40947) | type IssuesListLabelsOnIssuePathParams = {
  type IssuesListLabelsOnIssueQueryParams (line 40956) | type IssuesListLabelsOnIssueQueryParams = {
  type IssuesListLabelsOnIssueError (line 40971) | type IssuesListLabelsOnIssueError = Fetcher.ErrorWrapper<{
  type IssuesListLabelsOnIssueResponse (line 40976) | type IssuesListLabelsOnIssueResponse = Schemas.Label[];
  type IssuesListLabelsOnIssueVariables (line 40978) | type IssuesListLabelsOnIssueVariables = {
  type IssuesAddLabelsPathParams (line 41035) | type IssuesAddLabelsPathParams = {
  type IssuesAddLabelsError (line 41044) | type IssuesAddLabelsError = Fetcher.ErrorWrapper<
  type IssuesAddLabelsResponse (line 41055) | type IssuesAddLabelsResponse = Schemas.Label[];
  type IssuesAddLabelsRequestBody (line 41057) | type IssuesAddLabelsRequestBody = {
  type IssuesAddLabelsVariables (line 41064) | type IssuesAddLabelsVariables = {
  type IssuesSetLabelsPathParams (line 41109) | type IssuesSetLabelsPathParams = {
  type IssuesSetLabelsError (line 41118) | type IssuesSetLabelsError = Fetcher.ErrorWrapper<
  type IssuesSetLabelsResponse (line 41129) | type IssuesSetLabelsResponse = Schemas.Label[];
  type IssuesSetLabelsRequestBody (line 41131) | type IssuesSetLabelsRequestBody = {
  type IssuesSetLabelsVariables (line 41138) | type IssuesSetLabelsVariables = {
  type IssuesRemoveLabelPathParams (line 41189) | type IssuesRemoveLabelPathParams = {
  type IssuesRemoveLabelError (line 41199) | type IssuesRemoveLabelError = Fetcher.ErrorWrapper<
  type IssuesRemoveLabelResponse (line 41210) | type IssuesRemoveLabelResponse = Schemas.Label[];
  type IssuesRemoveLabelVariables (line 41212) | type IssuesRemoveLabelVariables = {
  type IssuesUnlockPathParams (line 41262) | type IssuesUnlockPathParams = {
  type IssuesUnlockError (line 41271) | type IssuesUnlockError = Fetcher.ErrorWrapper<
  type IssuesUnlockVariables (line 41282) | type IssuesUnlockVariables = {
  type IssuesLockPathParams (line 41332) | type IssuesLockPathParams = {
  type IssuesLockError (line 41341) | type IssuesLockError = Fetcher.ErrorWrapper<
  type IssuesLockVariables (line 41360) | type IssuesLockVariables = {
  type ReactionsListForIssuePathParams (line 41433) | type ReactionsListForIssuePathParams = {
  type ReactionsListForIssueQueryParams (line 41442) | type ReactionsListForIssueQueryParams = {
  type ReactionsListForIssueError (line 41469) | type ReactionsListForIssueError = Fetcher.ErrorWrapper<
  type ReactionsListForIssueResponse (line 41484) | type ReactionsListForIssueResponse = Schemas.Reaction[];
  type ReactionsListForIssueVariables (line 41486) | type ReactionsListForIssueVariables = {
  type ReactionsCreateForIssuePathParams (line 41547) | type ReactionsCreateForIssuePathParams = {
  type ReactionsCreateForIssueError (line 41556) | type ReactionsCreateForIssueError = Fetcher.ErrorWrapper<
  type ReactionsCreateForIssueRequestBody (line 41567) | type ReactionsCreateForIssueRequestBody = {
  type ReactionsCreateForIssueVariables (line 41582) | type ReactionsCreateForIssueVariables = {
  type ReactionsDeleteForIssuePathParams (line 41633) | type ReactionsDeleteForIssuePathParams = {
  type ReactionsDeleteForIssueError (line 41643) | type ReactionsDeleteForIssueError = Fetcher.ErrorWrapper<undefined>;
  type ReactionsDeleteForIssueVariables (line 41645) | type ReactionsDeleteForIssueVariables = {
  type IssuesListEventsForTimelinePathParams (line 41699) | type IssuesListEventsForTimelinePathParams = {
  type IssuesListEventsForTimelineQueryParams (line 41708) | type IssuesListEventsForTimelineQueryParams = {
  type IssuesListEventsForTimelineError (line 41723) | type IssuesListEventsForTimelineError = Fetcher.ErrorWrapper<
  type IssuesListEventsForTimelineResponse (line 41738) | type IssuesListEventsForTimelineResponse = Schemas.IssueEventForIssue[];
  type IssuesListEventsForTimelineVariables (line 41740) | type IssuesListEventsForTimelineVariables = {
  type ReposListDeployKeysPathParams (line 41800) | type ReposListDeployKeysPathParams = {
  type ReposListDeployKeysQueryParams (line 41805) | type ReposListDeployKeysQueryParams = {
  type ReposListDeployKeysError (line 41820) | type ReposListDeployKeysError = Fetcher.ErrorWrapper<undefined>;
  type ReposListDeployKeysResponse (line 41822) | type ReposListDeployKeysResponse = Schemas.DeployKey[];
  type ReposListDeployKeysVariables (line 41824) | type ReposListDeployKeysVariables = {
  type ReposCreateDeployKeyPathParams (line 41874) | type ReposCreateDeployKeyPathParams = {
  type ReposCreateDeployKeyError (line 41879) | type ReposCreateDeployKeyError = Fetcher.ErrorWrapper<{
  type ReposCreateDeployKeyRequestBody (line 41884) | type ReposCreateDeployKeyRequestBody = {
  type ReposCreateDeployKeyVariables (line 41901) | type ReposCreateDeployKeyVariables = {
  type ReposDeleteDeployKeyPathParams (line 41952) | type ReposDeleteDeployKeyPathParams = {
  type ReposDeleteDeployKeyError (line 41961) | type ReposDeleteDeployKeyError = Fetcher.ErrorWrapper<undefined>;
  type ReposDeleteDeployKeyVariables (line 41963) | type ReposDeleteDeployKeyVariables = {
  type ReposGetDeployKeyPathParams (line 42013) | type ReposGetDeployKeyPathParams = {
  type ReposGetDeployKeyError (line 42022) | type ReposGetDeployKeyError = Fetcher.ErrorWrapper<{
  type ReposGetDeployKeyVariables (line 42027) | type ReposGetDeployKeyVariables = {
  type IssuesListLabelsForRepoPathParams (line 42077) | type IssuesListLabelsForRepoPathParams = {
  type IssuesListLabelsForRepoQueryParams (line 42082) | type IssuesListLabelsForRepoQueryParams = {
  type IssuesListLabelsForRepoError (line 42097) | type IssuesListLabelsForRepoError = Fetcher.ErrorWrapper<{
  type IssuesListLabelsForRepoResponse (line 42102) | type IssuesListLabelsForRepoResponse = Schemas.Label[];
  type IssuesListLabelsForRepoVariables (line 42104) | type IssuesListLabelsForRepoVariables = {
  type IssuesCreateLabelPathParams (line 42161) | type IssuesCreateLabelPathParams = {
  type IssuesCreateLabelError (line 42166) | type IssuesCreateLabelError = Fetcher.ErrorWrapper<
  type IssuesCreateLabelRequestBody (line 42177) | type IssuesCreateLabelRequestBody = {
  type IssuesCreateLabelVariables (line 42192) | type IssuesCreateLabelVariables = {
  type IssuesDeleteLabelPathParams (line 42237) | type IssuesDeleteLabelPathParams = {
  type IssuesDeleteLabelError (line 42243) | type IssuesDeleteLabelError = Fetcher.ErrorWrapper<undefined>;
  type IssuesDeleteLabelVariables (line 42245) | type IssuesDeleteLabelVariables = {
  type IssuesGetLabelPathParams (line 42289) | type IssuesGetLabelPathParams = {
  type IssuesGetLabelError (line 42295) | type IssuesGetLabelError = Fetcher.ErrorWrapper<{
  type IssuesGetLabelVariables (line 42300) | type IssuesGetLabelVariables = {
  type IssuesUpdateLabelPathParams (line 42346) | type IssuesUpdateLabelPathParams = {
  type IssuesUpdateLabelError (line 42352) | type IssuesUpdateLabelError = Fetcher.ErrorWrapper<undefined>;
  type IssuesUpdateLabelRequestBody (line 42354) | type IssuesUpdateLabelRequestBody = {
  type IssuesUpdateLabelVariables (line 42369) | type IssuesUpdateLabelVariables = {
  type ReposListLanguagesPathParams (line 42414) | type ReposListLanguagesPathParams = {
  type ReposListLanguagesError (line 42419) | type ReposListLanguagesError = Fetcher.ErrorWrapper<undefined>;
  type ReposListLanguagesVariables (line 42421) | type ReposListLanguagesVariables = {
  type LicensesGetForRepoPathParams (l
Condensed preview — 182 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,886K chars).
[
  {
    "path": ".editorconfig",
    "chars": 215,
    "preview": "# 🎨 http://editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_"
  },
  {
    "path": ".gitignore",
    "chars": 69,
    "preview": "dist/\ndeploy_versions/\n.temp/\n.rn_temp/\nnode_modules/\n.DS_Store\n.swc\n"
  },
  {
    "path": ".prettierignore",
    "chars": 56,
    "preview": "node_modules\ndist\ntests\n*.d.ts\n*.js\n*.md\n*.yaml\n.vscode\n"
  },
  {
    "path": ".prettierrc",
    "chars": 298,
    "preview": "{\n  \"printWidth\": 80,\n  \"singleQuote\": true,\n  \"trailingComma\": \"all\",\n  \"proseWrap\": \"never\",\n  \"overrides\": [{ \"files\""
  },
  {
    "path": "README.md",
    "chars": 627,
    "preview": "# GitHub Pro\n\n<img src=\"docs/logo.png\" width=\"100\"><br/>\n\n> 一个简洁、强大的 GitHub 小程序客户端\n\n\n基于 Taro3 / Taro-ui / React-query / "
  },
  {
    "path": "babel.config.js",
    "chars": 1040,
    "preview": "// babel-preset-taro 更多选项和默认值:\n// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md\nmodule.e"
  },
  {
    "path": "config/dev.js",
    "chars": 112,
    "preview": "module.exports = {\n  env: {\n    NODE_ENV: '\"development\"'\n  },\n  defineConstants: {\n  },\n  mini: {},\n  h5: {}\n}\n"
  },
  {
    "path": "config/index.js",
    "chars": 2145,
    "preview": "const path = require('path');\n\nconst config = {\n  projectName: 'GitHub-Pro',\n  date: '2023-2-7',\n  designWidth: 750,\n  d"
  },
  {
    "path": "config/prod.js",
    "chars": 1122,
    "preview": "module.exports = {\n  env: {\n    NODE_ENV: '\"production\"'\n  },\n  defineConstants: {\n  },\n  mini: {},\n  h5: {\n    /**\n    "
  },
  {
    "path": "openapi-codegen.config.ts",
    "chars": 637,
    "preview": "import { defineConfig } from '@openapi-codegen/cli';\nimport {\n  generateReactQueryComponents,\n  generateSchemaTypes,\n} f"
  },
  {
    "path": "package.json",
    "chars": 3315,
    "preview": "{\n  \"name\": \"GitHub-Pro\",\n  \"version\": \"1.0.0\",\n  \"private\": true,\n  \"description\": \"\",\n  \"license\": \"MIT\",\n  \"author\": "
  },
  {
    "path": "project.config.json",
    "chars": 620,
    "preview": "{\n  \"miniprogramRoot\": \"dist/\",\n  \"projectname\": \"GitHub-Pro\",\n  \"description\": \"\",\n  \"appid\": \"wx96c15ae0f6f25368\",\n  \""
  },
  {
    "path": "project.private.config.json",
    "chars": 246,
    "preview": "{\n  \"description\": \"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/"
  },
  {
    "path": "project.tt.json",
    "chars": 245,
    "preview": "{\n  \"miniprogramRoot\": \"./\",\n  \"projectname\": \"GitHub-Pro\",\n  \"description\": \"\",\n  \"appid\": \"touristappid\",\n  \"setting\":"
  },
  {
    "path": "src/app.config.ts",
    "chars": 2418,
    "preview": "export default defineAppConfig({\n  pages: [\n    'pages/trending/index',\n    'pages/news/index',\n    'pages/activity/repo"
  },
  {
    "path": "src/app.scss",
    "chars": 28,
    "preview": "page {\n  background: $bg;\n}\n"
  },
  {
    "path": "src/app.tsx",
    "chars": 2434,
    "preview": "import '@/assets/iconfont/icon.css';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport Ta"
  },
  {
    "path": "src/assets/iconfont/icon.css",
    "chars": 9662,
    "preview": "@font-face {\n  font-family: 'iconfont';\n  src: url('iconfont.eot?t=1568428655639'); /* IE9 */\n  src: url('iconfont.eot?t"
  },
  {
    "path": "src/components/activity-item/index.module.scss",
    "chars": 510,
    "preview": ".item-wrap {\n  padding: 20px;\n  margin-top: 20px;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);\n  border-radius: 10px;\n "
  },
  {
    "path": "src/components/activity-item/index.tsx",
    "chars": 7995,
    "preview": "import Author from '@/components/author';\nimport type * as Schemas from '@/src/githubSchemas';\nimport { Text, View } fro"
  },
  {
    "path": "src/components/author/index.module.scss",
    "chars": 248,
    "preview": ".author {\n  display: flex;\n  justify-items: center;\n  width: 100%;\n}\n\n.login {\n  font-size: 32px;\n  font-weight: 400;\n  "
  },
  {
    "path": "src/components/author/index.tsx",
    "chars": 1192,
    "preview": "import { getTimeAgo } from '@/utils/date';\nimport { Text, View } from '@tarojs/components';\nimport Taro from '@tarojs/ta"
  },
  {
    "path": "src/components/avatar/index.module.scss",
    "chars": 87,
    "preview": ".avatar {\n  width: 80px;\n  height: 80px;\n  margin-right: 20px;\n  border-radius: 50%;\n}\n"
  },
  {
    "path": "src/components/avatar/index.tsx",
    "chars": 1132,
    "preview": "import { Block, Image } from '@tarojs/components';\nimport Taro from '@tarojs/taro';\nimport classnames from 'classnames';"
  },
  {
    "path": "src/components/empty/index.module.scss",
    "chars": 290,
    "preview": ".wrap {\n  height: 100vh;\n  width: 100vw;\n  display: flex;\n  justify-content: center;\n\n  background: $bg;\n}\n.inner {\n  ma"
  },
  {
    "path": "src/components/empty/index.tsx",
    "chars": 817,
    "preview": "import img from '@/assets/spidertocat.png';\nimport { Image, Text, View } from '@tarojs/components';\nimport { FC } from '"
  },
  {
    "path": "src/components/fab-button/index.module.scss",
    "chars": 77,
    "preview": ".fab-btn {\n  position: fixed;\n  bottom: 36px;\n  right: 26px;\n  z-index: 3;\n}\n"
  },
  {
    "path": "src/components/fab-button/index.tsx",
    "chars": 804,
    "preview": "import { View } from '@tarojs/components';\nimport { ITouchEvent } from '@tarojs/components/types/common';\nimport { React"
  },
  {
    "path": "src/components/font-icon/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/components/font-icon/index.tsx",
    "chars": 474,
    "preview": "import { AtIcon } from 'taro-ui';\n\ninterface FontIconProps {\n  value: string;\n  size?: string | number;\n  styleProps?: R"
  },
  {
    "path": "src/components/list-item/index.module.scss",
    "chars": 583,
    "preview": ".item {\n  display: flex;\n  align-items: center;\n  padding: 15px 24px;\n  position: relative;\n  -webkit-box-sizing: border"
  },
  {
    "path": "src/components/list-item/index.tsx",
    "chars": 2257,
    "preview": "import FontIcon from '@/components/font-icon';\nimport { Text, View } from '@tarojs/components';\nimport { ITouchEvent } f"
  },
  {
    "path": "src/components/load-more/index.module.scss",
    "chars": 32,
    "preview": ".wrap {\n  position: relative;\n}\n"
  },
  {
    "path": "src/components/load-more/index.tsx",
    "chars": 549,
    "preview": "import { View } from '@tarojs/components';\nimport { AtLoadMore } from 'taro-ui';\nimport 'taro-ui/dist/style/components/a"
  },
  {
    "path": "src/components/markdown/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/components/markdown/index.tsx",
    "chars": 3355,
    "preview": "import { copyText } from '@/utils/common';\nimport {\n  getNavPath,\n  githubHttpsUrl,\n  isGitHubPage,\n  mdLink,\n  parseGit"
  },
  {
    "path": "src/components/no-authority/index.module.scss",
    "chars": 316,
    "preview": ".wrap {\n  display: flex;\n  height: 100vh;\n  width: 100vw;\n  justify-content: center;\n  text-align: center;\n  align-items"
  },
  {
    "path": "src/components/no-authority/index.tsx",
    "chars": 799,
    "preview": "import img from '@/assets/stormtroopocat.png';\nimport { Image, View } from '@tarojs/components';\nimport Taro from '@taro"
  },
  {
    "path": "src/components/repo-item/index.module.scss",
    "chars": 860,
    "preview": ".repo-wrap {\n  display: flex;\n  margin: 25px 20px;\n  padding: 20px;\n  box-sizing: border-box;\n  font-size: 25px;\n  borde"
  },
  {
    "path": "src/components/repo-item/index.tsx",
    "chars": 3566,
    "preview": "import { SearchReposResponse } from '@/github/githubComponents';\nimport { Text, View } from '@tarojs/components';\nimport"
  },
  {
    "path": "src/components/skeleton-card/index.module.scss",
    "chars": 105,
    "preview": ".loading {\n  text-align: center;\n  margin-top: 250px;\n  color: $loading-text-color;\n  font-size: 30px;\n}\n"
  },
  {
    "path": "src/components/skeleton-card/index.tsx",
    "chars": 843,
    "preview": "import monaLoadingGif from '@/assets/mona-loading.gif';\nimport { Block, Image, Text, View } from '@tarojs/components';\ni"
  },
  {
    "path": "src/components/user-info/index.module.scss",
    "chars": 1222,
    "preview": ".wrap {\n}\n\n.header {\n  padding: 20px;\n  display: flex;\n  align-items: space-between;\n  background: $itemBg;\n}\n\n.divide {"
  },
  {
    "path": "src/components/user-info/index.tsx",
    "chars": 8335,
    "preview": "import {\n  useActivityCheckRepoIsStarredByAuthenticatedUser,\n  useActivityStarRepoForAuthenticatedUser,\n} from '@/github"
  },
  {
    "path": "src/components/user-item/index.module.scss",
    "chars": 202,
    "preview": ".user {\n  display: flex;\n  align-items: center;\n  margin: 20px;\n  padding: 8px 0;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0,"
  },
  {
    "path": "src/components/user-item/index.tsx",
    "chars": 819,
    "preview": "import { Block, View } from '@tarojs/components';\nimport Author from '../author';\nimport Empty from '../empty';\nimport L"
  },
  {
    "path": "src/constants.ts",
    "chars": 632,
    "preview": "export interface IDefaultParams {\n  per_page?: number;\n  page?: number;\n}\nexport const defaultParams: IDefaultParams = {"
  },
  {
    "path": "src/github/githubComponents.ts",
    "chars": 2119146,
    "preview": "/**\n * Generated by @openapi-codegen\n *\n * @version 1.1.4\n */\nimport * as reactQuery from '@tanstack/react-query';\nimpor"
  },
  {
    "path": "src/github/githubContext.ts",
    "chars": 2434,
    "preview": "import type { QueryKey, UseQueryOptions } from '@tanstack/react-query';\nimport { QueryOperation } from './githubComponen"
  },
  {
    "path": "src/github/githubFetcher.ts",
    "chars": 2221,
    "preview": "import Taro from '@tarojs/taro';\nimport { GithubContext } from './githubContext';\n\nconst baseUrl = 'https://api.github.c"
  },
  {
    "path": "src/github/githubParameters.ts",
    "chars": 3645,
    "preview": "/**\n * Generated by @openapi-codegen\n *\n * @version 1.1.4\n */\nimport type * as Schemas from './githubSchemas';\n\nexport t"
  },
  {
    "path": "src/github/githubResponses.ts",
    "chars": 1399,
    "preview": "/**\n * Generated by @openapi-codegen\n *\n * @version 1.1.4\n */\nimport type * as Schemas from './githubSchemas';\n\nexport t"
  },
  {
    "path": "src/github/githubSchemas.ts",
    "chars": 239683,
    "preview": "/**\n * Generated by @openapi-codegen\n *\n * @version 1.1.4\n */\nexport type ActionsBillingUsage = {\n  /**\n   * The amount "
  },
  {
    "path": "src/hooks/useInfiniteGithubRequest.ts",
    "chars": 1884,
    "preview": "import { defaultParams } from '@/constants';\nimport { usePullDownRefresh, useReachBottom } from '@tarojs/taro';\nimport {"
  },
  {
    "path": "src/hooks/usePageScrollBackToTop.tsx",
    "chars": 549,
    "preview": "import FabButton from '@/components/fab-button';\nimport Taro, { usePageScroll } from '@tarojs/taro';\nimport { useState }"
  },
  {
    "path": "src/hooks/usePullDownRefreshEvent.ts",
    "chars": 460,
    "preview": "import { getUniqueId } from '@/utils/common';\nimport events from '@/utils/event_bus';\nimport { usePullDownRefresh } from"
  },
  {
    "path": "src/hooks/useReachBottomEvent.ts",
    "chars": 677,
    "preview": "import { getUniqueId } from '@/utils/common';\nimport events from '@/utils/event_bus';\nimport { useReachBottom } from '@t"
  },
  {
    "path": "src/hooks/useRequest.ts",
    "chars": 1092,
    "preview": "import { PULL_DOWN_REFRESH_EVENT } from '@/constants';\nimport events from '@/utils/event_bus';\nimport { usePullDownRefre"
  },
  {
    "path": "src/hooks/useRequestWIthMore.ts",
    "chars": 2515,
    "preview": "import events from '@/utils/event_bus';\nimport Taro, { usePullDownRefresh, useReachBottom } from '@tarojs/taro';\nimport "
  },
  {
    "path": "src/hooks/useTrending.ts",
    "chars": 796,
    "preview": "import { TRENDING_URL } from '@/constants';\nimport { useQuery } from '@tanstack/react-query';\nimport Taro from '@tarojs/"
  },
  {
    "path": "src/index.html",
    "chars": 643,
    "preview": "<!DOCTYPE html>\n<html>\n<head>\n  <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\">\n  <meta content=\"wid"
  },
  {
    "path": "src/pages/activity/index.module.scss",
    "chars": 37,
    "preview": ".wrap {\n  padding: 20px 20px 40px;\n}\n"
  },
  {
    "path": "src/pages/activity/index.tsx",
    "chars": 1177,
    "preview": "import { View } from '@tarojs/components';\nimport { usePullDownRefresh, useReachBottom, useRouter } from '@tarojs/taro';"
  },
  {
    "path": "src/pages/activity/repo.tsx",
    "chars": 1292,
    "preview": "import LoadMore from '@/components/load-more';\nimport { getRepoEvents, RepoEvent } from '@/services/repos';\nimport { Vie"
  },
  {
    "path": "src/pages/bookmarks/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/bookmarks/index.tsx",
    "chars": 133,
    "preview": "import { View } from '@tarojs/components';\n\nconst Bookmarks = () => {\n  return <View>Bookmarks</View>;\n};\n\nexport defaul"
  },
  {
    "path": "src/pages/commits/commit-item/index.module.scss",
    "chars": 635,
    "preview": ".wrap {\n  display: flex;\n  margin: 20px;\n  padding: 20px;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);\n  border-radius:"
  },
  {
    "path": "src/pages/commits/commit-item/index.tsx",
    "chars": 2274,
    "preview": "import Avatar from '@/components/avatar';\nimport FontIcon from '@/components/font-icon';\nimport { CommitItemData } from "
  },
  {
    "path": "src/pages/commits/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/commits/index.tsx",
    "chars": 1247,
    "preview": "import Empty from '@/components/empty';\nimport LoadMore from '@/components/load-more';\nimport SkeletonCard from '@/compo"
  },
  {
    "path": "src/pages/developer/followers/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/developer/followers/index.tsx",
    "chars": 706,
    "preview": "import UserItem from '@/components/user-item';\nimport useRequestWIthMore from '@/hooks/useRequestWIthMore';\nimport { get"
  },
  {
    "path": "src/pages/developer/following/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/developer/following/index.tsx",
    "chars": 706,
    "preview": "import UserItem from '@/components/user-item';\nimport useRequestWIthMore from '@/hooks/useRequestWIthMore';\nimport { get"
  },
  {
    "path": "src/pages/developer/index.module.scss",
    "chars": 1218,
    "preview": ".wrap {\n  padding: 10px 20px 80px;\n}\n\n.header {\n  padding: 20px 10px 10px;\n  display: flex;\n  align-items: center;\n}\n\n.a"
  },
  {
    "path": "src/pages/developer/index.tsx",
    "chars": 2231,
    "preview": "import SkeletonCard from '@/components/skeleton-card';\nimport UserInfo from '@/components/user-info';\nimport {\n  useUser"
  },
  {
    "path": "src/pages/developer/repos/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/developer/repos/index.tsx",
    "chars": 1295,
    "preview": "import Empty from '@/components/empty';\nimport LoadMore from '@/components/load-more';\nimport RepoItem from '@/component"
  },
  {
    "path": "src/pages/developer/starred/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/developer/starred/index.tsx",
    "chars": 1164,
    "preview": "import Empty from '@/components/empty';\nimport LoadMore from '@/components/load-more';\nimport RepoItem from '@/component"
  },
  {
    "path": "src/pages/issues/comment-item/index.module.scss",
    "chars": 165,
    "preview": ".wrap {\n  margin-top: 40px;\n  padding: 20px;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);\n  border-radius: 10px;\n  box-"
  },
  {
    "path": "src/pages/issues/comment-item/index.tsx",
    "chars": 1214,
    "preview": "import Author from '@/components/author';\nimport Markdown from '@/components/markdown';\nimport { View } from '@tarojs/co"
  },
  {
    "path": "src/pages/issues/create-comment/index.module.scss",
    "chars": 237,
    "preview": ".wrap {\n  margin: 40px;\n}\n\n.content {\n  margin-top: 20px;\n  border: 1px solid #ccc;\n  box-shadow: 0 0 10px 0 rgba(0, 0, "
  },
  {
    "path": "src/pages/issues/create-comment/index.tsx",
    "chars": 1722,
    "preview": "import { showLoginTips } from '@/utils/common';\nimport { View } from '@tarojs/components';\nimport Taro, { useRouter } fr"
  },
  {
    "path": "src/pages/issues/create-issue/index.module.scss",
    "chars": 265,
    "preview": ".wrap {\n  margin: 40px;\n}\n.title {\n  margin-top: 20px;\n  border: 1px solid #ccc;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, "
  },
  {
    "path": "src/pages/issues/create-issue/index.tsx",
    "chars": 2122,
    "preview": "import { View } from '@tarojs/components';\nimport Taro, { useRouter } from '@tarojs/taro';\nimport { useEffect, useState "
  },
  {
    "path": "src/pages/issues/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/issues/index.tsx",
    "chars": 4216,
    "preview": "import Empty from '@/components/empty';\nimport FabButton from '@/components/fab-button';\nimport { Block, View } from '@t"
  },
  {
    "path": "src/pages/issues/issue-detail/index.module.scss",
    "chars": 485,
    "preview": ".wrap {\n  padding: 20px 20px 40px;\n  height: 100vh;\n  background: $itemBg;\n}\n.header {\n}\n.meta {\n  font-size: 28px;\n  fo"
  },
  {
    "path": "src/pages/issues/issue-detail/index.tsx",
    "chars": 3276,
    "preview": "import Author from '@/components/author';\nimport Empty from '@/components/empty';\nimport FabButton from '@/components/fa"
  },
  {
    "path": "src/pages/issues/issue-item/index.module.scss",
    "chars": 681,
    "preview": ".wrap {\n  display: flex;\n  margin: 20px;\n  padding: 20px;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);\n  border-radius:"
  },
  {
    "path": "src/pages/issues/issue-item/index.tsx",
    "chars": 2528,
    "preview": "import Avatar from '@/components/avatar';\nimport FontIcon from '@/components/font-icon';\nimport { Issue } from '@/servic"
  },
  {
    "path": "src/pages/issues/shared_data.ts",
    "chars": 177,
    "preview": "const shared_data = { issue: null };\n\nexport const setIssueData = (data) => {\n  shared_data.issue = data;\n};\n\nexport con"
  },
  {
    "path": "src/pages/login/index.config.ts",
    "chars": 86,
    "preview": "export default {\n  navigationBarTitleText: 'Login',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/login/index.module.scss",
    "chars": 712,
    "preview": "page {\n  background: #fff;\n}\n.at-input {\n  margin-left: 0;\n  margin-bottom: 20px;\n  padding-left: 32px;\n}\n\n.layout-conta"
  },
  {
    "path": "src/pages/login/index.tsx",
    "chars": 3081,
    "preview": "import { useUsersGetAuthenticated } from '@/github/githubComponents';\nimport { LOGIN } from '@/store/constatnts';\nimport"
  },
  {
    "path": "src/pages/my-languages/index.config.ts",
    "chars": 93,
    "preview": "export default {\n  navigationBarTitleText: 'My Languages',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/my-languages/index.module.scss",
    "chars": 266,
    "preview": ".wrap {\n  margin-top: 20px;\n}\n.filter-input {\n  line-height: 40px;\n  height: 40px;\n  font-size: 35px;\n  padding: 10px 40"
  },
  {
    "path": "src/pages/my-languages/index.tsx",
    "chars": 2213,
    "preview": "import { UPDATE_SELECTED_LANGS } from '@/store/constatnts';\nimport { Input, View } from '@tarojs/components';\nimport Tar"
  },
  {
    "path": "src/pages/my-languages/languages.ts",
    "chars": 32888,
    "preview": "export const LANGUAGE_LIST = [\n  {\n    value: '',\n    label: 'All Languages',\n    disabled: true,\n  },\n  {\n    value: '1"
  },
  {
    "path": "src/pages/news/content/index.module.scss",
    "chars": 71,
    "preview": ".content-wrap {\n  padding: 20px;\n  height: 100vh;\n  background: $bg;\n}\n"
  },
  {
    "path": "src/pages/news/content/index.tsx",
    "chars": 1432,
    "preview": "import ActivityItem, { ActivityItemDataType } from '@/components/activity-item';\nimport Empty from '@/components/empty';"
  },
  {
    "path": "src/pages/news/index.config.ts",
    "chars": 85,
    "preview": "export default {\n  navigationBarTitleText: 'News',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/news/index.tsx",
    "chars": 335,
    "preview": "import { View } from '@tarojs/components';\nimport { useSelector } from 'react-redux';\nimport NewContent from './content'"
  },
  {
    "path": "src/pages/notifications/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/notifications/index.tsx",
    "chars": 145,
    "preview": "import { View } from '@tarojs/components';\n\nconst Notifications = () => {\n  return <View>Notifications</View>;\n};\n\nexpor"
  },
  {
    "path": "src/pages/profile/content.tsx",
    "chars": 1358,
    "preview": "import SkeletonCard from '@/components/skeleton-card';\nimport UserInfo from '@/components/user-info';\nimport { useUsersG"
  },
  {
    "path": "src/pages/profile/index.config.ts",
    "chars": 88,
    "preview": "export default {\n  navigationBarTitleText: 'Profile',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/profile/index.module.scss",
    "chars": 1046,
    "preview": ".wrap {\n}\n\n.header {\n  padding: 20px;\n  display: flex;\n  align-items: space-between;\n  background: $itemBg;\n}\n\n.divide {"
  },
  {
    "path": "src/pages/profile/index.tsx",
    "chars": 468,
    "preview": "import NoAuthority from '@/components/no-authority';\nimport { Block } from '@tarojs/components';\nimport { useSelector } "
  },
  {
    "path": "src/pages/profile/issues.tsx",
    "chars": 3717,
    "preview": "import Empty from '@/components/empty';\nimport { getUserIssues } from '@/services/user';\nimport { Block, View } from '@t"
  },
  {
    "path": "src/pages/repos/content/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/repos/content/index.tsx",
    "chars": 1462,
    "preview": "import Empty from '@/components/empty';\nimport Markdown from '@/components/markdown';\nimport useRequest from '@/hooks/us"
  },
  {
    "path": "src/pages/repos/contributors/index.module.scss",
    "chars": 202,
    "preview": ".user {\n  display: flex;\n  align-items: center;\n  margin: 20px;\n  padding: 8px 0;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0,"
  },
  {
    "path": "src/pages/repos/contributors/index.tsx",
    "chars": 297,
    "preview": "import { useReposListContributors } from '@/github/githubComponents';\nimport ListRender from '../list-render';\n\nconst Co"
  },
  {
    "path": "src/pages/repos/files/index.module.scss",
    "chars": 60,
    "preview": ".files-wrap {\n  padding: 20px;\n}\n.file {\n  padding: 10px;\n}\n"
  },
  {
    "path": "src/pages/repos/files/index.tsx",
    "chars": 2105,
    "preview": "import useRequest from '@/hooks/useRequest';\nimport { File, getContents } from '@/services/repos';\nimport { bytesToSize "
  },
  {
    "path": "src/pages/repos/forks/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/repos/forks/index.tsx",
    "chars": 336,
    "preview": "import { useReposListForks } from '@/github/githubComponents';\nimport ListRender from '../list-render';\n\nconst Forks = ("
  },
  {
    "path": "src/pages/repos/index.config.ts",
    "chars": 91,
    "preview": "export default {\n  navigationBarTitleText: 'Repository',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/repos/index.module.scss",
    "chars": 1842,
    "preview": ".wrap {\n  font-size: 28px;\n  background: $bg;\n  min-height: 100vh;\n}\n.header {\n  display: flex;\n  padding: 30px 20px 10p"
  },
  {
    "path": "src/pages/repos/index.tsx",
    "chars": 11040,
    "preview": "import Avatar from '@/components/avatar';\nimport FontIcon from '@/components/font-icon';\nimport SkeletonCard from '@/com"
  },
  {
    "path": "src/pages/repos/list-render/index.tsx",
    "chars": 957,
    "preview": "import SkeletonCard from '@/components/skeleton-card';\nimport UserItem from '@/components/user-item';\nimport useInfinite"
  },
  {
    "path": "src/pages/repos/readme/index.module.scss",
    "chars": 205,
    "preview": ".wrap {\n  max-height: 800px;\n  overflow: hidden;\n  position: relative;\n  padding-bottom: 150px;\n}\n\n.btn {\n  width: 300px"
  },
  {
    "path": "src/pages/repos/readme/index.tsx",
    "chars": 1624,
    "preview": "import Markdown from '@/components/markdown';\nimport SkeletonCard from '@/components/skeleton-card';\nimport { useReposGe"
  },
  {
    "path": "src/pages/repos/stars/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/repos/stars/index.tsx",
    "chars": 292,
    "preview": "import { useActivityListStargazersForRepo } from '@/github/githubComponents';\nimport ListRender from '../list-render';\n\n"
  },
  {
    "path": "src/pages/repos/watchs/index.module.scss",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/repos/watchs/index.tsx",
    "chars": 288,
    "preview": "import { useActivityListWatchersForRepo } from '@/github/githubComponents';\nimport ListRender from '../list-render';\n\nco"
  },
  {
    "path": "src/pages/search/index.config.ts",
    "chars": 87,
    "preview": "export default {\n  navigationBarTitleText: 'Search',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/search/index.module.scss",
    "chars": 551,
    "preview": ".wrap {\n  padding: 160px 0;\n  background: $bg;\n}\n\n.search-wrap {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n"
  },
  {
    "path": "src/pages/search/index.tsx",
    "chars": 3117,
    "preview": "import usePageScrollBackToTop from '@/hooks/usePageScrollBackToTop';\nimport { Block, View } from '@tarojs/components';\ni"
  },
  {
    "path": "src/pages/search/issues.tsx",
    "chars": 2315,
    "preview": "import LoadMore from '@/components/load-more';\nimport SkeletonCard from '@/components/skeleton-card';\nimport { defaultSe"
  },
  {
    "path": "src/pages/search/repos.tsx",
    "chars": 1863,
    "preview": "import LoadMore from '@/components/load-more';\nimport RepoItem from '@/components/repo-item';\nimport SkeletonCard from '"
  },
  {
    "path": "src/pages/search/users.tsx",
    "chars": 2093,
    "preview": "import Author from '@/components/author';\nimport LoadMore from '@/components/load-more';\nimport SkeletonCard from '@/com"
  },
  {
    "path": "src/pages/starred/content.tsx",
    "chars": 1238,
    "preview": "import LoadMore from '@/components/load-more';\nimport SkeletonCard from '@/components/skeleton-card';\nimport { useActivi"
  },
  {
    "path": "src/pages/starred/index.config.ts",
    "chars": 88,
    "preview": "export default {\n  navigationBarTitleText: 'Starred',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/starred/index.module.scss",
    "chars": 37,
    "preview": ".content-wrap {\n  background: $bg;\n}\n"
  },
  {
    "path": "src/pages/starred/index.tsx",
    "chars": 684,
    "preview": "import NoAuthority from '@/components/no-authority';\nimport usePullDownRefreshEvent from '@/hooks/usePullDownRefreshEven"
  },
  {
    "path": "src/pages/trending/index.config.ts",
    "chars": 89,
    "preview": "export default {\n  navigationBarTitleText: 'Trending',\n  enablePullDownRefresh: true,\n};\n"
  },
  {
    "path": "src/pages/trending/index.module.scss",
    "chars": 453,
    "preview": ".wrap {\n}\n\n.header {\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  display: flex;\n  background-color: white;\n  p"
  },
  {
    "path": "src/pages/trending/index.tsx",
    "chars": 5547,
    "preview": "import Empty from '@/components/empty';\nimport SkeletonCard from '@/components/skeleton-card';\nimport { CURRENT_LANGUAGE"
  },
  {
    "path": "src/pages/trending/language/index.module.scss",
    "chars": 293,
    "preview": ".wrap {\n}\n.title {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  padding: 10px 20px;\n  bac"
  },
  {
    "path": "src/pages/trending/language/index.tsx",
    "chars": 1264,
    "preview": "import { Text, View } from '@tarojs/components';\nimport Taro from '@tarojs/taro';\nimport { useSelector } from 'react-red"
  },
  {
    "path": "src/pages/trending/repo-item/index.module.scss",
    "chars": 1835,
    "preview": ".card-wrap {\n  margin: 25px 20px;\n  padding: 10px 20px 20px 10px;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);\n  border"
  },
  {
    "path": "src/pages/trending/repo-item/index.tsx",
    "chars": 2264,
    "preview": "import FontIcon from '@/components/font-icon';\nimport { Text, View } from '@tarojs/components';\nimport Taro from '@taroj"
  },
  {
    "path": "src/pages/trending/user-item/index.module.scss",
    "chars": 1119,
    "preview": ".cardWrap {\n  margin: 25px 20px;\n  padding: 10px 20px 20px 10px;\n  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);\n  border-"
  },
  {
    "path": "src/pages/trending/user-item/index.tsx",
    "chars": 2117,
    "preview": "import FontIcon from '@/components/font-icon';\nimport { Image, ITouchEvent, Text, View } from '@tarojs/components';\nimpo"
  },
  {
    "path": "src/services/commits.ts",
    "chars": 1604,
    "preview": "import request from '../utils/request';\n\nexport interface CommitItemData {\n  sha: string;\n  node_id: string;\n  commit: C"
  },
  {
    "path": "src/services/github.ts",
    "chars": 200,
    "preview": "import { IDefaultParams } from '@/constants';\nimport request from '@/utils/request';\n\nexport const getEvents = (_, param"
  },
  {
    "path": "src/services/issues.ts",
    "chars": 2465,
    "preview": "import request from '../utils/request';\n\nexport interface Issue {\n  url: string;\n  repository_url: string;\n  labels_url:"
  },
  {
    "path": "src/services/repos.ts",
    "chars": 8105,
    "preview": "import request from '../utils/request';\n\nexport interface Repo {\n  id: number;\n  node_id: string;\n  name: string;\n  full"
  },
  {
    "path": "src/services/search.ts",
    "chars": 4126,
    "preview": "import { IDefaultParams } from '@/constants';\nimport request from '../utils/request';\n\nexport interface SearchRepoData {"
  },
  {
    "path": "src/services/trending.ts",
    "chars": 1961,
    "preview": "import { request } from '@/utils/request';\n\nconst TRENDING_URL = 'https://trending.stayin.cn/';\n\nexport interface Trendi"
  },
  {
    "path": "src/services/user.ts",
    "chars": 5849,
    "preview": "import { IDefaultParams } from '@/constants';\nimport { Issue } from '@/services/issues';\nimport request from '../utils/r"
  },
  {
    "path": "src/services/users.ts",
    "chars": 12106,
    "preview": "import { IDefaultParams } from '@/constants';\nimport request from '../utils/request';\nimport { IStarred, starredParams }"
  },
  {
    "path": "src/store/constatnts.ts",
    "chars": 330,
    "preview": "export const LOGIN = 'user/login';\nexport const LOGOUT = 'user/logout';\n\nexport const UPDATE_SELECTED_LANGS = 'language/"
  },
  {
    "path": "src/store/index.ts",
    "chars": 450,
    "preview": "import { applyMiddleware, createStore } from 'redux';\n// import thunkMiddleware from 'redux-thunk'\nimport { createLogger"
  },
  {
    "path": "src/store/reducers/issue.ts",
    "chars": 529,
    "preview": "import { CLEAR_ISSUE_INFO, UPDATE_ISSUE_INFO } from '../constatnts';\n\nimport { IAction } from '../reducers';\n\ninterface "
  },
  {
    "path": "src/store/reducers/lang.ts",
    "chars": 1139,
    "preview": "import Taro from '@tarojs/taro';\nimport { UPDATE_SELECTED_LANGS } from '../constatnts';\nimport { IAction } from '../redu"
  },
  {
    "path": "src/store/reducers/user.ts",
    "chars": 802,
    "preview": "import Taro from '@tarojs/taro';\nimport { LOGIN, LOGOUT } from '../constatnts';\nimport { IAction } from '../reducers';\n\n"
  },
  {
    "path": "src/store/reducers.ts",
    "chars": 345,
    "preview": "import { combineReducers } from 'redux';\nimport issueReducer from './reducers/issue';\nimport languageReducer from './red"
  },
  {
    "path": "src/style/variables.scss",
    "chars": 334,
    "preview": "/* Custom Theme */\n$color-brand: #007afb;\n$color-brand-light: #409bfc;\n$color-brand-dark: #0062c9;\n\n$primary: $color-bra"
  },
  {
    "path": "src/utils/base64.js",
    "chars": 2519,
    "preview": "const Base64 = {\n  _keyStr: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",\n  encode: function(e) {"
  },
  {
    "path": "src/utils/common.ts",
    "chars": 801,
    "preview": "import Taro from '@tarojs/taro';\n\nlet isShoTip = false;\nexport const showLoginTips = () => {\n  if (isShoTip) {\n    retur"
  },
  {
    "path": "src/utils/date.ts",
    "chars": 949,
    "preview": "export const getFormatDate = (rawDate = ''): string => {\n  const itemArr = new Date(rawDate).toString().split(' ');\n  co"
  },
  {
    "path": "src/utils/event_bus.ts",
    "chars": 92,
    "preview": "import { Events } from '@tarojs/taro';\n\nconst events = new Events();\nexport default events;\n"
  },
  {
    "path": "src/utils/repo.ts",
    "chars": 3960,
    "preview": "export function FindGitHubUrl(c) {\n  var urls = FindUrls(c);\n  if (urls.length == 0) {\n    return '';\n  }\n  var gurl = '"
  },
  {
    "path": "src/utils/request.ts",
    "chars": 2501,
    "preview": "import Taro from '@tarojs/taro';\n\nlet BASE_URL = 'https://api.github.com';\n\n// TODO 目前不做缓存\nconst isDev = process.env.NOD"
  },
  {
    "path": "src/utils/size.ts",
    "chars": 312,
    "preview": "export function bytesToSize(bytes: number | string): string {\n  bytes = +bytes;\n  const sizes = ['B', 'KB', 'MB', 'GB', "
  },
  {
    "path": "src/wemark/parser.js",
    "chars": 9343,
    "preview": "var Remarkable = require('./remarkable');\nvar parser = new Remarkable({\n\thtml: true\n});\nvar prism = require('./prism');\n"
  },
  {
    "path": "src/wemark/prism.js",
    "chars": 26218,
    "preview": "/* PrismJS 1.17.1\nhttps://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+basic+markup-temp"
  },
  {
    "path": "src/wemark/prism.wxss",
    "chars": 1798,
    "preview": "/* PrismJS 1.15.0\nhttps://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+basic+markup-temp"
  },
  {
    "path": "src/wemark/remarkable.js",
    "chars": 93919,
    "preview": "/*! remarkable 1.6.0 https://github.com/jonschlinkert/remarkable @license MIT */\n!function(e){if(\"object\"==typeof export"
  },
  {
    "path": "src/wemark/richtext.js",
    "chars": 3283,
    "preview": "exports.getRichTextNodes = function(parsedData){\n\n\tvar richTextNodes = [];\n\n\tvar getNodeName = (function(){\n\t\tvar stack "
  },
  {
    "path": "src/wemark/wemark.js",
    "chars": 3639,
    "preview": "const parser = require('./parser');\nconst getRichTextNodes = require('./richtext').getRichTextNodes;\n\nComponent({\n    pr"
  },
  {
    "path": "src/wemark/wemark.json",
    "chars": 26,
    "preview": "{\n    \"component\": true\n}\n"
  },
  {
    "path": "src/wemark/wemark.wxml",
    "chars": 3171,
    "preview": "<scroll-view scroll-y>\n<view class=\"wemark_wrapper\">\n<block wx:if=\"{{type === 'wemark'}}\" wx:for=\"{{parsedData}}\" wx:key"
  },
  {
    "path": "src/wemark/wemark.wxss",
    "chars": 3343,
    "preview": "@import \"prism.wxss\";\n\n.wemark_wrapper{\n\tmargin:10px 0;\n\tfont-size:32rpx;\n\tline-height: 1.8em;\n}\n.wemark_block_h1{\n\tfont"
  },
  {
    "path": "tsconfig.json",
    "chars": 678,
    "preview": "{\n  \"compilerOptions\": {\n    \"target\": \"es2017\",\n    \"module\": \"commonjs\",\n    \"removeComments\": false,\n    \"preserveCon"
  },
  {
    "path": "types/global.d.ts",
    "chars": 518,
    "preview": "/// <reference types=\"@tarojs/taro\" />\n\ndeclare module '*.png';\ndeclare module '*.gif';\ndeclare module '*.jpg';\ndeclare "
  },
  {
    "path": "types/trending.ts",
    "chars": 683,
    "preview": "export interface TrendingRequestParams {\n  language?: string;\n  since?: string;\n  type?: 'repositories' | 'developers';\n"
  }
]

About this extraction

This page contains the full source code of the zenghongtu/GitHub-Pro GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 182 files (2.6 MB), approximately 700.6k tokens, and a symbol index with 3362 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!