Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add `parents` property to `CommitHeader` type
Sebastian Martinez committed 2 years ago
commit 6a1137a0242a06db0269618526d13689364d5753
parent fa89d75b1f334e2de30bfccb7ad13dd7690f80b0
1 file changed +2 -0
modified httpd-client/lib/project/commit.ts
@@ -16,6 +16,7 @@ export interface CommitHeader {
  author: GitPerson;
  summary: string;
  description: string;
+
  parents: string[];
  committer: GitPerson & { time: number };
}

@@ -24,6 +25,7 @@ export const commitHeaderSchema = object({
  author: gitPersonSchema,
  summary: string(),
  description: string(),
+
  parents: array(string()),
  committer: gitPersonSchema.merge(object({ time: number() })),
}) satisfies ZodSchema<CommitHeader>;