@candriajs/git-neko-kit 0.9.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -41,7 +41,7 @@ interface BaseProxyType<T extends ProxyType | ProxyProtocol> {
41
41
  type ProxyParamsType = BaseProxyType<ProxyProtocol.HTTP> | BaseProxyType<ProxyProtocol.HTTPS> | BaseProxyType<ProxyProtocol.SOCKS> | BaseProxyType<ProxyProtocol.SOCKS5> | BaseProxyType<ProxyType.Common> | BaseProxyType<ProxyType.Reverse>;
42
42
 
43
43
  /** 本地Git仓库信息 */
44
- interface LocalGitInfoType {
44
+ interface GitRepoInfoType {
45
45
  /** 文件夹名称 */
46
46
  name: string;
47
47
  /** 文件夹路径 */
@@ -58,10 +58,16 @@ interface LocalGitInfoType {
58
58
  owner: string;
59
59
  /** 仓库名称 */
60
60
  repo: string;
61
+ /** 仓库的默认分支 */
62
+ default_branch: string | null;
61
63
  }
62
64
  /** 获取本地路径的Git仓库信息列表 */
63
- type LocalGitInfoListType = Array<LocalGitInfoType>;
64
- interface LocalGitInfoListOptionsType {
65
+ interface GitInfoListType {
66
+ /** 总数 */
67
+ total: number;
68
+ items: Array<GitRepoInfoType>;
69
+ }
70
+ interface GitRepoInfoListOptionsType {
65
71
  /** 是否递归查找 */
66
72
  loop?: boolean;
67
73
  /** 递归最大深度 */
@@ -70,11 +76,66 @@ interface LocalGitInfoListOptionsType {
70
76
  dir?: string[];
71
77
  }
72
78
 
79
+ /** Npm包信息 */
80
+ interface NpmPackageInfoType {
81
+ /** 包名 */
82
+ name: string;
83
+ /** 文件夹路径 */
84
+ path: string;
85
+ /** 仓库地址 */
86
+ html_url: string;
87
+ /** 仓库名称 */
88
+ owner: string;
89
+ /** 仓库名称 */
90
+ repo: string;
91
+ /** 默认分支 */
92
+ default_branch: string;
93
+ }
94
+ interface NpmPackageInfoListOptionsType {
95
+ /** 忽略的包名 */
96
+ packageName: string[];
97
+ /** 包名前缀 */
98
+ prefix: string;
99
+ }
100
+ interface NpmPackageInfoListType {
101
+ /** 总数 */
102
+ total: number;
103
+ /** 包列表 */
104
+ items: Array<NpmPackageInfoType>;
105
+ }
106
+
73
107
  interface PkgInfoType {
74
108
  /** 包名 */
75
109
  name: string;
76
- /** 版本号 */
110
+ /** 包版本 */
77
111
  version: string;
112
+ /** 描述 */
113
+ description?: string;
114
+ /** 主入口文件 */
115
+ main?: string;
116
+ /** 关键字 */
117
+ keywords?: string[];
118
+ dependencies?: Record<string, string>;
119
+ /** 作者信息 */
120
+ author?: string | {
121
+ name: string;
122
+ email?: string;
123
+ url?: string;
124
+ };
125
+ /** 许可证 */
126
+ license?: string;
127
+ /** 仓库信息 */
128
+ repository?: string | {
129
+ type: string;
130
+ url: string;
131
+ };
132
+ /** 问题追踪 */
133
+ bugs?: {
134
+ url?: string;
135
+ email?: string;
136
+ };
137
+ /** 主页 */
138
+ homepage?: string;
78
139
  }
79
140
 
80
141
  /** 请求令牌的类型 */
@@ -1390,6 +1451,7 @@ interface ReprioritizeSubIssueParamType extends RepoBaseParamType {
1390
1451
  /** 重新确定子议题优先级响应类型 */
1391
1452
  type ReprioritizeSubIssueResponseType = IssueInfoResponseType;
1392
1453
 
1454
+ type OrgUser = Pick<UserInfoResponseType, 'id' | 'login' | 'name' | 'avatar_url' | 'html_url'>;
1393
1455
  /** 组织信息参数类型 */
1394
1456
  type OrgInfoParamType = OrgNameParamType;
1395
1457
  /** 组织信息响应类型 */
@@ -1398,7 +1460,7 @@ interface OrgInfoResponseType {
1398
1460
  id: number;
1399
1461
  /** 组织名称 */
1400
1462
  login: string;
1401
- /** 组织描述 */
1463
+ /** 组织昵称 */
1402
1464
  name: string;
1403
1465
  /** 组织头像 */
1404
1466
  avatar_url: string;
@@ -1421,6 +1483,49 @@ interface AddMemberResponseType extends Omit<AddCollaboratorResponseType, 'permi
1421
1483
  /** 角色 */
1422
1484
  role: RoleNameType['role'];
1423
1485
  }
1486
+ /** 获取组织成员信息参数类型 */
1487
+ type GetOrgMemberInfoParamType = OrgNameParamType & UserNameParamType;
1488
+ /** 获取组织成员信息响应类型 */
1489
+ interface GetOrgMemberInfoResponseType {
1490
+ /**
1491
+ * 成员状态
1492
+ * - active: 已激活
1493
+ * - pending: 待处理
1494
+ */
1495
+ state: 'active' | 'pending';
1496
+ /**
1497
+ * 成员角色
1498
+ * - admin: 管理员
1499
+ * - member: 成员
1500
+ */
1501
+ role: RoleNameType['role'];
1502
+ /** 组织信息 */
1503
+ organization: Pick<OrgInfoResponseType, 'id' | 'login' | 'name' | 'html_url'>;
1504
+ /** 成员信息 */
1505
+ user: OrgUser;
1506
+ }
1507
+ /** 获取组织成员列表参数 */
1508
+ interface GetOrgMemberListParamType extends OrgNameParamType {
1509
+ /** 每页数量 */
1510
+ per_page: number;
1511
+ /** 页码 */
1512
+ page: number;
1513
+ }
1514
+ interface GetOrgMemberListType extends OrgUser {
1515
+ /** 角色 */
1516
+ role: RoleNameType['role'];
1517
+ }
1518
+ /** 获取组织成员列表的响应类型 */
1519
+ type GetOrgMemberListResponseType = Array<GetOrgMemberListType>;
1520
+ /** 移除组织成员参数类型 */
1521
+ type RemoveOrgMemberParamType = OrgNameParamType & UserNameParamType;
1522
+ /** 移除组织成员响应类型 */
1523
+ interface RemoveOrgMemberResponseType {
1524
+ /** 是否成功 */
1525
+ success: boolean;
1526
+ /** 移除组织成员信息 */
1527
+ message: string;
1528
+ }
1424
1529
 
1425
1530
  type PrUser = Pick<UserInfoResponseType, 'id' | 'login' | 'name' | 'avatar_url' | 'html_url'>;
1426
1531
  type PrRepo = Pick<RepoInfoResponseType, 'id' | 'owner' | 'name' | 'full_name'>;
@@ -1909,7 +2014,7 @@ interface WebHookSignatureResponseType {
1909
2014
  * }
1910
2015
  * ```
1911
2016
  */
1912
- declare function get_local_git_repo_info(local_path: string): Promise<LocalGitInfoType | null>;
2017
+ declare function get_local_git_repo_info(local_path: string): Promise<GitRepoInfoType | null>;
1913
2018
  /**
1914
2019
  * 获取本地仓库信息列表
1915
2020
  * @param local_path 本地仓库路径
@@ -1917,26 +2022,32 @@ declare function get_local_git_repo_info(local_path: string): Promise<LocalGitIn
1917
2022
  * - loop 是否递归查找
1918
2023
  * - maxDepth 递归最大深度
1919
2024
  * - dir 忽略的文件夹名称列表
1920
- * @returns
2025
+ * @returns LocalGitInfoListType 仓库信息列表
1921
2026
  * @example
1922
2027
  * ```ts
1923
2028
  * // 无数据
1924
2029
  * const res = await get_local_git_repo_list('D:\\project\\GitHub', { loop: true, maxDepth: 5, dir: ['node_modules'] })
1925
- * -> []
2030
+ * -> {
2031
+ * total: 0,
2032
+ * items: []
2033
+ * }
2034
+ *
1926
2035
  * // 有数据
1927
2036
  * const res = await get_local_git_repo_list('D:\\project\\GitHub', { loop: true, maxDepth: 5, dir: ['node_modules'] })
1928
- * -> [
1929
- * {
1930
- * "name": "GitHub",
1931
- * "path": "D:\\project\\GitHub\\GitHub",
1932
- * "url": "https://github.com/GitHub/GitHub.git",
1933
- * "html_url": "https://github.com/GitHub/GitHub",
1934
- * "owner": "GitHub",
1935
- * "repo": "GitHub"
2037
+ * -> {
2038
+ * total: 1,
2039
+ * items: [{
2040
+ * name: "GitHub",
2041
+ * path: "D:\\project\\GitHub\\GitHub",
2042
+ * url: "https://github.com/GitHub/GitHub.git",
2043
+ * html_url: "https://github.com/GitHub/GitHub",
2044
+ * owner: "GitHub",
2045
+ * repo: "GitHub"
2046
+ * }]
1936
2047
  * }
1937
- * ]
2048
+ * ```
1938
2049
  */
1939
- declare function get_local_git_repo_list(local_path: string, options?: LocalGitInfoListOptionsType): Promise<LocalGitInfoListType>;
2050
+ declare function get_local_git_repos_list(dirpath: string, options?: GitRepoInfoListOptionsType): Promise<GitInfoListType>;
1940
2051
  /**
1941
2052
  * 获取本地仓库的默认分支
1942
2053
  * @param local_path - 本地仓库路径
@@ -1960,6 +2071,51 @@ declare function get_local_repo_default_branch(local_path: string): Promise<stri
1960
2071
  */
1961
2072
  declare function get_remote_repo_default_branch(remote_url: string): Promise<string>;
1962
2073
 
2074
+ /**
2075
+ * 获取本地 NPM 包信息
2076
+ * @description 获取本地 NPM 包信息
2077
+ * @param packageName - 包名
2078
+ * @returns 包信息
2079
+ * @example
2080
+ * ```ts
2081
+ * console.log(get_local_npm_package_info('npm'))
2082
+ * -> {
2083
+ * name: 'npm',
2084
+ * path: 'C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\npm',
2085
+ * html_url: 'https://github.com/npm/cli',
2086
+ * owner: 'npm',
2087
+ * repo: 'cli'
2088
+ * }
2089
+ * ```
2090
+ */
2091
+ declare function get_local_npm_package_info(packageName: string): Promise<NpmPackageInfoType | null>;
2092
+ /**
2093
+ * 获取本地 NPM 包信息列表
2094
+ * @description 获取目录下已安装的生产依赖列表,过滤后递归获取包信息
2095
+ * @param dirpath - 项目目录路径
2096
+ * @param options - 过滤选项
2097
+ * - packageName 忽略的包名
2098
+ * - prefix 包名前缀
2099
+ * @returns 包信息列表
2100
+ * @example
2101
+ * ```ts
2102
+ * const packages = await get_local_npm_packages_list(dirpath)
2103
+ * -> {
2104
+ * total: 1,
2105
+ * items: [
2106
+ * {
2107
+ * name: 'test',
2108
+ * path: 'D:\\test',
2109
+ * html_url: 'https://github.com/test/test',
2110
+ * owner: 'test',
2111
+ * repo: 'test'
2112
+ * }
2113
+ * ]
2114
+ * }
2115
+ * ```
2116
+ */
2117
+ declare function get_local_npm_packages_list(dirpath: string, options?: NpmPackageInfoListOptionsType): Promise<NpmPackageInfoListType>;
2118
+
1963
2119
  /**
1964
2120
  * 格式化日期
1965
2121
  * @param dateString - 日期字符串
@@ -2557,10 +2713,68 @@ declare class Org extends GitHubClient {
2557
2713
  * ```
2558
2714
  */
2559
2715
  get_org_info(options: OrgInfoParamType): Promise<ApiResponseType<OrgInfoResponseType>>;
2716
+ /**
2717
+ * 获取组织成员信息
2718
+ * 权限:
2719
+ * - Member: Read
2720
+ * @description 该函数必需要授权访问,否则会获取失败
2721
+ * @param options 组织信息参数
2722
+ * - org 组织名称
2723
+ * - username 成员名称
2724
+ * @returns 组织信息
2725
+ * @example
2726
+ * ```ts
2727
+ * console.log(await get_org_member_info({ org: 'CandriaJS', username: 'CandriaJS' }))
2728
+ * -> {
2729
+ * "state": "active",
2730
+ * "role": "admin",
2731
+ * "organization": {
2732
+ * "id": 123456789,
2733
+ * "login": "CandriaJS",
2734
+ * "name": "CandriaJS",
2735
+ * "html_url": "https://github.com/CandriaJS"
2736
+ * },
2737
+ * "user": {
2738
+ * "id": 123456789,
2739
+ * "login": "CandriaJS",
2740
+ * "name": "CandriaJS",
2741
+ * "avatar_url": "https://avatars.githubusercontent.com/u/123456789?v=4",
2742
+ * "html_url": "https://github.com/CandriaJS"
2743
+ * }
2744
+ * }
2745
+ * ```
2746
+ */
2747
+ get_org_member_info(options: GetOrgMemberInfoParamType): Promise<ApiResponseType<GetOrgMemberInfoResponseType>>;
2748
+ /**
2749
+ * 获取组织成员列表
2750
+ * 权限:
2751
+ * - Member: Read
2752
+ * @description 该函数必需要授权访问,否则会获取失败
2753
+ * @param options
2754
+ * - org 组织名称
2755
+ * - per_page 每页数量
2756
+ * - page 页码
2757
+ * @returns
2758
+ * @example
2759
+ * ```ts
2760
+ * const res = await github.issue.get_org_member_list({ org: 'CandriaJS'})
2761
+ * -> [
2762
+ * {
2763
+ * "id": 1234567890,
2764
+ * "login": "username",
2765
+ * "name": "username",
2766
+ * "role": "admin",
2767
+ * "avatar_url": "https://avatars.githubusercontent.com/u/1234567890?v=4",
2768
+ * "html_url": "https://github.com/username"
2769
+ * }
2770
+ * ]
2771
+ * ```
2772
+ */
2773
+ get_org_member_list(options: GetOrgMemberListParamType): Promise<ApiResponseType<GetOrgMemberListResponseType>>;
2560
2774
  /**
2561
2775
  * 添加组织成员
2562
2776
  * 权限:
2563
- * - Members Read-And_Write
2777
+ * - Members Read-And-Write
2564
2778
  * @param options 组织参数
2565
2779
  * - org 组织名称
2566
2780
  * - username 成员名称
@@ -2572,6 +2786,24 @@ declare class Org extends GitHubClient {
2572
2786
  * ```
2573
2787
  */
2574
2788
  add_member(options: AddMemberParamType): Promise<ApiResponseType<AddMemberResponseType>>;
2789
+ /**
2790
+ * 移除组织成员
2791
+ * 权限:
2792
+ * - Members Read-And-Write
2793
+ * @param options
2794
+ * - org 组织名
2795
+ * - username 成员名
2796
+ * @returns
2797
+ * @example
2798
+ * ```ts
2799
+ * const res = await github.remove_org_member({ org: 'org', username: 'loli'})
2800
+ * -> {
2801
+ * "success": true,
2802
+ * "message": "喵呜, 移除组织成员loli成功"
2803
+ * }
2804
+ * ```
2805
+ */
2806
+ remove_org_member(options: RemoveOrgMemberParamType): Promise<ApiResponseType<RemoveOrgMemberResponseType>>;
2575
2807
  }
2576
2808
 
2577
2809
  /**
@@ -3898,4 +4130,4 @@ declare class Client {
3898
4130
  constructor(options: ClientType);
3899
4131
  }
3900
4132
 
3901
- export { type AccessCodeType, type AccessTokenClentTYpe, type AccessTokenPermissionsType, type AccessTokenType, type AddCollaboratorResponseType, type AddMemberParamType, type AddMemberResponseType, type ApiResponseType, type AppClientType, type AppInfoParamType, type AppInfoResponseType, type AppPermissions, type AppRepoInfoResponseType, type AppUser, type BaseProxyType, type CheckTokenResponseType, Client, type ClientType, type CloseIssueParamType, type CloseIssueResponseType, type CollaboratorInfoResponseType, type CollaboratorParamType, type CollaboratorPermissionType, type CommentIdParamType, type Commit$1 as Commit, type CommitInfoCommonParamType, type CommitInfoParamType, type CommitInfoResponseType, type CommitListParamType, type CommitListResponseType, type CommitStats, type ContributionData, type ContributionResult, type CreateAccessTokenForAppParamType, type CreateAccessTokenForAppResponseType, type CreateIssueResponseType, type CreatePullRequestCommentParamType, type CreatePullRequestCommentResponseType, type CreatePullRequestParamType, type CreatePullRequestResponseType, type CreateReleaseParamType, type CreateReleaseResponseType, type CreateSubIssueParamType, type CreateSubIssueResponseType, type CreteIssueCommentParamType, type CreteIssueCommentResponseType, type CreteIssueParamType, type DeletePullRequestCommentParamType, type DeletePullRequestCommentResponseType, type DeleteReleaseParamType, type DeleteReleaseResponseType, type DiffEntry, type DisEnableRepoWorkflowParamType, type DisEnableRepoWorkflowResponseType, type EnableRepoWorkflowParamType, type EnableRepoWorkflowResponseType, type GetAppInfoByOrgParamType, type GetAppInfoByOrgResponseType, type GetAppInfoByRepoParamType, type GetAppInfoByRepoResponseType, type GetAppInfoByUserParamType, type GetAppInfoByUserResponseType, type GetCollaboratorListParamType, type GetCollaboratorListResponseType, type GetPullRequestCommentInfoParamType, type GetPullRequestCommentInfoResponseType, type GetPullRequestCommentsListParamType, type GetPullRequestCommentsListResponseType, type GetPullRequestFilesListParamType, type GetPullRequestFilesListResponseType, type GetRepoDefaultBranchParamType, type GetRepoDefaultBranchResponseType, type GetRepoMainLanguageParamType, type GetRepoMainLanguageResponseType, type GetRepoVisibilityParamType, type GetRepoVisibilityResponseType, type GetRepoWorkflowsList, type GetRepoWorkflowsListResponseType, type GitHubBaseClient, GitHubClient, type GitHubClientType, type GitRepoType, type GitType, type GitUser, type IssueCommentInfoParamType, type IssueCommentInfoResponseType, type IssueCommentsListParamType, type IssueCommentsListResponseType, type IssueInfoParamType, type IssueInfoResponseType, type IssueLabelType, type IssueListResponseType, type IssueNumberParamType, type IssueUser, type LanguageInfo, type LocalGitInfoListOptionsType, type LocalGitInfoListType, type LocalGitInfoType, type LockIssueParamType, type LockIssueResponseType, type MergeMethodType, type MergePullRequestParamType, type MergePullRequestResponseType, type MilestoneType, type OpenIssueParamType, type OpenIssueResponseType, type OrgInfoParamType, type OrgInfoResponseType, type OrgNameParamType, type OrgRepoCreateParamType, type OrgRepoCreateResponseType, type OrgRepoListParmType, type OrgRepoListResponseType, type ParentCommit, type PkgInfoType, type PrRepo, type PrUser, type ProxyParamsType, ProxyProtocol, ProxyType, type ProxyUrlType, type PullRequestFilesListType, type PullRequestInfoParamType, type PullRequestInfoResponseType, type PullRequestListParamType, type PullRequestListResponseType, type PullRequestNumberParamType, type ReRunRepoWorkflowParamType, type ReRunRepoWorkflowResponseType, type ReactionInfoType, type RefreshTokenResponseType, type RefreshTokenType, type ReleaseAssetsType, type ReleaseInfoByTagParamType, type ReleaseInfoByTagResponseType, type ReleaseInfoParamType, type ReleaseInfoResponseType, type ReleaseLatestParamTypeType, type ReleaseLatestResponseType, type ReleaseListParamType, type ReleaseListResponseType, type ReleaseUser, type RemoveCollaboratorParamType, type RemoveCollaboratorResponseType, type RemoveIssueCommentParamType, type RemoveIssueCommentResponseType, type RemoveSubIssueParamType, type RemoveSubIssueResponseType, type RepoBaseParamType, type RepoCommentsListParamType, type RepoCommentsListResponseType, type RepoInfoParamType, type RepoInfoResponseType, type RepoIssueListParamType, type RepoLanguagesListParamType, type RepoLanguagesListResponseType, type RepoListBaseParamType, type RepoNameParamType, type RepoOwnerParamType, type RepoParamType, type RepoUrlParamType, type RepoUser, type ReprioritizeSubIssueParamType, type ReprioritizeSubIssueResponseType, type RequestConfigType, type RequestTokenType, type ResponseHeadersType, type ResponseMsgType, type ResponseStatusCodeType, type ResponseSuccessType, type ResponseType, type RevokeAccessTokenResponseType, type RoleNameType, type RunRepoWorkflow, type RunRepoWorkflowResponseType, type SearchRepo, type SearchReposParamType, type SearchReposResponseType, type SearchUser, type SearchUsersParamType, type SearchUsersResponseType, type ShaParamType, type SubIssueListParamType, type SubIssueListResponseType, type TokenResponseType, type UnLockIssueParamType, type UnLockIssueResponseType, type UpdateIssueCommentParamType, type UpdateIssueCommentResponseType, type UpdateIssueParamType, type UpdateIssueResponseType, type UpdatePullRequestCommentParamType, type UpdatePullRequestCommentResponseType, type UpdatePullRequestParamType, type UpdatePullRequestResponseType, type UpdateReleaseParamType, type UpdateReleaseResponseType, type UserByTokenRepoListParamType, type UserIdParamType, type UserInfoByIdParamType, type UserInfoParamType, type UserInfoResponseType, type UserNameParamType, type UserRepoCreateParamType, type UserRepoCreateResponseType, type UserRepoListParamType, type UserRepoListType, type WebHookSignatureParamType, type WebHookSignatureResponseType, type WorkflowInfoParamType, type WorkflowInfoResponseType, WorkflowState, create_state_id, Client as default, type formatParamType, format_date, get_langage_color, get_local_git_repo_info, get_local_git_repo_list, get_local_repo_default_branch, get_relative_time, get_remote_repo_default_branch, index as github, type isAppInstalledInRepo, type workflowIdParamType };
4133
+ export { type AccessCodeType, type AccessTokenClentTYpe, type AccessTokenPermissionsType, type AccessTokenType, type AddCollaboratorResponseType, type AddMemberParamType, type AddMemberResponseType, type ApiResponseType, type AppClientType, type AppInfoParamType, type AppInfoResponseType, type AppPermissions, type AppRepoInfoResponseType, type AppUser, type BaseProxyType, type CheckTokenResponseType, Client, type ClientType, type CloseIssueParamType, type CloseIssueResponseType, type CollaboratorInfoResponseType, type CollaboratorParamType, type CollaboratorPermissionType, type CommentIdParamType, type Commit$1 as Commit, type CommitInfoCommonParamType, type CommitInfoParamType, type CommitInfoResponseType, type CommitListParamType, type CommitListResponseType, type CommitStats, type ContributionData, type ContributionResult, type CreateAccessTokenForAppParamType, type CreateAccessTokenForAppResponseType, type CreateIssueResponseType, type CreatePullRequestCommentParamType, type CreatePullRequestCommentResponseType, type CreatePullRequestParamType, type CreatePullRequestResponseType, type CreateReleaseParamType, type CreateReleaseResponseType, type CreateSubIssueParamType, type CreateSubIssueResponseType, type CreteIssueCommentParamType, type CreteIssueCommentResponseType, type CreteIssueParamType, type DeletePullRequestCommentParamType, type DeletePullRequestCommentResponseType, type DeleteReleaseParamType, type DeleteReleaseResponseType, type DiffEntry, type DisEnableRepoWorkflowParamType, type DisEnableRepoWorkflowResponseType, type EnableRepoWorkflowParamType, type EnableRepoWorkflowResponseType, type GetAppInfoByOrgParamType, type GetAppInfoByOrgResponseType, type GetAppInfoByRepoParamType, type GetAppInfoByRepoResponseType, type GetAppInfoByUserParamType, type GetAppInfoByUserResponseType, type GetCollaboratorListParamType, type GetCollaboratorListResponseType, type GetOrgMemberInfoParamType, type GetOrgMemberInfoResponseType, type GetOrgMemberListParamType, type GetOrgMemberListResponseType, type GetOrgMemberListType, type GetPullRequestCommentInfoParamType, type GetPullRequestCommentInfoResponseType, type GetPullRequestCommentsListParamType, type GetPullRequestCommentsListResponseType, type GetPullRequestFilesListParamType, type GetPullRequestFilesListResponseType, type GetRepoDefaultBranchParamType, type GetRepoDefaultBranchResponseType, type GetRepoMainLanguageParamType, type GetRepoMainLanguageResponseType, type GetRepoVisibilityParamType, type GetRepoVisibilityResponseType, type GetRepoWorkflowsList, type GetRepoWorkflowsListResponseType, type GitHubBaseClient, GitHubClient, type GitHubClientType, type GitInfoListType, type GitRepoInfoListOptionsType, type GitRepoInfoType, type GitRepoType, type GitType, type GitUser, type IssueCommentInfoParamType, type IssueCommentInfoResponseType, type IssueCommentsListParamType, type IssueCommentsListResponseType, type IssueInfoParamType, type IssueInfoResponseType, type IssueLabelType, type IssueListResponseType, type IssueNumberParamType, type IssueUser, type LanguageInfo, type LockIssueParamType, type LockIssueResponseType, type MergeMethodType, type MergePullRequestParamType, type MergePullRequestResponseType, type MilestoneType, type NpmPackageInfoListOptionsType, type NpmPackageInfoListType, type NpmPackageInfoType, type OpenIssueParamType, type OpenIssueResponseType, type OrgInfoParamType, type OrgInfoResponseType, type OrgNameParamType, type OrgRepoCreateParamType, type OrgRepoCreateResponseType, type OrgRepoListParmType, type OrgRepoListResponseType, type OrgUser, type ParentCommit, type PkgInfoType, type PrRepo, type PrUser, type ProxyParamsType, ProxyProtocol, ProxyType, type ProxyUrlType, type PullRequestFilesListType, type PullRequestInfoParamType, type PullRequestInfoResponseType, type PullRequestListParamType, type PullRequestListResponseType, type PullRequestNumberParamType, type ReRunRepoWorkflowParamType, type ReRunRepoWorkflowResponseType, type ReactionInfoType, type RefreshTokenResponseType, type RefreshTokenType, type ReleaseAssetsType, type ReleaseInfoByTagParamType, type ReleaseInfoByTagResponseType, type ReleaseInfoParamType, type ReleaseInfoResponseType, type ReleaseLatestParamTypeType, type ReleaseLatestResponseType, type ReleaseListParamType, type ReleaseListResponseType, type ReleaseUser, type RemoveCollaboratorParamType, type RemoveCollaboratorResponseType, type RemoveIssueCommentParamType, type RemoveIssueCommentResponseType, type RemoveOrgMemberParamType, type RemoveOrgMemberResponseType, type RemoveSubIssueParamType, type RemoveSubIssueResponseType, type RepoBaseParamType, type RepoCommentsListParamType, type RepoCommentsListResponseType, type RepoInfoParamType, type RepoInfoResponseType, type RepoIssueListParamType, type RepoLanguagesListParamType, type RepoLanguagesListResponseType, type RepoListBaseParamType, type RepoNameParamType, type RepoOwnerParamType, type RepoParamType, type RepoUrlParamType, type RepoUser, type ReprioritizeSubIssueParamType, type ReprioritizeSubIssueResponseType, type RequestConfigType, type RequestTokenType, type ResponseHeadersType, type ResponseMsgType, type ResponseStatusCodeType, type ResponseSuccessType, type ResponseType, type RevokeAccessTokenResponseType, type RoleNameType, type RunRepoWorkflow, type RunRepoWorkflowResponseType, type SearchRepo, type SearchReposParamType, type SearchReposResponseType, type SearchUser, type SearchUsersParamType, type SearchUsersResponseType, type ShaParamType, type SubIssueListParamType, type SubIssueListResponseType, type TokenResponseType, type UnLockIssueParamType, type UnLockIssueResponseType, type UpdateIssueCommentParamType, type UpdateIssueCommentResponseType, type UpdateIssueParamType, type UpdateIssueResponseType, type UpdatePullRequestCommentParamType, type UpdatePullRequestCommentResponseType, type UpdatePullRequestParamType, type UpdatePullRequestResponseType, type UpdateReleaseParamType, type UpdateReleaseResponseType, type UserByTokenRepoListParamType, type UserIdParamType, type UserInfoByIdParamType, type UserInfoParamType, type UserInfoResponseType, type UserNameParamType, type UserRepoCreateParamType, type UserRepoCreateResponseType, type UserRepoListParamType, type UserRepoListType, type WebHookSignatureParamType, type WebHookSignatureResponseType, type WorkflowInfoParamType, type WorkflowInfoResponseType, WorkflowState, create_state_id, Client as default, type formatParamType, format_date, get_langage_color, get_local_git_repo_info, get_local_git_repos_list, get_local_npm_package_info, get_local_npm_packages_list, get_local_repo_default_branch, get_relative_time, get_remote_repo_default_branch, index as github, type isAppInstalledInRepo, type workflowIdParamType };