Remove optional argument from review comments

This commit is contained in:
Sebastian Martinez
2025-01-23 20:03:00 +01:00
parent 3419b62194
commit 6da4ffe344
2 changed files with 1 additions and 2 deletions
@@ -9,6 +9,6 @@ export type Review = {
author: Author;
verdict?: Verdict;
summary?: string;
comments?: Array<Comment<CodeLocation>>;
comments: Array<Comment<CodeLocation>>;
timestamp: number;
};
-1
View File
@@ -240,7 +240,6 @@ pub struct Review {
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional)]
summary: Option<String>,
#[ts(as = "Option<_>", optional)]
comments: Vec<cobs::thread::Comment<cobs::thread::CodeLocation>>,
#[ts(type = "number")]
timestamp: cob::common::Timestamp,