Files
radicle-explorer/src-tauri/bindings/Revision.ts
T
Sebastian Martinez 037ac391f8 Add issues_by_id, patches_by_id, revisions_by_patch, revisions_by_id
Also provides all the types related to it and a new npm script that
allows generating those types quickly.
2024-09-24 06:40:50 +02:00

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>;
};