Skip to content
Clone

chore: regenerate openapi and api client

Reflect the protection and comment contract changes. Payload shapes are
unchanged for existing endpoints, so the generated client only picks up the
whitelist purpose description and drops the now unused CommitStatusState
enum.
ZhenYi committed
parent b71a6f6 commit 1f0f9e1 Browse files

4 files changed

+9 −1

This change is very large, so some diffs are not shown. Clone the repository to see the full change.

File tree 4
Modified packages/apiclient/branch-protection/add-branch-whitelist.schemas.ts View packages/apiclient/branch-protection/add-branch-whitelist.schemas.ts
@@ -91,6 +91,9 @@
9191 *
9292 * OpenAPI spec version: 1.0
9393 */
94/**
95 * 白名单用途。与 KenShell 的 `purpose` 一一对应。
96 */
9497export type WhitelistKind = "Push" | "Merge" | "Approval";
9598export interface AddBranchWhitelistCmd {
9699 /** @nullable */
Modified packages/apiclient/branch-protection/list-branch-whitelists.schemas.ts View packages/apiclient/branch-protection/list-branch-whitelists.schemas.ts
@@ -91,6 +91,9 @@
9191 *
9292 * OpenAPI spec version: 1.0
9393 */
94/**
95 * 白名单用途。与 KenShell 的 `purpose` 一一对应。
96 */
9497export type WhitelistKind = "Push" | "Merge" | "Approval";
9598export interface UserDto {
9699 avatar_url: string;
Modified packages/apiclient/index.schemas.ts View packages/apiclient/index.schemas.ts
@@ -107,6 +107,9 @@
107107 status: string;
108108}
109109
110/**
111 * 白名单用途。与 KenShell 的 `purpose` 一一对应。
112 */
110113export type WhitelistKind = "Push" | "Merge" | "Approval";
111114export interface AddBranchWhitelistCmd {
112115 /** @nullable */
@@ -604,7 +607,6 @@
604607 updated_at?: string | null;
605608}
606609
607export type CommitStatusState = "Pending" | "Success" | "Failure" | "Error";
608610export interface CommitSyncResponse {
609611 repo_id: string;
610612 sha: string;
Modified openapi.json View openapi.json

Diff too large to display.