@candriajs/git-neko-kit 0.9.0 → 1.1.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
  /** 请求令牌的类型 */
@@ -1038,7 +1099,7 @@ interface MilestoneType {
1038
1099
  type IssueInfoParamType = RepoBaseParamType & IssueNumberParamType;
1039
1100
  /** 议题详情响应类型 */
1040
1101
  interface IssueInfoResponseType {
1041
- /** 议题ID */
1102
+ /** 问题id */
1042
1103
  id: IssueNumberParamType['issue_number'];
1043
1104
  /** 议题HTML页面URL */
1044
1105
  html_url: string;
@@ -1074,7 +1135,7 @@ interface IssueInfoResponseType {
1074
1135
  updated_at: string;
1075
1136
  }
1076
1137
  /** 议题列表参数类型 */
1077
- type RepoIssueListParamType = RepoBaseParamType & {
1138
+ interface RepoIssueListParamType extends RepoBaseParamType {
1078
1139
  /**
1079
1140
  * 里程碑筛选
1080
1141
  * @default *
@@ -1147,7 +1208,7 @@ type RepoIssueListParamType = RepoBaseParamType & {
1147
1208
  * @default 1
1148
1209
  */
1149
1210
  page?: number;
1150
- };
1211
+ }
1151
1212
  /** 议题列表响应类型 */
1152
1213
  type IssueListResponseType = IssueInfoResponseType[];
1153
1214
  /** 创建议题参数类型 */
@@ -1166,9 +1227,7 @@ type CreteIssueParamType = RepoBaseParamType & {
1166
1227
  /** 创建议题响应类型 */
1167
1228
  type CreateIssueResponseType = IssueInfoResponseType;
1168
1229
  /** 更新议题参数类型 */
1169
- interface UpdateIssueParamType extends Omit<CreteIssueParamType, 'title' | 'type'> {
1170
- /** 问题ID */
1171
- issue_number: IssueNumberParamType['issue_number'];
1230
+ interface UpdateIssueParamType extends Omit<CreteIssueParamType, 'title' | 'type'>, IssueNumberParamType {
1172
1231
  /** 问题的名称 */
1173
1232
  title?: string | null;
1174
1233
  /** 问题的内容 */
@@ -1187,9 +1246,7 @@ type CloseIssueParamType = OpenIssueParamType;
1187
1246
  /** 关闭议题响应类型 */
1188
1247
  type CloseIssueResponseType = IssueInfoResponseType;
1189
1248
  /** 锁定议题参数类型 */
1190
- interface LockIssueParamType extends RepoBaseParamType {
1191
- /** 议题ID */
1192
- issue_number: IssueNumberParamType['issue_number'];
1249
+ interface LockIssueParamType extends RepoBaseParamType, IssueNumberParamType {
1193
1250
  /**
1194
1251
  * 锁定原因
1195
1252
  * 可以是以下之一:
@@ -1217,10 +1274,7 @@ interface UnLockIssueResponseType {
1217
1274
  message: LockIssueResponseType['message'];
1218
1275
  }
1219
1276
  /** 议题评论信息参数类型 */
1220
- interface IssueCommentInfoParamType extends RepoBaseParamType {
1221
- /** 评论id,评论唯一标识符 */
1222
- comment_id: string | number;
1223
- }
1277
+ type IssueCommentInfoParamType = RepoBaseParamType & CommentIdParamType;
1224
1278
  /** 议题评论信息响应类型 */
1225
1279
  interface IssueCommentInfoResponseType {
1226
1280
  /** 评论ID */
@@ -1282,7 +1336,7 @@ type RepoCommentsListResponseType = IssueCommentInfoResponseType[];
1282
1336
  /** 议题评论列表参数类型 */
1283
1337
  interface IssueCommentsListParamType extends RepoBaseParamType {
1284
1338
  /** 议题ID */
1285
- issue_number: number;
1339
+ issue_number: IssueNumberParamType['issue_number'];
1286
1340
  /**
1287
1341
  * 筛选此时间之后更新的评论
1288
1342
  * 仅显示在指定时间之后更新的结果
@@ -1390,6 +1444,7 @@ interface ReprioritizeSubIssueParamType extends RepoBaseParamType {
1390
1444
  /** 重新确定子议题优先级响应类型 */
1391
1445
  type ReprioritizeSubIssueResponseType = IssueInfoResponseType;
1392
1446
 
1447
+ type OrgUser = Pick<UserInfoResponseType, 'id' | 'login' | 'name' | 'avatar_url' | 'html_url'>;
1393
1448
  /** 组织信息参数类型 */
1394
1449
  type OrgInfoParamType = OrgNameParamType;
1395
1450
  /** 组织信息响应类型 */
@@ -1398,7 +1453,7 @@ interface OrgInfoResponseType {
1398
1453
  id: number;
1399
1454
  /** 组织名称 */
1400
1455
  login: string;
1401
- /** 组织描述 */
1456
+ /** 组织昵称 */
1402
1457
  name: string;
1403
1458
  /** 组织头像 */
1404
1459
  avatar_url: string;
@@ -1421,6 +1476,49 @@ interface AddMemberResponseType extends Omit<AddCollaboratorResponseType, 'permi
1421
1476
  /** 角色 */
1422
1477
  role: RoleNameType['role'];
1423
1478
  }
1479
+ /** 获取组织成员信息参数类型 */
1480
+ type GetOrgMemberInfoParamType = OrgNameParamType & UserNameParamType;
1481
+ /** 获取组织成员信息响应类型 */
1482
+ interface GetOrgMemberInfoResponseType {
1483
+ /**
1484
+ * 成员状态
1485
+ * - active: 已激活
1486
+ * - pending: 待处理
1487
+ */
1488
+ state: 'active' | 'pending';
1489
+ /**
1490
+ * 成员角色
1491
+ * - admin: 管理员
1492
+ * - member: 成员
1493
+ */
1494
+ role: RoleNameType['role'];
1495
+ /** 组织信息 */
1496
+ organization: Pick<OrgInfoResponseType, 'id' | 'login' | 'name' | 'html_url'>;
1497
+ /** 成员信息 */
1498
+ user: OrgUser;
1499
+ }
1500
+ /** 获取组织成员列表参数 */
1501
+ interface GetOrgMemberListParamType extends OrgNameParamType {
1502
+ /** 每页数量 */
1503
+ per_page: number;
1504
+ /** 页码 */
1505
+ page: number;
1506
+ }
1507
+ interface GetOrgMemberListType extends OrgUser {
1508
+ /** 角色 */
1509
+ role: RoleNameType['role'];
1510
+ }
1511
+ /** 获取组织成员列表的响应类型 */
1512
+ type GetOrgMemberListResponseType = Array<GetOrgMemberListType>;
1513
+ /** 移除组织成员参数类型 */
1514
+ type RemoveOrgMemberParamType = OrgNameParamType & UserNameParamType;
1515
+ /** 移除组织成员响应类型 */
1516
+ interface RemoveOrgMemberResponseType {
1517
+ /** 是否成功 */
1518
+ success: boolean;
1519
+ /** 移除组织成员信息 */
1520
+ message: string;
1521
+ }
1424
1522
 
1425
1523
  type PrUser = Pick<UserInfoResponseType, 'id' | 'login' | 'name' | 'avatar_url' | 'html_url'>;
1426
1524
  type PrRepo = Pick<RepoInfoResponseType, 'id' | 'owner' | 'name' | 'full_name'>;
@@ -1909,7 +2007,7 @@ interface WebHookSignatureResponseType {
1909
2007
  * }
1910
2008
  * ```
1911
2009
  */
1912
- declare function get_local_git_repo_info(local_path: string): Promise<LocalGitInfoType | null>;
2010
+ declare function get_local_git_repo_info(local_path: string): Promise<GitRepoInfoType | null>;
1913
2011
  /**
1914
2012
  * 获取本地仓库信息列表
1915
2013
  * @param local_path 本地仓库路径
@@ -1917,26 +2015,32 @@ declare function get_local_git_repo_info(local_path: string): Promise<LocalGitIn
1917
2015
  * - loop 是否递归查找
1918
2016
  * - maxDepth 递归最大深度
1919
2017
  * - dir 忽略的文件夹名称列表
1920
- * @returns
2018
+ * @returns LocalGitInfoListType 仓库信息列表
1921
2019
  * @example
1922
2020
  * ```ts
1923
2021
  * // 无数据
1924
2022
  * const res = await get_local_git_repo_list('D:\\project\\GitHub', { loop: true, maxDepth: 5, dir: ['node_modules'] })
1925
- * -> []
2023
+ * -> {
2024
+ * total: 0,
2025
+ * items: []
2026
+ * }
2027
+ *
1926
2028
  * // 有数据
1927
2029
  * 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"
2030
+ * -> {
2031
+ * total: 1,
2032
+ * items: [{
2033
+ * name: "GitHub",
2034
+ * path: "D:\\project\\GitHub\\GitHub",
2035
+ * url: "https://github.com/GitHub/GitHub.git",
2036
+ * html_url: "https://github.com/GitHub/GitHub",
2037
+ * owner: "GitHub",
2038
+ * repo: "GitHub"
2039
+ * }]
1936
2040
  * }
1937
- * ]
2041
+ * ```
1938
2042
  */
1939
- declare function get_local_git_repo_list(local_path: string, options?: LocalGitInfoListOptionsType): Promise<LocalGitInfoListType>;
2043
+ declare function get_local_git_repos_list(dirpath: string, options?: GitRepoInfoListOptionsType): Promise<GitInfoListType>;
1940
2044
  /**
1941
2045
  * 获取本地仓库的默认分支
1942
2046
  * @param local_path - 本地仓库路径
@@ -1960,6 +2064,84 @@ declare function get_local_repo_default_branch(local_path: string): Promise<stri
1960
2064
  */
1961
2065
  declare function get_remote_repo_default_branch(remote_url: string): Promise<string>;
1962
2066
 
2067
+ /**
2068
+ * 渲染 markdown 内容为 HTML
2069
+ * @description 使用配置好的 markdown-it 实例渲染 markdown 内容
2070
+ * @param md - 要渲染的 markdown 字符串
2071
+ * @returns 渲染后的 HTML 字符串
2072
+ * @example
2073
+ * ```ts
2074
+ * const html = await render_markdown(`# 标题
2075
+ * - 无序列表项1
2076
+ * - 无序列表项2
2077
+ * - 子列表项
2078
+ *
2079
+ * 1. 有序列表项1
2080
+ * 2. 有序列表项2
2081
+ * `);
2082
+ *
2083
+ * // 输出结果:
2084
+ * // <h1>标题</h1>
2085
+ * // <ul style="list-style: none;">
2086
+ * // <li>无序列表项1</li>
2087
+ * // <li>无序列表项2</li>
2088
+ * // <ul style="list-style: none;">
2089
+ * // <li>子列表项</li>
2090
+ * // </ul>
2091
+ * // </ul>
2092
+ * // <ol style="list-style: none;">
2093
+ * // <li>有序列表项1</li>
2094
+ * // <li>有序列表项2</li>
2095
+ * // </ol>
2096
+ * ```
2097
+ */
2098
+ declare function render_markdown(md: string): Promise<string>;
2099
+
2100
+ /**
2101
+ * 获取本地 NPM 包信息
2102
+ * @description 获取本地 NPM 包信息
2103
+ * @param packageName - 包名
2104
+ * @returns 包信息
2105
+ * @example
2106
+ * ```ts
2107
+ * console.log(get_local_npm_package_info('npm'))
2108
+ * -> {
2109
+ * name: 'npm',
2110
+ * path: 'C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\npm',
2111
+ * html_url: 'https://github.com/npm/cli',
2112
+ * owner: 'npm',
2113
+ * repo: 'cli'
2114
+ * }
2115
+ * ```
2116
+ */
2117
+ declare function get_local_npm_package_info(packageName: string): Promise<NpmPackageInfoType | null>;
2118
+ /**
2119
+ * 获取本地 NPM 包信息列表
2120
+ * @description 获取目录下已安装的生产依赖列表,过滤后递归获取包信息
2121
+ * @param dirpath - 项目目录路径
2122
+ * @param options - 过滤选项
2123
+ * - packageName 忽略的包名
2124
+ * - prefix 包名前缀
2125
+ * @returns 包信息列表
2126
+ * @example
2127
+ * ```ts
2128
+ * const packages = await get_local_npm_packages_list(dirpath)
2129
+ * -> {
2130
+ * total: 1,
2131
+ * items: [
2132
+ * {
2133
+ * name: 'test',
2134
+ * path: 'D:\\test',
2135
+ * html_url: 'https://github.com/test/test',
2136
+ * owner: 'test',
2137
+ * repo: 'test'
2138
+ * }
2139
+ * ]
2140
+ * }
2141
+ * ```
2142
+ */
2143
+ declare function get_local_npm_packages_list(dirpath: string, options?: NpmPackageInfoListOptionsType): Promise<NpmPackageInfoListType>;
2144
+
1963
2145
  /**
1964
2146
  * 格式化日期
1965
2147
  * @param dateString - 日期字符串
@@ -2557,10 +2739,68 @@ declare class Org extends GitHubClient {
2557
2739
  * ```
2558
2740
  */
2559
2741
  get_org_info(options: OrgInfoParamType): Promise<ApiResponseType<OrgInfoResponseType>>;
2742
+ /**
2743
+ * 获取组织成员信息
2744
+ * 权限:
2745
+ * - Member: Read
2746
+ * @description 该函数必需要授权访问,否则会获取失败
2747
+ * @param options 组织信息参数
2748
+ * - org 组织名称
2749
+ * - username 成员名称
2750
+ * @returns 组织信息
2751
+ * @example
2752
+ * ```ts
2753
+ * console.log(await get_org_member_info({ org: 'CandriaJS', username: 'CandriaJS' }))
2754
+ * -> {
2755
+ * "state": "active",
2756
+ * "role": "admin",
2757
+ * "organization": {
2758
+ * "id": 123456789,
2759
+ * "login": "CandriaJS",
2760
+ * "name": "CandriaJS",
2761
+ * "html_url": "https://github.com/CandriaJS"
2762
+ * },
2763
+ * "user": {
2764
+ * "id": 123456789,
2765
+ * "login": "CandriaJS",
2766
+ * "name": "CandriaJS",
2767
+ * "avatar_url": "https://avatars.githubusercontent.com/u/123456789?v=4",
2768
+ * "html_url": "https://github.com/CandriaJS"
2769
+ * }
2770
+ * }
2771
+ * ```
2772
+ */
2773
+ get_org_member_info(options: GetOrgMemberInfoParamType): Promise<ApiResponseType<GetOrgMemberInfoResponseType>>;
2774
+ /**
2775
+ * 获取组织成员列表
2776
+ * 权限:
2777
+ * - Member: Read
2778
+ * @description 该函数必需要授权访问,否则会获取失败
2779
+ * @param options
2780
+ * - org 组织名称
2781
+ * - per_page 每页数量
2782
+ * - page 页码
2783
+ * @returns
2784
+ * @example
2785
+ * ```ts
2786
+ * const res = await github.issue.get_org_member_list({ org: 'CandriaJS'})
2787
+ * -> [
2788
+ * {
2789
+ * "id": 1234567890,
2790
+ * "login": "username",
2791
+ * "name": "username",
2792
+ * "role": "admin",
2793
+ * "avatar_url": "https://avatars.githubusercontent.com/u/1234567890?v=4",
2794
+ * "html_url": "https://github.com/username"
2795
+ * }
2796
+ * ]
2797
+ * ```
2798
+ */
2799
+ get_org_member_list(options: GetOrgMemberListParamType): Promise<ApiResponseType<GetOrgMemberListResponseType>>;
2560
2800
  /**
2561
2801
  * 添加组织成员
2562
2802
  * 权限:
2563
- * - Members Read-And_Write
2803
+ * - Members Read-And-Write
2564
2804
  * @param options 组织参数
2565
2805
  * - org 组织名称
2566
2806
  * - username 成员名称
@@ -2572,6 +2812,24 @@ declare class Org extends GitHubClient {
2572
2812
  * ```
2573
2813
  */
2574
2814
  add_member(options: AddMemberParamType): Promise<ApiResponseType<AddMemberResponseType>>;
2815
+ /**
2816
+ * 移除组织成员
2817
+ * 权限:
2818
+ * - Members Read-And-Write
2819
+ * @param options
2820
+ * - org 组织名
2821
+ * - username 成员名
2822
+ * @returns
2823
+ * @example
2824
+ * ```ts
2825
+ * const res = await github.remove_org_member({ org: 'org', username: 'loli'})
2826
+ * -> {
2827
+ * "success": true,
2828
+ * "message": "喵呜, 移除组织成员loli成功"
2829
+ * }
2830
+ * ```
2831
+ */
2832
+ remove_org_member(options: RemoveOrgMemberParamType): Promise<ApiResponseType<RemoveOrgMemberResponseType>>;
2575
2833
  }
2576
2834
 
2577
2835
  /**
@@ -3898,4 +4156,4 @@ declare class Client {
3898
4156
  constructor(options: ClientType);
3899
4157
  }
3900
4158
 
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 };
4159
+ 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, render_markdown, type workflowIdParamType };