Fix type serialisation

This commit is contained in:
Andras Schmelczer 2025-06-07 21:37:44 +01:00
parent bfb1cd579c
commit 4f691b33a4
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -61,7 +61,9 @@ impl From<StoredDocumentVersion> for DocumentVersionWithoutContent {
#[derive(TS, Debug, Clone, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct DocumentVersion {
#[ts(as = "i32")]
pub vault_update_id: VaultUpdateId,
pub document_id: DocumentId,
pub relative_path: String,
pub updated_date: DateTime<Utc>,