Skip to content

Commit 2cbe494

Browse files
authored
Merge pull request #20 from hey-api/chore/generate-client
chore: update client
2 parents b54ad48 + 6501b44 commit 2cbe494

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

src/client/types.gen.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export type PostV1SpecificationsData = {
3333
branch_base?: string
3434
ci_platform?: string
3535
commit_sha?: string
36-
dry_run?: boolean | null
36+
default_branch?: string
37+
dry_run?: string
3738
event_name?: string
3839
job?: string
3940
ref?: string
@@ -55,19 +56,34 @@ export type PostV1SpecificationsErrors = {
5556
* Unauthorized
5657
*/
5758
401: {
58-
message: string
59+
error: {
60+
message: string
61+
request_id: string
62+
status: number
63+
timestamp: string
64+
}
5965
}
6066
/**
6167
* Forbidden
6268
*/
6369
403: {
64-
message: string
70+
error: {
71+
message: string
72+
request_id: string
73+
status: number
74+
timestamp: string
75+
}
6576
}
6677
/**
6778
* Content Too Large
6879
*/
6980
413: {
70-
message: string
81+
error: {
82+
message: string
83+
request_id: string
84+
status: number
85+
timestamp: string
86+
}
7187
}
7288
}
7389

src/upload.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ export async function upload({
7878
branch_base: process.env.GITHUB_BASE_REF,
7979
ci_platform: 'github',
8080
commit_sha: commitSha,
81-
// @ts-expect-error
8281
default_branch: defaultBranch,
83-
dry_run: dryRun,
82+
dry_run: dryRun ? 'true' : 'false',
8483
event_name: process.env.GITHUB_EVENT_NAME,
8584
job: process.env.GITHUB_JOB,
8685
ref: process.env.GITHUB_REF,

0 commit comments

Comments
 (0)