Files
radicle-explorer/src-tauri/bindings/Issue.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

16 lines
495 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 { Comment } from "./Comment";
import type { Never } from "./Never";
export type Issue = {
id: string;
author: Author;
title: string;
state: { status: "closed"; reason: "other" | "solved" } | { status: "open" };
assignees: Array<Author>;
discussion: Array<Comment<Never>>;
labels: Array<string>;
timestamp: number;
};