mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 08:40:52 +08:00
Remove optional argument from review comments
This commit is contained in:
@@ -9,6 +9,6 @@ export type Review = {
|
||||
author: Author;
|
||||
verdict?: Verdict;
|
||||
summary?: string;
|
||||
comments?: Array<Comment<CodeLocation>>;
|
||||
comments: Array<Comment<CodeLocation>>;
|
||||
timestamp: number;
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user