mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
Also provides all the types related to it and a new npm script that allows generating those types quickly.
19 lines
590 B
TypeScript
19 lines
590 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { Author } from "./Author";
|
|
import type { CodeLocation } from "./CodeLocation";
|
|
import type { Comment } from "./Comment";
|
|
import type { Edit } from "./Edit";
|
|
import type { Reaction } from "./Reaction";
|
|
import type { Review } from "./Review";
|
|
|
|
export type Revision = {
|
|
author: Author;
|
|
description: Array<Edit>;
|
|
base: string;
|
|
oid: string;
|
|
reviews: Array<Review>;
|
|
timestamp: bigint;
|
|
discussion: Array<Comment<CodeLocation>>;
|
|
reactions: Array<Reaction>;
|
|
};
|