mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-01 01:30:46 +08:00
Also provides all the types related to it and a new npm script that allows generating those types quickly.
15 lines
394 B
TypeScript
15 lines
394 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 { Edit } from "./Edit";
|
|
import type { Never } from "./Never";
|
|
|
|
export type Comment<T = Never> = {
|
|
id: string;
|
|
author: Author;
|
|
edits: Array<Edit>;
|
|
reactions: string;
|
|
replyTo?: string;
|
|
location?: T;
|
|
resolved: boolean;
|
|
};
|