Skip to content

Commit 0e626f5

Browse files
revert: undo schema.ts field name changes
The v2 API field names (sha256, url) differ from the generated schema (sha256_hash, upload_url). Rather than modifying the generated schema, the next commit switches sf images upload to raw fetch with hardcoded types so it is not coupled to schema.ts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c431cd5 commit 0e626f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ export interface components {
21292129
*/
21302130
vmorch_CapacityId: string;
21312131
vmorch_CompleteUploadRequest: {
2132-
sha256: string;
2132+
sha256_hash: string;
21332133
};
21342134
vmorch_CompleteUploadResponse: {
21352135
/**
@@ -2409,7 +2409,7 @@ export interface components {
24092409
part_id: number;
24102410
};
24112411
vmorch_UploadPartResponse: {
2412-
url: string;
2412+
upload_url: string;
24132413
expires_at: components["schemas"]["vmorch_UnixEpoch"];
24142414
};
24152415
/** @description if the script is valid utf8 then the response may be in either string, or byte form and the client must handle both */

0 commit comments

Comments
 (0)