chadtmiller.com/knotless
Git hosted in your atproto account, on any stock PDS, fast enough for agents.
git clone knotless://chadtmiller.com/knotlessneeds the knotless git helper. set it up
Records: keep updatedAt on pulls, issues and comments
Showing 1 changed file with 9 additions and 0 deletions
crates/knotless/src/records.rs+9−0
| @@ -271,6 +271,9 @@ pub struct PullRecord { | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub body: Option<String>, | ||
pub created_at: String, | ||
/// When its author last changed its title or body. | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub updated_at: Option<String>, | ||
} | ||
| ||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] | ||
| @@ -288,6 +291,9 @@ pub struct IssueRecord { | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub body: Option<String>, | ||
pub created_at: String, | ||
/// When its author last changed its title or body. | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub updated_at: Option<String>, | ||
} | ||
| ||
/// A comment on a pull or issue; with a verdict, a review. | ||
| @@ -305,6 +311,9 @@ pub struct CommentRecord { | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub commit: Option<String>, | ||
pub created_at: String, | ||
/// When its author last changed its body. | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub updated_at: Option<String>, | ||
} | ||
| ||
/// A pull or issue opened, closed or merged. The latest from someone who | ||