Remove useless type

This commit is contained in:
Andras Schmelczer 2025-11-16 21:00:50 +00:00
parent 8a1f27589e
commit bddf506eed
2 changed files with 1 additions and 10 deletions

View file

@ -1,7 +0,0 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export interface UpdateBinaryDocumentVersion {
parent_version_id: bigint;
relative_path: string;
content: number[];
}

View file

@ -21,13 +21,11 @@ pub struct CreateDocumentVersion {
pub content: FieldData<Bytes>,
}
#[derive(TS, Debug, TryFromMultipart)]
#[ts(export)]
#[derive(Debug, TryFromMultipart)]
pub struct UpdateBinaryDocumentVersion {
pub parent_version_id: VaultUpdateId,
pub relative_path: String,
#[ts(as = "Vec<u8>")]
#[form_data(limit = "unlimited")]
pub content: FieldData<Bytes>,
}